:root {
  color-scheme: dark;
  --ink: #f4e2a8;
  --ink-deep: #d9c685;
  --muted: #b09870;
  --paper: #161310;
  --paper-2: #1e1812;
  --panel: #2a2118;
  --panel-2: #322618;
  --panel-edge: #5a4225;
  --line: #8b6a3a;
  --line-soft: #5a4225;
  --wood: #6b3f1f;
  --wood-light: #8b5a30;
  --jade: #5cc88a;
  --gold: #f2b544;
  --gold-deep: #c98b22;
  --red: #d33d3d;
  --red-soft: #c95d4a;
  --cyan: #5cc8c0;
  --violet: #b68cff;
  --seal: #c0392b;
  --shadow: rgba(0, 0, 0, 0.5);
  --ink-shadow: 1px 1px 0 #0a0908;
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "楷体", "Courier New", "Microsoft YaHei", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background:
    /* 米格底纹 */
    linear-gradient(transparent 96%, rgba(218, 165, 86, 0.06) 96%),
    linear-gradient(90deg, transparent 96%, rgba(218, 165, 86, 0.06) 96%),
    /* 中心墨晕 */
    radial-gradient(ellipse at 50% 0%, #3a2818 0, #1c140d 45%, #0a0706 100%);
  background-size: 22px 22px, 22px 22px, auto;
  color: var(--ink);
  text-shadow: var(--ink-shadow);
}

button,
input {
  font: inherit;
}

button {
  border: 2px solid var(--line);
  background: #332719;
  color: var(--ink);
  min-height: 44px;
  cursor: pointer;
  touch-action: manipulation;
}

button:disabled {
  color: #897b5a;
  border-color: #4a3b24;
  background: #201b15;
  cursor: not-allowed;
}

.app-shell {
  width: min(100%, 480px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0 6px;
  background: linear-gradient(#0b0a09 70%, rgba(11, 10, 9, 0));
}

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

.brand img {
  width: 38px;
  height: 38px;
  image-rendering: pixelated;
}

.brand-title {
  margin: 0;
  font-size: clamp(22px, 7vw, 32px);
  letter-spacing: 4px;
  line-height: 1;
  color: var(--gold);
  text-shadow: 2px 2px 0 #000, 0 0 8px rgba(242, 181, 68, 0.4);
  font-weight: bold;
}

.brand-subtitle {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: #16120f;
  color: var(--muted);
  padding: 5px 8px;
  font-size: 12px;
  white-space: nowrap;
}

.panel {
  border: 2px solid var(--line);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  box-shadow: 0 6px 0 var(--shadow), inset 0 0 24px rgba(0,0,0,0.3);
  padding: 14px;
  position: relative;
}

.panel::before, .panel::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
}

.panel::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.panel::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.panel-title {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--gold);
  line-height: 1.35;
  letter-spacing: 2px;
  text-shadow: 1px 1px 0 #000;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line-soft);
}

.field {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.field label {
  color: var(--muted);
  font-size: 13px;
}

.field input {
  width: 100%;
  min-height: 46px;
  border: 2px solid var(--line);
  background: #0e0d0b;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.field input:focus {
  border-color: var(--gold);
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.action-row.single {
  grid-template-columns: 1fr;
}

.primary {
  background: #5d3f13;
  border-color: var(--gold);
  color: #fff4bf;
}

.danger {
  background: #45201c;
  border-color: var(--red);
}

.ghost {
  background: #171310;
}

.chips,
.tag-list {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.chip,
.tag {
  border: 1px solid #5b4a2b;
  background: #14110f;
  color: var(--muted);
  padding: 5px 7px;
  font-size: 12px;
  line-height: 1.2;
}

.tag.good {
  color: var(--jade);
  border-color: #2c8e5a;
}

.tag.bad {
  color: #ff9b91;
  border-color: #94433b;
}

.tag.rare {
  color: var(--violet);
  border-color: #7353a5;
}

.talent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.talent-card,
.choice-card,
.ending-card {
  position: relative;
  width: 100%;
  text-align: left;
  border: 2px solid #55472c;
  background: #15120f;
  color: var(--ink);
  padding: 11px;
}

.talent-card.selected,
.choice-card:active {
  border-color: var(--gold);
  background: #2b2216;
}

.talent-head,
.choice-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.talent-name,
.choice-title {
  font-size: 15px;
  color: #fff2b0;
  line-height: 1.35;
}

.grade {
  flex: 0 0 auto;
  min-width: 34px;
  text-align: center;
  padding: 2px 5px;
  border: 1px solid currentColor;
  color: var(--gold);
  font-size: 12px;
}

.grade.g2 {
  color: var(--cyan);
}

.grade.g3 {
  color: var(--violet);
}

.desc,
.choice-copy,
.result-copy {
  margin: 8px 0 0;
  color: #d8c897;
  font-size: 13px;
  line-height: 1.6;
}

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

.stat-tile {
  border: 1px solid #4e4128;
  background: #15120f;
  padding: 9px;
  min-height: 58px;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.stat-value {
  display: block;
  margin-top: 4px;
  color: #fff0a8;
  font-size: 18px;
}

.allocator {
  display: grid;
  gap: 8px;
}

.attr-row {
  display: grid;
  grid-template-columns: 52px 28px 1fr 34px 34px;
  align-items: center;
  gap: 6px;
  border: 1px solid #4d3d25;
  background: #15120f;
  padding: 8px;
}

.attr-row strong {
  color: #fff1ad;
  font-size: 14px;
}

.attr-value {
  text-align: center;
  color: var(--gold);
  font-size: 16px;
  font-weight: bold;
  min-width: 24px;
}

.attr-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin: 0;
  border: none;
  touch-action: none;
}

.attr-slider::-webkit-slider-runnable-track {
  height: 10px;
  background: linear-gradient(90deg, var(--jade), var(--gold));
  border: 1px solid #4e4128;
}

.attr-slider::-moz-range-track {
  height: 10px;
  background: linear-gradient(90deg, var(--jade), var(--gold));
  border: 1px solid #4e4128;
}

.attr-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: #2a2014;
  border: 2px solid var(--gold);
  margin-top: -8px;
  border-radius: 0;
  cursor: grab;
}

.attr-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: #2a2014;
  border: 2px solid var(--gold);
  border-radius: 0;
  cursor: grab;
}

.attr-slider:active::-webkit-slider-thumb { cursor: grabbing; }
.attr-slider:active::-moz-range-thumb { cursor: grabbing; }

.bar {
  height: 12px;
  border: 1px solid #4e4128;
  background: #0a0908;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--jade), var(--gold));
}

.attr-row button {
  min-height: 34px;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.status-item {
  border: 1px solid #4e4128;
  background: #15120f;
  padding: 7px 8px;
  min-height: 48px;
}

.status-item b {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.status-item span {
  display: block;
  margin-top: 3px;
  color: #fff0a8;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.choice-list {
  display: grid;
  gap: 9px;
}

.result-box {
  border: 1px solid #6d5329;
  background: #16120d;
  padding: 10px;
}

.changes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.delta {
  border: 1px solid #4e4128;
  background: #0f0d0a;
  padding: 4px 6px;
  font-size: 12px;
  color: var(--muted);
}

.delta.plus {
  color: var(--jade);
  border-color: #2c8e5a;
}

.delta.minus {
  color: #ff9b91;
  border-color: #94433b;
}

.timeline {
  max-height: 260px;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding-right: 2px;
}

.log-item {
  border-left: 3px solid #6c5631;
  background: #12100e;
  padding: 8px 9px;
}

.log-age {
  color: var(--gold);
  font-size: 12px;
}

.log-text {
  margin-top: 4px;
  color: #decf9b;
  font-size: 13px;
  line-height: 1.55;
}

.boss-banner {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  border: 2px solid #90433d;
  background: #21100f;
  padding: 10px;
}

.boss-banner img {
  width: 76px;
  height: 76px;
  image-rendering: pixelated;
}

.boss-banner h2 {
  margin: 0;
  color: #ffb0a7;
  font-size: 18px;
}

.boss-banner p {
  margin: 6px 0 0;
  color: #dfb6aa;
  font-size: 13px;
  line-height: 1.5;
}

.ending-title {
  margin: 0;
  font-size: 24px;
  color: var(--gold);
  line-height: 1.25;
}

.ending-meta {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.heaven-output {
  margin-top: 10px;
  border: 1px dashed #795f34;
  background: #110f0b;
  color: #e9dca8;
  padding: 10px;
  min-height: 54px;
  line-height: 1.6;
  font-size: 13px;
}

.empty {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.route-list {
  display: grid;
  gap: 9px;
}

.route-item {
  border: 1px solid #4e4128;
  background: #15120f;
  padding: 9px;
}

.route-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 7px;
}

.route-head strong {
  color: #fff1ad;
  font-size: 13px;
}

.route-head span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.route-bar i {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.report-card {
  border-color: var(--gold);
}

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

.report-grid div,
.catalog-column {
  border: 1px solid #4e4128;
  background: #15120f;
  padding: 8px;
}

.report-grid b,
.catalog-column strong {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.report-grid span {
  display: block;
  margin-top: 4px;
  color: #fff0a8;
  font-size: 14px;
  line-height: 1.35;
}

.one-liner {
  margin: 10px 0;
  color: #f4dda2;
  line-height: 1.55;
  font-size: 14px;
}

.copy-report {
  width: 100%;
  margin-top: 10px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.catalog-column span,
.catalog-column em {
  display: block;
  margin-top: 6px;
  color: #d8c897;
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

@media (min-width: 430px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 430px) {
  .talent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 新增：首页玩法引导 ---------- */
.intro-steps {
  display: grid;
  gap: 8px;
  margin: 10px 0 4px;
}

.intro-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 8px;
  border: 1px dashed #6c5631;
  background: #14110d;
  padding: 8px 10px;
}

.intro-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
}

.intro-step-text {
  color: #decf9b;
  font-size: 13px;
  line-height: 1.55;
}

/* ---------- 新增：道号骰子按钮 ---------- */
.field-with-action {
  display: grid;
  grid-template-columns: 1fr 56px;
  gap: 8px;
  align-items: end;
}

.dice-btn {
  min-height: 46px;
  border: 2px solid var(--line);
  background: #2a2014;
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
}

.dice-btn:active {
  background: #3a2c1a;
}

/* ---------- 新增：天赋页合计加点预览 ---------- */
.talent-preview {
  margin-top: 10px;
  border: 1px solid #4e4128;
  background: #14110d;
  padding: 9px;
}

.talent-preview-title {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.talent-preview .changes {
  margin-top: 0;
}

.talent-preview .empty {
  font-size: 12px;
}

/* ---------- 新增：流派模板按钮 ---------- */
.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.preset-btn {
  flex: 1 1 calc(33% - 6px);
  min-height: 38px;
  font-size: 12px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  background: #1a1510;
  color: var(--ink);
}

.preset-btn:active {
  background: #2b2216;
  border-color: var(--gold);
}

/* ---------- 新增：选项卡分类色条 + emoji ---------- */
.choice-card {
  border-left-width: 5px;
}

.choice-card[data-cat="zuohan"] {
  border-left-color: var(--red);
}

.choice-card[data-cat="zuohan-body"] {
  border-left-color: var(--red);
  background: #1f120f;
  animation: pulseDanger 2.4s ease-in-out infinite;
}

@keyframes pulseDanger {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 97, 85, 0); }
  50% { box-shadow: 0 0 10px 1px rgba(240, 97, 85, 0.45); }
}

.choice-card[data-cat="artifact"] { border-left-color: var(--violet); }
.choice-card[data-cat="cameo"] { border-left-color: var(--cyan); }
.choice-card[data-cat="crossover"] { border-left-color: var(--cyan); }
.choice-card[data-cat="death"] { border-left-color: var(--red); }
.choice-card[data-cat="finale"] { border-left-color: var(--gold); }
.choice-card[data-cat="childhood"],
.choice-card[data-cat="initiation"],
.choice-card[data-cat="mortal"] { border-left-color: #6c8b46; }
.choice-card[data-cat="qi"],
.choice-card[data-cat="foundation"],
.choice-card[data-cat="golden"],
.choice-card[data-cat="nascent"] { border-left-color: var(--jade); }

.choice-emoji {
  margin-right: 4px;
}

/* ---------- 新增：事件结果淡入 ---------- */
.result-box.fade-in {
  animation: fadeIn 0.4s ease-out both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 新增：死亡/突破闪屏 ---------- */
.flash-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: 0;
}

.flash-overlay.death {
  background: radial-gradient(circle, rgba(240, 97, 85, 0.85), rgba(0, 0, 0, 0.92));
  animation: deathFlash 0.7s ease-out forwards;
}

.flash-overlay.breakthrough {
  background: radial-gradient(circle, rgba(242, 181, 68, 0.9), rgba(0, 0, 0, 0.4));
  animation: breakFlash 0.6s ease-out forwards;
}

@keyframes deathFlash {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes breakFlash {
  0% { opacity: 0; }
  20% { opacity: 0.9; }
  100% { opacity: 0; }
}

/* ---------- 新增：Toast 提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  background: #2b2216;
  border: 2px solid var(--gold);
  color: #fff4bf;
  padding: 10px 18px;
  font-size: 14px;
  z-index: 100;
  animation: toastIn 0.25s ease-out, toastOut 0.3s ease-in 1.6s forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translate(-50%, -10px); }
}

/* ---------- 新增：结局解锁进度 ---------- */
.unlock-progress {
  border: 1px solid var(--gold);
  background: #1a1308;
  padding: 10px;
  margin-top: 8px;
}

.unlock-progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 6px;
}

/* ---------- 新增：上局对比 ---------- */
.compare-card {
  border: 1px dashed #6c5631;
  background: #14110d;
  padding: 10px;
  margin-top: 8px;
}

.compare-title {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  font-size: 12px;
}

.compare-grid div {
  border: 1px solid #4e4128;
  background: #15120f;
  padding: 6px;
}

.compare-grid b {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 11px;
}

.compare-grid span {
  display: block;
  margin-top: 3px;
  color: #fff0a8;
  font-size: 13px;
}

/* ---------- 新增：重抽剩余 ---------- */
.reroll-left {
  color: var(--muted);
  font-size: 12px;
  margin-left: 4px;
}

/* ---------- 新增：复制战报按钮加强 ---------- */
.copy-report {
  background: #3d2d12;
  border-color: var(--gold);
  color: #fff4bf;
  font-size: 14px;
}

/* ---------- 新增：fated 事件（主线/支线）面板 ---------- */
.fated-event {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #2a1f10, #1a1308);
  padding: 12px;
  margin-bottom: 4px;
}

.fated-event.side {
  border-color: var(--cyan);
  background: linear-gradient(180deg, #102525, #081414);
}

.fated-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 3px 8px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.fated-event.side .fated-tag {
  color: var(--cyan);
  border-color: var(--cyan);
}

.fated-intro {
  margin: 0 0 12px;
  color: #fff2b0;
  font-size: 14px;
  line-height: 1.7;
}

.fated-event.side .fated-intro {
  color: #b8eaea;
}

.fated-option {
  border-left: 5px solid var(--gold);
  background: #1d1610;
}

.fated-event.side .fated-option {
  border-left-color: var(--cyan);
  background: #0d1818;
}

.fated-option:active {
  background: #2b2216;
}

/* ---------- 新增：首页仙山 hero ---------- */
.hero-banner {
  position: relative;
  height: 120px;
  border: 2px solid var(--line);
  background: linear-gradient(180deg, #1a2818 0%, #0e1810 100%);
  overflow: hidden;
  box-shadow: 0 4px 0 var(--shadow);
}

.hero-bg {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  display: block;
  opacity: 0.95;
}

.hero-crane {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
  animation: craneFly 6s ease-in-out infinite alternate;
}

@keyframes craneFly {
  from { transform: translateX(0) translateY(0); }
  to { transform: translateX(-12px) translateY(4px); }
}

/* ---------- 新增：卷轴风格 panel ---------- */
.scroll-panel {
  border-color: var(--wood);
  background:
    linear-gradient(180deg, #2c2014 0%, #1e1610 100%);
}

.scroll-panel::before,
.scroll-panel::after {
  display: none;
}

.scroll-panel {
  border-top: 6px solid var(--wood);
  border-bottom: 6px solid var(--wood);
  position: relative;
}

.scroll-panel::before {
  content: "";
  display: block;
  position: absolute;
  top: -10px;
  left: -2px;
  right: -2px;
  height: 4px;
  background: var(--wood-light);
}

.scroll-panel::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -10px;
  left: -2px;
  right: -2px;
  height: 4px;
  background: var(--wood-light);
}

.scroll-title {
  text-align: center;
  font-size: 22px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  letter-spacing: 8px !important;
}

.intro-icon {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
  flex-shrink: 0;
}

.intro-steps .intro-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.big-cta {
  font-size: 16px;
  letter-spacing: 4px;
  padding: 12px;
  min-height: 52px;
  background: linear-gradient(180deg, #6a4818 0%, #4a3010 100%);
  border-color: var(--gold);
  color: #fff4bf;
  text-shadow: 1px 1px 0 #000;
  box-shadow: 0 4px 0 #1a1004, inset 0 0 12px rgba(242, 181, 68, 0.2);
}

.big-cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #1a1004, inset 0 0 12px rgba(242, 181, 68, 0.2);
}

/* ---------- 新增：DeepSeek 旁白回响 ---------- */
.narrator-box {
  margin-top: 10px;
  padding: 8px 10px;
  border-left: 3px solid var(--violet);
  background: #1a1428;
  color: #d7c8ff;
  font-size: 13px;
  font-style: italic;
  line-height: 1.55;
}

/* ---------- 新增：DeepSeek 墓志铭 ---------- */
.epitaph-box {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--gold);
  background: #1a1308;
  color: #f0dca0;
  font-size: 13px;
  line-height: 1.7;
  position: relative;
}

.epitaph-tag {
  position: absolute;
  top: -10px;
  left: 12px;
  background: var(--paper);
  color: var(--gold);
  font-size: 11px;
  padding: 0 6px;
  letter-spacing: 2px;
}

/* ---------- 新增：错过剧情线钩子 ---------- */
.missed-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.missed-item {
  border: 1px dashed #6c5631;
  background: #14110d;
  padding: 8px;
  font-size: 12px;
}

.missed-item strong {
  display: block;
  color: var(--cyan);
  font-size: 13px;
  margin-bottom: 3px;
}

.missed-item span {
  color: var(--muted);
}

.missed-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
