@font-face{font-family:Panton;src:url(/fonts/Panton-Regular.otf)}@font-face{font-family:Panton;src:url(/fonts/Panton-Bold.otf);font-weight:700}*{box-sizing:border-box}html,body{color:#142344;background:#edf7f4;min-height:100%;margin:0;font-family:Panton,Arial,sans-serif}button,input{font:inherit}button,a{touch-action:manipulation}button{color:#fff;cursor:pointer;background:#12356b;border:0;border-radius:12px;min-height:48px;padding:14px 20px;font-weight:700}button:hover{filter:brightness(1.1)}button:disabled{opacity:.45;cursor:wait}button.secondary{color:#12356b;background:#daeee9}button.danger{color:#142344;background:#ff756e}input{color:#142344;background:#fff;border:2px solid #accfc9;border-radius:12px;width:100%;padding:16px;font-size:19px}label{gap:8px;display:grid}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:4px;outline:4px solid #ffba47}.landing{max-width:1100px;margin:0 auto;padding:9vh 36px}.brand{letter-spacing:-.07em;color:#12356b;margin:0;font-size:clamp(72px,13vw,160px);line-height:.85}.brand span{color:#f06c62;display:block}.intro{max-width:460px;font-size:26px;line-height:1.35}.home-grid{grid-template-columns:1.1fr 1fr;align-items:center;gap:64px;display:grid}.join-box{background:#fff;border-radius:24px;gap:20px;padding:36px;display:grid;box-shadow:0 14px #dce3fa}.join-box h2{margin:0;font-size:30px}.how{color:#45557f;flex-wrap:wrap;gap:20px;margin-top:65px;display:flex}.how span{flex:1;min-width:180px}.how b{margin-bottom:6px;font-size:21px;display:block}.error{color:#ac302a;min-height:1.3em}.phone{max-width:520px;min-height:100dvh;padding:22px 20px calc(20px + env(safe-area-inset-bottom));flex-direction:column;gap:16px;margin:auto;display:flex}.phone header{justify-content:space-between;align-items:center;display:flex}.wordmark{letter-spacing:-1px;font-size:27px;font-weight:700}.connection{font-size:13px}.status{min-height:54px;font-size:22px;font-weight:700;line-height:1.25}.stats{gap:12px;display:flex}.stat{background:#fff;border-radius:16px;flex:1;padding:14px}.stat strong{font-size:30px;display:block}.stat span{color:#657198;font-size:14px}.scan-area{aspect-ratio:1;color:#fff;text-align:center;background:#142344;border-radius:24px;justify-content:center;align-items:center;min-height:300px;display:flex;position:relative;overflow:hidden}.scan-area video{object-fit:cover;width:100%;height:100%;position:absolute}.reticle{pointer-events:none;border:3px solid #ffd64b;border-radius:16px;width:65%;height:65%;position:absolute}.scan-hint{background:#142344;border-radius:10px;padding:8px 14px;font-size:14px;position:absolute;bottom:12px}.controls{flex-direction:column;flex:1;gap:16px;display:flex}.joystick{touch-action:none;background:#d8e0fa;border:3px solid #bdcbed;border-radius:50%;width:250px;height:250px;margin:12px auto;position:relative;box-shadow:inset 0 0 0 38px #e8edff}.joystick:before,.joystick:after{content:"";background:#bcc9ed;width:2px;height:76%;position:absolute;top:12%;left:50%}.joystick:after{transform:rotate(90deg)}.knob{background:var(--player,#ff756e);z-index:1;pointer-events:none;border-radius:50%;width:90px;height:90px;position:absolute;top:calc(50% - 45px);left:calc(50% - 45px);box-shadow:0 8px #14234424}.action{color:#142344;background:#ffd64b;font-size:23px}.hint{color:#53648f;margin:0;line-height:1.4}.screen{background:#12356b;height:100dvh;overflow:hidden}.arena{object-fit:contain;width:100vw;height:100dvh;display:block}.screen-controls{opacity:.15;gap:8px;transition:opacity .2s;display:flex;position:fixed;bottom:14px;left:50%;transform:translate(-50%)}.screen-controls:hover,.screen-controls:focus-within{opacity:1}.screen-controls button{color:#12356b;background:#fff;min-height:38px;padding:8px 14px;font-size:14px}.overlay{background:#10205ca8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.panel{background:#fff;border-radius:26px;width:100%;max-width:680px;max-height:90vh;padding:34px;overflow:auto;box-shadow:0 15px #14266355}.panel h1{letter-spacing:-1px;margin:0 0 8px;font-size:42px}.panel h2{margin-top:0}.lobby-layout{grid-template-columns:220px 1fr;align-items:center;gap:24px;display:grid}.join-qr{width:220px;height:220px;image-rendering:pixelated}.room-code{letter-spacing:4px;font-size:32px;font-weight:700}.players{flex-wrap:wrap;gap:8px;margin:20px 0;display:flex}.player-chip{color:#142344;background:#edf7f4;border-radius:30px;padding:9px 14px;font-weight:700}.row{justify-content:space-between;align-items:center;gap:12px;margin:15px 0;display:flex}.row input{width:auto}.panel-actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.results-list{padding:0;list-style:none}.results-list li{background:#edf7f4;border-radius:10px;justify-content:space-between;margin-bottom:8px;padding:12px;font-size:22px;display:flex}.award{background:#fff0be;border-radius:12px;margin:12px 0;padding:15px}.small{color:#657198;font-size:14px}.hidden{display:none!important}.scan-link{gap:8px;display:grid}.scan-link input{font-size:14px}.mini-link{color:#12356b}.party-label{color:#8e5b13;font-weight:700}@media (width<=700px){.home-grid{grid-template-columns:1fr;gap:34px}.landing{padding:45px 22px}.brand span{display:inline}.brand{font-size:86px}.intro{font-size:21px}.join-box{padding:26px}.how{margin-top:38px}.lobby-layout{text-align:center;grid-template-columns:1fr}.join-qr{margin:auto}.panel{padding:24px}.panel h1{font-size:32px}.screen-controls{flex-wrap:wrap;justify-content:center;width:95%}.screen-controls button{padding:6px 10px}.joystick{width:220px;height:220px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.host-setup{align-items:end;gap:14px;display:flex}.join-only{gap:30px;padding-top:30px}.join-only .join-box{gap:20px;padding:28px}.join-only h1{margin:0;font-size:32px}.join-only .join-box p{margin:0;line-height:1.45}.host-setup label{width:90px;font-size:16px}.host-setup input{padding:10px}.host-setup button{margin-bottom:1px}.avatar{flex:none;width:44px;height:44px;overflow:visible}.player-chip{align-items:center;gap:8px;padding:6px 12px;display:inline-flex}.player-chip .avatar{width:32px;height:32px}.phone{gap:10px;padding-top:14px}.identity{align-items:center;gap:10px;display:flex}.identity span{gap:2px;display:grid}.identity small{color:#657198;font-size:13px}.phone .status{min-height:38px;margin:0;font-size:18px}.phone .stat{padding:10px 14px}.phone .stat strong{font-size:25px}.camera-shell{gap:6px;display:grid}.camera-shell .scan-area{aspect-ratio:1.1;min-height:240px;max-height:320px}.camera-shell.compact .scan-area{aspect-ratio:auto;border-radius:16px;height:112px;min-height:112px;max-height:112px}.camera-shell.compact video{object-fit:cover}.camera-controls{justify-content:space-between;align-items:center;gap:8px;display:flex}.camera-controls button{min-height:34px;padding:7px 12px;font-size:14px}.camera-controls #camera{width:100%;min-height:42px}.camera-controls #camera-live{font-size:12px}.phone .joystick{width:190px;height:190px;margin:3px auto}.phone .knob{width:76px;height:76px;top:calc(50% - 38px);left:calc(50% - 38px)}.phone .controls{gap:9px}.phone .hint{font-size:13px}.phone .action{min-height:46px;padding:10px 16px;font-size:21px}.phone #scan-other{min-height:44px;padding:10px 14px}.camera-shell.compact .scan-hint{padding:5px 9px;font-size:12px;bottom:7px}.phone details{margin-top:6px}.camera-shell.compact .scan-area:has(video:not([src])){background:#142344}
