/* ==========================================================================
   A9 · 纯任天堂暖棉纸立体书专项布局
   - 主城随阶段变化焦点卡 / 任天堂 24H 集章手账板 / 紧凑背包身份栏 / 图鉴与宝库
   - 彻底移除旧版圆形星轨罗盘样式
   ========================================================================== */

/* --------------------------------------------------------------------------
   一、主城首屏：随轮次阶段变化的立体书主卡 (.city-hub-stage)
   -------------------------------------------------------------------------- */
.wv-hero.game-city {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.diorama-stage {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, var(--card-soft) 0%, var(--paper-bg) 100%);
  box-shadow: var(--interactive-shadow);
  padding: 14px 15px 13px;
  overflow: hidden;
}

.diorama-stage::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 17px;
  border: 1px dashed var(--card-stitch);
  pointer-events: none;
  z-index: 1;
}

.diorama-stage.prism::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 24%,
    rgba(243, 184, 44, 0.13) 44%,
    rgba(58, 136, 214, 0.09) 56%,
    transparent 76%
  );
  background-size: 230% 230%;
  animation: prism-glide 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.diorama-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.city-hub-stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.35s ease, border-color 0.3s ease;
}

/* 动态沙盘情绪天色（极低饱和度暖棉纸叠色，绝不抢内容对比度） */
.city-hub-stage[data-mood="warmup"],
.city-hub-stage[data-mood="participation"] {
  background: linear-gradient(180deg, var(--nt-gold-soft) 0%, var(--card-soft) 45%, var(--paper-bg) 100%);
}
.city-hub-stage[data-mood="matchpoint"] {
  background: linear-gradient(180deg, var(--nt-gold-soft) 0%, var(--nt-red-soft) 42%, var(--paper-bg) 100%);
  border-color: var(--gold-border);
  animation: matchpoint-glow 2.6s ease-in-out infinite;
}
.city-hub-stage[data-mood="pass"] {
  background: linear-gradient(180deg, var(--nt-green-soft) 0%, var(--card-soft) 48%, var(--paper-bg) 100%);
  border-color: var(--green-border);
}
.city-hub-stage[data-mood="burn"] {
  background: linear-gradient(180deg, var(--nt-rose-soft) 0%, var(--card-soft) 50%, var(--paper-bg) 100%);
  border-color: var(--red-border);
}

.city-hub-stage > *:not(.diorama-svg) {
  position: relative;
  z-index: 2;
}

.city-hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.city-round-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.city-cd-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-tray);
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.diorama-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.10em;
  color: var(--ink-muted);
}

/* 中央唯一焦点数字区 */
.city-focus-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 0;
}

.city-focus-copy {
  min-width: 0;
  flex: 1;
}

.city-focus-val {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: clamp(28px, 8vw, 34px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}

.focus-accent-green { color: var(--nt-green); }
.focus-accent-gold  { color: var(--nt-gold-ink); }
.focus-accent-rose  { color: var(--nt-rose); }
.focus-slash { color: var(--ink-muted); margin: 0 3px; font-weight: 700; }
.focus-denom { color: var(--ink-soft); font-size: 0.72em; }
.focus-unit {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-soft);
  margin-left: 2px;
}

.city-focus-sub {
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.4;
}

.city-hub-emblem {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  filter: var(--paper-cut-shadow);
}

/* 24 格纸雕能量轨 + 第 16 格立体金色达标旗帜 + 赛点光晕 */
.city-slot-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px 10px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--surface-shadow);
  transition: transform 0.12s var(--ease-spring), border-color 0.2s ease;
}

.city-slot-strip.is-matchpoint {
  border-color: var(--gold-border);
  box-shadow: 0 0 0 2px var(--nt-gold-soft), var(--surface-shadow);
}

.city-slot-strip:active {
  transform: translateY(1.5px);
}

.city-slot-dots {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 3px;
  align-items: center;
}

.slot-dot {
  position: relative;
  display: block;
  height: 12px;
  border-radius: 4px;
  background: var(--paper-tray-deep);
  transition: transform 0.16s var(--ease-spring);
}

