/* juji-r6c-first-screen.css — r3_1 Obsidian Glass Style + Zero Gold + Zero Purple + .r8 Back-View K-Line Stage
 * Visual baseline: commit 2ebb060 (r3_1) — dark translucent obsidian panels rgba(8,8,12,.55/.78),
 * subtle white hairlines rgba(255,255,255,.08/.16), 12px radius, warm-white #F5EEE4 primary CTAs (#0B0814 ink),
 * emerald #34D399 gains, coral #F87171 losses, dark+orange-red thin-pool alert (zero yellow/gold ground).
 */

@font-face {
  font-family: "Smiley Sans";
  src: url("/fonts/SmileySans-Oblique.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* The top-bar brand (狙姬 / JUJI) is the only text on this page drawn in Smiley Sans, so it gets an 11 KB cut of it
 * (狙姬 + printable ASCII) instead of the 1.15 MB full font. The cut is renamed "Juji Brand" because a modified
 * Smiley Sans may not carry the Reserved Font Names (SIL OFL 1.1, /fonts/SmileySans-LICENSE.txt).
 * Rebuild with tools/build_brand_font_subset.py; any character outside the range falls back to the full font. */
@font-face {
  font-family: "Juji Brand";
  src: url("/fonts/JujiBrand-subset.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0020-007E, U+59EC, U+72D9;
}

/* Until juji-tabs.js boots (about 0.5 s; it adds .jx-tabbed), every tab's sections are laid out at once below the
 * first screen, and their old headings (h1/h2/h3 → --n-display) made the browser fetch the full 1.15 MB Smiley Sans
 * for a frame nobody sees. Those sections are hidden as soon as the tabs boot, so until then they use the body font. */
body:not(.jx-tabbed) [data-tab]:not([data-tab~="dossier"]) {
  --n-display: var(--c-font);
}

:root {
  --bg-obsidian: #08080C;
  --panel-glass: rgba(8, 8, 12, 0.55);
  --panel-glass-deep: rgba(8, 8, 12, 0.78);
  --panel-glass-hover: rgba(18, 18, 24, 0.72);
  --line-subtle: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --radius-card: 12px;

  --primary-btn-bg: #F5EEE4;
  --primary-btn-hover: #E7DFD2;
  --primary-btn-ink: #0B0814;
  --data-up: #34D399;
  --data-down: #F87171;

  --ink-1: #F5EEE4;
  --ink-2: #C4C1BC;
  --ink-3: #B4B1AC;

  --warn-dot: #FF6B4A;
  --warn-ink: #FF8A70;
  --warn-border: rgba(248, 113, 113, 0.24);
  --warn-bg: rgba(14, 12, 16, 0.72);

  --c-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Hide legacy hero blocks inside #jn-hero while preserving DOM nodes for tab/subtab scripts */
#jn-hero > .jn-hero-photo[hidden],
#jn-hero > .jn-hero-txt[hidden] {
  display: none !important;
}

body:not([data-tab-active]) #jn-hero,
body[data-tab-active="dossier"] #jn-hero {
  position: relative;
  z-index: 3;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

html body #juji-ticker,
html body[data-tab-active] #juji-ticker,
html body header.stream-header,
html body[data-tab-active] header.stream-header,
html body #jx-tabs,
html body.jr-on #jx-tabs,
html body[data-tab-active] #jx-tabs,
html body #jr-nav,
html body .arch-rail,
html body .arch-crosshair,
html body .arch-micro-coord,
html body .dots {
  display: none !important;
}

body:not([data-tab-active]) #jn-drawer-handle,
body[data-tab-active="dossier"] #jn-drawer-handle,
body:not([data-tab-active]) #juji-sealed-notice,
body[data-tab-active="dossier"] #juji-sealed-notice,
body:not([data-tab-active]) #juji-dossier,
body[data-tab-active="dossier"] #juji-dossier {
  display: none !important;
}

body[data-tab-active]:not([data-tab-active="dossier"]) .r6c-backdrop,
body[data-tab-active]:not([data-tab-active="dossier"]) .r6c-stage {
  display: none !important;
}

html,
body {
  overflow-x: clip !important;
}

html:not(:has(body.jl-page)),
body:not(.jl-page) {
  background-color: var(--bg-obsidian);
}

/* 11-08 owner #6089「我原本下面那一塊付費牆面怎麼不見了啊?」：電腦首頁不再鎖成一屏。
 * 首屏舞台照舊佔滿一屏，往下捲接訂閱櫥窗、充值面板、查一颗币｜观点（研究牆／觀點牆）——樣式在 juji-r6c-below.css。 */
@media (min-width: 1025px) {
  body:not(.jl-page):not([data-tab-active]),
  body:not(.jl-page)[data-tab-active="dossier"] {
    background-color: var(--bg-obsidian);
    background-image: none;
  }
}

/* ================= 1. Full-Bleed .r8 Center-Outpainted Back-View K-Line Backdrop ================= */
.r6c-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg-obsidian);
  overflow: hidden;
}

.r6c-backdrop-photo {
  position: absolute;
}

