/* juji-night.css — 整站換皮 C 梗圖野獸派·手調層（工程 2026-11-03·主理人三號 #3197「C 梗图野兽派·整页」）
 * 規格：DESIGN_SPEC_jujix_1103.md v2 節
 * 排在 juji-night.gen.css 後面：產生器管「每條顏色字型換成 C 的 token」，這支管「長相」：
 * 黑粗框（只准 #0a0a0a）＋硬陰影（不模糊）＋得意黑標題＋螢光綠主按鈕＋首屏歪框照片＋研究牆拉窗。
 * 顏色一律用 --n-* token（定義在 gen 檔頂端），換風格只換 token。 */

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

html,
body {
  background: var(--n-bg);
  color: var(--n-body);
  font-family: var(--n-sans);
  font-variant-numeric: tabular-nums;
}

body {
  background-color: var(--n-bg);
  background-image: radial-gradient(1100px 560px at 50% -14%, var(--n-halo), transparent 66%);
  background-repeat: no-repeat;
}

a:not([class]),
.juji-ca .juji-ca-link,
.juji-sealed-link,
.jl-proof-val a,
a.jl-proof-val {
  text-shadow: 0 0 10px color-mix(in srgb, var(--n-btn) 40%, transparent);
}

:focus-visible {
  outline: 3px solid var(--n-ink);
  outline-offset: 2px;
}

::selection {
  background: var(--n-btn);
  color: var(--n-btn-ink);
}

/* ---- 標題：得意黑（規格 v2：標題字＝Smiley Sans，內文照舊無襯線） ---- */
h1,
h2,
h3,
.jn-hero-title,
.juji-sleuth-fly-title {
  font-family: var(--n-display);
  font-weight: 400;
  color: var(--n-ink);
  letter-spacing: 0;
}

/* ---- 頁首：底下一條黑粗線；分頁選中＝螢光筆劃底；語言切換選中＝黑底綠字 ---- */
.stream-header {
  border-bottom: 3px solid var(--n-line);
}

.jx-tab.is-active {
  box-shadow: 0 6px 12px -6px var(--n-glow);
}

.jx-tab.is-active .jx-tab-label {
  color: var(--n-ink);
}

/* 選中分頁＝底下一條 3px 淡紫線（11-05）：原本的螢光筆劃底是深紫 #4c1d95 疊在深底上（1.5:1）＝看不出自己在哪一頁；
 * 改回舊站那條底線、顏色換主色淡紫（9.8:1），全站「選中」只用這一種記號 */
.jx-tab.is-active::after {
  content: "";
  background: var(--n-btn);
}

.stream-header .lang-switch {
  border: 2px solid var(--n-line);
  border-radius: 10px;
  background: var(--n-surface);
}

.stream-header .lang-switch-opt {
  border-radius: 7px;
  color: var(--n-muted);
}

.stream-header .lang-switch-opt.is-active {
  background: var(--n-seg-on);
  color: var(--n-seg-ink);
}

/* ---- 首屏：左邊大字＋查幣框，右邊照片歪框貼紙（電腦）；手機照片在上、字在下 ---- */
.jn-hero {
  --jn-gutter: 56px;
  --jn-photo-w: 440px;
  position: relative;
  z-index: 4;
  display: block;
  min-height: 300px;
  margin: 0;
  padding: 44px calc(var(--jn-photo-w) + var(--jn-gutter) + 72px) 18px var(--jn-gutter);
  background: transparent;
  overflow: visible;
}

.jn-hero-photo {
  position: absolute;
  top: 34px;
  right: var(--jn-gutter);
  width: var(--jn-photo-w);
  height: 470px;
  border: 3px solid var(--n-line);
  border-radius: 18px;
  background: var(--n-photo);
  box-shadow: 9px 9px 0 var(--n-shadow);
  transform: rotate(-1.6deg);
  overflow: hidden;
}

.jn-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;   /* 直的人像（她坐在電腦前）：對焦在臉到肩 */
}

/* 照片上的主色貼紙＝她現在在幹嘛（字由 juji-night.js 照 sleuth 的直播狀態抄過來） */
.jn-hero-sticker {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  border: 3px solid var(--n-line);
  border-radius: 10px;
  background: var(--n-btn);
  color: var(--n-btn-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.jn-hero-sticker:empty {
  display: none;
}

.jn-hero-sticker::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border: 2px solid var(--n-line);
  border-radius: 50%;
  background: var(--n-live);
  animation: jn-breathe 2s ease-in-out infinite;
}

.jn-hero-txt {
  position: relative;
  max-width: 680px;
}

.jn-hero-title {
  margin: 0;
  font-size: 72px;
  line-height: 1.08;
}

.jn-hero-lede {
  margin-top: 18px;
  max-width: 30em;
  font-size: 20px;
  line-height: 1.6;
  color: var(--n-muted);
}

.jn-replay-entry-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 14px;
  border: 2px solid var(--n-line);
  border-radius: 9px;
  background: var(--n-surface);
  color: var(--n-ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--n-shadow);
  transition: transform 0.14s ease, background 0.14s ease;
}

.jn-replay-entry-btn:hover {
  background: var(--n-btn);
  color: var(--n-btn-ink);
  transform: translate(-1px, -1px);
}

.jn-wb-replay-link {
  margin-top: 0;
  margin-left: auto;
  font-size: 14.5px;
  padding: 4px 11px;
}

/* sleuth 的狀態條＋查幣框接在大字下面、只佔左欄（右欄留給照片）
 * 11-05：原本寫 .jn-hero + .juji-ca-sleuth（緊鄰）；查幣暫停時 juji-ca-sleuth.js 把公告卡插在兩者中間＝這整組全部失效
 * （官方合約條變成框中框、跑到照片底下、直播狀態重複一次）＝改成 ~（之後的兄弟），有沒有公告都照同一套排 */
.jn-hero ~ .juji-ca-sleuth .juji-sleuth-shell {
  padding: 0 18px;
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-bay {
  padding: 0;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-official-strip,
.jn-hero ~ .juji-ca-sleuth .juji-sleuth-search-box {
  margin: 0 0 0 calc(56px - 18px);
  max-width: calc(100% - (56px - 18px) - 440px - 56px - 72px + 18px);
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-official-strip {
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 14px;
}

/* 直播狀態搬到照片貼紙上了，這裡不重複 */
.jn-hero ~ .juji-ca-sleuth .juji-sleuth-live-indicator {
  display: none;
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-search-box {
  min-height: 200px;
  margin-bottom: 64px;
  padding: 0;
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-official-addr {
  padding: 4px 10px;
  border: 2px solid var(--n-line);
  border-radius: 8px;
  background: var(--n-surface);
  color: var(--n-ink);
}

/* 查幣框：深色終端機面板＋淺粗框＋硬陰影；輸入欄獨立內框、主按鈕＝淡紫流光動效 */
.jn-hero ~ .juji-ca-sleuth .juji-sleuth-form {
  flex-wrap: nowrap;
  gap: 8px;
  max-width: none;
  padding: 8px;
  border: 3px solid var(--n-line);
  border-radius: 14px;
  background: var(--n-surface);
  box-shadow: 5px 5px 0 var(--n-shadow);
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 2px solid var(--n-line);
  border-radius: 10px;
  background: var(--n-field);
  overflow: hidden;
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-input-icon {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 17px;
  line-height: 1;
  color: var(--n-btn);
  pointer-events: none;
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-input {
  height: 44px;
  min-height: 44px;
  padding: 0 38px 0 38px;
  box-sizing: border-box;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--n-ink);
  font-family: var(--n-sans);
  font-size: 17px;
  line-height: 1.25;
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-input:focus {
  border: 0;
  background: var(--n-hover);
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-input::placeholder {
  color: var(--n-muted);
  font-size: 16px;
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-paste-btn,
.jn-hero ~ .juji-ca-sleuth .juji-sleuth-submit-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 48px;
  min-height: 48px;
  padding: 0 20px;
  border: 3px solid var(--n-line);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--n-shadow);
  color: var(--n-ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.16s ease, background-color 0.15s ease;
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-paste-btn {
  background: var(--n-surface);
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-submit-btn {
  background: var(--n-btn);
  color: var(--n-btn-ink);
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--n-shadow);
  box-shadow: 3px 3px 0 var(--n-shadow), 0 0 26px color-mix(in srgb, var(--n-btn) 60%, transparent), 0 0 2px rgba(255, 255, 255, 0.35) inset;
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-submit-btn::after,
.juji-sleuth-official-btn.is-claim::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.42) 50%, transparent 80%);
  transform: skewX(-20deg);
  animation: jn-btn-sheen 3.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes jn-btn-sheen {
  0%, 62% {
    left: -120%;
  }
  100% {
    left: 160%;
  }
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-paste-btn:hover {
  background: var(--n-hover);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--n-shadow);
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-submit-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--n-shadow);
  box-shadow: 5px 5px 0 var(--n-shadow), 0 0 30px color-mix(in srgb, var(--n-btn) 68%, transparent), 0 0 2px rgba(255, 255, 255, 0.45) inset;
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-paste-btn:active,
.jn-hero ~ .juji-ca-sleuth .juji-sleuth-submit-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--n-shadow);
}

.jn-hero ~ .juji-ca-sleuth .juji-sleuth-quota-line {
  margin-top: 14px;
  padding-left: 4px;
}

/* ---- 全站按鈕：白底黑框小硬陰影；選中＝淺底深紫字；領分紅＝淡紫 ---- */
.juji-sleuth-filter-btn,
#juji-sleuth-panel-wall .juji-sleuth-filter-btn,
.juji-sleuth-card-back-btn,
.juji-sleuth-card-fwd-btn,
.juji-sleuth-official-btn {
  border: 2px solid var(--n-line);
  border-radius: 10px;
  background: var(--n-surface);
  color: var(--n-ink);
  box-shadow: 2px 2px 0 var(--n-shadow);
  font-weight: 800;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease;
}

.juji-sleuth-filter-btn:hover,
#juji-sleuth-panel-wall .juji-sleuth-filter-btn:hover,
.juji-sleuth-card-back-btn:hover,
.juji-sleuth-card-fwd-btn:hover,
.juji-sleuth-official-btn:hover {
  background: var(--n-hover);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--n-shadow);
}

.juji-sleuth-filter-btn.is-active,
#juji-sleuth-panel-wall .juji-sleuth-filter-btn.is-active {
  border: 2px solid var(--n-line);
  background: var(--n-seg-on);
  color: var(--n-seg-ink);
  box-shadow: 2px 2px 0 var(--n-shadow);
}

.juji-sleuth-official-btn.is-claim {
  position: relative;
  overflow: hidden;
  border-color: var(--n-line);
  background: var(--n-btn);
  color: var(--n-btn-ink);
  font-weight: 900;
}

.juji-sleuth-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 2px solid var(--n-line);
  border-radius: 10px;
  background: var(--n-surface);
  color: var(--n-ink);
  box-shadow: 2px 2px 0 var(--n-shadow);
  line-height: 1.2;
  transition: transform 0.14s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.14s ease, background-color 0.14s ease;
}

.juji-sleuth-capsule:hover {
  background: var(--n-hover);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--n-shadow);
}

.juji-sleuth-capsule:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--n-shadow);
}

