/* ============================================================
   圣光之旅 · 经文大冒险 —— 视觉系统
   主题：深夜星空下的古卷朝圣
   ============================================================ */

:root {
  --night-0: #070a14;
  --night-1: #0c1224;
  --night-2: #141c36;
  --night-3: #1d2849;
  --ink: #2a2418;
  --ink-soft: #4d4432;
  --ink-faint: #8a7f66;
  --parchment: #f4ecd6;
  --parchment-2: #ece0c2;
  --parchment-3: #e2d3ab;
  --gold: #e2b95a;
  --gold-bright: #f3d27c;
  --gold-deep: #a87f2e;
  --ember: #ff7a3d;
  --emerald: #54c9a8;
  --violet: #a294f2;
  --rose: #f05d7e;
  --text: #efe9d8;
  --text-dim: #a89f88;
  --line: rgba(226, 185, 90, 0.22);

  --font-display: "Kaiti SC", "STKaiti", "KaiTi", "楷体", "Songti SC", "STSong", serif;
  --font-ui: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Kaiti SC", "STKaiti", "KaiTi", "楷体", serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
  --gold-grad: linear-gradient(135deg, #f3d27c 0%, #e2b95a 40%, #b98a2f 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scrollbar-color: #3a3f2f transparent; }

body {
  font-family: var(--font-ui);
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(64, 86, 150, 0.28), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(120, 90, 40, 0.16), transparent 60%),
    radial-gradient(1400px 900px at 50% 120%, rgba(30, 60, 70, 0.25), transparent 60%),
    linear-gradient(180deg, var(--night-0) 0%, var(--night-1) 45%, var(--night-0) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* 背景星尘 */
#starfield {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 28% 64%, rgba(255,240,200,.8), transparent 60%),
    radial-gradient(1.6px 1.6px at 41% 12%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 55% 48%, rgba(255,230,170,.9), transparent 60%),
    radial-gradient(1.4px 1.4px at 67% 80%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1px 1px at 76% 30%, rgba(220,235,255,.8), transparent 60%),
    radial-gradient(1.8px 1.8px at 88% 58%, rgba(255,245,215,.85), transparent 60%),
    radial-gradient(1px 1px at 94% 12%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 8% 86%, rgba(255,255,255,.65), transparent 60%),
    radial-gradient(1.3px 1.3px at 34% 92%, rgba(255,225,160,.75), transparent 60%);
  background-size: 520px 420px, 640px 560px, 480px 500px, 720px 480px, 560px 620px, 460px 380px, 620px 540px, 400px 460px, 540px 400px, 500px 520px;
  opacity: .8;
  animation: starDrift 220s linear infinite;
}
@keyframes starDrift {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  to { background-position: -520px 420px, 640px -560px, -480px 500px, 720px -480px, -560px 620px, 460px -380px, -620px 540px, 400px -460px, -540px 400px, 500px -520px; }
}

#confetti-canvas { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

/* ============ 通用 ============ */
.hidden { display: none !important; }

button { font-family: var(--font-ui); cursor: pointer; }

.btn {
  border: 1px solid var(--line);
  background: rgba(226, 185, 90, 0.10);
  color: var(--gold-bright);
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 1px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); background: rgba(226, 185, 90, 0.2); box-shadow: 0 6px 18px rgba(226, 185, 90, 0.18); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary {
  background: var(--gold-grad);
  color: #2a2108;
  border: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(226, 185, 90, 0.35);
}
.btn-primary:hover { background: linear-gradient(135deg, #ffe39b 0%, #ecc26a 40%, #c7973d 100%); box-shadow: 0 8px 26px rgba(226, 185, 90, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.09); box-shadow: none; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn:disabled { opacity: .4; pointer-events: none; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .15s ease;
}
.icon-btn:hover { background: rgba(226, 185, 90, 0.18); transform: rotate(-8deg) scale(1.06); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line);
  background: rgba(12, 18, 36, 0.6);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text);
  backdrop-filter: blur(4px);
}
.pill-ico { font-size: 14px; }

/* 羊皮纸卡片 */
.parchment {
  position: relative;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255, 252, 240, 0.55), transparent 55%),
    radial-gradient(130% 110% at 100% 100%, rgba(180, 140, 80, 0.18), transparent 60%),
    linear-gradient(160deg, #f6efdc 0%, #f0e6c8 55%, #e9dcb8 100%);
  color: var(--ink);
  border: 1px solid rgba(168, 127, 46, 0.45);
  border-radius: var(--radius);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.25),
    inset 0 0 42px rgba(168, 127, 46, 0.16),
    var(--shadow-card);
}
.parchment::before {
  content: "";
  position: absolute; inset: 7px;
  border: 1px solid rgba(168, 127, 46, 0.35);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}