@media (min-width: 1025px) {
  .r6c-backdrop-photo {
    inset: 0;
    background-image: image-set(
      url("/brand/fs-r5/r8c-hero-desktop.r8.webp") type("image/webp"),
      url("/brand/fs-r5/r8c-hero-desktop.r8.jpg") type("image/jpeg")
    );
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    opacity: 0.94;
  }

  .r6c-backdrop-veil {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        90deg,
        rgba(8, 8, 12, 0.44) 0%,
        rgba(8, 8, 12, 0.16) 24%,
        rgba(8, 8, 12, 0.04) 44%,
        rgba(8, 8, 12, 0.08) 100%
      ),
      linear-gradient(
        180deg,
        rgba(8, 8, 12, 0.58) 0%,
        rgba(8, 8, 12, 0.12) 14%,
        rgba(8, 8, 12, 0.04) 68%,
        rgba(8, 8, 12, 0.42) 100%
      );
  }
}

@media (max-width: 1024px) {
  .r6c-backdrop-photo {
    top: 46px;
    left: 0;
    right: 0;
    height: 420px;
    background-image: image-set(
      url("/brand/fs-r5/r8c-hero-mobile.r8.webp") type("image/webp"),
      url("/brand/fs-r5/r8c-hero-mobile.r8.jpg") type("image/jpeg")
    );
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: 50% 0%;
    opacity: 0.95;
  }

  .r6c-backdrop-veil {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        rgba(8, 8, 12, 0.22) 0%,
        rgba(8, 8, 12, 0.04) 24%,
        rgba(8, 8, 12, 0.22) 38%,
        rgba(8, 8, 12, 0.76) 49%,
        #08080C 58%
      );
  }
}

/* ================= 2. r3_1 Topbar (jujix-logo-128 + 狙姬 + underline tabs + quota capsule) ================= */
.r6c-topbar {
  position: sticky;
  top: 0;
  z-index: 95;
  width: 100%;
  flex: none;
  order: -10 !important;
  height: 54px;
  background-color: rgba(8, 8, 12, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-subtle);
  font-family: var(--c-font);
}

html body.jx-tabbed[data-tab-active="live"] > #r6c-topbar {
  order: -10 !important;
}

.r6c-topbar a,
.r6c-topbar button,
.r6c-mobile-sheet a,
.r6c-mobile-sheet button {
  box-shadow: none !important;
  text-shadow: none !important;
  transform: none !important;
  font-family: var(--c-font);
}

.r6c-topbar-inner {
  max-width: 1440px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.r6c-brand-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.r6c-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink-1);
  flex-shrink: 0;
}

.fs-brand-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: block;
  filter: grayscale(1) brightness(1.26);
}

.r6c-brand-cn {
  font-family: "Juji Brand", "Smiley Sans", var(--c-font);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--ink-1);
}

.r6c-air-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-subtle);
  color: var(--ink-2);
  font-family: var(--c-font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.r6c-air-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  flex-shrink: 0;
}

.r6c-air-pill.is-live {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.36);
  color: #34D399;
}

.r6c-air-pill.is-live .r6c-air-dot {
  background: #34D399;
}

.r6c-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.r6c-nav-item {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease;
}

.r6c-nav-item:hover {
  color: var(--ink-1);
}

.r6c-nav-item.is-active {
  color: var(--ink-1);
  font-weight: 600;
  background: transparent;
  border-bottom-color: var(--ink-1);
}

.r6c-mob-more-btn {
  display: none;
}

.r6c-topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.r6c-lang-pill,
.r6c-quota-pill,
.r6c-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-subtle);
  color: var(--ink-1);
  font-size: 14.5px;
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
}

.r6c-quota-pill {
  cursor: default;
}

.r6c-lang-pill:hover,
.r6c-more-btn:hover,
.r6c-more-btn[aria-expanded="true"] {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.r6c-quota-label {
  color: var(--ink-2);
  font-weight: 400;
}

.r6c-quota-val {
  color: var(--ink-1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.r6c-more-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.r6c-more-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 105;
  min-width: 278px;
  padding: 6px;
  border-radius: 12px;
  background: #0A0A0E;
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.68);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.r6c-more-menu[hidden] {
  display: none !important;
}

.r6c-more-item {
  width: 100%;
  min-height: 38px;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-1);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.r6c-more-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink-1);
}

.r6c-more-kv b {
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.r6c-more-sep {
  height: 1px;
  margin: 4px 6px;
  background: var(--line-subtle);
}

.fs-sr-only {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: text;
}

.r6c-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(4, 4, 8, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.r6c-sheet-backdrop[hidden],
.r6c-mobile-sheet[hidden] {
  display: none !important;
}

.r6c-mobile-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 125;
  max-height: min(82vh, 640px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  border-radius: 16px 16px 0 0;
  background: rgba(10, 10, 14, 0.98);
  border-top: 1px solid var(--line-strong);
  font-family: var(--c-font);
  color: var(--ink-1);
}

.r6c-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 8px;
  border-bottom: 1px solid var(--line-subtle);
}

.r6c-sheet-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-1);
}

.r6c-sheet-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-2);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.r6c-sheet-close:hover {
  background: rgba(255, 255, 255, 0.10);
  color: var(--ink-1);
}

.r6c-sheet-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 6px;
}

.r6c-sheet-sep {
  height: 1px;
  margin: 6px 4px 0;
  background: var(--line-subtle);
}