/* ---- 樣本試查跑馬燈（主理人 21:04 #1「該捲動跑馬燈要有」＋#5「字體完美在框框內」） ---- */
.juji-sleuth-capsules-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 6px 10px;
  border: 2px solid var(--n-line);
  border-radius: 12px;
  background: var(--n-field);
  box-shadow: 3px 3px 0 var(--n-shadow);
  overflow: hidden;
  -webkit-mask-image: none;
  mask-image: none;
}

.juji-sleuth-capsules-lbl {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 2px solid var(--n-line);
  border-radius: 8px;
  background: var(--n-quote);
  color: var(--n-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.juji-sleuth-cap-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--n-btn);
  box-shadow: 0 0 0 0 var(--n-btn);
  animation: jn-radar-pulse 2s ease-out infinite;
}

.juji-sleuth-capsules-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: 2px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}

.juji-sleuth-capsules-track {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  animation: juji-capsules-marquee 34s linear infinite;
  will-change: transform;
}

.juji-sleuth-capsules-row:hover .juji-sleuth-capsules-track,
.juji-sleuth-capsules-row:focus-within .juji-sleuth-capsules-track,
.juji-sleuth-capsules-row:active .juji-sleuth-capsules-track {
  animation-play-state: paused;
}

@keyframes juji-capsules-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ---- 研究牆：整塊粗框＋硬陰影；頂部標題與刷新同排；內嵌實時播報跑馬燈 ---- */
#juji-sleuth-panel-wall {
  border: 3px solid var(--n-line);
  border-radius: 18px;
  background: var(--n-surface);
  box-shadow: 9px 9px 0 var(--n-shadow);
}

#juji-sleuth-panel-wall .juji-sleuth-fly-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--n-line);
}

#juji-sleuth-panel-wall .juji-sleuth-fly-title-wrap {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.juji-sleuth-wall-live-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 9px;
  border: 2px solid var(--n-line);
  border-radius: 999px;
  background: var(--n-quote);
  color: var(--n-ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
}

#juji-sleuth-panel-wall .juji-sleuth-fly-title {
  font-size: 32px;
  line-height: 1.15;
}

#juji-sleuth-panel-wall .juji-sleuth-fly-desc {
  flex: 1 1 100%;
  margin: 0;
  color: var(--n-muted);
  font-size: 15px;
  line-height: 1.45;
}

#juji-sleuth-wall-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 0 14px;
  border: 2px solid var(--n-line);
  border-radius: 10px;
  background: var(--n-field);
  color: var(--n-ink);
  box-shadow: 2px 2px 0 var(--n-shadow);
  font-weight: 800;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease;
}

#juji-sleuth-wall-refresh:hover {
  background: var(--n-hover);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--n-shadow);
}

#juji-sleuth-wall-refresh:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--n-shadow);
}

.juji-refresh-ico {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.35s ease;
}

#juji-sleuth-wall-refresh:hover .juji-refresh-ico {
  transform: rotate(90deg);
}

#juji-sleuth-wall-refresh.is-spinning .juji-refresh-ico {
  animation: jn-spin 0.65s linear infinite;
}

@keyframes jn-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 研究牆實時播報跑馬燈 */
.jgw-live-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 6px 10px;
  border: 2px solid var(--n-line);
  border-radius: 12px;
  background: var(--n-field);
  box-shadow: 3px 3px 0 var(--n-shadow);
  overflow: hidden;
}

.jgw-live-ticker[hidden] {
  display: none !important;
}

.jgw-ticker-lbl {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 2px solid var(--n-line);
  border-radius: 8px;
  background: var(--n-quote);
  color: var(--n-ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.jgw-ticker-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: 2px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}

.jgw-ticker-track {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  animation: jgw-ticker-marquee 38s linear infinite;
  will-change: transform;
}

.jgw-live-ticker:hover .jgw-ticker-track,
.jgw-live-ticker:focus-within .jgw-ticker-track,
.jgw-live-ticker:active .jgw-ticker-track {
  animation-play-state: paused;
}

@keyframes jgw-ticker-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.jgw-ticker-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  box-sizing: border-box;
  border: 2px solid var(--n-line);
  border-radius: 999px;
  background: var(--n-surface);
  color: var(--n-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.14s ease, background-color 0.14s ease;
}

.jgw-ticker-pill:hover {
  background: var(--n-hover);
  transform: translateY(-1px);
}

.jgw-ticker-tag {
  color: var(--n-body);
  font-weight: 700;
}

.jgw-ticker-mc {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--n-field);
  color: var(--n-muted);
  font-size: 14px;
  font-weight: 800;
}

.jgw-moments {
  padding: 4px;
  gap: 4px;
  border: 3px solid var(--n-line);
  border-radius: 12px;
  background: var(--n-surface);
  box-shadow: 3px 3px 0 var(--n-shadow);
}

.jgw-moment {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--n-ink);
  font-weight: 800;
  transition: transform 0.14s ease, background-color 0.14s ease, color 0.14s ease;
}

.jgw-moment.is-active {
  background: var(--n-seg-on);
  color: var(--n-seg-ink);
}

.jgw-search,
.jgw-sort {
  box-sizing: border-box;
  border: 3px solid var(--n-line);
  border-radius: 12px;
  background: var(--n-surface);
  color: var(--n-ink);
  box-shadow: 3px 3px 0 var(--n-shadow);
  line-height: 1.2;
}

.jgw-sort {
  -webkit-appearance: none;
  appearance: none;
  padding: 0 32px 0 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23fcfaff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 12px 12px;
}

.jgw-summary {
  padding: 8px 12px;
  border: 2px solid var(--n-line);
  border-left: 6px solid var(--n-btn);
  border-radius: 10px;
  background: var(--n-field);
  color: var(--n-ink);
  line-height: 1.4;
}

#juji-sleuth-panel-wall .juji-sleuth-filter-btn.jgw-chip {
  min-height: 36px;
  padding: 0 11px;
  font-size: 15px;
}

.jgw-row {
  grid-template-columns: minmax(0, 1fr) 86px 86px;
  gap: 6px;
  box-sizing: border-box;
}

.jgw-name {
  flex-wrap: wrap;
  row-gap: 2px;
  column-gap: 6px;
}

.jgw-sym {
  flex: 0 1 auto;
  min-width: 3.2em;
  font-size: 17px;
}

.jgw-row:not(.jgw-head) {
  border: 2px solid var(--n-line);
  border-left: 6px solid var(--n-watch);
  border-radius: 12px;
  background: var(--n-surface);
  box-shadow: 3px 3px 0 var(--n-shadow);
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.16s ease, background-color 0.14s ease;
}