/* ============ 顶栏 ============ */
#topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 22px;
  background: linear-gradient(180deg, rgba(7, 10, 20, 0.92), rgba(7, 10, 20, 0.65));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(226, 185, 90, 0.14);
}
#brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); }
.brand-seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: var(--gold-grad);
  color: #241c06;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(226, 185, 90, 0.55);
}
.brand-text { font-size: 19px; letter-spacing: 3px; color: var(--gold-bright); }
#topbar-right { display: flex; align-items: center; gap: 10px; }
#btn-back { font-size: 24px; line-height: 1; }

/* ============ 屏幕切换 ============ */
.screen {
  position: relative; z-index: 1;
  display: none;
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px 22px 80px;
  animation: screenIn .45s cubic-bezier(.22, .8, .3, 1) both;
}
.screen.active { display: block; }
@keyframes screenIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.screen-title { font-family: var(--font-display); font-size: 30px; letter-spacing: 2px; color: var(--gold-bright); }
.screen-sub { margin-top: 6px; color: var(--text-dim); font-size: 14px; }

/* ============ 主页 ============ */
.hero { text-align: center; padding: 30px 0 24px; }
.hero-kicker { font-size: 12px; letter-spacing: 5px; color: var(--text-dim); margin-bottom: 12px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 84px);
  letter-spacing: 10px;
  background: linear-gradient(180deg, #ffe9b0 0%, #e2b95a 55%, #a87f2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(226, 185, 90, 0.35));
  animation: titleGlow 5s ease-in-out infinite;
}
@keyframes titleGlow {
  0%, 100% { filter: drop-shadow(0 4px 18px rgba(226, 185, 90, 0.3)); }
  50% { filter: drop-shadow(0 4px 30px rgba(243, 210, 124, 0.6)); }
}
.hero-sub { margin-top: 10px; color: var(--text-dim); font-size: 15px; letter-spacing: 2px; }

/* 今日金句 */
.daily-card { max-width: 660px; margin: 0 auto 26px; padding: 24px 28px 20px; text-align: center; }
.daily-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.daily-label { font-size: 13px; letter-spacing: 4px; color: var(--gold-deep); font-weight: 700; }
.daily-ref { font-size: 13px; color: var(--ink-faint); white-space: nowrap; }
.daily-text {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.9;
  color: var(--ink);
}
.daily-actions { margin-top: 16px; display: flex; justify-content: center; gap: 10px; }
.parchment .btn-ghost { border-color: rgba(168, 127, 46, 0.5); color: var(--ink-soft); background: rgba(255, 255, 255, 0.3); }
.parchment .btn-ghost:hover { color: var(--ink); background: rgba(255, 255, 255, 0.55); }

/* 统计 */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 34px; }
.stat-card {
  background: rgba(20, 28, 54, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  backdrop-filter: blur(4px);
  transition: transform .2s ease, border-color .2s ease;
}
.stat-card:hover { transform: translateY(-3px); border-color: rgba(226, 185, 90, 0.5); }
.stat-label { font-size: 12px; color: var(--text-dim); letter-spacing: 2px; }
.stat-value { font-family: var(--font-display); font-size: 20px; color: var(--gold-bright); }
.stat-value.big { font-size: 30px; }
.stat-value .unit { font-size: 13px; color: var(--text-dim); margin-left: 3px; }
.stat-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.xp-bar { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.xp-fill {
  height: 100%; width: 0%;
  background: var(--gold-grad);
  border-radius: 4px;
  transition: width .6s cubic-bezier(.22, .8, .3, 1);
  box-shadow: 0 0 10px rgba(226, 185, 90, 0.6);
}
.stat-sub { margin-top: 6px; font-size: 11px; color: var(--text-dim); }

/* 模式卡片 */
.section-title { font-family: var(--font-display); font-size: 22px; letter-spacing: 3px; color: var(--text); margin-bottom: 16px; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 36px; }
.mode-card {
  --accent: #e2b95a;
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 26px 14px 20px;
  background: linear-gradient(180deg, rgba(30, 40, 72, 0.6), rgba(14, 20, 40, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  color: var(--text);
  text-align: center;
  overflow: hidden;
  transition: transform .22s cubic-bezier(.22, .8, .3, 1), border-color .22s ease, box-shadow .22s ease;
  animation: cardIn .55s cubic-bezier(.22, .8, .3, 1) both;
}
.mode-card:nth-child(2) { animation-delay: .06s; }
.mode-card:nth-child(3) { animation-delay: .12s; }
.mode-card:nth-child(4) { animation-delay: .18s; }
.mode-card:nth-child(5) { animation-delay: .24s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.mode-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .8;
}
.mode-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  opacity: 0; transition: opacity .25s ease;
}
.mode-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px color-mix(in srgb, var(--accent) 20%, transparent);
}
.mode-card:hover::after { opacity: 1; }
.mode-icon { font-size: 34px; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5)); transition: transform .25s ease; }
.mode-card:hover .mode-icon { transform: scale(1.15) rotate(-6deg); }
.mode-name { font-family: var(--font-display); font-size: 18px; letter-spacing: 1px; color: var(--gold-bright); position: relative; }
.mode-desc { font-size: 12px; color: var(--text-dim); line-height: 1.6; position: relative; }
.mode-tag {
  margin-top: auto; font-size: 11px; letter-spacing: 2px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 999px; padding: 3px 10px;
  position: relative;
}