.r6c-sheet-item {
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-1);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

.r6c-sheet-item:hover,
.r6c-sheet-item.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink-1);
}

.r6c-sheet-item.is-active {
  font-weight: 700;
}

.r6c-sheet-kv b {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.r6c-sheet-arr {
  color: var(--ink-3);
  font-size: 15px;
  flex-shrink: 0;
}

/* ================= 3. r3_1 Obsidian Semi-Transparent Glass Panels ================= */
#jn-hero .r6c-panel {
  background: var(--panel-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-card);
}

/* ================= 4. r3_1 Three-Column Stage (Left Full Feed + Mid Search/Quick + Right-Top Deep Card) ================= */
#jn-hero .r6c-stage {
  position: relative;
  z-index: 5;
  font-family: var(--c-font);
  color: var(--ink-1);
}

@media (min-width: 1025px) {
  #jn-hero .r6c-stage {
    max-width: 1440px;
    width: 100%;
    height: calc(100vh - 54px);
    margin: 0 auto;
    padding: 16px 24px 18px;
    display: grid;
    grid-template-columns: 314px 432px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }

  #jn-hero .r6c-col-left {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
  }

  #jn-hero .r6c-col-mid {
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    height: auto;
  }

  #jn-hero .r6c-col-right {
    align-self: start;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: auto;
  }
}

@media (min-width: 1025px) and (max-width: 1399px) {
  .r6c-topbar-inner {
    padding: 0 18px;
  }
  #jn-hero .r6c-stage {
    padding: 10px 18px 12px;
    grid-template-columns: 306px 396px minmax(0, 1fr);
    column-gap: 14px;
  }
}

@media (min-width: 1025px) and (max-width: 1319px) {
  .r6c-topbar-inner {
    padding: 0 16px;
  }
  #jn-hero .r6c-stage {
    padding: 8px 16px 10px;
    grid-template-columns: 296px 378px minmax(0, 1fr);
    column-gap: 12px;
  }
}

@media (min-width: 1025px) and (max-height: 800px) {
  .r6c-topbar {
    height: 48px;
  }
  #jn-hero .r6c-stage {
    height: calc(100vh - 48px);
    padding-top: 8px;
    padding-bottom: 10px;
  }
  #jn-hero .r6c-col-mid {
    gap: 8px;
  }
}

/* ================= 5. Left Column: Live Feed (r3_1 Divider Rows) ================= */
#jn-hero .fs-feed-panel {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

#jn-hero .fs-feed-head {
  height: 46px;
  padding: 0 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line-subtle);
}

#jn-hero .fs-feed-title {
  margin: 0;
  font-family: var(--c-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-1);
}

#jn-hero .fs-feed-filters {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#jn-hero .fs-filter-btn {
  height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

#jn-hero .fs-filter-btn:hover {
  color: var(--ink-1);
}

#jn-hero .fs-filter-btn.is-active {
  color: var(--ink-1);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
}

/* 11-12：框的高度不变，框里直向捲（以前 overflow:hidden＋只放 9 笔＝底下淡出又捲不动，看起来像坏掉）；
   捲到底再往下滑＝换捲整页（不锁住页面）；底部留 28px 给淡出遮罩，最后一笔捲得到遮罩上面 */
#jn-hero .fs-feed-list {
  flex: 1 1 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 28px), transparent 100%);
}

#jn-hero .fs-feed-list[data-feed-state="loading"] {
  justify-content: flex-start;
}

#jn-hero .fs-feed-stale-banner {
  margin: 6px 10px 0;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.35;
}

#jn-hero .fs-feed-status-box {
  margin: auto 0;
  padding: 18px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#jn-hero .fs-feed-status-msg {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

#jn-hero .fs-feed-retry-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-1);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}

#jn-hero .fs-feed-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-subtle);
  border-radius: 0;
}

#jn-hero .fs-feed-item:last-child {
  border-bottom: 0;
}

#jn-hero .fs-feed-item.is-selected {
  background: rgba(255, 255, 255, 0.05);
}

@keyframes r6cFeedNewRow {
  0% {
    background-color: rgba(255, 255, 255, 0.12);
  }
  100% {
    background-color: transparent;
  }
}

#jn-hero .fs-feed-item.is-new {
  animation: r6cFeedNewRow 1.4s ease-out 1;
}

@media (prefers-reduced-motion: reduce) {
  #jn-hero .fs-feed-item.is-new {
    animation: none;
  }
}

#jn-hero .fs-feed-item-head {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

#jn-hero .fs-feed-row {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  min-height: 66px;
  padding: 9px 6px 9px 11px;
  border: 0;
  background: transparent;
  color: var(--ink-1);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 32px;
  align-items: center;
  column-gap: 8px;
  text-align: left;
  cursor: pointer;
}

#jn-hero .fs-feed-row:hover {
  background: var(--panel-glass-hover);
}

#jn-hero .fs-feed-chain-link {
  flex: 0 0 20px;
  width: 20px;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

#jn-hero .fs-feed-chain-link:hover,
#jn-hero .fs-feed-chain-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-1);
}

#jn-hero .fs-feed-row.is-skeleton {
  cursor: default;
  pointer-events: none;
}

#jn-hero .fs-actor-slot {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #121216;
  border: 1px solid var(--line-subtle);
  flex-shrink: 0;
}

