html,body{color:#fff;background:#000;height:100%;margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;overflow:hidden}body.idle{cursor:none}#video,#gl,#canvas{width:100vw;height:100vh;position:fixed;inset:0}#video{object-fit:cover}#video.mirrored{transform:scaleX(-1)}#hud{white-space:pre;pointer-events:none;background:#0000008c;border-radius:8px;padding:8px 14px;font:600 20px/1.4 ui-monospace,Menlo,Consolas,monospace;position:fixed;top:16px;left:16px}#status{text-align:center;text-shadow:0 2px 12px #000;pointer-events:none;justify-content:center;align-items:center;padding:0 10vw;font-size:4vh;font-weight:700;display:flex;position:fixed;inset:0}#status:empty{display:none}#status:not(:empty){--logo:calc(max(8vh, 5vw) + min(17vh, 19vw) * 1.25);box-sizing:border-box;padding:var(--logo) 8vw max(6vh, 4vw);color:#fff;text-shadow:none;-webkit-text-stroke:.22em #2e1f47;paint-order:stroke fill;background:radial-gradient(75vw 20vh at 18% 100%,#8fd45a 97%,#0000 100%),radial-gradient(85vw 26vh at 88% 104%,#7cc84d 97%,#0000 100%),linear-gradient(#6ec3ff,#ddf3ff 80%);flex-direction:column;gap:min(3.2vh,4.5vw);font-family:Fredoka,Trebuchet MS,system-ui,sans-serif;font-size:clamp(20px,min(5.4vh,6.4vw),64px);font-weight:700;line-height:1.3}#status:not(:empty):after{--d:min(4.4vh, 6vw);content:"";width:calc(var(--d) * 4.2);height:calc(var(--d) * 1.9);background-image:radial-gradient(circle closest-side,#ffc531 70%,#2e1f47 73% 96%,#0000 99%),radial-gradient(circle closest-side,#ff5fa8 70%,#2e1f47 73% 96%,#0000 99%),radial-gradient(circle closest-side,#3d8bff 70%,#2e1f47 73% 96%,#0000 99%);background-size:var(--d) var(--d);background-position:0 100%,50% 100%,100% 100%;background-repeat:no-repeat;flex:none;animation:1.1s ease-in-out infinite status-dots}@keyframes status-dots{0%,85%,to{background-position:0 100%,50% 100%,100% 100%}15%{background-position:0 0,50% 100%,100% 100%}30%{background-position:0 100%,50% 0,100% 100%}45%{background-position:0 100%,50% 100%,100% 0}60%{background-position:0 100%,50% 100%,100% 100%}}#status[data-state=camera]:not(:empty):after,#status[data-state=camera-error]:not(:empty):after,#status[data-state=error]:not(:empty):after{--d:min(17vh, 22vw);width:var(--d);height:calc(var(--d) * .84);filter:drop-shadow(0 .06em #2e1f474d);background-position:50%;background-size:contain;order:-1;animation:none}#status[data-state=camera]:not(:empty):after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cg stroke='%232e1f47' stroke-width='7' stroke-linejoin='round'%3E%3Crect x='28' y='12' width='34' height='22' rx='7' fill='%23ff5fa8'/%3E%3Crect x='6' y='24' width='108' height='70' rx='20' fill='%233d8bff'/%3E%3Ccircle cx='60' cy='59' r='26' fill='%23ffffff'/%3E%3Ccircle cx='60' cy='59' r='13' fill='%232e1f47'/%3E%3C/g%3E%3Cpath d='M16 40 Q18 31 28 31 L44 31' stroke='%23ffffff' stroke-opacity='.45' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='54' cy='53' r='5' fill='%23ffffff'/%3E%3Ccircle cx='97' cy='40' r='6' fill='%23ffc531' stroke='%232e1f47' stroke-width='4'/%3E%3C/svg%3E")}#status[data-state=camera-error]:not(:empty):after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cg stroke='%232e1f47' stroke-width='7' stroke-linejoin='round'%3E%3Crect x='22' y='12' width='34' height='22' rx='7' fill='%23ff5fa8'/%3E%3Crect x='4' y='24' width='100' height='70' rx='20' fill='%233d8bff'/%3E%3Ccircle cx='54' cy='59' r='26' fill='%23ffffff'/%3E%3Ccircle cx='54' cy='59' r='13' fill='%232e1f47'/%3E%3Ccircle cx='96' cy='24' r='19' fill='%23ff4d4d'/%3E%3C/g%3E%3Ccircle cx='48' cy='53' r='5' fill='%23ffffff'/%3E%3Crect x='92.5' y='12' width='7' height='15' rx='3.5' fill='%23ffffff'/%3E%3Ccircle cx='96' cy='33' r='4' fill='%23ffffff'/%3E%3C/svg%3E")}#status[data-state=error]:not(:empty):after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Ccircle cx='60' cy='50' r='42' fill='%23ff8a3d' stroke='%232e1f47' stroke-width='7'/%3E%3Cpath d='M30 38 Q36 20 56 15' stroke='%23ffffff' stroke-opacity='.5' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3Crect x='53' y='24' width='14' height='34' rx='7' fill='%23ffffff' stroke='%232e1f47' stroke-width='4'/%3E%3Ccircle cx='60' cy='72' r='8' fill='%23ffffff' stroke='%232e1f47' stroke-width='4'/%3E%3C/svg%3E")}#splash{display:none}#status:not(:empty)+#splash{box-sizing:border-box;pointer-events:none;flex-direction:column;align-items:center;padding-top:max(8vh,5vw);font-family:Fredoka,Trebuchet MS,system-ui,sans-serif;display:flex;position:fixed;inset:0}#splash .logo{letter-spacing:.02em;white-space:nowrap;filter:drop-shadow(0 .05em #2e1f474d);font-size:min(17vh,19vw);font-weight:700;line-height:1.1}#splash .logo span{-webkit-text-stroke:.15em #2e1f47;paint-order:stroke fill;text-shadow:0 .06em #2e1f47,0 .1em #2e1f47;animation:1.6s ease-in-out infinite splash-bob;display:inline-block}#splash .logo .gap{margin-left:.12em}#splash .logo span:first-child{color:#3d8bff;animation-delay:0s}#splash .logo span:nth-child(2){color:#ff5fa8;animation-delay:-.12s}#splash .logo span:nth-child(3){color:#2fc46b;animation-delay:-.24s}#splash .logo span:nth-child(4){color:#ffc02e;animation-delay:-.36s}#splash .logo span:nth-child(5){color:#ff8a3d;animation-delay:-.48s}#splash .logo span:nth-child(6){color:#a66bff;animation-delay:-.6s}#splash .logo span:nth-child(7){color:#3d8bff;animation-delay:-.72s}@keyframes splash-bob{0%,to{transform:translateY(0)rotate(-2deg)}50%{transform:translateY(-.07em)rotate(2deg)}}@media (prefers-reduced-motion:reduce){#splash .logo span,#status:not(:empty):after{animation:none}}#hud.rec{color:#ff5252}#panel{white-space:pre;pointer-events:none;width:min(440px,40vw);max-height:calc(100vh - 32px);font:600 17px/1.45 ui-monospace,Menlo,Consolas,monospace;position:fixed;top:16px;right:16px;overflow:hidden}#panel .p{background:#000000a6;border-left:5px solid #888;border-radius:6px;margin-bottom:10px;padding:8px 12px}#panel[hidden],#video[hidden],#gl[hidden]{display:none}body:has(#video[hidden]){background:#15171c}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.noscript{justify-content:center;align-items:center;font-size:4vh;display:flex;position:fixed;inset:0}@font-face{font-family:Fredoka;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/fredoka-latin.woff2)format("woff2")}