.slot-dot.pass {
  background: linear-gradient(180deg, #3BB67A 0%, var(--nt-green) 100%);
  box-shadow: 0 1.5px 0 var(--nt-green-edge);
}
.slot-dot.miss {
  background: linear-gradient(180deg, #E86278 0%, var(--nt-rose) 100%);
  box-shadow: 0 1.5px 0 var(--nt-rose-edge);
}
.slot-dot.active {
  background: linear-gradient(180deg, var(--nt-blue-top) 0%, var(--nt-blue) 100%);
  box-shadow: 0 0 0 2px var(--nt-blue-soft), 0 1.5px 0 var(--nt-blue-edge);
  transform: scaleY(1.16);
}
.slot-dot.pending,
.slot-dot.unknown {
  background: var(--paper-tray);
  border: 1px dashed rgba(147, 137, 129, 0.45);
}

/* 第 16 格立体金色达标旗帜 */
.slot-dot.threshold::before {
  content: '16';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 4px;
  height: 13px;
  line-height: 13px;
  border-radius: 4px 4px 4px 1px;
  background: linear-gradient(180deg, var(--nt-gold-top) 0%, var(--nt-gold) 100%);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 900;
  font-style: normal;
  box-shadow: 0 1.5px 0 var(--nt-gold-edge);
  z-index: 3;
}

.slot-dot.threshold::after {
  content: '';
  position: absolute;
  top: -4px;
  bottom: -3px;
  right: -2px;
  width: 2px;
  border-radius: 99px;
  background: var(--nt-gold);
  opacity: 0.92;
}

.city-price-inline {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
}

.city-price-inline b {
  color: var(--ink);
  font-size: 12px;
}

.city-price-inline .sparkline-svg {
  width: 58px;
  height: 20px;
}

/* 参与/预热阶段双价格凹槽 */
.city-price-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 8px;
}

.city-price-cell {
  padding: 9px 11px;
  border-radius: 13px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.city-price-cell strong {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
}

.city-price-cell.live {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.city-price-live-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.city-price-cell .sparkline-svg {
  width: 60px;
  height: 22px;
}

/* 唯一珊瑚红厚纸主行动按钮 */
.game-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 47px;
  padding: 10px 16px;
  border-radius: 15px;
  background: linear-gradient(180deg, var(--nt-red-top) 0%, var(--nt-red) 100%);
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 900;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.34),
    0 4px 0 var(--nt-red-edge),
    0 8px 16px rgba(230, 0, 18, 0.22);
  transition: transform 0.11s var(--ease-spring), box-shadow 0.11s ease;
}

.game-play:active {
  transform: translateY(3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 0 var(--nt-red-edge);
}

/* 奖池与规则底部摘要行（增强核心奖池可读对比度） */
.city-pool-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--card-border);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink-soft);
}

/* L1 四宫格厚纸贴纸服务入口 */
.game-gates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.game-gates a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 9px 4px 9px;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--ink);
  box-shadow: var(--card-shadow-sm);
  transition: transform 0.13s var(--ease-spring), box-shadow 0.13s ease;
}

.game-gates a:active {
  transform: translateY(2px);
  box-shadow: 0 0.5px 0 var(--card-thickness);
}

.game-gates img {
  width: 50px;
  height: 50px;
  padding: 6px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 30%, var(--card-bg) 0%, var(--paper-tray) 100%);
  border: 1px solid var(--card-border);
  box-shadow: inset 0 1px 0 var(--card-highlight);
  object-fit: contain;
  filter: var(--paper-cut-shadow);
  margin-bottom: 3px;
}