.jgw-row[data-wall-vl="PASS_LIVE"]:not(.jgw-head) {
  border-left-color: var(--n-pass);
}

.jgw-row[data-wall-vl="KILL_TRASH"]:not(.jgw-head) {
  border-left-color: var(--n-risk);
}

.jgw-row[data-wall-vl="WATCH_ONLY"]:not(.jgw-head) {
  border-left-color: var(--n-caution);
}

.jgw-row:not(.jgw-head):hover {
  background: var(--n-hover);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--n-shadow);
}

.jgw-row:not(.jgw-head):active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--n-shadow);
}

button.jgw-row .jgw-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 32px;
  padding: 0 4px;
  border: 2px solid var(--n-line);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

button.jgw-row .jgw-light .jgw-dot {
  width: 7px;
  height: 7px;
}

.jgw-row.jgw-head {
  grid-template-columns: minmax(0, 1fr) 86px 86px;
  border: 0;
  border-bottom: 2px solid var(--n-line);
  border-radius: 0;
  background: transparent;
}

.jgw-row.jgw-head .jgw-c1,
.jgw-row.jgw-head .jgw-c2 {
  text-align: center;
}

@media (min-width: 900px) {
  .jgw-row,
  .jgw-row.jgw-head {
    grid-template-columns: minmax(0, 1fr) 98px 98px;
  }

  button.jgw-row .jgw-light {
    min-height: 35px;
    padding: 0 7px;
    font-size: 15px;
  }

  button.jgw-row .jgw-light .jgw-dot {
    width: 8px;
    height: 8px;
  }
}

/* 公開戰績看板、報告卡：同一套黑粗框＋硬陰影 */
#juji-sleuth-track-record-section {
  border: 3px solid var(--n-line);
  border-radius: 18px;
  background: var(--n-surface);
  box-shadow: 9px 9px 0 var(--n-shadow);
}

#juji-sleuth-card-stage .juji-sleuth-card {
  border: 3px solid var(--n-line);
  border-radius: 22px;
  background: var(--n-surface);
  box-shadow: 11px 11px 0 var(--n-shadow);
  animation: jn-card-enter 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes jn-card-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 直播燈＝紅、2 秒慢呼吸＋雷達光圈 */
.juji-sleuth-live-dot {
  background: var(--n-live);
  box-shadow: 0 0 0 0 var(--n-live);
  animation: jn-breathe 2s ease-in-out infinite, jn-radar-pulse 2s ease-out infinite;
}

@keyframes jn-breathe {
  50% {
    opacity: 0.45;
  }
}

@keyframes jn-radar-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--n-ink) 45%, transparent);
  }
  70% {
    box-shadow: 0 0 0 6px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

/* 樣本膠囊上的判定點：觀望＝灰（黃留給子檢查的「要小心」） */
.juji-sleuth-cap-dot.is-watch {
  background: var(--n-watch);
}

/* 研究牆中間的說明條（工程 19:06 第 4 條）：上下都是粗框，夾在中間的淡灰細框米色條很突兀＝拿掉框，改純文字圖例；表頭只留底下一條粗線 */
.jgw-ask,
.jgw-legend {
  padding-left: 2px;
  padding-right: 2px;
  border: 0;
  background: transparent;
  color: var(--n-muted);
  font-weight: 700;
}

/* 報告卡：框裡套框降噪（工程第 5 條＋19:22 ①）：外卡 3px 粗框＋硬陰影留著，裡面的靜態格改淡底＋1px 淡線 */
#juji-sleuth-card-stage .juji-sleuth-vitals-cell,
#juji-sleuth-card-stage .juji-sleuth-narrative-axis-box,
#juji-sleuth-card-stage .juji-sleuth-script-box,
#juji-sleuth-card-stage .juji-sleuth-metrics-box,
#juji-sleuth-card-stage .juji-sleuth-split-war-box,
#juji-sleuth-card-stage .juji-sleuth-comp-card {
  border: 1px solid var(--n-rule);
  background: var(--n-field);
  box-shadow: none;
}

/* 11-03 21:41 工程框中框稽核降噪：四大核心（.juji-sleuth-degen-pillar）外框留著，
   柱內子列、沙盒步驟列、徽章膠囊一律拿掉四邊實線框，改用底色色階或單側左線，消除 5～6 層框套框 */
#juji-sleuth-card-stage .juji-sleuth-stamp-banner,
#juji-sleuth-card-stage .juji-sleuth-bundler-line-box,
#juji-sleuth-card-stage .juji-sleuth-pillar-topline,
#juji-sleuth-card-stage .juji-sleuth-receipt-strip,
#juji-sleuth-card-stage .juji-sleuth-claim-row,
#juji-sleuth-card-stage .juji-sleuth-crew-card,
#juji-sleuth-card-stage .juji-sleuth-crew-verdict-row,
#juji-sleuth-card-stage .juji-sleuth-money-flow-strip,
#juji-sleuth-card-stage .juji-sleuth-timeline-node {
  border: 0 !important;
  border-left: 3px solid var(--n-rule) !important;
  background: var(--n-field);
  box-shadow: none;
}

#juji-sleuth-card-stage .juji-sleuth-audit-step {
  border: 0 !important;
  border-bottom: 1px dashed var(--n-rule) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#juji-sleuth-card-stage .juji-sleuth-audit-step:last-child {
  border-bottom: 0 !important;
}

#juji-sleuth-card-stage .juji-sleuth-audit-step-ms,
#juji-sleuth-card-stage .juji-sleuth-claim-badge,
#juji-sleuth-card-stage .juji-sleuth-finding-badge,
#juji-sleuth-card-stage .juji-sleuth-finding-count-pill,
#juji-sleuth-card-stage .juji-sleuth-dump-impact-pill,
#juji-sleuth-card-stage .juji-sleuth-probe-rec-link,
#juji-sleuth-card-stage .juji-sleuth-origin-mini-chip,
#juji-sleuth-card-stage .juji-sleuth-pillar-icon,
#juji-sleuth-card-stage .juji-sleuth-xray-top10-note,
#juji-sleuth-card-stage .juji-sleuth-hype-empty-note,
#juji-sleuth-card-stage .juji-sleuth-pillar-compact-note,
#juji-sleuth-card-stage .juji-sleuth-inline-ca-chip {
  border: 0 !important;
  box-shadow: none !important;
}

/* 11-03 21:37 主理人「每個幣的圖片都要有＋UI/UX 動態加法」：
   ① 幣牆／膠囊／跑馬燈／主報告卡代幣頭像與互動縮放
   ② 幣牆當前選中列聚光高亮（.jgw-row.is-selected）
   ③ 打開／切換報告卡時：判定印章蓋章回彈（jn-stamp-slam）＋關鍵數字滾輪翻牌（jn-metric-reel）＋指針掃描（jn-needle-sweep） */
.jgw-row:not(.jgw-head):hover .jgw-avatar-wrap {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 0 0 2px var(--n-btn);
  box-shadow: 0 0 0 2px var(--n-btn), 0 4px 12px color-mix(in srgb, var(--n-btn) 38%, transparent);
}

.jgw-row.is-selected:not(.jgw-head) {
  background: var(--n-quote);
  border-color: var(--n-btn);
  box-shadow: 4px 4px 0 var(--n-btn);
  box-shadow: 4px 4px 0 var(--n-btn), 0 0 18px color-mix(in srgb, var(--n-btn) 28%, transparent);
}

.jgw-row.is-selected:not(.jgw-head) .jgw-avatar-wrap {
  box-shadow: 0 0 0 2px var(--n-btn);
  box-shadow: 0 0 0 2px var(--n-btn), 0 0 10px color-mix(in srgb, var(--n-btn) 48%, transparent);
}

#juji-sleuth-card-stage .juji-sleuth-card[data-entering="1"] .juji-sleuth-verdict-stamp {
  animation: jn-stamp-slam 0.42s cubic-bezier(0.22, 1.35, 0.36, 1) both;
  transform-origin: center center;
}

#juji-sleuth-card-stage .juji-sleuth-card[data-entering="1"] .juji-sleuth-vitals-val,
#juji-sleuth-card-stage .juji-sleuth-card[data-entering="1"] .juji-sleuth-gauge-num,
#juji-sleuth-card-stage .juji-sleuth-card[data-entering="1"] .juji-sleuth-np-stamp-pill {
  animation: jn-metric-reel 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#juji-sleuth-card-stage .juji-sleuth-card[data-entering="1"] .juji-sleuth-vitals-cell:nth-child(2) .juji-sleuth-vitals-val {
  animation-delay: 0.04s;
}

#juji-sleuth-card-stage .juji-sleuth-card[data-entering="1"] .juji-sleuth-vitals-cell:nth-child(3) .juji-sleuth-vitals-val {
  animation-delay: 0.08s;
}

