*{margin:0;padding:0;box-sizing:border-box}html,body{width:100%;height:100%;background:#000;overflow:hidden}body{font-family:SF Mono,Menlo,monospace;color:#e8e8e8}#scene{position:fixed;inset:0;width:100%;height:100%;display:block}#hud{position:fixed;inset:0;pointer-events:none}#hud>*{opacity:0}#hud .status{position:absolute;left:40px;top:calc(var(--bar, 0px) + 26px);font-size:13px;letter-spacing:.08em}#hud .status i{display:inline-block;width:8px;height:8px;background:#ffb82e;border-radius:50%;margin-right:10px;vertical-align:1px}#hud .tag{position:absolute;left:0;top:0;font-size:13px;letter-spacing:.04em;padding:5px 9px;border:1px solid rgba(255,255,255,.25);background:#0a0c10b8;white-space:nowrap;will-change:transform}#hud .tag.win{border-color:#ffb82e;color:#ffcf70}#hud .tag .dim,#hud .dim{color:#8f97a6}#hud .panel{position:absolute;right:56px;top:calc(var(--bar, 0px) + 26px);width:300px;background:#0a0c10d1;border:1px solid rgba(255,184,46,.55);padding:20px 22px}#hud .panel h4{font-size:12px;letter-spacing:.14em;color:#8f97a6;font-weight:500;margin-bottom:10px}#hud .score{font-family:-apple-system,SF Pro Display,sans-serif;font-size:64px;font-weight:600;color:#fff;line-height:1}#hud .score b{color:#ffb82e;font-weight:600}#hud .row{display:flex;justify-content:space-between;font-size:13px;margin-top:8px}#hud .sep{height:1px;background:#ffffff1f;margin:14px 0}#hud .formula{font-size:12px;color:#c9ced8;line-height:1.6}#bars{position:fixed;inset:0;pointer-events:none}#bars i{position:absolute;left:0;right:0;height:var(--bar, 0px);background:#000}#bars i:first-child{top:0}#bars i:last-child{bottom:0}#fade{position:fixed;inset:0;background:#000;pointer-events:none}#end{position:fixed;left:0;right:0;bottom:0;height:max(var(--bar, 0px),96px);display:flex;align-items:center;justify-content:center;gap:12px;padding:0 20px;background:linear-gradient(transparent,#000000a6);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .45s,transform .45s cubic-bezier(.2,.7,.2,1),visibility 0s .45s;z-index:6}#end.on{opacity:1;visibility:visible;transform:none;transition:opacity .45s,transform .45s cubic-bezier(.2,.7,.2,1)}#end button{font:14px SF Mono,Menlo,monospace;letter-spacing:.04em;color:#dfe3ea;background:#0a0c10b3;border:1px solid rgba(255,255,255,.28);min-height:44px;padding:0 20px;cursor:pointer}#end #again{color:#ffcf70;border-color:#ffb82e}#end button:hover,#end button:focus-visible{border-color:#ffb82e;color:#ffcf70;outline:none}#end #again:hover,#end #again:focus-visible{background:#ffb82e24}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media (max-aspect-ratio: 1/1){#end{align-items:flex-start;padding-top:28px;flex-wrap:wrap}}@media (prefers-reduced-motion: reduce){#end,#end.on{transform:none}}#loader{position:fixed;inset:0;display:grid;place-items:end start;padding:40px 32px 96px;font-size:13px;letter-spacing:.08em;color:#8f97a6;background:#000;transition:opacity .6s}#loader.done{opacity:0;pointer-events:none}#skip{position:fixed;right:32px;bottom:28px;font:12px SF Mono,Menlo,monospace;letter-spacing:.1em;text-transform:uppercase;color:#c9ced8;background:#0a0c1099;border:1px solid rgba(255,255,255,.2);padding:9px 14px;cursor:pointer;z-index:5}#skip:hover,#skip:focus-visible{border-color:#ffb82e;color:#ffcf70;outline:none}#skip.gone,#leave.gone{display:none}#leave{position:fixed;left:32px;bottom:28px;font:12px SF Mono,Menlo,monospace;letter-spacing:.1em;text-transform:uppercase;color:#c9ced8;background:#0a0c1099;border:1px solid rgba(255,255,255,.2);padding:9px 14px;cursor:pointer;z-index:5}#leave:hover,#leave:focus-visible{border-color:#ffb82e;color:#ffcf70;outline:none}@media (max-aspect-ratio: 1/1),(max-height: 500px){#hud .status{font-size:11px}#hud .status i{width:7px;height:7px;margin-right:8px}#hud .tag{font-size:11px;padding:4px 7px;z-index:1}#hud .panel{width:232px;padding:14px 16px}#hud .panel h4{font-size:10px;margin-bottom:6px}#hud .score{font-size:40px}#hud .formula{font-size:11px;line-height:1.5}#hud .row{font-size:11px;margin-top:4px}#hud .sep{margin:10px 0}}@media (min-aspect-ratio: 1/1) and (max-height: 500px){#hud .status{left:20px;top:calc(var(--bar, 0px) + 16px)}#hud .panel{right:16px;top:calc(var(--bar, 0px) + 16px)}#hud .formula{font-size:10.5px}#hud .panel>:nth-child(n+6){display:none}}@media (max-aspect-ratio: 1/1){#hud{z-index:1}#hud .status{left:16px;top:calc(100% - var(--bar, 0px) + 14px)}#hud .panel{left:16px;right:16px;top:auto;bottom:calc(100% - var(--bar, 0px) + 12px);width:auto;display:grid;grid-template-columns:auto 1fr;column-gap:20px;align-items:start}#hud .panel>:nth-child(1){grid-area:1 / 1}#hud .panel>:nth-child(2){grid-area:2 / 1}#hud .panel>:nth-child(3){display:none}#hud .panel>:nth-child(4){grid-area:1 / 2}#hud .panel>:nth-child(5){grid-area:2 / 2}#hud .panel>:nth-child(n+6){grid-column:1 / -1}}#turn{position:fixed;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:0 32px 96px;text-align:center;transition:opacity .4s}#turn[hidden]{display:none}#turn.gone{opacity:0;pointer-events:none}#turn p{font-size:13px;letter-spacing:.08em;color:#c9ced8}#turn button{font:14px SF Mono,Menlo,monospace;letter-spacing:.04em;color:#dfe3ea;background:#0a0c10b3;border:1px solid rgba(255,255,255,.28);min-height:44px;padding:0 20px;cursor:pointer}#turn button:hover,#turn button:focus-visible{border-color:#ffb82e;color:#ffcf70;outline:none}#turn .phone{position:relative;width:44px;height:80px;border:2px solid #c9ced8;border-radius:9px;overflow:hidden;animation:turn 2.8s cubic-bezier(.6,0,.2,1) infinite}#turn .phone i{position:absolute;left:50%;top:50%;width:100%;height:22%;background:#ffb82e;transform:translate(-50%,-50%);animation:picture 2.8s cubic-bezier(.6,0,.2,1) infinite}@keyframes turn{0%,20%{transform:none}45%,80%{transform:rotate(-90deg)}to{transform:none}}@keyframes picture{0%,20%{width:100%;height:22%}45%,80%{width:80%;height:100%}to{width:100%;height:22%}}@media (prefers-reduced-motion: reduce){#turn .phone{animation:none;transform:rotate(-90deg)}#turn .phone i{animation:none;width:80%;height:100%}}