#jn-hero .fs-coin-slot {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #121216;
  border: 1px solid var(--line-subtle);
  flex-shrink: 0;
}

#jn-hero .fs-slot-initial {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-1);
  user-select: none;
}

#jn-hero .fs-actor-avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  border: 0;
  background: #121216;
}

#jn-hero .fs-coin-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: cover;
  border: 0;
  background: #121216;
}

#jn-hero .fs-feed-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#jn-hero .fs-actor-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-1);
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
}

#jn-hero .fs-action-line {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1px;
  align-items: baseline;
  min-width: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.32;
  overflow: hidden;
}

html[lang^="en"] #jn-hero .fs-action-line {
  font-size: 13px;
}

#jn-hero .fs-time-verb {
  flex-shrink: 0;
  white-space: pre;
  color: var(--ink-2);
}

#jn-hero .fs-coin-word {
  min-width: 28px;
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-1);
  font-weight: 600;
}

#jn-hero .fs-pnl-tail {
  flex-shrink: 0;
  white-space: pre;
}

#jn-hero .fs-up {
  color: var(--data-up);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

#jn-hero .fs-down {
  color: var(--data-down);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

#jn-hero .fs-feed-note {
  grid-column: 1 / -1;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 13px;
  line-height: 1.44;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}

#jn-hero .fs-feed-tr-badge {
  display: inline-block;
  vertical-align: baseline;
  margin-right: 5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--primary-btn-bg);
  color: #0A0A0A;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

#jn-hero .fs-feed-foot {
  height: 34px;
  padding: 0 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line-subtle);
  font-size: 14px;
  color: var(--ink-3);
}

@keyframes r6cSkelPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.82; }
}

#jn-hero .fs-skel-block {
  display: block;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.07) 100%);
  animation: r6cSkelPulse 1.6s ease-in-out infinite;
}

#jn-hero .fs-skel-copy {
  gap: 7px;
}

#jn-hero .fs-skel-line {
  height: 11px;
  border-radius: 3px;
}

#jn-hero .fs-skel-line.is-sub {
  height: 10px;
}


@media (min-width: 1025px) and (max-height: 800px) {
  #jn-hero .fs-feed-head {
    height: 40px;
  }
  #jn-hero .fs-feed-row {
    min-height: 56px;
    padding: 6px 8px 6px 10px;
  }
  #jn-hero .fs-feed-foot {
    height: 30px;
  }
}

/* ================= 6. Center Column: Search + Wan Quick-Card + Deep-Card 7-Lock Paywall ================= */
#jn-hero .r6c-search-bar {
  flex-shrink: 0;
  height: 44px;
  padding: 5px 5px 5px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 8, 12, 0.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
}

#jn-hero .fs-search-input {
  flex: 1 1 0;
  min-width: 0;
  border: 0 !important;
  outline: none;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink-1) !important;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 0;
}

#jn-hero .fs-search-input::placeholder {
  color: var(--ink-3);
}

#jn-hero .fs-primary-btn {
  flex-shrink: 0;
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--primary-btn-bg);
  color: var(--primary-btn-ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

#jn-hero .fs-primary-btn:hover {
  background: var(--primary-btn-hover);
}

#jn-hero .fs-results-stack {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#jn-hero .fs-quick-card {
  flex-shrink: 0;
  padding: 13px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

#jn-hero .fs-qc-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

#jn-hero .fs-qc-body[hidden],
#jn-hero .fs-qc-state-box[hidden],
#jn-hero .fs-qc-spinner[hidden],
#jn-hero .fs-qc-reset-btn[hidden],
#jn-hero .fs-qc-logo-fallback[hidden],
#jn-hero #fs-qc-picture[hidden] {
  display: none !important;
}

#jn-hero .fs-qc-state-box {
  min-height: 54px;
  padding: 6px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@keyframes fsSpin {
  to { transform: rotate(360deg); }
}

#jn-hero .fs-qc-spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--ink-1);
  animation: fsSpin 0.8s linear infinite;
  flex-shrink: 0;
}

#jn-hero .fs-qc-state-text {
  margin: 0;
  flex: 1 1 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-1);
}

#jn-hero .fs-qc-reset-btn {
  flex-shrink: 0;
  height: 28px;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

#jn-hero .fs-qc-reset-btn:hover {
  color: var(--ink-1);
  background: rgba(255, 255, 255, 0.09);
}

#jn-hero .fs-qc-logo-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#jn-hero .fs-qc-logo-fallback {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  background: #121216;
  border: 1px solid var(--line-strong);
  color: var(--ink-1);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#jn-hero .fs-qc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#jn-hero .fs-qc-coin {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

#jn-hero .fs-qc-meta {
  min-width: 0;
}

#jn-hero .fs-qc-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--line-subtle);
  flex-shrink: 0;
}

#jn-hero .fs-qc-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
}

#jn-hero .fs-qc-symbol {
  margin: 0;
  font-family: var(--c-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-1);
  line-height: 1.2;
}

#jn-hero .fs-qc-chain {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-3);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 11-08 (#22 × L401): on the three-column desktop the card sits right above her head (0-overlap rule) and the copy /
   chart buttons narrow the row (164px at 1280x720), so the name row stays one line and a long time label ends in "…"
   (the full label is in its title). Phones have no such limit and keep the clean two-line wrap above. */