#juji-sleuth-card-stage .juji-sleuth-card[data-entering="1"] .juji-sleuth-vitals-cell:nth-child(4) .juji-sleuth-vitals-val {
  animation-delay: 0.12s;
}

#juji-sleuth-card-stage .juji-sleuth-card[data-entering="1"] .juji-sleuth-gauge-needle {
  animation: jn-needle-sweep 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes jn-stamp-slam {
  0% {
    opacity: 0;
    transform: scale(1.48) rotate(-6deg);
  }
  65% {
    opacity: 1;
    transform: scale(0.95) rotate(1deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes jn-metric-reel {
  0% {
    opacity: 0;
    transform: translateY(38%);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes jn-needle-sweep {
  0% {
    left: 4% !important;
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

#juji-sleuth-card-stage .juji-sleuth-comp-card.is-current {
  border: 2px solid var(--n-line);
  background: var(--n-surface);
}

#juji-sleuth-card-stage .juji-sleuth-answer-card {
  border: 1px solid var(--n-rule);
  border-left: 4px solid var(--n-line);
  background: var(--n-surface);
  box-shadow: none;
}

#juji-sleuth-card-stage .juji-sleuth-inline-ca-chip {
  border: 1px solid var(--n-rule);
  background: var(--n-field);
}

/* 投研分頁最底下的實盤調研卡（工程第 5 條 b）：沒換到皮＝補上跟戰績看板同一套粗框 */
.juji-dossier {
  border: 3px solid var(--n-line);
  border-radius: 18px;
  background: var(--n-surface);
  box-shadow: 9px 9px 0 var(--n-shadow);
}

.jd-card,
.jd-ans {
  background: var(--n-field);
}

/* 「生成投研海報」鈕：產生器看到 poster 當成照片、留了原色（ink 底＋白字）＝夜版變白字壓淺底（工程夜版稽核）；改成反白鈕，兩套配色都清楚 */
.juji-sleuth-act-btn.is-poster {
  border-color: var(--n-line);
  background: var(--n-ink);
  color: var(--n-bg);
}

/* 報告裡的 K 線圖：juji-ca-sleuth.js 把底色、格線、字色寫死在 SVG 上（白底灰字），夜版會變一塊白板（工程 19:22 ③a）。
 * fill=""／stroke="" 是呈現屬性，任何 CSS 都蓋得過，不用 !important；等寬字一併換回無襯線＋等寬數字 */
.juji-sleuth-native-svg > rect:first-of-type {
  fill: var(--n-surface);
}

.juji-sleuth-native-svg line[stroke="#efeee9"],
.juji-sleuth-native-svg line[stroke="#f1f0eb"] {
  stroke: var(--n-rule);
}

.juji-sleuth-native-svg text {
  font-family: var(--n-sans);
  font-variant-numeric: tabular-nums;
}

.juji-sleuth-native-svg text[fill="#383734"] {
  fill: var(--n-ink);
}

.juji-sleuth-native-svg text[fill="#52514c"] {
  fill: var(--n-body);
}

.juji-sleuth-native-svg text[fill="#6e6d68"],
.juji-sleuth-native-svg text[fill="#8c8b85"] {
  fill: var(--n-muted);
}

.juji-sleuth-native-svg text[fill="#c81e1e"] {
  fill: var(--n-risk-ink);
}

.juji-sleuth-kline-badge rect {
  fill: var(--n-field);
  stroke: var(--n-rule);
}

/* 戰績看板交叉標題：JS 寫在 style="" 的 color:#383734（行內樣式只有 !important 蓋得過；工程 19:22 ③c） */
.juji-sleuth-tr-CrossHeadline {
  color: var(--n-muted) !important;
}

/* ---- 直播間／持倉／互動／規則四頁（工程 19:06 第 7～9 條）：跟投研頁同一套皮 ----
 * 這幾頁的版塊是「滿版色帶＋內距 40px（手機 16px）」：框加在最外層會頂到螢幕邊、陰影撐出橫捲
 * ＝滿版色帶只上下各一條粗線；色帶裡面的卡片才加整圈粗框＋硬陰影（內距剛好放得下陰影） */
#juji-schedule-card,
#juji-ca,
#juji-bullet {
  border: 0;
  border-top: 3px solid var(--n-line);
  border-bottom: 3px solid var(--n-line);
}

#juji-hold .juji-hold-screen,
#juji-trades,
#juji-hero .juji-chat,
#juji-hero .juji-research-card,
#juji-agent-radar .juji-agent-radar-list > * {
  border: 3px solid var(--n-line);
  border-radius: 18px;
  background: var(--n-surface);
  box-shadow: 9px 9px 0 var(--n-shadow);
}

#juji-hero .juji-scan {
  border: 3px solid var(--n-line);
  border-radius: 14px;
  box-shadow: 6px 6px 0 var(--n-shadow);
}

#juji-positions .juji-pos-card {
  border: 2px solid var(--n-line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--n-shadow);
}

/* 持倉卡底下的合約地址：42 碼斷成兩行、第二行只剩幾個字（工程第 8 條 b）＝放進整寬淡底格、照邊緣平均換行；
 * 不截成「前 6 後 4」——尾碼是大家核對真假的地方，藏掉會害人 */
#juji-positions .juji-pos-ca {
  display: block;
  flex: 1 1 100%;
  padding: 6px 8px;
  border: 1px solid var(--n-rule);
  border-radius: 8px;
  background: var(--n-field);
  word-break: break-all;
}

/* 互動頁「复制」鈕（工程第 9 條 a）：無框白塊＝換成全站按鈕那套 */
.juji-ca-copy {
  border: 2px solid var(--n-line);
  border-radius: 10px;
  background: var(--n-surface);
  color: var(--n-ink);
  box-shadow: 2px 2px 0 var(--n-shadow);
  font-weight: 700;
}

.juji-ca-copy:hover {
  background: var(--n-hover);
}

/* 規則頁大標「重要说明 · 打狗与分红规则」：手機把「打／狗」拆兩行（工程第 9 條 b）＝中文字之間不斷行，只在空白處換 */
#rules-main-title {
  word-break: keep-all;
}

/* 直播間大標底下那份時間表＝跟最上面的時間表卡重複（原檔手機版已因此藏掉，電腦版漏藏），換皮後是一塊看不清的淡字（工程第 7 條 a） */
body.jx-tabbed[data-tab-active="live"] #juji-hero-timetable {
  display: none;
}

/* ---- 研究牆拉窗（主理人三號 #3183）：報告打開才收進旁邊；拉手只在投研分頁出現 ---- */
.jn-drawer-handle {
  display: none;
}

body[data-tab-active="dossier"].jn-report-open .jn-drawer-handle {
  position: fixed;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--n-line);
  background: var(--n-btn);
  color: var(--n-btn-ink);
  box-shadow: 3px 3px 0 var(--n-shadow);
  font: 900 17px/1 var(--n-sans);
  cursor: pointer;
}

/* 首屏平常疊在外殼（z-index 3）上面＝照片才能伸進查幣框旁邊；拉窗打開時降到外殼底下，不然大字照片會壓在拉窗上 */
body.jn-drawer-open .jn-hero {
  z-index: 2;
}

/* 暗幕放在 sleuth 外殼自己的 ::before：外殼是 z-index 3 的疊層，暗幕要跟研究牆同一層才蓋得到報告、又不擋研究牆
 * 只在「報告打開」時才有（工程第 6 條 b：漏寫 .jn-report-open＝沒開報告卻被標成拉窗開著時整頁會變黑） */
body[data-tab-active="dossier"].jn-report-open.jn-drawer-open #juji-sleuth-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 64;
  background: rgba(10, 10, 10, 0.45);
}

body[data-tab-active="dossier"].jn-report-open #juji-sleuth-panel-wall {
  position: fixed;
  z-index: 65;
  margin: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0s linear 0.28s;
}

body[data-tab-active="dossier"].jn-report-open.jn-drawer-open #juji-sleuth-panel-wall {
  visibility: visible;
  transform: none;
  transition: transform 0.28s ease;
}

body[data-tab-active="dossier"].jn-report-open #juji-sleuth-panel-wall .jgw-table {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  body[data-tab-active="dossier"].jn-report-open .jn-drawer-handle {
    left: 0;
    top: 50%;
    padding: 22px 12px;
    border-left: 0;
    border-radius: 0 14px 14px 0;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    letter-spacing: 0.24em;
  }

  body[data-tab-active="dossier"].jn-drawer-open .jn-drawer-handle {
    left: min(760px, 92vw);
  }

  /* 分頁列是 sticky z-index 60，會壓在整高的拉窗頂上：拉窗打開時讓它沉到暗幕底下 */
  body[data-tab-active="dossier"].jn-drawer-open .jx-tabs {
    z-index: 2;
  }

  body[data-tab-active="dossier"].jn-report-open #juji-sleuth-panel-wall {
    top: 0;
    bottom: 0;
    left: 0;
    width: min(760px, 92vw);
    border-left: 0;
    border-radius: 0 22px 22px 0;
    transform: translateX(-104%);
  }
}

