.screen,#app{min-height:calc(100svh - 86px)}
.home{padding-top:42px;padding-bottom:42px}
.ending-archive{max-width:610px;margin-top:48px;padding-top:18px;border-top:1px solid #84867958}
.home-copy{min-width:0}.ending-seal{overflow:hidden;text-overflow:ellipsis}.ending-seal span:last-child{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.completed-steps{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 15px}.completed-steps span{border:1px solid #a6aa986b;background:#e8e9dc82;color:#66715e;padding:5px 9px;font-size:11px;line-height:1.4}
.archive-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--mute);font:10px Arial,sans-serif;letter-spacing:.16em}
.ending-seals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:15px}
.ending-seal{min-width:0;min-height:68px;border:1px solid #a2a19570;background:#dedbd08a;color:#929186;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;white-space:nowrap}
.seal-orb{font:24px Georgia,serif;line-height:1}
.ending-seal.is-lit{color:#3b3e35;background:#f5f3eb;border-color:#faf8ef;box-shadow:0 0 14px #fffdf2b8,inset 0 0 15px #fffef9}
.ending-seal.is-lit .seal-orb{color:#fefdf7;text-shadow:0 0 4px #fff,0 0 14px #fff,0 0 25px #fff}
.ending-seal.is-hidden.is-lit{color:#794237;border-color:#b68f67;background:linear-gradient(130deg,#f2e6d4,#ebd8ce);box-shadow:0 0 18px #dcb27e73,0 0 35px #aa514a4d,inset 0 0 20px #f8ecda}
.ending-seal.is-hidden.is-lit .seal-orb{color:#d4a566;text-shadow:0 0 8px #e5bd83,0 0 18px #a64b4b99}
.ending-seal.is-hidden:not(.is-lit){border-color:#b9a388;background:linear-gradient(140deg,#e7ded0,#e4d7d0);box-shadow:0 0 12px #d1a47555,0 0 23px #a64b4b2c;animation:secret-breathe 3.6s ease-in-out infinite alternate}.ending-seal.is-hidden:not(.is-lit) .seal-orb{color:#b68d64;text-shadow:0 0 9px #ddae788a,0 0 17px #b45c5c6b}@keyframes secret-breathe{from{box-shadow:0 0 7px #d1a47538,0 0 13px #a64b4b20}to{box-shadow:0 0 16px #d1a47585,0 0 28px #a64b4b45}}
.fiction{display:none}
.end .kicker,.end h1,.end p,.end .end-actions{animation:ending-reveal .7s both}.end h1{animation-delay:.12s}.end p{animation-delay:.28s}.end .ending-text{animation-delay:.6s}.end .end-actions{animation-delay:.85s}.end-art{animation:ending-reveal 1.1s .25s both}@keyframes ending-reveal{from{opacity:0;filter:blur(5px);transform:translateY(9px)}to{opacity:1;filter:blur(0);transform:none}}
.hidden-final .end{background:#1a2420;color:#efe6d5}.hidden-final .end .kicker{color:#c6a177}.hidden-final .end .ending-text{color:#e2b59d}.hidden-final .end .ghost{color:#e8dfcf;border-color:#9a9581}.hidden-final .end .end-art{box-shadow:0 0 65px #ab584532}
@media(max-width:850px){.ending-archive{margin-top:30px}}
@media(max-width:540px){.screen,#app{min-height:calc(100svh - 68px)}.ending-archive{margin-top:24px}.ending-seals{gap:5px}.ending-seal{min-height:60px;font-size:9px}.archive-head{font-size:9px}}

/* The atlas is a published map; do not crop or redraw its lines. */
.new-home .home-art{align-content:center;gap:18px}
.official-map{position:relative;width:min(100%,640px);aspect-ratio:1.49;height:auto;transform:rotate(-2deg);background:#f5f1e8;padding:10px}
.official-map:before{inset:10px}
.official-map img{display:block;width:100%;height:100%;object-fit:contain}
.map-open{position:relative;z-index:4;border:0;background:none;color:var(--red);font-size:12px;letter-spacing:.12em;padding:10px}
.map-open:hover{text-decoration:underline;text-underline-offset:5px}
.chapter{display:grid;grid-template-columns:minmax(360px,47%) minmax(0,1fr);gap:0;background:#ebe6db;min-height:calc(100svh - 86px)}
.chapter-art{position:relative;min-height:620px;overflow:hidden;background:#333b36}
.chapter-art img{width:100%;height:100%;display:block;position:absolute;inset:0;object-fit:cover;object-position:center;animation:art-arrive .85s ease both}
.photo-shade{position:absolute;inset:0;background:linear-gradient(180deg,#141b1b4a 0%,transparent 28%,transparent 58%,#101918bc 100%);pointer-events:none}
.photo-index,.photo-caption{position:absolute;left:32px;color:#fff9e8;text-shadow:0 2px 7px #000a;z-index:2}
.photo-index{top:30px;font:12px Georgia,serif;letter-spacing:.22em}
.photo-expand{position:absolute;top:22px;right:25px;z-index:3;background:#13201e70;border:1px solid #eee8d0a0;color:#fff8e8;font-size:11px;letter-spacing:.08em;padding:9px 12px}
.photo-expand:hover{background:#13201eb8}
.photo-caption{bottom:28px;right:30px;font-size:11px;line-height:1.7;letter-spacing:.06em}
.chapter-content{min-width:0;display:flex;flex-direction:column;padding:32px clamp(28px,5vw,76px) 35px;max-width:880px;width:100%;margin:auto}
.chapter-head{display:flex;justify-content:space-between;gap:14px;color:var(--red);font:11px Arial,sans-serif;letter-spacing:.14em}
.chapter-progress{height:2px;background:#b3b1a455;margin:20px 0 34px;overflow:hidden}
.chapter-progress i{height:100%;display:block;background:var(--red);transition:width .4s}
.chapter-content h1{font:500 clamp(44px,5vw,76px)/1.1 "Noto Serif SC","Songti SC",serif;letter-spacing:.08em;margin:0 0 12px}
.chapter-content .place{font-size:12px;letter-spacing:.13em;color:var(--gold);margin:0 0 22px}
.chapter-story{font:clamp(16px,1.5vw,20px)/1.9 "Noto Serif SC","Songti SC",serif;color:#3f453f;margin:0 0 12px;max-width:680px}
.carry-echo{font-size:12px;color:#77776c;padding:11px 0;margin:0;border-top:1px solid #aaa99a55}
.chapter-board{border-top:1px solid #9e9c8d9c;margin-top:20px;padding-top:20px;min-height:180px}
.chapter-board .board-title{font-size:13px;color:#8b6846;margin:0 0 15px}
.action-grid{display:grid;grid-template-columns:1fr;gap:9px}
.action-grid.pack{grid-template-columns:1fr 1fr}
.action-grid.dialogue{gap:10px}
.action-grid.lanes{gap:8px}
.action-card{display:grid;grid-template-columns:36px 1fr 20px;gap:7px;align-items:center;text-align:left;border:1px solid #aaa99a;background:#f6f2e9b5;min-height:63px;color:#2f352f;padding:12px 16px;font-size:14px;line-height:1.55;transition:transform .2s,border-color .2s,background .2s,box-shadow .2s}
.action-card:hover{border-color:#984e42;background:#fffaf0;transform:translateX(3px);box-shadow:0 8px 20px #534d3a14}
.action-card.picked{border-color:#9a5145;background:#efe3d7;color:#8f4339}
.action-card:disabled{cursor:default;transform:none;opacity:.8}
.action-index{color:#a08466;font:13px Georgia,serif}
.action-arrow{color:var(--red);justify-self:end}
.action-grid.pack .action-card{min-height:83px}
.mini-hint{color:#9a5145;font-size:12px;margin:10px 0 0}
.clue-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.clue-card{min-height:118px;padding:18px;border:1px solid #a1a094;background:#e0d8c9;color:#785f48;text-align:left;line-height:1.7;font-size:14px;transition:background .25s,transform .25s}
.clue-card:hover{transform:translateY(-2px);background:#e9ddcd}
.clue-card.open{background:#f5ecdc;color:#30372e;box-shadow:inset 0 0 24px #d8ccb35b}
.scene-result{animation:result-in .55s both}
.result-mark{font-size:11px;color:#9c7947;letter-spacing:.15em}
.scene-result>p{font:17px/1.9 "Noto Serif SC","Songti SC",serif;margin:10px 0 18px;color:#91483b}
.history-reveal{display:flex;gap:17px;border-top:1px solid #a5a29175;padding-top:15px;color:#525a51;font-size:13px;line-height:1.8}
.history-reveal b{color:#8d6f4f;white-space:nowrap;font-weight:500}
.chapter-actions{margin-top:24px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.chapter-actions .ghost{border:0;color:var(--mute)}
.secret-choice{border:1px solid #b49573;background:#ecdfd1;color:#874a3c;min-height:52px;padding:0 18px;letter-spacing:.05em;box-shadow:0 0 20px #bc825c2b;transition:background .2s,box-shadow .2s}
.secret-choice:hover{background:#f2d6c2;box-shadow:0 0 26px #bd665755}
.radio-scene{position:relative;display:grid;place-items:center;background:#17221e;color:#ede4d7;min-height:calc(100svh - 86px)}
.radio-art,.radio-overlay{position:absolute;inset:0}
.radio-art img{width:100%;height:100%;object-fit:cover;filter:brightness(.43) saturate(.65)}
.radio-overlay{background:linear-gradient(90deg,#101916e8,#1019169c)}
.radio-content{position:relative;z-index:2;width:min(720px,calc(100% - 40px));padding:70px 10px}
.radio-content h1{font:500 clamp(50px,7vw,90px) "Noto Serif SC","Songti SC",serif;letter-spacing:.1em;margin:20px 0}
.radio-content>p{font:18px/1.9 "Noto Serif SC","Songti SC",serif}
.radio-lines{display:grid;gap:9px;margin:30px 0}
.radio-lines button{min-height:62px;text-align:left;background:#e7dfcf18;border:1px solid #d8cfba83;color:#eee8d9;font-size:15px;padding:12px 18px;letter-spacing:.1em}
.radio-lines button span{display:inline-block;margin-right:20px;color:#d1a477}
.radio-lines button.sent{background:#bd855a35;border-color:#d9a678;color:#e4b992}
.radio-content .radio-status{font-size:13px;color:#d9ad90;margin:10px 0 25px}
.new-end{grid-template-columns:minmax(0,1fr) minmax(320px,.9fr)}
.new-end .end-copy{min-width:0}
.official-end-map{background:#ded8ca;box-shadow:var(--shadow);height:auto;aspect-ratio:1.49;border:1px solid #b7afa0;align-self:center}
.official-end-map:after{display:none}
.official-end-map img{width:100%;height:100%;object-fit:contain;display:block}
.official-end-map button{position:absolute;bottom:14px;right:16px;background:#e9e4d9ed;border:1px solid #847c6c;padding:9px 13px;color:#6c4335;font-size:11px}
.hidden-final .official-end-map{box-shadow:0 0 60px #c2765a44}
.picture-dialog{width:min(1300px,calc(100% - 24px));max-height:94svh;padding:18px;background:#f2eee4}
.picture-dialog img{display:block;max-width:100%;max-height:calc(94svh - 105px);object-fit:contain;margin:auto}
.picture-dialog p{text-align:center;color:#615f56;font-size:12px;line-height:1.6;margin:8px 30px 0}
.picture-dialog #picture-close{position:sticky;top:0;float:right;z-index:2;background:#f2eee4;padding:8px 10px}
@keyframes art-arrive{from{opacity:.2;filter:blur(7px);transform:scale(1.03)}to{opacity:1;filter:none;transform:scale(1)}}
@keyframes result-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:920px){.chapter{grid-template-columns:1fr}.chapter-art{min-height:0;height:35svh;max-height:370px}.chapter-content{padding:28px clamp(22px,5vw,55px) 42px}.new-end{grid-template-columns:1fr}.official-end-map{height:auto;max-width:600px;width:100%;order:-1}.home-art{min-height:360px;height:360px}}
@media(max-width:540px){.new-home .home-art{min-height:220px;height:auto;gap:3px;padding-top:14px}.official-map{width:min(100%,400px);padding:5px}.official-map:before{inset:5px}.map-open{font-size:11px}.chapter-art{height:29svh;min-height:190px}.photo-index{left:17px;top:14px}.photo-expand{right:14px;top:10px;padding:7px 9px}.photo-caption{left:17px;right:14px;bottom:14px;font-size:10px}.chapter-content{padding:20px 18px 35px}.chapter-progress{margin:13px 0 20px}.chapter-content h1{font-size:39px}.chapter-content .place{margin-bottom:15px}.chapter-story{font-size:15px;line-height:1.8}.chapter-board{margin-top:14px;padding-top:16px}.action-grid.pack{grid-template-columns:1fr 1fr;gap:7px}.action-card{grid-template-columns:25px 1fr 14px;min-height:56px;padding:9px 10px;font-size:12px;gap:2px}.action-grid.pack .action-card{min-height:77px}.action-index{font-size:11px}.clue-grid{gap:7px}.clue-card{font-size:12px;min-height:103px;padding:12px}.history-reveal{display:block}.history-reveal b{display:block}.scene-result>p{font-size:15px}.chapter-actions{margin-top:18px;gap:7px}.secret-choice{min-height:46px;font-size:11px}.new-end{padding:22px 18px 42px}.new-end .official-end-map{order:2}.official-end-map{height:auto}.radio-content{padding:45px 0}.radio-content>p{font-size:16px}.radio-lines button{font-size:13px}}

/* Reading order: scene, action, then optional context. */
.chapter-content{padding-top:28px;padding-bottom:28px}
.chapter-progress{margin:15px 0 24px}
.chapter-content h1{font-size:clamp(40px,4.1vw,62px);margin-bottom:7px}
.chapter-content .place{margin-bottom:18px}
.chapter-story{max-width:56ch;margin:0;line-height:1.65}
.chapter-story strong{display:block;color:#252d28;font:500 clamp(18px,1.7vw,22px)/1.65 "Noto Serif SC","Songti SC",serif}
.chapter-story span{display:block;margin-top:5px;color:#666b61;font:15px/1.7 "Noto Sans SC","Microsoft YaHei",sans-serif}
.carry-echo{margin-top:12px;padding:0;border:0;color:#828277;font-size:11px}
.carry-echo summary{cursor:pointer;width:max-content;list-style:none;text-decoration:underline;text-decoration-color:#a9a698;text-underline-offset:4px}
.carry-echo summary::-webkit-details-marker{display:none}
.carry-echo p{max-width:54ch;line-height:1.65;margin:8px 0 0}
.chapter-board{margin-top:20px;padding-top:18px;min-height:0}
.chapter-board .board-title{font-size:15px;font-weight:600;color:#865c3c;letter-spacing:.03em}
.scene-result>p{font-size:16px;line-height:1.7;margin:8px 0 15px}
.history-reveal{font-size:12px;line-height:1.7}
.clue-card{min-height:90px}
.clue-next{display:block;margin-top:14px;min-height:42px;padding:9px 15px;border:1px solid #9b6a51;background:#f2e8d9;color:#8b4838;font-size:12px;letter-spacing:.07em;transition:background .2s,transform .2s}
.clue-next:hover{background:#f8eee0;transform:translateY(-2px)}
.secret-brief{display:flex;gap:10px;align-items:baseline;max-width:55ch;border-left:2px solid #a25b48;padding:6px 0 6px 13px;margin:19px 0 0;color:#5d6259;font-size:13px;line-height:1.7}
.secret-brief b{flex:none;color:#9a5145;font-weight:600}
.chapter-actions{margin-top:20px}
.ending-seal.is-revealing{animation:seal-reveal 2.1s .2s ease-out both}
.ending-seal.is-revealing .seal-orb{animation:star-reveal 2.2s .3s ease-out both}
@keyframes seal-reveal{0%{opacity:.55;filter:grayscale(.9) brightness(.68);box-shadow:none}55%{opacity:.9;filter:grayscale(.3) brightness(.9)}100%{opacity:1;filter:none}}
@keyframes star-reveal{0%{opacity:.3;filter:brightness(.65)}65%{opacity:.9;filter:brightness(1.1)}100%{opacity:1;filter:none}}
.legacy-scene{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:stretch;background:#18221e;color:#eee8d9;min-height:calc(100svh - 86px)}
.legacy-art{position:relative;min-height:560px;overflow:hidden}
.legacy-art img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;filter:saturate(.82)}
.legacy-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 60%,#18221e 100%)}
.legacy-copy{align-self:center;padding:60px clamp(26px,5vw,76px) 60px 24px;max-width:760px}
.legacy-copy .kicker{color:#d4b181}
.legacy-copy h1{font:500 clamp(35px,4.2vw,64px)/1.35 "Noto Serif SC","Songti SC",serif;letter-spacing:.06em;margin:22px 0}
.legacy-history{font-size:13px;line-height:1.8;color:#bbbcae;border-bottom:1px solid #b6ab8d66;padding-bottom:24px;margin:0 0 28px}
.legacy-verse p{font:clamp(16px,1.7vw,22px)/1.8 "Noto Serif SC","Songti SC",serif;color:#e6c4a8;margin:0 0 13px;animation:ending-reveal 1s both}
.legacy-verse p:nth-child(1){animation-delay:.3s}.legacy-verse p:nth-child(2){animation-delay:1.1s}.legacy-verse p:nth-child(3){animation-delay:2s;color:#f3d6b5}
.legacy-copy .primary{margin-top:28px;animation:ending-reveal .8s 2.7s both}
@media(max-width:920px){.legacy-scene{grid-template-columns:1fr}.legacy-art{min-height:0;height:31svh}.legacy-art:after{background:linear-gradient(0deg,#18221e,transparent 70%)}.legacy-copy{padding:28px clamp(22px,5vw,55px) 45px;max-width:760px}}
@media(max-width:540px){.chapter-content{padding-top:18px;padding-bottom:30px}.chapter-progress{margin:12px 0 17px}.chapter-content h1{font-size:37px}.chapter-content .place{margin-bottom:13px}.chapter-story strong{font-size:17px;line-height:1.6}.chapter-story span{font-size:13px;line-height:1.6}.chapter-board{margin-top:15px;padding-top:15px}.chapter-board .board-title{font-size:14px}.clue-grid{grid-template-columns:1fr}.clue-card{min-height:62px;font-size:13px}.secret-brief{display:block;font-size:12px}.secret-brief b{display:block;margin-bottom:3px}.legacy-art{height:26svh;min-height:150px}.legacy-copy{padding:20px 20px 42px}.legacy-copy h1{font-size:34px;margin:15px 0}.legacy-history{margin-bottom:18px;padding-bottom:16px}.legacy-verse p{font-size:16px;line-height:1.75}}

/* Keep the picture still while the player reads and chooses on the right. */
.chapter-content{align-self:start;margin:0 auto;padding-top:clamp(35px,5.5vh,65px)}
.chapter-content .place{margin-bottom:20px}
.scene-intro{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:start;max-width:640px;padding:16px 18px;background:linear-gradient(90deg,#f7f2e8,#f5f0e799);border-left:2px solid #9b5447}
.scene-tag{color:#a78364;font-size:10px;letter-spacing:.18em;white-space:nowrap;margin-top:6px}
.scene-intro .chapter-story{min-width:0}
.scene-intro .chapter-story strong{font-size:clamp(17px,1.55vw,20px);line-height:1.6}
.scene-intro .chapter-story span{margin-top:7px;font-size:14px;line-height:1.65}
.chapter-board{border-top:0;margin-top:23px;padding-top:0}
.chapter-board .board-title{font:600 clamp(16px,1.4vw,19px)/1.55 "Noto Sans SC","Microsoft YaHei",sans-serif;color:#7e4035;letter-spacing:.01em;margin:0 0 13px}
.action-card{background:#faf7f0;border-color:#a8a397;min-height:66px}
.action-card:hover{box-shadow:0 8px 24px #765c4320}
.scene-result{padding:20px 22px;background:#f7f2e8;border-left:2px solid #9b5447}
.scene-result>p{font-size:clamp(17px,1.5vw,20px);line-height:1.7;margin:10px 0 22px;color:#853e34}
.history-reveal{border-top:1px solid #aba89b75;padding-top:12px}
.ending-seal.is-lit:not(.is-hidden){background:#ece8df;border-color:#e7e3d9;box-shadow:0 0 12px #fffdf2b8,0 0 24px #fffdf280,inset 0 0 16px #fffefb}
.ending-seal.is-lit:not(.is-hidden) .seal-orb{position:relative;color:#8e453b;font-size:30px;text-shadow:0 0 4px #fff,0 0 12px #fff,0 0 22px #fff}
.ending-seal.is-lit:not(.is-hidden) .seal-orb:before{content:"";position:absolute;z-index:-1;left:50%;top:50%;width:52px;height:52px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#fffef7 0%,#fffef7a6 30%,transparent 73%)}
.clue-card{position:relative;transform-style:preserve-3d;perspective:800px;overflow:visible}
.clue-card.revealing{animation:clue-ink .7s ease-out both}
.clue-card.revealing:before{content:"";position:absolute;z-index:2;inset:-1px;background:linear-gradient(105deg,#e8ddcb,#d6c3a9);border:1px solid #b0a087;transform-origin:left center;backface-visibility:hidden;animation:clue-unfold .72s cubic-bezier(.22,.7,.25,1) both;pointer-events:none}
@keyframes clue-unfold{0%{transform:rotateY(0);opacity:1;box-shadow:4px 4px 8px #3e302423}75%{opacity:1}100%{transform:rotateY(-105deg);opacity:0;box-shadow:10px 7px 20px #3e302423}}
@keyframes clue-ink{0%,20%{color:transparent}100%{color:#30372e}}
@media(max-width:920px){.chapter-content{padding-top:24px}}
@media(max-width:540px){.chapter-art{height:26svh;min-height:180px;max-height:230px}.chapter-content{padding-top:18px}.chapter-content .place{margin-bottom:14px}.scene-intro{grid-template-columns:31px minmax(0,1fr);gap:10px;padding:12px 13px}.scene-tag{font-size:9px}.scene-intro .chapter-story strong{font-size:16px}.scene-intro .chapter-story span{font-size:12px;line-height:1.65}.chapter-board{margin-top:19px}.chapter-board .board-title{font-size:16px}.scene-result{padding:16px}.scene-result>p{font-size:17px}.action-card{min-height:58px}}

.screen-leave{pointer-events:none}
.home-actions .ghost{min-height:52px;padding:0 19px}
.ending-seal:disabled{cursor:default;opacity:1}
.ending-seal.is-lit{cursor:pointer;transition:transform .2s,box-shadow .2s}
.radio-receiver{display:flex;align-items:center;gap:9px;margin:25px 0 17px;color:#d7c5a8;font-size:11px;letter-spacing:.08em}
.radio-receiver i{display:block;width:11px;height:11px;border:1px solid #ad9a7e;border-radius:50%;background:#34413a;transition:background .45s,box-shadow .45s}
.radio-receiver i.received{background:#ead9ab;box-shadow:0 0 9px #f6dba5,0 0 23px #ecc691a1}
.radio-receiver span{margin-left:5px}
.radio-paper{max-width:620px;padding:17px 20px 19px;border:1px solid #d5b78a9c;background:#e8dbc520;box-shadow:inset 0 0 30px #161e1a44}
.radio-paper small{font-size:10px;letter-spacing:.17em;color:#d5b78b}
.radio-paper p{margin:9px 0 18px!important;font:19px/1.55 "Noto Serif SC","Songti SC",serif!important;color:#fff2d9!important}
.radio-beats{display:flex;gap:9px}
.radio-beats span{min-width:49px;padding:7px 13px;border:1px solid #d2bea088;text-align:center;color:#d4c8b2;font-size:13px;transition:background .25s,box-shadow .25s}
.radio-beats span.current{border-color:#eed2a5;color:#fff1d7;box-shadow:0 0 15px #e6b57942}
.radio-beats span.sent{background:#c09a6e;color:#1b2923;border-color:#d8b688}
.radio-key-wrap{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:19px 0 8px}
.radio-key{width:150px;min-height:88px;display:grid;place-content:center;gap:4px;border:1px solid #e1bb8e;background:linear-gradient(165deg,#a5754d,#724936);color:#fff4dd;box-shadow:0 7px 0 #42352c,0 13px 25px #10191494;touch-action:none;user-select:none;transition:transform .08s,box-shadow .08s}
.radio-key span{font:21px "Noto Serif SC","Songti SC",serif;letter-spacing:.14em}
.radio-key small{font-size:10px;letter-spacing:.04em;color:#f8dfb9}
.radio-key.is-pressed{transform:translateY(5px);box-shadow:0 2px 0 #42352c,0 5px 16px #10191494}
.radio-assist{border:0;border-bottom:1px solid #c1aa88;background:none;padding:5px 1px;color:#e3d1b5;font-size:11px}
.radio-assist:hover{color:#fff1d7}
.end-memory{max-width:620px;margin:25px 0 23px}
.memory-head{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#947253;font-size:11px;letter-spacing:.1em;margin-bottom:10px}
.memory-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.memory-items button{min-width:0;min-height:64px;padding:9px 11px;border:1px solid #a69e8e;background:#f4eee2;color:#5b584d;text-align:left;transition:background .2s,border-color .2s,box-shadow .2s}
.memory-items button:hover,.memory-items button[aria-pressed="true"]{border-color:#a65d49;background:#f5e6d7;box-shadow:inset 0 0 0 1px #b96c50}
.memory-items button.opened{color:#8a4737}
.memory-items button span{display:block;font:10px Georgia,serif;color:#a37c59;margin-bottom:7px}
.memory-items button strong{font-size:13px;font-weight:500;line-height:1.35}
.memory-stage{position:relative;min-height:155px;margin-top:8px;overflow:hidden;background:#e8decd;border:1px solid #aca18e}
.memory-prompt{margin:0!important;min-height:155px;display:grid;place-items:center;color:#8e7c67!important;font-size:13px!important;letter-spacing:.06em}
.memory-scene{position:relative;min-height:155px;animation:memory-open .7s cubic-bezier(.2,.72,.25,1) both}
.memory-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#17211ae8,#17211a90 72%,#17211a38)}
.memory-scene img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.72)}
.memory-scene>div{position:relative;z-index:1;max-width:90%;padding:19px 20px;color:#fff1d7}
.memory-scene small{font-size:10px;letter-spacing:.15em;color:#d8bb8e}
.memory-scene p{font:17px/1.6 "Noto Serif SC","Songti SC",serif!important;color:#fff1d7!important;margin:12px 0 0!important}
@keyframes memory-open{from{opacity:0;filter:blur(5px);transform:scale(1.025)}to{opacity:1;filter:none;transform:none}}
.hidden-final .memory-items button{background:#27332e;color:#e8dfc8;border-color:#8b7d69}
.hidden-final .memory-items button.opened,.hidden-final .memory-items button[aria-pressed="true"]{border-color:#c78c67;color:#f5d8b4;background:#49372e}
.hidden-final .memory-stage{border-color:#766a55;background:#1d2924}
@media(max-width:540px){.radio-receiver{margin:18px 0 14px}.radio-paper{padding:14px}.radio-paper p{font-size:16px!important}.radio-beats span{min-width:44px;padding:6px 11px}.radio-key{width:136px;min-height:80px}.end-memory{margin:18px 0}.memory-items button{min-height:58px;padding:7px}.memory-items button strong{font-size:11px}.memory-scene,.memory-stage,.memory-prompt{min-height:140px}.memory-scene>div{padding:15px}.memory-scene p{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){.memory-scene{animation:none!important}}
.route-callback{max-width:680px;margin:4px 0 18px;padding:12px 16px;border-left:2px solid #a36a51;background:#f7f0e4;color:#5a5549;animation:result-in .65s both}
.route-callback span{display:block;color:#9b6a4a;font-size:10px;letter-spacing:.13em;margin-bottom:5px}
.route-callback p{margin:0;font:15px/1.65 "Noto Serif SC","Songti SC",serif}
.ending-callback{max-width:560px;margin:12px 0 22px;padding-left:15px;border-left:2px solid #aa725a;color:#82604c;font:15px/1.8 "Noto Serif SC","Songti SC",serif!important}
@media(max-width:540px){.route-callback{margin:0 0 13px;padding:10px 12px}.route-callback p{font-size:13px}.ending-callback{font-size:13px!important;line-height:1.7}}
.ending-seal.is-lit:hover{transform:translateY(-3px)}
.journey-timeline{max-width:610px;margin-top:22px;padding-top:17px;border-top:1px solid #84867958}
.timeline-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:13px}
.timeline-stop{min-width:0;display:flex;align-items:center;gap:5px;padding:6px 5px;border:1px solid #a2a19565;color:#8b8c81;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#dedbd07a}
.timeline-stop i{font:10px Georgia,serif;color:#a8a79a}
.timeline-stop.visited{border-color:#af8b76;background:#eee6d9;color:#703d36}
.timeline-stop.visited i{color:#a3463a}
.memento-story{max-width:640px;margin:12px 0 0;padding:11px 15px;border-left:2px solid #b58d63;background:#f0e8da;animation:ending-reveal .55s both}
.memento-story span{color:#9b6845;font-size:10px;letter-spacing:.12em}
.memento-story p{font:13px/1.7 "Noto Serif SC","Songti SC",serif;color:#5d5e54;margin:5px 0 0}
.chapter-content>.carry-echo{order:99;margin-top:13px}
.scene-result>.companion-voice{font:14px/1.7 "Noto Serif SC","Songti SC",serif;color:#716c5d;border-left:1px solid #b9a58d;padding-left:12px;margin:-9px 0 18px}
.journey-interlude{display:grid;place-items:center;text-align:center;background:radial-gradient(circle at 50% 45%,#f5eee1,#e2d9c9);padding:40px 20px}
.journey-interlude>div{animation:ending-reveal .45s both}
.journey-interlude .kicker{color:#9b5245}
.interlude-line{display:block;width:130px;height:2px;background:#a14d41;margin:26px auto 24px;transform-origin:left;animation:route-glide .6s ease both}
.journey-interlude h1{font:500 clamp(40px,6vw,76px)/1.2 "Noto Serif SC","Songti SC",serif;letter-spacing:.08em;margin:0 0 13px}
.journey-interlude p{font-size:13px;color:#8f705e;letter-spacing:.13em}
@keyframes route-glide{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.ending-review{width:min(620px,calc(100% - 28px));padding:34px 38px}
.ending-review #ending-review-close{float:right}
.ending-review h2{font:500 clamp(38px,5vw,60px)/1.3 "Noto Serif SC","Songti SC",serif;margin:28px 0 22px}
.ending-review p{font:16px/1.9 "Noto Serif SC","Songti SC",serif;color:#424a41}
.ending-review .review-verse{white-space:pre-line;color:#9a5145;border-top:1px solid #b4ac9c;padding-top:20px;margin-top:25px}
.ending-review.review-hidden{background:#1d2822;color:#eee7d9;border-color:#a47f63}
.ending-review.review-hidden p{color:#e3dccc}
.ending-review.review-hidden .review-verse{color:#e6bda0;border-color:#826d58}
.ending-review.review-hidden #ending-review-close{color:#eee7d9}
.picture-toolbar{position:sticky;top:-18px;z-index:4;display:flex;justify-content:space-between;align-items:center;gap:14px;background:#f2eee4;padding:6px 0 12px;color:#6b5a4b;font-size:12px;letter-spacing:.1em}
.picture-toolbar>div{display:flex;gap:7px;align-items:center}
.picture-toolbar button{min-width:34px;height:34px;background:#faf6ec;border:1px solid #b2a999;color:#5e564a}
.picture-toolbar button:disabled{opacity:.4;cursor:default}
.picture-toolbar #picture-close{position:static;float:none;padding:0 8px;margin-left:7px}
.picture-stage{max-height:min(70svh,760px);overflow:auto;background:#ded8cb;scrollbar-width:thin}
.picture-stage img{display:block;width:100%;max-width:none;max-height:none;height:auto;object-fit:contain;margin:0}
.picture-dialog>p{margin:11px 20px 0;line-height:1.6}
@media(max-width:540px){.home-actions .ghost{min-height:46px}.journey-timeline{margin-top:19px}.timeline-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.timeline-stop{font-size:9px;padding:5px 4px}.timeline-stop i{font-size:9px}.memento-story{padding:10px 12px}.memento-story p{font-size:12px}.scene-result>.companion-voice{font-size:13px}.ending-review{padding:22px}.picture-dialog{padding:12px}.picture-toolbar{top:-12px}.picture-toolbar>span{font-size:10px}.picture-toolbar button{min-width:30px;height:30px}.picture-stage{max-height:72svh}}

.radio-lines button.transmitting{animation:radio-signal .9s ease-out both}
@keyframes radio-signal{0%{box-shadow:0 0 0 #dfbd79aa}35%{box-shadow:0 0 28px #dfbd7990,inset 0 0 20px #dfbd792b}100%{box-shadow:0 0 8px #dfbd7940}}
.sacrifice-scene{position:relative;display:grid;place-items:center;isolation:isolate;overflow:hidden;min-height:calc(100svh - 86px);background:#0b1515;color:#eee8db}
.sacrifice-art,.sacrifice-shade{position:absolute;inset:0}
.sacrifice-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.28) saturate(.48);animation:sacrifice-drift 9s ease-out both}
.sacrifice-shade{background:linear-gradient(90deg,#071111ed 0%,#101a19bd 65%,#101a19bb 100%);animation:sacrifice-darken 9s ease-in both}
.sacrifice-scene:after{content:"";position:absolute;inset:0;z-index:3;background:#a64b3b;opacity:0;pointer-events:none;animation:sacrifice-flash 8.5s both}
.sacrifice-copy{position:relative;z-index:4;width:min(760px,calc(100% - 44px));padding:55px 0 65px}
.sacrifice-copy .kicker{color:#d4aa82}
.signal-bars{display:flex;align-items:center;gap:6px;height:30px;margin:25px 0 24px;animation:signal-vanish .8s 5.6s both}
.signal-bars i{display:block;width:3px;height:20px;background:#d9b77f;transform-origin:center;animation:signal-breathe .65s ease-in-out infinite alternate;animation-delay:calc(var(--n)*-.08s)}
.signal-bars i:nth-child(3n){height:10px}.signal-bars i:nth-child(4n){height:27px}
.sacrifice-beat{font:clamp(17px,1.75vw,23px)/1.8 "Noto Serif SC","Songti SC",serif;max-width:31em;margin:0 0 18px;opacity:0;animation:sacrifice-text .8s ease-out both}
.sacrifice-beat.beat-one{animation-delay:.45s}
.sacrifice-beat.beat-two{animation-delay:2.15s}
.sacrifice-beat.beat-three{animation-delay:3.85s}
.sacrifice-beat.beat-four{animation-delay:5.65s;color:#efc4a7;margin-top:26px}
.sacrifice-after{font:500 clamp(25px,3vw,39px)/1.5 "Noto Serif SC","Songti SC",serif;letter-spacing:.08em;color:#f6dfbd;border-left:2px solid #bd8069;padding-left:20px;margin:28px 0 0;opacity:0;animation:sacrifice-text 1.15s 7.05s ease-out both}
.sacrifice-copy .primary{margin-top:24px;opacity:0;visibility:hidden;animation:sacrifice-button .8s 8.25s forwards}
@keyframes sacrifice-drift{from{transform:scale(1.06)}to{transform:scale(1)}}
@keyframes sacrifice-darken{from{opacity:.7}to{opacity:1}}
@keyframes sacrifice-flash{0%,68%,72%,100%{opacity:0}70%{opacity:.11}}
@keyframes sacrifice-text{from{opacity:0;filter:blur(6px);transform:translateY(12px)}to{opacity:1;filter:none;transform:none}}
@keyframes sacrifice-button{from{visibility:visible;opacity:0;filter:blur(5px);transform:translateY(9px)}to{visibility:visible;opacity:1;filter:none;transform:none}}
@keyframes signal-breathe{from{transform:scaleY(.35);opacity:.4}to{transform:scaleY(1);opacity:.95}}
@keyframes signal-vanish{to{opacity:0;filter:blur(5px)}}
@media(max-width:540px){.sacrifice-scene{min-height:calc(100svh - 68px)}.sacrifice-copy{padding:38px 0 54px}.signal-bars{margin:20px 0}.sacrifice-beat{font-size:16px;line-height:1.75;margin-bottom:14px}.sacrifice-beat.beat-four{margin-top:18px}.sacrifice-after{font-size:23px;margin-top:20px;padding-left:13px}.sacrifice-copy .primary{margin-top:14px}}
@media(prefers-reduced-motion:reduce){.sacrifice-beat,.sacrifice-after,.sacrifice-copy .primary,.signal-bars{animation-delay:0s!important}}
.sound-toggle{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.sound-toggle svg{width:16px;height:16px;flex:none}
.sound-toggle .speaker-wave,.sound-toggle .speaker-slash{transition:opacity .2s ease}
.sound-toggle .speaker-wave{opacity:0}
.sound-toggle[aria-pressed="true"] .speaker-wave{opacity:1}
.sound-toggle[aria-pressed="true"] .speaker-slash{opacity:0}

.author-easter-egg{display:grid;gap:9px;width:min(100% - 40px,760px);margin:32px auto 70px;padding:24px 28px;border:1px solid #c8bba1;background:#f1e9d8;color:#47372d;text-decoration:none;box-shadow:0 10px 30px rgba(71,52,35,.08);transition:transform .2s,box-shadow .2s}.author-easter-egg:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(71,52,35,.15)}.author-easter-egg span{font-size:11px;letter-spacing:.16em;color:#9a5141}.author-easter-egg strong{font-family:Georgia,"Songti SC",serif;font-size:21px}.author-easter-egg small{font-size:13px;line-height:1.7}.author-easter-egg:focus-visible{outline:2px solid #9a5141;outline-offset:4px}