.game-gates a:nth-child(1) img { background: radial-gradient(circle at 50% 25%, #FFFFFF 0%, var(--nt-red-soft) 100%); border-color: rgba(230, 0, 18, 0.14); }
.game-gates a:nth-child(2) img { background: radial-gradient(circle at 50% 25%, #FFFFFF 0%, var(--nt-gold-soft) 100%); border-color: rgba(242, 178, 27, 0.22); }
.game-gates a:nth-child(3) img { background: radial-gradient(circle at 50% 25%, #FFFFFF 0%, var(--nt-blue-soft) 100%); border-color: rgba(47, 128, 237, 0.16); }
.game-gates a:nth-child(4) img { background: radial-gradient(circle at 50% 25%, #FFFFFF 0%, var(--nt-green-soft) 100%); border-color: rgba(20, 176, 100, 0.18); }

[data-theme="dark"] .game-gates a:nth-child(1) img { background: radial-gradient(circle at 50% 28%, rgba(240, 34, 50, 0.26) 0%, rgba(33, 34, 40, 0.94) 100%); }
[data-theme="dark"] .game-gates a:nth-child(2) img { background: radial-gradient(circle at 50% 28%, rgba(245, 190, 58, 0.24) 0%, rgba(33, 34, 40, 0.94) 100%); }
[data-theme="dark"] .game-gates a:nth-child(3) img { background: radial-gradient(circle at 50% 28%, rgba(90, 168, 245, 0.24) 0%, rgba(33, 34, 40, 0.94) 100%); }
[data-theme="dark"] .game-gates a:nth-child(4) img { background: radial-gradient(circle at 50% 28%, rgba(36, 201, 121, 0.24) 0%, rgba(33, 34, 40, 0.94) 100%); }

.game-gates span {
  font-size: 11.5px;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}

.game-gates small {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.15;
}

/* 第二浏览层：24H 预言速览卡与双格生态卡 */
.city-pred-card {
  padding: 12px 14px;
}

.city-pred-title {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--ink);
}

.city-pred-go {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--nt-blue);
  white-space: nowrap;
}

.city-pred-desc {
  margin: 6px 0 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.45;
}

.city-pred-bar-wrap { margin-top: 8px; }

.city-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.city-meta-tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 12px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow-sm);
  transition: transform 0.12s var(--ease-spring), box-shadow 0.12s ease;
}

.city-meta-tile:active {
  transform: translateY(2px);
  box-shadow: 0 0.5px 0 var(--card-thickness);
}

.city-meta-tile small {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-muted);
}

.city-meta-tile strong {
  font-family: var(--font-mono);
  font-size: 15.5px;
  font-weight: 900;
  color: var(--ink);
}

.city-meta-tile span {
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--nt-blue);
}

/* --------------------------------------------------------------------------
   二、背包顶部紧凑横向身份铭牌栏 (.profile-identity-bar)
   -------------------------------------------------------------------------- */
.profile-identity-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-soft) 100%);
  box-shadow: var(--surface-shadow);
  min-height: 102px;
}

.identity-thumb {
  position: relative;
  width: 82px;
  height: 84px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 34%, #FFFFFF 0%, var(--nt-blue-soft) 56%, var(--paper-tray) 100%);
  border: 1.5px solid var(--card-border);
  box-shadow: inset 0 1px 0 var(--card-highlight), 0 3px 8px rgba(22, 24, 34, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  perspective: 600px;
}

[data-theme="dark"] .identity-thumb {
  background: radial-gradient(circle at 50% 36%, rgba(90, 168, 245, 0.28) 0%, rgba(36, 39, 52, 0.96) 68%, #1C1E26 100%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 4px 12px rgba(0, 0, 0, 0.35);
}

.identity-base {
  position: absolute;
  bottom: 5px;
  width: 54px;
  height: 8px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 2px 0 var(--card-thickness);
}

.identity-thumb .wv-person {
  position: relative;
  z-index: 2;
  height: 74px;
  width: auto;
  object-fit: contain;
  filter: var(--standee-filter);
  cursor: pointer;
}

.identity-thumb.series-activity {
  padding: 0;
  overflow: hidden;
  background: var(--paper-tray);
}

.identity-thumb.series-activity .wv-person {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  filter: none;
}

.identity-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.identity-meta h1 {
  margin: 2px 0 2px;
  font-size: 16.5px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.identity-meta p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.identity-meta small {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.identity-gallery-link {
  align-self: flex-start;
}

/* 可微翘贴纸角标 */
.peel-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 14px 5px 10px;
  border-radius: 10px 4px 10px 10px;
  background: var(--card-bg);
  color: var(--ink);
  border: 1px solid var(--card-border);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2.5px 0 var(--card-thickness);
  transition: transform 0.13s var(--ease-spring);
}

.peel-badge::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: linear-gradient(225deg, var(--paper-bg) 46%, var(--card-thickness) 52%, var(--card-bg) 100%);
  border-bottom-left-radius: 3px;
}

.peel-badge:active { transform: translateY(1.5px); box-shadow: none; }

/* --------------------------------------------------------------------------
   三、身份图鉴舞台（压缩高度让 3×3 缩略图更易选）
   -------------------------------------------------------------------------- */
.edition-art {
  position: relative;
  z-index: 2;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 6px;
  perspective: 800px;
}

.gallery-compact-art {
  width: 100%;
  height: 146px;
}

.standee-slot {
  position: absolute;
  bottom: 2px;
  width: 114px;
  height: 14px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  box-shadow: 0 3px 0 var(--card-thickness), 0 6px 12px rgba(43, 37, 35, 0.12);
}

.standee-slot::after {
  content: '';
  position: absolute;
  left: 22%;
  right: 22%;
  top: 50%;
  height: 3px;
  border-radius: 99px;
  background: var(--card-thickness);
  transform: translateY(-50%);
}

.wv-gallery-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 12px 15px 14px;
}

.wv-gallery-hero > *:not(.diorama-svg) {
  position: relative;
  z-index: 2;
}

.wv-gallery-hero .wv-person {
  position: relative;
  z-index: 2;
  height: 138px;
  width: auto;
  object-fit: contain;
  filter: var(--standee-filter);
  cursor: pointer;
}

/* 角色轻点翻身专属折纸语音气泡 */
.speech-bubble {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(88%, 272px);
  padding: 6px 11px;
  border-radius: 13px;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  box-shadow: 0 3px 0 var(--card-thickness), 0 8px 16px rgba(43, 37, 35, 0.14);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  text-align: center;
  z-index: 6;
  pointer-events: none;
  animation: speech-pop 280ms var(--ease-spring) both;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--card-bg);
  border-right: 1.5px solid var(--card-border);
  border-bottom: 1.5px solid var(--card-border);
  transform: translateX(-50%) rotate(45deg);
}