@media (min-width: 1025px) {
  #jn-hero .fs-qc-name-row {
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    column-gap: 6px;
  }
  #jn-hero .fs-qc-symbol {
    flex: none;
  }
  #jn-hero .fs-qc-chain {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

#jn-hero .fs-qc-sub {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#jn-hero .fs-qc-top-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

#jn-hero .fs-qc-verdict-tag {
  flex-shrink: 0;
  height: 22px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-1);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

#jn-hero .fs-qc-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

#jn-hero .fs-qc-act-btn {
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-1);
  font-family: var(--c-font);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none !important;
  text-shadow: none !important;
  transform: none !important;
}

#jn-hero .fs-qc-act-btn:hover {
  background: rgba(255, 255, 255, 0.11);
  color: var(--ink-1);
}

/* 11-09 (#6345): Desktop places verdict + Copy CA + Chart on row 1 right (flex-sized to their natural width so long symbols
   truncate cleanly before them), and moves chain + Asia clock label to row 2 beside the full name. Phones untouched. */
@media (min-width: 1025px) {
  #jn-hero .fs-qc-top {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    row-gap: 0;
    column-gap: 0;
    padding-left: 49px;
  }
  #jn-hero .fs-qc-top::after {
    content: "";
    order: 3;
    flex: 0 0 100%;
    height: 0;
  }
  #jn-hero .fs-qc-coin,
  #jn-hero .fs-qc-meta,
  #jn-hero .fs-qc-name-row {
    display: contents;
  }
  #jn-hero .fs-qc-logo-wrap {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  #jn-hero .fs-qc-symbol {
    order: 1;
    flex: 1 1 0%;
    min-width: 0;
    max-width: max-content;
    margin-right: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #jn-hero .fs-qc-top-right {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
    flex-direction: row;
    align-items: center;
    gap: 5px;
  }
  #jn-hero .fs-qc-sub {
    order: 4;
    flex: 1 1 1px;
    min-width: 1px;
    max-width: max-content;
    margin: 2px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13.5px;
    line-height: 1.35;
  }
  #jn-hero .fs-qc-chain {
    order: 5;
    flex: 0 0 auto;
    margin: 2px 0 0;
    min-width: max-content;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    font-size: 13.5px;
    line-height: 1.35;
  }
  #jn-hero .fs-qc-chain::before {
    content: "·";
    margin: 0 5px;
    color: var(--ink-3);
  }
}

#jn-hero .fs-qc-headline {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink-1);
}

/* 第 31 号令二.4（快查卡）：判读写于 24 小时以前、之后涨跌超过 50%＝判读句下面一行提醒
   （首屏日夜同一套深色＝固定琥珀色，跟深卡格 .fs-dp-stale 同一个颜色） */
#jn-hero .fs-qc-stale {
  margin: 0;
  padding: 6px 9px;
  border: 1px solid rgba(252, 211, 77, 0.45);
  border-left: 4px solid #fcd34d;
  border-radius: 8px;
  background: rgba(252, 211, 77, 0.08);
  color: #fcd34d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

#jn-hero .fs-qc-stale[hidden] {
  display: none !important;
}

#jn-hero .fs-qc-stats {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line-subtle);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#jn-hero .fs-qc-stat {
  padding: 0;
  border: 0;
  background: transparent;
}

#jn-hero .fs-qc-stat dt {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
}

#jn-hero .fs-qc-stat dd {
  margin: 2px 0 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
  /* 11-09 上線巡站：「约 670.8 万美元」在 390 手機、1280 筆電都比格子寬 9～32px，原本 nowrap＝字蓋到隔壁格。
     改成只在空白處換行（约 670.8／万美元），不縮字、不截字；放得下的照舊一行。 */
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* Dark ground + orange-red dot/ink warning strip (0 yellow ground, 0 gold) */
#jn-hero .fs-qc-more-btn {
  width: 100%;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-left: 3px solid var(--warn-dot);
  color: var(--warn-ink);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
}

#jn-hero .fs-qc-more-btn::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--warn-dot);
  flex-shrink: 0;
}

/* 11-09：「✓ 池子够深」原本也套橘红警示条＝好消息看起来像警告。
   data-tone：warn＝原本橘红（浅池／蜜罐）·ok＝绿（池子够深＋验过不是蜜罐）·info＝灰（查不到／安检还没验） */
/* 11-09：数字跟「万美元」不准断开（放不下就断在「约」后面） */
#jn-hero .fs-qc-stat dd .fs-qc-num {
  white-space: nowrap;
}

#jn-hero .fs-qc-more-btn[data-tone="ok"] {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.32);
  border-left-color: #22c55e;
  color: #86efac;
}
#jn-hero .fs-qc-more-btn[data-tone="ok"]::before {
  background: #22c55e;
}
#jn-hero .fs-qc-more-btn[data-tone="info"] {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.3);
  border-left-color: #94a3b8;
  color: #cbd5e1;
}
#jn-hero .fs-qc-more-btn[data-tone="info"]::before {
  background: #94a3b8;
}

#jn-hero #fs-qc-more-summary {
  flex: 1 1 0;
  min-width: 0;
}

