/* ============================================================
   《月圆玩梗夜》topic.css — 国潮夜宴设计系统
   基调：黛夜蓝底 + 朱漆红 + 金桂 + 月白 · display=站酷快乐体
   仅放本题专属样式；设计 token 在 engine/theme.css 的 [data-theme=midautumn]
   ============================================================ */

/* ---- display 字体：站酷快乐体子集（package 前由 fonttools 子集化落 vendor/fonts） ---- */
@font-face {
  font-family: "ZCOOL KuaiLe";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../vendor/fonts/ZCOOLKuaiLe-subset.woff2") format("woff2");
}

/* ============ 夜空画布 ============ */
.h5-app {
  background:
    radial-gradient(120% 60% at 50% -8%, #2a3a66 0%, rgba(42,58,102,0) 46%),
    radial-gradient(60% 30% at 78% 12%, rgba(240,178,74,.16) 0%, rgba(240,178,74,0) 60%),
    linear-gradient(180deg, #131c37 0%, #131c37 22%, #161f38 100%);
  overflow-x: hidden;
}
/* 星点（纯 CSS，禁 emoji）：极小圆点 + 呼吸 */
.sky { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sky i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: #fbeecb; opacity: .5; animation: twinkle var(--d,3s) ease-in-out infinite; animation-delay: var(--dl,0s);
}
@keyframes twinkle { 0%,100%{opacity:.22; transform:scale(1)} 50%{opacity:.85; transform:scale(1.5)} }
.cloud-band { position:absolute; left:0; right:0; z-index:0; pointer-events:none; opacity:.5; }

.page { position: relative; z-index: 1; padding: 0 18px calc(28px + env(safe-area-inset-bottom)); }

/* ============ 排版 ============ */
.t-display { font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; }
.t-gold {
  background: linear-gradient(180deg, #ffe6a6 0%, #f0b24a 52%, #d98f2e 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.eyebrow { font-size: 12px; letter-spacing: .28em; color: var(--brand-2); font-weight: 700; }

/* ============ 顶栏 ============ */
.app-bar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: linear-gradient(180deg, #161f38 62%, rgba(22,31,56,0));
}
.app-bar .bar-title { font-family: var(--font-display); font-size: 18px; color: var(--fg); }
.app-bar .bar-score {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; background: rgba(240,178,74,.12);
  border: 1px solid rgba(240,178,74,.3); color: var(--brand-2); font-weight: 800;
}
.app-bar .bar-score .num { color: var(--brand-2); }
.app-bar .ic-btn {
  width: 38px; height: 38px; border-radius: 12px; display: inline-grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--fg);
}

/* ============ 首页 · 主视觉月相（signature） ============ */
.hero { text-align: center; padding: 14px 0 6px; position: relative; }
.hero .kicker { font-size: 13px; color: var(--brand-2); letter-spacing: .3em; margin-bottom: 8px; }
.hero .title { font-family: var(--font-display); font-size: 40px; line-height: 1.1; margin: 2px 0 6px; }
.hero .subtitle { font-size: 13px; color: var(--muted); letter-spacing: .06em; }

/* 进度月相：full disk + 夜色 terminator 随 --phase(0..1) 由缺到圆 */
.moon-wrap {
  position: relative; width: 168px; height: 168px; margin: 8px auto 6px; border-radius: 50%;
  overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(240,178,74,.25), 0 0 48px 8px rgba(240,178,74,.28);
}
.moon-disk {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #fff6da 0%, #f3c363 46%, #dd9a34 82%, #c9862a 100%);
}
.moon-disk::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(10px 10px at 62% 40%, rgba(150,96,20,.20), transparent 60%),
    radial-gradient(16px 13px at 44% 62%, rgba(150,96,20,.16), transparent 62%),
    radial-gradient(8px 8px at 70% 66%, rgba(150,96,20,.16), transparent 60%);
}
.moon-shadow {
  position: absolute; inset: -2px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #1a2440 0%, #141d38 100%);
  transform: translateX(calc(var(--phase, .34) * 108%));
  filter: blur(1.5px);
  transition: transform 1.1s cubic-bezier(.4,0,.2,1);
}
.moon-halo {
  position: absolute; left: 50%; top: 50%; width: 240px; height: 240px; transform: translate(-50%,-50%);
  border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(240,178,74,.22) 0%, rgba(240,178,74,0) 66%);
}
.moon-caption { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.moon-caption b { color: var(--brand-2); font-family: var(--font-num); font-weight: 800; }

/* ============ 首页 · 灯笼统计条 ============ */
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 16px 0 6px; }
.stat-lantern {
  position: relative; text-align: center; padding: 16px 8px 14px; border-radius: 16px;
  background: linear-gradient(180deg, #7a2320, #5c1a17);
  border: 1px solid rgba(240,178,74,.34);
  box-shadow: inset 0 0 0 3px rgba(240,178,74,.10), 0 8px 20px rgba(0,0,0,.28);
}
.stat-lantern::before { content: ''; position: absolute; top: -8px; left: 50%; width: 2px; height: 8px; background: rgba(240,178,74,.5); transform: translateX(-50%); }
.stat-lantern::after { content: ''; position: absolute; bottom: -7px; left: 50%; width: 3px; height: 8px; background: var(--brand-2); transform: translateX(-50%); border-radius: 0 0 2px 2px; }
.stat-lantern .v { font-family: var(--font-num); font-size: 24px; font-weight: 800; color: #ffe6a6; line-height: 1; }
.stat-lantern .k { font-size: 11.5px; color: #f0cfa0; margin-top: 5px; letter-spacing: .04em; }

/* ============ 首页 · 灯谜长廊（关卡地图） ============ */
.gallery-head { display: flex; align-items: baseline; gap: 8px; margin: 22px 4px 4px; }
.gallery-head h2 { font-family: var(--font-display); font-size: 20px; color: var(--fg); }
.gallery-head span { font-size: 12px; color: var(--muted); }

.lantern-path { position: relative; padding: 14px 4px 4px; }
.lantern-path::before { content: ''; position: absolute; left: 6%; right: 6%; top: 8px; height: 2px; background: linear-gradient(90deg, transparent, rgba(240,178,74,.4) 12%, rgba(240,178,74,.4) 88%, transparent); }
.lantern-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 14px; }

.lantern-node {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 12px 14px; border-radius: 18px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .16s, border-color .16s, box-shadow .16s;
}
.lantern-node .lantern-body {
  position: relative; width: 60px; height: 66px; border-radius: 40% 40% 42% 42% / 46% 46% 40% 40%;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 26px; color: #fff2cf;
  border: 1.5px solid rgba(255,225,160,.5);
}
.lantern-body::before { content:''; position:absolute; top:-9px; width:14px; height:5px; border-radius:3px 3px 0 0; background:#caa24a; }
.lantern-body::after  { content:''; position:absolute; bottom:-10px; width:3px; height:11px; background:var(--brand-2); border-radius:0 0 3px 3px; }
.lantern-node .lantern-name { font-family: var(--font-display); font-size: 15px; color: var(--fg); }
.lantern-node .lantern-sub { font-size: 11px; color: var(--muted); margin-top: -3px; }

.lantern-node.is-clear .lantern-body { background: linear-gradient(180deg,#e0532b,#b23018); box-shadow: 0 0 22px rgba(240,178,74,.5), inset 0 0 12px rgba(255,220,150,.4); }
.lantern-node.is-current { border-color: var(--brand-2); box-shadow: 0 0 0 1px var(--brand-2), 0 10px 26px rgba(240,178,74,.22); }
.lantern-node.is-current .lantern-body { background: linear-gradient(180deg,#e86a2f,#c23a1a); box-shadow: 0 0 26px rgba(240,178,74,.6), inset 0 0 14px rgba(255,220,150,.5); animation: lantern-sway 3.2s ease-in-out infinite; }
.lantern-node.is-lock { opacity: .62; cursor: not-allowed; }
.lantern-node.is-lock .lantern-body { background: #2b3556; color: var(--muted); border-color: var(--border); }
.lantern-node.is-lock .lock-badge { position: absolute; top: 12px; right: 12px; color: var(--muted); }
@media (hover:hover) { .lantern-node:not(.is-lock):hover { transform: translateY(-3px); border-color: var(--brand-2); } }
.lantern-node:not(.is-lock):active { transform: scale(.97); }
@keyframes lantern-sway { 0%,100%{transform:rotate(-3deg)} 50%{transform:rotate(3deg)} }

.lantern-stars { display: inline-flex; gap: 2px; }
.lantern-stars .ic { width: 14px; height: 14px; }
.lantern-node .badge-cur { position:absolute; top:-8px; background:var(--brand); color:#fff; font-size:10px; font-weight:800; padding:2px 9px; border-radius:999px; box-shadow:0 4px 10px rgba(214,58,48,.4); }

/* ============ 答题页 ============ */
.quiz-top { display: flex; align-items: center; gap: 10px; padding: 6px 2px 12px; }
.quiz-progress { flex: 1; height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.quiz-progress > i { display:block; height:100%; border-radius:999px; background: linear-gradient(90deg,var(--brand-2),var(--brand)); transition: width .4s cubic-bezier(.4,0,.2,1); }
.quiz-meta { font-size: 12px; color: var(--muted); white-space: nowrap; }
.quiz-meta b { color: var(--brand-2); font-family: var(--font-num); }

.combo-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: #fff; padding: 3px 10px; border-radius: 999px; background: linear-gradient(135deg,#f0b24a,#e0532b); box-shadow: 0 4px 12px rgba(224,83,43,.4); }
.combo-badge .ic { width: 14px; height: 14px; }
@keyframes combo-pop { 0%{transform:scale(.4);opacity:0} 60%{transform:scale(1.18)} 100%{transform:scale(1);opacity:1} }
.combo-pop { animation: combo-pop .42s cubic-bezier(.2,1.3,.3,1); }

/* 题面：灯谜纸签（月白纸卡） */
.riddle-card {
  position: relative; margin: 6px 0 16px; padding: 22px 20px 24px; border-radius: 20px;
  background: linear-gradient(180deg,#f9f2e0,#f2e7cf); color: #3a2a18;
  box-shadow: 0 14px 34px rgba(0,0,0,.34); border: 1px solid #e6d5ad;
}
.riddle-card::before { content: ''; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); width: 46px; height: 10px; border-radius: 0 0 10px 10px; background: var(--brand); box-shadow: 0 3px 8px rgba(214,58,48,.5); }
.riddle-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; color: #b23018; background: rgba(214,58,48,.1); border: 1px solid rgba(214,58,48,.2); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.riddle-visual { text-align: center; margin: 6px 0 12px; }
.riddle-emoji { font-size: 58px; line-height: 1.15; letter-spacing: 6px; }
.riddle-pic { width: 158px; height: 158px; margin: 0 auto; border-radius: 16px; display:grid; place-items:center; background: #fff; border: 1px solid #e6d5ad; overflow: hidden; }
.riddle-pic svg { width: 82%; height: 82%; }
.riddle-q { font-family: var(--font-display); font-size: 21px; text-align: center; color: #2c1f12; line-height: 1.5; }
.riddle-hint-count { text-align:center; font-size: 12px; color:#9a7d52; margin-top: 8px; }

.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; cursor: pointer; background: var(--surface); border: 1.5px solid var(--border); color: var(--fg); font-weight: 600; font-size: 16px; transition: transform .12s, border-color .15s, background .15s; text-align: left; }
.opt .opt-key { width: 24px; height: 24px; flex-shrink:0; border-radius: 7px; display:grid; place-items:center; font-family:var(--font-num); font-size:13px; font-weight:800; background: rgba(240,178,74,.16); color: var(--brand-2); }
.opt:active { transform: scale(.97); }
.opt.is-picked { border-color: var(--brand-2); background: rgba(240,178,74,.1); }
.opt.is-right { border-color: var(--accent); background: rgba(99,176,111,.16); color: #d6f0d9; }
.opt.is-right .opt-key { background: var(--accent); color:#fff; }
.opt.is-wrong { border-color: var(--danger); background: rgba(224,87,74,.14); color:#ffd9d4; }
.opt.is-wrong .opt-key { background: var(--danger); color:#fff; }
.opt.is-dim { opacity: .5; }

.answer-slots { display:flex; justify-content:center; gap:10px; margin: 4px 0 14px; }
.slot { width: 52px; height: 58px; border-radius: 12px; display:grid; place-items:center; font-family: var(--font-display); font-size: 30px; color: var(--fg); background: var(--surface); border: 1.5px solid var(--border); }
.slot.filled { border-color: var(--brand-2); background: rgba(240,178,74,.08); }
.slot.cursor { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(240,178,74,.16); }
.tile-input { width: 100%; padding: 13px 16px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--border); color: var(--fg); font-size: 16px; text-align:center; }
.tile-input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(240,178,74,.14); }

.wordbank { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top: 4px; }
.wordbank .wk { min-width: 48px; height: 48px; padding: 0 10px; border-radius: 12px; font-family: var(--font-display); font-size: 22px; color: var(--fg); background: var(--surface); border: 1.5px solid var(--border); cursor: pointer; display:grid; place-items:center; transition: transform .1s; }
.wordbank .wk:active { transform: scale(.9); }
.wordbank .wk.used { opacity: .3; pointer-events: none; }

.hint-bubble { position: relative; margin: 14px 0 4px; padding: 12px 14px 12px 42px; border-radius: 14px; background: rgba(240,178,74,.1); border: 1px dashed rgba(240,178,74,.4); color: #f3dca6; font-size: 13.5px; line-height: 1.5; }
.hint-bubble .ic { position: absolute; left: 14px; top: 12px; color: var(--brand-2); }

.tool-row { display:flex; gap: 10px; margin-top: 14px; }
.tool-btn { flex: 1; display:inline-flex; align-items:center; justify-content:center; gap:6px; padding: 11px; border-radius: 12px; font-size: 13.5px; font-weight: 700; background: var(--surface); border: 1px solid var(--border); color: var(--fg); cursor:pointer; }
.tool-btn .ic { color: var(--brand-2); }
.tool-btn .cost { font-family: var(--font-num); color: var(--brand); font-weight: 800; }
.tool-btn:disabled { opacity: .45; }
.tool-btn:active { transform: scale(.97); }

/* ============ 答对 / 答错反馈 ============ */
.fb-mask { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(10,14,28,.5); animation: h5fade .2s ease; }
.fb-card { width: 100%; max-width: 320px; text-align: center; padding: 26px 22px 22px; border-radius: 22px; background: linear-gradient(180deg,#26315a,#1c2545); border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: fb-pop .42s cubic-bezier(.2,1.25,.3,1); }
@keyframes fb-pop { from{opacity:0; transform:translateY(14px) scale(.9)} to{opacity:1; transform:none} }
.fb-emblem { width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%; display:grid; place-items:center; }
.fb-correct .fb-emblem { background: radial-gradient(circle,#fff2cf,#f0b24a); color:#7a3d00; box-shadow: 0 0 0 6px rgba(240,178,74,.18), 0 0 40px rgba(240,178,74,.5); animation: bloom .5s ease; }
.fb-wrong .fb-emblem { background: #3a2440; }
@keyframes bloom { 0%{transform:scale(.4)} 60%{transform:scale(1.14)} 100%{transform:scale(1)} }
.fb-title { font-family: var(--font-display); font-size: 24px; margin-bottom: 4px; }
.fb-correct .fb-title { color: var(--brand-2); }
.fb-wrong .fb-title { color: #ff9a8f; }
.fb-answer { font-size: 15px; color: var(--fg); margin: 8px 0; }
.fb-answer b { font-family: var(--font-display); font-size: 22px; color: var(--brand-2); }
.fb-analysis { font-size: 13px; color: var(--muted); line-height: 1.6; background: rgba(0,0,0,.16); border-radius: 12px; padding: 10px 12px; margin: 10px 0 16px; }
.meme-pop { width: 118px; height: 118px; margin: 0 auto 8px; border-radius: 18px; overflow: hidden; background:#fff; display:grid; place-items:center; animation: meme-in .5s cubic-bezier(.2,1.3,.3,1); }
.meme-pop svg { width: 100%; height: 100%; }
@keyframes meme-in { 0%{transform:translateY(40px) rotate(-8deg); opacity:0} 100%{transform:none; opacity:1} }
.meme-text { font-family: var(--font-display); font-size: 16px; color:#ff9a8f; margin-bottom: 4px; }

.spark-burst { position: fixed; inset: 0; z-index: 61; pointer-events: none; }

/* ============ 汉兜三色进阶关 ============ */
.hanle-hint { text-align:center; font-size:13px; color:var(--muted); margin: 2px 0 12px; }
.hanle-board { display:flex; flex-direction:column; gap:9px; align-items:center; margin-bottom: 14px; }
.hanle-row { display:flex; gap:9px; }
.hanle-tile { width: 58px; height: 58px; border-radius: 12px; display:grid; place-items:center; font-family: var(--font-display); font-size: 30px; color: var(--fg); background: var(--surface); border: 2px solid var(--border); }
.hanle-tile.flip { animation: tile-flip .5s ease forwards; }
@keyframes tile-flip { 0%{transform:rotateX(0)} 50%{transform:rotateX(90deg)} 100%{transform:rotateX(0)} }
.hanle-tile.g { background: var(--accent); border-color: var(--accent); color:#fff; }
.hanle-tile.o { background: var(--brand-2); border-color: var(--brand-2); color:#3a2600; }
.hanle-tile.x { background: #37415f; border-color: #37415f; color:#8b93b4; }
.hanle-tile.cur { border-color: var(--brand-2); }
.pinyin-ref { display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin: 6px 0 4px; }
.pinyin-ref .py { font-family:var(--font-num); font-size:12px; padding:4px 9px; border-radius:8px; background:var(--surface); border:1px solid var(--border); color:var(--muted); }
.pinyin-ref .py.g{ background:rgba(99,176,111,.2); color:#a9e0b0; border-color:transparent }
.pinyin-ref .py.o{ background:rgba(240,178,74,.2); color:#f3d18a; border-color:transparent }
.pinyin-ref .py.x{ opacity:.4; text-decoration: line-through; }

/* ============ 结算页 ============ */
.result-wrap { text-align:center; padding: 20px 0 8px; }
.result-moon { position: relative; width: 120px; height:120px; margin: 6px auto 14px; border-radius:50%; background: radial-gradient(circle at 38% 34%, #fff6da, #f0b24a 62%, #d9962f); box-shadow: 0 0 46px rgba(240,178,74,.5); }
.result-title { font-family: var(--font-display); font-size: 26px; color: var(--fg); }
.result-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.star-reveal { display:flex; justify-content:center; gap: 12px; margin: 16px 0; }
.star-reveal .ic { width: 46px; height: 46px; color: var(--border); fill: var(--border); }
.star-reveal .ic.on { color: var(--brand-2); fill: var(--brand-2); animation: star-in .5s cubic-bezier(.2,1.4,.3,1) both; filter: drop-shadow(0 4px 12px rgba(240,178,74,.5)); }
.star-reveal .ic.on:nth-child(2){ animation-delay:.14s } .star-reveal .ic.on:nth-child(3){ animation-delay:.28s }
@keyframes star-in { 0%{transform:scale(0) rotate(-40deg); opacity:0} 100%{transform:none; opacity:1} }
.result-stats { display:grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 12px 0 18px; }
.result-stat { padding: 14px 8px; border-radius: 14px; background: var(--surface); border:1px solid var(--border); }
.result-stat .v { font-family: var(--font-num); font-size: 22px; font-weight: 800; color: var(--brand-2); }
.result-stat .k { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

/* ============ 玩梗战绩卡（分享） ============ */
.share-poster { position: relative; margin: 8px auto; width: 100%; max-width: 340px; border-radius: 22px; overflow:hidden; background: linear-gradient(180deg,#1d2748 0%,#141d38 100%); border: 1px solid rgba(240,178,74,.3); box-shadow: var(--shadow-lg); }
.share-poster .p-inner { position: relative; padding: 26px 22px 22px; }
.share-poster .p-seal { position:absolute; top: 18px; right: 18px; width: 52px; height: 52px; border-radius: 10px; border: 2px solid var(--brand); color: var(--brand); display:grid; place-items:center; font-family: var(--font-display); font-size: 13px; line-height:1.1; text-align:center; transform: rotate(-6deg); }
.share-poster .p-title { font-family: var(--font-display); font-size: 30px; }
.share-poster .p-name { font-size: 13px; color: var(--muted); margin: 2px 0 16px; letter-spacing:.06em; }
.share-poster .p-moon { width: 92px; height:92px; margin: 4px auto 14px; border-radius:50%; background: radial-gradient(circle at 38% 34%, #fff6da, #f0b24a 60%, #d9962f); box-shadow: 0 0 40px rgba(240,178,74,.5); }
.share-poster .p-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 16px; }
.share-poster .p-cell { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--border); }
.share-poster .p-cell .v { font-family: var(--font-num); font-size: 20px; font-weight: 800; color: var(--brand-2); }
.share-poster .p-cell .k { font-size: 11px; color: var(--muted); }
.share-poster .p-foot { display:flex; align-items:center; justify-content:space-between; font-size: 11px; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 12px; }

/* ============ 通用小件 ============ */
.divider-title { display:flex; align-items:center; gap:12px; margin: 22px 4px 12px; color: var(--muted); font-size: 13px; }
.divider-title::before, .divider-title::after { content:''; flex:1; height:1px; background: linear-gradient(90deg,transparent,var(--border),transparent); }
.cta-fixed { position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(0deg,#161f38 68%, rgba(22,31,56,0)); z-index: 15; }
.pill { display:inline-flex; align-items:center; gap:5px; font-size:12px; padding:4px 11px; border-radius:999px; background:rgba(255,255,255,.06); border:1px solid var(--border); color:var(--muted); }
.rule-list { margin: 0; padding-left: 2px; list-style: none; }
.rule-list li { position: relative; padding: 7px 0 7px 24px; font-size: 14px; color: var(--fg); line-height:1.5; }
.rule-list li .ic { position:absolute; left:0; top:8px; color: var(--brand-2); }

@media (prefers-reduced-motion: reduce) {
  .sky i, .lantern-node.is-current .lantern-body { animation: none; }
  .moon-shadow { transition: none; }
}
