@font-face{font-family:InkTitle;src:url("../assets/title.ttf")}@font-face{font-family:ArchiveSong;src:url("../assets/headings.ttf");font-weight:600}
:root{color-scheme:dark;--gold:#d5b67a;--serif:ArchiveSong,"Songti SC","Noto Serif SC",SimSun,serif;--body:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;min-height:100%}body{background:radial-gradient(ellipse at 60% 55%,#283333 0,#151d20 51%,#111719 89%);font-family:var(--body);color:#ebe6d9}button,a{font:inherit;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #d9bd86;outline-offset:3px}header{height:72px;border-bottom:1px solid #444a425e;display:flex;align-items:center;justify-content:space-between;padding:0 6vw;background:#141b1dcf}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#eee0bb}.brand img{width:39px;height:43px}.brand span{font:600 21px/1.2 var(--serif);letter-spacing:3px}.brand small{display:block;font:9px Georgia,serif;color:var(--gold);letter-spacing:1.3px;margin-top:3px}.backlink{font-size:13px;color:#c1bba5;text-underline-offset:6px}
main{display:grid;grid-template-columns:minmax(0,auto) minmax(0,300px);align-items:center;justify-content:center;gap:clamp(40px,8vw,135px);padding:24px 28px 32px;min-height:calc(100svh - 72px)}
#theater{justify-self:center}#screen{isolation:isolate;position:relative;aspect-ratio:9/16;width:min(44vw,calc((100svh - 128px)*9/16),490px);overflow:hidden;background:#0e1516;box-shadow:0 0 0 1px #887c60,0 16px 60px #0006}#film,#still,#cover{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}#still{pointer-events:none}#cover{background:linear-gradient(0deg,#11191bfd 1%,#10191ad9 24%,#10202018 67%),url("../assets/cover.webp") 68% 42% / cover}
.poster-copy{position:absolute;bottom:7%;left:8%;right:8%}.kicker{font:500 12px/1.7 var(--body);color:#dfc79d;letter-spacing:2.1px}.poster-copy h1,aside h2{font:400 clamp(65px,6.4vw,100px)/1.15 InkTitle,var(--serif);letter-spacing:6px;margin:6px 0}.en{font:11px/1.5 Georgia,serif;letter-spacing:3px;color:#e0c99f}.poster-copy p{font-size:14px;line-height:1.8;margin:14px 0 22px}
.gold,.ghost{border:1px solid #d4b782;min-height:43px;padding:10px 20px;font-size:14px;font-weight:500;letter-spacing:1px}.gold{background:#ddc291;color:#202925;box-shadow:inset 0 0 0 2px #ddc291,inset 0 0 0 3px #a58b62}.gold span{font-size:12px;margin-right:4px}.ghost{background:#1a2326;color:#e1d3b7}.gold:hover{filter:brightness(1.08)}
aside .kicker{display:flex;align-items:center;gap:10px}aside .kicker i{width:35px;height:1px;background:#bda16f}aside h2{font-size:74px;line-height:1.3;margin:12px 0 0}.intro{line-height:1.9;font-size:15px;color:#d3d7cd;margin:26px 0 16px}.specs{display:flex;flex-wrap:wrap;gap:0;color:#c5b18d;font-size:12px}.specs span+span{border-left:1px solid #666759;margin-left:9px;padding-left:9px}.guide{color:#afb9b1;font-size:14px;line-height:1.9;border-top:1px solid #4b544b;padding-top:19px;margin:24px 0}.now{color:#dfc79d;font-size:12px;display:flex;align-items:center;gap:9px}.lamp{width:6px;height:6px;border-radius:50%;background:#c0a777}
#hud{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:9px;padding:9px 12px;background:linear-gradient(#1018199e,transparent);color:#f2e7d2;z-index:3;font-size:12px;letter-spacing:1px}#hud button{width:36px;height:36px;padding:0;border-radius:100%;background:#121b1bbd;color:#f4e7ca;border:1px solid #d3c5a860;display:grid;place-items:center}#soundBtn{margin-left:auto}#soundBtn svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round}
#pause-card,#finished{position:absolute;inset:0;background:#101719c9;z-index:4;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;text-align:center;padding:22px}#pause-card h2,#finished h2{font:600 32px/1.5 var(--serif);margin:0}#finished p{line-height:1.8;color:#ddd4c0;font-size:14px;margin:0 0 12px}#finished button{min-width:160px}
#choice-box{position:absolute;z-index:4;bottom:0;left:0;right:0;padding:14px 17px 18px;background:linear-gradient(#1e2929fb,#182223);border-top:1px solid #b8a177;color:#e6d8be;box-shadow:0 -6px 24px #0f17174a}#choice-prompt{margin:0 0 8px;font-size:14px;letter-spacing:.7px}#choices{display:grid;gap:6px}#choices button{display:flex;align-items:center;min-height:40px;padding:8px 13px;border:1px solid #6c7160;background:#303a36;color:#f0eadc;text-align:left;font-size:14px;line-height:1.45}#choices button:hover{background:#465142}
#choice-box.chat{background:#f3f4f3;border-color:#c4cac5;color:#484f4a}#choice-box.chat #choices button{color:#1d3526;background:#fff;border:1px solid #d7ddd7;border-radius:6px}#choice-box.chat #choices button:hover{background:#dfefdc}#choice-box.chat #choice-prompt{color:#427c51}
#transport{position:absolute;bottom:0;width:100%;height:3px;background:#252b28;z-index:5}#played{height:100%;width:0%;background:#d1b476}#busy{position:absolute;inset:45% auto auto 50%;transform:translateX(-50%);background:#142022d9;color:#e2d4b8;padding:8px 12px;font-size:13px}
@media(max-width:740px){header{height:52px;padding:0 16px}.brand img{width:29px;height:32px}.brand span{font-size:17px}.brand small{font-size:7px}.backlink{font-size:12px}main{display:block;min-height:0;padding:0}aside{display:none}#theater{min-height:calc(100svh - 52px);display:grid;place-items:center}#screen{width:min(100vw,calc((100svh - 52px)*9/16));max-width:530px;box-shadow:0 0 0 1px #454c42}.poster-copy h1{font-size:74px}#choice-box{padding:10px 13px 14px}#choices button{min-height:40px}}
@media(max-height:520px) and (orientation:landscape){header{height:39px}.brand img{height:27px}.brand small{display:none}main{padding:4px;min-height:0;gap:30px}#screen{width:calc((100svh - 48px)*9/16)}.intro,.guide{margin:8px 0;padding-top:8px}aside h2{font-size:48px}#choice-box{padding:4px 7px 5px}#choices{gap:3px}#choices button{min-height:26px;padding:2px 6px;font-size:12px}#choice-prompt{font-size:11px;margin:0 0 2px}}
.linear-link{color:#dac6a2;text-decoration:underline;text-underline-offset:4px;font-size:13px;line-height:2}
