:root { color-scheme: dark; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background: #000; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #000; }
body { -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
button { font: inherit; color: inherit; border: 0; padding: 0; background: transparent; cursor: pointer; touch-action: manipulation; }
[hidden] { display: none !important; }
#page { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 100svh; padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); background: #000; }
#entrance { display: flex; flex-direction: column; align-items: center; gap: 20px; }
h1 { margin: 0; color: #fff; font-size: 24px; line-height: 1.4; font-weight: 600; letter-spacing: 2px; }
#avatar { display: block; width: min(80vw, 420px); max-height: 60vh; }
#avatar img { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: contain; user-select: none; -webkit-user-drag: none; }
button:focus-visible { outline: 2px solid #fff; outline-offset: 8px; }
#performance { width: min(94vw, 960px); height: min(75svh, 680px); max-height: calc(100vh - 40px); }
#stage { display: block; width: 100%; height: 100%; background: #000; }
#status { position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); width: min(88vw, 440px); margin: 0; color: #ccc; text-align: center; font-size: 14px; line-height: 1.6; }
#fallback-audio { display: none; }
@media (max-height: 420px) { #entrance { gap: 12px; } h1 { font-size: 20px; } #avatar { width: min(70vw, 320px); } }