@media (max-width: 899px) {
  body[data-tab-active="dossier"].jn-report-open .jn-drawer-handle {
    left: auto;
    right: 10px;
    bottom: 10px;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 999px;
    transform: none;
  }

  /* 拉窗 84vh 時收起鈕會頂到分頁列上、字壓字（工程第 6 條 a）＝拉窗改 76vh，收起鈕落在分頁列底下 */
  body[data-tab-active="dossier"].jn-drawer-open .jn-drawer-handle {
    left: 50%;
    right: auto;
    bottom: calc(76vh + 12px);
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 12px;
    transform: translateX(-50%);
  }

  body[data-tab-active="dossier"].jn-report-open #juji-sleuth-panel-wall {
    left: 0;
    right: 0;
    bottom: 0;
    height: 76vh;
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    box-shadow: none;
    transform: translateY(104%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body #juji-sleuth-panel-wall,
  .juji-sleuth-live-dot,
  .juji-sleuth-cap-pulse,
  .jn-hero-sticker::before,
  .juji-sleuth-capsules-track,
  .jgw-ticker-track,
  .jgw-avatar-wrap,
  .jn-hero ~ .juji-ca-sleuth .juji-sleuth-submit-btn::after,
  .juji-sleuth-official-btn.is-claim::after,
  #juji-sleuth-card-stage .juji-sleuth-card,
  #juji-sleuth-card-stage .juji-sleuth-card * {
    transition: none !important;
    animation: none !important;
  }
}

/* ---- 中寬（平板／小筆電）：照片縮小 ---- */
@media (max-width: 1180px) and (min-width: 761px) {
  .jn-hero {
    --jn-gutter: 32px;
    --jn-photo-w: 320px;
    padding-right: calc(320px + 32px + 48px);
  }

  .jn-hero-photo {
    height: 400px;
  }

  .jn-hero-title {
    font-size: 56px;
  }

  .jn-hero ~ .juji-ca-sleuth .juji-sleuth-official-strip,
  .jn-hero ~ .juji-ca-sleuth .juji-sleuth-search-box {
    margin-left: calc(32px - 18px);
    max-width: calc(100% - (32px - 18px) - 320px - 32px - 48px + 18px);
  }
}

/* ---- 手機：照片在上（拍立得：照片＋底下一條貼紙字帶）、大字在下，查幣框整寬 ---- */
@media (max-width: 760px) {
  .jn-hero {
    min-height: 0;
    margin: 0;
    padding: 18px 14px 4px;
  }

  /* 相框高度跟著內容走：上面 196px 照片、下面貼紙字帶
     （照片 220→196、下方間距 22→16＝把字帶多佔的高度還回來，360×780 的查幣框才留在首屏內） */
  .jn-hero-photo {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    margin: 0 8px 16px 2px;
    border-radius: 16px;
    box-shadow: 6px 6px 0 var(--n-shadow);
    transform: rotate(-1.2deg);
  }

  .jn-hero-photo img {
    height: 196px;
    object-position: 50% 18%;
  }

  /* 手機的照片是臉部特寫：貼紙壓在照片上會蓋住嘴和下巴（主理人三號 20:07 #3237「手機版本，字體擋到臉」）
     ＝貼紙從照片上拿下來，變成相框底下一條字帶；換哪張照片、字折幾行都碰不到臉 */
  .jn-hero-sticker {
    position: static;
    width: auto;
    max-width: none;
    padding: 6px 10px;
    border: 0;
    border-top: 3px solid var(--n-line);
    border-radius: 0;
    font-size: 15px;
    line-height: 1.3;
  }

  .jn-hero-title {
    font-size: 40px;
  }

  .jn-hero-lede {
    margin-top: 10px;
    font-size: 17px;
  }

  .jn-hero ~ .juji-ca-sleuth .juji-sleuth-shell {
    padding: 0 10px;
  }

  .jn-hero ~ .juji-ca-sleuth .juji-sleuth-official-strip,
  .jn-hero ~ .juji-ca-sleuth .juji-sleuth-search-box {
    margin-left: 4px;
    margin-right: 4px;
    max-width: none;
  }

  .jn-hero ~ .juji-ca-sleuth .juji-sleuth-search-box {
    min-height: 0;
    margin-bottom: 40px;
  }

  .jn-hero ~ .juji-ca-sleuth .juji-sleuth-form {
    flex-wrap: wrap;
  }

  .jn-hero ~ .juji-ca-sleuth .juji-sleuth-input-wrap {
    flex: 1 1 100%;
  }

  .jn-hero ~ .juji-ca-sleuth .juji-sleuth-paste-btn,
  .jn-hero ~ .juji-ca-sleuth .juji-sleuth-submit-btn {
    flex: 1 1 calc(50% - 6px);
    padding: 0 12px;
  }

  .jn-hero ~ .juji-ca-sleuth .juji-sleuth-quota-line {
    padding-left: 4px;
  }

  #juji-sleuth-panel-wall,
  #juji-sleuth-track-record-section {
    box-shadow: 6px 6px 0 var(--n-shadow);
  }

  #juji-sleuth-panel-wall .juji-sleuth-fly-title {
    font-size: 23px;
  }

  #juji-sleuth-card-stage .juji-sleuth-card {
    border-radius: 18px;
    box-shadow: 6px 6px 0 var(--n-shadow);
  }

  .juji-dossier,
  #juji-hold .juji-hold-screen,
  #juji-trades,
  #juji-hero .juji-chat,
  #juji-hero .juji-research-card,
  #juji-agent-radar .juji-agent-radar-list > * {
    box-shadow: 6px 6px 0 var(--n-shadow);
  }

  /* 手機時間表卡左右有 16px 外距＝本身就是一張卡：整圈粗框 */
  #juji-schedule-card {
    border: 3px solid var(--n-line);
    border-radius: 14px;
    box-shadow: 6px 6px 0 var(--n-shadow);
  }

  /* 報告抽屜標題「写于 亚洲时间…可点此收起」不換行＝390／360 衝出卡片右緣（工程 19:22 ④a） */
  #juji-sleuth-card-stage .juji-sleuth-deep-drawer-summary {
    flex-wrap: wrap;
    row-gap: 4px;
    max-width: 100%;
  }

  #juji-sleuth-card-stage .juji-sleuth-deep-drawer-hint {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* 英文手機版：原檔把「Claim Dividend →」撐成整行寬，換皮後變一整條巨型色塊（工程第 2 條 b）＝照字寬，自己一行靠左 */
@media (max-width: 640px) {
  html[lang^="en"] #juji-sleuth-claim-div-link {
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .jgw-coin {
    gap: 8px;
  }

  .jgw-avatar-wrap {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 8px;
  }

  .jgw-sym {
    min-width: 0;
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .jn-hero {
    padding: 12px 14px 0;
  }

  .jn-hero-photo {
    margin-bottom: 10px;
  }

  .jn-hero-lede {
    margin-top: 6px;
  }

  .jn-replay-entry-btn {
    margin-top: 4px;
    padding: 2px 10px;
    font-size: 14.5px;
    line-height: 1.25;
  }

  .jn-hero ~ .juji-ca-sleuth .juji-sleuth-official-strip {
    padding: 2px 0 8px;
  }
}

@media (max-width: 375px) {
  .jgw-row,
  .jgw-row.jgw-head {
    grid-template-columns: minmax(0, 1fr) 82px 82px;
    gap: 5px;
  }

  button.jgw-row .jgw-light {
    padding: 0 4px;
    font-size: 13.5px;
  }
}

/* ==========================================================================
   2026-11-03 主理人 5 點體感修正 ＋ 工程「單顆幣工作台」夜版視覺分層（打破全黑格子＋白字）
   ========================================================================== */

/* 減法覆寫（確保夜版後載入時同樣強制隱藏） */
#juji-sleuth-panel-wall .jgw-moments,
#juji-sleuth-panel-wall .jgw-summary,
#juji-sleuth-panel-wall .jgw-ask,
#juji-sleuth-panel-wall .jgw-find,
#juji-sleuth-panel-wall .jgw-folded,
#juji-sleuth-panel-wall .jgw-legend,
#juji-dossier,
.juji-dossier,
#juji-sleuth-track-record-section,
#juji-sleuth-track-link,
#juji-sleuth-flywheel-drawer,
#juji-sleuth-card-stage .juji-sleuth-summary-sheet .juji-sleuth-vitals-grid {
  display: none !important;
}

body.is-juji-owner #juji-sleuth-track-record-section {
  display: block !important;
}

body.is-juji-owner #juji-sleuth-track-link {
  display: inline-flex !important;
}