/* 11-08 #6015: the safety check is always open, as its own card on top of the right column (the middle column has no
   room for it without covering the head in the background) */
#jn-hero .fs-safety-card {
  background: var(--panel-glass-deep);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#jn-hero .fs-safety-card + .fs-deep-card {
  margin-top: 10px;
}

#jn-hero .fs-safety-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-subtle);
}

#jn-hero .fs-safety-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

#jn-hero .fs-safety-meta {
  font-size: 14px;
  color: var(--ink-3);
}

#jn-hero .fs-qc-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

#jn-hero .fs-qc-checks li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink-2);
}

#jn-hero .fs-qc-checks strong {
  color: var(--ink-1);
  font-weight: 600;
}

/* Right-Top Deep Card (r3_1 "深度调查报告 · CASE": .78 glass + conclusion + max risk + 7 expanded locked rows + #F5EEE4 CTA) */
#jn-hero .fs-deep-card {
  background: var(--panel-glass-deep);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

#jn-hero .fs-dp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-subtle);
}

#jn-hero .fs-dp-kicker,
#jn-hero .fs-dp-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

#jn-hero .fs-dp-meta {
  font-size: 14px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

#jn-hero .fs-dp-conclusion {
  margin: 0;
  font-family: var(--c-font);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-1);
  line-height: 1.38;
  letter-spacing: -0.01em;
}

#jn-hero .fs-dp-risk {
  margin: 0;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.44;
}

#jn-hero .fs-dp-risk-label {
  color: var(--ink-1);
  font-weight: 600;
}

#jn-hero .fs-dp-risk-count {
  color: var(--data-down);
  font-weight: 600;
}

#jn-hero .fs-dp-locked-rows {
  margin: 2px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 11-08 #6017: two rows read for free (谁做的 / 钱回不回币, the opening of that section), five are buttons that open the
   subscribe sheet. Nothing is blurred any more: a locked row shows what is inside it, not a smudge. */
#jn-hero .fs-dp-locked-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-subtle);
  font: inherit;
  color: inherit;
  text-align: left;
}

#jn-hero .fs-dp-locked-row[data-free] {
  align-items: start;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

#jn-hero button.fs-dp-locked-row {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

#jn-hero button.fs-dp-locked-row:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-strong);
}

#jn-hero button.fs-dp-locked-row:focus-visible {
  outline: 2px solid var(--ink-1);
  outline-offset: 1px;
}

#jn-hero .fs-dp-row-k {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-1);
  white-space: nowrap;
}

#jn-hero .fs-lock-svg {
  width: 12px;
  height: 12px;
  color: var(--ink-2);
  flex-shrink: 0;
}

#jn-hero .fs-lock-svg.is-open {
  color: var(--data-up);
}

#jn-hero .fs-dp-free-tag {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.32);
  background: rgba(52, 211, 153, 0.1);
  color: var(--data-up);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

#jn-hero .fs-dp-row-v {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

#jn-hero .fs-dp-free-txt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.42;
  color: var(--ink-1);
  overflow-wrap: anywhere;
}

#jn-hero .fs-dp-locked-row[data-free-state="pending"] .fs-dp-free-txt,
#jn-hero .fs-dp-locked-row[data-free-state="empty"] .fs-dp-free-txt {
  color: var(--ink-3);
  font-weight: 400;
}

#jn-hero .fs-dp-lock-desc {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  color: var(--ink-3);
}

#jn-hero .fs-dp-lock-go {
  flex: none;
  font-size: 17px;
  line-height: 1;
  color: var(--ink-2);
}

#jn-hero .fs-dp-paywall-foot {
  padding-top: 2px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

/* 11-16: hidden wins over the display rules above. A five-card (v2) deep card has no 怎么红的 / 流动性 rows
   (juji-sub.js folds them) and a pass holder's full card folds the subscribe row; display: grid / flex kept both
   on screen, so a paying viewer still saw two locked rows and 「订阅看完整深卡」. */
#jn-hero .fs-dp-locked-row[hidden],
#jn-hero .fs-dp-paywall-foot[hidden] {
  display: none;
}

#jn-hero .fs-subscribe-btn {
  width: 100%;
  height: 38px;
  padding: 0 18px;
  border-radius: 8px;
  border: 0;
  background: var(--primary-btn-bg);
  color: var(--primary-btn-ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

#jn-hero .fs-subscribe-btn:hover {
  background: var(--primary-btn-hover);
}

#jn-hero .fs-sub-lock-ico {
  width: 14px;
  height: 14px;
  color: var(--primary-btn-ink);
}

