@charset "UTF-8";.selection-track-preview{display:grid;grid-template-columns:minmax(260px,.95fr) minmax(0,1.3fr);align-items:center;gap:24px;margin:20px 0 24px;padding:18px 22px;border:2px solid var(--ink);border-radius:12px;background:var(--paper);box-shadow:3px 4px 0 var(--ink)}.selection-track-map{min-width:0;padding:8px;border:1px solid #c0cdb2;border-radius:8px;background:#edf2df}.selection-track-map>.track-thumbnail{display:block;width:100%;height:auto}.selection-track-copy{min-width:0}.selection-track-kicker{font-size:11px;font-weight:800;color:#4d6351;letter-spacing:.5px}.selection-track-copy h2{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;margin:5px 0 7px;font-size:21px;line-height:1.4}.selection-track-copy h2 small{font-size:11px;font-weight:600;color:#5e6754}.selection-track-description{font-size:12px;line-height:1.8}.selection-track-corners{font-size:10px;color:#52654c;margin-top:7px;line-height:1.7}.selection-track-legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:11px;font-size:10px;line-height:1.6}.selection-track-legend>span{display:inline-flex;align-items:center;gap:5px}.selection-track-legend b{display:inline-flex;align-items:center;justify-content:center;min-width:18px;min-height:18px;padding:0 3px;border:1px solid #567966;border-radius:3px;background:#e4d77c;color:#173f37;font-size:10px;line-height:1.4}.selection-track-legend .preview-start{background:#edb65e}.selection-track-legend .preview-finish{background:#db785b}.selection-track-legend .preview-twist{background:#7850a2;color:#fff8df}.selection-track-legend .preview-bridge{background:#78967d;color:#fff9db;border:2px solid #fff9db;outline:1px solid #78967d}@media(max-width:800px){.selection-track-preview{grid-template-columns:minmax(220px,.9fr) minmax(0,1fr);padding:16px;gap:17px}.selection-track-copy h2{font-size:18px}.selection-track-description{font-size:11px}}@media(max-width:650px){.selection-track-preview{grid-template-columns:1fr;gap:13px;padding:14px;margin:16px 0 20px;border-radius:9px;box-shadow:2px 3px 0 var(--ink)}.selection-track-map{width:100%;max-width:440px;justify-self:center;padding:8px}.selection-track-copy h2{font-size:18px;margin-top:3px}.selection-track-kicker,.selection-track-copy h2 small{font-size:10px}.selection-track-description{font-size:11px}.selection-track-legend{gap:6px 12px;margin-top:10px}.selection-track-corners{margin-top:5px}}.room-pause-control{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 14px;border:1px solid #a67c31;border-radius:13px;background:#fff0bc;color:#4c3b1b;font-size:12px;font-weight:900;white-space:nowrap;box-shadow:0 3px 12px #23494112;cursor:pointer}.room-pause-control:hover:not(:disabled){background:#ffe298}.room-pause-control.is-paused{background:#285e54;border-color:#285e54;color:#fff9e7}.room-pause-control:disabled{opacity:.55;cursor:default}.room-pause-control>span{font-size:16px}.room-pause-hint{display:inline-flex;align-items:center;min-height:44px;padding:6px 10px;border-radius:10px;background:#fff0bce8;color:#59451e;font-size:11px;font-weight:800;white-space:nowrap;pointer-events:auto}.room-pause-control.is-paused:hover:not(:disabled){background:#34796c}.room-pause-notice{display:flex;align-items:center;justify-content:center;gap:16px;margin:12px auto 20px;padding:17px 23px;max-width:560px;border:2px solid #bb8a2c;border-radius:16px;background:#fff3cd;color:#4c3b1b;box-shadow:0 6px 24px #523c191c}.pause-notice-symbol{font-size:32px;font-weight:900}.room-pause-notice strong{font-size:19px}.room-pause-notice p{font-size:13px;line-height:1.6;margin:5px 0 0}.room-pause-notice.is-immersive{position:fixed;z-index:70;top:max(84px,calc(env(safe-area-inset-top) + 70px));left:50%;transform:translate(-50%);width:min(450px,calc(100% - 28px));margin:0;pointer-events:none}html[data-match-paused=true] .immersive-race *,html[data-match-paused=true] .immersive-race *:before,html[data-match-paused=true] .immersive-race *:after{animation-play-state:paused!important}@media(max-width:650px){.room-pause-control{min-height:44px;padding:9px;font-size:11px;gap:5px}.room-pause-hint{font-size:10px;padding:6px}.room-pause-notice{padding:13px 15px;gap:12px}.room-pause-notice strong{font-size:16px}.room-pause-notice p{font-size:12px}.room-pause-notice.is-immersive{top:max(100px,calc(env(safe-area-inset-top) + 86px));max-width:370px}.race-hud-top:has(.room-pause-control) .race-match-label,.race-hud-top:has(.room-pause-hint) .race-match-label{max-width:calc(100vw - 260px)}}@media(max-width:360px){.race-hud-top:has(.room-pause-control) .race-match-label,.race-hud-top:has(.room-pause-hint) .race-match-label{max-width:none}.room-pause-notice.is-immersive{top:112px}}@media(max-height:500px)and (min-width:650px){.room-pause-notice.is-immersive{top:74px;padding:10px 16px;width:380px}.room-pause-notice p{font-size:11px}.room-pause-notice strong{font-size:16px}}@media(max-width:650px){.race-hud-top:has(.room-pause-control) .race-match-label,.race-hud-top:has(.room-pause-hint) .race-match-label{position:absolute;top:48px;left:2px;max-width:210px;flex-direction:row;align-items:center;gap:8px;padding-top:0}.race-hud-top .race-match-label>strong>span{display:none}.room-pause-notice.is-immersive{top:max(116px,calc(env(safe-area-inset-top) + 102px))}}.room-pause-actions{display:inline-flex;align-items:center;gap:10px;max-width:100%;pointer-events:auto}.room-pause-description{display:grid;gap:2px;color:#4c3b1b;font-size:11px;font-weight:700;line-height:1.5}.room-pause-description>span{white-space:nowrap}.race-hud-top .room-pause-description{padding:6px 10px;border:1px solid #a67c3140;border-radius:10px;background:#fffaf0f2}@media(max-width:650px){.room-actions .room-pause-actions{margin-right:auto}.room-pause-description{font-size:10px}.race-hud-top .room-pause-actions{display:contents}.race-hud-top .room-pause-description{position:absolute;top:50px;left:0;gap:1px;padding:5px 8px}.race-hud-top:has(.room-pause-description) .race-match-label{top:94px}.immersive-race:has(.room-pause-description) .scene-camera-toolbar{top:116px}.immersive-race:has(.room-pause-description) .race-status-stack{top:calc(max(10px,env(safe-area-inset-top)) + 152px)}.room-pause-notice.is-immersive.is-host{top:max(208px,calc(env(safe-area-inset-top) + 194px))}}.seat-kick{flex-shrink:0;min-height:44px;padding:5px 8px;border:1px solid #a94338;border-radius:7px;background:#fff7ed;color:#8e302b;font-size:11px;font-weight:800;cursor:pointer}.seat-kick:hover:not(:disabled){background:#ffe3d8}.seat-kick:disabled{opacity:.5;cursor:default}.seat:has(.seat-kick)>div{min-width:0;overflow-wrap:anywhere}@media(max-width:650px){.end-room-confirm .leave-room-options{grid-template-columns:1fr}}.room-config-fields{grid-column:1/-1;min-width:0;color:#25464c}.room-config-fields fieldset{border:1px solid #b3c4b2;border-radius:12px;padding:16px;min-width:0;margin:0;background:#f8f9f0}.room-config-fields legend{font-size:15px;font-weight:800;padding:0 7px}.config-intro{font-size:12px;line-height:1.7;color:#607864;margin:0 0 12px}.pack-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pack-option{border:1px solid #cbd5c2;border-radius:9px;padding:12px;background:#fffdf6;min-width:0}.pack-option:has(input:checked){border-color:#507862;background:#eaf1df}.entry-panel .pack-option label,.pack-option label{display:flex;flex-direction:row;align-items:center;gap:9px;font-size:13px;margin:0;cursor:pointer}.entry-panel .pack-option input,.pack-option input{flex:none;width:19px;height:19px;min-height:0;padding:0;margin:0;accent-color:#426c5c}.pack-option label>span{min-width:0;flex:1}.pack-option strong{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;font-size:13px}.pack-option strong b{font-size:10px;font-weight:500;white-space:nowrap}.pack-option small{display:block;font-size:10px;margin-top:5px;color:#61775d}.pack-option p{font-size:11px;line-height:1.7;margin:9px 0 0;color:#5d735f}.pack-option a{color:#3d6756;text-underline-offset:2px}.pack-option.is-unavailable{opacity:.65}.optional-rules{margin-top:14px;font-size:11px;line-height:1.8}.optional-rules summary{cursor:pointer;font-size:12px;font-weight:700}.optional-rules p{margin-top:7px}.config-total{font-size:11px;font-weight:700;margin:12px 0 0;color:#426c5c}.room-config-panel{border:1px solid #b7c7ad;border-radius:10px;background:#f8f9ef;padding:14px;margin:12px 0 20px;font-size:12px;line-height:1.7;min-width:0}.room-config-panel>summary{cursor:pointer}.room-config-panel>summary>strong{font-size:13px}.room-config-panel>summary>span{display:block;color:#607961;margin-top:4px}.room-config-panel>small{display:block;margin-top:10px;color:#607961;overflow-wrap:anywhere}.room-config-panel .room-config-fields{margin-top:14px}.room-config-panel .room-config-fields fieldset{padding:12px}.config-actions{display:flex;align-items:center;gap:12px;margin-top:12px}.config-actions .button{font-size:12px;padding:10px 16px;white-space:nowrap}.config-actions p{font-size:11px;color:#63765d}.room-capacity{font-size:12px;color:#426c5c;margin-top:6px;font-weight:700}.room-capacity.is-full{color:#a9472f}.edition-badge.extra-mile,.edition-badge.leaf{color:#8c542c;border-color:#dfbf9e;background:#fff0dc}@media(max-width:650px){.pack-options{grid-template-columns:1fr}.room-config-fields fieldset{padding:12px}.pack-option{padding:10px}.config-actions{align-items:stretch;flex-direction:column}.room-config-panel{padding:12px}.room-config-panel .pack-options{gap:7px}}.avatar.fan-avatar{display:block;object-fit:contain;border-radius:50%;flex-shrink:0}.choice-operator{display:block;font-size:12px;font-weight:700;color:#426c5c;margin:5px 0 8px}.event-log li>div{min-width:0}.event-log li small{font-size:10px;color:#607961;overflow-wrap:anywhere}.event-log-actions .text-button{font-size:12px}.room-config-fields{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:22px;align-items:start}.config-main{min-width:0;display:grid;gap:24px}.config-main fieldset{padding:20px}.config-main legend{font-size:18px}.config-main h3{margin:24px 0 12px;font-size:16px}.preset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.preset-card{background:#fffdf6;border:2px solid #c2cdbb;border-radius:14px;overflow:hidden;min-width:0;display:flex;flex-direction:column}.preset-card.is-selected{border-color:#387257;box-shadow:0 3px #387257}.preset-select{border:0!important;background:none!important;padding:16px!important;text-align:left;width:100%;flex:1;white-space:normal!important;color:inherit}.preset-select strong{display:block;font-size:21px;margin:10px 0}.preset-select small{font-size:11px}.preset-select p{font-size:12px;line-height:1.7}.preset-select:disabled{opacity:.65;cursor:not-allowed}.edit-preset{font-size:12px!important;padding:12px!important;align-self:flex-start}.custom-schedule{margin:24px 0 12px;padding:15px;border:1px dashed #73947e;border-radius:10px}.custom-schedule summary,.source-details summary,.config-summary summary{cursor:pointer;font-weight:700}.custom-schedule label{margin-top:16px}.custom-schedule p,.project-rule{font-size:12px;line-height:1.8}.rotation-list{list-style:none;padding:0;display:grid;gap:8px}.rotation-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fffdf6;border-radius:8px;padding:10px;font-size:13px}.rotation-list li>span{overflow-wrap:anywhere}.rotation-list li>div{display:flex;gap:4px;flex-shrink:0}.rotation-list button,.map-options button{border:1px solid #8aa18a;background:#fffdf5;border-radius:6px;padding:7px 10px;color:#294b3d;cursor:pointer;min-height:38px}.rotation-list button:disabled{opacity:.35}.map-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.map-options>div{background:#e7eedc;border-radius:10px;padding:12px}.map-options strong{font-size:13px}.track-thumbnail{width:100%;height:auto;display:block}.map-options button{font-size:12px;width:100%}.schedule-preview{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.schedule-preview li{display:flex;gap:10px;align-items:center;border-bottom:1px solid #ced7c7;padding:12px 4px;min-width:0}.race-number{background:#4c795e;color:#fff;border-radius:50%;width:27px;height:27px;flex-shrink:0;display:grid;place-items:center;font-weight:800;font-size:12px}.schedule-preview strong{font-size:13px;overflow-wrap:anywhere}.schedule-preview small{display:block;font-size:10px;color:#6d7f69;margin-top:4px}.race-rewards{margin-left:auto;font-size:10px;white-space:nowrap;line-height:1.7}.race-rewards b{color:#815b22;font-size:13px}.source-details{font-size:11px;line-height:1.8;margin-top:14px}.config-summary{position:sticky;top:20px;border:2px solid #668772;background:#eaf0dc;padding:20px;border-radius:16px;min-width:0;font-size:12px;line-height:1.8}.config-summary h3{font-size:21px;margin:0 0 18px}.config-summary .summary-line{font-size:15px;font-weight:750;color:#294f3e}.config-summary .schedule-preview{grid-template-columns:1fr}.config-summary details{margin-top:18px}.config-summary .form-error{font-size:12px;white-space:normal;overflow-wrap:anywhere}.config-main fieldset>p{line-height:1.8;font-size:12px}.entry-panel.configuring{grid-column:1/-1}.entry-panel.configuring form{max-width:none}.entry-panel.configuring .room-config-fields{grid-column:1/-1}.home-intro{padding:24px;text-align:center;font-size:14px;line-height:1.8}.setup-back{margin:10px 0 24px}.home .entry-tabs{flex-wrap:wrap}.configuring form>.button{padding-bottom:max(15px,env(safe-area-inset-bottom))}.room-config-panel .room-config-fields{grid-template-columns:minmax(0,1fr)}.room-config-panel .config-summary{position:static}@media(max-width:1000px){.room-config-fields{grid-template-columns:minmax(0,1fr)}.config-summary{position:static}.config-summary h3,.preset-select strong{font-size:18px}}@media(max-width:650px){.preset-grid,.map-options,.schedule-preview{grid-template-columns:minmax(0,1fr)}.preset-select{padding:14px!important}.preset-select strong{font-size:22px;margin:6px 0}.preset-select p{margin:0}.config-main fieldset{padding:14px}.config-main{gap:20px}.config-summary{padding:16px}.rotation-list li{flex-wrap:wrap}.rotation-list li>div{margin-left:auto}.entry-tabs button,.config-actions .button{white-space:normal}.room-config-fields{gap:16px}}.entry-panel.configuring{grid-template-columns:1fr}.configuring .entry-tabs{flex-direction:row;padding:8px 14px;gap:0}.configuring .entry-tabs button{border-left:0;border-bottom:4px solid transparent;font-size:14px;padding:14px}.configuring .entry-tabs button[aria-selected=true]{border-bottom-color:var(--red);margin:0}.entry-panel.configuring form{grid-template-columns:1fr 1fr;padding:28px;align-items:start}.entry-panel.configuring form>.button{grid-column:1/-1;grid-row:auto;justify-self:end;min-width:260px}.entry-panel.configuring .form-note,.setup-back{grid-column:1/-1}.score-audit{margin:24px 0;max-width:100%;overflow-x:auto;text-align:left;font-size:12px}.score-audit summary{cursor:pointer;font-weight:800}.score-audit h3{margin:14px 0 8px}.score-audit table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}.score-audit th,.score-audit td{padding:10px 5px;border-bottom:1px solid #c4cfb8;text-align:left}.score-audit th:first-child{max-width:150px;overflow-wrap:anywhere}@media(max-width:650px){.entry-panel.configuring form{grid-template-columns:1fr;padding:16px}.configuring .entry-tabs{gap:0;padding:4px}.configuring .entry-tabs button{font-size:12px;padding:12px 8px;flex:1 1 30%}.entry-panel.configuring form>.button{justify-self:stretch;min-width:0}.configuring .form-split{grid-template-columns:1fr}.score-audit th,.score-audit td{padding:8px 3px;font-size:11px}}.config-summary>summary{font-size:17px;margin-bottom:12px}.room-config-panel>summary>small{display:block;color:#607961;overflow-wrap:anywhere;margin-top:4px}.event-rounds{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.special-event-settings .event-toggle,.special-event-settings .event-rounds label{display:flex;flex-direction:row;align-items:center;gap:8px}.special-event-settings input{width:18px!important;min-height:18px!important;accent-color:#3a6f50;flex-shrink:0}.event-instructions{padding-left:20px;font-size:12px;line-height:1.8}.event-instructions li+li{margin-top:6px}.event-status{padding:10px 12px;background:#eaf0dc;border-radius:8px;font-weight:700}.three-player-mode{padding:24px;line-height:1.8}.three-player-mode>p{margin:0 0 18px}.three-player-mode fieldset{border:0;padding:0;margin:0}.three-player-mode legend{font-weight:800;margin-bottom:10px}.three-player-mode label{display:flex;gap:12px;align-items:flex-start;border:2px solid var(--ink);border-radius:10px;padding:16px;margin-bottom:12px;cursor:pointer}.three-player-mode label:has(input:checked){background:#eaf0dc;border-color:#3a6f50}.three-player-mode input{margin-top:7px;accent-color:#3a6f50;flex-shrink:0}.three-player-mode strong,.three-player-mode small{display:block}.three-player-mode small{font-size:13px}.three-player-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:20px}.three-player-actions .button{min-height:46px}@media(max-width:650px){.three-player-mode{padding:18px;font-size:14px}.three-player-mode label{padding:12px}.three-player-actions{flex-direction:column}.three-player-actions .button{width:100%}}.ability-reveal-card{position:absolute;z-index:29;left:50%;top:24%;transform:translate(-50%);width:min(420px,calc(100% - 28px));max-height:60dvh;overflow:auto;background:#fff9e9f5;border:2px solid #d3a137;border-radius:20px;box-shadow:0 14px 38px #274d3c30;color:#254f48;padding:18px;pointer-events:auto}.ability-reveal-heading{display:flex;align-items:center;gap:12px}.ability-reveal-heading>span{font-size:34px;color:#d39c25}.ability-reveal-heading small{font-size:12px;font-weight:800}.ability-reveal-heading h2{font-size:23px;margin:3px 0 9px}.ability-reveal-card>p{font-size:12px;line-height:1.6;margin:8px 0}.ability-reveal-powers{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0 12px}.ability-reveal-powers button{display:flex;align-items:center;gap:7px;border:1px solid #dec68d;border-radius:12px;padding:6px 10px 6px 6px;background:#fffdf7;color:#254f48;font:inherit;font-size:14px;min-height:44px}.ability-reveal-powers .avatar{width:38px;height:38px;flex:none}.ability-reveal-powers button>svg,.ability-reveal-powers button>img{width:38px;height:38px;object-fit:contain}.ability-reveal-detail{border:0;background:transparent;color:#4d6e63;padding:8px 0 0;font-size:12px;text-align:left;min-height:38px}.ability-reveal-private strong{font-size:25px;color:#ab751b}@media(max-width:650px){.ability-reveal-card{top:max(242px,29dvh);padding:14px;max-height:48dvh}.ability-reveal-heading h2{font-size:20px}.ability-reveal-heading small{font-size:11px}}.character-avatar-detail{height:170px;background:#b5d66b;display:flex;align-items:center;justify-content:center;position:relative;border:0;border-bottom:2px solid var(--ink);width:100%;padding:12px}.character-card:nth-child(4n+2) .character-avatar-detail{background:var(--pink)}.character-card:nth-child(4n+3) .character-avatar-detail{background:#9db7fb}.character-card:nth-child(4n+4) .character-avatar-detail{background:var(--yellow)}.character-avatar-detail .avatar{height:145px;width:145px;transition:transform .15s}.character-avatar-detail:hover .avatar{transform:rotate(-5deg) scale(1.04)}.character-card:nth-child(n) .character-art.character-pick{height:auto;min-height:40px;padding:9px 12px;margin-top:12px;background:var(--blue);color:var(--paper);border:0;border-radius:7px;font-size:12px;font-weight:800}.character-card:nth-child(n) .character-art.character-pick:disabled{background:#e1dfd3;color:#78796d}.character-owner-note,.character-ownership{font-size:12px;line-height:1.7}.character-ownership{margin:18px 0;padding:14px;background:#fff2c9;border:1px solid #cbbb84;border-radius:10px}.character-ownership h3{margin-top:0}.character-ownership small{font-size:11px;color:#616c58}.character-instances{display:grid;gap:8px}.character-instances>button{display:grid;gap:4px;text-align:left;background:#fffdf4;border:1px solid #c3c8aa;border-radius:8px;padding:11px;color:inherit;min-height:54px}.character-instances>button.is-selected{border:2px solid #315961;background:#eff4df;padding:10px}.character-instances>button span{font-size:11px}.shared-ability-holders{border-top:1px solid #cbbb84;margin-top:12px;padding-top:10px}.shared-ability-holders h4{margin:0}.shared-ability-holders p{margin:5px 0}.stale-instance-note{padding:9px;background:#edf2e4;border-radius:7px;font-size:11px}.character-ability-link{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:8px;color:inherit;text-align:left;cursor:pointer}.character-ability-link .avatar{width:40px;height:40px}.character-ability-link:focus-visible{outline:3px solid #254de4;outline-offset:4px}@media(max-width:650px){.character-avatar-detail{height:133px;padding:10px}.character-avatar-detail .avatar{height:115px;width:115px}.character-card:nth-child(n) .character-art.character-pick{font-size:11px;min-height:40px}.character-ownership{padding:11px}}.round-draw-notice{padding:12px 15px;margin:16px 0;background:#fff2c9;border:1px solid #cbbb84;border-radius:9px;color:#315b55;font-size:13px;line-height:1.7}.character-project-note{padding:10px 12px;background:#fff2c9;border-left:3px solid #c39a41;border-radius:5px;color:#6f602f;font-size:12px;line-height:1.7}.character-modal.character-detail{padding:18px 22px 24px;max-height:none;overflow:visible;text-align:left}.character-detail .character-identity{display:flex;align-items:center;gap:14px;margin:0 0 14px}.character-detail .character-identity .modal-avatar{width:76px;height:76px;flex:none;padding:5px;margin:0;background:#e3ebd7;border:1px solid #c7d4b8}.character-detail .character-identity>div:last-child{min-width:0}.character-detail .identity-kicker{font-size:10px;color:#647563;letter-spacing:.12em}.character-detail .identity-name{font-size:19px;line-height:1.45;font-weight:900}.character-detail .character-identity .english-name{font-size:11px;margin:0 0 6px;text-align:left;overflow-wrap:anywhere}.character-detail .current-controller{background:transparent;border:0;padding:0;margin:0 0 14px}.character-detail .controller-summary{display:flex;align-items:baseline;gap:4px 10px;flex-wrap:wrap;font-size:12px;line-height:1.7}.character-detail .controller-summary>span:first-child{font-size:10px;color:#63745f}.character-detail .controller-summary strong{font-size:12px;overflow-wrap:anywhere;min-width:0}.character-detail .racer-current-status{margin-left:auto;white-space:nowrap;font-size:11px;color:#63745f}.character-detail .controller-summary small{width:100%;font-size:10px}.character-detail .current-controller h3{font-size:11px;color:#63745f;margin:0 0 7px}.character-detail .character-instances{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.character-detail .character-instances>button{min-height:49px;padding:8px 10px;font-size:11px;gap:2px;overflow-wrap:anywhere}.character-detail .character-instances>button.is-selected{padding:7px 9px}.character-detail .character-instances>button span{font-size:10px}.character-detail .shared-ability-holders{border-top:0;margin:8px 0 0;padding:0}.character-detail .shared-ability-holders summary{font-size:10px;color:#63745f;cursor:pointer;line-height:1.8}.character-detail .current-abilities{margin:0 0 16px;border:2px solid #4c7864;border-radius:12px;padding:15px;background:#edf4e7}.character-detail .current-abilities.is-disabled{border-color:#b8955c;background:#faf0da}.character-detail .current-abilities-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;margin-bottom:12px}.character-detail .current-abilities-heading h3{font-size:17px;line-height:1.4;margin:0;color:#254b3e}.character-detail .ability-state{font-size:10px;font-weight:800;padding:4px 7px;border-radius:5px;background:#d4e5c5;color:#325e40;white-space:nowrap}.character-detail .ability-state.is-disabled{background:#efd7b6;color:#805229}.character-detail .current-ability-list{display:grid;gap:10px}.character-detail .current-ability-card{margin:0;padding:12px;background:#fffdf5;border:1px solid #c6d4bb;border-radius:8px}.character-detail .current-ability-card .power-name{width:100%;gap:9px;min-height:40px}.character-detail .current-ability-card .power-name .avatar{width:39px;height:39px;flex:none}.character-detail .current-ability-card .power-name>span:not(.ability-open){min-width:0}.character-detail .current-ability-card .power-name strong{display:block;font-size:15px;line-height:1.4}.character-detail .current-ability-card .power-name small{display:block;font-size:9px;color:#71816c;margin-top:2px}.character-detail .ability-open{margin-left:auto;color:#6f8266;font-size:15px}.character-detail .ability-provenance{display:flex;flex-wrap:wrap;gap:4px 8px;margin:8px 0;color:#617657;font-size:10px;line-height:1.7}.character-detail .ability-provenance>span{overflow-wrap:anywhere}.character-detail .ability-provenance .ability-inactive-label{color:#966132;font-weight:800}.character-detail .current-ability-description{font-size:13px;line-height:1.9;color:#263d31}.character-detail .current-ability-description,.character-detail .full-ability{white-space:pre-line}.character-detail .ability-example{margin-top:10px;padding:10px 12px;border-left:3px solid #729272;background:#f0f4e7;border-radius:4px;font-size:12px;line-height:1.8;color:#385240}.character-detail .ability-empty,.character-detail .disabled-ability{font-size:12px;line-height:1.8;margin:0 0 10px}.character-detail .ability-counter{padding-top:8px;margin-top:9px;border-top:1px solid #dce3d3;font-size:11px;line-height:1.7;color:#586e4e}.character-detail .ability-live-status{display:grid;gap:5px;font-size:11px;line-height:1.8;margin-top:11px;color:#516647}.character-detail .ability-duration-note{font-size:10px;line-height:1.8;margin-top:10px;color:#617657}.character-detail .ability-source-record{margin:0 0 14px;padding:11px 12px;border:1px solid #d3d6c4;border-radius:8px;background:#f7f5e9;font-size:11px}.character-detail .ability-source-record>div{display:flex;align-items:center;gap:11px;min-height:34px}.character-detail .ability-source-record h3{margin:0;font-size:10px;font-weight:600;color:#72765e;min-width:60px}.character-detail .ability-source-record .character-ability-link{font-size:12px;font-weight:800;gap:6px;min-height:34px}.character-detail .ability-source-record .avatar{width:28px;height:28px}.character-detail .ability-source-record>p{font-size:10px;line-height:1.7;color:#72765e;margin-top:6px}.character-detail .printed-ability,.character-detail .character-sources{border-top:1px solid #d5d9c6;padding:12px 0;font-size:12px;line-height:1.8}.character-detail .printed-ability>summary,.character-detail .character-sources>summary{cursor:pointer;font-size:12px;font-weight:800;min-height:24px}.character-detail .printed-ability>summary small{font-weight:400;font-size:10px;color:#728169;margin-left:8px}.character-detail .printed-ability .full-ability{font-size:12px;line-height:1.9;margin-top:12px}.character-detail .catalog-ability{padding:13px 0}.character-detail .catalog-ability h3{font-size:16px;margin-bottom:9px}.character-detail .character-project-note{font-size:11px;margin-top:12px}.character-detail .character-sources p{margin-top:12px}.character-detail .small-note{font-size:9px;line-height:1.8;margin-top:5px}@media(max-width:650px){.character-modal.character-detail{padding:14px 15px 19px}.character-detail .character-identity{gap:11px;margin-bottom:11px}.character-detail .character-identity .modal-avatar{width:62px;height:62px;padding:4px}.character-detail .identity-name{font-size:17px}.character-detail .current-abilities{padding:11px;margin-bottom:13px}.character-detail .current-abilities-heading{margin-bottom:10px}.character-detail .current-abilities-heading h3{font-size:16px}.character-detail .current-ability-card{padding:10px}.character-detail .current-ability-description{font-size:13px;line-height:1.85}.character-detail .ability-provenance{margin:7px 0;font-size:10px}.character-detail .character-instances>button{padding:7px;min-height:50px}.character-detail .character-instances>button.is-selected{padding:6px}.character-detail .ability-source-record{padding:9px 10px}}.backend-settings{margin:0 0 30px;padding:22px;border:1.5px solid var(--ink);border-radius:12px;background:#e9edeb}.backend-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.backend-heading h2{margin:0;font-size:20px}.backend-heading p{margin:5px 0 0;font-size:12px;color:#535b57}.backend-heading>button{min-height:40px;flex-shrink:0}.backend-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.backend-choice{min-width:0;display:flex;flex-direction:column;gap:8px}.backend-choice>.backend-option{width:100%;flex:1}.backend-entry-link{display:inline-flex;align-items:center;min-height:44px;font-size:13px;line-height:1.6;color:var(--blue)}.backend-option{position:relative;min-width:0;padding:15px;text-align:left;border:2px solid #a7ada8;border-radius:9px;background:var(--paper);color:var(--ink)}.backend-option[aria-checked=true]{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.backend-option:disabled{opacity:.8;cursor:default}.backend-name{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.backend-name strong{font-size:15px}.backend-status{font-size:11px;padding:3px 7px;border-radius:20px;background:#e5e5df}.state-available .backend-status{background:#d4e7ce;color:#25442a}.state-unavailable .backend-status{background:#f3d9d4;color:#7d3229}.backend-detail{display:block;margin-top:9px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.backend-selected{display:block;margin-top:7px;color:var(--blue);font-size:11px;font-weight:700}.backend-help,.backend-failure{margin:13px 0 0;font-size:12px;line-height:1.8}.backend-failure{color:#8b3326}.target-backend-note{font-size:12px;line-height:1.8;color:#4e5b68}.legacy-backend-choice{min-width:0;padding:13px;border:1px solid #c2c9c4;border-radius:8px}.legacy-backend-choice legend{font-size:12px;font-weight:700;padding:0 5px}.legacy-backend-choice label{display:flex;align-items:center;gap:8px;min-height:42px}.legacy-backend-choice input{width:auto}.directory-backend{color:#485d72;font-size:11px}.pending-creation{margin-bottom:25px;padding:18px;background:#fff2c8;border:1px solid #9e8041;border-radius:10px}.pending-creation p{margin:0 0 12px;font-size:13px;line-height:1.8}@media(max-width:650px){.backend-settings{padding:16px;margin-bottom:24px}.backend-options{grid-template-columns:1fr;gap:10px}.backend-heading h2{font-size:18px}.backend-option{min-height:83px}}html[data-preview-environment=true]{--preview-notice-height: 32px}.deployment-notice{position:sticky;top:0;z-index:250;height:var(--preview-notice-height);padding:5px 12px;display:flex;align-items:center;justify-content:center;background:#ffe3a4;color:#4d3511;font-size:12px;font-weight:700;line-height:1.4;text-align:center;border-bottom:1px solid #ae8b47}html[data-preview-environment=true] .immersive-race{height:calc(100dvh - var(--preview-notice-height))}@media(max-width:650px){html[data-preview-environment=true]{--preview-notice-height: 44px}.deployment-notice{font-size:11px}}:root{--yellow:#ffda27;--red:#f44735;--blue:#254de4;--ink:#191919;--paper:#fffdf4;--green:#b5d66b;--pink:#f6a8d0;font-family:Microsoft YaHei,PingFang SC,Noto Sans CJK SC,sans-serif;color:var(--ink);background:var(--yellow);font-synthesis:none;text-rendering:optimizeLegibility;line-height:1.5;font-weight:500}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}button,a{touch-action:manipulation}button{color:inherit}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:4px}.site-header button:focus-visible{outline-color:var(--yellow)}button:disabled{opacity:.5}h1,h2,h3,p{margin:0}svg{display:block;flex-shrink:0}button svg{pointer-events:none}.avatar{width:100%;height:100%;overflow:visible}.site-header{background:var(--blue);color:var(--paper);padding:18px max(4vw,20px);display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid var(--ink);gap:16px}.wordmark{display:flex;align-items:center;gap:13px;border:0;background:none;color:inherit;text-align:left;font-size:23px;font-weight:900;letter-spacing:-1px;padding:0}.wordmark small{display:block;font-size:11px;letter-spacing:.4px;font-weight:600;margin-top:1px}.logo-dice{background:var(--yellow);color:var(--ink);padding:7px;border:2px solid var(--ink);border-radius:10px;transform:rotate(-12deg)}.site-header nav{display:flex;align-items:center;gap:22px}.header-link{color:inherit;border:0;background:none;font-size:14px;font-weight:800;padding:8px 0}.sound-toggle{background:transparent;border:1px solid #ffffff80;color:inherit;border-radius:50%;height:38px;width:38px;display:grid;place-items:center}.footer{padding:27px max(4vw,20px);font-size:11px;display:flex;justify-content:space-between;gap:16px;border-top:2px solid var(--ink);margin-top:48px}.footer a{font-weight:700}.button{background:var(--red);border:2px solid var(--ink);border-radius:9px;box-shadow:3px 4px 0 var(--ink);color:var(--paper);font-weight:850;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:50px;padding:12px 24px;text-decoration:none;line-height:1.35;transition:transform .12s,box-shadow .12s}.button:not(:disabled):active{transform:translate(3px,4px);box-shadow:0 0 0 var(--ink)}.button:not(:disabled):hover{filter:brightness(1.035)}.button-secondary{background:var(--paper);color:var(--ink)}.button:disabled{box-shadow:2px 2px 0 var(--ink)}.text-button{border:0;background:transparent;padding:6px 0;color:var(--blue);text-decoration:underline;text-underline-offset:4px;font-weight:700;font-size:13px}.home{max-width:1380px;margin:auto;padding:0 4vw}.hero{position:relative;display:grid;grid-template-columns:1fr 1.15fr;min-height:510px;align-items:center;padding-top:32px}.hero-title{position:relative;z-index:2;padding:10px 0 28px}.hero-title>span{font-size:24px;font-weight:900;letter-spacing:3px;display:block;margin-bottom:12px}.hero h1{font-size:clamp(64px,7.8vw,116px);font-weight:950;line-height:1.05;letter-spacing:-5px;transform:rotate(-3deg);position:relative;width:max-content;-webkit-text-stroke:1px var(--ink)}.title-star{position:absolute;right:-63px;top:41px;font-size:70px;color:var(--red);-webkit-text-stroke:2px var(--ink);transform:rotate(13deg)}.hero-title p{font-size:16px;line-height:1.9;margin-top:30px;font-weight:700}.hero-art{height:430px;position:relative;isolation:isolate}.hero-orbit{position:absolute;border:23px solid var(--paper);outline:3px solid var(--ink);box-shadow:inset 0 0 0 3px var(--ink);width:89%;height:210px;border-radius:50%;transform:rotate(-18deg);top:151px;left:5%;background:var(--green);z-index:-1}.hero-orbit:after{content:"";position:absolute;inset:9px;border:2px dashed var(--ink);border-radius:50%}.hero-racer{position:absolute;filter:drop-shadow(2px 4px 0 #19191920)}.hero-racer-0{width:185px;left:40%;top:2%;transform:rotate(15deg);z-index:3}.hero-racer-1{width:153px;right:0;top:30%;transform:rotate(22deg)}.hero-racer-2{width:140px;left:21%;top:24%;transform:rotate(-12deg);z-index:2}.hero-racer-3{width:170px;left:1%;bottom:1%;transform:rotate(-12deg);z-index:3}.hero-racer-4{width:190px;left:45%;bottom:0;transform:rotate(3deg);z-index:2}.hero-finish{position:absolute;right:3%;bottom:2%;transform:rotate(8deg)}.hero-stamp{position:absolute;left:1%;top:2%;background:var(--red);color:var(--paper);border:2px solid var(--ink);height:100px;width:100px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;transform:rotate(-12deg);font-size:14px;font-weight:800;box-shadow:3px 3px 0 var(--ink)}.hero-stamp strong{font-size:15px}.entry-panel{display:grid;grid-template-columns:180px 1fr;background:var(--paper);border:3px solid var(--ink);border-radius:15px;box-shadow:6px 7px 0 var(--ink);margin:8px 0 55px;overflow:hidden}.entry-tabs{display:flex;flex-direction:column;background:var(--blue);padding:24px 0;gap:10px}.entry-tabs button{font-weight:900;font-size:17px;border:0;border-left:6px solid transparent;background:transparent;color:var(--paper);padding:20px 22px;text-align:left}.entry-tabs button[aria-selected=true]{background:var(--paper);color:var(--ink);border-left-color:var(--red);margin-right:-3px}.entry-panel form{display:grid;grid-template-columns:minmax(130px,1fr) minmax(240px,1.3fr);column-gap:22px;row-gap:20px;padding:28px 34px 23px;align-items:end}.entry-panel h2{grid-column:1/-1;font-size:21px;font-weight:900}.entry-panel label{font-size:12px;font-weight:800;display:flex;flex-direction:column;gap:8px}.entry-panel input,.entry-panel select{width:100%;height:46px;background:var(--paper);border:2px solid var(--ink);border-radius:6px;padding:10px 12px;min-width:0;color:var(--ink);font-size:14px}.entry-panel input::placeholder{color:#797974;font-weight:500}.form-split{display:grid;grid-template-columns:1fr 1fr;gap:14px}.entry-panel .button{grid-column:2;grid-row:3;min-height:48px}.entry-panel .form-note{font-size:11px;color:#67675c;grid-column:1;align-self:center}.entry-panel .form-error{grid-column:1/-1;color:#bc2116;font-size:13px;font-weight:800}.entry-panel .form-error+.button{grid-row:auto}.entry-panel .text-button{justify-self:start}.room-code-input{letter-spacing:3px;font-weight:900}.meet-racers{display:flex;gap:35px;align-items:center;margin-bottom:35px}.section-intro{flex:0 0 225px}.section-intro h2{font-size:26px;line-height:1.4;font-weight:900;letter-spacing:-.8px}.section-intro p{font-size:12px;line-height:1.8;margin-top:12px}.sample-racers{display:grid;grid-template-columns:repeat(6,1fr);gap:13px;flex:1}.sample-racers button{border:0;background:none;padding:5px;min-width:0}.sample-racers .avatar{height:100px;transition:transform .15s}.sample-racers button:hover .avatar{transform:rotate(-6deg)}.sample-racers strong{display:block;text-align:center;font-size:12px;margin-top:8px}.room-bar{display:flex;align-items:center;justify-content:space-between;padding:12px max(4vw,20px);border-bottom:2px solid var(--ink);background:var(--paper);gap:12px}.room-label{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:800}.room-label>button{font-size:18px;border:0;background:none;padding:0;display:flex;align-items:center;gap:9px;font-weight:950;letter-spacing:2px}.connection{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:500}.connection i{width:7px;height:7px;border-radius:50%;background:var(--red)}.connection.is-online i{background:#3e8b2d}.invite-button{border:0;background:none;font-weight:800;display:flex;align-items:center;gap:8px;padding:6px 0;font-size:12px}.connection-banner,.error-banner{padding:13px max(4vw,20px);background:var(--ink);color:var(--paper);font-size:13px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.connection-banner button,.error-banner button{border:0;background:transparent;color:var(--yellow);text-decoration:underline;padding:0;font-weight:800}.connection-banner small{font-size:10px;width:100%;overflow-wrap:anywhere}.error-banner{background:#8f1d15;justify-content:space-between}.error-banner button{font-size:22px;text-decoration:none}.game-shell{max-width:1420px;margin:auto;padding:28px 4vw 0}.stage-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.stage-kicker{font-size:12px;font-weight:800;margin-bottom:4px}.stage-heading h1{font-size:34px;font-weight:950;letter-spacing:-1px}.mode-tag{display:block;border:2px solid var(--ink);padding:7px 12px;border-radius:5px;font-size:11px;font-weight:800;background:var(--paper);white-space:nowrap;transform:rotate(2deg)}.lobby-layout{display:grid;grid-template-columns:1.8fr 1fr;border:3px solid var(--ink);background:var(--paper);border-radius:14px;overflow:hidden;box-shadow:5px 6px 0 var(--ink)}.player-area{padding:28px}.lobby-count{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:12px}.lobby-count>span:first-child{font-size:28px;font-weight:950}.lobby-count small{font-size:13px;font-weight:600}.ready-count{font-size:11px;background:var(--green);padding:4px 10px;border-radius:20px}.lobby-seats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.seat{border:2px solid var(--ink);border-radius:8px;display:flex;align-items:center;gap:11px;min-height:98px;padding:13px 11px;position:relative;flex-wrap:wrap}.self-seat{background:#fff7c5}.seat-avatar{width:45px;height:45px;background:var(--player-color);border:2px solid var(--ink);display:grid;place-items:center;position:relative;border-radius:50%;font-size:21px;font-weight:900;flex-shrink:0;color:var(--paper);text-shadow:1px 1px var(--ink)}.seat-avatar>span{position:absolute;right:-4px;bottom:-3px;color:var(--ink);text-shadow:none;background:var(--paper);border:1.5px solid var(--ink);border-radius:50%;width:19px;height:19px;display:grid;place-items:center;font-size:10px}.seat strong{display:block;font-size:14px;overflow-wrap:anywhere;max-width:180px}.seat strong small,.scoreboard strong small,.final-ranking strong small{font-size:9px;padding:1px 4px;margin-left:6px;background:var(--yellow);border-radius:3px;color:var(--ink)}.seat p{font-size:10px;margin-top:5px;color:#6d6d65}.ready-badge{font-size:9px;font-weight:800;color:#77776c;margin-left:auto;white-space:nowrap}.ready-badge.is-ready{color:#267023}.empty-seat{border-style:dashed;opacity:.45;min-height:98px}.empty-avatar{font-size:28px;width:45px;text-align:center;font-weight:500}.empty-seat>span:last-child{font-weight:700;font-size:12px}.empty-seat small{display:block;font-size:9px;font-weight:400;margin-top:5px}.lobby-actions{display:flex;gap:15px;margin-top:27px;flex-wrap:wrap}.lobby-actions .button{flex:1;padding:12px 14px;font-size:14px}.helper-text{font-size:11px;color:#727266;margin-top:16px}.lobby-invite{background:var(--blue);color:var(--paper);padding:30px 26px;text-align:center;border-left:3px solid var(--ink);display:flex;flex-direction:column;align-items:center}.invite-drawing{color:var(--yellow);transform:rotate(-10deg);margin:3px 0 16px}.lobby-invite h2{font-size:29px;font-weight:950;transform:rotate(-3deg)}.lobby-invite>p{font-size:12px;line-height:1.9;margin-top:12px}.invite-code{font-family:Arial Black,sans-serif;font-size:34px;letter-spacing:7px;margin:21px 0}.lobby-invite .button{font-size:13px;width:100%;background:var(--yellow);color:var(--ink);min-height:47px}.selectable-link{font-size:9px;margin-top:17px;overflow-wrap:anywhere;max-width:100%;-webkit-user-select:all;user-select:all}.lobby-invite .small-note{font-size:10px;opacity:.8;margin-top:17px}.transfer-host{margin-top:20px;font-size:10px;width:100%;text-align:left}.transfer-host button{display:block;background:var(--paper);color:var(--ink);border:2px solid var(--ink);margin-top:8px;font-size:12px;padding:7px 10px;border-radius:5px;width:100%}.room-details{border-top:2px solid var(--ink);margin-top:35px;padding-top:15px;font-size:11px;line-height:1.9}.room-details summary{font-size:12px;font-weight:800;cursor:pointer}.room-details p{max-width:850px;margin-top:12px}.rules-status{font-size:10px;color:#676754}.check-row{display:flex;gap:8px;align-items:center;margin-top:10px;font-size:12px}.check-row input{width:17px;height:17px;accent-color:var(--blue)}.turn-notice{background:var(--paper);border:2px solid var(--ink);border-radius:9px;display:flex;align-items:center;padding:13px 17px;gap:13px;margin-bottom:21px;font-weight:900;min-height:72px}.turn-notice.your-turn{background:var(--red);color:var(--paper)}.turn-notice small{display:block;font-weight:500;font-size:11px;margin-top:4px;opacity:.8;line-height:1.65}.turn-notice>span:not(.countdown):not(.turn-avatar):not(.secret-icon){flex:1}.countdown{margin-left:auto;border:2px solid currentColor;border-radius:50%;width:45px;height:45px;display:flex;align-items:center;justify-content:center;gap:2px;font-family:Arial Black,sans-serif;font-size:18px;flex-shrink:0}.countdown small{font-size:9px;margin:3px 0 0}.countdown.urgent{color:#ba1f16;background:var(--paper)}.draft-order{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:22px}.draft-order span{border:1px solid var(--ink);font-size:10px;padding:4px 9px;border-radius:4px;background:var(--paper)}.draft-order span.active{background:var(--blue);color:var(--paper);border-width:2px;font-weight:800;transform:translateY(-2px)}.draft-order span.done{opacity:.4}.character-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.character-card{border:2px solid var(--ink);border-radius:11px;overflow:hidden;background:var(--paper);box-shadow:3px 4px 0 var(--ink);min-width:0}.character-art{height:170px;background:#b5d66b;display:flex;align-items:center;justify-content:center;position:relative;border:0;border-bottom:2px solid var(--ink);width:100%;padding:12px;opacity:1!important}.character-card:nth-child(4n+2) .character-art{background:var(--pink)}.character-card:nth-child(4n+3) .character-art{background:#9db7fb}.character-card:nth-child(4n+4) .character-art{background:var(--yellow)}.character-art .avatar{height:145px;width:145px;transition:transform .15s}.character-art:not(:disabled):hover .avatar{transform:rotate(-5deg) scale(1.04)}.character-card.selected{outline:4px solid var(--blue);outline-offset:3px}.selected-tick{position:absolute;right:10px;top:10px;background:var(--blue);color:var(--paper);border:2px solid var(--ink);border-radius:50%;height:28px;width:28px;display:grid;place-items:center;font-weight:900}.character-copy{padding:15px 15px 11px}.character-copy h3{font-size:19px;font-weight:950;letter-spacing:-.5px}.english-name{font-size:10px;font-weight:800;opacity:.55;margin-top:3px}.ability-text{font-size:12px;line-height:1.8;margin-top:12px;min-height:65px}.detail-button{padding:10px 0 0;margin-top:13px;background:transparent;border:0;border-top:1px solid #19191935;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:space-between;width:100%}.detail-button span{font-size:17px;line-height:1}.character-card.used .character-art{filter:grayscale(1)}.character-card.used{opacity:.65}.used-label{position:absolute;font-size:11px;font-weight:800;background:var(--ink);color:var(--paper);border-radius:4px;padding:5px 10px;bottom:12px}.sticky-action{position:sticky;bottom:16px;z-index:10;margin:24px auto 0;padding:13px 17px;border:2px solid var(--ink);border-radius:10px;box-shadow:3px 4px 0 var(--ink);background:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:900px}.sticky-action>span{font-size:12px;font-weight:800}.sticky-action .button{font-size:13px;min-height:45px}.secret-icon{background:var(--blue);color:var(--paper);border:2px solid var(--ink);border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-family:Arial Black,sans-serif;font-size:24px}.selection-progress{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}.selection-progress>span{display:flex;align-items:center;gap:7px;padding:7px 10px;background:var(--paper);border:1px solid var(--ink);border-radius:5px;font-size:11px}.selection-progress i{height:9px;width:9px;border:1px solid var(--ink);border-radius:50%}.selection-progress strong{font-size:9px;opacity:.5;margin-left:5px}.selection-progress .locked strong{color:#286321;opacity:1}.turn-avatar{height:48px;width:48px;flex-shrink:0}.race-turn{margin-bottom:18px}.track-section{background:var(--green);border:3px solid var(--ink);border-radius:13px;padding:18px 20px 12px;box-shadow:5px 6px 0 var(--ink)}.track-section.wild{background:var(--pink)}.track-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:15px}.track-heading strong{font-size:20px;font-weight:950;letter-spacing:-.5px}.track-heading>span{font-size:10px;font-weight:700}.track-board{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:6px}.track-cell{border:2px solid var(--ink);background:var(--paper);border-radius:7px;min-height:111px;position:relative;display:flex;flex-direction:column;overflow:hidden}.cell-label{font-size:10px;font-weight:800;display:flex;justify-content:space-between;align-items:center;gap:6px;padding:3px 6px;height:24px;flex-shrink:0}.cell-arrow{font-size:17px;line-height:1;opacity:.35}.track-cell.occupied{background:#fff9d3}.track-cell.start-cell{background:var(--yellow)}.track-cell.finish-cell{background:var(--ink);color:var(--paper)}.finish-checkers{height:8px;background:repeating-conic-gradient(var(--paper) 0% 25%,var(--ink) 0% 50%) 0 0/12px 12px;position:absolute;bottom:0;width:100%;opacity:.7}.cell-tokens{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:center;gap:4px;padding:4px 4px 10px;flex:1}.cell-tokens.count-1,.cell-tokens.count-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.track-token{width:100%;aspect-ratio:1;max-width:39px;border:2px solid var(--player-color,var(--ink));box-shadow:0 0 0 1px var(--ink);background:var(--paper);padding:0;border-radius:50%;position:relative;justify-self:center;color:var(--ink)}.track-token .avatar{width:100%;height:100%}.track-token>b{position:absolute;bottom:-5px;right:-3px;font-size:8px;width:13px;height:13px;background:var(--player-color);color:var(--paper);text-shadow:1px 1px 0 var(--ink);border:1px solid var(--ink);border-radius:50%;display:grid;place-items:center;font-weight:900;line-height:1}.track-token.current-token{outline:2px solid var(--ink);outline-offset:3px;z-index:1}.track-token.tripped .avatar{transform:rotate(65deg)}.track-token>i{position:absolute;top:-6px;left:-3px;background:var(--red);color:var(--paper);font-size:7px;border-radius:3px;border:1px solid var(--ink);font-style:normal;padding:1px 2px}.track-legend{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;font-size:9px;margin-top:12px}.track-legend>span{display:flex;align-items:center;gap:5px}.legend-ring{border:2px solid var(--blue);height:10px;width:10px;border-radius:50%;background:var(--paper)}.racer-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:18px}.racer-summary{background:var(--paper);display:flex;align-items:center;gap:7px;border:1.5px solid var(--ink);border-left:5px solid var(--player-color);border-radius:6px;text-align:left;padding:8px 7px;min-width:0}.racer-summary .avatar{height:37px;width:37px}.racer-summary>span{flex:1;min-width:0}.racer-summary strong{font-size:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.racer-summary small{font-size:8px;display:block;margin-top:3px;color:#77776b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.racer-summary>b{font-size:11px;flex-shrink:0}.racer-summary.active{background:#fff7bd;border-top:2px solid var(--ink);border-bottom:2px solid var(--ink)}.racer-summary.eliminated{opacity:.5}.last-dice{display:flex;align-items:center;gap:13px}.dice{height:47px;width:47px;transform:rotate(-6deg)}.last-dice>span{font-size:11px;font-weight:800}.last-dice small{font-size:10px;font-weight:500;display:block;margin-top:5px;color:#74746b}.race-action{max-width:none}.race-action .button{min-width:190px}.choice-panel{border:3px solid var(--ink);border-radius:11px;padding:25px 24px;background:var(--blue);color:var(--paper);display:flex;gap:25px;align-items:center;justify-content:space-between;box-shadow:4px 5px 0 var(--ink);margin-top:23px}.choice-panel h2{font-size:19px;line-height:1.6}.choice-panel p{font-size:11px;margin-top:8px;opacity:.8}.choice-panel>div:first-child{position:relative;padding-left:40px}.burst{position:absolute;left:0;top:-6px;color:var(--yellow);font-size:36px}.choice-options{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;flex:0 0 48%}.choice-options .button{font-size:12px;padding:10px 15px;min-height:42px}.choice-options .button-secondary{background:var(--yellow)}.below-game{display:grid;grid-template-columns:1fr 1.5fr;gap:30px;margin-top:35px}.below-game h2{font-size:16px;font-weight:900;display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.scoreboard{border-top:2px solid var(--ink);padding-top:16px}.scoreboard>div>div{display:flex;align-items:center;gap:10px;padding:9px;border-bottom:1px solid #19191930;font-size:11px}.score-rank{font-family:Arial Black,sans-serif;width:15px}.scoreboard i,.final-ranking i{width:10px;height:10px;border:1px solid var(--ink);border-radius:50%;flex-shrink:0}.scoreboard strong{flex:1;overflow-wrap:anywhere}.scoreboard b{font-size:18px}.scoreboard b small{font-size:9px;margin-left:4px}.score-self{background:#fff7bf}.offline-note{font-size:8px;color:#77776b}.event-log{border-top:2px solid var(--ink);padding-top:16px}.event-log h2 span{font-size:9px;font-weight:500}.event-log ol{list-style:none;padding:0 10px 0 0;margin:0;max-height:281px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--ink) transparent}.event-log li{display:flex;gap:10px;padding:7px 0;border-bottom:1px dashed #19191930;font-size:10px;line-height:1.8}.event-log li>span{font-family:Arial Black,sans-serif;font-size:9px;opacity:.35;min-width:20px}.my-team{border-top:2px solid var(--ink);padding-top:18px;margin-top:30px}.my-team h2{font-size:16px;font-weight:900;margin-bottom:15px}.my-team h2 small{font-size:9px;font-weight:500;margin-left:6px}.my-team>div{display:flex;gap:12px;flex-wrap:wrap}.my-team button{display:flex;align-items:center;gap:8px;border:1.5px solid var(--ink);padding:7px 13px 7px 7px;background:var(--paper);border-radius:8px;text-align:left}.my-team .avatar{height:45px;width:45px}.my-team strong{font-size:11px;display:block}.my-team small{font-size:9px;display:block;color:#77776b;margin-top:5px}.my-team .used{filter:grayscale(1);opacity:.5}.results-panel{border:3px solid var(--ink);border-radius:13px;overflow:hidden;background:var(--paper);box-shadow:5px 6px 0 var(--ink)}.results-title{padding:27px 30px;display:flex;align-items:center;gap:23px;background:var(--blue);color:var(--paper);border-bottom:3px solid var(--ink)}.results-title>svg{color:var(--yellow);transform:rotate(-8deg)}.results-title h2{font-size:27px;font-weight:950;overflow-wrap:anywhere}.results-title p{font-size:12px;opacity:.85;margin-top:7px}.round-results{display:flex;gap:22px;padding:35px;align-items:stretch;justify-content:center;flex-wrap:wrap}.result-racer{flex:1;min-width:135px;max-width:230px;text-align:center;position:relative;padding:14px 12px;background:#efeee5;border:2px solid var(--ink);border-radius:8px}.result-racer.rank-1{background:var(--yellow);transform:rotate(-2deg)}.result-racer.rank-2{background:#aec0e8;transform:rotate(2deg)}.rank-medal{position:absolute;left:10px;top:8px;font-family:Arial Black,sans-serif;font-size:25px}.result-racer>button{height:115px;width:115px;background:none;border:0;padding:0;margin:auto}.result-racer h3{font-size:17px;font-weight:900}.result-racer p{font-size:11px;margin-top:5px}.result-racer>strong{font-size:32px;font-family:Arial Black,sans-serif;display:block;margin-top:15px}.result-racer>strong small{font-family:inherit;font-size:12px;margin-left:4px}.results-actions{text-align:center;padding:10px 25px 30px}.results-actions>p{font-size:12px;color:#77776a}.final-ranking{max-width:750px;padding:25px;margin:auto}.final-ranking>div{display:flex;align-items:center;gap:16px;border-bottom:1.5px solid var(--ink);padding:15px}.ranking-number{font-family:Arial Black,sans-serif;font-size:20px;width:30px}.final-ranking strong{font-size:16px;flex:1}.ranking-score{font-family:Arial Black,sans-serif;font-size:29px}.ranking-score small{font-size:11px;margin-left:7px}.final-ranking .winner{background:var(--yellow);border:2px solid var(--ink);border-radius:7px;box-shadow:3px 3px 0 var(--ink);margin-bottom:8px}.paper-panel{background:var(--paper);border:3px solid var(--ink);padding:30px;border-radius:12px}.paper-panel p{font-size:13px;margin:15px 0}.restore-screen{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:50px 25px;text-align:center}.restore-screen h1{font-size:28px}.restore-screen p{font-size:13px;max-width:600px;overflow-wrap:anywhere}.large-dice{transform:rotate(-10deg);color:var(--blue)}.toast{position:fixed;z-index:100;bottom:25px;left:50%;transform:translate(-50%);background:var(--ink);color:var(--paper);border:2px solid var(--paper);border-radius:8px;padding:13px 23px;font-size:12px;font-weight:800;box-shadow:3px 4px #19191940;max-width:calc(100% - 30px);width:max-content;text-align:center}.modal-backdrop{position:fixed;z-index:50;inset:0;background:#191919aa;display:flex;align-items:center;justify-content:center;padding:25px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-panel{background:var(--paper);border:3px solid var(--ink);border-radius:13px;box-shadow:7px 8px 0 var(--ink);width:100%;max-width:620px;max-height:calc(100dvh - 50px);overflow:auto;outline:none}.modal-header{position:sticky;top:0;z-index:2;background:var(--yellow);border-bottom:2px solid var(--ink);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 23px}.modal-header h2{font-size:22px;font-weight:950}.close-button{height:34px;width:34px;border:2px solid var(--ink);border-radius:50%;background:var(--paper);font-size:26px;line-height:1;display:grid;place-items:center}.character-modal{padding:15px 28px 28px}.modal-avatar{height:220px;width:220px;margin:0 auto;background:var(--green);border-radius:50%;padding:12px}.character-modal>.english-name{text-align:center;margin:13px 0 22px;font-size:13px}.character-modal h3{font-size:15px;font-weight:900;margin-bottom:10px}.full-ability{font-size:15px;line-height:1.95}.character-modal .small-note{font-size:10px;color:#77776c;margin-top:22px;line-height:1.9}.rules-copy{padding:23px 27px;font-size:13px;line-height:1.9}.rules-copy p{margin-bottom:18px}.rules-copy ol{padding-left:22px}.rules-copy li{margin-bottom:14px;padding-left:4px}.rules-copy h3{font-size:17px;margin:20px 0 10px}@media(min-width:1500px){.hero h1{font-size:118px}.hero-art{height:460px}.hero-racer-0{width:215px}.hero-racer-1{width:175px}.hero-racer-2{width:155px}.hero-racer-3{width:190px}.hero-racer-4{width:215px}}@media(max-width:1000px){.hero{min-height:440px;grid-template-columns:1fr 1fr}.hero h1{font-size:80px}.hero-title>span{font-size:21px}.hero-art{height:350px}.hero-orbit{height:170px;top:140px}.hero-racer-0{width:150px;left:36%}.hero-racer-1{width:125px;top:35%;right:-4%}.hero-racer-2{width:118px;left:13%;top:23%}.hero-racer-3{width:140px;left:-7%;bottom:1%}.hero-racer-4{width:155px;left:40%}.hero-stamp{height:80px;width:80px;font-size:11px;left:-5%;top:2%}.hero-stamp strong{font-size:12px}.hero-finish{right:-3%}.hero-finish svg{width:40px}.entry-panel{grid-template-columns:140px 1fr}.entry-panel form{padding:24px;gap:18px}.entry-tabs button{font-size:14px;padding:18px 15px}.entry-panel h2{font-size:19px}.entry-panel .button{font-size:12px;padding:12px 14px}.section-intro{flex-basis:190px}.section-intro h2{font-size:23px}.sample-racers{grid-template-columns:repeat(3,1fr);gap:13px}.sample-racers .avatar{height:75px}.sample-racers strong{font-size:10px;margin-top:2px}.lobby-layout{grid-template-columns:1.8fr 1fr}.player-area{padding:20px}.lobby-seats{grid-template-columns:1fr}.seat{min-height:78px;flex-wrap:nowrap}.empty-seat{min-height:70px}.lobby-invite{padding:30px 20px}.character-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.track-section{padding:16px 12px 10px}.track-board{gap:5px}.track-cell{min-height:96px}.cell-tokens{grid-template-columns:repeat(3,minmax(0,1fr));padding:4px 3px 8px;gap:4px}.track-token{max-width:28px}.track-token>b{width:11px;height:11px;font-size:7px;right:-3px;bottom:-3px}.track-token.current-token{outline-width:1px;outline-offset:2px}.racer-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.racer-summary{gap:5px;padding:7px 5px}.racer-summary .avatar{width:29px;height:29px}.racer-summary strong{font-size:9px}.racer-summary small{font-size:7px}.racer-summary>b{font-size:9px}.choice-panel{padding:22px 18px;gap:15px}.choice-panel h2{font-size:17px}.below-game{grid-template-columns:1fr 1.25fr;gap:24px}}@media(max-width:650px){.site-header{padding:14px 18px;gap:12px}.wordmark{font-size:19px;gap:10px;letter-spacing:-.6px}.wordmark small{font-size:8px;letter-spacing:0}.logo-dice{padding:5px;border-radius:8px}.logo-dice svg{height:23px;width:23px}.site-header nav{gap:15px}.header-link{font-size:11px}.sound-toggle{height:31px;width:31px}.sound-toggle svg{height:17px;width:17px}.home{padding:0 18px}.hero{display:block;min-height:0;padding:28px 0 0}.hero-title{padding-bottom:0}.hero-title>span{font-size:16px;letter-spacing:2px;margin-bottom:10px}.hero h1{font-size:76px;letter-spacing:-4px;line-height:1.04}.title-star{font-size:48px;top:40px;right:-50px}.hero-title p{font-size:12px;line-height:1.8;margin-top:20px}.hero-art{height:260px;width:95%;margin:0 auto;top:-8px}.hero-orbit{width:94%;height:130px;top:112px;left:3%;border-width:17px}.hero-racer-0{width:115px;left:49%;top:-9%}.hero-racer-1{width:105px;right:-3%;top:30%}.hero-racer-2{width:100px;left:25%;top:13%}.hero-racer-3{width:113px;left:-3%;bottom:-2%}.hero-racer-4{width:137px;left:42%;bottom:-3%}.hero-finish{bottom:1%;right:-3%}.hero-finish svg{width:31px}.hero-stamp{width:72px;height:72px;left:0;top:1%;font-size:10px}.hero-stamp strong{font-size:10px}.entry-panel{display:block;margin:7px 0 40px;box-shadow:4px 5px 0 var(--ink);border-radius:11px}.entry-tabs{flex-direction:row;padding:0;gap:0;border-bottom:2px solid var(--ink)}.entry-tabs button{width:50%;padding:15px 10px;text-align:center;border:0;border-bottom:4px solid transparent;margin:0!important;font-size:14px}.entry-tabs button[aria-selected=true]{border-bottom-color:var(--red);background:var(--paper)}.entry-panel form{display:flex;flex-direction:column;gap:18px;padding:24px 20px 20px;align-items:stretch}.entry-panel h2{font-size:18px;margin-bottom:1px}.entry-panel label{font-size:11px}.entry-panel input,.entry-panel select{font-size:13px;height:47px}.form-split{gap:12px}.entry-panel .button{font-size:14px;width:100%;margin-top:2px;min-height:50px}.entry-panel .form-note{font-size:10px;text-align:center;align-self:stretch}.entry-panel .text-button{align-self:center}.meet-racers{display:block;margin-bottom:10px}.section-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:22px}.section-intro h2{font-size:21px}.section-intro p{font-size:10px;text-align:right;margin:0}.sample-racers{grid-template-columns:repeat(3,1fr);gap:18px}.sample-racers .avatar{height:94px}.sample-racers strong{font-size:11px;margin-top:4px}.footer{padding:23px 18px;flex-direction:column;gap:7px;font-size:9px;margin-top:32px}.footer a{font-size:10px}.room-bar{padding:11px 18px}.room-label{gap:8px;font-size:10px}.room-label>button{font-size:15px;gap:6px;letter-spacing:1px}.room-label>button svg{width:12px}.connection{font-size:8px;gap:4px}.connection i{height:5px;width:5px}.invite-button{font-size:10px;gap:5px}.invite-button svg{height:13px;width:13px}.game-shell{padding:21px 16px 0}.stage-heading{gap:10px;margin-bottom:20px}.stage-heading h1{font-size:26px;letter-spacing:-.7px}.stage-kicker{font-size:9px;margin-bottom:4px}.mode-tag{font-size:8px;padding:5px 7px;transform:rotate(2deg);border-width:1.5px}.lobby-layout{display:flex;flex-direction:column;border-radius:10px;box-shadow:3px 4px 0 var(--ink)}.player-area{padding:20px 16px}.lobby-count{margin-bottom:17px}.lobby-count>span:first-child{font-size:26px}.lobby-count small{font-size:11px}.ready-count{font-size:9px;padding:4px 8px}.lobby-seats{gap:10px}.seat{min-height:75px;padding:12px;gap:12px}.seat-avatar{height:40px;width:40px;font-size:19px}.seat strong{font-size:13px;max-width:180px}.seat p,.ready-badge{font-size:9px}.empty-seat{min-height:65px}.empty-avatar{width:40px}.empty-seat>span:last-child{font-size:11px}.empty-seat small{font-size:8px}.lobby-actions{gap:12px;margin-top:22px}.lobby-actions .button{font-size:12px;min-height:46px;padding:11px}.lobby-actions svg{width:18px;height:18px}.helper-text{font-size:10px;line-height:1.8}.lobby-invite{padding:23px 20px;border-left:0;border-top:3px solid var(--ink);display:grid;grid-template-columns:70px 1fr;column-gap:15px;text-align:left;align-items:center}.invite-drawing{grid-column:1;grid-row:1/3;margin:0}.invite-drawing svg{height:62px;width:62px}.lobby-invite h2{grid-column:2;font-size:23px;transform:none}.lobby-invite>p{font-size:10px;margin-top:5px;grid-column:2;line-height:1.7}.lobby-invite>p br{display:none}.invite-code{grid-column:1/-1;font-size:29px;letter-spacing:6px;text-align:center;margin:17px 0}.lobby-invite>.button{grid-column:1/-1;font-size:12px;min-height:46px}.selectable-link{grid-column:1/-1;text-align:center;font-size:8px;margin-top:13px}.lobby-invite .small-note{grid-column:1/-1;text-align:center;font-size:9px;margin-top:11px}.transfer-host{grid-column:1/-1;margin-top:14px;font-size:9px}.room-details{margin-top:27px;padding-top:13px;font-size:10px}.room-details summary{font-size:11px}.room-details p{margin-top:10px}.rules-status{font-size:9px}.turn-notice{padding:11px 12px;gap:10px;margin-bottom:17px;min-height:69px;font-size:13px;border-radius:7px}.turn-notice>svg{height:22px;width:22px}.turn-notice small{font-size:9px;line-height:1.8;margin-top:4px}.countdown{width:36px;height:36px;font-size:15px;border-width:1.5px}.countdown small{font-size:8px}.draft-order{gap:5px;margin-bottom:18px}.draft-order span{font-size:8px;padding:3px 6px}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.character-card{border-radius:8px;box-shadow:2px 3px 0 var(--ink)}.character-art{height:133px;padding:10px}.character-art .avatar{height:115px;width:115px}.character-copy{padding:12px 11px 9px}.character-copy h3{font-size:16px}.english-name{font-size:8px;line-height:1.5}.ability-text{font-size:10px;line-height:1.85;margin-top:9px;min-height:75px}.detail-button{font-size:9px;margin-top:10px;padding-top:8px}.selected-tick{height:23px;width:23px;top:7px;right:7px;font-size:13px}.character-card.selected{outline-width:3px;outline-offset:2px}.sticky-action{bottom:10px;gap:10px;padding:11px 12px;margin-top:22px;border-radius:8px;flex-direction:column;align-items:stretch;box-shadow:2px 3px 0 var(--ink)}.sticky-action>span{font-size:10px;text-align:center}.sticky-action .button{min-height:45px;font-size:12px;width:100%;padding:10px 14px}.secret-icon{width:30px;height:30px;font-size:20px}.selection-progress{gap:7px;margin-bottom:20px}.selection-progress>span{font-size:9px;padding:6px 8px;gap:5px}.selection-progress strong{font-size:8px;margin-left:3px}.selection-progress i{width:7px;height:7px}.turn-avatar{height:37px;width:37px}.track-section{padding:12px 9px 10px;border-radius:10px;box-shadow:3px 4px 0 var(--ink)}.track-heading{margin-bottom:12px;gap:6px}.track-heading strong{font-size:16px}.track-heading>span{font-size:7px}.track-board{gap:5px}.track-cell{min-height:91px;border-radius:5px;border-width:1.5px}.cell-label{font-size:8px;padding:3px 5px;height:22px}.cell-arrow{font-size:14px}.cell-tokens{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 4px;padding:2px 3px 9px;align-content:center}.cell-tokens.count-1,.cell-tokens.count-2{gap:5px;grid-template-columns:repeat(2,minmax(0,1fr))}.track-token{max-width:31px;min-width:0;border-width:2px}.cell-tokens.count-7,.cell-tokens.count-8{gap:5px 4px}.cell-tokens.count-7 .track-token,.cell-tokens.count-8 .track-token{max-width:19px}.track-token>b{font-size:7px;right:-4px;bottom:-4px;width:11px;height:11px}.track-token>i{font-size:6px;padding:0 1px;left:-4px;top:-5px}.track-legend{font-size:7px;gap:10px;margin-top:10px}.legend-ring{width:8px;height:8px}.racer-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:16px}.racer-summary{padding:7px 6px;gap:6px;border-left-width:4px;border-radius:5px}.racer-summary .avatar{width:30px;height:30px}.racer-summary strong{font-size:10px}.racer-summary small{font-size:8px;margin-top:2px}.racer-summary>b{font-size:10px}.race-action{flex-direction:row;gap:12px;padding:10px}.race-action .button{min-width:0;width:auto;flex-shrink:0;padding:12px 14px;font-size:11px;gap:8px;min-height:48px}.race-action .button svg{height:20px;width:20px}.last-dice{gap:9px}.dice{height:38px;width:38px}.last-dice>span{font-size:9px;max-width:130px;line-height:1.6}.last-dice small{font-size:8px;line-height:1.6;margin-top:3px}.choice-panel{display:block;padding:18px 15px;border-radius:8px;box-shadow:3px 4px 0 var(--ink);margin-top:20px}.choice-panel>div:first-child{padding-left:28px}.burst{font-size:29px;top:-5px}.choice-panel h2{font-size:15px}.choice-panel p{font-size:9px;line-height:1.8;margin-top:7px}.choice-options{margin-top:18px;justify-content:flex-start;gap:10px}.choice-options .button{flex:1;min-width:100px;font-size:11px;min-height:43px;padding:10px 12px}.below-game{display:flex;flex-direction:column;gap:25px;margin-top:29px}.below-game h2{font-size:15px;margin-bottom:10px}.scoreboard,.event-log{padding-top:13px}.scoreboard>div>div{padding:8px;font-size:10px;gap:9px}.scoreboard b{font-size:17px}.scoreboard b small{font-size:8px}.event-log li{font-size:10px;line-height:1.9;padding:8px 0}.event-log ol{max-height:240px}.my-team{margin-top:25px;padding-top:14px}.my-team h2{font-size:15px;margin-bottom:13px}.my-team>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}.my-team button{padding:6px;gap:6px;border-radius:6px}.my-team .avatar{height:37px;width:37px}.my-team strong{font-size:10px}.my-team small{font-size:8px;margin-top:3px}.results-title{padding:22px 17px;gap:14px}.results-title>svg{height:46px;width:46px}.results-title h2{font-size:21px;line-height:1.5}.results-title p{font-size:10px;line-height:1.8;margin-top:6px}.round-results{padding:22px 16px;gap:14px}.result-racer{min-width:125px;max-width:180px;padding:12px 10px}.result-racer>button{height:94px;width:94px}.rank-medal{font-size:21px;left:8px;top:6px}.result-racer h3{font-size:15px}.result-racer p{font-size:10px}.result-racer>strong{font-size:27px;margin-top:12px}.results-actions{padding:8px 17px 23px}.results-actions .button{font-size:12px;width:100%;min-height:47px}.results-actions>p{font-size:10px;line-height:1.8}.final-ranking{padding:20px 15px}.final-ranking>div{padding:12px 10px;gap:10px}.ranking-number{font-size:18px;width:20px}.final-ranking strong{font-size:13px}.ranking-score{font-size:25px}.ranking-score small{font-size:9px}.modal-backdrop{padding:18px}.modal-panel{max-height:calc(100dvh - 36px);border-radius:10px;box-shadow:4px 5px 0 var(--ink)}.modal-header{padding:13px 18px}.modal-header h2{font-size:20px}.close-button{height:31px;width:31px;font-size:23px}.character-modal{padding:14px 21px 23px}.modal-avatar{height:185px;width:185px}.character-modal>.english-name{font-size:11px;margin:12px 0 20px}.character-modal h3{font-size:14px}.full-ability{font-size:13px;line-height:2}.character-modal .small-note{font-size:9px;margin-top:19px}.rules-copy{padding:20px;font-size:12px;line-height:1.95}.rules-copy li{margin-bottom:14px}.rules-copy h3{font-size:16px}.connection-banner,.error-banner{padding:12px 18px;font-size:11px;gap:10px}.restore-screen{gap:18px}.restore-screen h1{font-size:24px}.restore-screen p{font-size:11px}}.special-label{font-size:9px;font-weight:900;text-align:center;margin:0 3px 3px;border:1px solid var(--ink);border-radius:3px;padding:1px 3px;background:var(--yellow)}.special-trip .special-label{background:var(--red);color:var(--paper)}.special-arrow .special-label{background:var(--blue);color:var(--paper)}.track-warning{font-size:10px;font-weight:800;margin-top:10px;text-align:center}.manual-copy{padding:25px;display:flex;flex-direction:column;gap:20px;font-size:13px}.manual-copy input{width:100%;border:2px solid var(--ink);border-radius:5px;background:var(--paper);color:var(--ink);padding:13px;font-size:13px;-webkit-user-select:all;user-select:all}.room-bar{flex-wrap:wrap}.room-actions{display:flex;align-items:center;gap:18px;margin-left:auto}.end-room-button{min-height:42px;padding:8px 13px;border:2px solid var(--ink);border-radius:6px;background:var(--paper);color:#9e271f;font-size:12px;font-weight:800;white-space:nowrap}.end-room-button:hover:not(:disabled){background:#ffe2dc}.end-room-button:disabled{opacity:.5;cursor:not-allowed}.end-room-confirm{padding:25px;font-size:14px;line-height:1.9}.end-room-confirm-actions{display:flex;justify-content:flex-end;gap:14px;flex-wrap:wrap;margin-top:25px}.button-danger{background:var(--red);color:var(--paper)}.end-room-error{margin-top:15px;color:#9e271f;font-weight:800}.room-closed .large-dice{background:var(--paper)}@media(max-width:650px){.room-actions{gap:15px}.end-room-button{min-height:44px;padding:9px 12px;font-size:11px}.end-room-confirm{padding:20px;font-size:12px}.end-room-confirm-actions{gap:12px}.end-room-confirm-actions .button{flex:1;min-height:46px;font-size:12px}}.browser-host-intro{background:var(--blue);color:var(--paper);border:2px solid var(--ink);border-radius:8px;padding:17px 22px;margin:0 0 22px;display:flex;align-items:center;gap:25px}.browser-host-intro strong{font-size:17px;flex-shrink:0}.browser-host-intro p{font-size:11px;line-height:1.9;max-width:750px}.authority-notice{font-size:10px;line-height:1.8;padding:10px 14px;background:var(--paper);border:1.5px solid var(--ink);border-radius:6px;margin-bottom:20px;display:flex;gap:14px;align-items:center}.authority-notice strong{font-size:11px;flex-shrink:0}@media(max-width:650px){.browser-host-intro{display:block;padding:16px;margin-bottom:22px}.browser-host-intro strong{font-size:15px}.browser-host-intro p{font-size:10px;margin-top:8px}.authority-notice{display:block;padding:10px 12px;font-size:9px}.authority-notice strong{display:block;font-size:10px;margin-bottom:3px}}@media(max-width:650px){.special-label{font-size:7px;padding:1px 2px}.track-warning{font-size:8px}.track-cell{min-height:64px}.track-cell.crowded-cell{min-height:96px}.rules-copy ul{padding-left:20px}.house-rules-list li{font-size:11px;line-height:1.95}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}html[data-motion=reduce] *,html[data-motion=reduce] *:before,html[data-motion=reduce] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.leave-room-button{min-height:42px;border:2px solid var(--ink);border-radius:6px;padding:8px 13px;background:var(--paper);color:var(--ink);font-size:12px;font-weight:800;white-space:nowrap}.leave-room-button:hover:not(:disabled){background:#fff5be}.spectator-badge{font-size:10px;background:var(--blue);color:var(--paper);border-radius:4px;padding:4px 7px;white-space:nowrap}.room-session-note{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:11px;margin-bottom:18px;color:#55554b}.room-session-note.is-spectating{padding:13px 16px;background:var(--paper);border:2px solid var(--ink);border-left:7px solid var(--blue);border-radius:7px;color:var(--ink)}.room-session-note strong{font-size:12px}.entry-panel .room-lifetime-note{grid-column:1/-1}.entry-panel .join-entry-form{display:flex;flex-direction:column;align-items:stretch;gap:18px}.entry-panel .join-entry-form>.button{align-self:stretch}.join-role{border:0;padding:0;margin:0;display:flex;gap:12px;min-width:0}.join-role legend{font-size:12px;font-weight:800;margin-bottom:8px;padding:0}.entry-panel .join-role label{display:flex;flex-direction:row;align-items:center;flex:1;border:2px solid var(--ink);border-radius:7px;padding:11px 13px;gap:10px;cursor:pointer;background:var(--paper);min-width:0}.entry-panel .join-role label:has(input:checked){background:#e8eeff;border-color:var(--blue)}.entry-panel .join-role input{width:18px;height:18px;flex:none;margin:0;padding:0;accent-color:var(--blue)}.join-role small{display:block;font-size:10px;font-weight:500;margin-top:4px;line-height:1.6}.room-directory{border-top:2px solid var(--ink);margin-top:3px;padding-top:18px;min-width:0}.room-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.room-directory-heading h3{font-size:18px;font-weight:900}.room-directory-heading p{font-size:11px;color:#67675c;margin-top:4px}.entry-panel .room-directory-heading .text-button{font-size:12px;flex:none;min-height:40px}.room-directory-list{display:grid;gap:11px;max-height:520px;overflow-y:auto;padding:0 5px 5px 0;scrollbar-width:thin}.directory-room{display:flex;align-items:center;justify-content:space-between;gap:18px;border:2px solid var(--ink);border-radius:8px;padding:15px;background:#f4f2e9}.directory-room-main{min-width:0;flex:1}.directory-room-main>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.directory-room-main strong{font-size:14px;overflow-wrap:anywhere}.directory-phase{font-size:9px;color:var(--paper);background:var(--blue);border-radius:4px;padding:4px 6px;white-space:nowrap}.directory-phase.is-lobby{color:#28511e;background:#d7eab7}.directory-room-main p{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;margin-top:8px}.directory-room-main p b{letter-spacing:1.5px}.directory-room-main small{display:block;font-size:10px;color:#67675c;margin-top:7px;line-height:1.8}.directory-room-actions{display:flex;gap:9px;flex:none;align-items:center}.entry-panel .directory-room-actions .button{grid-area:auto;min-height:43px;padding:10px 13px;font-size:12px;margin:0;white-space:nowrap}.entry-panel .directory-room-actions .button-secondary{background:var(--yellow)}.directory-empty{padding:24px 18px;border:1.5px dashed #77776c;border-radius:7px;text-align:center;font-size:12px;color:#67675c}.directory-error{font-size:12px;color:#a6261e;line-height:1.8;margin-bottom:12px}.directory-footnote{font-size:10px;color:#67675c;line-height:1.8;margin-top:11px}@media(max-width:800px){.directory-room{align-items:flex-start;flex-direction:column;gap:12px}.directory-room-actions{width:100%;justify-content:flex-end}.entry-panel .directory-room-actions .button{flex:1}.room-actions{flex-wrap:wrap;gap:10px}.room-label,.join-role{flex-wrap:wrap}.entry-panel .join-role label{min-width:150px}}@media(max-width:650px){.leave-room-button{min-height:44px;font-size:11px;padding:9px 11px}.room-bar{gap:10px}.room-actions{margin-left:0;width:100%;justify-content:flex-end}.room-session-note{font-size:10px;margin-bottom:16px}.room-session-note strong{font-size:11px}.spectator-badge{font-size:9px}.entry-panel .join-role label{padding:10px;font-size:11px;min-width:130px}.entry-panel .join-role input{width:18px;height:18px}.join-role small{font-size:9px}.room-directory-heading h3{font-size:16px}.room-directory-heading p{font-size:10px}.directory-room{padding:13px}.directory-room-main strong{font-size:12px}.directory-room-main p{font-size:10px;gap:8px}.directory-room-main small{font-size:9px}.entry-panel .directory-room-actions .button{font-size:11px;min-height:45px}.room-directory-list{max-height:600px}}.duo-selection{--selection-action-bottom:max(16px,env(safe-area-inset-bottom));padding-bottom:var(--selection-action-bottom)}.duo-selection .hand-selection{padding-bottom:8px}.duo-selection .character-card,.duo-selection .character-card button{scroll-margin-bottom:calc(190px + var(--selection-action-bottom))}.duo-selection-action.sticky-action{bottom:var(--selection-action-bottom);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;max-width:1000px}.selection-order{display:flex;align-items:center;gap:16px;min-width:0}.selection-order-preview{min-width:0}.selection-order-preview>strong{display:block;font-size:12px;color:#315c62;margin-bottom:5px}.selection-order ol{display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);align-items:center;gap:12px;width:max-content;max-width:100%;list-style:none;margin:0;padding:0}.selection-order ol:before{content:"→";grid-column:2;grid-row:1;justify-self:center;color:#315c62}.selection-order li{grid-row:1;display:grid;gap:2px;min-width:0;overflow-wrap:anywhere;font-size:14px;font-weight:800;text-align:center}.selection-order li:first-child{grid-column:1}.selection-order li:last-child{grid-column:3}.selection-order li b{font-size:10px;color:#315c62}.duo-selection-action .selection-order>.button{width:auto;flex:none;min-width:80px;min-height:44px;padding:10px;font-size:12px;white-space:nowrap}.selection-confirm{display:grid;gap:6px;text-align:center}.selection-confirm>span{font-size:10px;font-weight:800}.selection-confirm>.button{min-width:210px;min-height:48px}.practice-team-actions{display:flex;gap:10px}@media(max-width:1280px){.duo-selection{--selection-action-bottom: calc(max(18px,env(safe-area-inset-bottom)) + 54px) }}@media(max-width:1000px){.duo-selection-action.sticky-action{grid-template-columns:minmax(0,1fr);gap:10px}.selection-confirm{grid-template-columns:minmax(0,1fr) auto;align-items:center;text-align:left}}@media(max-width:650px){.duo-selection{--selection-action-bottom: calc(max(14px,env(safe-area-inset-bottom)) + 54px) }.duo-selection-action.sticky-action{padding:10px;gap:9px}.selection-order{gap:10px}.selection-order-preview{flex:1}.selection-order-preview>strong{font-size:10px}.selection-order ol{gap:10px}.selection-order li{font-size:12px}.selection-confirm{display:flex;flex-direction:column;gap:0}.selection-confirm>span{font-size:9px;margin-bottom:5px}.selection-confirm>.button{min-width:0;min-height:48px}.practice-team-actions{flex-wrap:wrap}.practice-pool{padding-bottom:60px}}.results-host-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:620px;margin:0 auto}.results-host-actions>.button{width:100%;height:100%;min-height:54px;padding:12px 18px}.leave-room-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}.leave-room-options>section{display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px;border:2px solid var(--ink);border-radius:9px;background:var(--paper)}.leave-room-options h3{font-size:16px}.leave-room-options p{flex:1;font-size:12px;line-height:1.8}.leave-room-options .button{width:100%;min-height:50px;padding:11px 12px;font-size:13px}.acquired-ability{margin:20px 0 26px;padding:18px;border:2px solid var(--ink);border-radius:10px;background:#fff5be;text-align:left}.acquired-ability-label{font-size:12px;font-weight:800}.acquired-ability-card{display:flex;gap:14px;align-items:center;margin:12px 0}.acquired-ability-card>.avatar{width:68px;height:68px;flex:none}.acquired-ability-card h3{margin:0}.acquired-ability-card .english-name{margin:4px 0 0}.acquired-ability .full-ability{margin:10px 0}.effective-ability{margin-top:16px;padding-top:14px;border-top:1px dashed var(--ink)}.inherited-ability{font-size:12px;font-weight:800}@media(max-width:650px){.leave-room-options{gap:10px}.leave-room-options>section{padding:12px;gap:10px}.leave-room-options h3{font-size:14px}.leave-room-options p{font-size:11px}.leave-room-options .button{font-size:12px}.acquired-ability{padding:14px}}@media(max-width:650px){.results-host-actions{gap:9px}.results-host-actions>.button{min-height:50px;padding:10px 12px}}.owned-room-return{margin:24px 0 4px;padding:22px;border:3px solid var(--ink);border-radius:13px;background:var(--yellow);box-shadow:4px 5px 0 var(--ink)}.owned-room-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.owned-room-heading h2{font-size:23px}.owned-room-heading p{font-size:12px;margin-top:7px;line-height:1.7}.owned-room-heading>[role=status]{font-size:11px}.owned-room-list{display:grid;gap:12px;margin-top:18px}.owned-room-list article{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px;border:2px solid var(--ink);border-radius:9px;background:var(--paper)}.owned-room-list article>div{min-width:0}.owned-room-list strong{display:block;font-size:18px;letter-spacing:1px}.owned-room-list span,.owned-room-list small{display:block;margin-top:6px;font-size:12px;line-height:1.6}.owned-room-list small{font-size:10px;color:#626251}.owned-room-list .button{flex:none}.owned-room-error{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-top:14px;font-size:12px;line-height:1.7}@media(max-width:650px){.owned-room-return{margin:18px 0 2px;padding:16px;box-shadow:3px 4px 0 var(--ink)}.owned-room-heading{align-items:flex-start;flex-direction:column;gap:9px}.owned-room-heading h2{font-size:20px}.owned-room-heading p{font-size:11px}.owned-room-list{margin-top:14px}.owned-room-list article{align-items:stretch;flex-direction:column;gap:12px;padding:13px}.owned-room-list strong{font-size:16px}.owned-room-list .button{width:100%;min-height:48px;font-size:13px}.owned-room-error{align-items:flex-start;flex-direction:column;gap:6px}}html[data-view=race],html[data-view=race] body,html[data-view=race] #root{height:100%;overflow:hidden;overscroll-behavior:none}html[data-view=race] .game-shell{position:fixed;inset:0;max-width:none;padding:0;margin:0}.immersive-race{position:relative;width:100%;height:100dvh;overflow:hidden;background:#c4e4d7;isolation:isolate;color:#25464c}.immersive-race>.board-scene{position:absolute;inset:0;height:100%;min-height:0;border:0;border-radius:0;box-shadow:none}.scene-loading{position:absolute;inset:0;display:grid;place-items:center;font-size:16px;font-weight:800}.race-status-stack{display:contents}.race-hud-top{position:absolute;z-index:40;top:max(16px,env(safe-area-inset-top));left:max(18px,env(safe-area-inset-left));display:flex;align-items:center;gap:12px;pointer-events:none}.race-menu-button{pointer-events:auto;border:1px solid #31596140;background:#fffaf0f2;color:#25464c;border-radius:13px;padding:11px 15px;min-height:46px;font-size:12px;font-weight:900;box-shadow:0 4px 16px #23494112;display:flex;align-items:center;gap:8px}.race-menu-button>span{font-size:20px;line-height:1}.race-match-label{font-size:12px;display:flex;flex-direction:column;gap:4px;text-shadow:0 1px 4px #dff4e3}.race-match-label>strong>span{font-weight:500;font-size:11px}.race-match-label .connection{font-size:10px;gap:5px}.race-status-pill{position:absolute;z-index:38;left:50%;top:max(20px,env(safe-area-inset-top));transform:translate(-50%);max-width:calc(100% - 660px);background:#fffaf0ed;box-shadow:0 3px 15px #23494112;border:1px solid #31596133;border-radius:30px;min-height:40px;padding:8px 14px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:800;white-space:nowrap}.race-status-pill>i{height:7px;width:7px;flex:none;border-radius:50%;background:#6d9285}.race-status-pill.is-mine>i{background:#e96343;box-shadow:0 0 0 4px #ef805526}.race-status-pill .skip-animation{border:0;min-height:24px;padding:2px 6px;background:transparent;color:#315961;font-size:11px;white-space:nowrap}.race-status-pill .countdown{border:0;width:auto;height:auto;font-size:12px;margin-left:4px;gap:2px}.race-status-pill .countdown small{font-size:9px}.floating-racers{position:absolute;z-index:38;left:max(18px,env(safe-area-inset-left));bottom:max(20px,env(safe-area-inset-bottom));max-width:calc(100% - 245px);display:flex;gap:8px;padding:7px 10px 8px;background:#fffaf0e8;border:1px solid #31596130;border-radius:18px;box-shadow:0 5px 25px #23494118;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.floating-racers::-webkit-scrollbar{display:none}.floating-racer{position:relative;flex:0 0 58px;width:58px;padding:2px 3px 0;border:0;border-radius:11px;background:transparent;color:#315961;opacity:1!important}.floating-avatar{display:block;position:relative;height:52px;width:52px;border-radius:50%;border:2px solid var(--racer-color);background:#e7edda;transition:background .2s,box-shadow .2s}.floating-avatar .avatar{height:46px;width:46px}.floating-avatar>i{position:absolute;bottom:-2px;right:-3px;background:#315961;color:#fffaf0;font-size:9px;font-style:normal;border:2px solid #fffaf0;border-radius:7px;padding:0 3px;line-height:15px}.floating-racer.is-active .floating-avatar{background:#ffe18a;box-shadow:0 0 0 3px #ffcf39,0 0 16px #e8b04d77}.floating-racer.is-active:before{content:"";position:absolute;width:6px;height:6px;border-radius:50%;background:#df7043;top:-5px;left:calc(50% - 3px)}.floating-racer-score{display:flex;align-items:center;justify-content:space-between;margin-top:5px;font-size:11px;gap:5px}.floating-racer-score>b{font-size:9px;font-weight:600}.floating-racer-score>span{font-weight:900}.floating-racer-score small{font-size:8px;margin-left:2px;font-weight:500}.floating-roll{position:absolute;z-index:39;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));display:flex;align-items:flex-end;flex-direction:column;gap:8px}.roll-caption{background:#fffaf0c9;border-radius:7px;padding:3px 8px;color:#456b68;font-size:10px}.floating-roll .race-roll-button{background:#f36a45;color:#fffdf4;box-shadow:0 5px #a64230,0 10px 24px #63463820;border:1px solid #a6423040;border-radius:17px;min-width:190px;min-height:68px;font-size:19px;padding:14px 25px;gap:12px}.floating-roll .race-roll-button:disabled{opacity:1;background:#eef4e4e6;color:#76958a;box-shadow:0 3px #72948755;border-color:#72948744;font-size:15px}.floating-roll .race-roll-button:not(:disabled):active{box-shadow:0 1px #a64230;transform:translateY(4px)}.floating-choice.choice-panel{position:absolute;z-index:44;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(620px,calc(100% - 36px));max-height:48dvh;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:22px 25px;display:block;background:#fffaf0f7;border:2px solid #537969;border-radius:18px;box-shadow:0 12px 40px #23494130}.floating-choice .burst{float:left;width:27px;height:27px;font-size:23px;margin-right:9px;background:none;color:#e3773f}.floating-choice h2{font-size:18px;line-height:1.55;color:#25464c}.floating-choice p{font-size:11px;line-height:1.7;margin-top:3px;color:#6c7f71}.floating-choice .choice-options{margin-top:15px;display:flex;flex-wrap:wrap;gap:10px;max-width:none}.choice-option{display:contents}.choice-character{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;flex:1 1 160px;padding:10px;border:1px solid #c5cfb8;border-radius:12px;background:#f3f3e7}.choice-character>.avatar{width:32px;height:32px}.choice-character .choice-character-detail{grid-column:1/-1;min-height:40px;border:1px solid #a6b69c;border-radius:7px;background:#fffdf5;color:#315961;font:inherit;font-size:12px;cursor:pointer}.choice-character-detail:focus-visible{outline:3px solid #c59029;outline-offset:2px}.choice-character-ability{grid-column:1/-1;min-width:0}.floating-choice .choice-character-ability p{margin:0;color:#344e45;font-size:12px;line-height:1.75;overflow-wrap:anywhere}.choice-character-ability>strong{color:#82582a;font-size:12px}.choice-character.choice-offer{margin-top:12px;background:#e8eedf;border-color:#9cb185}.choice-offer>strong{color:#25464c;font-size:14px}.floating-choice.choice-panel.character-choice-panel{max-height:min(72dvh,calc(100dvh - 110px))}.character-choice-panel .choice-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.character-choice-panel .choice-option{display:block;grid-column:1/-1}.character-choice-panel .choice-option>.button{width:100%}.character-choice-panel .choice-character{align-content:start}@media(max-width:700px){html[data-view=race] .floating-choice.choice-panel.character-choice-panel{max-height:min(68dvh,calc(100dvh - 110px - var(--chat-keyboard-offset,0px)))}.character-choice-panel .choice-options{grid-template-columns:minmax(0,1fr)}}.choice-heading{display:flow-root}.choice-dice-hint{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-top:12px;padding:9px 12px;border:1px solid #d8bb78;border-radius:10px;background:#fff0c9;color:#315961;font-size:12px;line-height:1.6}.choice-dice-hint strong{font-size:18px;white-space:nowrap}.choice-related-racers{margin-top:10px;min-width:0}.choice-related-racers>span{display:block;color:#6c7f71;font-size:10px;margin-bottom:5px}.choice-related-list{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:1px 1px 3px}.choice-related-character{flex:0 0 156px;min-width:0;display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:3px 6px;padding:6px 8px;border:1px solid #b8c7ae;border-radius:9px;background:#f3f3e7;color:#315961;text-align:left;font:inherit;cursor:pointer}.choice-related-character>.avatar{width:25px;height:25px}.choice-related-character>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.35}.choice-related-character small{display:block;overflow:hidden;text-overflow:ellipsis;font-size:9px;font-weight:500}.choice-related-character>span{grid-column:1/-1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:10px;line-height:1.4;height:28px}.choice-collapse{float:right;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:6px 10px;margin:-4px -6px 5px 10px;border:1px solid #a6b69c;border-radius:8px;background:#fffdf5;color:#315961;font:inherit;font-size:12px;cursor:pointer}.choice-collapse:focus-visible{outline:3px solid #c59029;outline-offset:2px}.floating-choice.choice-panel.is-collapsed{padding:10px 14px;max-height:none;bottom:max(118px,env(safe-area-inset-bottom))}.floating-choice.choice-panel.is-collapsed>div:first-child{padding-left:0}.collapsed-choice-summary{display:flex;align-items:center;gap:12px}.collapsed-choice-summary>span{min-width:0;flex:1}.collapsed-choice-summary strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#25464c}.collapsed-choice-summary small{display:block;font-size:10px;color:#6c7f71;margin-top:3px}.collapsed-choice-summary .choice-collapse{float:none;flex-shrink:0;margin:0}.floating-choice .button{min-height:46px;font-size:13px;padding:10px 16px;box-shadow:0 3px #315961;border:1px solid #315961;border-radius:9px;background:#315961;color:#fffaf0;flex:1 1 auto}.floating-choice .button-secondary{background:#f0eddf;color:#315961}.race-results-overlay{position:absolute;z-index:42;inset:max(100px,env(safe-area-inset-top)) 10% max(135px,env(safe-area-inset-bottom));display:grid;place-items:center;pointer-events:none}.race-results-overlay .results-panel{pointer-events:auto;width:min(850px,100%);max-height:100%;overflow-y:auto;overscroll-behavior:contain;margin:0;background:#fffaf0f5;border:2px solid #537969;border-radius:20px;box-shadow:0 12px 40px #23494130}.race-menu-content{padding:20px 24px 24px}.race-menu-content .presentation-settings{margin:0 0 20px;background:#f2f1e6;box-shadow:none;gap:8px 22px;border:1px solid #b5c7b7}.race-menu-links{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:20px}.race-menu-links .button{font-size:12px;min-height:44px;padding:10px 16px}.race-menu-links .end-room-button{margin-left:auto;min-height:44px}.race-menu-content details{border-top:1px solid #31596125;padding:12px 0;font-size:12px}.race-menu-content summary{cursor:pointer;min-height:28px;font-weight:800}.race-menu-content .event-log{margin-top:12px;max-height:270px;overflow-y:auto}.race-menu-content .racer-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}.race-menu-content .my-team{margin:0;padding:0;border:0}.race-menu-note{font-size:10px;color:#708171;line-height:1.9;margin-top:12px}html[data-view=race] .error-banner,html[data-view=race] .connection-banner{position:fixed;z-index:65;top:75px;left:50%;transform:translate(-50%);width:min(600px,calc(100% - 36px));border-radius:10px;padding:12px 16px}html[data-view=race] .modal-panel{color:var(--ink)}.solo-intro{border:1px solid #31596144;border-radius:9px;background:#e9efdc;padding:11px 13px;font-size:12px}.solo-intro p{font-size:11px;line-height:1.7;margin-top:5px}@media(max-width:1000px){.race-status-pill{top:78px;max-width:calc(100% - 350px)}.race-match-label>strong>span{display:none}.floating-racer{flex-basis:49px;width:49px}.floating-avatar{width:43px;height:43px}.floating-avatar .avatar{height:38px;width:38px}.floating-racers{gap:4px;padding:8px}.floating-racer-score{font-size:10px}.entry-tabs button{padding-top:16px;padding-bottom:16px}}@media(max-width:650px){.entry-tabs{display:grid;grid-template-columns:repeat(2,1fr)}.entry-tabs button{width:100%}.race-hud-top{top:max(10px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));gap:9px}.race-menu-button{min-height:44px;padding:8px 11px;border-radius:12px;font-size:11px}.race-match-label{font-size:11px;gap:3px}.race-match-label .connection{font-size:9px}.race-status-pill{top:calc(max(10px,env(safe-area-inset-top)) + 106px);left:12px;transform:none;max-width:calc(100% - 24px);min-height:32px;font-size:10px;padding:6px 10px;gap:6px}.race-status-pill .skip-animation{font-size:10px}.floating-racers{left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:calc(max(12px,env(safe-area-inset-bottom)) + 87px);max-width:none;gap:3px;padding:7px 8px;border-radius:14px;width:max-content;max-width:calc(100% - 20px)}.floating-racer{flex-basis:41px;width:41px;padding:1px 2px 0}.floating-avatar{width:37px;height:37px}.floating-avatar .avatar{height:32px;width:32px}.floating-avatar>i{font-size:8px;line-height:12px;padding:0 2px;border-width:1px}.floating-racer-score{font-size:10px;gap:2px;margin-top:3px}.floating-racer-score>b{font-size:8px}.floating-racer-score small{font-size:7px;margin-left:1px}.floating-roll{right:max(14px,env(safe-area-inset-right));bottom:max(17px,env(safe-area-inset-bottom));gap:5px}.floating-roll .race-roll-button{min-height:59px;min-width:166px;border-radius:15px;font-size:18px;padding:12px 19px}.floating-roll .race-roll-button:disabled{font-size:13px}.roll-caption{font-size:9px}.floating-choice.choice-panel{bottom:max(14px,env(safe-area-inset-bottom));width:calc(100% - 24px);max-height:43dvh;padding:16px;border-radius:15px}.floating-choice h2{font-size:16px}.floating-choice .choice-options{gap:8px}.floating-choice .button{min-height:44px;padding:9px 12px;font-size:12px}.race-results-overlay{inset:165px 12px 172px}.race-results-overlay .results-panel{padding:19px 16px}.race-results-overlay .results-title svg{width:38px;height:38px}.race-results-overlay .results-title h2{font-size:21px}.race-results-overlay .results-title{gap:12px;margin-bottom:20px}.race-results-overlay .round-results{gap:10px}.race-results-overlay .result-racer h3{font-size:12px}.race-results-overlay .results-actions{margin-top:18px}.race-menu-content{padding:16px}.race-menu-links{gap:8px}.race-menu-links .button{font-size:11px;padding:10px}.race-menu-content .presentation-settings{padding:10px;gap:5px 15px}}@media(max-height:500px)and (min-width:650px){.floating-racers{bottom:12px}.floating-avatar{width:38px;height:38px}.floating-avatar .avatar{width:33px;height:33px}.floating-roll{bottom:12px}.race-results-overlay{inset:75px 20% 95px}.floating-choice.choice-panel{max-height:60dvh}.race-status-pill{top:16px;max-width:calc(100% - 560px)}}@media(max-width:360px){.race-status-pill{max-width:calc(100% - 176px);white-space:normal;line-height:1.45;border-radius:12px;align-items:flex-start;font-size:9px}.race-status-pill .skip-animation{flex-shrink:0;padding:2px}.race-match-label{max-width:91px}}.floating-choice.duel-choice .choice-options .duel-roll-button{min-height:64px;font-size:18px;gap:12px}.race-hud-buttons{display:flex;align-items:center;gap:8px;pointer-events:auto}.race-hud-buttons .leave-room-button{border:1px solid #31596140;background:#fffaf0f2;color:#25464c;border-radius:13px;min-height:46px;font-size:11px;box-shadow:0 4px 16px #23494112}.spectator-race-label{display:block;background:#fffaf0ed;border:1px solid #31596133;border-radius:13px;padding:15px 18px;color:#315961;font-size:13px;font-weight:800;box-shadow:0 3px 15px #23494112}.floating-choice .spectator-wait{font-weight:800;opacity:1;font-size:12px;padding:6px 0}.race-hud-top{max-width:calc(100% - 35px)}@media(min-width:1001px){.race-status-pill{max-width:calc(100% - 800px)}}@media(max-width:650px){.race-hud-top{align-items:flex-start;gap:8px;flex-wrap:wrap}.race-hud-buttons{gap:6px}.race-hud-buttons .leave-room-button{min-height:44px;font-size:10px;padding:9px}.race-match-label{padding-top:4px;font-size:10px}.spectator-race-label{font-size:11px;padding:14px}.floating-choice .spectator-wait{font-size:11px}}@media(min-width:361px)and (max-width:650px){.race-hud-top{flex-wrap:nowrap}.race-match-label{max-width:calc(100vw - 315px)}.race-match-label strong{line-height:1.3}}@media(max-width:360px){.race-match-label{position:absolute;top:47px;left:2px;padding-top:0;max-width:none}.race-match-label>strong{display:none}.race-match-label .connection{font-size:8px}}.race-special-event{position:absolute;z-index:36;top:130px;left:20px;width:min(300px,calc(100% - 40px));padding:10px 14px;border:1px solid #9272bd;border-radius:12px;background:#fffaf0f5;font-size:12px;line-height:1.6;color:#315961}.race-special-event summary{cursor:pointer;font-weight:800}.race-special-event p{margin:8px 0}@media(max-width:650px){.race-special-event{top:145px;left:10px;width:min(240px,calc(100% - 20px));font-size:11px}}.race-track-info{position:absolute;z-index:36;top:130px;left:20px;width:min(310px,calc(100% - 40px));display:grid;gap:8px;max-height:38dvh;overflow-y:auto;overscroll-behavior:contain;color:#315961;font-size:12px;line-height:1.6}.race-track-info .race-special-event{position:static;width:100%;font-size:inherit}.track-rule-card,.twist-card-panel{background:#fffaf0f5;border:1px solid #537969;border-radius:12px;overflow:hidden}.track-rule-card{padding:10px 14px}.track-rule-card summary{font-weight:800;cursor:pointer}.track-rule-card p{margin:8px 0}.twist-card-panel{border-color:#9272bd}.twist-card-toggle{display:flex;align-items:center;gap:10px;justify-content:space-between;width:100%;min-height:44px;padding:9px 13px;border:0;background:#eee1ff;color:#493861;font:inherit;font-weight:900;cursor:pointer}.twist-card-toggle span{font-size:11px}.twist-card-list{padding:0 13px 12px}.twist-card-list article{padding:12px 0;border-bottom:1px solid #b6a5c155}.twist-card-list article:last-of-type{border-bottom:0}.twist-card-list small{font-size:10px;color:#79638d}.twist-card-list h3{font-size:15px;margin:3px 0}.twist-card-list p{margin:4px 0}.twist-card-status{background:#f0ead9;padding:7px 9px;border-radius:7px;font-size:11px}.floating-choice.route-choice-panel{width:min(420px,calc(100% - 24px));padding:12px 16px;color:#315961}.route-choice-panel details{margin-top:6px}.route-choice-panel summary{font-size:11px;cursor:pointer}.route-choice-panel .choice-options{margin-top:9px}.route-dice-summary{display:flex;align-items:center;gap:10px;margin:8px 0;padding:9px 12px;border:1px solid #d8bb78;border-radius:10px;background:#fff0c9;color:#315961}.route-dice-summary>svg{flex:none}.route-dice-summary small{display:block;font-size:10px;line-height:1.5}.route-dice-summary strong{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;font-size:20px;line-height:1.5}.route-dice-summary strong>span{font-size:12px;font-weight:600}@media(max-width:650px){.race-track-info{top:145px;left:10px;width:min(245px,calc(100% - 20px));max-height:29dvh;font-size:11px}.twist-card-list h3{font-size:14px}.floating-choice.route-choice-panel{padding:10px 14px}.floating-choice.route-choice-panel h2{font-size:14px}}@media(max-width:650px){.race-status-stack{position:absolute;z-index:38;top:calc(max(10px,env(safe-area-inset-top)) + 106px);left:max(12px,env(safe-area-inset-left));right:calc(max(12px,env(safe-area-inset-right)) + 160px);display:flex;flex-direction:column;align-items:flex-start;gap:8px;pointer-events:none}.race-status-stack>.race-status-pill{position:static;transform:none;max-width:100%;flex-wrap:wrap;white-space:normal;border-radius:14px;pointer-events:auto}.race-status-stack>.race-track-info{position:static;width:min(245px,100%);pointer-events:auto}}@media(min-width:651px)and (max-width:1366px)and (min-height:571px){.race-hud-top{right:calc(max(20px,env(safe-area-inset-right)) + 272px);max-width:none;flex-wrap:wrap;gap:8px 12px}.race-hud-buttons{flex-wrap:wrap;max-width:100%}.race-match-label{flex-direction:row;align-items:center;gap:10px}.race-match-label>strong>span{display:none}.immersive-race .scene-camera-toolbar{top:calc(max(16px,env(safe-area-inset-top)) + var(--race-hud-height,110px) + 10px);max-width:calc(100% - 312px);align-items:flex-start}.immersive-race .camera-options label,.immersive-race .camera-options small{position:static}.race-status-stack{position:absolute;z-index:38;top:calc(max(16px,env(safe-area-inset-top)) + var(--race-hud-height,110px) + var(--race-camera-height,46px) + 20px);left:max(18px,env(safe-area-inset-left));right:calc(max(20px,env(safe-area-inset-right)) + 272px);display:flex;flex-direction:column;align-items:flex-start;gap:8px;pointer-events:none}.race-status-stack>.race-status-pill{position:static;transform:none;max-width:100%;flex-wrap:wrap;white-space:normal;border-radius:14px;pointer-events:auto}.race-status-stack>.race-track-info{position:static;width:min(310px,100%);max-height:26dvh;pointer-events:auto}}@media(min-width:651px)and (max-width:1000px)and (min-height:571px){.race-hud-top .room-pause-actions{display:contents}.race-hud-top .room-pause-description{order:1;flex-basis:100%}}.room-community{position:fixed;z-index:46;left:max(18px,env(safe-area-inset-left));bottom:max(18px,env(safe-area-inset-bottom));color:#25464c;font-size:13px}.chat-toggle{border:1px solid #537969;background:#fffaf0f5;color:#25464c;border-radius:24px;min-height:44px;padding:9px 16px;box-shadow:0 4px 18px #23494125;font-weight:800}.chat-unread{display:inline-grid;place-items:center;background:#d95b3e;color:#fff;border-radius:12px;min-width:22px;height:22px;margin-left:8px;font-size:11px}.room-chat{display:flex;flex-direction:column;width:330px;height:min(440px,65dvh);border:1px solid #537969;border-radius:16px;box-shadow:0 8px 35px #23494135;background:#fffaf0fa;overflow:hidden}.room-chat header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #31596125}.room-chat header div{display:grid;gap:3px}.room-chat header small{font-size:10px;color:#60796e}.room-chat header button{border:0;background:transparent;min-width:44px;min-height:36px;font-size:25px;color:inherit}.chat-personal{display:flex;justify-content:space-between;align-items:center;padding:5px 12px;font-size:11px;border-bottom:1px solid #31596115}.chat-personal>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:150px}.chat-personal button{border:0;background:transparent;min-height:32px;color:#315961;font-size:11px}.chat-messages{flex:1;min-height:30px;overflow:auto;overscroll-behavior:contain;padding:12px;scrollbar-width:thin}.chat-message{margin:0 0 12px;line-height:1.5}.chat-message>div{display:flex;gap:8px;align-items:baseline}.chat-message strong{font-size:11px;max-width:230px;overflow-wrap:anywhere}.chat-message time{font-size:9px;color:#718476;white-space:nowrap}.chat-message p{background:#edf1e4;border-radius:0 10px 10px;padding:7px 10px;margin-top:4px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.chat-message.is-self p{background:#e4edd4}.chat-message.is-system p{background:transparent;padding:0;color:#718476;font-size:11px}.chat-message.is-system strong{color:#718476}.chat-empty{font-size:12px;color:#718476;text-align:center;margin:22px 0}.room-chat form{display:flex;gap:7px;padding:10px;border-top:1px solid #31596125;align-items:flex-end}.room-chat textarea{width:100%;min-width:0;min-height:42px;max-height:90px;resize:none;border:1px solid #b3c1b0;border-radius:8px;padding:10px;font:inherit;font-size:16px;background:#fffdf6;color:#25464c;outline-offset:2px}.room-chat form button{flex:none;min-height:42px;border:0;border-radius:8px;background:#315961;color:#fffdf4;padding:9px 12px;font-weight:700}.room-chat form button:disabled{opacity:.5}.chat-new{border:0;background:#e0ebd2;padding:7px;color:#315961;font-size:12px}.chat-error{color:#a43e2b;padding:5px 10px;font-size:11px}.rename-form{padding:22px;display:grid;gap:18px;font-size:13px;line-height:1.7}.rename-form label{display:grid;gap:7px}.rename-form input{border:1px solid #aebba7;padding:12px;border-radius:8px;font-size:16px;min-width:0}.edition-badge{display:inline-block;border:1px solid #c4d0b8;border-radius:6px;padding:2px 6px;color:#426c5c;background:#eff3e7;font-size:9px;line-height:1.5}.edition-badge.second-wind{color:#644688;border-color:#d0c0e0;background:#f3eaf8}.pool-settings{display:grid;gap:6px;font-size:12px}.pool-settings>select{font:inherit;padding:11px;border:1px solid #b5c2ac;border-radius:8px;background:#fffdf4}.pool-settings small{color:#637863;line-height:1.5}.character-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0}.character-filters input,.character-filters select{border:1px solid #aebba7;border-radius:8px;background:#fffdf4;padding:11px;min-height:44px;max-width:100%;font:inherit;font-size:13px}.character-filters input{flex:1;min-width:150px}.character-filters label{font-size:11px;display:flex;align-items:center;gap:7px}.character-filters .filter-count{font-size:11px;color:#637863}.effective-powers{margin:14px 0;border:1px solid #b5c2ac;border-radius:12px;padding:14px;background:#edf2e4}.effective-powers h3{font-size:14px;margin-bottom:10px}.effective-powers article{margin-top:12px}.effective-powers .power-name{display:flex;align-items:center;gap:8px}.effective-powers .avatar{width:40px;height:40px}.effective-powers p,.character-rule-metadata{font-size:12px;line-height:1.8}.effective-powers .disabled-ability{color:#a43e2b}.character-rule-metadata{margin:14px 0;display:grid;grid-template-columns:75px 1fr;gap:7px}.character-rule-metadata dt{color:#607961}.character-rule-metadata dd{margin:0}.character-sources{font-size:11px;line-height:1.9}.character-sources a{overflow-wrap:anywhere}.character-modal{max-height:75dvh;overflow:auto}.avatar.sw-avatar{display:block;object-fit:contain;border-radius:50%;clip-path:circle(50% at 50% 50%);overflow:hidden;flex-shrink:0}.pool-room-label{font-size:11px;color:#647b62;margin:8px 0}@media(max-width:650px){.room-community{left:12px;bottom:calc(max(14px,env(safe-area-inset-bottom)) + var(--chat-keyboard-offset,0px))}.room-community.is-open{left:8px;right:8px}.room-chat{width:100%;height:min(330px,42dvh);border-radius:16px 16px 10px 10px}.chat-toggle{font-size:12px;padding:9px 13px}.room-chat header{padding:8px 12px}.room-chat header small{font-size:9px}.chat-personal{padding:2px 10px}.room-chat form{padding:7px}.room-chat textarea{min-height:42px;padding:9px}.character-filters{gap:7px}.character-filters input{flex-basis:100%}.character-filters label{font-size:10px}}@media(max-height:570px){.room-chat{height:210px}}@media(max-width:650px){html[data-view=race] .floating-roll{bottom:calc(max(17px,env(safe-area-inset-bottom)) + var(--chat-keyboard-offset,0px))}html[data-view=race] .floating-choice.choice-panel{bottom:calc(max(14px,env(safe-area-inset-bottom)) + var(--chat-keyboard-offset,0px));max-height:min(43dvh,calc(50dvh - var(--chat-keyboard-offset,0px) / 2))}}.room-chat .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}body>.room-community{position:fixed;top:auto;right:auto;margin:0;transform:none;translate:none;rotate:none;scale:none;max-width:calc(100vw - 24px);isolation:isolate}.chat-notice-region{position:absolute;left:0;bottom:calc(100% + 10px);width:min(310px,calc(100vw - 32px));pointer-events:auto}.chat-notice{position:relative;display:grid;gap:4px;width:100%;padding:12px 14px;text-align:left;color:#25464c;background:#fffdf4;border:2px solid #537969;border-radius:14px 14px 14px 4px;box-shadow:0 5px 22px #23494135;animation:chat-notice-arrive .18s ease-out;overflow-wrap:anywhere}.chat-notice strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-notice span{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.chat-notice small{font-size:10px;color:#637961}.chat-toggle:has(.chat-unread){border:2px solid #b6573d;background:#fff2d6;box-shadow:0 4px 18px #b6573d35}@keyframes chat-notice-arrive{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.chat-notice{animation:none}}@media(max-width:650px){body>.room-community.is-open{right:8px;max-width:none}.chat-notice-region{width:min(310px,calc(100vw - 28px))}}.chat-notice-region{display:flex;flex-direction:column;gap:8px;max-height:calc(100dvh - 220px);overflow:hidden;padding:3px;pointer-events:none}.chat-notice{flex:none;pointer-events:auto;border-width:1px;padding:10px 12px;animation-duration:var(--chat-notice-enter,.22s);will-change:transform,opacity}.chat-notice.is-leaving{animation:chat-notice-leave var(--chat-notice-exit,.22s) ease-in forwards;pointer-events:none}@keyframes chat-notice-leave{to{opacity:0;transform:translateY(-8px)}}html[data-motion=reduce] .chat-notice{animation:none!important;will-change:auto}html[data-motion=reduce] .chat-notice.is-leaving{opacity:0}@media(prefers-reduced-motion:reduce){.chat-notice{animation:none!important;will-change:auto}.chat-notice.is-leaving{opacity:0}}@media(max-width:650px){.chat-notice-region{gap:6px;max-height:calc(100dvh - 205px)}.chat-notice{padding:8px 10px}.chat-notice span{font-size:12px;-webkit-line-clamp:2}}body>.room-community.in-race{top:auto;right:max(20px,env(safe-area-inset-right));bottom:max(118px,env(safe-area-inset-bottom));left:auto}body>.room-community.in-race .room-chat{width:252px;height:min(440px,max(160px,calc(100dvh - var(--chat-minimap-bottom,90px) - 146px)));max-height:none}body>.room-community.in-race .chat-notice-region{top:auto;bottom:calc(100% + 10px);right:0;left:auto;width:252px;max-height:max(0px,calc(100dvh - var(--chat-minimap-bottom,90px) - 190px))}@media(max-width:650px),(max-width:1000px)and (max-height:570px){body>.room-community.in-race{top:auto;bottom:calc(max(14px,env(safe-area-inset-bottom)) + var(--chat-keyboard-offset,0px));left:12px;right:auto}body>.room-community.in-race.is-open{left:8px;right:8px;max-width:none}body>.room-community.in-race .room-chat{width:100%;height:min(300px,max(210px,38dvh),max(210px,calc(100dvh - var(--chat-keyboard-offset,0px) - var(--chat-minimap-bottom,230px) - 180px)));max-height:calc(100dvh - var(--chat-keyboard-offset,0px) - var(--chat-minimap-bottom,230px) - 28px)}body>.room-community.in-race .room-chat header{flex-shrink:0;padding:8px 12px}body>.room-community.in-race .chat-personal{flex-shrink:0;padding:2px 10px}body>.room-community.in-race .room-chat form{flex-shrink:0;padding:7px}body>.room-community.in-race .chat-messages{min-height:0}body>.room-community.in-race .chat-notice-region{position:relative;inset:auto;margin-bottom:8px;width:min(310px,calc(100vw - 28px));max-height:min(164px,max(0px,calc(100dvh - var(--chat-keyboard-offset,0px) - var(--chat-minimap-bottom,230px) - 90px)))}html[data-view=race] .floating-choice.choice-panel{bottom:calc(max(14px,env(safe-area-inset-bottom)) + var(--chat-keyboard-offset,0px) + var(--race-chat-height,44px) + 12px);max-height:min(68dvh,calc(100dvh - var(--chat-keyboard-offset,0px) - var(--race-chat-height,44px) - var(--race-minimap-bottom,230px) - 42px))}html[data-view=race] body .floating-choice.choice-panel.character-choice-panel{max-height:min(68dvh,calc(100dvh - var(--chat-keyboard-offset,0px) - var(--race-chat-height,44px) - var(--race-minimap-bottom,230px) - 42px))}html[data-view=race] .floating-choice.choice-panel.is-collapsed{max-height:none}html[data-view=race] .floating-racers{bottom:calc(max(100px,calc(var(--race-chat-height,44px) + 28px)) + var(--chat-keyboard-offset,0px))}html[data-view=race] body:has(.floating-choice.is-collapsed) .floating-racers{bottom:calc(var(--race-chat-height,44px) + var(--chat-keyboard-offset,0px) + 130px)}body:has(>.room-community.in-race.is-open) .floating-roll,body:has(>.room-community.in-race .chat-notice-region) .floating-roll{bottom:calc(max(14px,env(safe-area-inset-bottom)) + var(--chat-keyboard-offset,0px) + var(--race-chat-height,44px) + 12px)}}@media(min-width:651px)and (max-width:1366px)and (min-height:571px){html[data-view=race]{--tablet-chat-width:clamp(310px,30vw,360px)}body>.room-community.in-race{--tablet-chat-bottom:max(14px,env(safe-area-inset-bottom),calc(118px - var(--chat-keyboard-offset,0px)));left:max(18px,env(safe-area-inset-left));right:auto;bottom:calc(var(--tablet-chat-bottom) + var(--chat-keyboard-offset,0px))}body>.room-community.in-race .room-chat{width:var(--tablet-chat-width);height:min(400px,max(210px,calc(100dvh - var(--chat-keyboard-offset,0px) - var(--tablet-chat-bottom) - var(--race-status-bottom,340px) - 16px)));max-height:calc(100dvh - var(--chat-keyboard-offset,0px) - var(--tablet-chat-bottom) - 16px)}body>.room-community.in-race .room-chat header,body>.room-community.in-race .chat-personal,body>.room-community.in-race .room-chat form{flex-shrink:0}body>.room-community.in-race .chat-messages{min-height:0}body>.room-community.in-race .chat-notice-region{left:0;right:auto;width:var(--tablet-chat-width);max-height:max(0px,calc(100dvh - var(--chat-keyboard-offset,0px) - 182px - var(--race-status-bottom,340px)))}body:has(>.room-community.in-race.is-open) .floating-choice.choice-panel,body:has(>.room-community.in-race .chat-notice-region) .floating-choice.choice-panel{left:calc(max(18px,env(safe-area-inset-left)) + var(--tablet-chat-width) + 16px);transform:none;width:calc(100% - var(--tablet-chat-width) - max(18px,env(safe-area-inset-left)) - max(18px,env(safe-area-inset-right)) - 16px);max-height:min(68dvh,calc(100dvh - max(var(--race-minimap-bottom,300px),var(--race-status-bottom,340px)) - 38px))}body:has(>.room-community.in-race.is-open) .floating-choice.choice-panel.character-choice-panel,body:has(>.room-community.in-race .chat-notice-region) .floating-choice.choice-panel.character-choice-panel{max-height:min(68dvh,calc(100dvh - max(var(--race-minimap-bottom,300px),var(--race-status-bottom,340px)) - 38px))}body:has(>.room-community.in-race.is-open) .floating-choice.choice-panel.is-collapsed,body:has(>.room-community.in-race .chat-notice-region) .floating-choice.choice-panel.is-collapsed{max-height:none}}@media(min-width:1001px)and (max-height:570px){body>.room-community.in-race{top:auto}.immersive-race .board-minimap{top:90px;right:284px;width:190px}body>.room-community.in-race .room-chat{height:min(300px,calc(100dvh - 216px))}body:has(>.room-community.in-race.is-open) .floating-choice.choice-panel,body:has(>.room-community.in-race .chat-notice-region) .floating-choice.choice-panel{left:18px;transform:none;width:calc(100% - 506px)}}@media(min-width:651px)and (max-width:1000px)and (max-height:570px){.immersive-race .board-minimap{top:8px;right:8px;width:160px}html[data-view=race] body .floating-choice.choice-panel{left:12px;transform:none;width:calc(100% - 192px);max-height:calc(100dvh - var(--chat-keyboard-offset,0px) - var(--race-chat-height,44px) - 110px)}html[data-view=race] body .floating-choice.choice-panel.character-choice-panel{max-height:calc(100dvh - var(--chat-keyboard-offset,0px) - var(--race-chat-height,44px) - 110px)}html[data-view=race] body .floating-choice.choice-panel.is-collapsed{max-height:none}}.continuation-notice{position:fixed;top:8px;left:50%;transform:translate(-50%);z-index:80;max-width:90vw;padding:9px 16px;border:2px solid var(--ink);border-radius:8px;background:var(--yellow);font-size:12px;text-align:center}.home .entry-panel{display:block;margin:8px 0 55px;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}.entry-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px}.entry-heading h2{font-size:25px;letter-spacing:-.6px}.entry-heading p{font-size:12px;line-height:1.7}.home .entry-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:0;background:transparent;border:0}.home .entry-tabs button{position:relative;display:grid;justify-items:start;gap:7px;min-width:0;padding:21px 18px;margin:0;border:2px solid var(--ink);border-radius:12px;box-shadow:3px 4px 0 var(--ink);background:var(--paper);color:var(--ink);text-align:left;white-space:normal;transition:transform .15s,box-shadow .15s,background .15s}.entry-tabs strong{font-size:19px;line-height:1.5}.entry-tabs small{font-size:11px;font-weight:500;line-height:1.7}.entry-icon{display:grid;place-items:center;width:43px;height:43px;border:1.5px solid var(--ink);border-radius:10px;background:var(--pink);margin-bottom:6px}#join-tab .entry-icon{background:#b9cdfb}#practice-tab .entry-icon{background:var(--green)}#ai-tab .entry-icon{background:var(--yellow)}.entry-arrow{position:absolute;top:23px;right:17px}.home .entry-tabs button[aria-selected=true]{background:var(--blue);color:var(--paper);border-color:var(--ink)}.home .entry-tabs button[aria-selected=true] .entry-icon{color:var(--ink)}@media(hover:hover){.home .entry-tabs button:not(:disabled):hover{transform:translateY(-3px);box-shadow:3px 7px 0 var(--ink)}}.home .entry-tabs button:not(:disabled):active{transform:translate(3px,4px);box-shadow:none}.home .entry-panel form{margin-top:25px;border:3px solid var(--ink);border-radius:14px;background:var(--paper);box-shadow:5px 6px 0 var(--ink);min-width:0}.setup-heading{grid-column:1 / -1;border-bottom:1px solid #d5d4c8;padding-bottom:20px}.home .setup-back{margin:0 0 16px;min-height:36px}.setup-heading h2{scroll-margin-top:24px}.setup-heading h2:focus{outline:none}.setup-heading p{font-size:12px;line-height:1.8;margin-top:8px;color:#67675c}.home .entry-panel .join-entry-form{display:flex}.home .entry-panel .join-entry-form>.button{align-self:stretch}.join-code-heading{border-top:1px solid #d5d4c8;padding-top:20px}.join-code-heading h3{font-size:18px}.join-code-heading p{font-size:11px;line-height:1.8;color:#67675c;margin-top:5px}@media(max-width:850px){.home .entry-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-heading{align-items:start;flex-direction:column;gap:5px}}@media(max-width:650px){.home .entry-panel{margin:5px 0 38px}.entry-heading{margin-bottom:15px}.entry-heading h2{font-size:22px}.entry-heading p{font-size:11px}.home .entry-tabs{gap:12px}.home .entry-tabs button{padding:16px 12px 14px;gap:5px;border-radius:10px}.entry-tabs strong{font-size:17px}.entry-tabs small{font-size:10px}.entry-icon{width:37px;height:37px;margin-bottom:4px}.entry-icon svg{width:23px;height:23px}.entry-arrow{top:18px;right:11px}.entry-arrow svg{width:16px;height:16px}.home .entry-panel form{margin-top:20px}.setup-heading{padding-bottom:16px}.home .setup-back{font-size:12px;margin-bottom:12px}.home .entry-panel .setup-heading h2{font-size:20px}}@media(prefers-reduced-motion:reduce){.home .entry-tabs button{transition:none}}body:has(.character-grid){background:#eceede}.avatar{overflow:hidden}.avatar.sw-avatar,.avatar.fan-avatar{border-radius:0;clip-path:none;background:transparent}.portrait-scene{position:relative;display:block;isolation:isolate;width:100%;aspect-ratio:1;color:var(--portrait-accent)}.portrait-scene>.avatar{position:absolute;width:88%;height:88%;left:6%;top:5%;transition:transform .25s ease}.character-grid{gap:24px;align-items:stretch}.character-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:7px;border:1px solid #bcc0a9;border-radius:15px;background:#fffdf5;box-shadow:0 2px 3px #3143320b,0 9px 22px -14px #25392d66;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.character-card:after{content:"";position:absolute;inset:3px;border:1px solid #dedfce;border-radius:12px;pointer-events:none}.character-card.selected{border-color:#426647;outline:3px solid #527851;outline-offset:3px;box-shadow:0 8px 24px -12px #284f4173}.character-card.used{opacity:.7}.character-card.used .portrait-scene{filter:grayscale(.7)}.character-card:nth-child(n) .character-avatar-detail{display:flex;flex-direction:column;justify-content:flex-start;position:relative;height:auto;padding:14px 12px 10px;background:var(--portrait-paper);border:1px solid #293b3633;border-radius:9px 9px 4px 4px;overflow:hidden;color:var(--portrait-accent)}.card-print-line{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%;font-family:Georgia,Times New Roman,serif;font-size:9px;font-weight:700;letter-spacing:.1em;white-space:nowrap}.card-print-line>span:last-child{font-size:10px;font-style:italic;letter-spacing:0;font-variant-numeric:tabular-nums}.character-avatar-detail .portrait-scene{width:100%;max-width:255px;margin:-1px auto -5px}.character-avatar-detail:hover .avatar{transform:none}.card-art-caption{display:flex;align-items:center;justify-content:space-between;width:100%;border-top:1px solid #536d4830;padding-top:7px;font-size:8px;letter-spacing:.2em;font-weight:700}.card-art-caption>span:nth-child(2){font-size:13px;line-height:1;opacity:.6}.character-card .character-copy{display:flex;flex-direction:column;flex:1;min-width:0;padding:18px 14px 8px;background:#fffdf5}.character-copy h3{font-family:"Noto Serif SC",Songti SC,STSong,SimSun,serif;font-size:25px;line-height:1.35;font-weight:900;letter-spacing:.025em;color:#2c4237;overflow-wrap:anywhere}.character-card .english-name{font-family:Georgia,Times New Roman,serif;font-style:italic;font-size:12px;line-height:1.5;letter-spacing:.02em;font-weight:400;color:#6e7968;opacity:1;margin:4px 0 12px;overflow-wrap:anywhere}.character-copy .edition-badge{align-self:flex-start;max-width:100%;margin:0;padding:3px 6px;background:#f2f1e7;color:#66705c;border:1px solid #d5d8c8;border-radius:3px;font-size:9px;line-height:1.5;font-weight:500;white-space:normal}.character-copy .ability-text{min-height:0;margin-top:12px;color:#465443;font-size:12px;line-height:1.85;overflow-wrap:anywhere;white-space:pre-line}.card-actions{margin-top:auto;padding-top:16px}.character-card:nth-child(n) .character-art.character-pick{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:42px;height:auto;margin:0;padding:9px 12px;border:1px solid #2e5147;border-radius:5px;background:#355b4f;color:#fffdf1;font-size:12px;font-weight:700;transition:background .2s ease,transform .2s ease}.character-card:nth-child(n) .character-art.character-pick[aria-pressed=true]{background:#e7efde;color:#36553d;border-color:#7b966e}.character-card:nth-child(n) .character-art.character-pick:disabled{background:#f0f0e5;border-color:#d5d7c7;color:#8a917e;opacity:1}.character-card .detail-button{min-height:39px;margin:7px 0 0;padding:8px 0 2px;border:0;color:#63765c;font-size:10px;font-weight:600}.character-card .detail-button span{font-weight:400}.character-card .selected-tick{top:34px;right:11px;width:27px;height:27px;border:2px solid #fffdf4;background:#3d644c;color:#fffdf4;box-shadow:0 2px 5px #2d463429;z-index:2}.character-card .used-label{bottom:32px;background:#3a493c;border:1px solid #fffdf4;z-index:2}.character-card button:focus-visible{outline:3px solid #4b715a;outline-offset:3px;z-index:3}.character-detail .character-identity .modal-avatar{width:106px;height:106px;padding:0;border:1px solid #d1d9c3;border-radius:12px;background:#f0f1e3;overflow:hidden}.character-detail .modal-avatar .portrait-scene{background:var(--portrait-paper)}.character-detail .identity-name{font-family:"Noto Serif SC",Songti SC,STSong,SimSun,serif;font-size:23px;color:#2c4237}.modal-panel:has(.character-detail){border:1px solid #a6b198;border-radius:15px;box-shadow:0 20px 80px #152d3a40;background:#fffdf5}.modal-panel:has(.character-detail) .modal-header{background:#f1f2e6;border-bottom:1px solid #d5d9c5;color:#34523e}.modal-panel:has(.character-detail) .modal-header h2{font-size:18px;letter-spacing:.03em}.modal-panel:has(.character-detail) .close-button{background:#fffdf5;border:1px solid #a6b198;color:#45664c}@media(hover:hover){.character-card:hover{transform:translateY(-4px);border-color:#a4b198;box-shadow:0 5px 8px #3143320a,0 16px 30px -15px #25392d55}.character-avatar-detail:hover .avatar{transform:translateY(-3px) rotate(-2deg)}.character-card:nth-child(n) .character-art.character-pick:hover:not(:disabled){background:#27483e}.character-card:nth-child(n) .character-art.character-pick[aria-pressed=true]:hover:not(:disabled){background:#d9e6cd}.character-card .detail-button:hover{color:#294d3d}}.character-card .character-pick:active:not(:disabled){transform:translateY(1px)}@media(max-width:1000px){.character-grid{gap:18px}}@media(max-width:650px){.character-grid{gap:13px}.character-card{padding:5px;border-radius:11px}.character-card:after{inset:2px;border-radius:9px}.character-card:nth-child(n) .character-avatar-detail{padding:10px 7px 7px;border-radius:6px 6px 3px 3px}.card-print-line{font-size:6px;letter-spacing:.04em}.card-print-line>span:last-child{font-size:8px}.character-avatar-detail .portrait-scene{margin:2px auto 0}.card-art-caption{font-size:7px;letter-spacing:.05em;padding-top:5px}.character-card .character-copy{padding:12px 7px 5px}.character-copy h3{font-size:20px;line-height:1.4}.character-card .english-name{font-size:10px;margin:3px 0 9px}.character-copy .edition-badge{font-size:8px;padding:2px 4px}.character-copy .ability-text{font-size:11px;line-height:1.8;margin-top:10px}.card-actions{padding-top:12px}.character-card:nth-child(n) .character-art.character-pick{font-size:11px;min-height:44px;padding:9px 8px}.character-card .detail-button{font-size:9px;min-height:44px;margin-top:3px}.character-card .selected-tick{top:25px;right:7px;width:23px;height:23px}.character-detail .character-identity .modal-avatar{width:86px;height:86px}.character-detail .identity-name{font-size:20px}}@media(prefers-reduced-motion:reduce){.character-card,.portrait-scene>.avatar{transition:none}.character-card:hover,.character-avatar-detail:hover .avatar{transform:none}}html[data-motion=reduce] .character-card:hover,html[data-motion=reduce] .character-avatar-detail:hover .avatar{transform:none}