.wv-gallery-hero .wv-person.is-locked-preview {
  filter: sepia(0.32) saturate(0.55) brightness(0.92) var(--standee-filter);
}

.wv-copy small {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--paper-tray);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
}

.wv-copy h1 {
  margin: 5px 0 3px;
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
}

.wv-copy p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.wv-missing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 14px 18px;
  border-radius: 15px;
  border: 1.5px dashed var(--card-thickness);
  background: var(--paper-tray);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 800;
}

.wv-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.wv-gallery a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px 7px;
  border-radius: 15px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--card-shadow-sm);
  transition: transform 0.13s var(--ease-spring), border-color 0.13s ease, background 0.15s ease;
}

.wv-gallery a.is-locked {
  background: var(--paper-tray);
  border: 1.5px dashed var(--card-thickness);
  box-shadow: inset 0 1px 4px rgba(43, 37, 35, 0.06);
}

.wv-gallery a.is-locked img {
  filter: grayscale(1) brightness(0.45) contrast(0.75) opacity(0.36);
}

[data-theme="dark"] .wv-gallery a.is-locked img {
  filter: grayscale(1) brightness(0.55) contrast(0.75) opacity(0.32);
}

.gallery-slot-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  height: 16px;
  padding: 0 5px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 800;
  line-height: 16px;
  background: var(--nt-green-soft);
  color: var(--nt-green);
}

.wv-gallery a.is-locked .gallery-slot-badge {
  background: var(--card-bg);
  color: var(--ink-muted);
  border: 1px solid var(--card-border);
}

.wv-gallery a[aria-current="true"] {
  border: 2px solid var(--nt-blue);
  background: var(--nt-blue-soft);
  color: var(--ink);
  transform: translateY(-2px);
}

.wv-gallery img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: var(--standee-filter);
}

.wv-gallery b {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   四、奖励宝库：三阶解锁卡 & 概念水晶预览 (.wv-steps / .crystal-preview)
   -------------------------------------------------------------------------- */
.wv-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.wv-steps article {
  padding: 10px 6px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: var(--paper-tray);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
}

.wv-steps article.current {
  border: 2px solid var(--nt-gold-edge);
  background: var(--nt-gold-soft);
  color: var(--ink);
}

.wv-steps small {
  display: block;
  font-size: 10px;
  color: var(--ink-muted);
}

.wv-steps strong {
  display: block;
  margin: 3px 0 2px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
}

.wv-steps article.current strong { color: var(--nt-gold-ink); }

.wv-steps p {
  margin: 3px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-muted);
}

.crystal-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.crystal-preview figure {
  margin: 0;
  padding: 10px 4px;
  border-radius: 14px;
  background: var(--paper-tray);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.crystal-preview img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: var(--paper-cut-shadow);
}