/* Compact vertical fit for 1366x768 & 1280x720 so midCol clears headTop and all 7 locked rows + subscribe CTA fit inside vh */
@media (min-width: 1025px) and (max-height: 800px) {
  #jn-hero .r6c-search-bar {
    height: 38px;
  }
  #jn-hero .fs-primary-btn {
    height: 29px;
  }
  #jn-hero .fs-results-stack {
    gap: 7px;
  }
  #jn-hero .fs-quick-card {
    padding: 10px 14px;
    gap: 6px;
  }
  #jn-hero .fs-qc-body {
    gap: 6px;
  }
  #jn-hero .fs-qc-logo-wrap,
  #jn-hero .fs-qc-logo {
    width: 32px;
    height: 32px;
  }
  #jn-hero .fs-qc-top {
    padding-left: 43px;
  }
  #jn-hero .fs-qc-symbol {
    font-size: 16.5px;
  }
  #jn-hero .fs-qc-top-right {
    gap: 3px;
  }
  #jn-hero .fs-qc-actions {
    gap: 3px;
  }
  #jn-hero .fs-qc-verdict-tag {
    height: 19px;
    padding: 0 6px;
    font-size: 13px;
  }
  #jn-hero .fs-qc-act-btn {
    height: 20px;
    padding: 0 6px;
    font-size: 13px;
  }
  #jn-hero .fs-qc-headline {
    font-size: 15px;
    line-height: 1.32;
  }
  #jn-hero .fs-qc-stats {
    padding-top: 6px;
    gap: 8px;
  }
  #jn-hero .fs-qc-stat dd {
    font-size: 15px;
  }
  #jn-hero .fs-qc-more-btn {
    padding: 4px 8px;
    font-size: 13.5px;
  }
  #jn-hero .fs-deep-card {
    padding: 10px 15px;
    gap: 6px;
  }
  #jn-hero .fs-dp-head {
    padding-bottom: 5px;
  }
  #jn-hero .fs-dp-conclusion {
    font-size: 15px;
    line-height: 1.34;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #jn-hero .fs-dp-risk {
    font-size: 14px;
    line-height: 1.36;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #jn-hero .fs-dp-locked-rows {
    gap: 3px;
  }
  #jn-hero .fs-dp-locked-row {
    padding: 3.5px 9px;
  }
  #jn-hero .fs-dp-row-k {
    font-size: 14px;
  }
  #jn-hero .fs-dp-free-txt {
    -webkit-line-clamp: 2;
    font-size: 13.5px;
    line-height: 1.36;
  }
  #jn-hero .fs-subscribe-btn {
    height: 34px;
    font-size: 15px;
  }
}

/* ================= 7. Mobile 390x844 Layout (Upper Back-View + K-Line -> Search -> Live Feed -> Quick -> Deep) ================= */
@media (max-width: 1024px) {
  .r6c-topbar {
    height: 50px;
    background: rgba(8, 8, 12, 0.92);
  }

  .r6c-topbar-inner {
    padding: 0 8px;
    gap: 4px;
  }

  .r6c-brand-cluster {
    gap: 6px;
  }

  .r6c-brand {
    gap: 6px;
  }

  .fs-brand-logo {
    width: 22px;
    height: 22px;
  }

  .r6c-brand-cn {
    font-size: 16.5px;  /* #6015：手机顶栏是导览、宽度固定，字放大会挤成一团（实测 390「更多 ▾」撞进 EN），维持原字级 */
  }

  .r6c-air-pill {
    height: 20px;
    padding: 0 6px;
    gap: 4px;
    font-size: 10.5px;  /* #6015：手机顶栏是导览、宽度固定，字放大会挤成一团（实测 390「更多 ▾」撞进 EN），维持原字级 */
  }

  .r6c-air-dot {
    width: 5px;
    height: 5px;
  }

  .r6c-desk-only {
    display: none !important;
  }

  .r6c-nav {
    gap: 1px;
  }

  .r6c-nav-item {
    height: 44px;
    padding: 0 5px;
    font-size: 12.5px;  /* #6015：手机顶栏是导览、宽度固定，字放大会挤成一团（实测 390「更多 ▾」撞进 EN），维持原字级 */
  }

  .r6c-mob-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .r6c-topbar-right {
    gap: 4px;
  }

  .r6c-lang-pill,
  .r6c-quota-pill {
    height: 30px;
    padding: 0 7px;
    gap: 4px;
    font-size: 11px;  /* #6015：手机顶栏是导览、宽度固定，字放大会挤成一团（实测 390「更多 ▾」撞进 EN），维持原字级 */
  }

  #jn-hero .fs-qc-top {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  #jn-hero .fs-qc-top-right {
    display: contents;
  }

  #jn-hero .fs-qc-verdict-tag {
    height: 26px;
    padding: 0 10px;
    font-size: 14px;
  }

  #jn-hero .fs-qc-actions {
    flex: 0 0 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  #jn-hero .fs-qc-act-btn {
    height: 36px;
    font-size: 14.5px;
  }

  #jn-hero .r6c-stage {
    min-height: calc(100vh - 50px);
    padding: 264px 14px 36px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #jn-hero .r6c-col-mid {
    display: contents;
  }

  #jn-hero .hl-counter {
    order: 1;
  }

  #jn-hero .r6c-search-bar {
    order: 1;
    height: 46px;
    background: rgba(8, 8, 12, 0.68);
  }

  #jn-hero .r6c-col-left {
    order: 3;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  #jn-hero .fs-feed-panel {
    flex: none;
  }

  #jn-hero .fs-feed-head {
    height: 42px;
  }

  /* 手机：框高约五笔多一点、框里捲 */
  #jn-hero .fs-feed-list {
    flex: none;
    max-height: 360px;
  }

  #jn-hero .fs-feed-row {
    min-height: 58px;
    padding: 8px 10px;
  }


  #jn-hero .fs-feed-foot {
    height: 32px;
  }

  #jn-hero .fs-results-stack {
    order: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #jn-hero .r6c-col-right {
    order: 4;
    width: 100%;
  }

  /* When user searches a CA on mobile, keep scrollY unchanged and surface Quick Card + Deep Card right below the search bar */
  #jn-hero[data-fs-queried="true"] .fs-results-stack {
    order: 2;
  }

  #jn-hero[data-fs-queried="true"] .r6c-col-right {
    order: 3;
  }

  #jn-hero[data-fs-queried="true"] .r6c-col-left {
    order: 4;
  }

  #jn-hero .fs-dp-locked-row {
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 5px 9px;
  }

  #jn-hero .fs-dp-locked-row[data-free] {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
  }

  #jn-hero .fs-dp-locked-row[data-free] .fs-dp-row-k {
    flex-wrap: nowrap;
  }

  #jn-hero .fs-dp-free-txt {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  #jn-hero .fs-dp-lock-desc {
    white-space: normal;
    line-height: 1.4;
  }

  #jn-hero .fs-qc-stat dd {
    font-size: 15px;
  }

  #jn-hero .fs-deep-card {
    flex: none;
  }

  #jn-hero .fs-dp-paywall-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  #jn-hero .fs-subscribe-btn {
    width: 100%;
    height: 40px;
  }
}

