:root{--bg:#1a1917;--bg-raised:#262624;--ink:#f5f2ea;--ink-soft:#f5f2eab3;--ink-faint:#f5f2ea75;--gold:#c99a22;--gold-bright:#e2b84a;--gold-ink:#1a1608;--glass:#18171594;--line:#f5f2ea29;--surface:#000;--gutter:20px;color:var(--ink);background:var(--bg);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html,body,#root{background:var(--bg);overscroll-behavior:none;-webkit-tap-highlight-color:transparent;height:100%;margin:0;overflow:hidden}.camera{touch-action:none;display:block;position:fixed;inset:0;width:100%!important;height:100%!important}.video{background:var(--surface);position:fixed}.video--hidden{opacity:0;pointer-events:none;width:2px;height:2px;top:0;left:0}.video--fullscreen{object-fit:contain;opacity:1;z-index:10;width:100%;height:100%;inset:0}.screen{z-index:20;padding:calc(var(--gutter) + env(safe-area-inset-top)) var(--gutter) calc(var(--gutter) + env(safe-area-inset-bottom));text-align:center;background:radial-gradient(120% 60% at 50% 0%, #c99a2233, transparent 70%), var(--bg);flex-direction:column;align-items:center;gap:28px;display:flex;position:fixed;inset:0;overflow-y:auto}.screen__body{flex-direction:column;align-items:center;gap:16px;width:100%;margin:auto 0;display:flex}.screen__foot{flex-direction:column;align-items:center;gap:16px;width:100%;max-width:420px;display:flex}.brand{letter-spacing:.01em;align-items:center;gap:10px;font-size:1.05rem;font-weight:650;display:flex}.brand__mark{aspect-ratio:240/183;background:var(--gold);width:34px;-webkit-mask:var(--logo) center / contain no-repeat;-webkit-mask:var(--logo) center / contain no-repeat;mask:var(--logo) center / contain no-repeat}.screen__title{letter-spacing:-.015em;text-wrap:balance;max-width:18ch;margin:8px 0 0;font-size:1.75rem;font-weight:700;line-height:1.15}.screen__text{max-width:32ch;color:var(--ink-soft);text-wrap:pretty;margin:0;line-height:1.5}.screen__note{text-align:left;max-width:40ch;color:var(--ink-faint);align-items:flex-start;gap:8px;margin:0;font-size:.78rem;line-height:1.45;display:flex}.screen__note .icon{flex:none;width:14px;height:14px;margin-top:2px}.screen__url{overflow-wrap:anywhere;max-width:100%;color:var(--ink-faint);margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.82rem}.screen__qr{background:#fff;border-radius:16px;width:min(60vw,220px);margin-top:8px;padding:10px;line-height:0}.screen__qr svg{width:100%;height:auto}.sign{width:64px;height:64px;color:var(--gold-bright);background:#c99a2224;border:1px solid #c99a2259;border-radius:50%;place-items:center;display:grid}.sign .icon{width:28px;height:28px}.hero{aspect-ratio:4/3;width:min(62vw,240px);color:var(--gold);margin-bottom:12px;position:relative}.hero__photo{border:1px solid var(--line);background:linear-gradient(150deg,#3a3833,#2a2926);border-radius:6px;place-items:center;display:grid;position:absolute;inset:14%;transform:rotate(-3deg);box-shadow:0 18px 40px #00000073}.hero__play{width:44px;height:44px;color:var(--gold-ink);background:var(--gold);border-radius:50%;place-items:center;display:grid;box-shadow:0 0 0 8px #c99a222e}.hero__play .icon{width:20px;height:20px;margin-left:2px}.frame{pointer-events:none;position:absolute;inset:0}.frame i{border:3px solid;border-radius:3px;width:26px;height:26px;position:absolute}.frame i:first-child{border-bottom:0;border-right:0;border-top-left-radius:12px;top:0;left:0}.frame i:nth-child(2){border-bottom:0;border-left:0;border-top-right-radius:12px;top:0;right:0}.frame i:nth-child(3){border-top:0;border-right:0;border-bottom-left-radius:12px;bottom:0;left:0}.frame i:nth-child(4){border-top:0;border-left:0;border-bottom-right-radius:12px;bottom:0;right:0}.button{appearance:none;border:1px solid var(--line);min-height:48px;font:inherit;color:var(--ink);background:var(--glass);-webkit-backdrop-filter:blur(14px)saturate(1.3);touch-action:manipulation;border-radius:999px;justify-content:center;align-items:center;gap:10px;padding:0 20px;font-weight:600;transition:transform .12s,background-color .12s;display:inline-flex}.button:active{transform:scale(.96)}.button:disabled{opacity:.4}.button:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px}.button .icon{width:22px;height:22px}.button--primary{width:100%;max-width:420px;min-height:56px;color:var(--gold-ink);background:linear-gradient(180deg, var(--gold-bright), var(--gold));-webkit-backdrop-filter:none;border-color:#0000;font-size:1.08rem;font-weight:700;box-shadow:0 10px 30px #c99a2252}.button--round{flex:none;width:56px;height:56px;min-height:0;padding:0}.button--round .icon{width:24px;height:24px}.hud{z-index:5;pointer-events:none;padding:calc(var(--gutter) + env(safe-area-inset-top)) var(--gutter) calc(var(--gutter) + 8px + env(safe-area-inset-bottom));flex-direction:column;justify-content:flex-end;align-items:center;gap:16px;display:flex;position:fixed;inset:0}.hud:after{content:"";z-index:-1;background:linear-gradient(#0000,#00000080);height:34%;position:absolute;inset:auto 0 0}.hud__frame{aspect-ratio:4/3;color:#ffffffeb;filter:drop-shadow(0 1px 3px #00000080);width:min(78vw,60vh,460px);animation:2.4s ease-in-out infinite breathe;position:absolute;top:46%;left:50%;transform:translate(-50%,-50%)}@keyframes breathe{0%,to{opacity:.95;transform:translate(-50%,-50%)scale(1)}50%{opacity:.6;transform:translate(-50%,-50%)scale(1.035)}}.hud__hint{border:1px solid var(--line);background:var(--glass);-webkit-backdrop-filter:blur(14px)saturate(1.3);text-align:center;border-radius:999px;align-items:center;gap:10px;margin:0;padding:12px 18px;font-weight:550;display:inline-flex}.hud__hint .icon{width:20px;height:20px;color:var(--gold-bright);flex:none}.hud__hint--trouble .icon{color:#ffb4a8}.hud__spinner{margin:-22px 0 0 -22px;position:absolute;top:46%;left:50%}.hud__bar{pointer-events:auto;gap:16px;display:flex}.fullscreen{z-index:11;pointer-events:none;flex-direction:column;justify-content:space-between;display:flex;position:fixed;inset:0}.fullscreen__top,.fullscreen__bottom{pointer-events:auto;align-items:center;gap:14px;display:flex}.fullscreen__top{padding:calc(var(--gutter) + env(safe-area-inset-top)) var(--gutter) 40px;background:linear-gradient(#0000008c,#0000);justify-content:flex-end}.fullscreen__bottom{padding:48px var(--gutter) calc(var(--gutter) + env(safe-area-inset-bottom));background:linear-gradient(#0000,#000000b3)}.fullscreen .button--round{width:48px;height:48px}.fullscreen__seek{appearance:none;touch-action:none;background:0 0;flex:1;min-width:0;height:44px;margin:0}.fullscreen__seek::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--gold-bright) var(--played,0%), #ffffff4d var(--played,0%));border-radius:2px;height:4px}.fullscreen__seek::-moz-range-track{background:#ffffff4d;border-radius:2px;height:4px}.fullscreen__seek::-moz-range-progress{background:var(--gold-bright);border-radius:2px;height:4px}.fullscreen__seek::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px;box-shadow:0 1px 4px #00000080}.fullscreen__seek::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px;box-shadow:0 1px 4px #00000080}.fullscreen__time{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink-soft);font-size:.82rem}.icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;display:block}.icon--solid{fill:currentColor;stroke:none}.spinner{border:3px solid #fff3;border-top-color:var(--gold-bright);border-radius:50%;width:44px;height:44px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:2.5s}.hud__frame{animation:none}.button{transition:none}}@media (max-height:520px){.screen{gap:14px}.hero{display:none}.screen__title{font-size:1.4rem}}.debug{top:calc(8px + env(safe-area-inset-top));z-index:30;color:#7dffb0;pointer-events:none;white-space:pre-wrap;overflow-wrap:anywhere;background:#0009;border-radius:6px;max-width:70vw;margin:0;padding:6px 8px;font:12px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;position:fixed;left:8px}
