:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  background: #020610;
  color: #f3f0ff;
  --orb-size: min(76vw, 80vh);
  --orb-x: 50vw;
  --orb-y: 47vh;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { -webkit-font-smoothing: antialiased; }
#scene { position: fixed; inset: 0; overflow: hidden; isolation: isolate; touch-action: pan-y; }
.ambient { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 46%, #10172d 0%, #050b19 40%, #01050d 78%); }
#canvas-host, #canvas-host canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.orb-content { position: absolute; left: var(--orb-x); top: var(--orb-y); width: var(--orb-size); height: var(--orb-size); transform: translate(-50%, -50%); pointer-events: none; }
.project-title { position: absolute; top: 36%; width: 100%; margin: 0; color: #f1f1ff; text-align: center; font-size: calc(var(--orb-size) * .0665); font-weight: 400; line-height: 1.49; letter-spacing: .036em; text-shadow: 0 0 9px #b9bcff75, 0 1px 3px #000a; }
.project-title span { display: block; white-space: nowrap; }
.document-icon { position: absolute; width: 17%; height: 16%; left: 42%; top: 16.5%; transform: rotate(4deg); filter: drop-shadow(0 0 9px #ab89fd77); }
.document-back, .document-front { position: absolute; display: block; width: 77%; height: 73%; border-radius: 9%; border: 1px solid #f1e7ffd9; }
.document-back { top: 0; left: 22%; background: linear-gradient(140deg, #ebdfff 0%, #b5a0f0 34%, #7156bc 100%); box-shadow: inset 0 0 5px #fff9, 0 0 6px #ab82ff70; }
.document-front { top: 20%; left: 7%; background: linear-gradient(145deg, #b8a3f5 0%, #7056b6 48%, #504581 100%); box-shadow: inset 0 0 4px #f5eaff99, 0 0 5px #dab7ff70; border-width: calc(var(--orb-size) * .005); }
.document-front i { display: block; position: absolute; height: 7%; width: 59%; top: 30%; left: 18%; border-radius: 2px; background: #f6f1ff; box-shadow: 0 0 5px #fff9; }
.document-front i + i { top: 60%; width: 47%; }
.toolbar { position: fixed; bottom: max(23px, env(safe-area-inset-bottom)); left: 32px; right: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #a7a5bd; opacity: .58; transition: opacity .25s; user-select: none; }
.toolbar:hover, .toolbar:focus-within { opacity: 1; }
.interaction-hint { font-size: 11px; letter-spacing: .15em; }
.controls { display: flex; align-items: center; gap: 5px; padding: 3px 5px; border-radius: 30px; border: 1px solid #b4a3ed1c; background: #080b1f65; backdrop-filter: blur(15px); }
button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 10px; border: 0; border-radius: 20px; background: transparent; color: #c9c4df; font: inherit; font-size: 11px; cursor: pointer; transition: background .2s, color .2s; }
button:hover { background: #b49be919; color: #fff; }
button:focus-visible { outline: 1px solid #c5a8ff; outline-offset: 3px; }
button svg { width: 16px; height: 16px; }
.control-divider { width: 1px; height: 12px; background: #aba1d12b; }
.play-glyph, [aria-pressed="true"] .pause-glyph { display: none; }
[aria-pressed="true"] .play-glyph { display: block; }
#error-message { position: absolute; left: 10%; right: 10%; bottom: 15%; text-align: center; font-size: 13px; line-height: 1.8; color: #bfc3e5; }
noscript { position: fixed; bottom: 20%; width: 100%; text-align: center; }
@media (max-width: 600px) { .toolbar { left: 18px; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); } .interaction-hint { font-size: 10px; letter-spacing: .08em; } }
@media (max-height: 420px) { .toolbar { bottom: 8px; left: 12px; right: 12px; } .interaction-hint { visibility: hidden; } .controls { transform: scale(.85); transform-origin: right bottom; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
