:root {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #fff; background: #88cccc; font-synthesis: none;
  -webkit-font-smoothing: antialiased; font-weight: 400;
  --ink: rgba(255,255,255,.76);
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
body { min-height: 320px; touch-action: none; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { color: inherit; touch-action: manipulation; }
button { font: inherit; cursor: pointer; border: 0; user-select: none; }
button:disabled { cursor: wait; opacity: .65; }
a { text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
button, a { transition: opacity .2s, background .2s, transform .2s; }
button:active { transform: scale(.96); }
[hidden] { display: none !important; }
#canvas { outline: none; position: fixed; inset: 0; width: 100%; height: 100%; touch-action: none; }
main { position: relative; pointer-events: none; height: 100%; }
main button { pointer-events: auto; }
.topbar { position: fixed; inset: 0 0 auto; z-index: 2; padding: 30px 38px; pointer-events: none; }
.collection { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 2px; opacity: .85; pointer-events: auto; }
.collection-mark { font-size: 24px; line-height: 1; }
.intro { position: absolute; top: 49%; left: 50%; transform: translate(-50%, -50%); text-align: center; width: min(92%, 640px); }
h1 { font-size: clamp(76px, 11vw, 132px); letter-spacing: -7px; font-weight: 300; line-height: 1.16; margin: 0 0 38px; }
.title-dot { color: #f6ffbf; }
.start-button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-width: 178px; min-height: 52px; padding: 13px 28px; border: 1px solid rgba(255,255,255,.7); border-radius: 50px; background: transparent; font-size: 13px; letter-spacing: 3px; }
.start-button:hover { background: #fff; color: #629d9d; transform: translateY(-2px); }
.play-icon { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.load-status { font-size: 10px; letter-spacing: 1px; margin: 16px 0 0; line-height: 1.9; color: var(--ink); }
.load-status:empty { display: none; }
.intro-footer { position: fixed; bottom: max(29px, env(safe-area-inset-bottom)); left: 38px; right: 38px; display: flex; justify-content: flex-end; color: var(--ink); z-index: 2; }
.intro-footer a { font-size: 9px; letter-spacing: .7px; }
.intro-footer a span { margin-left: 7px; }
.intro-footer a:hover { color: #fff; }
.stage { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.play-hint { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: calc(100% - 48px); margin: 0; text-align: center; color: #fff; font-size: clamp(14px, 1.7vw, 24px); font-weight: 400; line-height: 2; letter-spacing: .18em; opacity: 0; pointer-events: none; user-select: none; transition: opacity .3s ease; }
.play-hint span { display: inline-block; white-space: nowrap; }
.play-hint[aria-hidden="false"] { opacity: .9; animation: play-hint-appear .7s ease-out; }
@keyframes play-hint-appear { from { opacity: 0; } to { opacity: .9; } }
.toolbar { position: absolute; bottom: max(28px, env(safe-area-inset-bottom)); right: 38px; }
.toolbar-right { display: flex; align-items: center; gap: 12px; pointer-events: auto; }
.tool-button { display: flex; align-items: center; justify-content: center; min-width: 30px; min-height: 36px; padding: 8px 0; background: transparent; color: var(--ink); }
.tool-button:hover { color: #fff; }
.tool-button > span { font-size: 18px; line-height: 1; }
#mute[aria-pressed="true"] { opacity: .45; }
.fullscreen-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.volume-label { display: flex; align-items: center; }
.volume-label input { appearance: none; -webkit-appearance: none; width: 64px; height: 24px; border-radius: 2px; background: linear-gradient(to bottom, transparent 11px, rgba(255,255,255,.35) 11px, rgba(255,255,255,.35) 13px, transparent 13px); cursor: pointer; }
.volume-label input::-webkit-slider-thumb { appearance: none; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.volume-label input::-moz-range-thumb { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; }
.toast { position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%); padding: 10px 20px; border-radius: 50px; background: rgba(32,69,77,.75); font-size: 11px; letter-spacing: 1px; z-index: 10; pointer-events: none; max-width: 90%; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1600px) {
  .intro { top: 48%; }
  h1 { font-size: 150px; margin-bottom: 44px; }
  .start-button { min-height: 58px; min-width: 188px; }
}
@media (max-width: 600px) {
  .topbar { padding: 24px; }
  .collection { font-size: 10px; gap: 8px; letter-spacing: 1px; }
  .collection-mark { font-size: 21px; }
  .intro { top: 47%; }
  h1 { font-size: 88px; letter-spacing: -5px; margin-bottom: 32px; }
  .start-button { font-size: 12px; min-width: 170px; min-height: 50px; }
  .intro-footer { left: 24px; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); }
  .intro-footer a { font-size: 8px; }
  .toolbar { right: 24px; bottom: max(22px, env(safe-area-inset-bottom)); }
  .toolbar-right { gap: 8px; }
  .volume-label input { width: 42px; }
  .tool-button > span { font-size: 17px; }
}
@media (max-height: 520px) {
  .intro { top: 50%; }
  h1 { font-size: 68px; margin-bottom: 24px; }
  .start-button { min-height: 40px; padding: 10px 22px; }
  .load-status { margin-top: 9px; font-size: 8px; }
  .topbar { padding: 20px 26px; }
  .intro-footer { bottom: 17px; left: 26px; right: 26px; }
  .toolbar { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .play-hint { animation: none !important; }
}