/* 頂部單幣工作台導覽列：紫晶漸層底＋返回即時熱門榜高亮膠囊 */
#juji-sleuth-card-stage .juji-sleuth-workbench-bar {
  border: 0 !important;
  border-bottom: 2px solid var(--n-rule) !important;
  background: linear-gradient(90deg, color-mix(in srgb, var(--n-btn) 18%, var(--n-surface)) 0%, var(--n-quote) 100%) !important;
  border-radius: 19px 19px 0 0;
  box-shadow: none !important;
}

.juji-sleuth-shell.is-wall-browsing #juji-sleuth-card-stage .juji-sleuth-workbench-bar {
  border-bottom: 0 !important;
  border-radius: 18px;
}

#juji-sleuth-card-stage .juji-sleuth-back-wall-btn,
#juji-sleuth-card-stage .juji-sleuth-reopen-wb-btn {
  border: 0 !important;
  background: var(--n-btn) !important;
  color: var(--n-btn-ink) !important;
  box-shadow: none !important;
  font-weight: 900;
}

#juji-sleuth-card-stage .juji-sleuth-roadsign-pill {
  border: 0 !important;
  background: var(--n-field) !important;
  color: var(--n-ink) !important;
  box-shadow: none !important;
}

#juji-sleuth-card-stage .juji-sleuth-roadsign-pill.is-step-1 {
  background: var(--n-caution-bg) !important;
  color: var(--n-caution-ink) !important;
}

#juji-sleuth-card-stage .juji-sleuth-roadsign-pill.is-step-2 {
  background: var(--n-quote) !important;
  color: var(--n-btn) !important;
}

#juji-sleuth-card-stage .juji-sleuth-roadsign-pill.is-step-3 {
  background: var(--n-info-bg) !important;
  color: var(--n-info) !important;
}

#juji-sleuth-card-stage .juji-sleuth-roadsign-pill.is-step-4 {
  background: var(--n-pass-bg) !important;
  color: var(--n-pass-ink) !important;
}

/* 🎯 路標 ①：答案常駐區（依最終判決自動換琥珀金／翡翠綠／警戒紅底色，一眼看懂） */
#juji-sleuth-card-stage .juji-sleuth-hero-roadsign {
  border: 0 !important;
  border-bottom: 1px dashed var(--n-rule) !important;
}

#juji-sleuth-card-stage .juji-sleuth-hero-roadsign-badge {
  color: var(--n-btn) !important;
}

#juji-sleuth-card-stage .juji-sleuth-hero-roadsign-sub {
  color: var(--n-muted) !important;
}

#juji-sleuth-card-stage .juji-sleuth-card.verdict-watch .juji-sleuth-card-header {
  background: linear-gradient(135deg, var(--n-caution-bg) 0%, var(--n-surface) 100%) !important;
  border-left: 6px solid var(--n-caution) !important;
}

#juji-sleuth-card-stage .juji-sleuth-card.verdict-pass .juji-sleuth-card-header {
  background: linear-gradient(135deg, var(--n-pass-bg) 0%, var(--n-surface) 100%) !important;
  border-left: 6px solid var(--n-pass) !important;
}

#juji-sleuth-card-stage .juji-sleuth-card.verdict-kill .juji-sleuth-card-header {
  background: linear-gradient(135deg, var(--n-risk-bg) 0%, var(--n-surface) 100%) !important;
  border-left: 6px solid var(--n-risk) !important;
}

#juji-sleuth-card-stage .juji-sleuth-verdict-stamp {
  font-size: 19px !important;
  padding: 6px 15px !important;
  letter-spacing: 0.03em;
}

/* 🧭 路標 ② ＆ 🔍 路標 ③ 橫幅：無四邊框，靠色彩底與左側高亮色條做視覺路標 */
#juji-sleuth-card-stage .juji-sleuth-roadsign-bar {
  border: 0 !important;
  border-left: 5px solid var(--n-btn) !important;
  background: linear-gradient(90deg, var(--n-quote) 0%, var(--n-surface) 100%) !important;
  box-shadow: none !important;
}

#juji-sleuth-card-stage .juji-sleuth-roadsign-bar.is-evidence {
  border-left-color: var(--n-info) !important;
  background: linear-gradient(90deg, var(--n-info-bg) 0%, var(--n-surface) 100%) !important;
}

#juji-sleuth-card-stage .juji-sleuth-roadsign-step {
  border: 0 !important;
  background: var(--n-btn) !important;
  color: var(--n-btn-ink) !important;
  box-shadow: none !important;
}

#juji-sleuth-card-stage .juji-sleuth-roadsign-bar.is-evidence .juji-sleuth-roadsign-step {
  background: var(--n-info) !important;
  color: var(--n-accent-ink) !important;
}

#juji-sleuth-card-stage .juji-sleuth-roadsign-title {
  color: var(--n-ink) !important;
}

#juji-sleuth-card-stage .juji-sleuth-roadsign-hint {
  color: var(--n-muted) !important;
}

/* 🧭 路標 ② 三張彩色卡片：翡翠綠（支持亮點）、珊瑚紅（關鍵風險）、紫晶金（打狗進出場策略） */
#juji-sleuth-card-stage .juji-sleuth-reason-card {
  border: 0 !important;
  box-shadow: none !important;
}

#juji-sleuth-card-stage .juji-sleuth-reason-card.is-support {
  border-left: 4px solid var(--n-pass) !important;
  background: linear-gradient(145deg, var(--n-pass-bg) 0%, var(--n-surface) 100%) !important;
}

#juji-sleuth-card-stage .juji-sleuth-reason-card.is-support .juji-sleuth-reason-head {
  color: var(--n-pass-ink) !important;
}

#juji-sleuth-card-stage .juji-sleuth-reason-card.is-risk {
  border-left: 4px solid var(--n-risk) !important;
  background: linear-gradient(145deg, var(--n-risk-bg) 0%, var(--n-surface) 100%) !important;
}

#juji-sleuth-card-stage .juji-sleuth-reason-card.is-risk .juji-sleuth-reason-head {
  color: var(--n-risk-ink) !important;
}

#juji-sleuth-card-stage .juji-sleuth-reason-card.is-tactical {
  border-left: 4px solid var(--n-btn) !important;
  background: linear-gradient(145deg, var(--n-quote) 0%, var(--n-surface) 100%) !important;
}

#juji-sleuth-card-stage .juji-sleuth-reason-card.is-tactical .juji-sleuth-reason-head {
  color: var(--n-btn) !important;
}

#juji-sleuth-card-stage .juji-sleuth-reason-list li,
#juji-sleuth-card-stage .juji-sleuth-tactical-list li span {
  color: var(--n-ink) !important;
}

#juji-sleuth-card-stage .juji-sleuth-tac-tag {
  border: 0 !important;
  box-shadow: none !important;
}

#juji-sleuth-card-stage .juji-sleuth-tac-tag.is-entry {
  background: var(--n-pass-bg) !important;
  color: var(--n-pass-ink) !important;
}

#juji-sleuth-card-stage .juji-sleuth-tac-tag.is-size {
  background: var(--n-caution-bg) !important;
  color: var(--n-caution-ink) !important;
}

#juji-sleuth-card-stage .juji-sleuth-tac-tag.is-exit {
  background: var(--n-risk-bg) !important;
  color: var(--n-risk-ink) !important;
}

/* 🔍 路標 ③ 四大鐵證柱：打破原本全黑同色塊，每柱給專屬左色條＋柔光底＋放大圖標路標 */
#juji-sleuth-card-stage .juji-sleuth-degen-pillar[data-degen-pillar="1"] {
  border-left: 5px solid var(--n-btn) !important;
  background: linear-gradient(160deg, var(--n-quote) 0%, var(--n-surface) 68%) !important;
}

#juji-sleuth-card-stage .juji-sleuth-degen-pillar[data-degen-pillar="2"] {
  border-left: 5px solid var(--n-caution) !important;
  background: linear-gradient(160deg, var(--n-caution-bg) 0%, var(--n-surface) 68%) !important;
}

#juji-sleuth-card-stage .juji-sleuth-degen-pillar[data-degen-pillar="3"] {
  border-left: 5px solid var(--n-pass) !important;
  background: linear-gradient(160deg, var(--n-pass-bg) 0%, var(--n-surface) 68%) !important;
}

#juji-sleuth-card-stage .juji-sleuth-degen-pillar[data-degen-pillar="4"] {
  border-left: 5px solid var(--n-info) !important;
  background: linear-gradient(160deg, var(--n-info-bg) 0%, var(--n-surface) 68%) !important;
}

#juji-sleuth-card-stage .juji-sleuth-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--n-quote) !important;
  font-size: 18px;
}

/* 🛠️ 路標 ④ 次要工具列與底部返回按鈕 */
#juji-sleuth-card-stage .juji-sleuth-secondary-toolbar {
  border: 0 !important;
  border-left: 4px solid var(--n-btn) !important;
  background: var(--n-field) !important;
  box-shadow: none !important;
}