.crystal-preview figcaption {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-soft);
}

.wv-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wv-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 13px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: var(--card-shadow-sm);
}

/* --------------------------------------------------------------------------
   五、任天堂 24H 集章手账板 (.wv-tower / .stamp-logbook / .star-reading)
   -------------------------------------------------------------------------- */
.wv-tower {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 15px 15px;
  box-shadow: var(--surface-shadow);
}

.wv-tower > small, .stamp-logbook header small {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.wv-tower > h2 {
  margin: 2px 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
}

.wv-tower > p {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* 静态 24 格（liveRound 使用） */
.wv-windows:not(.stamp-board) {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0;
}

.wv-windows:not(.stamp-board) span {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 50%;
  background: var(--paper-tray);
  color: var(--ink-muted);
  border: 1px dashed rgba(147, 137, 129, 0.4);
  font-size: 10px;
  font-weight: 800;
}

.wv-windows:not(.stamp-board) span i { font-style: normal; font-size: 11px; line-height: 1; }
.wv-windows:not(.stamp-board) span b { font-family: var(--font-mono); font-size: 10px; line-height: 1; }

.wv-windows:not(.stamp-board) span[data-state="pass"] {
  background: var(--nt-green-soft);
  border: 1.5px solid rgba(45, 160, 105, 0.30);
  color: var(--nt-green);
}
.wv-windows:not(.stamp-board) span[data-state="miss"] {
  background: var(--nt-rose-soft);
  border: 1.5px solid rgba(217, 72, 96, 0.28);
  color: var(--nt-rose);
}
.wv-windows:not(.stamp-board) span[data-state="active"] {
  border-radius: 12px;
  background: var(--nt-blue);
  border: 1.5px solid #FFFFFF;
  color: #FFFFFF;
}

/* 交互式 4×6 任天堂大号集章速选板 (#/observation/records) */
.stamp-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin: 10px 0 8px;
}

.stamp-pad {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: var(--paper-tray);
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  transition: transform 0.12s var(--ease-spring);
}

.stamp-pad[data-slot="16"]::after {
  content: '★';
  position: absolute;
  top: -4px;
  right: -3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--nt-gold-top) 0%, var(--nt-gold) 100%);
  color: #FFFFFF;
  font-size: 9px;
  line-height: 15px;
  text-align: center;
  box-shadow: 0 1.5px 0 var(--nt-gold-edge);
  z-index: 3;
}

.stamp-pad:active { transform: scale(0.93); }
.stamp-pad em { font-style: normal; font-size: 11px; font-weight: 900; line-height: 1; }
.stamp-pad span { font-family: var(--font-mono); font-size: 10px; font-weight: 800; line-height: 1; }

.stamp-pad[data-state="pass"] {
  background: var(--nt-green-soft);
  color: var(--nt-green);
  border-color: rgba(45, 160, 105, 0.30);
  box-shadow: inset 0 0 0 2px rgba(45, 160, 105, 0.14), 0 2px 0 rgba(45, 160, 105, 0.22);
}

.stamp-pad[data-state="miss"] {
  background: var(--nt-rose-soft);
  color: var(--nt-rose);
  border-color: rgba(217, 72, 96, 0.28);
  box-shadow: inset 0 0 0 2px rgba(217, 72, 96, 0.12), 0 2px 0 rgba(217, 72, 96, 0.18);
}

.stamp-pad[data-state="active"] {
  border-radius: 13px;
  background: linear-gradient(180deg, var(--nt-blue-top) 0%, var(--nt-blue) 100%);
  color: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 0 3px 0 var(--nt-blue-edge);
}

.stamp-pad[data-state="pending"],
.stamp-pad[data-state="unknown"] {
  border: 1px dashed rgba(147, 137, 129, 0.45);
}

.stamp-pad[aria-pressed="true"] {
  outline: 2.5px solid var(--nt-blue);
  outline-offset: 2px;
  transform: translateY(-2px);
  z-index: 2;
}

.star-key {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
}

.star-key i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.key-pass { background: var(--nt-green); }
.key-miss { background: var(--nt-rose); }
.key-active { background: var(--nt-blue); border-radius: 2px; }
.key-pending { background: var(--card-thickness); }