/* 360px phones: the top bar was 14px short and the 更多 ▾ arrow slid under EN (measured on the old build too).
   Narrow the side padding and the nav items' own padding; no word is hidden. */
@media (max-width: 374px) {
  .r6c-topbar-inner {
    padding: 0 6px;
  }
  .r6c-nav-item {
    padding: 0 3px;
  }
}

/* ================= 11-08 #6017 subscribe sheet (opened by the five locked rows and the subscribe button) ================= */
.fs-sub-sheet {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  font-family: var(--c-font);
}

.fs-sub-sheet[hidden] {
  display: none;
}

.fs-sub-sheet-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.fs-sub-sheet-panel {
  position: relative;
  width: min(540px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 10, 14, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  color: var(--ink-1);
  outline: none;
}

.fs-sub-sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 22px 12px;
}

.fs-sub-sheet-foot {
  flex: none;
  padding: 0 22px 16px;
  border-top: 1px solid var(--line-subtle);
  background: rgba(10, 10, 14, 0.98);
}

.fs-sub-sheet-x {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.fs-sub-sheet-x:hover {
  color: var(--ink-1);
  border-color: var(--line-strong);
}

.fs-sub-sheet-x:focus-visible,
.fs-sub-sheet-back:focus-visible {
  outline: 2px solid var(--ink-1);
  outline-offset: 2px;
}

.fs-sub-sheet-kicker {
  margin: 0 44px 6px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.fs-sub-sheet-title {
  margin: 0 44px 8px 0;
  font-family: var(--c-font);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink-1);
}

.fs-sub-sheet-lead {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.fs-sub-sheet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-sub-sheet-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line-subtle);
  background: rgba(255, 255, 255, 0.03);
}

.fs-sub-sheet-k {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-1);
  white-space: nowrap;
}

.fs-sub-sheet-d {
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.fs-sub-sheet-tag {
  justify-self: end;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-2);
}

.fs-sub-sheet-item[data-free] .fs-sub-sheet-tag {
  border-color: rgba(52, 211, 153, 0.32);
  background: rgba(52, 211, 153, 0.1);
  color: var(--data-up);
}

.fs-sub-sheet-extra {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.fs-sub-sheet-price {
  margin: 0 0 10px;
  padding: 12px 0 2px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.fs-sub-sheet-price-k {
  font-size: 14px;
  color: var(--ink-3);
}

.fs-sub-sheet-price-v {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-1);
}

.fs-sub-sheet-cta {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 9px;
  background: var(--primary-btn-bg);
  color: var(--primary-btn-ink);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 800;
}

.fs-sub-sheet-cta:disabled {
  cursor: default;
  opacity: 0.94;
}

.fs-sub-sheet-back {
  display: block;
  width: 100%;
  margin-top: 8px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}

.fs-sub-sheet-back:hover {
  color: var(--ink-1);
}

@media (max-width: 640px) {
  .fs-sub-sheet {
    align-items: flex-end;
    padding: 0;
  }

  .fs-sub-sheet-panel {
    width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 16px 16px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .fs-sub-sheet-body {
    padding: 20px 16px 10px;
  }

  .fs-sub-sheet-foot {
    padding: 0 16px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .fs-sub-sheet-item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "k tag" "d d";
    row-gap: 3px;
  }

  .fs-sub-sheet-k {
    grid-area: k;
  }

  .fs-sub-sheet-tag {
    grid-area: tag;
  }

  .fs-sub-sheet-d {
    grid-area: d;
  }
}

/* 查币框右边的 ×（11-11 #6571）：框里有字才出现，空框（显示提示字）就收起来 */
#jn-hero .fs-search-clear {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-3);
  font: 400 24px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
}
#jn-hero .fs-search-clear:hover,
#jn-hero .fs-search-clear:focus-visible {
  color: var(--ink-1);
  background: rgba(255, 255, 255, 0.08);
}
#jn-hero .fs-search-input:placeholder-shown + .fs-search-clear {
  display: none;
}