/* 返回圖1 時剛點過的那顆幣聚光閃爍提示 */
.jgw-row.is-just-returned:not(.jgw-head) {
  background: var(--n-quote) !important;
  border-color: var(--n-caution) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--n-caution) 55%, transparent), 0 0 24px color-mix(in srgb, var(--n-caution) 35%, transparent) !important;
}

#juji-sleuth-card-stage .juji-sleuth-roadsign-pill.is-active {
  box-shadow: 0 0 0 2px var(--n-caution), 0 0 14px color-mix(in srgb, var(--n-caution) 28%, transparent) !important;
}

/* 工程 23:20 校準：單幣工作台打開時暫停非當前幣的背景動畫 */
body.jn-report-open .jn-hero-sticker::before,
body.jn-report-open .juji-sleuth-capsules-track,
body.jn-report-open .jgw-ticker-track,
body.jn-report-open .juji-sleuth-cap-pulse,
#juji-sleuth-shell.is-workbench-focus .juji-sleuth-capsules-track,
#juji-sleuth-shell.is-workbench-focus .jgw-ticker-track,
#juji-sleuth-shell.is-workbench-focus .juji-sleuth-cap-pulse {
  animation-play-state: paused !important;
}

/* 主理人 23:32 校準：①「這顆在炒什麼敘事」置頂攤開（紫金重點色條）、②「真金觀點」移到右側欄最頂端並排（琥珀金招牌色條） */
#juji-sleuth-card-stage .juji-sleuth-top-narrative-zone .juji-sleuth-deep-drawer.is-top-narrative {
  border: 0 !important;
  border-left: 5px solid var(--n-btn) !important;
  background: linear-gradient(155deg, var(--n-quote) 0%, var(--n-surface) 72%) !important;
  box-shadow: none !important;
}

#juji-sleuth-card-stage .juji-sleuth-top-narrative-zone .juji-sleuth-deep-drawer-summary {
  background: var(--n-hover) !important;
  color: var(--n-ink) !important;
  border-bottom: 1px solid var(--n-rule) !important;
}

#juji-sleuth-card-stage .juji-sleuth-social-wall-sheet,
#juji-sleuth-card-stage .juji-sleuth-terminal-side .juji-sleuth-social-wall-sheet {
  border: 0 !important;
  border-left: 5px solid var(--n-caution) !important;
  background: linear-gradient(155deg, var(--n-caution-bg) 0%, var(--n-surface) 68%) !important;
  box-shadow: none !important;
}

#juji-sleuth-card-stage .juji-sleuth-roadsign-pill.is-step-sw {
  background: var(--n-caution-bg) !important;
  color: var(--n-caution-ink) !important;
}

/* 首頁照片卡＝形象圖（工程 11-03 23:4x·主理人三號 #3285「照片應該要形象圖+我們的Logo」；11-04 00:03 #3302 定「2」＝抓到騙局·挑眉冷笑那張，
   長相底＝原型素材 juji_x_avatar_800x800.png，logo 是落款：手機左下、電腦左上（電腦卡底部有直播狀態貼紙 .jn-hero-sticker）：
   手機吃 juji-kv-mobile.jpg（1200×672＝350×196 橫條）、電腦吃 juji-kv-desktop.jpg（1320×1410＝440×470 直卡）；
   兩張都照卡片比例構圖＝置中，不再對焦臉（舊照片的 50% 22%／50% 18%）*/
.jn-hero-photo img.jn-hero-kv {
  object-position: 50% 50%;
}

/* 11-04 01:12 主理人准：自相矛盾卡先掛「待更正」醒目標示（卡頂＋研究牆） */
#juji-sleuth-card-stage .juji-sleuth-pending-correction-banner {
  border: 1.5px solid color-mix(in srgb, var(--n-caution) 72%, transparent) !important;
  border-left: 5px solid var(--n-caution) !important;
  background: linear-gradient(155deg, var(--n-caution-bg) 0%, var(--n-surface) 78%) !important;
  color: var(--n-caution-ink) !important;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--n-shadow) 75%, transparent) !important;
}

.jgw-tag.is-pending-correction {
  border: 1px solid color-mix(in srgb, var(--n-caution) 72%, transparent) !important;
  background: var(--n-caution-bg) !important;
  color: var(--n-caution-ink) !important;
}

/* 11-04 桌機頁首緊湊間距＋分頁列行動端緊湊字距：容納「狙姬Dev创业进行式」／英文長標籤不擠壓站名、390px 六顆分頁不裁切 */
@media (min-width: 721px) and (max-width: 1620px) {
  .stream-header {
    gap: 10px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .stream-header .brand-anchor,
  .stream-header .brand-meta,
  .stream-header .brand-title-row {
    min-width: 0;
    flex-wrap: nowrap;
  }

  .stream-header .brand-wordmark {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15.5px;
    white-space: nowrap;
  }

  .stream-header .header-right {
    gap: 4px;
    flex-wrap: nowrap;
  }

  .stream-header .wallet-chip,
  .stream-header .nav-link-btn {
    padding: 5px 7px !important;
    font-size: 14px !important;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .jx-tabs-row {
    gap: 0;
    padding: 0 6px;
  }

  .jx-tab {
    padding: 0 4px;
    font-size: 14.5px;
    letter-spacing: -0.01em;
  }

  html:lang(en) .jx-tab {
    flex: 0 0 auto;
    padding: 0 8px;
  }
}

/* ==========================================================================
   11-05 可讀性層次（主理人 08:21「很多頁面都是黑底＋一堆白色字體擠在一起，很難看、很難用、很容易失焦」）
   一套 token 分三件事，版塊只對角色、不各自調色：
   ① 字三層：--n-ink 標題／關鍵數字（16.2:1）→ --n-body 內文（11.1:1）→ --n-muted 欄名／時間／註（6.5:1）
   ② 字重三階：內文 400、欄名 500、標題與數字 700（夜版淺字壓深底本來就顯粗，800／900 一律收到 700）
   ③ 行高兩階＋間距尺度：單行介面 1.45、段落 1.6（規格 v1 內文 1.6）；間距 4／8／12／16／24
   產生器（tools/night_skin）已把「原檔最深那階字色」只在強調時給 ink、其餘給 body；這一節補上欄名／內文／數字的角色。
   只動長相：字句、數字、連結、按鈕行為一個都沒改。
   ========================================================================== */
:root {
  --n-s1: 4px;
  --n-s2: 8px;
  --n-s3: 12px;
  --n-s4: 16px;
  --n-s5: 24px;
  --n-lh-ui: 1.45;
  --n-lh-body: 1.6;
  --n-fw-body: 400;
  --n-fw-label: 500;
  --n-fw-strong: 700;
}

/* ---- 頁首：站名＞錢包值＞導覽；「下播／LIVE」燈不准被擠成兩行 ---- */
.stream-header .live-pill {
  flex: none;
  white-space: nowrap;
}

.stream-header .wallet-chip span,
.stream-header #pill-ai-wallet span {
  color: var(--n-muted);
  font-weight: var(--n-fw-label);
}

.stream-header .wallet-chip b,
.stream-header #pill-ai-wallet b {
  color: var(--n-ink);
  font-weight: var(--n-fw-strong);
}

.stream-header .nav-link-btn {
  color: var(--n-muted);
  font-weight: var(--n-fw-label);
}

/* ---- 直播時間表：卡名 ink、四個場次 body、說明 muted；場次之間留 8px ---- */
#juji-schedule-card .juji-schedule-row {
  row-gap: var(--n-s2);
}

#juji-schedule-card .juji-schedule-title {
  font-weight: var(--n-fw-strong);
}

#juji-schedule-card .juji-schedule-slots {
  gap: var(--n-s2);
}

#juji-schedule-card .juji-schedule-slot {
  padding: 4px 10px;
  border-color: var(--n-rule);
  color: var(--n-body);
  font-weight: var(--n-fw-label);
}

#juji-schedule-card .juji-schedule-24h,
#juji-schedule-card .juji-bullet-summary {
  color: var(--n-muted);
  font-weight: var(--n-fw-label);
}

/* ---- 官方合約／子彈合約：名稱 ink、地址 body、連結 body＋淡底線、註 muted；分紅數字 ink、欄名 muted ---- */
.juji-ca .juji-ca-label {
  font-weight: var(--n-fw-strong);
}

.juji-ca .juji-ca-label--sub {
  color: var(--n-muted);
  font-weight: var(--n-fw-label);
}

.juji-ca .juji-ca-link {
  color: var(--n-body);
  font-weight: var(--n-fw-label);
  text-decoration-color: var(--n-muted);
}

.juji-ca .juji-ca-link:hover {
  color: var(--n-ink);
  text-decoration-color: currentColor;
}

#juji-ca .juji-ca-note,
.juji-div-result {
  color: var(--n-muted);
}

.juji-ca-div {
  row-gap: var(--n-s3);
  column-gap: var(--n-s4);
}