/* 成就架 */
.ach-head { display: flex; align-items: baseline; justify-content: space-between; }
.ach-shelf { display: flex; flex-wrap: wrap; gap: 10px; }
.ach-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(20, 28, 54, 0.5);
  font-size: 13px;
  color: var(--text);
  transition: transform .18s ease;
}
.ach-chip:hover { transform: translateY(-2px); }
.ach-chip.locked { opacity: .45; filter: grayscale(.9); }
.ach-chip .ach-ico { font-size: 17px; }

.home-footer { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-note { font-size: 11px; color: rgba(168, 159, 136, 0.6); letter-spacing: 1px; }

/* ============ 地图 ============ */
#screen-map { max-width: 1500px; }
.map-head { text-align: center; margin-bottom: 10px; }
.map-progress { margin-top: 12px; font-family: var(--font-display); font-size: 18px; color: var(--gold-bright); letter-spacing: 2px; }
.map-legend { margin-top: 10px; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: 12px; color: var(--text-dim); }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot.ot { background: var(--gold); }
.dot.nt { background: var(--emerald); }
.dot.done { background: radial-gradient(circle at 35% 30%, #fff, var(--gold-bright)); box-shadow: 0 0 8px var(--gold); }
.dot.next { background: transparent; border: 2px solid var(--ember); animation: pulseRing 1.6s ease-out infinite; }
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 61, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(255, 122, 61, 0); }
}
#map-scroll { overflow-x: auto; padding-bottom: 12px; }
#map-svg { width: 100%; min-width: 900px; height: auto; display: block; }
.map-node { cursor: pointer; }
.map-node circle.node-ring { transition: r .2s ease; }
.map-node:hover circle.node-ring { r: 26; }
.map-node text { pointer-events: none; font-family: var(--font-ui); }
.map-node.done .node-body { fill: url(#gradGold); }
.map-node.done-nt .node-body { fill: url(#gradEmerald); }
.map-node.next-node .node-ring { animation: svgPulse 1.6s ease-out infinite; }
@keyframes svgPulse {
  0% { stroke-opacity: 1; stroke-width: 3; }
  100% { stroke-opacity: 0; stroke-width: 8; }
}

/* 经卷挑战浮层 */
.overlay {
  position: fixed; inset: 0; z-index: 70;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(6px);
  padding: 20px;
  animation: fadeIn .25s ease both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.overlay-close {
  position: absolute; top: 14px; right: 16px;
  border: none; background: transparent;
  color: var(--ink-faint);
  font-size: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  transition: background .15s ease, transform .15s ease;
}
.overlay-close:hover { background: rgba(168, 127, 46, 0.16); transform: rotate(90deg); color: var(--ink); }

.quest-panel { width: min(560px, 94vw); padding: 30px 30px 24px; text-align: center; animation: popIn .35s cubic-bezier(.22, 1.2, .3, 1) both; }
@keyframes popIn { from { opacity: 0; transform: scale(.9) translateY(14px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.quest-num { font-size: 12px; letter-spacing: 3px; color: var(--gold-deep); }
.quest-head h2 { font-family: var(--font-display); font-size: 30px; color: var(--ink); margin: 6px 0 4px; }
.quest-desc { font-size: 13px; color: var(--ink-soft); }
.quest-dots { display: flex; justify-content: center; gap: 10px; margin: 18px 0 6px; }
.quest-dots .qdot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--gold-deep);
  background: transparent;
  transition: all .25s ease;
}
.quest-dots .qdot.ok { background: var(--emerald); border-color: var(--emerald); }
.quest-dots .qdot.bad { background: var(--rose); border-color: var(--rose); }
.quest-body { margin-top: 14px; }
.quest-foot { margin-top: 18px; }

/* ============ 答题通用 ============ */
.quiz-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.quiz-head-right { display: flex; gap: 10px; align-items: center; }
.quiz-timer-wrap { margin: 18px 0 4px; height: 8px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.quiz-timer {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, #54c9a8, #e2b95a);
  border-radius: 5px;
  transition: width .25s linear;
}
.quiz-timer.danger { background: linear-gradient(90deg, #f05d7e, #ff7a3d); }

.quiz-dots { display: flex; justify-content: center; gap: 8px; margin: 18px 0; flex-wrap: wrap; }
.quiz-dots .qdot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); transition: all .25s ease; }
.quiz-dots .qdot.cur { background: var(--gold); transform: scale(1.4); box-shadow: 0 0 10px var(--gold); }
.quiz-dots .qdot.ok { background: var(--emerald); }
.quiz-dots .qdot.bad { background: var(--rose); }

.quiz-stage { padding: 28px 30px 24px; }
.quiz-stage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.q-type { font-size: 12px; letter-spacing: 3px; color: var(--gold-deep); font-weight: 700; }
.q-ref { font-size: 13px; color: var(--ink-faint); }
.q-verse {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 2;
  color: var(--ink);
  text-align: center;
  margin: 6px 0 18px;
}
.q-verse .blank {
  display: inline-block;
  min-width: 3.2em;
  border-bottom: 2.5px dashed var(--gold-deep);
  color: var(--gold-deep);
  font-weight: 700;
  margin: 0 3px;
  vertical-align: baseline;
  transition: color .2s ease;
}
.q-verse .blank.filled { color: var(--emerald); border-bottom-color: var(--emerald); }
.q-verse .blank.wrong { color: var(--rose); border-bottom-color: var(--rose); }

.q-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-options.one-col { grid-template-columns: 1fr; }
#quiz-options { display: block; }
.q-blank-group + .q-blank-group { margin-top: 14px; }
.q-blank-label { font-size: 12px; letter-spacing: 2px; color: var(--gold-deep); text-align: center; margin-bottom: 8px; }
.q-option {
  font-family: var(--font-serif);
  font-size: 18px;
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(168, 127, 46, 0.4);
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  transition: all .16s ease;
  position: relative;
}
.q-option:hover:not(:disabled) { border-color: var(--gold-deep); background: #fbf4de; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(168, 127, 46, 0.18); }
.q-option:disabled { cursor: default; }
.q-option.right { background: #e2f3ea; border-color: var(--emerald); color: #14684c; animation: popIn .3s ease; }
.q-option.wrong { background: #fbe3e7; border-color: var(--rose); color: #a1374e; animation: shake .4s ease; }
.q-option .opt-key { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--ink-faint); border: 1px solid rgba(168, 127, 46, 0.35); border-radius: 6px; padding: 1px 6px; font-family: var(--font-ui); }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

.q-feedback { min-height: 30px; margin-top: 16px; font-size: 15px; color: var(--ink-soft); text-align: center; }
.q-feedback.good { color: #14684c; font-weight: 700; }
.q-feedback.bad { color: #a1374e; font-weight: 700; }
.q-feedback .fb-ref { font-family: var(--font-ui); font-size: 12px; color: var(--ink-faint); margin-left: 6px; font-weight: 400; }

.quiz-foot { display: flex; justify-content: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.quiz-config { margin-top: 26px; background: rgba(20, 28, 54, 0.5); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.config-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.config-row + .config-row { margin-top: 14px; }
.config-label { font-size: 13px; letter-spacing: 2px; color: var(--text-dim); width: 70px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  transition: all .15s ease;
}
.seg button:hover { color: var(--text); border-color: rgba(226, 185, 90, 0.5); }
.seg button.on { background: rgba(226, 185, 90, 0.18); border-color: var(--gold); color: var(--gold-bright); font-weight: 700; }

/* 浮动加分 */
.float-score {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  pointer-events: none;
  animation: floatUp 1s ease-out forwards;
  z-index: 30;
}
@keyframes floatUp {
  0% { opacity: 0; transform: translateY(8px) scale(.8); }
  20% { opacity: 1; transform: translateY(0) scale(1.1); }
  100% { opacity: 0; transform: translateY(-46px) scale(1); }
}

/* ============ 拼图 ============ */
.scr-progress-wrap { margin: 18px 0; height: 8px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.scr-progress { height: 100%; width: 0%; background: var(--gold-grad); border-radius: 5px; transition: width .4s ease; }
.scr-stage { padding: 28px 30px 24px; }
.scr-ref { text-align: center; font-size: 12px; color: var(--ink-faint); letter-spacing: 2px; margin-bottom: 10px; }
.scr-answer {
  min-height: 64px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center;
  padding: 12px;
  border: 2px dashed rgba(168, 127, 46, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.3);
  margin-bottom: 18px;
}
.scr-placeholder { color: var(--ink-faint); font-family: var(--font-serif); }
.scr-pool { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; min-height: 60px; }
.scr-tile {
  font-family: var(--font-serif);
  font-size: 18px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(168, 127, 46, 0.5);
  background: linear-gradient(180deg, #fbf4de, #f0e4c4);
  color: var(--ink);
  box-shadow: 0 3px 0 rgba(168, 127, 46, 0.35);
  transition: transform .14s ease, box-shadow .14s ease, opacity .2s ease;
  animation: tileIn .35s ease both;
}
.scr-tile:hover { transform: translateY(-3px); box-shadow: 0 6px 0 rgba(168, 127, 46, 0.3), 0 10px 18px rgba(0, 0, 0, 0.25); }
.scr-tile:active { transform: translateY(1px); }
.scr-tile.used { opacity: 0; transform: scale(.4); pointer-events: none; }
.scr-tile.placed { border-color: var(--emerald); background: #e9f6ef; color: #14684c; box-shadow: 0 3px 0 rgba(84, 201, 168, 0.4); }
.scr-tile.flash { animation: tileFlash .35s ease; }
.scr-tile.bad { border-color: var(--rose); background: #fbe3e7; animation: shake .4s ease; }
@keyframes tileIn { from { opacity: 0; transform: scale(.7) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes tileFlash { 0%, 100% { box-shadow: 0 3px 0 rgba(84, 201, 168, 0.4); } 50% { box-shadow: 0 3px 0 rgba(84, 201, 168, 0.4), 0 0 18px rgba(84, 201, 168, 0.8); } }

/* ============ 成就页 ============ */
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 22px; }
.ach-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(20, 28, 54, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: transform .2s ease;
}
.ach-item:hover { transform: translateY(-3px); }
.ach-item.unlocked { border-color: rgba(226, 185, 90, 0.55); box-shadow: 0 0 18px rgba(226, 185, 90, 0.15); }
.ach-item.locked { opacity: .42; filter: grayscale(1); }
.ach-ico-big { font-size: 32px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)); }
.ach-item h3 { font-size: 15px; color: var(--gold-bright); margin-bottom: 4px; font-family: var(--font-display); letter-spacing: 1px; }
.ach-item p { font-size: 12px; color: var(--text-dim); line-height: 1.6; }

/* ============ 读经器 ============ */
.reader-panel {
  width: min(720px, 94vw);
  max-height: 86vh;
  display: flex; flex-direction: column;
  padding: 26px 30px 20px;
  animation: popIn .35s cubic-bezier(.22, 1.2, .3, 1) both;
}
.reader-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.reader-head h2 { font-family: var(--font-display); font-size: 24px; color: var(--ink); }
.reader-nav { display: flex; gap: 8px; }
.reader-body { overflow-y: auto; padding-right: 6px; }
.reader-body p { font-family: var(--font-serif); font-size: 17px; line-height: 2.1; color: var(--ink); margin-bottom: 14px; }
.reader-body p .vnum { color: var(--gold-deep); font-family: var(--font-ui); font-size: 11px; margin-right: 6px; vertical-align: super; }

/* ============ 弹窗 ============ */
.modal-panel { width: min(560px, 94vw); max-height: 84vh; overflow-y: auto; padding: 30px 30px 24px; animation: popIn .35s cubic-bezier(.22, 1.2, .3, 1) both; }
.modal-panel h2 { font-family: var(--font-display); font-size: 26px; color: var(--ink); margin-bottom: 14px; }
.modal-body { font-size: 14.5px; line-height: 1.9; color: var(--ink-soft); }
.modal-body h3 { font-family: var(--font-display); color: var(--gold-deep); font-size: 17px; margin: 16px 0 6px; }
.modal-foot { margin-top: 20px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============ Toast ============ */
.toast {
  position: fixed; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 95;
  background: rgba(12, 18, 36, 0.92);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(226, 185, 90, 0.25);
  animation: toastIn .3s cubic-bezier(.22, 1.2, .3, 1) both;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.toast.out { animation: toastOut .3s ease both; }
@keyframes toastOut { to { opacity: 0; transform: translate(-50%, 10px); } }

/* 结果弹层（quiz 内联结果） */
.result-panel { text-align: center; padding: 10px 0 4px; }
.result-title { font-family: var(--font-display); font-size: 34px; letter-spacing: 2px; color: var(--gold-deep); margin: 8px 0; }
.result-stars { font-size: 30px; letter-spacing: 6px; margin: 8px 0; }
.result-stats { display: flex; justify-content: center; gap: 30px; margin: 16px 0 20px; flex-wrap: wrap; }
.result-stat { text-align: center; }
.result-stat .rv { font-family: var(--font-display); font-size: 26px; color: var(--ink); }
.result-stat .rl { font-size: 11px; color: var(--ink-faint); letter-spacing: 2px; }

/* ============ 属灵争战 ============ */
.battle-arena {
  position: relative;
  max-width: 760px;
  margin: 18px auto 0;
  background: radial-gradient(90% 70% at 50% 0%, rgba(90, 30, 30, 0.25), transparent 70%),
    linear-gradient(180deg, rgba(24, 14, 26, 0.55), rgba(10, 12, 26, 0.65));
  border: 1px solid rgba(255, 95, 69, 0.25);
  border-radius: 22px;
  padding: 20px 20px 16px;
  overflow: hidden;
}
.arena-flash {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 5;
  background: radial-gradient(80% 80% at 50% 20%, rgba(255, 230, 150, 0.55), transparent 70%);
}
.arena-flash.holy { animation: holyFlash .5s ease-out; }
@keyframes holyFlash { 0% { opacity: 1; } 100% { opacity: 0; } }
.arena-flash.dark { background: radial-gradient(90% 90% at 50% 30%, rgba(180, 20, 30, 0.5), transparent 75%); animation: darkFlash .45s ease-out; }
@keyframes darkFlash { 0% { opacity: 1; } 100% { opacity: 0; } }

.battle-devil-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.devil-avatar-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.devil-avatar {
  font-size: 58px;
  line-height: 1;
  filter: drop-shadow(0 0 14px rgba(255, 60, 40, 0.55));
  animation: devilBob 2.6s ease-in-out infinite;
  transition: transform .3s ease;
}
@keyframes devilBob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-7px) rotate(3deg); } }
.devil-avatar.hurt { animation: devilHurt .5s ease; }
@keyframes devilHurt {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-9px) rotate(-8deg); }
  40% { transform: translateX(8px) rotate(6deg); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(4px); }
}
.devil-avatar.phase2 { font-size: 66px; filter: drop-shadow(0 0 20px rgba(255, 90, 30, 0.8)); }
.devil-avatar.phase3 { font-size: 74px; filter: drop-shadow(0 0 26px rgba(255, 40, 20, 0.95)); animation-duration: 1.2s; }
.devil-avatar.flee { animation: devilFlee .9s ease-in forwards; }
@keyframes devilFlee { to { transform: translateX(130vw) rotate(720deg); opacity: 0; } }
.devil-name { font-size: 11px; color: var(--text-dim); letter-spacing: 2px; }

.devil-side { flex: 1; min-width: 0; position: relative; }
.bubble {
  position: relative;
  background: linear-gradient(180deg, #2a2040, #1c1530);
  border: 1px solid rgba(255, 95, 69, 0.35);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #f3e3e3;
  min-height: 52px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.bubble::before {
  content: "";
  position: absolute; left: -8px; top: 22px;
  border: 8px solid transparent;
  border-right-color: #2a2040;
}
.bubble.pop { animation: bubblePop .3s cubic-bezier(.22, 1.4, .3, 1); }
@keyframes bubblePop { from { transform: scale(.9); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.bubble.spirit {
  background: linear-gradient(180deg, #23352c, #14241e);
  border-color: rgba(84, 201, 168, 0.4);
  color: #d9f5e9;
}
.bubble.spirit::before { border-right-color: #23352c; }

.hp-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.hp-row .hp-label { font-size: 12px; color: var(--text-dim); letter-spacing: 2px; white-space: nowrap; }
.hp-bar { flex: 1; height: 14px; border-radius: 8px; background: rgba(0, 0, 0, 0.45); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); }
.hp-fill { height: 100%; border-radius: 8px; transition: width .5s cubic-bezier(.22, .8, .3, 1); }
.devil-hp { background: linear-gradient(90deg, #ff5f45, #c92a1e); box-shadow: 0 0 10px rgba(255, 95, 69, 0.7); }
.faith-hp { background: linear-gradient(90deg, #ffe9b0, #e2b95a); box-shadow: 0 0 10px rgba(226, 185, 90, 0.7); }
.hp-num { font-size: 13px; color: var(--text); min-width: 30px; text-align: right; font-weight: 700; }

.battle-stage { padding: 22px 26px 18px; margin: 2px 0 14px; }
.powerup-banner {
  margin: 0 0 14px;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(84, 201, 168, 0.16), rgba(226, 185, 90, 0.16));
  border: 1px solid rgba(84, 201, 168, 0.45);
  color: var(--ink);
  font-size: 14px;
  text-align: center;
  animation: popIn .35s cubic-bezier(.22, 1.2, .3, 1);
}
.battle-scene {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 10px;
  padding: 0 6px;
}
.battle-scene .scene-theme {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--rose);
  border: 1px solid rgba(240, 93, 126, 0.5);
  border-radius: 999px;
  padding: 2px 12px;
  font-family: var(--font-ui);
  font-weight: 700;
}
.battle-player-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; position: relative; }
.battle-player-row .hp-row { flex: 1; margin-top: 0; min-width: 200px; }
.faith-status { font-size: 12px; color: var(--emerald); letter-spacing: 1px; white-space: nowrap; }

.devil-intro-avatar { font-size: 60px; text-align: center; filter: drop-shadow(0 0 18px rgba(255, 60, 40, 0.6)); }
.battle-intro-tip { font-size: 13px; color: var(--ink-soft); line-height: 2; margin-top: 10px; }

.float-dmg {
  position: absolute;
  font-weight: 800;
  font-family: var(--font-display);
  pointer-events: none;
  z-index: 20;
  animation: dmgUp .9s ease-out forwards;
}
@keyframes dmgUp {
  0% { opacity: 0; transform: translateY(6px) scale(.7); }
  25% { opacity: 1; transform: translateY(-4px) scale(1.25); }
  100% { opacity: 0; transform: translateY(-40px) scale(1); }
}

.epilogue-devil-line { font-size: 14px; color: var(--ink-soft); margin: 8px 0 4px; }
.epilogue-spirit { margin-top: 16px; }
.epilogue-spirit .bubble { text-align: left; margin-top: 8px; animation: popIn .4s ease both; }
.epilogue-spirit .bubble:nth-child(2) { animation-delay: .5s; }
.epilogue-spirit .bubble:nth-child(3) { animation-delay: 1s; }
.epilogue-verse {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(168, 127, 46, 0.4);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.35);
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 2;
  color: var(--ink);
  animation: popIn .5s ease 1.4s both;
}
.epilogue-verse .ep-ref { display: block; font-size: 12px; color: var(--gold-deep); font-family: var(--font-ui); letter-spacing: 2px; margin-top: 6px; }
.epilogue-title { font-family: var(--font-display); font-size: 30px; color: var(--gold-deep); margin: 10px 0 4px; animation: popIn .4s ease; }

/* ============ 账号弹窗 ============ */
.acc-form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.acc-form label { font-size: 12px; color: var(--ink-faint); letter-spacing: 2px; }
.acc-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(168, 127, 46, 0.45);
  background: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  font-family: var(--font-ui);
  color: var(--ink);
  outline: none;
}
.acc-input:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(226, 185, 90, 0.25); }
.acc-note { font-size: 12px; color: var(--ink-faint); line-height: 1.8; }
.acc-divider { margin: 16px 0 12px; border: none; border-top: 1px dashed rgba(168, 127, 46, 0.4); }
.acc-code { width: 100%; min-height: 60px; font-size: 11px; word-break: break-all; padding: 8px 10px; border-radius: 8px; border: 1.5px dashed rgba(168, 127, 46, 0.5); background: rgba(255, 255, 255, 0.4); color: var(--ink-soft); font-family: monospace; resize: vertical; }
.acc-current {
  display: flex; align-items: center; gap: 10px;
  background: rgba(84, 201, 168, 0.12);
  border: 1px solid rgba(84, 201, 168, 0.45);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink);
}
.parchment .seg button { color: var(--ink-soft); border-color: rgba(168, 127, 46, 0.45); background: rgba(255, 255, 255, 0.35); }
.parchment .seg button.on { background: rgba(226, 185, 90, 0.3); color: var(--gold-deep); border-color: var(--gold); font-weight: 700; }
#account-btn.on { border-color: var(--emerald); background: rgba(84, 201, 168, 0.18); }

/* ============ 彩蛋：敬拜时刻 ============ */
#worship-overlay { background: rgba(2, 4, 10, 0.94); }
.worship-aurora {
  position: absolute; inset: 0;
  background: linear-gradient(115deg,
    rgba(84, 201, 168, 0.16), rgba(30, 60, 90, 0.12) 25%,
    rgba(162, 148, 242, 0.14) 50%, rgba(226, 185, 90, 0.13) 75%, rgba(84, 201, 168, 0.16));
  background-size: 320% 320%;
  animation: auroraShift 16s ease-in-out infinite;
  mix-blend-mode: screen;
  filter: blur(6px);
}
@keyframes auroraShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.worship-sky { position: absolute; inset: 0; overflow: hidden; }
.worship-verse-card {
  position: absolute;
  top: 104%;
  font-family: var(--font-serif);
  color: rgba(243, 210, 124, 0.92);
  text-shadow: 0 0 14px rgba(226, 185, 90, 0.65);
  white-space: nowrap;
  animation: worshipFloat linear both;
  pointer-events: none;
}
@keyframes worshipFloat {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 1; }
  90% { opacity: 0.9; }
  100% { transform: translateY(-125vh); opacity: 0; }
}
.worship-center { position: relative; z-index: 2; text-align: center; padding: 0 24px; }
.worship-title { font-family: var(--font-display); font-size: 40px; letter-spacing: 8px; color: var(--gold-bright); text-shadow: 0 0 24px rgba(226, 185, 90, 0.6); animation: titleGlow 4s ease-in-out infinite; }
.worship-verse-main { margin-top: 20px; font-family: var(--font-serif); font-size: 20px; line-height: 2; color: #f4efe0; }
.worship-ref { margin-top: 8px; font-size: 12px; letter-spacing: 3px; color: var(--text-dim); }
.worship-hint { margin-top: 34px; font-size: 12px; color: rgba(168, 159, 136, 0.75); letter-spacing: 2px; animation: hintPulse 2.4s ease-in-out infinite; }
@keyframes hintPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ============ 彩蛋：3:16 奇迹时刻 ============ */
#miracle-overlay { background: radial-gradient(80% 60% at 50% 40%, rgba(226, 185, 90, 0.16), rgba(3, 5, 12, 0.96) 70%); }
.miracle-rays {
  position: absolute; inset: -45%;
  background: repeating-conic-gradient(from 0deg, rgba(243, 210, 124, 0.15) 0deg 7deg, transparent 7deg 22deg);
  animation: raysSpin 26s linear infinite;
  mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 62%);
}
@keyframes raysSpin { to { transform: rotate(360deg); } }
.miracle-center { position: relative; z-index: 2; text-align: center; padding: 0 24px; }
.miracle-big {
  font-family: var(--font-display);
  font-size: clamp(52px, 10vw, 96px);
  letter-spacing: 12px;
  background: linear-gradient(180deg, #fff6d8 0%, #f3d27c 45%, #c99a3f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: titleGlow 3s ease-in-out infinite;
}
.miracle-verse { margin-top: 22px; font-family: var(--font-serif); font-size: 21px; line-height: 2.2; color: #f4efe0; text-shadow: 0 0 18px rgba(226, 185, 90, 0.5); animation: popIn .8s ease .3s both; }
.miracle-ref { margin-top: 10px; font-size: 13px; letter-spacing: 4px; color: var(--gold-bright); animation: popIn .8s ease .7s both; }

/* ============ 彩蛋：全经之光终章 ============ */
#finale-overlay { background: radial-gradient(90% 70% at 50% 45%, rgba(30, 40, 80, 0.55), rgba(2, 3, 8, 0.97) 75%); }
.finale-sky { position: absolute; inset: 0; overflow: hidden; }
.finale-dot {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6d8, #e2b95a 70%);
  box-shadow: 0 0 10px rgba(226, 185, 90, 0.9);
  opacity: 0.25;
  transition: left 1.5s cubic-bezier(.18, .75, .3, 1), top 1.5s cubic-bezier(.18, .75, .3, 1), opacity 1.2s ease;
}
.finale-dot.lit { opacity: 1; animation: crossGlow 2.2s ease-in-out infinite; }
@keyframes crossGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(226, 185, 90, 0.7); }
  50% { box-shadow: 0 0 22px rgba(255, 236, 170, 1), 0 0 46px rgba(226, 185, 90, 0.6); }
}
.finale-center { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 720px; }
.finale-title { font-family: var(--font-display); font-size: clamp(34px, 7vw, 56px); letter-spacing: 10px; color: var(--gold-bright); text-shadow: 0 0 30px rgba(226, 185, 90, 0.8); animation: titleGlow 3s ease-in-out infinite; margin-bottom: 20px; }
.finale-verse { font-family: var(--font-serif); font-size: 22px; line-height: 2.3; color: #f6f1e0; text-shadow: 0 0 16px rgba(226, 185, 90, 0.45); min-height: 3.2em; }
.finale-ref { margin-top: 12px; font-size: 13px; letter-spacing: 4px; color: var(--gold-bright); }
#finale-close { margin-top: 26px; }

/* ============ 牧者时刻（战斗彩蛋） ============ */
.shepherd-scene {
  margin-top: 16px;
  padding: 18px 16px 14px;
  border-radius: 14px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(84, 201, 168, 0.22), rgba(12, 24, 30, 0.85));
  border: 1px solid rgba(84, 201, 168, 0.4);
  animation: popIn .6s ease;
}
.shepherd-sheep { font-size: 26px; letter-spacing: 10px; text-align: center; margin-bottom: 10px; animation: sheepGlow 2.4s ease-in-out infinite; }
@keyframes sheepGlow { 0%, 100% { filter: drop-shadow(0 0 4px rgba(84, 201, 168, 0.4)); } 50% { filter: drop-shadow(0 0 16px rgba(84, 201, 168, 0.9)); } }
.shepherd-verse { font-family: var(--font-serif); font-size: 18px; line-height: 2.2; color: #eef7ef; min-height: 2.4em; }
.shepherd-ref { text-align: right; font-size: 12px; color: var(--emerald); letter-spacing: 2px; margin-top: 6px; }

/* ============ 响应式 ============ */
@media (max-width: 860px) {
  .mode-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .mode-grid { grid-template-columns: 1fr; }
  .q-options { grid-template-columns: 1fr; }
  .daily-text { font-size: 18px; }
  .q-verse { font-size: 18px; }
  .hero-title { letter-spacing: 6px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .devil-avatar { font-size: 44px; }
}