/* 固定高度单段判定明细纸卡（切格零跳动） */
.star-reading {
  min-height: 174px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 14px 15px;
  box-shadow: var(--surface-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.star-reading header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.star-reading header img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.star-reading header div {
  flex: 1;
  min-width: 0;
}

.star-reading header small {
  font-size: 10px;
  font-weight: 800;
  color: var(--ink-muted);
}

.star-reading header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}

.star-reading dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.star-reading dl div {
  padding: 8px 6px;
  border-radius: 12px;
  background: var(--paper-tray);
  text-align: center;
}

.star-reading dt {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-muted);
}

.star-reading dd {
  margin: 3px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  word-break: break-all;
}

.stamp-explain {
  margin: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--card-border);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   六、荣誉排行 Top 3 成员立牌领奖台 (.wv-podium)
   -------------------------------------------------------------------------- */
.wv-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  padding: 12px 10px 0;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--surface-shadow);
  overflow: hidden;
}

.wv-podium > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 4px 11px;
  border-radius: 15px 15px 0 0;
  background: var(--paper-tray);
}

.wv-podium .rank-1 {
  background: var(--nt-gold-soft);
  padding-top: 14px;
  padding-bottom: 16px;
  border: 1px solid var(--gold-border);
  border-bottom: 0;
}

.wv-podium img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: var(--paper-cut-shadow);
}

.wv-podium .rank-1 img {
  width: 72px;
  height: 72px;
}

.wv-podium b {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
}

.wv-podium small {
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-soft);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   七、阶段三：主城手账集章卡 (.handbook-stamp-card)
   -------------------------------------------------------------------------- */
.handbook-stamp-card {
  position: relative;
}

.handbook-stamp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.handbook-stamp-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: 13px;
  border: 1.5px dashed var(--card-border-strong, var(--card-border));
  background: var(--paper-tray);
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: transform 0.14s var(--ease-spring), border-color 0.14s ease, background 0.14s ease;
}

.handbook-stamp-cell:active {
  transform: translateY(1.5px);
}

.handbook-stamp-cell.stamped {
  border-style: solid;
  border-color: var(--emerald-border, rgba(45, 160, 105, 0.36));
  background: var(--nt-green-soft, rgba(45, 160, 105, 0.09));
}

.handbook-seal {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px dashed var(--ink-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
  color: var(--ink-soft);
  background: var(--card-bg);
}

.handbook-stamp-cell.stamped .handbook-seal {
  border: 2px solid var(--nt-green, #2DA069);
  background: var(--nt-green, #2DA069);
  color: #FFFFFF;
  transform: rotate(-6deg);
  box-shadow: 0 2px 0 rgba(25, 110, 70, 0.28);
}

.handbook-task-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.handbook-task-meta {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink-muted);
  line-height: 1.15;
}

.handbook-stamp-cell.stamped .handbook-task-meta {
  color: var(--nt-green, #2DA069);
}

.handbook-ach-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--card-border);
}

.handbook-ach-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  border: 1px dashed var(--card-border);
  background: var(--paper-tray);
  color: var(--ink-muted);
}

.handbook-ach-pill.owned {
  border-style: solid;
  border-color: var(--nt-gold-edge, rgba(217, 138, 28, 0.45));
  background: var(--nt-gold-soft, rgba(243, 184, 44, 0.16));
  color: var(--nt-gold-ink, #8C5700);
}

/* --------------------------------------------------------------------------
   八、第一刀：待提现金库条、2.0x 早鸟条、老赢家锁仓护盾、红警模式与手账折叠降权
   -------------------------------------------------------------------------- */
.vault-unlock-banner {
  border: 2px solid var(--nt-gold-edge, #D98A1C);
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--nt-gold-soft, rgba(243, 184, 44, 0.14)) 100%);
  box-shadow: 0 3.5px 0 rgba(184, 115, 16, 0.24), var(--surface-shadow);
}

.vault-two-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
}