.juji-div-stat {
  gap: 6px;
  color: var(--n-muted);
}

.juji-div-stat strong {
  color: var(--n-ink);
  font-weight: var(--n-fw-strong);
}

.juji-bullet-summary {
  color: var(--n-body);
  font-weight: var(--n-fw-label);
}

.juji-bullet-article .juji-bullet-h {
  font-weight: var(--n-fw-strong);
}

/* ---- 下次開播：時間與倒數 ink，其餘 body／muted ---- */
#juji-offair-label {
  color: var(--n-muted);
}

.juji-offair strong,
.juji-offair-countdown {
  color: var(--n-ink);
  font-weight: var(--n-fw-strong);
}

.juji-offair-trading {
  color: var(--n-body);
  font-weight: var(--n-fw-body);
}

/* ---- 直播間主畫面：她的判斷 ink、見解 body、時間 muted；下播告示從 26px 特粗三行字牆收成一句話 ---- */
.juji-research-when,
.juji-research-pos,
.juji-scan-label,
.juji-stage-head .ws-tel-chain {
  color: var(--n-muted);
  font-weight: var(--n-fw-body);
}

.juji-research-rows {
  row-gap: var(--n-s2);
}

.juji-research-rows dt,
.juji-pos-rows dt {
  font-weight: var(--n-fw-label);
}

.juji-research-rows dd.is-call {
  color: var(--n-ink);
}

.juji-stage-offair-main {
  font-size: 20px;
  font-weight: var(--n-fw-strong);
  line-height: var(--n-lh-ui);
}

.juji-stage-offair-slots {
  color: var(--n-body);
  font-size: 15px;
  font-weight: var(--n-fw-body);
  line-height: var(--n-lh-body);
}

.juji-reel-kicker {
  color: var(--n-ink);
}

/* ---- 直播留言：留言是主角（body 16px）、暱稱退到 muted 14px、「她回了这条」是全欄唯一一點淡紫；每則之間 12px（原本 8px） ---- */
.juji-chat-msg {
  padding: var(--n-s1) 0;
  line-height: var(--n-lh-body);
}

.juji-chat-msg + .juji-chat-msg {
  margin-top: var(--n-s1);
}

.juji-chat-nick {
  color: var(--n-muted);
  font-size: 15px;
  font-weight: 600;
}

.juji-chat-msg.is-mine .juji-chat-nick {
  color: var(--n-ink);
}

.juji-chat-body {
  color: var(--n-body);
}

.juji-chat-replied {
  color: var(--n-btn);
}

/* ---- 持倉頁：表頭／次行 muted、數字 ink；「她為什麼買」兩個倉上下疊（空倉不再佔半邊）、卡片最窄 320px 讓理由不被擠成一字一行 ---- */
.juji-hold-sub,
.juji-trades-count,
#juji-positions-label,
#juji-positions-when {
  color: var(--n-muted);
  font-weight: var(--n-fw-label);
}

.pos-status-link {
  color: var(--n-body);
}

.jt-token {
  font-weight: var(--n-fw-strong);
}

/* 每一筆的「多少顆 → 多少 BNB」和上面三格盈虧＝這一頁要讀的數字：ink（它們的字色是從外層繼承的 body） */
.jt-flow,
.juji-trades-sum dd {
  color: var(--n-ink);
}

.jd-rowlink {
  color: var(--n-body);
  font-weight: 600;
}

.juji-positions-open {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--n-s4);
}

.juji-pos-pool-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: var(--n-s3);
}

.juji-pos-rows {
  row-gap: var(--n-s2);
}

.juji-pos-rows dd.is-reason {
  color: var(--n-body);
  font-weight: var(--n-fw-body);
  line-height: var(--n-lh-body);
}

.juji-pos-pool-title {
  font-weight: var(--n-fw-strong);
}

/* ---- 互動頁 Agent 鑄造雷達：每欄「欄名 muted → 數字 ink → 補充 body」三層，欄與欄之間留白 ---- */
.juji-agent-radar-sub {
  color: var(--n-muted);
  font-weight: var(--n-fw-body);
}

/* 每欄從同一條線開始（原本垂直置中＝每欄欄名高低不齊，眼睛找不到起點） */
.juji-agent-radar-card {
  align-items: start;
  column-gap: var(--n-s5);
  row-gap: var(--n-s4);
}

.juji-agent-radar-col {
  gap: 6px;
}

.juji-agent-radar-lbl {
  color: var(--n-muted);
  font-weight: var(--n-fw-label);
}

.juji-agent-radar-val {
  color: var(--n-ink);
  font-weight: var(--n-fw-strong);
}

.juji-agent-radar-subval {
  color: var(--n-body);
  font-weight: var(--n-fw-body);
}

/* 「她刚才扫了什么」：卡片加了粗框以後標題貼在框線上（0 內距）＝補內距；裡面的雷達／紀錄底色跟著圓角裁掉 */
#juji-hero .juji-scan {
  overflow: hidden;
}

#juji-hero .juji-scan-head {
  flex-wrap: wrap;
  column-gap: var(--n-s3);
  row-gap: 2px;
  padding: var(--n-s3) var(--n-s4) var(--n-s2);
}

/* 她為什麼買：剛好 4 張＝排 2×2（auto-fill 會排成 3＋1、落單一張）；只在寬螢幕，手機照舊一欄 */
@media (min-width: 900px) {
  .juji-pos-pool-grid:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 首屏大標底下那一句＝第一眼要讀懂的說明，用內文色（原本 muted＝跟時間註腳同一階） */
.jn-hero-lede {
  color: var(--n-body);
}

/* 查幣暫停公告卡：跟大字同一欄（左緣對齊大字、右邊讓給照片），原本置中橫過整頁、被照片壓住右半邊 */
.jn-hero + .juji-sealed-notice {
  max-width: calc(100% - 56px - 440px - 56px - 72px);
  margin: 6px 0 18px 56px;
  padding: 0;
}

.juji-sealed-kicker,
.juji-sealed-links {
  color: var(--n-muted);
  font-weight: var(--n-fw-label);
}

.juji-sealed-title {
  font-weight: var(--n-fw-strong);
}

.juji-sealed-link {
  color: var(--n-ink);
  font-weight: 600;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .jn-hero + .juji-sealed-notice {
    max-width: calc(100% - 32px - 320px - 32px - 48px);
    margin-left: 32px;
  }
}

@media (max-width: 760px) {
  .jn-hero + .juji-sealed-notice {
    max-width: none;
    margin: 4px 10px 14px;
  }
}

/* ---- 鍵盤焦點（11-05 Tab 走一輪實測）：分紅地址框原本只有 1px 線、影片和看盤嵌入框沒有任何框＝Tab 到那裡看不出在哪 ---- */
.juji-div-input:focus,
.juji-div-input:focus-visible {
  outline: 2px solid var(--n-ink);
  outline-offset: 1px;
}

/* 影片的播放鍵在瀏覽器自己的控制列裡（shadow DOM），:focus-visible 對不到外面的 video＝用 :focus（滑鼠點播放也會亮一圈，可接受） */
video:focus,
iframe:focus {
  outline: 3px solid var(--n-ink);
  outline-offset: 2px;
}

/* 11-04 02:06 卡片最上方「三题速览」（夜間模式高對比樣式） */
#juji-sleuth-card-stage .juji-sleuth-three-questions {
  border: 1px solid color-mix(in srgb, var(--n-caution) 38%, transparent) !important;
  border-left: 5px solid var(--n-caution) !important;
  background: linear-gradient(155deg, var(--n-caution-bg) 0%, var(--n-surface) 72%) !important;
}

#juji-sleuth-card-stage .juji-sleuth-tq-row {
  border-bottom-color: var(--n-rule) !important;
  color: var(--n-ink) !important;
}

#juji-sleuth-card-stage .juji-sleuth-tq-lbl {
  color: var(--n-caution-ink) !important;
}

#juji-sleuth-card-stage .juji-sleuth-tq-body,
#juji-sleuth-card-stage .juji-sleuth-tq-body .juji-sleuth-roast-banner,
#juji-sleuth-card-stage .juji-sleuth-tq-essence {
  color: var(--n-ink) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#juji-sleuth-card-stage .juji-sleuth-tq-time {
  background: var(--n-caution-bg) !important;
  color: var(--n-caution-ink) !important;
}

#juji-sleuth-card-stage .juji-sleuth-tq-ev-btn {
  border: 1px solid color-mix(in srgb, var(--n-caution) 65%, transparent) !important;
  background: var(--n-caution-bg) !important;
  color: var(--n-caution-ink) !important;
}

#juji-sleuth-card-stage .juji-sleuth-tq-ev-btn:hover {
  background: color-mix(in srgb, var(--n-caution) 28%, var(--n-caution-bg)) !important;
}

#juji-usdc-topup-mount[hidden],
#juji-usdc-topup-mount:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
