:root { color-scheme: dark; font-family: Inter, "Noto Sans TC", system-ui, sans-serif; background: #08080d; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 50% 0%, #21163e, #08080d 54%); color: #f7f5ff; }
.app { width: min(1500px, calc(100vw - 28px)); padding: 18px 0 24px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 14px; }
.eyebrow { margin: 0 0 5px; font-size: 11px; letter-spacing: .16em; color: #b89cff; }
h1 { margin: 0; font-size: clamp(25px, 4vw, 38px); }
button { border: 1px solid #c9b8ff; border-radius: 999px; padding: 11px 18px; background: #a985ff; color: #130c25; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 0 26px #8b62ff88; }
button:hover { background: #d1c2ff; }
.stage { position: relative; isolation: isolate; overflow: hidden; height: min(78vh, 860px); min-height: 540px; border: 1px solid #ffffff24; border-radius: 24px; background: #14121b; box-shadow: 0 25px 80px #0008; }
video, canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
video { transform: scaleX(-1); }
canvas { pointer-events: none; }
.hint, .status { position: absolute; z-index: 2; border-radius: 999px; backdrop-filter: blur(14px); background: #09061175; border: 1px solid #ffffff2c; }
.hint { left: 18px; bottom: 18px; max-width: calc(100% - 36px); padding: 10px 14px; font-size: 14px; }
.status { top: 16px; right: 16px; padding: 7px 11px; font-size: 12px; color: #e9e1ff; }
.guide { color: #c8c1d7; line-height: 1.7; margin: 16px 4px 0; }
@media (max-width: 600px) { header { align-items: flex-start; flex-direction: column; } .stage { height: calc(100vh - 185px); min-height: 440px; border-radius: 17px; } button { width: 100%; } }
