@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#eaf6ff;background:#081321;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #56e4eb;outline-offset:3px}button,input,select{touch-action:manipulation}button:hover:not(:disabled){filter:brightness(1.1)}[hidden]{display:none!important}.ambient{position:fixed;z-index:-1;border-radius:50%;filter:blur(100px);pointer-events:none}.ambient-a{width:500px;height:500px;top:-240px;left:-160px;background:#0b506181}.ambient-b{width:520px;height:520px;right:-220px;bottom:-280px;background:#312b626b}.app-shell{max-width:1440px;min-height:100vh;padding:0 clamp(20px,4vw,62px);margin:auto;display:flex;flex-direction:column}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff19}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#f4fbff;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:25px;line-height:.8;letter-spacing:.055em}.brand small{display:block;font-size:10px;letter-spacing:.48em;margin-top:9px;color:#91a8bb}.brand-accent{color:#51e1e9}.brand-mark{font:35px 'DM Sans',sans-serif;color:#ff785f;text-shadow:0 0 24px #ff785f}.topbar-right{display:flex;align-items:center;gap:20px}.connection{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#b2c4d3}.connection i{width:7px;height:7px;border-radius:50%;background:#e8a653;box-shadow:0 0 12px currentColor}.connection.online i{background:#5ce4cf}.connection.offline i{background:#ff716e}.icon-button{background:#ffffff0e;border:1px solid #ffffff21;color:#d9faff;border-radius:11px;width:40px;height:40px;font-size:20px}.screen{flex:1}.home-screen{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(380px,.8fr);gap:clamp(35px,5vw,90px);align-items:center;min-height:calc(100vh - 154px);padding:54px 0 74px}.eyebrow,.overline,.step{font-size:11px;letter-spacing:.22em;font-weight:800;color:#62dfe3}.hero-copy h1,.section-heading h1{font-family:'Barlow Condensed',sans-serif;text-transform:uppercase;font-size:clamp(63px,7vw,116px);letter-spacing:-.025em;line-height:.92;margin:24px 0;color:#f0f7ff}.hero-copy h1 em,.section-heading h1 em{font-style:normal;color:#56e4eb}.hero-copy h1 strong{color:#ff795f;font-weight:900}.hero-copy p,.section-heading p{max-width:470px;color:#9fb3c6;line-height:1.7;font-size:16px}.hero-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:32px}.hero-tags span{border:1px solid #3a627050;background:#122b3a;color:#b9dce5;padding:10px 12px;border-radius:7px;font-size:11px;font-weight:700}.lobby-card,.panel{border:1px solid #ffffff18;background:linear-gradient(140deg,#142539,#0c1c2d);box-shadow:0 22px 65px #0006, inset 0 1px #ffffff0b;border-radius:16px}.lobby-card{padding:clamp(25px,3vw,43px)}.card-heading{margin-bottom:26px}.card-heading h2{font:800 36px 'Barlow Condensed',sans-serif;letter-spacing:.015em;text-transform:uppercase;margin:8px 0}.lobby-card label{display:block;color:#a3bfcc;font-size:10px;font-weight:800;letter-spacing:.17em;margin-bottom:9px}.lobby-card input,.lobby-card select{width:100%;height:47px;padding:0 15px;background:#071a2a;color:#eaf7ff;border:1px solid #315266;border-radius:8px;outline:0}.lobby-card input::placeholder{color:#667e90}.lobby-card input:focus,.lobby-card select:focus{border-color:#55dfe6}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.divider{display:flex;align-items:center;gap:12px;margin:25px 0 17px;color:#7e9aa9;font-size:10px;font-weight:800;letter-spacing:.16em;white-space:nowrap}.divider:before,.divider:after{content:'';height:1px;flex:1;background:#ffffff18}.button{border:0;border-radius:8px;min-height:46px;padding:0 19px;font-size:11px;font-weight:900;letter-spacing:.09em;white-space:nowrap;transition:transform .15s,filter .15s}.button:active:not(:disabled){transform:translateY(2px)}.button-full{width:100%;display:flex;align-items:center;justify-content:space-between}.button-primary{color:#06232f;background:#57e2e9;box-shadow:0 8px 25px #17cbd42c}.button-secondary{background:#20374a;color:#d8f3f9;border:1px solid #386075}.button-coral{color:#1e1724;background:#ff806a;box-shadow:0 8px 25px #ff806a33}.field-row+.button{margin-top:17px}.join-row{display:flex;gap:9px}.join-row input{min-width:0;letter-spacing:.14em;font-weight:800}.card-footnote{color:#819aaa;font-size:11px;margin:17px 0 0}.form-error{color:#ff9d92;font-size:12px;margin:9px 0}.footer{min-height:70px;border-top:1px solid #ffffff18;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:10px;letter-spacing:.15em;font-weight:800;color:#849eb0}.footer .dim{color:#536c7e}.room-screen,.game-screen{padding:44px 0 56px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:35px}.section-heading h1{font-size:clamp(44px,5vw,70px);margin:14px 0}.section-heading p{margin:0}.text-button{border:0;background:transparent;color:#a6cad3;font-weight:800;font-size:12px}.room-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.75fr);gap:20px}.panel{padding:27px}.room-code-wrap{display:flex;justify-content:space-between;gap:15px;align-items:center;padding-bottom:27px;border-bottom:1px solid #ffffff19}.room-code-wrap strong{display:block;margin-top:6px;font:900 53px 'Barlow Condensed',sans-serif;letter-spacing:.16em;color:#f3fbff}.share-buttons{display:flex;gap:8px;flex-wrap:wrap}.room-subhead{display:flex;justify-content:space-between;align-items:center;color:#88a6b4;font-weight:900;font-size:11px;letter-spacing:.15em;padding:26px 0 13px}.room-subhead b{color:#57e4e9}.player-list{list-style:none;margin:0;padding:0;display:grid;gap:9px}.player-list li{min-height:57px;display:flex;align-items:center;gap:12px;padding:9px 15px;border:1px solid #ffffff14;border-radius:9px;background:#091d2d}.player-dot{width:29px;height:29px;border-radius:8px;background:var(--player-color);box-shadow:0 0 16px var(--player-color);position:relative;flex:none}.player-dot:after{content:'••';letter-spacing:3px;color:#0b1726;font-size:12px;position:absolute;top:5px;left:6px}.player-name{font-weight:800;font-size:13px;overflow:hidden;text-overflow:ellipsis}.player-meta{font-size:10px;color:#93aabb;margin-left:auto;font-weight:900;letter-spacing:.1em}.player-meta.ready{color:#61dec9}.player-meta.disconnected{color:#fb877b}.host-badge{color:#eab46d;font-size:9px;font-weight:900;letter-spacing:.1em}.room-hint{margin-top:20px;color:#92adba;font-size:12px}.setting-item{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #ffffff19;padding:20px 0;font-size:13px}.setting-item span{color:#91aebe}.setting-item strong{font-size:12px}.room-actions{display:grid;gap:10px;margin-top:25px}.aside-note{font-size:11px;line-height:1.6;color:#819dae}.game-top{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.game-top h2{font:900 37px 'Barlow Condensed',sans-serif;text-transform:uppercase;margin:5px 0}.game-metrics{display:flex;gap:8px;flex-wrap:wrap}.game-metrics span{padding:10px 13px;border:1px solid #ffffff20;background:#132b3c;border-radius:7px;font-size:11px;font-weight:900;color:#cce6ed}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px}.arena-wrap{position:relative;overflow:hidden;border:1px solid #3d6572;border-radius:13px;background:#0a1c2c;box-shadow:0 25px 65px #0007;width:100%;aspect-ratio:15/13}canvas{width:100%;height:100%;display:block}.game-sidebar{display:grid;gap:15px;align-content:start}.scoreboard ol,.overlay-scores{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:8px}.scoreboard li,.overlay-scores li{display:flex;align-items:center;gap:8px;padding:9px;border-radius:7px;background:#ffffff0a;font-size:12px;font-weight:800}.scoreboard li small,.overlay-scores li small{margin-left:auto;color:#f5d28e;font-size:13px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px}.stats-grid span{background:#0b2030;padding:10px;border-radius:7px;color:#9fbdc9;font-size:11px}.stats-grid strong{display:block;color:#fff;font-size:14px;margin-top:7px}.controls-note{padding:11px;color:#89a8b7;font-size:11px;line-height:2}.controls-note strong,.controls-note span{display:block}.controls-note strong{color:#c4e3e9;letter-spacing:.15em}.game-overlay{position:absolute;inset:0;background:#061324bb;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(5px);text-align:center}.overlay-card{max-width:400px;width:100%;padding:27px;border-radius:14px;border:1px solid #65e1e577;background:#102739ed;box-shadow:0 22px 70px #000b}.overlay-card h2{font:900 clamp(30px,4vw,48px) 'Barlow Condensed',sans-serif;text-transform:uppercase;margin:10px 0;color:#fff}.overlay-card p{color:#acc6d1;font-size:13px;line-height:1.6}.overlay-actions{display:grid;gap:10px;margin-top:22px}.overlay-scores{max-height:190px;overflow:auto}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);padding:12px 18px;border:1px solid #4fe4e6a8;border-radius:8px;color:#e8fbff;background:#143242;box-shadow:0 15px 40px #0008;font-size:12px;font-weight:700;z-index:20;text-align:center;max-width:min(500px,90vw)}.touch-controls{display:none;justify-content:space-between;align-items:end;margin-top:13px}.dpad{text-align:center}.dpad button,.touch-bomb{border:1px solid #638b9c;background:#183a4c;color:#e7faff;border-radius:8px;width:46px;height:46px;font-size:17px}.dpad>div{display:flex;gap:4px;margin-top:4px}.touch-bomb{width:72px;height:72px;border-radius:50%;background:#ff826c;color:#211b23;font-size:28px;font-weight:900}.touch-bomb small{display:block;font-size:8px;letter-spacing:.1em}@media(max-width:950px){.home-screen{grid-template-columns:1fr;padding-top:55px}.hero-copy h1{font-size:clamp(62px,11vw,98px)}.lobby-card{max-width:590px;width:100%}.room-layout,.game-layout{grid-template-columns:1fr}.game-sidebar{grid-template-columns:1fr 1fr}.controls-note{grid-column:1/-1}}@media(max-width:600px){.topbar{height:70px}.app-shell{padding:0 16px}.topbar-right{gap:9px}.connection{font-size:0}.connection i{width:9px;height:9px}.hero-copy h1{font-size:61px}.hero-copy p{font-size:14px}.hero-tags span{font-size:9px}.home-screen{gap:30px;padding:37px 0}.lobby-card{padding:22px}.field-row{grid-template-columns:1fr}.section-heading{display:block}.section-heading h1{font-size:48px}.section-heading .text-button{margin-top:15px}.room-screen,.game-screen{padding:30px 0}.room-code-wrap{align-items:start;flex-direction:column}.share-buttons{width:100%}.share-buttons .button{flex:1}.game-top{display:block}.game-metrics{margin-top:14px}.game-sidebar{grid-template-columns:1fr 1fr}.game-sidebar .controls-note{display:none}.panel{padding:18px}.footer{font-size:8px}.touch-controls{display:flex}}@media(hover:none){.touch-controls{display:flex}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
.open-rooms{margin-top:32px;max-width:520px}.open-rooms-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.open-room-list{display:grid;gap:7px;max-height:210px;overflow:auto}.open-room-empty{color:#829cab;font-size:12px;padding:12px 0}.open-room-row{width:100%;border:1px solid #345a69;background:#112d3d;color:#dff6fa;display:flex;align-items:center;gap:10px;border-radius:8px;padding:11px 13px;text-align:left}.open-room-row strong{color:#63e7e9;letter-spacing:.14em}.open-room-row span{margin-left:auto;color:#a9c7d0;font-size:11px}.open-room-row small{color:#f2b478;font-size:10px}
.preferences{margin-top:24px;border-top:1px solid #ffffff19;padding-top:17px}.preferences summary{font-size:10px;letter-spacing:.15em;font-weight:900;color:#9cbdc9;cursor:pointer}.preferences[open] summary{margin-bottom:17px}.preferences label{margin-top:14px}.preferences input[type=range]{height:25px;accent-color:#57e2e9}.preferences label span{float:right;color:#57e2e9}
.arena-column{width:min(100%,calc((100dvh - 360px)*15/13));margin-inline:auto}@media(max-width:950px){.arena-column{width:min(100%,calc((100dvh - 315px)*15/13))}}@media(max-width:600px){.arena-column{width:100%}}
