.phone-splash{position:fixed;z-index:100;display:grid;padding:18px calc(var(--margin) + env(safe-area-inset-right,0px))calc(18px + env(safe-area-inset-bottom,0px))calc(var(--margin) + env(safe-area-inset-left,0px));background:var(--ground);color:var(--ink);box-shadow:var(--float-shadow);animation:phone-splash-rise var(--fast)var(--ease)both;gap:14px;bottom:0;left:0;right:0}.phone-splash-head .wordmark{font-size:var(--step-lead)}.phone-splash-lead{font-size:var(--step-small);margin:0;line-height:1.45}.phone-splash-actions{display:grid;grid-template-columns:auto 1fr;gap:10px}.phone-splash-actions button{min-height:var(--control);display:inline-flex;white-space:nowrap;justify-content:center;align-items: center;gap:8px}@keyframes phone-splash-rise{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (min-width:601px){.phone-splash{left:auto;right:var(--margin);bottom:var(--margin);width:min(26rem,calc(100vw - 2*var(--margin)))}}.room-screen{display:flex;box-sizing:border-box;background:var(--ground);padding-top:max(env(safe-area-inset-top),var(--reconnect-space,0px));flex-direction:column;width:100%;height:100%;min-height:0}.room-screen>*{box-sizing:border-box;width:100%;max-width:1280px;margin-inline-start:auto;margin-inline-end:auto}.room-content{overflow-y:auto;display:flex;gap:var(--gap);padding:var(--margin)var(--margin)var(--gap);flex-direction:column;flex:auto;min-width:0;min-height:0}.room-screen [hidden]{display:none!important}.room-screen :focus-visible{outline:2px solid var(--ink);outline-offset:2px}.room-screen .room-content:focus-visible{outline-offset:-4px}.room-screen :-webkit-any(button,input,select,textarea,summary,a[href],[tabindex]){scroll-margin-top:var(--room-tabs-h,0px)}.room-screen :-moz-any(button,input,select,textarea,summary,a[href],[tabindex]){scroll-margin-top:var(--room-tabs-h,0px)}.room-screen :is(button,input,select,textarea,summary,a[href],[tabindex]){scroll-margin-top:var(--room-tabs-h,0px)}.room-header{display:flex;justify-content:space-between;align-items: flex-end;gap:var(--gap);flex-wrap:wrap}.room-heading{display:flex;flex-direction:column;gap:8px;min-width:0}.room-title{font-size:var(--step-head);font-weight:400;line-height:var(--read-leading,1.15);color:var(--ink);overflow-wrap:anywhere;margin:0}.room-facts{display:flex;flex-wrap:wrap;gap:4px 20px;margin:0}.room-fact{display:flex;font-size:var(--step-small);align-items:baseline;gap:6px;margin:0}.room-fact dt{color:var(--muted)}.room-fact dd{color:var(--ink);overflow-wrap:anywhere;margin:0}.room-notice,.room-starting{background:var(--surface-2);color:var(--ink);font-size:var(--step-small);margin:0;padding:10px 14px}.room-starting{display:flex;flex-wrap:wrap;justify-content:space-between;align-items: center;gap:8px}.room-muted{color:var(--muted);font-size:var(--step-small);margin:0}.room-status.is-error{color:var(--danger)}.room-screen .room-tabs{display:none}.room-screen .room-btn{display:inline-flex;align-items: center;gap:8px}@media (prefers-reduced-motion:reduce){.room-screen .room-btn{transition:none}}.room-screen .room-tabs .tab{display:inline-flex;align-items: center;gap:6px}.room-main{display:grid;grid-template-areas:"roster match chat";grid-template-columns:minmax(0,5fr)minmax(0,4fr)minmax(0,3fr);gap:var(--gap);align-items: start}.room-col{display:flex;gap:var(--gap);flex-direction:column;min-width:0}.room-col-roster{grid-area:roster}.room-col-match{grid-area:match}.room-col-chat{grid-area:chat;position:sticky;top:var(--margin);max-height:calc(100dvh - 2*var(--margin))}.room-panel{display:flex;flex-direction:column;gap:12px;min-width:0}.room-panel[hidden]{display:none}.room-control,.room-danger{display:flex;flex-direction:column;gap:8px}.room-danger{border-top:1px solid var(--line);padding-top:12px}.room-players-body,.room-roster-group{display:flex;flex-direction:column;gap:12px}.room-roster-group{gap:6px}.room-roster-list{list-style:none;display:flex;flex-direction:column;gap:2px;margin:0;padding:0}.room-player{display:grid;grid-template-columns:auto minmax(0,1fr)auto auto;align-items: center;gap:10px;padding:8px 10px}.room-player.is-me{background:var(--surface-2)}.room-player-line{display:flex;flex-wrap:wrap;align-items: center;gap:6px;min-width:0}.room-player-line .chip{display:inline-flex;align-items: center;gap:4px}.room-player-name{color:var(--ink);overflow-wrap:anywhere;min-width:0;font-weight:500}.room-profile-link{color:var(--ink);text-align:left;text-decoration:underline;text-decoration-color:var(--muted);text-underline-offset:3px;overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;min-width:0;min-height:24px;padding:0;font-weight:500}.room-profile-link:hover:not(:disabled){text-decoration-color:var(--ink)}@media (pointer:coarse),(max-width:599px){.room-profile-link{min-height:48px}}.room-players-head{display:flex;flex-wrap:wrap;align-items: center;gap:8px 12px}.room-players-head .panel-title{display:inline-flex;align-items:baseline;gap:8px;margin-right:auto}.room-count{color:var(--muted);font-size:var(--step-small);font-variant-numeric:tabular-nums;font-weight:400}.room-team-pick .seg{width:auto}.room-host-mark,.room-verified{display:inline-flex;color:var(--muted);flex:none}.room-you{color:var(--muted);font-size:var(--step-small);flex:none}.room-player-stats{display:flex;color:var(--muted);font-size:var(--step-small);white-space:nowrap;font-variant-numeric:tabular-nums;align-items: center;gap:10px}.room-ping{display:inline-flex;font-variant-numeric:tabular-nums;align-items: center;gap:4px}.room-ping.is-none{color:var(--muted)}.room-ping.is-good{color:var(--good)}.room-ping.is-fair{color:var(--ink)}.room-ping.is-poor{color:var(--danger)}.room-friend-request{background:var(--accent);color:var(--accent-ink)}.room-sr{position:absolute;overflow:hidden;clip-path:inset(50%);white-space:nowrap;width:1px;height:1px}.room-typing,.room-editing,.room-offline{font-style:italic}.room-player-tools{position:relative;display:flex}.room-more{display:inline-flex;color:var(--ink);background:0 0;justify-content:center;align-items: center;min-width:40px;min-height:40px;padding:0}.room-more:hover:not(:disabled),.room-more[aria-expanded=true]{background:var(--surface-2)}.room-menu,.room-vote-menu{display:flex;background:var(--surface);box-shadow:var(--float-shadow);box-sizing:border-box;flex-direction:column;gap:2px;min-width:180px;padding:6px}.room-menu{position:absolute;z-index:20;top:calc(100% + 6px);right:0}.room-vote-menu{position:fixed;z-index:50}button.room-menu-item{display:flex;color:var(--ink);text-align:left;white-space:nowrap;background:0 0;border:0;align-items: center;gap:8px;width:100%;margin:0;padding:8px 12px}button.room-menu-item:hover:not(:disabled){background:var(--surface-2)}button.room-menu-item:disabled{color:var(--muted)}button.room-menu-item.is-danger{color:var(--danger)}button.room-menu-item[aria-checked=true]{font-weight:500}.room-mode-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items: center;gap:8px}.room-mode-name{display:inline-flex;color:var(--ink);align-items: center;gap:8px;margin:0;font-weight:500}.room-mode-list{display:flex;flex-direction:column;gap:4px}.room-mode-option{display:flex;color:var(--ink);text-align:left;background:0 0;justify-content:flex-start;align-items: flex-start;gap:12px;width:100%;min-height:0;padding:10px 12px}.room-mode-option:hover:not(:disabled),.room-mode-option[aria-pressed=true]{background:var(--surface-2)}.room-mode-option>:first-child{flex:none;margin-top:2px}.room-mode-text{display:flex;flex-direction:column;gap:2px;min-width:0}.room-mode-option-name{font-weight:500}.room-mode-option-desc{color:var(--muted);font-size:var(--step-small)}.room-map-name{color:var(--ink);overflow-wrap:anywhere;margin:0;font-weight:500}.room-map-info{display:flex;flex-direction:column;gap:4px}.room-map-meta,.room-map-desc,.room-map-votes{color:var(--muted);font-size:var(--step-small);margin:0}.room-map-actions{display:flex;flex-wrap:wrap;gap:6px}.room-map-preview{background:var(--surface-2);width:100%;height:auto}.room-map-controls{display:flex;flex-direction:column;gap:10px}.room-map-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:6px}.room-map-list button[aria-pressed=true]{background:var(--ink);color:var(--surface)}.room-map-list button{display:flex;text-align:left;flex-direction:column;align-items:stretch;gap:6px;padding:6px}.room-map-thumb{display:block;background:var(--surface-2);width:100%;height:auto}.room-map-code{box-sizing:border-box;font-family:var(--font);font-size:var(--step-small);resize:vertical;width:100%;min-height:72px}.room-file{position:relative;display:inline-flex;background:var(--surface-2);color:var(--ink);cursor:pointer;align-items: center;gap:8px;padding:8px 14px}.room-file input{position:absolute;opacity:0;overflow:hidden;width:1px;height:1px}.room-file:focus-within{outline:2px solid var(--ink);outline-offset:2px}.room-bans{list-style:none;display:flex;flex-direction:column;gap:6px;margin:0;padding:0}.room-ban{display:flex;justify-content:space-between;align-items: center;gap:8px}.room-limits{margin:0}.room-all-settings summary{display:flex;cursor:pointer;color:var(--ink);align-items: center;gap:8px;min-height:40px;font-weight:500}.room-all-settings:not([open])>:not(summary){display:none}.room-all-settings[open]>:not(summary){animation:room-reveal .2s var(--ease)both}@keyframes room-reveal{0%{opacity:0;transform:translateY(-4px)}}.room-settings-body{display:flex;flex-direction:column;gap:16px;padding-top:12px}.room-settings-group{display:flex;border:0;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0}.room-settings-group legend{color:var(--ink);margin-bottom:4px;padding:0;font-weight:500}.room-setting{display:flex;flex-wrap:wrap;justify-content:space-between;align-items: center;gap:8px}.room-setting-label{color:var(--muted);font-size:var(--step-small)}.room-setting-value{color:var(--ink);overflow-wrap:anywhere}@media (pointer:coarse),(max-width:599px){.room-all-settings summary{min-height:48px}.room-setting{align-items: center;min-height:48px}.room-setting input[type=number]{min-height:48px}}.room-chat{height:100%;min-height:0}.room-chat-log{overflow-y:auto;display:flex;background:0 0;flex-direction:column;flex:1;gap:6px;min-height:240px;padding:10px}.room-chat-line{overflow-wrap:anywhere;font-size:var(--step-small);color:var(--ink);margin:0}.room-chat-name{font-weight:500}.room-chat-system{color:var(--muted);font-style:italic}.room-chat-suggest{display:flex;color:var(--muted);font-size:var(--step-small);flex-wrap:wrap;align-items: center;gap:6px}.room-chat-form{display:flex;gap:8px}.room-chat-input{flex:1;min-width:0}.room-dock{display:flex;padding:12px max(var(--margin),calc((100% - 1280px)/2 + var(--margin)))calc(16px + env(safe-area-inset-bottom));background:var(--surface);box-sizing:border-box;flex-wrap:wrap;flex:none;justify-content:space-between;align-items: center;gap:12px;max-width:none;margin:0}.room-dock-status{color:var(--muted);font-size:var(--step-small);margin:0}.room-dock-actions{display:flex;gap:8px;margin-left:auto}.room-dock .primary{justify-content:center;min-width:120px}@media (max-width:1099px){.room-main{grid-template-areas:"roster match" "roster chat";grid-template-columns:minmax(0,1fr)minmax(0,1fr)}.room-col-chat{position:static;max-height:none}.room-chat{height:auto}}@media (max-width:599px){.room-main{grid-template-areas:"roster" "match" "chat";grid-template-columns:minmax(0,1fr)}.room-screen .room-tabs{display:flex;position:sticky;z-index:5;margin:0 calc(-1*var(--margin));padding:8px calc(var(--margin) + 4px);background:var(--surface);flex-wrap:wrap;flex:none;top:0}.room-screen .room-tabs .tab{flex:1 0 auto;justify-content:center;padding:0 6px;scroll-margin:0}.room-col-chat{min-height:0}.room-screen[data-tab=players] .room-col-match,.room-screen[data-tab=players] .room-col-chat,.room-screen[data-tab=match] .room-col-roster,.room-screen[data-tab=match] .room-col-chat,.room-screen[data-tab=chat] .room-col-roster,.room-screen[data-tab=chat] .room-col-match{display:none}.room-chat-log{min-height:50vh}.room-more{min-width:48px;min-height:48px}}@media (pointer:coarse){.room-more{min-width:48px;min-height:48px}}.room-screen .room-joining{display:flex;color:var(--ink);flex-wrap:wrap;align-items: center;gap:12px;max-width:480px;margin:24px auto;padding:16px}.room-screen .room-joining-dot{background:var(--accent);animation:1s ease-in-out infinite room-joining-pulse;border-radius:50%;width:10px;height:10px}.room-screen .room-joining-text{flex:1;margin:0}@keyframes room-joining-pulse{0%,to{opacity:.3}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.room-screen .room-joining-dot{animation:none}}:root{--hud-solid:#0a0a0a;--hud-muted:#cfcfcf;--hud-faint:#bdbdbd;--hud-red:#ff8a7a;--hud-blue:#7cc4ff;--hud-amber:#ffd479;--hud-mint:#c8f2c8;--hud-tint:#ffffff29}.hud-touch-layer,.hud-root{--hud-safe-top:env(safe-area-inset-top,0px);--hud-safe-right:env(safe-area-inset-right,0px);--hud-safe-bottom:env(safe-area-inset-bottom,0px);--hud-safe-left:env(safe-area-inset-left,0px);--hud-inset:var(--margin);--hud-top:calc(var(--hud-safe-top) + var(--hud-inset));--hud-row:52px}.hud-root{position:fixed;z-index:10;pointer-events:none;overflow:hidden;color:var(--hud-ink);font:400 var(--step-small)/1.35 var(--font);-webkit-user-select:none;user-select:none;inset:0}.hud-root [hidden]{display:none!important}.hud-root button,.hud-root input,.hud-root label{pointer-events:auto}.hud-root button{display:inline-flex;background:var(--hud-solid);color:var(--hud-ink);font:inherit;cursor:pointer;touch-action:manipulation;transition:box-shadow var(--fast)var(--ease),background var(--fast)var(--ease),transform var(--fast)var(--ease);border:0;border-radius:0;justify-content:center;align-items: center;gap:8px;min-height:40px;padding:0 14px;font-weight:500;box-shadow:inset 0 -2px #0000}.hud-root button svg,.hud-link svg{flex:none}.hud-root button:active:not(:disabled){transform:scale(.96)}.hud-root button:hover{box-shadow:inset 0 -2px 0 var(--accent-bright)}.hud-root button:hover:not(:disabled):not([aria-expanded=true]):not(.hud-on){background:var(--hud-solid)}.hud-root button:focus-visible{outline:3px solid var(--accent-bright);outline-offset:2px}.hud-root button:disabled{opacity:.5}.hud-bar{position:absolute;top:var(--hud-top);display:flex;max-width:calc(50% - var(--hud-inset));pointer-events:none;align-items: center;gap:6px}.hud-bar-left{left:calc(var(--hud-safe-left) + var(--hud-inset))}.hud-bar-right{right:calc(var(--hud-safe-right) + var(--hud-inset));justify-content:flex-end}.hud-menu-btn{min-width:96px}.hud-root .hud-menu-btn[aria-expanded=true]{background:var(--accent);color:var(--accent-ink)}.hud-link{display:inline-flex;background:var(--hud-solid);color:var(--hud-ink);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:auto;align-items: center;gap:8px;min-height:40px;padding:0 12px;font-weight:500}.hud-link-kind{color:var(--hud-muted);font-size:.8125rem}.hud-link-bad{color:var(--hud-red)}.hud-leave,.hud-end{min-width:96px}.hud-end{background:var(--danger);color:var(--danger-ink)}.hud-menu{position:absolute;z-index:1;display:flex;max-height:calc(100vh - var(--hud-top) - 80px);overflow-y:auto;background:var(--surface);color:var(--ink);border:1px solid var(--line-strong);box-shadow:var(--float-shadow);pointer-events:auto;flex-direction:column;gap:4px;width:min(280px,80vw);padding:8px;top:calc(100% + 6px);left:0}.hud-menu:not([hidden]){animation:hud-menu-in var(--fast)var(--ease)both}@keyframes hud-menu-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.hud-menu button{background:var(--surface-2);color:var(--ink);text-align:left;justify-content:flex-start;width:100%;min-height:44px}.hud-menu button:hover{box-shadow:inset 3px 0 0 var(--accent)}.hud-root .hud-menu button:hover:not(:disabled):not([aria-expanded=true]):not(.hud-on){background:var(--surface-2)}.hud-menu button[hidden]{display:none}.hud-menu-volume{display:flex;color:var(--ink);align-items: center;gap:12px;min-height:44px;padding:0 8px;font-weight:500}.hud-menu-volume input{accent-color:var(--ink);flex:1;min-width:0}.hud-scores{position:absolute;top:calc(var(--hud-top) + var(--hud-row));width:min(560px,calc(100% - 2*var(--hud-inset)));background:var(--hud-solid);padding:10px 12px;left:50%;transform:translate(-50%)}.hud-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.hud-table th,.hud-table td{text-align:left;overflow-wrap:anywhere;padding:7px 10px}.hud-table th{color:var(--hud-muted);white-space:nowrap;border-bottom:2px solid #fff3;font-size:.8125rem;font-weight:500}.hud-table td{border-bottom:1px solid #ffffff1a}.hud-table .hud-num{text-align:right;white-space:nowrap}.hud-name{font-weight:500}.hud-row-self td{background:#0080ff38}.hud-row-self .hud-name{color:var(--accent-bright)}.hud-team-red{color:var(--hud-red)}.hud-team-blue{color:var(--hud-blue)}.hud-team-ffa{color:var(--hud-ink)}.hud-team-spec{color:var(--hud-faint)}.hud-team-red:before,.hud-team-blue:before{content:"";display:inline-block;vertical-align:middle;background:currentColor;width:8px;height:8px;margin-right:8px}.hud-topleft{position:absolute;top:calc(var(--hud-top) + var(--hud-row));left:calc(var(--hud-safe-left) + var(--hud-inset));display:flex;pointer-events:none;flex-direction:column;align-items: flex-start;gap:6px;width:min(340px,40vw)}.hud-events{position:absolute;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;list-style:none;width:1px;height:1px;margin:0;padding:0}.hud-stats{display:grid;background:var(--hud-solid);font-variant-numeric:tabular-nums;gap:2px;min-width:190px;padding:8px 12px}.hud-stat-row{display:flex;justify-content:space-between;gap:16px}.hud-stat-label{color:var(--hud-muted)}.hud-chat-log{display:flex;overflow:hidden;flex-direction:column;justify-content:flex-end;align-items: flex-start;gap:3px;max-width:100%;max-height:30vh}.hud-chat-line{background:var(--hud-solid);overflow-wrap:anywhere;max-width:100%;padding:4px 8px}.hud-chat-name{font-weight:500}.hud-chat-system{color:var(--hud-amber)}.hud-chat-suggest{color:var(--hud-mint)}.hud-chat-form{display:flex;width:100%}.hud-chat-input{background:var(--surface);color:var(--ink);border:0;border-bottom:2px solid var(--accent);font:inherit;border-radius:0;flex:1;min-width:0;min-height:44px;padding:0 12px}.hud-chat-input:focus-visible{outline:3px solid var(--accent);outline-offset:0}.hud-typing{background:var(--hud-solid);color:var(--hud-muted);padding:2px 8px;font-size:.8125rem}.hud-root .hud-chat-btn[aria-expanded=true]{background:var(--accent);color:var(--accent-ink)}.hud-conn{position:absolute;background:var(--danger);color:var(--danger-ink);text-align:center;padding:12px 18px;font-weight:500;top:40%;left:50%;transform:translate(-50%,-50%)}.hud-matching{position:absolute;top:calc(var(--hud-top) + var(--hud-row));max-width:min(480px,calc(100% - 2*var(--hud-inset)));background:var(--hud-solid);text-align:center;padding:10px 16px;left:50%;transform:translate(-50%)}.hud-xp{position:absolute;display:grid;background:var(--accent);color:var(--accent-ink);text-align:center;gap:2px;padding:10px 18px;top:34%;left:50%;transform:translate(-50%,-50%)}.hud-xp-gain{font-size:var(--step-lead);font-variant-numeric:tabular-nums;font-weight:500}.hud-xp-limit{font-size:.8125rem;font-weight:500}.hud-xp.hud-xp-pop{animation:.2s cubic-bezier(.34,1.56,.64,1) both hud-xp-pop}@keyframes hud-xp-pop{0%{transform:translate(-50%,-50%)scale(.6);opacity:0}to{transform:translate(-50%,-50%)scale(1);opacity:1}}.hud-spectate{position:absolute;pointer-events:auto;cursor:pointer;inset:0}.hud-spectate-label{position:absolute;bottom:calc(var(--hud-safe-bottom) + var(--hud-inset));display:flex;background:var(--hud-solid);pointer-events:auto;align-items: center;gap:4px;padding:0 4px;left:50%;transform:translate(-50%)}.hud-spectate-label button{background:0 0;min-width:44px;min-height:44px;padding:0 8px;font-size:1.25rem}.hud-spectate-prev svg{transform:rotate(180deg)}.hud-spectate-name{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:140px;padding:0 8px;font-weight:500}.hud-touch-layer{position:absolute;touch-action:none;-webkit-touch-callout:none;--hud-btn:max(48px,min(calc(clamp(48px,min(calc((100vw - 48px)/5.8),calc(100vh*.17)),76px)*var(--hud-touch-scale,1)),calc(100vh*.17)));inset:0}.hud-stick,.hud-actions{position:absolute;bottom:calc(var(--hud-safe-bottom) + var(--hud-inset))}.hud-stick{left:calc(var(--hud-safe-left) + var(--hud-inset));width:calc(var(--hud-btn)*2.2);height:calc(var(--hud-btn)*2.2);box-shadow:inset 0 0 0 2px var(--hud-tint);touch-action:none;pointer-events:auto;background:#0a0a0a73;border:0}.hud-stick:before,.hud-stick:after{content:"";position:absolute;background:var(--hud-tint)}.hud-stick:before{width:2px;margin-left:-1px;top:8%;bottom:8%;left:50%}.hud-stick:after{height:2px;margin-top:-1px;top:50%;left:8%;right:8%}.hud-stick.hud-on{box-shadow:inset 0 0 0 3px var(--accent-bright)}.hud-stick-knob{position:absolute;background:var(--surface);pointer-events:none;width:40%;height:40%;margin:-20% 0 0 -20%;top:50%;left:50%;box-shadow:0 0 0 2px #0a0a0a66}.hud-stick.hud-on .hud-stick-knob{background:var(--accent)}.hud-actions{right:calc(var(--hud-safe-right) + var(--hud-inset));display:grid;grid-template-columns:repeat(3,var(--hud-btn));grid-template-rows:repeat(2,var(--hud-btn));grid-template-areas:"rocket push jump" "bat grab jump";gap:calc(var(--hud-btn)*.12)}.hud-touch-layer .hud-touch{display:flex;width:var(--hud-btn);height:var(--hud-btn);color:var(--hud-ink);box-shadow:inset 0 -3px 0 var(--accent-bright);font-size:clamp(11px,calc(var(--hud-btn)*.16),14px);touch-action:none;-webkit-touch-callout:none;pointer-events:auto;background:#0a0a0a99;border:0;flex-direction:column;justify-content:center;align-items: center;gap:2px;min-height:0;padding:0;font-weight:500;line-height:1}.hud-touch-layer .hud-touch svg{width:clamp(18px,calc(var(--hud-btn)*.34),30px);height:clamp(18px,calc(var(--hud-btn)*.34),30px)}.hud-touch-layer .hud-touch.hud-on{background:var(--accent);color:var(--accent-ink);box-shadow:inset 0 -3px 0 var(--hud-solid)}.hud-touch-layer .hud-touch:hover:not(.hud-on){background:#0a0a0a99}.hud-touch-layer .hud-touch:disabled{opacity:.4;box-shadow:none}@media (forced-colors:active){.hud-touch-layer .hud-touch{color:buttontext;background-color:buttonface;border:1px solid buttontext}.hud-touch-layer .hud-touch .hud-touch-label{color:inherit}.hud-touch-layer .hud-touch.hud-on{color:highlighttext;background-color:highlight}}.hud-touch-push{grid-area:push}.hud-touch-rocket{grid-area:rocket}.hud-touch-bat{grid-area:bat}.hud-touch-grab{grid-area:grab}.hud-touch-layer .hud-touch-jump{grid-area:jump;font-size:clamp(14px,calc(var(--hud-btn)*.24),20px);place-self:stretch;width:auto;height:auto}.hud-left-handed .hud-stick{left:auto;right:calc(var(--hud-safe-right) + var(--hud-inset))}.hud-left-handed .hud-actions{right:auto;left:calc(var(--hud-safe-left) + var(--hud-inset))}.hud-rotate{position:absolute;z-index:20;display:grid;padding:calc(var(--hud-safe-top) + 24px)24px calc(var(--hud-safe-bottom) + 24px);background:var(--ground);color:var(--ink);text-align:center;pointer-events:auto;place-content: center;justify-items:center;gap:16px;inset:0}:-webkit-any(.hud-root,.offline):has(>.hud-rotate:not([hidden]))>:not(.hud-rotate){visibility:hidden}:-moz-any(.hud-root,.offline):has(>.hud-rotate:not([hidden]))>:not(.hud-rotate){visibility:hidden}:is(.hud-root,.offline):has(>.hud-rotate:not([hidden]))>:not(.hud-rotate){visibility:hidden}.hud-rotate-icon{border:4px solid var(--ink);box-shadow:inset 0 -12px 0 var(--accent);animation:hud-rotate-turn 2.4s var(--ease)infinite alternate;width:44px;height:72px}@keyframes hud-rotate-turn{0%,30%{transform:rotate(0)}70%,to{transform:rotate(90deg)}}.hud-rotate h2{font-size:var(--step-lead);margin:0;font-weight:500;line-height:1.15}.hud-rotate p{color:var(--muted);max-width:34ch;margin:0}.hud-rotate-actions{display:grid;--hud-solid:var(--surface);--hud-ink:var(--ink);gap:8px;width:min(100%,300px)}.hud-rotate-actions button{min-height:var(--control);box-shadow:inset 0 0 0 2px var(--line-strong)}.hud-rotate-actions button.primary{--hud-solid:var(--accent);--hud-ink:var(--accent-ink);box-shadow:none}@media (pointer:coarse){.hud-root button,.hud-link,.hud-menu button,.hud-menu-volume,.hud-chat-input{min-height:48px}}@media (max-height:200px){.hud-touch-layer,.hud-root{--hud-inset:8px}.hud-touch-layer{--hud-btn:48px}.hud-root button,.hud-link{min-height:44px}}@media (max-height:500px){.hud-topleft{width:min(300px,36vw)}.hud-stats{min-width:0;padding:4px 8px;font-size:.8125rem}.hud-chat-log{max-height:22vh}.hud-scores{padding:6px 8px}.hud-table th,.hud-table td{padding:4px 8px}}@media (max-width:600px) and (min-height:501px){.hud-chat-log{max-height:16vh}}@media (max-width:960px){.hud-chip-label{position:absolute;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px}.hud-root .hud-menu-btn,.hud-root .hud-chat-btn,.hud-leave,.hud-end{justify-content:center;min-width:48px;padding:0}.hud-link{gap:6px;padding:0 10px}.hud-bar{max-width:200px}}@media (max-aspect-ratio:1){.hud-topleft,.hud-scores{top:calc(var(--hud-top) + var(--hud-row) + 34px)}}:root[data-motion=reduce] .hud-menu:not([hidden]){animation:none}@media (forced-colors:active){.hud-root :not(:disabled){color:canvastext;background-color:canvas}}.settings-page .settings-layout{grid-template-columns:minmax(0,1fr);display:grid;align-items: start;gap:16px}.settings-nav{display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0}.settings-nav-item{display:inline-flex;min-height:var(--control);white-space:nowrap;flex:none;align-items: center;gap:8px}.settings-body{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;min-width:0;padding-bottom:80vh}.settings-section{scroll-margin-top:88px}.settings-section>h2{display:flex;align-items: center;gap:10px}.settings-sub{font-size:var(--step-body);margin:8px 0 0}.settings-notice{color:var(--muted);transition:color var(--fast)var(--ease);min-height:1.5em;margin:0}.settings-notice.is-error{color:var(--danger)}.settings-group{display:flex;flex-wrap:wrap;align-items: center;gap:12px}.settings-field{display:grid;gap:8px}.settings-field-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px}.settings-value{color:var(--muted)}.settings-range{width:100%}.bind-list{display:grid}.bind-row{display:grid;border-top:1px solid var(--line);gap:8px;padding:10px 0}.bind-row:first-child{border-top:0;padding-top:0}@media (min-width:600px){.bind-row{grid-template-columns:9rem minmax(0,1fr);align-items: center}}.bind-label{font-weight:500}.bind-keys{display:flex;flex-wrap:wrap;align-items: center;gap:8px}.bind-key{display:inline-flex;align-items:stretch}.bind-row .bind-slot{min-height:var(--control);min-width:5.5rem;padding:0 12px}.bind-slot.is-capturing,.bind-add.is-capturing{background:var(--accent);color:var(--accent-ink);box-shadow:inset 0 0 0 2px var(--ink)}.bind-remove{min-width:var(--control);min-height:var(--control);color:var(--muted);background:0 0}.bind-remove:hover{color:var(--ink)}.bind-add,.bind-cancel{display:inline-flex;min-height:var(--control);align-items: center;gap:8px}.bind-none{color:var(--muted);align-self: center}.bind-conflict{display:grid;background:var(--ground);box-shadow:inset 4px 0 0 var(--danger);gap:12px;padding:16px}.bind-conflict p{margin:0}.settings-pad{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:8px 24px;margin:0}.settings-pad dt{color:var(--muted)}.settings-pad dd{margin:0}.palette-group{display:grid;grid-template-columns:minmax(0,1fr);border:0;gap:8px;min-width:0;margin:0;padding:0}.palette-group>legend{margin-bottom:4px;padding:0}.palette-option{display:flex;min-height:var(--control);background:var(--ground);cursor:pointer;align-items: center;gap:12px;padding:8px 12px}.palette-option:hover{background:var(--surface-2)}.palette-option:has(input:checked){box-shadow:inset 0 0 0 2px var(--ink)}.palette-option input{flex:none}.palette-body{display:flex;flex-wrap:wrap;flex:auto;justify-content:space-between;align-items: center;gap:8px 16px;min-width:0}.palette-swatches{display:flex;flex-wrap:wrap;align-items: center;gap:4px;min-width:0}.swatch{display:inline-block;box-shadow:inset 0 0 0 1px var(--line-strong);flex:none;width:20px;height:20px}.swatch-gap{width:8px}.touch-preview{--touch-scale:1;position:relative;background:var(--ground);overflow:hidden;height:160px}.touch-stick,.touch-buttons{position:absolute;width:calc(56px*var(--touch-scale));height:calc(56px*var(--touch-scale));bottom:16px}.touch-stick{box-shadow:inset 0 0 0 2px var(--ink);transition:left var(--fast)var(--ease);left:16px}.touch-buttons{left:calc(100% - 16px - 150px*var(--touch-scale));transition:left var(--fast)var(--ease);display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);grid-template-areas:"rocket push jump" "bat grab jump";width:calc(150px*var(--touch-scale));height:calc(92px*var(--touch-scale));gap:6px;bottom:12px}.touch-cell{display:grid;background:var(--surface-2);box-shadow:inset 0 0 0 2px var(--ink);place-items: center}.touch-cell[data-slot=rocket]{grid-area:rocket}.touch-cell[data-slot=push]{grid-area:push}.touch-cell[data-slot=jump]{grid-area:jump}.touch-cell[data-slot=bat]{grid-area:bat}.touch-cell[data-slot=grab]{grid-area:grab}.touch-layout .settings-sub{margin:12px 0 4px}.touch-layout>.settings-group{margin-top:12px}.touch-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px 16px}.touch-slot{display:flex;flex-direction:column;gap:4px}.touch-preview.is-left .touch-stick{left:calc(100% - 16px - 56px*var(--touch-scale))}.touch-preview.is-left .touch-buttons{left:16px}.settings-reset{display:flex;flex-wrap:wrap;justify-content:space-between;align-items: center;gap:16px;padding-top:8px}.settings-reset .field-hint{margin:0}.settings-reset .danger{display:inline-flex;align-items: center;gap:8px}@media (min-width:900px){.settings-page .settings-layout{grid-template-columns:minmax(200px,max-content)minmax(0,1fr);gap:40px}.settings-nav{position:sticky;top:calc(var(--page-head-h,72px) + 32px);flex-direction:column;gap:8px}.settings-nav-item{text-align:left;justify-content:flex-start}}.row-main{display:flex;flex-wrap:wrap;flex:10rem;align-items: center;gap:4px 10px;min-width:0}.row-main strong{overflow-wrap:anywhere}.row-sub{color:var(--muted);font-size:var(--step-small)}.row-actions{display:flex;flex-wrap:wrap;gap:8px}.friend-add{display:flex;flex-wrap:wrap;align-items: center;gap:8px 12px;margin:0}.friend-add>h2{display:flex;align-items: center;gap:8px;margin:0}.friend-add input{flex:220px;min-width:0;max-width:320px}.friend-add>.field-hint{flex:1 0 100%;margin:0}.friend-section h2{display:flex;align-items: center;gap:10px;margin:0}.friends-main{display:flex;flex-direction:column;gap:28px;min-width:0}.friend-groups{display:flex;flex-direction:column;gap:28px}.friend-section{gap:12px}.friend-list{display:flex;list-style:none;flex-direction:column;gap:6px;margin:0;padding:0}.friend-row{display:flex;background:var(--ground);flex-wrap:wrap;justify-content:space-between;align-items: center;gap:10px 16px;min-height:60px;padding:10px 12px;transition:background .16s,box-shadow .16s}.friend-row:hover{background:var(--surface-2)}.friend-row.online{box-shadow:inset 3px 0 0 var(--good)}.friend-avatar{position:relative;display:inline-flex;flex:none}.friend-avatar .avatar{width:40px;height:40px;font-size:1rem}.friend-presence{position:absolute;background:var(--good);box-shadow:0 0 0 2px var(--ground);width:12px;height:12px;bottom:-2px;right:-2px}.friend-name{color:var(--ink);font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere;background:0 0;border:0;padding:0;font-weight:500}.friend-name:hover{text-decoration:underline;text-underline-offset:3px}.friend-who{display:flex;flex-direction:column;min-width:0}.friend-join,.friend-accept{display:inline-flex;align-items: center;gap:8px}.friends-page .page-inner>*{max-width:44rem}.friends-page.is-empty .page-inner{flex:1 0 auto;justify-content:center}.friend-accept{background:var(--accent);color:var(--accent-ink)}.friend-remove{color:var(--muted)}.friend-remove:hover{color:var(--ink)}@media (max-width:760px){.friends-layout{grid-template-columns:minmax(0,1fr);gap:24px}}.offline{width:100%}.offline-page .page-inner>*{width:100%;max-width:880px;margin-inline-start:auto;margin-inline-end:auto}.offline-state{display:grid;justify-items:start;gap:12px}.offline-state h2{font-size:var(--step-lead);font-weight:500}.offline-state p{color:var(--muted);margin:0}.offline-state-actions{display:flex;flex-wrap:wrap;gap:8px}.offline-state-note{color:var(--muted);font-size:var(--step-small);margin:0}.offline-status{color:var(--muted);font-size:var(--step-small);min-height:1.45em}.offline-error{color:var(--danger);font-size:var(--step-small);overflow-wrap:anywhere}.offline-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:8px}.offline-list>p{grid-column:1/-1}.offline-choice{display:flex;background:var(--surface);text-align:left;flex-direction:column;align-items:stretch;gap:8px;min-height:0;padding:10px}.offline-choice:hover:not(:disabled){background:var(--surface-2)}.offline-choice[aria-pressed=true],.offline-choice[aria-pressed=true]:hover:not(:disabled){background:var(--ink);color:var(--ground)}.offline-tile{display:grid;aspect-ratio:1;background:var(--surface-3);color:var(--ink);font-size:var(--step-lead);place-items: center;font-weight:500;line-height:1}.offline-choice[aria-pressed=true] .offline-tile{background:var(--accent);color:var(--accent-ink)}.offline-choice-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.offline-choice-hint{color:var(--muted);font-size:var(--step-small)}.offline-choice[aria-pressed=true] .offline-choice-hint{color:inherit;opacity:.8}.offline-drop{position:relative;display:grid;background:var(--surface);color:var(--muted);font-size:var(--step-small);text-align:center;cursor:pointer;transition:background-color var(--fast)var(--ease);align-content: center;place-items: center;gap:6px;min-height:200px;padding:24px}.offline-drop:hover,.offline-drop.drag-over{background:var(--surface-2)}.offline-drop:focus-within{outline:2px solid var(--ink);outline-offset:2px}.offline-drop-mark{background:var(--ink);position:relative;width:40px;height:40px;margin-bottom:8px}.offline-drop-mark:after{content:"";position:absolute;background:var(--accent);inset:30%}.offline-drop strong{color:var(--ink);font-size:var(--step-lead);font-weight:500}.offline-drop input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}#ui>.offline.playing{position:fixed;z-index:2;display:flex;padding:calc(env(safe-area-inset-top,0px) + 8px)calc(env(safe-area-inset-right,0px) + var(--margin))calc(env(safe-area-inset-bottom,0px) + 8px)calc(env(safe-area-inset-left,0px) + var(--margin));pointer-events:none;overflow:hidden;color:var(--hud-ink);font:400 var(--step-small)/1.35 var(--font);-webkit-user-select:none;user-select:none;flex-direction:column;gap:8px;width:100%;margin:0;inset:0}#ui>.offline.playing>*{pointer-events:auto}.offline-play{display:contents}.offline-top{position:relative;z-index:1;display:flex;align-items: center;gap:6px;min-width:0}.offline-top button,.offline-top select,.offline-dock button,.offline-dock select{background:var(--hud-solid);color:var(--hud-ink);font:inherit;cursor:pointer;touch-action:manipulation;transition:box-shadow var(--fast),background-color var(--fast);border:0;border-radius:0;min-height:44px;padding:0 14px;font-weight:500;box-shadow:inset 0 -2px #0000}.offline-top button,.offline-dock button{display:inline-flex;justify-content:center;align-items: center;gap:8px}.offline-top button:hover,.offline-dock button:hover:not(:disabled){box-shadow:inset 0 -2px 0 var(--accent-bright)}.offline-top button:hover:not(:disabled),.offline-dock button:hover:not(:disabled){background:var(--hud-solid)}.offline-top button:focus-visible{outline:3px solid var(--accent-bright);outline-offset:2px}.offline-top select:focus-visible{outline:3px solid var(--accent-bright);outline-offset:2px}.offline-dock button:focus-visible{outline:3px solid var(--accent-bright);outline-offset:2px}.offline-dock select:focus-visible{outline:3px solid var(--accent-bright);outline-offset:2px}.offline-dock input[type=range]:focus-visible{outline:3px solid var(--accent-bright);outline-offset:2px}.offline-top select,.offline-dock select{max-width:50%;padding-right:10px}.offline-title{display:flex;overflow-wrap:anywhere;background:var(--hud-solid);flex-direction:column;flex:1 1 0;justify-content:center;min-width:0;min-height:44px;padding:0 12px;font-weight:500}.offline-top>button,.offline-top>select{flex:none}.offline-overlay{background:0 0}@media (forced-colors:active){.offline-top,.offline-title,.offline-dock{color:canvastext;background-color:canvas}.offline-top button,.offline-top select,.offline-dock button,.offline-dock select{color:buttontext;background-color:buttonface;border:1px solid buttontext}}.offline-dock{display:flex;background:var(--hud-solid);flex-direction:column;align-self: center;gap:8px;width:min(100%,760px);margin-top:auto;padding:8px}.offline-dock>button.primary{background:var(--accent);color:var(--accent-ink);box-shadow:none;min-width:96px}.offline-dock>button.primary:hover:not(:disabled){background:var(--accent-hover);box-shadow:none}.offline-seek{display:flex;align-items: center;gap:10px}.offline-dock input[type=range]{accent-color:var(--accent-bright);flex:1;min-width:0;height:44px;margin:0}.offline-dock input[type=range]::-webkit-slider-runnable-track{background:#f7f7f74d;height:4px}.offline-dock input[type=range]::-moz-range-track{background:#f7f7f74d;height:4px}.offline-dock input[type=range]::-moz-range-progress{background:var(--accent-bright);height:4px}.offline-dock input[type=range]::-webkit-slider-thumb{background:var(--accent-bright);width:18px;height:18px;margin-top:-7px}.offline-dock input[type=range]::-moz-range-thumb{background:var(--accent-bright);width:18px;height:18px}.offline-time{color:var(--hud-ink);font-size:var(--step-small);font-variant-numeric:tabular-nums;white-space:nowrap}.offline-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items: center;gap:6px}.offline-group{display:flex;flex-wrap:wrap;gap:2px}.offline-group button{min-width:52px}.offline-group button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink)}@media (max-width:600px){.offline-group button{flex:1 1 0}.offline-top select{max-width:40%}}@media (max-height:500px){#ui>.offline.playing{padding-block-start:4px;padding-block-end:4px}.offline-dock{padding:4px 8px}}@media (pointer:coarse){.offline-top button,.offline-top select,.offline-dock button,.offline-dock select{min-height:48px}}@media (max-width:600px),(max-height:200px){.offline-top>button:has(>.icon){gap:0;min-width:48px;padding:0;font-size:0}}.screen.editor{position:relative;display:flex;overflow:hidden;background:var(--ground);color:var(--ink);flex-direction:column;width:100%;height:100%;min-height:0}.editor-sr{position:absolute;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0}.screen.editor svg{stroke:currentColor;stroke-width:2;fill:none;flex:none;width:20px;height:20px}.editor-top{display:flex;flex-wrap:wrap;flex:none;align-items: center;gap:8px;padding:10px 16px}.editor-top-tools{display:flex;align-items: center;gap:8px}.editor-mode{width:auto;max-width:11em}.editor-name{font-size:var(--step-body);flex:220px;min-width:0;max-width:420px;font-weight:500}.editor-menu-toggle[aria-expanded=true]{background:var(--ink);color:var(--ground)}.editor-body{position:relative;display:flex;flex:auto;min-height:0}.editor-tools{width:calc(var(--control) + 2*var(--margin));display:flex;overflow-y:auto;background:var(--ground);border-right:1px solid var(--line);flex-direction:column;flex:none;align-items: center;gap:8px;padding:10px 0}.editor-tool-group{display:flex;border-bottom:1px solid var(--line);flex-direction:column;align-items: center;gap:4px;width:100%;padding-bottom:8px}.editor-tool-group:last-child{border-bottom:0;padding-bottom:0}.editor-tool{display:inline-flex;width:var(--control);height:var(--control);background:var(--surface);flex:none;justify-content:center;align-items: center;padding:0}.editor-tool:hover:not(:disabled){background:var(--surface-2)}.editor-tool[aria-pressed=true],.editor-tool[aria-pressed=true]:hover:not(:disabled){background:var(--ink);color:var(--ground)}.editor-stage{display:flex;flex-direction:column;flex:auto;min-width:0;min-height:0}.editor-viewport{position:relative;overflow:hidden;background:var(--surface-2);flex:auto;min-height:0}.editor-canvas{position:absolute;display:block;touch-action:none;width:100%;height:100%;inset:0}.editor-scope{position:absolute;display:flex;background:var(--hud);color:var(--hud-ink);font-size:var(--step-small);flex-wrap:wrap;justify-content:space-between;align-items: center;gap:8px 12px;padding:8px 12px;top:12px;left:12px;right:12px}.editor-scope button{background:var(--hud-ink);color:var(--ink)}.editor-lag{position:absolute;background:var(--hud);color:var(--hud-ink);font-size:var(--step-small);font-variant-numeric:tabular-nums;max-width:calc(100% - 24px);margin:0;padding:6px 10px;bottom:68px;left:16px}.editor-empty{position:absolute;color:var(--ink);pointer-events:none;width:min(360px,100% - 32px);margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}.editor-empty button{pointer-events:auto}.editor-empty[hidden]{display:none}.editor-foot{display:flex;background:var(--ground);flex-wrap:wrap;flex:none;justify-content:space-between;align-items: center;gap:8px 16px;padding:8px 16px}.editor-hint{color:var(--muted);font-size:var(--step-small);flex:220px;min-width:0;margin:0}.editor-float{position:absolute;right:var(--margin);display:flex;background:var(--hud);box-shadow:var(--float-shadow);flex-wrap:wrap;justify-content:flex-end;align-items: center;gap:4px 12px;max-width:calc(100% - 24px);padding:4px;bottom:12px}.editor-float .icon{width:var(--control);height:var(--control);background:var(--hud-ink);color:var(--ink);padding:0}.editor-float :-webkit-any(button,input):focus-visible{outline:3px solid var(--accent-bright);outline-offset:2px}.editor-float :-moz-any(button,input):focus-visible{outline:3px solid var(--accent-bright);outline-offset:2px}.editor-float :is(button,input):focus-visible{outline:3px solid var(--accent-bright);outline-offset:2px}.editor-cluster{display:flex;align-items: center;gap:4px}.editor-cluster+.editor-cluster{border-left:1px solid var(--line);padding-left:12px}.editor-colour{width:var(--control);height:var(--control);background:var(--surface);cursor:pointer;border:0;padding:6px}.editor-side-toggle,.editor-settings-group{display:none}.editor-side{display:flex;background:var(--surface);flex-direction:column;flex:none;width:320px;min-height:0}@media (min-width:900px){.editor-side[data-collapsed=true]{display:none}.editor-body:has(>.editor-side[data-collapsed=true]) .editor-settings-group{display:flex}.editor-body:has(>.editor-side[data-collapsed=true]) .editor-side-toggle{display:inline-flex;min-height:var(--control);background:var(--surface);justify-content:center;align-items: center;gap:6px}}.editor-side-head{display:flex;padding:12px var(--margin)4px 20px;flex:none;justify-content:space-between;align-items: center;gap:8px}.editor-side-title{font-size:var(--step-lead);font-weight:500}.editor-side-body{overflow-y:auto;flex:auto;min-height:0;padding:8px 20px 24px}.editor-side .inspector{display:flex;flex-direction:column;gap:20px}.editor-side .inspector-title{font-size:var(--step-small);color:var(--muted);margin:0;font-weight:500}.editor-side h3{font-size:var(--step-lead);color:var(--ink);margin:0 0 4px;font-weight:500;line-height:1.2}.editor-side .inspector-group,.editor-side .inspector-shape{display:flex;flex-direction:column;gap:12px}.editor-side .hint{color:var(--muted);font-size:var(--step-small);margin:0}.editor-side .inspector-points{font-size:var(--step-small)}.editor-side .inspector-points summary{cursor:pointer;color:var(--muted)}.editor-side .inspector-shape-details{font-size:var(--step-small)}.editor-side .inspector-shape-details summary{cursor:pointer;color:var(--muted);font-weight:600}.editor-side .inspector-shape-details>.inspector-shape{margin-top:12px}.editor-side .point-row{display:grid;grid-template-columns:minmax(0,1fr)minmax(0,1fr)minmax(0,1fr);align-items: end;gap:6px;margin-top:8px}.editor-side :-webkit-any(input,select,textarea){background:var(--ground)}.editor-side :-moz-any(input,select,textarea){background:var(--ground)}.editor-side :is(input,select,textarea){background:var(--ground)}.editor-menu{position:absolute;z-index:5;display:flex;overflow-y:auto;background:var(--surface);box-shadow:var(--float-shadow);visibility:hidden;opacity:0;pointer-events:none;transition:opacity .16s var(--ease),transform .2s var(--ease),visibility 0s linear .2s;flex-direction:column;gap:20px;width:min(400px,100% - 24px);max-height:calc(100% - 76px);padding:20px;top:64px;right:12px;transform:translateY(-8px)}.editor-menu[data-open=true]{visibility:visible;opacity:1;pointer-events:auto;transition:opacity .16s var(--ease),transform .2s var(--ease),visibility 0s;transform:none}.editor-menu-head{display:flex;justify-content:space-between;align-items: center;gap:12px}.editor-menu-head h2{font-size:var(--step-lead);margin:0;font-weight:500}.editor-menu-body{display:flex;flex-direction:column;gap:20px}.editor-group{display:flex;flex-direction:column;gap:10px}.editor-group h3{font-size:var(--step-body);margin:0;font-weight:500}.editor-buttons,.editor-row{display:flex;flex-wrap:wrap;align-items: center;gap:8px}.editor-buttons button{display:inline-flex;align-items: center;gap:8px}.editor-row input{background:var(--ground);flex:160px;min-width:0}.editor-list{display:flex;flex-direction:column;gap:6px}.editor-item{text-align:left;justify-content:flex-start;width:100%}.editor-status{color:var(--muted);font-size:var(--step-small);margin:0}.editor-status.error{color:var(--danger)}.editor-code{resize:vertical;font-size:var(--step-small);width:100%}@media (max-width:899px){.editor-body{overflow:hidden}.editor-side{position:absolute;z-index:4;box-shadow:var(--float-shadow);visibility:hidden;transition:transform .26s var(--ease),visibility 0s linear .26s;width:min(340px,100%);top:0;bottom:0;right:0;transform:translate(100%)}.editor-side[data-open=true]{visibility:visible;transition:transform .26s var(--ease),visibility 0s;transform:none}.editor-side-toggle{display:inline-flex;width:var(--control);height:var(--control);background:var(--surface);justify-content:center;align-items: center;padding:0}.editor-settings-group{display:flex}.editor-tools .editor-label{display:none}}@media (max-width:600px) and (orientation:portrait){.editor-body{flex-direction:column}.editor-stage{flex:auto}.editor-tools{overflow:hidden;border-right:0;border-top:1px solid var(--line);flex-flow:wrap;align-content: center;align-items: center;gap:4px 0;width:auto;padding:4px 16px}.editor-tool-group{border-bottom:0;border-right:1px solid var(--line);flex-direction:row;flex:none;width:auto;padding:0 8px}.editor-tool-group:first-child{padding-left:0}.editor-tool-group:last-child{border-right:0;padding-right:0}.editor-side{transition:transform .26s var(--ease),visibility 0s linear .26s;width:auto;height:52dvh;top:auto;left:0;transform:translateY(100%)}.editor-top{flex-wrap:wrap;gap:6px;padding:8px 16px}.editor-name{flex:160px;order:2;max-width:none}.editor-top-tools{display:contents}.editor-mode{order:2}.editor-top button{width:var(--control);padding:0}.editor-top .editor-label{display:none}.editor-foot{position:absolute;overflow:hidden;clip-path:inset(50%);white-space:nowrap;width:1px;height:1px}.editor-float{right:var(--margin);bottom:8px}.editor-lag{bottom:64px}.editor-menu{width:auto;max-height:none;inset:0}}@media (max-height:500px) and (orientation:landscape){.editor-tools{width:calc(var(--control) + 2*var(--margin));gap:6px;padding:6px 0}.editor-side{width:min(300px,46%)}.editor-top{padding:6px 16px}.editor-menu{width:auto;max-height:none;inset:0}}@media (pointer:coarse){.editor-top button,.editor-top input,.editor-side-toggle,.editor-tool,.editor-float .icon{min-width:var(--control);min-height:var(--control)}}.page.home{position:relative;display:grid;grid-template-columns:minmax(0,clamp(480px,34vw,720px))minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)auto auto minmax(0,1fr)auto;background:0 0;gap:28px 40px}.home-top{grid-column:1/-1;grid-row:1;position:relative;z-index:2;display:flex;padding-top:calc(16px + env(safe-area-inset-top));justify-content:flex-end}.home-tools{display:flex;align-items: center;gap:2px}button.icon.home-tool{position:relative;display:inline-grid;place-items: center;width:48px;height:48px;padding:0}button.home-account{display:inline-flex;color:var(--ink);font-size:var(--step-small);white-space:nowrap;gap:8px;width:auto;min-height:48px;padding:0 12px 0 4px;font-weight:500}.home-level{font-variant-numeric:tabular-nums}.home-unread{background:var(--accent-bright);flex:none;width:8px;height:8px;margin-left:auto}.home-copy{grid-column:1;grid-row:3;display:flex;flex-direction:column;align-self: end;gap:28px;min-width:0}.home-title{display:flex;letter-spacing:-.045em;align-items: center;gap:16px;font-size:clamp(3.25rem,1.4rem + 6vw,7.5rem);font-weight:500;line-height:.9}.home-title .mark{width:.55em;height:.55em}.home-form{display:flex;flex-direction:column;gap:16px;max-width:480px}.home-name{display:inline-flex;color:var(--muted);font-size:var(--step-small);white-space:nowrap;cursor:text;align-self: flex-start;align-items: center;gap:8px;max-width:100%}.home-name input.home-name-input{color:var(--ink);font:inherit;font-size:var(--step-body);transition:border-color var(--fast)var(--ease);background:0 0;border:0;border-bottom:1px solid #0000;border-radius:0;width:12em;min-width:0;min-height:48px;padding:2px 0;font-weight:500}.home-name input.home-name-input:hover:not(:read-only){border-bottom-color:var(--line-strong);background:0 0}.home-name input.home-name-input:focus-visible{border-bottom-color:var(--line-strong);background:0 0}.home-name input.home-name-input:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-bottom-color:var(--accent)}.home-name input.home-name-input:read-only{cursor:default}.home-name>svg{color:var(--muted)}.menu-online{display:flex;color:var(--muted);font-size:var(--step-small);align-items: center;gap:8px}.menu-online:before{content:"";background:var(--good);width:8px;height:8px}.menu-online.is-down:before{display:none}.menu-account-line:not([hidden]){display:flex;color:var(--muted);font-size:var(--step-small);align-items: center;gap:8px}.menu-retry{min-height:var(--control);padding-inline-start:12px;padding-inline-end:12px}.home-offline:not([hidden]){color:var(--muted);font-size:var(--step-small);flex:auto;align-self: center;min-width:0;margin:0 auto 0 0}.home-copy .status{color:var(--muted);font-size:var(--step-small)}.home-copy .status:empty{display:none}.menu-art{grid-column:2;grid-row:2/6;position:relative;aspect-ratio:1;place-self: center;width:min(78%,78.125vh - 81.25px);min-width:0}.menu-art *{pointer-events:none}.menu-square{position:absolute;width:calc(var(--card-w,1)*100%);height:calc(var(--card-h,1)*100%);display:grid;overflow:hidden;border-radius:18px;place-items: center;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 18px 48px -18px #0000008c}.menu-square.is-idle{background:var(--brand-tile)}.menu-square .mark{opacity:0;width:34%;height:34%}.menu-square.is-idle .mark{opacity:1}.home-index{grid-column:1;grid-row:4;display:flex;flex-direction:column;align-self: start;gap:8px;min-width:0}.drum{--drum-pitch:2.5rem;--drum-opt-h:2.25rem;position:relative;container-type:inline-size;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;height:320px}.drum:focus-visible{outline:none}.drum-opt{position:absolute;height:var(--drum-opt-h);margin-top:calc(var(--drum-opt-h)/-2);display:flex;color:var(--ink);font-size:var(--step-body);white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:10px;align-items: center;gap:12px;padding:0 16px;font-weight:600;line-height:1.2;top:50%;left:8px;right:8px}.drum-opt svg{color:var(--accent);flex:none}.drum-label{overflow:hidden;text-overflow:ellipsis;min-width:0;line-height:1.3}.drum-opt:hover{background:var(--surface-2)}.drum-opt[aria-selected=true]{background:var(--accent);color:var(--accent-ink)}.drum-opt[aria-selected=true] svg{color:currentColor}.drum:focus-visible .drum-opt[aria-selected=true]{box-shadow:inset 0 0 0 2px var(--ink)}.drum-opt.is-disabled:not([aria-selected=true]),.drum-opt.is-disabled:not([aria-selected=true]) svg{color:var(--muted)}.drum-hint{color:var(--muted);font-size:var(--step-small);text-align:center;min-height:1.4em;margin:0}@media (forced-colors:active){.drum{border:1px solid canvastext}.drum-opt[aria-selected=true]{forced-color-adjust:none;color:highlighttext;background:highlight}.drum-opt[aria-selected=true] svg{color:highlighttext}}.home-badge{background:var(--surface-2);color:var(--ink);letter-spacing:.02em;white-space:nowrap;flex:none;margin-left:auto;padding:1px 5px;font-size:.6875rem;font-weight:600;line-height:1.4}@container (width<=340px){.drum-opt{gap:8px;padding:0 8px}.home-badge{position:absolute;background:currentColor;border-radius:50%;width:6px;height:6px;padding:0;font-size:0;top:4px;right:4px}.drum-label{white-space:normal}}@container (width<=200px){.drum-opt{gap:0;padding:0 4px}.drum-opt>svg.icon{display:none}}.home-foot{grid-column:1/-1;grid-row:6;display:flex;color:var(--muted);font-size:var(--step-small);flex-direction:column;gap:8px}.home-foot .menu-makers,.home-links{margin:0}.home-links a,button.home-privacy{color:var(--ink);font:inherit;text-decoration:underline;text-underline-offset:3px}button.home-privacy{background:0 0;min-width:48px;min-height:48px;padding:0}@media (max-width:860px) and (orientation:portrait){.page.home{display:flex;padding-bottom:calc(32px + env(safe-area-inset-bottom));flex-direction:column;gap:24px}.home-top{padding-top:calc(8px + env(safe-area-inset-top));flex-wrap:wrap;order:0}.home-offline:not([hidden]){flex-basis:100%}.home-copy{order:1;align-self:stretch;gap:20px}.home-title{font-size:clamp(3rem,min(14vw,24vh),4.5rem)}.home-form{max-width:none}.home-index{order:2;align-self:stretch}.drum{--drum-pitch:2.375rem;--drum-opt-h:2.5rem;height:266px}.menu-art{aspect-ratio:auto;order:3;align-self: center;width:min(88vw,44vh)}.menu-square{position:relative;aspect-ratio:calc(var(--card-w,1)/var(--card-h,1));height:auto;top:auto;left:auto;transform:none}.home-foot{order:4}}@media (max-height:500px) and (orientation:landscape){.page.home{grid-template-columns:minmax(0,1fr)minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)auto minmax(0,1fr)auto;gap:12px 32px}.menu-art{display:none}.home-top{padding-top:calc(8px + env(safe-area-inset-top))}.home-copy{grid-column:1;grid-row:3;container-type:inline-size;align-self: center;gap:10px}.home-title{font-size:min(clamp(2rem,12vh,3rem),22cqi)}.home-index{grid-column:2;grid-row:3;align-self: center}.home-foot{grid-row:5}.drum{--drum-pitch:2.5rem;--drum-opt-h:2.25rem;height:200px}}.browser .page-head{position:static}.browser-notice{display:flex;flex-wrap:wrap;align-items: center;gap:12px;max-width:560px;margin-bottom:16px}.browser-notice p{flex:200px;margin:0}.code-join{display:flex;align-items: flex-end;gap:8px;max-width:420px}.code-join .field{flex:auto}.code-join input{text-transform:uppercase}.code-join button:disabled{background:var(--surface);color:var(--ink);opacity:.45}.create-form{display:flex;flex-direction:column;gap:16px}.create-form .check{min-height:var(--control)}.room-browser{display:flex;flex-direction:column;gap:12px;min-width:0}.room-tools{display:flex;flex-wrap:wrap;align-items: flex-end;gap:12px 24px}.room-tools .field{flex:260px}.room-tools .check{min-height:var(--control)}.room-total{white-space:nowrap;margin:0 0 0 auto}.room-browser input[type=search]{background:var(--surface)}.room-table{display:flex;list-style:none;flex-direction:column;margin:0;padding:0}.room-head:has(+.room-table:empty){display:none}.room-head,button.room-row{display:grid;grid-template-columns:minmax(0,2fr)minmax(0,1fr)minmax(0,1.4fr)minmax(0,1.3fr)minmax(0,.8fr);align-items: center;gap:12px}.room-head{color:var(--muted);font-size:var(--step-small);border-bottom:1px solid var(--line-strong);padding:8px 12px}.room-item{border-bottom:1px solid var(--line)}.room-item:last-child{border-bottom:0}.room-browser button.room-row{color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:background-color var(--fast)var(--ease),box-shadow var(--fast)var(--ease),transform var(--fast)var(--ease);background:0 0;border:0;border-radius:0;width:100%;min-height:56px;padding:10px 12px}.room-browser button.room-row:hover{background:var(--surface-2);box-shadow:inset 3px 0 0 var(--accent)}.room-browser button.room-row:active{transform:scale(.98)}.room-browser button.room-row:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.room-name{display:flex;overflow-wrap:anywhere;flex-wrap:wrap;align-items: center;gap:6px 8px;min-width:0;font-weight:500}.room-lock{color:var(--ink);flex:none;width:14px;height:14px}.room-lock rect{fill:currentColor}.room-lock path{stroke:currentColor}.room-mode{color:var(--muted);font-size:var(--step-small)}.room-map{display:flex;font-size:var(--step-small);overflow-wrap:anywhere;flex-direction:column;gap:4px;min-width:0}.room-where{display:flex;font-size:var(--step-small);flex-wrap:wrap;align-items: center;gap:4px 8px;min-width:0}.room-flag{object-fit:cover;box-shadow:0 0 0 1px var(--line);flex:none;width:18px;height:13px}.room-region{min-width:0}.room-distance{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.room-count{display:flex;font-size:var(--step-small);white-space:nowrap;font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:flex-end;align-items: center;gap:6px}.room-players{font-size:var(--step-body);font-weight:500}.room-jukebox{display:flex;color:var(--muted);font-size:var(--step-small);align-items: center;gap:6px;min-width:0}.room-thumb{object-fit:cover;background:var(--surface-2);flex:none;width:40px;height:30px}.room-track{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.room-friends{color:var(--muted);font-size:var(--step-small);overflow-wrap:anywhere;margin:0;padding:0 12px 10px}.room-password{display:flex;align-items:stretch;gap:8px;padding:0 12px 12px}.room-password input{background:var(--surface);flex:auto;min-width:0}.room-password button{min-height:var(--control)}.invite-form .room-password{padding:0}.room-browser>.empty{text-align:center;margin-block-start:auto;margin-block-end:auto;padding:24px 0}.room-browser:has(>.empty:not([hidden])){min-height:calc(100dvh - 280px)}@media (min-width:901px){.room-browser{border:1px solid var(--line);min-height:calc(100dvh - 280px);padding:16px 24px 24px}}@media (max-width:900px){.room-tools .field{flex-basis:100%}}@media (max-width:600px){.code-join{flex:none;max-width:none}.room-head{display:none}.room-browser button.room-row{grid-template-columns:minmax(0,1fr)minmax(0,1fr);grid-template-areas:"name name" "mode map" "where count";gap:8px 12px;padding:12px 8px}.room-name{grid-area:name}.room-mode{grid-area:mode}.room-map{grid-area:map}.room-where{grid-area:where}.room-count{grid-area:count}.room-friends,.room-password{padding:0 8px 12px}}.room-skeleton{display:grid;list-style:none;gap:6px;margin:0;padding:0}.room-skel{background:linear-gradient(90deg,var(--surface-2)25%,var(--line)50%,var(--surface-2)75%)0 0/200% 100%;animation:room-skel-shimmer 1.2s var(--ease)infinite;border-radius:6px;height:52px}@keyframes room-skel-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.room-error{display:flex;flex-wrap:wrap;align-items: center;gap:12px;padding:16px 0}.room-error-text{color:var(--ink);margin:0}@media (prefers-reduced-motion:reduce){.room-skel{animation:none}}.quick-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px}.quick-cards>.muted{margin:0}.quick-card{display:flex;box-shadow:inset 0 0 0 1px var(--line);flex-direction:column;gap:16px;min-width:0;padding:20px}.quick-card-head{display:flex;flex-direction:column;align-items: flex-start;gap:6px;min-width:0}.quick-card-head h2{font-size:var(--step-lead);overflow-wrap:anywhere;margin:0;font-weight:500;line-height:1.1}.quick-count{display:flex;color:var(--muted);font-size:var(--step-small);font-variant-numeric:tabular-nums;align-items: center;gap:8px;margin:0;line-height:1.2}.quick-count:before{content:"";background:var(--good);border-radius:50%;flex:none;width:8px;height:8px}.quick-text{overflow:hidden;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0}.quick-carousel,.quick-maps{display:flex;flex-direction:column;gap:10px;min-width:0}.quick-carousel{width:100%;max-width:400px;margin:0 auto}.quick-carousel>.quick-maps{flex-direction:row;align-items: center;gap:6px}.quick-thumbs{display:grid;grid-template-columns:minmax(0,.7fr)minmax(0,1.3fr)minmax(0,.7fr);flex:auto;align-items: center;gap:8px;min-width:0}.quick-thumbs:has(>:only-child){grid-template-columns:minmax(0,1fr);justify-items:center}.quick-thumbs:has(>:only-child)>*{width:min(100%,240px)}.quick-thumb{opacity:.5;transition:opacity var(--fast)var(--ease),transform var(--fast)var(--ease)}.quick-thumb-mid,.quick-thumbs>:only-child{opacity:1}.quick-arrow{width:var(--control);min-width:var(--control);height:var(--control);flex:none;padding:0}.quick-map-name{color:var(--muted);font-size:var(--step-small);text-align:center;overflow-wrap:anywhere;margin:0}.quick-choose{width:100%;margin-top:auto}.quick-choose:disabled{opacity:1;background:var(--surface-2);color:var(--muted)}.quick-wait{display:flex;background:var(--surface);flex-wrap:wrap;align-items: center;gap:16px 20px;margin-top:24px;padding:20px 24px}.quick-wait:empty{display:none}.quick-wait .loader{width:28px;height:28px}.quick-status{color:var(--muted);font-size:var(--step-small);min-height:1.4em;margin:16px 0 0}@media (max-width:900px){.quick-cards{grid-template-columns:minmax(0,1fr)}}@media (max-width:600px){.quick-card{gap:14px;padding:16px}.quick-thumbs{gap:6px}.quick-wait{padding:16px}}.library-page [hidden]{display:none!important}.library-page .status{color:var(--muted);font-size:var(--step-small);margin:0}.library-page .status:empty{display:none}.library-page .tabs .tab{white-space:nowrap;flex:auto;padding:0 10px}@media (max-width:420px){.library-page .tabs .tab>.icon{display:none}}.library-toolbar{display:flex;flex-wrap:wrap;align-items: center;gap:12px}.library-search{position:relative;flex:240px;min-width:0;max-width:420px}.library-search>.icon{position:absolute;color:var(--muted);pointer-events:none;top:50%;left:14px;transform:translateY(-50%)}.library-page .library-search>input{width:100%;padding-left:44px}.library-sort{display:flex;color:var(--muted);flex:none;align-items: center;gap:8px}.library-sort select{min-width:160px}.library-toolbar>button{flex:none}.library-empty{display:flex;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items: center;gap:12px;min-height:calc(100dvh - 300px);padding:32px 0}.library-empty p{margin:0}.library-layout{display:grid;grid-template-columns:minmax(0,1fr)300px;align-items: start;gap:32px}.library-main{display:flex;flex-direction:column;align-items:stretch;gap:24px;min-width:0}.library-more{align-self: center}.map-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));list-style:none;gap:16px;margin:0;padding:0}.map-grid>li{min-width:0}.map-card{display:flex;overflow:hidden;background:var(--surface);color:var(--ink);text-align:left;box-shadow:none;transition:background-color .16s var(--ease),transform .14s var(--ease);flex-direction:column;width:100%;height:100%;min-height:0;padding:0;font-weight:400}.map-card:hover:not(:disabled){background:var(--surface-2)}.map-card>*,.map-body>*{flex:none}.map-thumb,.map-card .map-thumb{display:block;background:var(--surface-2);width:100%}.map-thumb canvas,.detail-thumb canvas,.map-preview canvas{display:block;aspect-ratio:16/10;object-fit:contain;width:100%;height:auto}.thumb-missing{display:flex;color:var(--muted);font-size:var(--step-small);justify-content:center;align-items: center;min-height:6em}.map-body{display:flex;flex-direction:column;align-items: flex-start;gap:4px;width:100%;min-width:0;padding:12px}.map-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:500;line-height:1.35}.map-meta,.map-stats,.map-state{display:block;overflow:hidden;color:var(--muted);line-height:1.35;font-size:var(--step-small);text-overflow:ellipsis;white-space:nowrap;max-width:100%}.map-name,.map-meta{white-space:normal;overflow-wrap:anywhere}.map-card .map-stats>span{display:inline-flex;align-items: center;gap:4px;margin-right:10px}.map-body .chip{margin-top:4px}dialog.modal.map-dialog{width:min(100vw - 32px,600px)}.detail-thumb{display:block;background:var(--surface-2);width:100%}.map-info{display:flex;flex-direction:column;gap:12px}.map-byline{display:flex;color:var(--muted);flex-wrap:wrap;align-items: center;gap:8px;margin:0}.map-byline .chip{display:inline-flex;align-items: center;gap:4px}.map-state,.map-desc{margin:0}.map-desc{white-space:pre-line;overflow-wrap:anywhere}.map-stats{overflow:visible;font-size:var(--step-body);margin:0}.map-actions{display:flex;flex-wrap:wrap;gap:8px}.map-actions button,.map-play button,.map-report{display:inline-flex;align-items: center;gap:8px}.map-actions button[aria-pressed=true],.map-actions button[aria-pressed=true]:hover:not(:disabled){background:var(--ink);color:var(--ground)}.map-actions button[aria-pressed=true] .icon{fill:currentColor}.map-play:empty{display:none}.map-play{display:flex;flex-direction:column;align-items: flex-start;gap:8px}.map-play .status{margin:0}.map-report{align-self: flex-start}.map-records{display:flex;overflow-x:auto;flex-direction:column;gap:8px}.map-records h3{display:flex;font-size:var(--step-body);align-items: center;gap:8px;margin:0;font-weight:500}.map-owner{margin:0}.map-owner>summary{display:flex;min-height:var(--control);cursor:pointer;list-style:none;align-items: center;gap:8px;font-weight:500}.map-owner>summary::-webkit-details-marker{display:none}.map-owner>summary:hover{color:var(--accent)}.map-owner-body{display:flex;flex-direction:column;gap:16px;padding-top:16px}.map-owner .actions{margin-top:4px}form.modal-form{display:flex;flex-direction:column;gap:16px}form.modal-form .field-hint{margin:0}.map-preview{display:flex;flex-direction:column;gap:8px}.map-preview canvas{background:var(--surface-2)}dialog.modal.map-picker{width:min(100vw - 32px,880px)}.map-picker .map-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.map-picker .library-search{max-width:none}.library-makers{margin:0}.library-makers h2{display:flex;align-items: center;gap:8px;margin:0}.library-makers-list{display:flex;list-style:none;counter-reset:maker;flex-direction:column;gap:8px;margin:0;padding:0}.library-makers-list li{display:flex;counter-increment:maker;justify-content:space-between;align-items: center;gap:12px;min-width:0}.library-makers-list li:before{content:counter(maker)".";color:var(--muted);font-variant-numeric:tabular-nums;flex:none;width:2ch}.maker-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.maker-score{flex:none;font-weight:500}@media (max-width:900px){.library-layout{grid-template-columns:minmax(0,1fr)}}@media (max-width:600px){.map-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.map-picker .map-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-toolbar{flex-direction:column;align-items:stretch;gap:8px}.library-search{flex:none;max-width:none}.library-sort{width:100%}.library-sort select{flex:auto;min-width:0}.library-toolbar>button{width:100%}.map-body{padding:10px}.map-actions>button{flex:calc(50% - 8px);justify-content:center}}.news-body{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--gap);overflow-y:auto;mask-image:linear-gradient(#000 calc(100% - 24px),#0000);min-height:min(12rem,30dvh);max-height:min(56dvh,460px);padding-bottom:24px}.news-body:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.news-date{color:var(--muted);font-size:var(--step-small);font-variant-numeric:tabular-nums}.news-list{display:grid;list-style:none;font-size:var(--step-body);overflow-wrap:anywhere;gap:14px;margin:0;padding:0;line-height:1.5}.news-count{color:var(--muted);font-size:var(--step-small);font-variant-numeric:tabular-nums;white-space:nowrap}.news-page{grid-area:1/1;display:grid;gap:var(--gap);visibility:hidden;opacity:0;transition:opacity var(--fast)var(--ease),visibility var(--fast)var(--ease);align-content: start}.news-page.is-active{visibility:visible;opacity:1}.account-page .sr-only{position:absolute;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0}.account-page [hidden]{display:none!important}.account-page .actions{align-items: center}.account-guest{display:grid;grid-template-columns:minmax(0,1fr)minmax(0,340px);align-items: start;gap:32px}.account-form{gap:16px}.account-form .status.is-repeat{animation:.5s linear status-repeat}@keyframes status-repeat{0%{opacity:.3}}.account-submit{gap:12px}.account-foot{color:var(--muted);font-size:var(--step-small);margin:0}.account-foot:empty{display:none}.account-aside{display:flex;flex-direction:column;gap:20px;padding-top:8px}.account-aside>h2{margin:0}.account-perks{display:flex;list-style:none;flex-direction:column;gap:12px;margin:0;padding:0}.account-perk{display:flex;align-items: center;gap:12px}.account-perk-icon{display:inline-flex;background:var(--surface-2);color:var(--accent);flex:none;justify-content:center;align-items: center;width:36px;height:36px}.account-member{display:grid;grid-template-columns:minmax(0,1fr)minmax(0,340px);align-items: start;gap:16px 32px}@media (min-width:861px){.account-profile{grid-column:1;grid-row:1}.account-friends{grid-column:1;grid-row:2}.account-session{grid-column:1;grid-row:3}.account-member>.account-security{grid-column:2;grid-row:1/span 3}.account-member>.status{grid-column:1;grid-row:4}}.account-count{font-size:var(--step-body);margin:0;font-weight:600;line-height:1.3}.account-profile .profile-maps .empty:has(>svg.icon){text-align:left;align-items: flex-start;padding:8px 0}.account-subform>h3{margin:0}.account-level{display:flex;flex-direction:column;gap:8px}.account-level-num{font-size:var(--step-body);font-weight:600;line-height:1.3}.account-level .meter{height:10px}.panel.account-security{gap:0;padding:0}.account-security>summary{display:flex;cursor:pointer;list-style:none;align-items: center;gap:12px;min-height:56px;padding:0 20px;font-weight:500}.account-security>summary::-webkit-details-marker{display:none}.account-security>summary>span{flex:auto}.account-security>summary .icon-chevron-down{transition:transform .18s}.account-security[open]>summary .icon-chevron-down{transform:rotate(180deg)}.account-security-body{display:flex;flex-direction:column;gap:24px;padding:0 20px 20px}.account-security:not([open])>.account-security-body{display:none}.account-subform{display:flex;border-top:1px solid var(--line);flex-direction:column;gap:16px;padding-top:20px}.danger-zone h3{color:var(--danger)}.sign-in-prompt{display:flex;flex-direction:column;align-items: flex-start;gap:16px;max-width:640px}@media (max-width:860px){.account-guest,.account-member{grid-template-columns:minmax(0,1fr);gap:24px}.account-aside{padding-top:0}}@media (max-width:600px){.account-form{padding:20px}}.color-picker{display:flex;flex-direction:column;gap:24px;width:min(100%,440px)}.color-preview-row{display:flex;align-items: center;gap:16px}.color-preview{background:var(--ink);flex:none;width:64px;height:64px}.color-preview-text{display:flex;flex-direction:column;gap:2px;min-width:0}.color-name{font-size:var(--step-lead);font-weight:500}.color-swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:8px}.color-swatch{aspect-ratio:1;background-clip:padding-box;border:0;border-radius:0;width:100%;min-height:44px;padding:0;box-shadow:inset 0 0 0 1px #00000024}.color-swatch:hover:not(:disabled){transform:scale(1.06)}.color-swatch[aria-checked=true]{box-shadow:inset 0 0 0 3px var(--surface),inset 0 0 0 5px var(--ink)}.color-custom-row{display:flex;font-size:var(--step-small);justify-content:space-between;align-items: center;gap:12px}.color-custom{border:0;border-bottom:2px solid var(--line-strong);background:var(--surface);cursor:pointer;border-radius:0;width:56px;height:44px;padding:2px}.postgame{display:flex;flex-direction:column;gap:24px;width:min(100%,480px)}.postgame-place{display:flex;letter-spacing:-.04em;color:var(--ink);flex-wrap:wrap;align-items:baseline;gap:12px;margin:.125em 0 0;font-size:clamp(3.5rem,2.5rem + 5vw,6rem);font-weight:500;line-height:1}.postgame-of{font-size:var(--step-lead);letter-spacing:0;color:var(--muted)}.postgame-gain{font-size:var(--step-lead);color:var(--ink);margin:0;font-weight:500}.postgame-level{display:flex;flex-direction:column;gap:8px}.postgame-level-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.postgame-level-range{color:var(--muted)}.postgame-levelup{display:flex;font-size:var(--step-lead);align-items: center;gap:12px;margin:4px 0 0;font-weight:500}.postgame-levelup[hidden]{display:none}.postgame-levelup.is-new{animation:postgame-levelup .26s var(--ease)both}.postgame-levelup.is-new .mark{animation:postgame-mark .42s var(--ease)both}@keyframes postgame-levelup{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes postgame-mark{0%{transform:rotate(-120deg)scale(.6)}to{transform:none}}.postgame-note{color:var(--muted);font-size:var(--step-small);margin:0}.postgame-vote{display:flex;flex-direction:column;align-items: flex-start;gap:8px}.postgame-vote-q{color:var(--muted);font-size:var(--step-small)}.postgame-vote .seg-option{display:inline-flex;align-items: center;gap:8px}@media (max-height:420px){.postgame-dialog .modal-head{padding-top:16px}.postgame-dialog .modal-body{mask-image:linear-gradient(#000 calc(100% - 24px),#0000);padding:8px 24px 16px}.postgame-dialog .modal-actions{padding-bottom:16px}.postgame{gap:12px}.postgame-place{font-size:2.5rem}}.jukebox{position:fixed;z-index:40;display:flex;background:var(--surface);color:var(--ink);box-shadow:var(--float-shadow);flex-direction:column;gap:16px;width:min(360px,100vw - 32px);padding:16px;bottom:16px;right:16px}.jukebox[hidden]{display:none}.jukebox button{background:var(--surface-2)}.jukebox button:hover:not(:disabled){background:var(--surface-3)}.jukebox-head{display:flex;justify-content:space-between;align-items: center;gap:12px;min-width:0}.jukebox-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--step-body);min-width:0;font-weight:500}.jukebox-head .chip{flex:none}.jukebox-screen{aspect-ratio:16/9;overflow:hidden;background:#000;width:100%}.jukebox-screen iframe{border:0;width:100%;height:100%}.jukebox-note{text-align:center;color:var(--ink-2,inherit);aspect-ratio:16/9;display:flex;background:#000;justify-content:center;align-items: center;margin:0;padding:16px 12px}.jukebox-note[hidden]{display:none}.jukebox-host{display:flex;flex-direction:column;gap:8px}.jukebox-host[hidden]{display:none}.jukebox-add,.jukebox-transport{display:flex;gap:8px;min-width:0}.jukebox-add button,.jukebox-transport button{display:inline-flex;min-height:var(--control);white-space:nowrap;flex:1 1 0;justify-content:center;align-items: center;gap:8px;padding:0 12px}.jukebox-url{min-height:var(--control);border:0;border-bottom:2px solid var(--line-strong);background:var(--surface-2);color:var(--ink);font:inherit;font-size:var(--step-small);border-radius:0;flex:auto;min-width:0;padding:0 12px}.jukebox-url:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.jukebox svg{flex:none}.jukebox-volume{display:flex;color:var(--muted);font-size:var(--step-small);align-items: center;gap:12px}.jukebox-volume input{accent-color:var(--ink);flex:1;min-width:0}.training-lesson{position:absolute;display:flex;overflow:hidden;background:var(--ground);color:var(--ink);flex-direction:column;gap:12px;width:min(100% - 16px,40rem);padding:16px 18px;top:9.5rem;left:50%;transform:translate(-50%)}@media (max-height:500px){.training-lesson{overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr)auto;grid-template-rows:auto minmax(0,1fr);grid-template-areas:"progress next" "text text";gap:6px;max-height:calc(100% - 12rem);padding:8px 14px;top:3.5rem}.training-progress{grid-area:progress}.training-next{grid-area:next}.training-text{grid-area:text;font-size:var(--step-small);min-height:44px}}@media (max-width:600px) and (min-height:501px){.training-lesson{max-height:calc(100% - 18rem)}}.training-progress{display:flex;align-items: center;gap:10px}.training-count{color:var(--muted);font-size:var(--step-small);font-variant-numeric:tabular-nums}.training-steps{display:flex;gap:4px}.training-step{background:var(--surface-3);width:10px;height:10px}.training-step.is-done{background:var(--ink)}.training-step.is-current{background:var(--surface-2);box-shadow:inset 0 0 0 2px var(--ink)}.training-progress,.training-next{flex-shrink:0}.training-text{overflow-y:auto;font-size:var(--step-lead);flex:0 auto;min-height:0;margin:0;line-height:1.45}@media (min-height:501px){.training-text{min-height:min(5lh,30vh)}}@media (max-width:600px){.training-text{font-size:var(--step-body)}}.training-next{align-self: flex-end;min-width:120px}.training-text>span{display:block;animation:training-lesson-in var(--fast)var(--ease)both}@keyframes training-lesson-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.training-bar{margin-inline:calc(-1*var(--margin));padding-inline:var(--margin)}.training-bar button{min-height:48px}.training-lesson .key{transition:background-color var(--fast)var(--ease),color var(--fast)var(--ease)}.training-lesson .key.is-hit{background:var(--ink);color:var(--ground)}.training-lesson{transition:box-shadow var(--fast)var(--ease)}.training-lesson.is-complete{box-shadow:inset 0 0 0 3px var(--good)}@font-face{font-family:Hanken Grotesk;font-style:normal;font-weight:300 800;font-display:swap;src:url(/fonts/hanken-grotesk-latin.woff2)format(woff2);unicode-range:U+??,U+131,U+152-153,U+2bb-2bc,U+2c6,U+2da,U+2dc,U+304,U+308,U+329,U+2000-206f,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Hanken Grotesk;font-style:normal;font-weight:300 800;font-display:swap;src:url(/fonts/hanken-grotesk-latin-ext.woff2)format(woff2);unicode-range:U+100-2ba,U+2bd-2c5,U+2c7-2cc,U+2ce-2d7,U+2dd-2ff,U+304,U+308,U+329,U+1d00-1dbf,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20c4,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:OpenDyslexic;font-style:normal;font-weight:400;font-display:swap;size-adjust:89%;src:url(/fonts/opendyslexic-regular.woff2)format(woff2)}@font-face{font-family:OpenDyslexic;font-style:normal;font-weight:700;font-display:swap;size-adjust:89%;src:url(/fonts/opendyslexic-bold.woff2)format(woff2)}:root{--buncss-light:initial;--buncss-dark: ;color-scheme:light;--brand-tile:#000;--brand:linear-gradient(90deg,#0095ff,#0080ff);--brand-flat:#0080ff;--ground:#f7f7f7;--surface:#ebebeb;--surface-2:#e0e0e0;--surface-3:#d4d4d4;--ink:#0a0a0a;--muted:#5c5c5c;--line:#0a0a0a24;--line-strong:#0a0a0a57;--accent:#006fe0;--accent-hover:#005fc4;--accent-ink:#fff;--accent-bright:#0095ff;--danger:#ae251d;--danger-ink:#fff;--good:#196839;--scrim:#0000008c;--float-shadow:0 18px 48px #00000038,0 2px 6px #0000001f;--hud:#0a0a0ae0;--hud-ink:#f7f7f7;--font:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--step-small:.875rem;--step-body:1rem;--step-lead:clamp(1.1875rem,1.05rem + .5vw,1.5rem);--step-head:clamp(1.75rem,1.2rem + 2.2vw,2.75rem);--step-display:clamp(3.5rem,1.6rem + 8vw,9rem);--margin:clamp(16px,3vw,40px);--page-column:1200px;--gap:16px;--control:44px;--ease:cubic-bezier(.2,0,0,1);--fast:.14s;--tilt:-30deg}:root[data-theme=dark]{--buncss-light: ;--buncss-dark:initial;color-scheme:dark;--ground:#0a0a0a;--surface:#161616;--surface-2:#202020;--surface-3:#2b2b2b;--ink:#f2f2f2;--muted:#a6a6a6;--line:#f2f2f224;--line-strong:#f2f2f257;--danger:#ff7a6e;--danger-ink:#0a0a0a;--good:#5fd08c;--scrim:#0009;--float-shadow:0 18px 48px #00000080,0 2px 6px #0006}:root[data-font=readable]{--font:"OpenDyslexic",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--read-leading:1.6}:root[data-font=readable] body{letter-spacing:.05em;word-spacing:.1em;line-height:var(--read-leading)}*{box-sizing:border-box}[hidden]{display:none!important}html{font-size:calc(100%*var(--text-scale,1))}html,body{overflow:hidden;background:var(--ground);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;width:100%;height:100%;margin:0;line-height:1.45}h1,h2,h3,p,ul,ol,figure,dl,dd{margin:0}h1,h2,h3{letter-spacing:-.02em;text-wrap:balance;font-weight:500;line-height:1.1}h1{font-size:var(--step-head);letter-spacing:-.035em}h2{font-size:var(--step-lead)}h3{font-size:var(--step-body)}p{text-wrap:pretty}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:3px}a:hover{text-decoration-thickness:2px}::selection{background:var(--accent);color:var(--accent-ink)}:focus-visible{outline:2px solid var(--ink);outline-offset:2px}#gl-host,#overlay{position:fixed;left:var(--view-x);top:var(--view-y);width:var(--view-w);height:var(--view-h);user-select:none;-webkit-user-select:none;touch-action:none}#gl-host{z-index:0}#stage-surround{position:fixed;z-index:0;--stage-top:#0a0a0a;--stage-bottom:#0a0a0a;background:linear-gradient(var(--stage-top)var(--view-y),var(--stage-bottom)calc(var(--view-y) + var(--view-h)));inset:0}#gl-host canvas{display:block;width:100%;height:100%}#overlay{z-index:1;pointer-events:none}button,[role=button]{touch-action:manipulation}#ui{position:fixed;z-index:2;display:flex;overflow-y:auto;scrollbar-gutter:stable;scroll-padding-top:var(--page-head-h,calc(72px + env(safe-area-inset-top)));pointer-events:none;inset:0}#ui>*{pointer-events:auto}.page{background:var(--ground);padding:0 var(--margin)calc(48px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-self: flex-start;gap:32px;width:100%;min-height:100%}.page-inner{max-width:var(--page-column);display:flex;flex-direction:column;gap:32px;width:100%;margin-inline-start:auto;margin-inline-end:auto}.page-head{position:sticky;z-index:3;display:flex;padding-top:env(safe-area-inset-top);padding-inline:max(0px,calc((100% - var(--page-column))/2));background:var(--ground);align-items: center;gap:12px;min-height:72px;top:0}.page-head h1{overflow-wrap:break-word;flex:1;min-width:0}.offline-title{font-size:inherit;letter-spacing:normal;line-height:inherit}@media (min-width:601px){.privacy .page-head{flex-wrap:wrap}.privacy .page-head h1{flex:100%}.privacy .page-back{margin-inline-start:0;padding-inline-start:0}}.page-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}@media (max-width:600px){.page-head{display:flex;flex-wrap:wrap;align-items: center;column-gap:12px}.page-head h1{flex:auto}}@media (max-height:500px){.page-head{position:static}}@media (max-width:600px){.page-inner>.page-actions{justify-content:flex-end}}.lead{font-size:var(--step-lead);line-height:var(--read-leading,1.35);max-width:60ch}.muted{color:var(--muted)}.small{font-size:var(--step-small)}.num{font-variant-numeric:tabular-nums}.panel{display:flex;background:var(--surface);flex-direction:column;gap:16px;padding:24px}.panel>h2{font-size:var(--step-lead)}.section{display:flex;flex-direction:column;gap:12px}.section>h2{font-size:var(--step-lead)}.panel-title{font-size:var(--step-lead);color:var(--ink);margin:0;font-weight:500;line-height:1.2}.panel-sub{font-size:var(--step-small);color:var(--muted);margin:0;font-weight:600;line-height:1.3}button,.button{display:inline-flex;min-height:var(--control);background:var(--surface);color:var(--ink);font:inherit;font-weight:500;line-height:var(--read-leading,1.15);text-align:center;text-decoration:none;cursor:pointer;user-select:none;-webkit-user-select:none;transition-property:background-color,color,transform,opacity;transition-duration:var(--fast);transition-timing-function:var(--ease);border:0;border-radius:0;justify-content:center;align-items: center;gap:8px;padding:0 18px}button:hover:not(:disabled),.button:hover{background:var(--surface-2)}button:active:not(:disabled),.button:active{transform:scale(.96)}button:disabled{opacity:.45;cursor:not-allowed}.label-swap{display:inline-grid}.label-swap-state{grid-area:1/1;display:inline-flex;justify-content:center;align-items: center;gap:8px}.label-swap-state.label-swap-off{visibility:hidden}.panel button:not(:-webkit-any(.primary,.danger,.quiet,.ink,.seg-option,.tab)),.panel .button{background:var(--surface-2)}.panel button:not(:-moz-any(.primary,.danger,.quiet,.ink,.seg-option,.tab)),.panel .button{background:var(--surface-2)}.panel button:not(:is(.primary,.danger,.quiet,.ink,.seg-option,.tab)),.panel .button{background:var(--surface-2)}.panel button:not(:-webkit-any(.primary,.danger,.quiet,.ink,.seg-option,.tab)):hover:not(:disabled){background:var(--surface-3)}.panel button:not(:-moz-any(.primary,.danger,.quiet,.ink,.seg-option,.tab)):hover:not(:disabled){background:var(--surface-3)}.panel button:not(:is(.primary,.danger,.quiet,.ink,.seg-option,.tab)):hover:not(:disabled){background:var(--surface-3)}.list-row{text-align:left;justify-content:flex-start;width:100%}button.primary,.button.primary{background:var(--accent);color:var(--accent-ink)}button.primary:hover:not(:disabled),.button.primary:hover{background:var(--accent-hover)}button.ink{background:var(--ink);color:var(--ground)}button.ink:hover:not(:disabled){background:var(--ink);opacity:.88}button.danger{background:var(--danger);color:var(--danger-ink)}button.danger:hover:not(:disabled){background:var(--danger);opacity:.88}button.quiet{background:0 0}button.quiet:hover:not(:disabled){background:var(--surface)}button.big{font-size:var(--step-lead);min-height:64px;padding:0 28px}button.icon{width:var(--control);padding:0}button.icon svg{stroke:currentColor;stroke-width:2;fill:none;width:20px;height:20px}button.block{width:100%}svg.icon{display:inline-block;vertical-align:-.125em;flex:none}h2>svg.icon,h3>svg.icon{margin-right:.4em}.empty:has(>svg.icon){display:flex;text-align:center;flex-direction:column;align-items: center;gap:12px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field-label{font-size:var(--step-small);font-weight:500}.field-hint{color:var(--muted);font-size:var(--step-small)}.field-error{color:var(--danger);font-size:var(--step-small)}.field-error:empty{display:none}input[type=text],input[type=password],input[type=number],input[type=search],input[type=email],input[type=url],select,textarea{min-height:var(--control);background:var(--surface);color:var(--ink);box-shadow:inset 0 -2px 0 var(--line-strong);font:inherit;transition-property:box-shadow,background-color;transition-duration:var(--fast);border:0;border-radius:0;width:100%;padding:10px 14px}.panel input[type=text],.panel input[type=password],.panel input[type=number],.panel input[type=search],.panel input[type=email],.panel input[type=url],.panel select,.panel textarea{background:var(--ground)}input:hover:not(:disabled),select:hover:not(:disabled),textarea:hover:not(:disabled){box-shadow:inset 0 -2px 0 var(--ink)}input:focus-visible{outline:2px solid var(--ink);outline-offset:0;box-shadow:none}select:focus-visible{outline:2px solid var(--ink);outline-offset:0;box-shadow:none}textarea:focus-visible{outline:2px solid var(--ink);outline-offset:0;box-shadow:none}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}input:disabled,select:disabled,textarea:disabled{opacity:.5;cursor:not-allowed}input[readonly]{box-shadow:none}select{appearance:none;cursor:pointer;background-image:linear-gradient(45deg,#0000 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,#0000 50%);background-position:calc(100% - 20px),calc(100% - 14px);background-repeat:no-repeat;background-size:6px 6px;padding-right:40px}textarea{resize:vertical;min-height:96px}input[type=checkbox]{appearance:none;border:2px solid var(--ink);display:inline-grid;cursor:pointer;background:0 0;border-radius:0;flex:none;place-content: center;width:22px;height:22px;margin:0}input[type=checkbox]:before{content:"";background:var(--ink);transition:transform var(--fast)var(--ease);width:10px;height:10px;transform:scale(0)}input[type=checkbox]:checked:before{transform:scale(1)}input[type=radio]{appearance:none;border:2px solid var(--ink);display:inline-grid;cursor:pointer;border-radius:0;flex:none;place-content: center;width:20px;height:20px;margin:0}input[type=radio]:before{content:"";background:var(--ink);transition:transform var(--fast)var(--ease);width:8px;height:8px;transform:scale(0)}input[type=radio]:checked:before{transform:scale(1)}input[type=checkbox][role=switch]{position:relative;background:0 0;border:0;border-radius:0;width:44px;height:24px}input[type=checkbox][role=switch]:before{position:absolute;box-sizing:border-box;border:2px solid var(--ink);transition:background-color var(--fast)var(--ease),border-color var(--fast)var(--ease);background:0 0;border-radius:999px;width:44px;height:24px;margin-top:-12px;top:50%;left:0;transform:none}input[type=checkbox][role=switch]:after{content:"";position:absolute;background:var(--ink);transition:transform var(--fast)var(--ease),background-color var(--fast)var(--ease);border-radius:50%;width:14px;height:14px;margin-top:-7px;top:50%;left:5px}input[type=checkbox][role=switch]:checked:before{background:var(--accent);border-color:var(--accent);transform:none}input[type=checkbox][role=switch]:checked:after{background:var(--accent-ink);transform:translate(20px)}.check-text{display:flex;flex-direction:column;gap:2px}.check{display:flex;min-height:var(--control);cursor:pointer;align-items: center;gap:12px}input[type=range]{appearance:none;height:var(--control);cursor:pointer;background:0 0;width:100%;margin:0}input[type=range]::-webkit-slider-runnable-track{background:var(--line-strong);height:4px}input[type=range]::-moz-range-track{background:var(--line-strong);height:4px}input[type=range]::-moz-range-progress{background:var(--ink);height:4px}input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--ink);border:0;border-radius:0;width:20px;height:20px;margin-top:-8px}input[type=range]::-moz-range-thumb{background:var(--ink);border:0;border-radius:0;width:20px;height:20px}.seg{display:inline-flex;position:relative;background:var(--surface);flex-wrap:wrap;gap:2px;padding:2px}.panel .seg{background:var(--ground)}.seg-option{min-height:var(--control);position:relative;background:0 0;padding:0 14px}.seg-option:hover:not(:disabled){background:var(--surface-2)}.seg-option[aria-checked=true],.seg-option[aria-pressed=true],.seg-option[aria-selected=true]{background:var(--ink);color:var(--ground)}.seg-option[aria-checked=true]:hover:not(:disabled),.seg-option[aria-pressed=true]:hover:not(:disabled),.seg-option[aria-selected=true]:hover:not(:disabled){background:var(--ink)}.seg-indicator{position:absolute;background:var(--ink);pointer-events:none;top:0;left:0}.seg.is-ready .seg-indicator{transition:transform .26s var(--ease),width .26s var(--ease),height .26s var(--ease)}.seg.is-indicated .seg-option[aria-checked=true],.seg.is-indicated .seg-option[aria-checked=true]:hover:not(:disabled){background:0 0}@media (forced-colors:active){.seg-option[aria-checked=true],.seg-option[aria-pressed=true],.seg-option[aria-selected=true],.seg.is-indicated .seg-option[aria-checked=true],.seg-option[aria-checked=true]:hover:not(:disabled),.seg-option[aria-pressed=true]:hover:not(:disabled),.seg-option[aria-selected=true]:hover:not(:disabled),.seg.is-indicated .seg-option[aria-checked=true]:hover:not(:disabled){color:buttontext}.seg-indicator{display:none}[aria-checked=true]:not(:focus-visible){outline:2px solid;outline-offset:-2px}[aria-pressed=true]:not(:focus-visible){outline:2px solid;outline-offset:-2px}[aria-selected=true]:not(:focus-visible){outline:2px solid;outline-offset:-2px}input[type=checkbox][role=switch]{outline:2px solid;outline-offset:-2px}input[type=checkbox][role=switch]:checked{background:highlight}.menu-square{outline:1px solid buttonborder;outline-offset:-1px}:where(button:not(:disabled):not(:focus-visible)){outline:1px solid buttonborder;outline-offset:-1px}}.tabs{display:flex;overflow-x:auto;scrollbar-width:none;box-shadow:inset 0 -1px 0 var(--line);gap:4px}.tab{min-height:var(--control);color:var(--muted);background:0 0;flex:none;padding:0 14px}.tab:hover:not(:disabled){color:var(--ink);background:0 0}.tab[aria-selected=true]{color:var(--ink);box-shadow:inset 0 -3px 0 var(--ink)}.actions{display:flex;flex-wrap:wrap;gap:8px}.chip{display:inline-flex;background:var(--surface-2);color:var(--ink);font-size:var(--step-small);white-space:nowrap;align-items: center;gap:6px;min-height:24px;padding:0 8px;font-weight:500;line-height:1}.chip.accent{background:var(--accent);color:var(--accent-ink)}.chip.ink{background:var(--ink);color:var(--ground)}.avatar{display:inline-grid;background:var(--avatar,var(--surface-3));color:var(--ink);flex:none;place-items: center;width:32px;height:32px;font-weight:500;line-height:1}.avatar.small{width:16px;height:16px;font-size:0}.avatar.is-edged{box-shadow:inset 0 0 0 1px var(--ink)}.key{display:inline-flex;background:var(--ground);box-shadow:inset 0 0 0 2px var(--ink);font-size:var(--step-small);white-space:nowrap;justify-content:center;align-items: center;min-width:28px;min-height:28px;padding:0 8px;font-weight:500}.boxed-list{list-style:none;display:flex;flex-direction:column;gap:8px;padding:0}.boxed-list>li{position:relative;padding-left:22px}.boxed-list>li:before{content:"";position:absolute;background:var(--ink);width:8px;height:8px;top:.5em;left:2px}table.data{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}table.data th{color:var(--muted);font-size:var(--step-small);text-align:left;border-bottom:1px solid var(--line-strong);padding:8px 12px;font-weight:500}table.data td{border-bottom:1px solid var(--line);padding:12px}table.data .r{text-align:right}.meter{background:var(--surface-2);height:12px}.meter>span{display:block;background:var(--ink);transition:width .6s var(--ease);height:100%}.empty{color:var(--muted);padding:32px 0}.mark{display:inline-block;background:var(--brand-tile);position:relative;flex:none;width:28px;height:28px}.mark:after{content:"";position:absolute;background:var(--brand);transform:rotate(var(--tilt));inset:20%}.wordmark{display:inline-flex;letter-spacing:-.05em;color:var(--ink);text-decoration:none;align-items: center;gap:10px;font-size:1.375rem;font-weight:500;line-height:1}.loader{display:inline-block;background:var(--ink);animation:box-tip .9s var(--ease)infinite;transform-origin:100% 100%;width:18px;height:18px}.loader.accent{background:var(--accent)}@keyframes box-tip{0%{transform:translate(-100%)rotate(0)}60%,to{transform:translate(-100%)rotate(90deg)}}.loading-line{display:flex;color:var(--muted);align-items: center;gap:16px}#toasts{overflow:visible;color:inherit;position:fixed;inset:auto auto auto 50%;bottom:calc(var(--toast-clear,0px) + 24px + env(safe-area-inset-bottom));z-index:6;display:flex;pointer-events:none;background:0 0;border:0;flex-direction:column;align-items: center;gap:8px;width:min(100vw - 32px,460px);max-width:none;max-height:none;margin:0;padding:0;transform:translate(-50%)}.toast{background:var(--ink);color:var(--ground);box-shadow:var(--float-shadow);overflow-wrap:anywhere;animation:appear .2s var(--ease);max-width:100%;padding:12px 16px}.toast-error{background:var(--danger);color:var(--danger-ink)}dialog.modal{background:var(--ground);color:var(--ink);box-shadow:var(--float-shadow);overflow:hidden;border:0;border-radius:0;width:min(100vw - 32px,520px);max-height:calc(100dvh - 32px);padding:0}dialog.modal::backdrop{background:var(--scrim)}dialog.modal[open]{display:flex;animation:appear .18s var(--ease);flex-direction:column}dialog.modal.is-closing{display:block;position:fixed;z-index:100;pointer-events:none;box-shadow:var(--float-shadow),0 0 0 100vmax var(--scrim);animation:modal-out .14s var(--ease)both;height:-moz-fit-content;height:fit-content;margin:auto;inset:0}dialog.modal[open]::backdrop{animation:fade-in .18s var(--ease)}@keyframes modal-out{to{opacity:0;transform:translateY(8px)scale(.98)}}@keyframes fade-in{0%{opacity:0}}@keyframes fade-out{to{opacity:0}}dialog.modal:focus{outline:none}.modal-head{flex:none;min-width:0;padding:24px 24px 0}.modal-head h2{overflow-wrap:break-word;min-width:0}.modal-body{overflow-y:auto;display:flex;flex-direction:column;flex:auto;gap:16px;min-height:0;padding:16px 24px}.modal-actions{display:flex;flex-wrap:wrap;flex:none;justify-content:flex-end;gap:8px;padding:0 min(24px,8vw) 24px}.reconnect-banner{position:fixed;top:calc(12px + env(safe-area-inset-top));z-index:5;display:flex;background:var(--ink);color:var(--ground);box-shadow:var(--float-shadow);flex-wrap:wrap;align-items: center;gap:12px;width:max-content;max-width:calc(100% - 24px);margin-inline-start:auto;margin-inline-end:auto;padding:8px 8px 8px 16px;left:0;right:0}.reconnect-banner button{min-height:var(--control);background:var(--accent);color:var(--accent-ink)}#boot{position:fixed;z-index:7;display:grid;background:var(--ground);transition:opacity .18s var(--ease);place-items: center;inset:0}#boot.is-leaving{opacity:0}.boot-stack{display:flex;flex-direction:column;align-items: center;gap:28px}.boot-mark{animation:appear .36s var(--ease)both;width:56px;height:56px}@keyframes appear{0%{opacity:0}}.enter>*{animation:appear .22s var(--ease)both}.enter>:nth-child(2){animation-delay:20ms}.enter>:nth-child(3){animation-delay:40ms}.enter>:nth-child(4){animation-delay:60ms}.enter>:nth-child(n+5){animation-delay:80ms}.screen-in{animation:screen-in .24s var(--ease)both}#ui>.screen-out{position:absolute;z-index:1;animation:screen-out .16s var(--ease)both;left:0;right:0;pointer-events:none!important}@keyframes screen-in{0%{opacity:0}}@keyframes screen-out{to{opacity:0}}.toast.is-leaving{animation:toast-out .16s var(--ease)both}@keyframes toast-out{to{opacity:0;transform:translateY(8px)}}:root[data-motion=reduce] *,:root[data-motion=reduce] *:before,:root[data-motion=reduce] *:after{animation-duration:.001ms!important;animation-delay:0s!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}:root[data-motion=reduce] .loader{animation:none}@media (max-width:600px){:root{--control:48px}.page{gap:24px}.page-head{min-height:60px}.panel{margin-inline:calc(var(--margin)*-1);padding:20px 16px}button.big{min-height:60px}}@media (pointer:coarse){:root{--control:48px}input[type=checkbox][role=switch]{height:44px}}.sound-captions{position:fixed;z-index:60;color:#fff;pointer-events:none;background:#000000b8;border-radius:6px;max-width:min(90vw,36rem);padding:4px 12px;font-size:.95rem;bottom:12px;left:50%;transform:translate(-50%)}.sound-captions[hidden]{display:none}.info-grid{display:grid;grid-template-columns:minmax(0,1.25fr)minmax(0,1fr);align-items: start;gap:56px}.info-main,.info-credits,.doc{overflow-wrap:anywhere}.info-main{display:grid;font-size:var(--step-body);gap:18px;line-height:1.55}.info-lead{font-size:var(--step-lead);margin:0;line-height:1.4}.info-main p{margin:0}.info-links{display:grid;list-style:none;gap:6px;margin:0;padding:0}.info-actions{display:flex;gap:var(--gap);flex-wrap:wrap}.info-credits{display:grid;background:var(--surface);font-size:var(--step-small);align-content: start;gap:16px;padding:24px;line-height:1.5}.info-credits h2{font-size:var(--step-lead);margin:0;font-weight:500}.info-credits .boxed-list{list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0;padding:0}.info-credits strong{font-weight:500}.privacy{--page-column:44rem}.doc{display:grid;font-size:var(--step-body);gap:36px;max-width:44rem;line-height:1.6}.doc-section{display:grid;gap:12px}.doc-section h2{font-size:var(--step-lead);margin:0;font-weight:500}.doc-section p{margin:0}@media (max-width:600px){.info-grid{grid-template-columns:minmax(0,1fr);gap:32px}}dialog.modal.profile-dialog{width:min(100vw - 32px,480px)}dialog.modal.profile-dialog .modal-body{padding-bottom:40px}.profile{display:grid;gap:24px;min-width:0}.profile-head{display:flex;align-items: center;gap:16px;min-width:0}.profile-head .avatar{width:64px;height:64px;font-size:1.75rem}.profile-id{display:grid;flex:1;gap:8px;min-width:0}.profile-name{overflow-wrap:anywhere;margin:0;font-size:1.375rem;font-weight:600;line-height:1.2}.profile-level{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-weight:600}.profile-xp{color:var(--muted);text-align:right;margin:0;font-size:.8125rem}.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 12px;margin:0}.profile-stat{display:grid;justify-items:start;gap:2px;min-width:0}.profile-stat-icon{display:inline-flex;color:var(--accent);margin-bottom:4px}.profile-stat .num{white-space:nowrap;font-size:1.5rem;font-weight:600;line-height:1.3}.profile-stat-label{color:var(--muted);font-size:.8125rem}.profile-facts{display:flex;list-style:none;color:var(--muted);flex-wrap:wrap;gap:8px 20px;margin:0;padding:0;font-size:.875rem}.profile-facts li{display:inline-flex;align-items: center;gap:6px}.profile-maps h3{margin:0 0 4px;font-size:.9375rem;font-weight:600}.profile-maps ul{list-style:none;margin:0;padding:0}.profile-maps li{display:flex;border-top:1px solid var(--line);justify-content:space-between;align-items: center;gap:12px;padding:10px 0}.profile-map-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.profile-map-name>svg.icon{vertical-align:-2px;margin-right:6px}.profile-map-figs{display:flex;color:var(--muted);flex:none;gap:16px;font-size:.8125rem}.profile-map-figs .num{color:var(--ink);font-weight:600}.profile-status{display:flex;color:var(--muted);flex-wrap:wrap;align-items: center;gap:12px;margin:0;padding:24px 0}@media (max-width:380px){.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-height:640px){.profile{gap:16px}.profile-stats{gap:14px 12px}.profile-stat .num{font-size:1.25rem}.profile-stat-icon{display:none}}.engine-status{display:flex;flex-wrap:wrap;align-items: center;gap:8px 12px}.engine-status[hidden]{display:none}.engine-status-bar{flex:160px;min-width:120px;height:8px}.practice-page .page-inner>*{width:100%;max-width:1040px;margin-inline-start:auto;margin-inline-end:auto}.practice-grid{display:grid;grid-template-columns:minmax(0,1fr)minmax(300px,380px);align-items: start;gap:32px}.practice-maps{grid-column:1;grid-row:1/span 2}.practice-side{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:16px}.practice-actions{grid-column:2;grid-row:2;display:flex;flex-direction:column;gap:12px}.practice-actions>.offline-status,.practice-actions>.offline-error{margin:0}.practice-page .offline-error summary{display:flex;cursor:pointer;align-items: center;min-height:48px}.practice-page .offline-list{display:flex;flex-direction:column;gap:4px}.practice-page .offline-list>p{margin:0;padding:12px 0}.practice-page .offline-choice{background:var(--surface);color:var(--ink);font-size:var(--step-lead);text-align:left;overflow-wrap:anywhere;flex-direction:row;justify-content:flex-start;align-items: center;gap:12px;width:100%;min-height:56px;padding:8px 20px;font-weight:500}.practice-page .offline-choice:hover:not(:disabled){background:var(--surface-2)}.practice-page .offline-choice[aria-pressed=true],.practice-page .offline-choice[aria-pressed=true]:hover:not(:disabled),.practice-page .offline-choice[aria-current=true]{background:var(--ink);color:var(--ground)}.practice-choice-note{font-size:var(--step-small);color:var(--muted);flex:none;margin-left:auto;font-weight:400}.practice-page .offline-choice[aria-current=true] .practice-choice-note{color:var(--ground)}.practice-code{display:flex;align-items: flex-end;gap:8px}.practice-code>.field{flex:1;min-width:0}.practice-code>button{min-height:var(--control);flex:none}.practice-side .seg{display:flex;width:100%}.practice-side .seg-option{min-height:var(--control);flex:1}@media (max-width:600px),(max-height:500px) and (orientation:landscape){.practice-page{gap:0;height:100%;padding-bottom:0}.practice-page>.page-head{flex:none}.practice-page>.page-inner{overflow-y:auto;flex:auto;min-height:0;padding-bottom:24px}.practice-actions{margin:0 calc(-1*var(--margin));padding:12px var(--margin)calc(16px + env(safe-area-inset-bottom));background:var(--ground);flex:none}}@media (max-width:600px){.practice-grid{grid-template-columns:minmax(0,1fr);gap:24px}.practice-maps,.practice-side,.practice-actions{grid-column:1;grid-row:auto}.practice-page .offline-choice{font-size:var(--step-body);min-height:52px}}.replay-page .page-inner>*{width:100%;max-width:720px;margin-inline-start:auto;margin-inline-end:auto}.replay-drop{position:relative;display:flex;background:var(--surface);color:var(--ink);text-align:center;cursor:pointer;flex-direction:column;justify-content:center;align-items: center;gap:12px;min-height:240px;padding:32px 24px}.replay-drop:hover{background:var(--surface-2)}.replay-drop.drag-over{background:var(--surface-3);box-shadow:inset 0 0 0 2px var(--ink)}.replay-drop:focus-within{outline:2px solid var(--ink);outline-offset:3px}.replay-drop input[type=file]{position:absolute;opacity:0;overflow:hidden;pointer-events:none;width:1px;height:1px}.replay-drop-mark{display:grid;background:var(--surface-3);color:var(--ink);place-items: center;width:56px;height:56px}.replay-drop strong{font-size:var(--step-lead);font-weight:600}.replay-drop-hint{color:var(--muted);font-size:var(--step-small)}.replay-dock{padding:16px var(--margin)calc(16px + env(safe-area-inset-bottom));gap:14px}@media (min-width:1200px){.replay-dock{padding-block:10px calc(10px + env(safe-area-inset-bottom));flex-direction:row;align-items: center;width:min(100%,1200px)}.replay-transport{flex:1}.replay-controls{flex-wrap:nowrap;flex:none}}.replay-transport{display:flex;align-items: center;gap:12px;min-width:0}.replay-play{min-height:var(--control);font-size:var(--step-lead);flex:none;min-width:112px}.replay-transport input[type=range]{touch-action:none;flex:1;min-width:0}.replay-time{text-align:right;white-space:nowrap;font-size:var(--step-small);font-variant-numeric:tabular-nums;flex:none;min-width:15ch}.replay-view .replay-panel-toggle{display:inline-flex;align-items: center;gap:6px}.replay-view .replay-more,.replay-view .replay-board{display:none}.replay-view.scores-open .replay-board{display:block}.replay-controls{display:flex;flex-wrap:wrap;justify-content:space-between;align-items: center;gap:12px}.replay-step{display:flex;flex-wrap:wrap;gap:8px}.replay-step button{min-height:var(--control);padding:0 14px}.replay-controls .seg-option{min-height:var(--control)}.replay-controls .seg-indicator{background:var(--hud-ink)}.replay-controls .seg-option[aria-checked=true],.replay-controls .seg-option[aria-checked=true]:hover:not(:disabled){background:var(--hud-ink);color:var(--hud-solid)}@media (max-width:600px){.replay-dock{gap:12px}.replay-transport{flex-wrap:wrap}.replay-transport input[type=range]{height:var(--control);flex-basis:100%;order:3}.replay-time{margin-left:auto}.replay-controls{flex-direction:column;align-items:stretch}.replay-step{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.replay-step button{padding:0 6px}.replay-controls .seg{display:flex;width:100%}.replay-controls .seg-option{flex:1}.replay-view .offline-top{flex-wrap:wrap}.replay-view .offline-title{flex:1 0 100%;order:3}}#ui>.offline.playing.replay-view{padding-left:calc(env(safe-area-inset-left,0px) + 16px);padding-right:calc(env(safe-area-inset-right,0px) + 16px)}.replay-view .offline-title{font:inherit;letter-spacing:normal;text-wrap:wrap;overflow:visible;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;height:auto;min-height:44px;padding:10px 12px;font-weight:500}@media (pointer:coarse),(max-width:600px){.replay-view button,.replay-view select,.replay-view input[type=range],.replay-controls .seg-option{min-height:48px}.replay-controls .seg-option{min-width:48px}}.replay-head{position:relative;min-width:0}.replay-head>.replay-board{position:absolute;pointer-events:none;width:min(560px,100% - 32px);top:calc(100% + 8px);left:50%;transform:translate(-50%)}.replay-board .hud-scores{position:static;width:auto;transform:none}@media (max-width:600px){.replay-head>.replay-board{width:100%;left:0;transform:none}.replay-board .hud-scores{padding:6px 8px}.replay-board .hud-table th,.replay-board .hud-table td{padding:4px}.replay-board .hud-table th{white-space:normal}}@media (max-width:600px) and (orientation:portrait){#ui>.offline.playing.replay-view{overflow-y:auto}.replay-head>.replay-board{position:static;margin-top:8px}}@media (max-height:500px) and (orientation:landscape){.replay-dock{gap:6px}.replay-transport{flex-wrap:nowrap}.replay-transport input[type=range]{flex-basis:auto;order:0}.replay-controls{flex-direction:row;align-items: center}.replay-step{display:flex}.replay-step button{padding:0 6px}.replay-controls .seg{width:auto}.replay-head>.replay-board{width:auto;top:calc(100% + 4px);left:0;right:0;transform:none}.replay-view .offline-top{flex-wrap:nowrap}.replay-view .offline-title{flex:auto;order:0;min-width:0;padding:4px 8px}.replay-step button{min-width:48px}}@media (pointer:coarse) and (max-width:600px),(pointer:coarse) and (max-height:600px){.replay-view .replay-more{display:inline-flex}.replay-view .replay-controls{display:none}.replay-view.more-open .replay-controls{display:flex}.replay-view .replay-play{position:relative;min-width:48px;padding:0 12px}.replay-play-label{position:absolute;overflow:hidden;clip-path:inset(50%);white-space:nowrap;width:1px;height:1px}.replay-transport{flex-wrap:nowrap}.replay-transport input[type=range]{flex-basis:auto;order:0}.replay-time{display:flex;flex-direction:column;align-items: flex-end;min-width:8ch;line-height:1.25}.replay-sep,.replay-tick{display:none}.replay-total:before{content:"/ "}}
