/* ===== v3：闯关地图 / 小帅认证 / 变帅天数 / 排行榜 / 型币页 ===== */
:root { --wine:#7A2632; --wine-d:#64202A; --deep:#2A2522; --line-accent:#D6C3A0; --sunken:#EFE9E1; --surface:#FCFAF7; }
.ic { width:20px; height:20px; flex:none; }
.ic-s { width:16px; height:16px; } .ic-xs { width:12px; height:12px; } .flip { transform:rotate(180deg); }
.ico, .nav-icon { display:inline-grid; place-items:center; }
.ico .ic { width:15px; height:15px; color:var(--wine); }
.days-chip small:first-of-type { margin-left:1px; color:var(--ink); font-size:11px; }
.coin-img { width:18px; height:18px; }
.stat-chip.bump { animation:bump .5s ease; }
@keyframes bump { 40% { transform:scale(1.18); } }
.bottom-nav .nav-icon .ic { width:20px; height:20px; }
.serif, .v3-goal .goal-title, .rank-head h1, .ov-hero h1, .cert-hero h1, .lucky-hero h1, .look-h, .days-big b { font-family:"Songti SC","Noto Serif SC",serif; }
#toast { top:84px; bottom:auto; transform:translate(-50%,-8px); z-index:90; }
#toast.show { transform:translate(-50%,0); }
.link { background:none; padding:2px 0; color:var(--wine); font-size:12px; font-weight:700; }
.mini-btn { padding:6px 10px; border:1px solid var(--line-accent); border-radius:999px; background:transparent; font-size:11px; font-weight:700; white-space:nowrap; }
.primary:disabled { opacity:.4; }
.wide { width:100%; margin-top:10px; }
.fine { color:var(--muted); font-size:11px; line-height:1.6; margin:10px 2px; }
.eyebrow.light { color:#cdbfae; }
.notice.ok { background:#eef6f1; color:#2f6a52; }

/* 目标卡 */
.v3-goal { background:linear-gradient(135deg,#2A2522,#4a2a2f); border:0; color:#F2EDE4; margin-top:2px; }
.v3-goal:after { border-color:rgba(196,162,106,.16); }
.v3-goal .goal-top { position:relative; z-index:1; display:flex; justify-content:space-between; align-items:flex-start; }
.v3-goal .goal-title { font-size:22px; color:#fff; }
.v3-goal p { color:#B3A99C; }
.v3-goal .progress-track { background:rgba(255,255,255,.18); position:relative; z-index:1; }
.v3-goal .progress-track i { background:var(--gold); }
.overview-btn { display:inline-flex; align-items:center; gap:4px; padding:6px 10px; border:1px solid rgba(214,195,160,.55); border-radius:999px; background:transparent; color:#F2EDE4; font-size:12px; }
.goal-continue { position:relative; z-index:1; margin-top:13px; background:none; color:#E9D7B4; font-size:13px; font-weight:700; padding:0; }

/* 闯关地图 */
.map { position:relative; width:350px; max-width:100%; margin:14px auto 0; }
.map-lines { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.map-lines path { fill:none; stroke-width:2.5; stroke-linecap:round; }
.seg-todo { stroke:var(--line-accent); stroke-dasharray:2 7; }
.seg-done { stroke:var(--wine); }
.seg-fork { stroke:#cfc3b0; stroke-dasharray:2 7; }
.region { position:absolute; left:-6px; right:-6px; border-radius:20px; background:rgba(239,233,225,.55); }
.region-label { position:absolute; left:12px; top:9px; display:flex; gap:7px; align-items:baseline; }
.region-label b { font-size:12px; } .region-label small { color:var(--muted); font-size:10px; }
.mnode { position:absolute; width:58px; height:58px; margin:-29px 0 0 -29px; padding:0; background:none; z-index:2; }
.mnode .shape { position:absolute; inset:0; display:grid; place-items:center; background:#d9d0c3; }
.mnode .fill { width:calc(100% - 5px); height:calc(100% - 5px); display:grid; place-items:center; background:var(--sunken); color:#a59a8b; }
.mnode .fill .ic { width:22px; height:22px; }
.k-lesson .shape, .k-lesson .fill { border-radius:50%; }
.k-photo .shape, .k-photo .fill { clip-path:polygon(25% 4%,75% 4%,100% 50%,75% 96%,25% 96%,0 50%); }
.k-archive .shape, .k-archive .fill { clip-path:polygon(50% 0,96% 14%,92% 62%,50% 100%,8% 62%,4% 14%); }
.k-chest .shape, .k-chest .fill { border-radius:14px; }
.k-chest .shape { background:var(--gold); } .k-chest .fill { background:#f6eedd; color:#a5803f; }
.k-cert { width:96px; height:96px; margin:-48px 0 0 -48px; }
.k-cert .shape, .k-cert .fill { border-radius:50%; }
.k-cert .shape { background:conic-gradient(var(--gold),#e9d7b4,var(--gold),#a5803f,var(--gold)); }
.k-cert .fill { width:calc(100% - 10px); height:calc(100% - 10px); background:#fbf6ec; color:#a5803f; }
.k-cert .fill .ic { width:40px; height:40px; }
.mnode.done .shape { background:var(--wine-d); } .mnode.done .fill { background:var(--wine); color:#fff; }
.mnode.current { transform:scale(1.15); }
.mnode.current .shape { background:var(--wine); animation:pulse 1.8s ease-out infinite; }
.mnode.current .fill { background:#fff; color:var(--wine); }
.k-cert.current .fill { color:var(--wine); }
@keyframes pulse { 0% { box-shadow:0 0 0 0 rgba(122,38,50,.35); } 70% { box-shadow:0 0 0 14px rgba(122,38,50,0); } }
.k-lesson.current .shape { border-radius:50%; }
.k-photo.current .shape, .k-archive.current .shape { animation:none; filter:drop-shadow(0 0 7px rgba(122,38,50,.45)); }
.you { position:absolute; left:50%; top:-26px; transform:translateX(-50%); padding:2px 7px; border-radius:999px; background:var(--wine); color:#fff; font-size:10px; font-weight:800; white-space:nowrap; }
.you:empty { display:none; }
.you:after { content:""; position:absolute; left:50%; bottom:-4px; margin-left:-4px; border:4px solid transparent; border-top-color:var(--wine); border-bottom:0; }
.mlabel { position:absolute; left:50%; top:60px; display:flex; flex-direction:column; align-items:center; gap:1px; width:96px; margin-left:-48px; text-align:center; line-height:1.25; pointer-events:none; }
.mnode.current .mlabel { top:58px; }
.mlabel b, .mlabel small { display:inline-block; padding:0 4px; border-radius:6px; background:rgba(244,240,234,.92); }
.mlabel b { font-size:11px; color:var(--ink); } .mlabel small { font-size:10px; color:var(--muted); }
.mnode.locked .mlabel b { color:var(--muted); }
.cert-title { position:absolute; left:0; right:0; text-align:center; font-size:12px; font-weight:800; }
.cert-conds { position:absolute; left:0; right:0; margin-top:20px; display:flex; flex-wrap:wrap; justify-content:center; gap:5px 10px; }
.cert-conds span { padding:1px 4px; border-radius:6px; background:var(--paper); display:inline-flex; align-items:center; gap:4px; font-size:10px; color:var(--muted); }
.cert-conds span i { width:7px; height:7px; border-radius:50%; border:1.5px solid var(--line-accent); }
.cert-conds span.ok { color:var(--wine); }
.fork-end { position:absolute; width:96px; margin-left:-48px; display:flex; flex-direction:column; align-items:center; gap:2px; padding:9px 4px; border:1px dashed var(--line-accent); border-radius:12px; background:var(--surface); color:var(--muted); z-index:2; }
.fork-end b { font-size:12px; color:var(--ink); } .fork-end small { font-size:10px; }
.fork-end.rec { border-style:solid; border-color:var(--gold); }
.fork-end.rec small { color:#8E6A33; font-weight:700; }
.path-note .link { margin-left:4px; }
#main { padding-bottom:150px; }

/* 今日 */
.days-card { padding:14px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.days-card.flat { margin-top:14px; }
.days-head { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; }
.days-head b { font-size:16px; } .days-head small { display:block; color:var(--muted); font-size:11px; margin-top:2px; }
.reward-strip { display:grid; grid-template-columns:repeat(6,1fr) 1.25fr; gap:5px; margin-top:12px; }
.rw { position:relative; height:54px; border-radius:11px; border:1px solid var(--line); background:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; padding:0; }
.rw b { font-size:13px; color:#8E6A33; } .rw small { font-size:9px; color:var(--muted); }
.rw.claimed { background:var(--sunken); border-color:transparent; color:var(--muted); }
.rw.today { border-color:var(--gold); border-width:1.5px; }
.rw.ready { background:var(--wine); border-color:var(--wine); animation:pulse 1.8s infinite; }
.rw.ready b, .rw.ready small { color:#fff; }
.rw-gift { position:absolute; right:3px; top:3px; color:#a5803f; }
.days-hint { margin:10px 0 0; font-size:12px; color:var(--muted); } .days-hint b { color:var(--wine); }
.task-card .task-check { display:grid; place-items:center; }
.task-card .task-arrow { margin-left:auto; color:var(--muted); background:none; }
.all-done { margin-top:9px; padding:10px; border-radius:12px; background:#eef6f1; color:#2f6a52; text-align:center; font-size:13px; font-weight:800; }
.row-card { width:100%; display:flex; align-items:center; gap:11px; padding:13px; border:1px solid var(--line); border-radius:13px; background:#fff; text-align:left; }
.row-card > span:nth-child(2) { flex:1; } .row-card b { display:block; font-size:13px; } .row-card small { display:block; color:var(--muted); font-size:11px; margin-top:2px; }
.row-ic { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:var(--sunken); color:var(--wine); }
.look-v3 { position:relative; border:1px solid var(--line); border-radius:16px; background:#fff; overflow:hidden; }
.look-swipe { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.look-swipe::-webkit-scrollbar { display:none; }
.look-slide { position:relative; flex:0 0 100%; scroll-snap-align:start; aspect-ratio:2/3; background:#f3efe9; }
.look-slide img { width:100%; height:100%; object-fit:contain; display:block; }
.side-tag { position:absolute; left:12px; top:12px; padding:3px 8px; border-radius:999px; background:rgba(255,255,255,.85); font-size:11px; }
.look-detail { position:absolute; right:12px; top:12px; padding:6px 11px; border-radius:999px; background:rgba(31,28,26,.78); color:#fff; font-size:12px; font-weight:700; }
.look-dots { display:flex; justify-content:center; gap:6px; margin-top:-22px; position:relative; }
.look-dots i { width:6px; height:6px; border-radius:50%; background:#cfc6ba; } .look-dots i.on { background:var(--wine); width:16px; border-radius:3px; }
.look-meta { padding:16px 14px 14px; } .look-meta h3 { margin:4px 0 5px; font-size:17px; } .look-meta p { margin:0; color:var(--muted); font-size:12px; line-height:1.6; }

/* 全屏页 */
.page-layer { position:fixed; inset:0; z-index:46; display:flex; justify-content:center; background:rgba(31,28,26,.45); }
.page { width:min(100%,520px); height:100%; display:flex; flex-direction:column; background:var(--paper); }
.page-top { height:52px; flex:none; display:grid; grid-template-columns:44px 1fr 44px; align-items:center; padding:0 8px; border-bottom:1px solid var(--line); }
.page-top strong { text-align:center; font-size:15px; }
.page-back { width:40px; height:40px; display:grid; place-items:center; background:none; }
.page-body { flex:1; overflow-y:auto; padding:16px 18px calc(40px + env(safe-area-inset-bottom)); }
.with-mine .page-body { padding-bottom:110px; }

/* 小帅认证 */
.cert-hero { text-align:center; padding:18px 10px 6px; }
.cert-seal { width:84px; height:84px; margin:0 auto; display:grid; place-items:center; border-radius:50%; border:4px solid var(--gold); background:#fbf6ec; color:#a5803f; }
.cert-seal .ic { width:40px; height:40px; }
.cert-hero.approved .cert-seal { background:var(--wine); color:#fff; border-color:#E9D7B4; }
.cert-hero h1 { margin:12px 0 6px; font-size:26px; } .cert-hero p { margin:0 auto; max-width:300px; color:var(--muted); font-size:12px; line-height:1.7; }
.cond-list { display:grid; gap:8px; margin:16px 0; }
.cond { display:flex; align-items:center; gap:10px; padding:12px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.cond > span:nth-child(2) { flex:1; } .cond b { display:block; font-size:13px; } .cond small { color:var(--muted); font-size:11px; }
.cond-ck { width:22px; height:22px; display:grid; place-items:center; border-radius:50%; border:1.5px solid var(--line-accent); }
.cond.done .cond-ck { background:var(--wine); border-color:var(--wine); color:#fff; }
.cond em { font-style:normal; color:var(--wine); font-size:11px; font-weight:700; }
.task-label { display:block; margin-top:14px; font-size:12px; font-weight:700; }
.task-label textarea, .ask-input { width:100%; min-height:80px; margin-top:6px; padding:11px; border:1px solid var(--line); border-radius:11px; font:inherit; font-size:13px; background:#fff; }
.reward-note { margin-top:14px; text-align:center; color:#8E6A33; font-size:12px; }

/* 全貌 */
.ov-hero { padding:18px; border-radius:16px; background:var(--deep); color:#F2EDE4; }
.ov-hero h1 { margin:6px 0; font-size:26px; } .ov-hero p { margin:0; color:#B3A99C; font-size:12px; line-height:1.7; }
.ov-seg, .ov-line { margin-top:12px; padding:12px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.ov-seg.here, .ov-line.rec { border-color:var(--gold); }
.ov-seg-head { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px; margin-bottom:6px; }
.ov-seg-head b { font-size:14px; } .ov-seg-head span { color:var(--muted); font-size:11px; }
.ov-seg-head em { font-style:normal; padding:2px 7px; border-radius:999px; background:var(--wine); color:#fff; font-size:10px; font-weight:800; }
.ov-line.rec .ov-seg-head em:first-of-type { background:#f6eedd; color:#8E6A33; }
.ov-mile { margin:12px 0 0; padding:11px; border-radius:12px; background:#fbf6ec; border:1px solid var(--gold); color:#8E6A33; font-size:13px; font-weight:800; display:flex; align-items:center; justify-content:center; gap:6px; }
.ov-fork { display:grid; gap:0; }
.ch { display:grid; grid-template-columns:58px 1fr auto; gap:8px; align-items:center; padding:8px 0; border-top:1px solid #f1ece5; }
.ch:first-of-type { border-top:0; }
.ch-no { font-size:11px; color:var(--muted); } .ch-t b { display:block; font-size:12px; font-weight:600; } .ch-t small { color:var(--muted); font-size:10px; }
.ch-st { font-size:10px; color:var(--muted); } .ch.open .ch-st { color:var(--wine); font-weight:700; }

/* 变帅天数 */
.days-big { display:flex; align-items:center; gap:12px; }
.ico-big { width:52px; height:52px; display:grid; place-items:center; border-radius:16px; background:var(--wine); color:#fff; }
.days-big b { display:block; font-size:24px; } .days-big small { color:var(--muted); font-size:12px; }
.cal { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; margin-top:16px; }
.cal i { aspect-ratio:1; border-radius:8px; background:var(--sunken); } .cal i.on { background:var(--wine); } .cal i.today { outline:2px solid var(--gold); outline-offset:1px; }
.rules h3 { margin:16px 0 4px; font-size:14px; } .rules p { margin:0; color:var(--muted); font-size:12px; line-height:1.7; }
.demo { border-style:dashed; color:var(--muted); margin-top:18px; }

/* 排行榜 */
.rank-head { padding:18px; border-radius:16px; background:var(--deep); color:#F2EDE4; }
.rank-head h1 { margin:5px 0 4px; font-size:22px; } .rank-head p { margin:0; color:#B3A99C; font-size:12px; }
.rank-count { margin-top:10px; font-size:12px; color:#B3A99C; } .rank-count b { color:#E9D7B4; font-size:15px; }
.rank-prize { margin-top:10px; display:flex; align-items:center; gap:6px; padding:9px 11px; border-radius:10px; background:rgba(196,162,106,.16); color:#E9D7B4; font-size:12px; }
.podium { display:grid; grid-template-columns:1fr 1.15fr 1fr; align-items:end; gap:8px; margin:18px 0 6px; }
.pod { display:flex; flex-direction:column; align-items:center; gap:3px; text-align:center; }
.pod b { font-size:12px; } .pod small { color:var(--muted); font-size:11px; }
.pod-av, .rank-av { width:44px; height:44px; display:grid; place-items:center; border-radius:50%; background:var(--sunken); border:2px solid var(--line-accent); font-weight:800; }
.pod.p1 .pod-av { width:56px; height:56px; border-color:var(--gold); background:#fbf6ec; }
.pod-base { width:100%; margin-top:5px; display:grid; place-items:center; border-radius:10px 10px 0 0; background:var(--sunken); font-weight:800; color:var(--muted); }
.pod.p1 .pod-base { height:62px; background:var(--wine); color:#fff; font-size:20px; } .pod.p2 .pod-base { height:46px; } .pod.p3 .pod-base { height:36px; }
.pod.me b { color:var(--wine); }
.rank-list { border:1px solid var(--line); border-radius:14px; background:#fff; overflow:hidden; }
.rank-row { display:grid; grid-template-columns:26px 36px 1fr auto; gap:9px; align-items:center; padding:10px 12px; border-top:1px solid #f1ece5; }
.rank-row:first-child { border-top:0; } .rank-row .rank-av { width:32px; height:32px; font-size:12px; }
.rank-row .rk { color:var(--muted); font-weight:800; text-align:center; } .rank-row .rn { font-size:13px; } .rank-row .rn small { display:block; color:var(--muted); font-size:10px; }
.rank-row.me { background:#f8eeef; }
.rank-mine { position:fixed; z-index:47; left:50%; bottom:0; transform:translateX(-50%); width:min(100%,520px); padding:12px 18px calc(14px + env(safe-area-inset-bottom)); background:var(--wine); color:#fff; }
.rank-mine b { display:block; font-size:14px; } .rank-mine small { color:#f0d6da; font-size:12px; }

/* 抽奖 */
.lucky-hero { padding:18px; border-radius:16px; background:var(--deep); color:#F2EDE4; }
.lucky-hero h1 { margin:5px 0 12px; font-size:22px; }
.lucky-prize { display:flex; gap:12px; align-items:center; padding:10px; border-radius:12px; background:rgba(255,255,255,.06); }
.lucky-prize img { width:70px; height:105px; object-fit:contain; background:#f3efe9; border-radius:8px; }
.lucky-prize b { display:block; font-size:14px; } .lucky-prize small { display:block; color:#B3A99C; font-size:12px; margin:3px 0 8px; } .lucky-prize .count { color:#E9D7B4; font-size:12px; }
.lucky-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:12px 0 4px; }
.lucky-stats div { padding:11px 6px; border:1px solid var(--line); border-radius:12px; background:#fff; text-align:center; }
.lucky-stats b { display:block; font-size:18px; } .lucky-stats small { color:var(--muted); font-size:10px; }
.winners { display:grid; gap:8px; } .winner { display:flex; gap:10px; align-items:center; padding:10px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.winner .rank-av { width:30px; height:30px; font-size:12px; } .winner b { display:block; font-size:13px; } .winner small { color:var(--muted); font-size:11px; }

/* 型币页 */
.coin-hero { padding:20px 18px; border-radius:16px; background:var(--deep); color:#F2EDE4; }
.coin-big { display:flex; align-items:center; gap:8px; margin-top:10px; } .coin-big img { width:34px; height:34px; } .coin-big b { font-size:36px; } .coin-big small { color:#B3A99C; }
.coin-hero p { margin:6px 0 0; color:#B3A99C; font-size:12px; }
.earn-list, .ledger { border:1px solid var(--line); border-radius:14px; background:#fff; overflow:hidden; }
.earn { display:grid; grid-template-columns:1fr auto auto; gap:10px; align-items:center; padding:11px 12px; border-top:1px solid #f1ece5; }
.earn:first-child, .led:first-child { border-top:0; }
.earn b, .led b { display:block; font-size:13px; font-weight:600; } .earn small, .led small { color:var(--muted); font-size:10px; }
.earn em, .led em { font-style:normal; color:#8E6A33; font-weight:800; font-size:12px; white-space:nowrap; }
.led { display:flex; justify-content:space-between; align-items:center; padding:11px 12px; border-top:1px solid #f1ece5; }
.led em.neg { color:var(--muted); }

/* 我的 */
.me-card { display:flex; align-items:center; gap:13px; padding:16px; border-radius:16px; background:var(--deep); color:#F2EDE4; }
.me-avatar { width:56px; height:56px; display:grid; place-items:center; border-radius:50%; background:var(--wine); border:2px solid var(--line-accent); font-size:22px; font-weight:800; color:#fff; }
.me-id { flex:1; } .me-id h2 { margin:0; font-size:18px; } .me-id p { margin:4px 0 0; color:#B3A99C; font-size:12px; }
.member-no { color:#E9D7B4; font-weight:800; letter-spacing:1px; }
.me-card .mini-btn { color:#F2EDE4; }
.profile-stat { font:inherit; color:inherit; }
.honor-v3 { display:flex; align-items:center; gap:12px; padding:13px; margin-bottom:9px; border:1px solid var(--line); border-radius:14px; background:#fff; cursor:pointer; }
.honor-art { width:54px; height:54px; flex:none; border-radius:50%; object-fit:cover; }
.cert-art { display:grid; place-items:center; border:3px solid var(--line-accent); background:var(--sunken); color:#a59a8b; }
.cert-art .ic { width:26px; height:26px; }
.honor-v3.on .cert-art { border-color:var(--gold); background:var(--wine); color:#fff; }
.honor-v3:not(.on) img.honor-art { filter:grayscale(.85); opacity:.75; }
.honor-body { flex:1; min-width:0; } .honor-body b { display:block; font-size:14px; } .honor-body small { color:var(--muted); font-size:11px; }
.honor-body .bar { display:block; height:5px; margin-top:7px; border-radius:9px; background:var(--sunken); overflow:hidden; } .honor-body .bar i { display:block; height:100%; background:var(--gold); }
.honor-cta { color:var(--wine); font-size:12px; font-weight:700; white-space:nowrap; }
.invite-row { display:flex; gap:8px; align-items:center; margin-top:9px; flex-wrap:wrap; }
.invite-row code { padding:4px 8px; border-radius:7px; background:var(--sunken); font-size:11px; }
.profile-summary { width:100%; display:block; padding:14px; border:1px solid var(--line); border-radius:14px; background:#fff; text-align:left; }
.profile-summary b { font-size:16px; font-family:"Songti SC","Noto Serif SC",serif; } .profile-summary span { margin-left:8px; color:#8E6A33; font-size:12px; } .profile-summary small { display:block; margin-top:6px; color:var(--muted); font-size:11px; }
.menu-list { display:grid; gap:8px; margin-top:16px; }
.menu-row > .ic { margin-left:auto; color:var(--muted); }
.profile-details { border:1px solid var(--line); border-radius:14px; background:#fff; }
.profile-row { display:grid; grid-template-columns:96px 1fr auto; gap:8px; align-items:center; padding:12px; border-top:1px solid #f1ece5; }
.profile-row:first-child { border-top:0; } .profile-row strong { display:block; font-size:12px; } .profile-row small { color:var(--muted); font-size:10px; } .profile-row b { font-size:12px; font-weight:600; }

/* 改变 */
.avatar-mini.warm { background:#f6e9d2; color:#a66f1e; }
.post-img { width:100%; max-height:300px; object-fit:contain; background:#f3efe9; border-radius:10px; }
.post-card + .post-card { margin-top:9px; }
.post-actions button { display:inline-flex; align-items:center; gap:4px; }
.wide-link { width:100%; margin-top:10px; padding:12px; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--wine); font-weight:700; font-size:13px; }
.section-title .link { font-size:12px; }

/* 关卡 / 任务 / 结算 */
.lesson-card { background:linear-gradient(150deg,#3a2a2c,#1f1c1a); min-height:220px; }
.reader-link { background:none; color:var(--wine); font-weight:700; font-size:13px; padding:0; }
.play-close, .play-menu { display:grid; place-items:center; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.form-grid label { font-size:12px; font-weight:700; } .form-grid input { width:100%; margin-top:6px; padding:11px; border:1px solid var(--line); border-radius:10px; font-size:15px; }
.check-row { display:flex; gap:8px; align-items:center; margin-top:12px; font-size:13px; }
.check-row input { accent-color:var(--wine); width:18px; height:18px; }
.play-actions { display:grid; gap:8px; }
.settle-mark { display:grid; place-items:center; } .settle-mark .ic { width:34px; height:34px; }
.settle-day { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:16px 0 4px; padding:13px; border-radius:14px; background:#fbf6ec; border:1px solid var(--gold); text-align:left; }
.settle-day b { display:block; font-size:14px; } .settle-day small { color:#8E6A33; font-size:11px; }
.claim-btn { padding:10px 14px; border-radius:999px; background:var(--wine); color:#fff; font-weight:800; font-size:13px; animation:pulse 1.8s infinite; }
.claimed-tag { display:inline-flex; align-items:center; gap:4px; color:#8E6A33; font-size:12px; font-weight:700; }
.settle-things { color:var(--muted); font-size:12px; }
.flow-actions.sticky { position:sticky; bottom:-26px; padding:12px 0; background:var(--paper); margin-top:16px; }
.choice.dim { opacity:.4; }
.result-card .link { margin-top:10px; }
.sheet-node.k-chest { background:#f6eedd; color:#a5803f; }
.sheet-node.done { background:var(--wine); color:#fff; }
.m-title { margin:4px 0 12px; font-size:18px; }
.sheet-backdrop.top { z-index:60; } .bottom-sheet.top { z-index:61; }
.reader-sheet { max-height:85vh; display:flex; flex-direction:column; } .reader-body { overflow-y:auto; font-size:14px; line-height:1.8; }
.look-full { width:100%; aspect-ratio:2/3; object-fit:contain; background:#f3efe9; border-radius:14px; margin-top:12px; }
.look-h { margin:6px 0; font-size:24px; }
.look-buy { margin-top:16px; padding:14px; border:1px solid var(--line); border-radius:14px; background:#fff; display:grid; gap:6px; justify-items:start; }
.look-buy small { color:var(--muted); font-size:12px; }
.fly-coin { position:fixed; z-index:95; width:20px; height:20px; transition:transform .75s cubic-bezier(.5,-0.2,.4,1), opacity .75s; pointer-events:none; }
