@font-face{font-family:"PTSerif";font-weight:400;src:url(fonts/serif-400.woff2) format("woff2"),local("Noto Serif CJK SC"),local("Source Han Serif SC"),local("Songti SC Regular"),local("STSong"),local("SimSun")}
@font-face{font-family:"PTSerif";font-weight:700;src:url(fonts/serif-700.woff2) format("woff2"),local("Noto Serif CJK SC Bold"),local("Source Han Serif SC Bold"),local("Songti SC Bold"),local("STSong"),local("SimSun")}
@font-face{font-family:"PTSans";font-weight:400;src:url(fonts/sans-400.woff2) format("woff2"),local("Noto Sans CJK SC"),local("Source Han Sans SC"),local("PingFang SC"),local("Microsoft YaHei")}
@font-face{font-family:"PTSans";font-weight:700;src:url(fonts/sans-700.woff2) format("woff2"),local("Noto Sans CJK SC Bold"),local("Source Han Sans SC Bold"),local("PingFang SC Semibold"),local("Microsoft YaHei Bold")}
@font-face{font-family:"PTMono";font-weight:400;src:url(fonts/mono-400.woff2) format("woff2"),local("DejaVu Sans Mono"),local("Menlo"),local("Consolas")}
*{box-sizing:border-box}
html,body{margin:0;height:100%;background:#0b0b0c;color:#eee;font-family:"Noto Sans CJK SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;overflow:hidden}
#wrap{position:fixed;inset:0 0 54px 0;display:flex;align-items:center;justify-content:center}
#stage{width:min(100vw,calc((100vh - 54px)*16/9));aspect-ratio:16/9;position:relative;cursor:pointer}
#stage canvas{width:100%!important;height:100%!important;display:block}
#overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,rgba(20,16,10,.55),rgba(0,0,0,.85));transition:opacity .5s}
#overlay.hide{opacity:0;pointer-events:none}
.ov-in{text-align:center;padding:24px;max-width:640px}
.ov-k{letter-spacing:.3em;font-size:12px;color:#c9a46a;margin:0 0 10px}
.ov-in h1{font-family:"Noto Serif CJK SC","Songti SC",serif;font-size:clamp(40px,7vw,76px);margin:0;color:#f3ead6;letter-spacing:.12em}
.ov-en{font-family:Georgia,serif;font-style:italic;color:#bfb29a;margin:4px 0 18px}
.ov-d{color:#cfc6b6;line-height:1.8;font-size:15px}
#start{margin-top:18px;font-size:17px;padding:12px 28px;border-radius:999px;border:1px solid #e8b56a;background:#e8a33c;color:#1a1208;cursor:pointer;font-weight:600}
#start:hover{background:#f2b858}
.ov-s{font-size:12px;color:#9a907e;min-height:1em}
#bar{position:fixed;left:0;right:0;bottom:0;height:54px;display:flex;align-items:center;gap:14px;padding:0 16px;background:#141414;border-top:1px solid #262626;font-size:13px}
#pp{width:36px;height:36px;border-radius:50%;border:0;background:#e8a33c;color:#111;font-size:14px;cursor:pointer;flex:none}
#track{position:relative;flex:1;height:28px;display:flex;align-items:center}
#seek{width:100%;accent-color:#e8a33c;position:relative;z-index:1;background:transparent}
#ticks{position:absolute;left:8px;right:8px;top:50%;height:12px;transform:translateY(-50%);pointer-events:none}
#ticks i{position:absolute;top:0;width:1px;height:12px;background:#555}
#tm{font-variant-numeric:tabular-nums;color:#aaa;flex:none}
#nm{color:#f0e2c4;min-width:180px;flex:none}
#back{color:#888;text-decoration:none;font-size:18px;flex:none}
@media (max-width:640px){#nm{min-width:0;max-width:120px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#tm{display:none}}
body.still #overlay,body.still #bar{display:none}
body.still #wrap{inset:0}