.vault-step {
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.vault-step.done {
  background: var(--nt-green-soft, rgba(45, 160, 105, 0.14));
  color: var(--nt-green, #2DA069);
  border: 1px solid rgba(45, 160, 105, 0.35);
}

.vault-step.next {
  background: var(--nt-gold-soft, rgba(243, 184, 44, 0.22));
  color: var(--nt-gold-ink, #8C5700);
  border: 1px solid var(--nt-gold-edge, rgba(217, 138, 28, 0.45));
}

.vault-step-line {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--nt-green, #2DA069) 0%, var(--nt-gold-edge, #D98A1C) 100%);
}

.early-bird-banner {
  padding: 11px 13px;
  border-radius: 16px;
  border: 1.5px solid var(--nt-gold-edge, rgba(217, 138, 28, 0.55));
  background: linear-gradient(90deg, var(--nt-gold-soft, rgba(243, 184, 44, 0.18)) 0%, var(--card-bg) 100%);
  box-shadow: var(--card-shadow-sm);
}

.early-bird-cd {
  font-size: 14px;
  font-weight: 900;
  color: var(--nt-red, #E60012);
  white-space: nowrap;
}

.veteran-shield-card {
  border: 1.5px solid var(--card-border-strong, var(--card-border));
}

.veteran-shield-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shield-col {
  padding: 10px 9px;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.shield-col.pass {
  background: var(--nt-green-soft, rgba(45, 160, 105, 0.10));
  border: 1.5px solid rgba(45, 160, 105, 0.30);
}

.shield-col.burn {
  background: var(--nt-rose-soft, rgba(217, 72, 96, 0.10));
  border: 1.5px solid rgba(217, 72, 96, 0.30);
}

.shield-col small {
  font-size: 10px;
  font-weight: 800;
  color: var(--ink-soft);
}

.shield-col strong {
  font-size: 15px;
  font-weight: 900;
  word-break: break-all;
}

.shield-col span {
  font-size: 10px;
  color: var(--ink-muted);
}

.alert-red-mode {
  border: 2px solid var(--nt-rose, #D94860) !important;
  box-shadow: 0 0 0 3px rgba(217, 72, 96, 0.14), var(--surface-shadow) !important;
}

.pred-versus-bar {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.handbook-collapse {
  border-radius: 18px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  padding: 11px 14px;
}

.handbook-collapse-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
}

.handbook-collapse-summary::-webkit-details-marker {
  display: none;
}

.handbook-collapse-body {
  margin-top: 10px;
}

.handbook-collapse-body .handbook-stamp-card {
  border: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

/* --------------------------------------------------------------------------
   九、Boxheads 双轨收集册 & 1 对 1 精装卡背 3D 翻卡舞台
   -------------------------------------------------------------------------- */
.boxhead-stage-meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.boxhead-flip-scene {
  position: relative;
  width: 100%;
  height: 214px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 960px;
  margin: 4px 0 2px;
}

.boxhead-flip-card {
  position: relative;
  width: 192px;
  height: 206px;
  transform-style: preserve-3d;
  transition: transform 0.56s cubic-bezier(0.22, 1, 0.36, 1);
}

.boxhead-flip-card.is-flipped {
  transform: rotateY(180deg);
}

.boxhead-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.boxhead-face.front.series-activity .wv-person {
  width: 176px;
  height: 176px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(22, 24, 34, 0.16), 0 3px 0 rgba(22, 24, 34, 0.08);
  filter: none;
}

.boxhead-face.front.series-wealth .wv-person {
  width: 176px;
  height: 176px;
  object-fit: contain;
  filter: var(--standee-filter);
}

.boxhead-face.back {
  transform: rotateY(180deg);
  cursor: pointer;
}

.boxhead-card-img {
  max-width: 186px;
  max-height: 204px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(14, 16, 24, 0.28);
}

.boxhead-flip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--card-border);
  background: var(--card-bg);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2.5px 0 var(--card-thickness);
  transition: transform 0.12s var(--ease-spring), border-color 0.15s ease;
}

.boxhead-flip-btn:active {
  transform: translateY(1.5px);
  box-shadow: 0 1px 0 var(--card-thickness);
}

.boxhead-flip-btn[aria-pressed="true"] {
  border-color: var(--nt-red);
  background: var(--nt-red-soft);
  color: var(--nt-red);
}

.wv-gallery.series-activity img {
  border-radius: 12px;
  object-fit: cover;
  filter: none;
  box-shadow: 0 3px 8px rgba(22, 24, 34, 0.10);
}

.wv-gallery.series-wealth img {
  object-fit: contain;
  filter: var(--standee-filter);
}

@media (prefers-reduced-motion: reduce) {
  .boxhead-flip-card {
    transition: none;
  }
}

