:root{font-family:'Segoe UI',system-ui,sans-serif;color:#152946;background:#f4f6fa;font-size:14px;color-scheme:light;--ink:#152946;--muted:#657891;--rule:#dce3ee;--blue:#4385f5;--amber:#e5aa57;--cyan:#54c6c5;--player:#4385f5}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,select,input[type=range]{cursor:pointer}button,a{transition:background .16s,color .16s,border-color .16s}button{border:0;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #4385f5;outline-offset:4px}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Bahnschrift,'Segoe UI',sans-serif;font-weight:500;text-wrap:balance}h1{font-size:42px;line-height:1.13;letter-spacing:-1.1px}h2{font-size:21px;letter-spacing:-.4px}h3{font-size:16px}p{line-height:1.75}[hidden]{display:none!important}.site-header{max-width:1600px;margin:auto;height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--rule);gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:27px;font-family:Bahnschrift,'Segoe UI',sans-serif;letter-spacing:-.6px}.brand small{display:block;color:var(--muted);font:11px 'Segoe UI',sans-serif;letter-spacing:.1px;margin-top:2px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;background:var(--ink);color:var(--cyan);border-radius:12px;font-size:39px}.quiet-button{background:none;color:#4e6581;display:flex;align-items:center;gap:10px;font-size:12px;padding:7px 0}.quiet-button span{border:1px solid #aebfd4;width:20px;height:20px;border-radius:50%;display:grid;place-items:center}.quiet-button:hover{color:#1e63bb}.match-progress{font-size:12px;color:#526c8b;padding:9px 14px;background:#e8edf5;border-radius:6px}.screen{max-width:1380px;margin:auto;padding:42px 40px;min-height:calc(100dvh - 154px)}.lobby{display:grid;grid-template-columns:1fr 470px;align-items:center;gap:90px;padding-top:54px;padding-bottom:54px}.intro-label{color:#4e718d;font-size:12px;margin-bottom:20px}.lobby h1{font-size:56px;letter-spacing:-1.8px;line-height:1.07;margin-bottom:22px}.lead{max-width:480px;font-size:15px;color:#566d89;line-height:1.8}.lobby-art{display:block;width:100%;max-width:520px;height:auto;margin:28px 0 12px}.lobby-art text{font-family:Bahnschrift,'Segoe UI',sans-serif;font-size:16px;fill:#152946}.flow-note{display:flex;flex-wrap:wrap;gap:14px 20px;font-size:10px;color:#526c8b}.flow-note>span{display:flex;align-items:center;gap:7px}.flow-note b{font-weight:500;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#e3eaf4;color:#274e7d}.setup-panel{background:#fff;border:1px solid var(--rule);border-radius:15px;padding:30px;box-shadow:0 10px 30px #15294604}.setup-panel>p{color:var(--muted);font-size:12px;margin-top:8px}.count-field{padding:0;border:0;margin:27px 0 21px}.count-field legend{font-size:11px;color:#556d88;margin-bottom:10px}.count-options{display:flex;gap:7px}.count-options label{display:flex;flex:1}.count-options input{position:absolute;width:1px;height:1px;opacity:0}.count-options span{display:grid;place-items:center;width:100%;padding:10px 9px;background:#f2f5fa;border:1px solid #dce3ee;border-radius:6px;font-size:12px;cursor:pointer}.count-options input:checked+span{color:#fff;background:var(--ink);border-color:var(--ink)}.count-options input:focus-visible+span{outline:3px solid #4385f5;outline-offset:3px}.player-names{display:grid;grid-template-columns:1fr 1fr;gap:16px 13px}.player-names label{font-size:11px;color:#526a87;min-width:0}.name-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--color);margin-right:6px}.player-names input{display:block;width:100%;font-size:13px;color:var(--ink);padding:11px 10px;border:1px solid #d5deeb;background:#fff;border-radius:6px;margin-top:7px;min-width:0}.setup-options{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:24px}.setup-options label{font-size:11px;color:#526a87}select{display:block;width:100%;padding:10px 9px;background:#fff;border:1px solid #d5deeb;border-radius:6px;color:var(--ink);font-size:12px;margin-top:8px;min-height:37px}.primary-button,.secondary-button{display:flex;align-items:center;justify-content:center;text-decoration:none;text-align:center;gap:14px;min-height:45px;padding:12px 18px;border-radius:7px;font-size:13px;font-weight:500;line-height:1.5}.primary-button{color:#fff;background:var(--ink)}.primary-button:hover{background:#294b70}.primary-button:disabled{background:#708197;cursor:default}.secondary-button{border:1px solid #c7d4e6;background:#fff;color:#305883}.secondary-button:hover{background:#edf3fc;border-color:#9bb6db}.setup-panel>.primary-button{width:100%;margin-top:26px}.setup-panel .primary-button span{margin-left:auto}.solo-option{margin-top:16px;border-top:1px solid var(--rule);padding-top:19px}.solo-option button{width:100%}.solo-option span{display:block;color:var(--muted);font-size:10px;text-align:center;margin-top:8px;line-height:1.7}.form-error{color:#a33043!important;font-size:12px;padding-top:12px}.curtain{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;max-width:900px;padding-top:45px;padding-bottom:55px}.player-badge{display:grid;place-items:center;width:66px;height:66px;border-radius:19px;background:var(--player);color:#fff;font-family:Bahnschrift,'Segoe UI',sans-serif;font-size:29px;margin-bottom:23px}.round-label{color:#607a98;font-size:11px;margin-bottom:12px}.curtain h1{max-width:750px;overflow-wrap:anywhere}.curtain-copy{font-size:14px;color:#5d7491;max-width:500px;margin-top:18px}.challenge-summary{margin:28px 0;padding:22px 25px;border-top:1px solid #d6deea;border-bottom:1px solid #d6deea;max-width:520px;width:100%}.challenge-summary h2{font-size:17px;margin-bottom:8px}.challenge-summary p{font-size:12px;color:#627891}.challenge-summary p:last-child{font-size:11px;margin-top:8px}.curtain>.primary-button{min-width:280px}.privacy-note{font-size:11px;color:#7a8ca3;max-width:420px;line-height:1.8;margin-top:17px}.sealed-symbol{font-size:34px;display:grid;place-items:center;background:#e3edf7;color:#305b84;width:66px;height:66px;border-radius:20px;margin-bottom:24px}.sealed-players{padding:0;list-style:none;display:flex;gap:13px;flex-wrap:wrap;justify-content:center;margin:26px 0}.sealed-players li{font-size:12px;padding:9px 12px;background:#e9eef6;border-radius:6px;display:flex;align-items:center;gap:8px}.sealed-players i{width:7px;height:7px;border-radius:50%;background:var(--player)}.draw-heading{display:flex;justify-content:space-between;align-items:start;gap:30px;margin-bottom:26px}.draw-heading h1{font-size:32px;max-width:700px;overflow-wrap:anywhere}.draw-heading p:last-child{font-size:12px;color:#5e7692;margin-top:11px}.turn-timer{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:4px 7px;color:var(--ink);flex-shrink:0;min-width:155px}.turn-timer>span{grid-column:1/-1;font-size:10px;color:#6b819b}.turn-timer output{font-family:Bahnschrift,'Segoe UI',sans-serif;font-size:43px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-1px}.turn-timer small{font-size:11px;color:var(--muted)}.turn-timer.urgent{color:#b43b4f}.draw-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:27px;align-items:start}.drawing-field{border:1px solid #d7e0ec;border-radius:12px;background:#fff;overflow:hidden;min-width:0}.private-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#5b738d;padding:17px 22px;border-bottom:1px solid #e9edf4}.privacy-dot{width:6px;height:6px;background:var(--player);border-radius:50%}#draw-canvas{width:100%;touch-action:none;user-select:none}#draw-canvas svg{display:block;width:100%;touch-action:none}#draw-canvas text{font-family:'Segoe UI',sans-serif;font-size:11px;fill:#5c7594}#draw-canvas .control-label{font-size:12px;fill:#233f62;font-weight:600}#draw-canvas .endpoint-label{font-size:13px;fill:#152946;font-weight:600}#draw-canvas .handle{cursor:grab}#draw-canvas[data-dragging=true] .handle{cursor:grabbing}.editor-caption{font-size:10px;color:#7388a0;padding:0 22px 18px}.draw-controls{padding:20px 0 0}.draw-controls h2{font-size:18px;margin-bottom:11px}.draw-controls>p{font-size:12px;color:#647c98;line-height:1.8;margin-bottom:23px}.draw-controls>label{display:block;font-size:11px;color:#546d89;margin-bottom:25px}.slider-field{margin:0 0 24px}.slider-field label{display:flex;justify-content:space-between;font-size:11px;gap:10px;color:#536c89}.slider-field output{font-variant-numeric:tabular-nums;color:#294e7e;font-weight:600;white-space:nowrap}input[type=range]{display:block;appearance:none;-webkit-appearance:none;width:100%;height:5px;border-radius:5px;background:#dce5f1;margin:15px 0 5px;accent-color:var(--player)}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:17px;height:17px;border-radius:50%;background:var(--player);border:3px solid #fff;box-shadow:0 0 0 1px #bccbdc}input[type=range]::-moz-range-thumb{width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:var(--player)}.text-button{background:none;padding:0;color:#38608f;font-size:11px}.text-button:hover{color:#1262d6}hr{height:1px;border:0;background:var(--rule);margin:24px 0}.draw-controls .secret-note{font-size:11px;margin-bottom:20px}.draw-controls>.primary-button{width:100%;background:var(--ink)}.lock-note{font-size:10px;color:#7a8da4;display:block;text-align:center;margin-top:10px;line-height:1.6}.race-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:25px}.race-heading h1{font-size:30px}.race-heading p:last-child{font-size:12px;color:#607996;margin-top:10px}.physics-badge{font-size:10px;color:#6e839c;white-space:nowrap}.race-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:25px;align-items:start}.race-layout>div{min-width:0}.race-stage{position:relative;height:460px;background:#152946;border-radius:12px;overflow:hidden;color:#fff;isolation:isolate}#race-viewport{position:absolute;inset:0}#race-viewport canvas{display:block;width:100%;height:100%;touch-action:none}.stage-camera{position:absolute;top:19px;right:19px;padding:3px;display:flex;gap:3px;background:#10203959;border:1px solid #a1b4d222;border-radius:7px}.stage-camera button{background:none;color:#a2b8d3;padding:7px 11px;font-size:11px;border-radius:4px}.stage-camera button[aria-pressed=true]{background:#b6cbe11a;color:#fff}.endpoint{position:absolute;top:0;left:0;pointer-events:none;border-left:2px solid #e8f1fc;padding-left:8px;font-size:16px;font-family:Bahnschrift,'Segoe UI',sans-serif}.endpoint span{display:block;font:9px 'Segoe UI',sans-serif;color:#adc4e0;margin-top:2px}.race-legend{position:absolute;left:22px;right:22px;bottom:18px;display:flex;gap:12px 20px;flex-wrap:wrap;font-size:11px;color:#d4e0ed}.race-legend span{display:flex;align-items:center;gap:7px}.race-legend i{width:16px;height:3px;border-radius:3px;background:var(--player)}.marble-label{position:absolute;top:0;left:0;pointer-events:none;font-size:9px;color:#fff;border-radius:3px;padding:2px 5px;background:#203958d9}.countdown{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#10213c47;pointer-events:none}.countdown>span{font-size:13px;color:#d5e3f5}.countdown output{font-family:Bahnschrift,'Segoe UI',sans-serif;font-size:104px;line-height:1.2;letter-spacing:-5px}.race-transport{display:flex;align-items:center;gap:18px;padding:18px 1px}.race-transport .secondary-button{min-height:37px;padding:7px 15px;min-width:85px;font-size:12px}.race-clock{display:flex;align-items:baseline;gap:5px;flex:1}.race-clock output{font-size:28px;font-family:Bahnschrift,'Segoe UI',sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.6px}.race-clock span{font-size:11px;color:var(--muted)}.race-transport>label{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:8px}.race-transport select{width:68px;min-height:32px;padding:5px 7px;margin:0;font-size:11px}.replay-scrub{padding:0 1px}.replay-scrub label{font-size:11px;color:var(--muted)}.race-results{background:#fff;border:1px solid #d7e0eb;border-radius:11px;padding:23px 20px}.race-results>h2{font-size:18px;margin-bottom:18px}.arrival-row{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:9px;align-items:center;padding:13px 0;border-top:1px solid #e8edf5}.arrival-number{color:#7d8fa7;font-size:11px;font-variant-numeric:tabular-nums}.arrival-row .player-name{display:flex;align-items:center;gap:7px;min-width:0;font-size:12px;overflow-wrap:anywhere}.player-color{width:7px;height:7px;border-radius:50%;background:var(--player);flex:0 0 7px}.arrival-time{font-variant-numeric:tabular-nums;font-size:12px;white-space:nowrap}.arrival-row small{display:block;font-size:9px;color:#7b8fa6;margin-top:4px}.round-result{border-top:1px solid var(--rule);padding-top:23px;margin-top:6px}.round-result>p:first-child{font-size:10px;color:#68829f;margin-bottom:7px}.round-result h3{font-size:23px;line-height:1.3;overflow-wrap:anywhere;letter-spacing:-.6px}.round-result>p:last-child{font-size:11px;line-height:1.8;color:#607a98;margin-top:10px}.results-actions{display:grid;gap:9px;margin-top:22px}.results-actions button{width:100%;font-size:12px}.score-panel{border-top:1px solid var(--rule);padding-top:20px;margin-top:22px}.score-panel h3{font-size:12px;margin-bottom:12px}.score-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:10px;font-size:11px}.score-row>span{display:flex;align-items:center;gap:7px;overflow-wrap:anywhere}.score-row b{font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}.race-rules-note{font-size:10px;line-height:1.8;color:#7b8fa7;margin-top:18px}.final-scores{max-width:480px;width:100%;margin:30px 0;text-align:left}.final-scores .score-row{border-bottom:1px solid #d8e2ee;padding:14px 0;font-size:15px}.final-scores .score-row b{font-size:18px}.final-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.site-footer{max-width:1600px;margin:auto;display:flex;justify-content:space-between;gap:20px;padding:22px 40px;color:#7b8da5;font-size:10px}.race-error{position:absolute;inset:30px;display:grid;place-items:center;text-align:center;line-height:1.8;color:#d5e3f5;background:#152946}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{border:1px solid var(--rule);border-radius:14px;padding:28px;max-width:610px;width:calc(100% - 32px);color:var(--ink);overscroll-behavior:contain;box-shadow:0 20px 100px #1529464d}dialog::backdrop{background:#10213b9e;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.dialog-heading button{border-radius:50%;width:30px;height:30px;font-size:20px;background:#eaf0f8}dialog ol{padding-left:21px;margin:0}dialog li{font-size:13px;line-height:1.8;margin-bottom:11px;color:#526b87}dialog strong{color:var(--ink);font-weight:600}dialog h3{margin:24px 0 9px;font-size:16px}dialog p{font-size:12px;color:#607996;margin-top:10px;line-height:1.8}
@media(min-width:1500px){.screen{padding-top:60px}.lobby{gap:120px;grid-template-columns:1fr 490px}.lobby h1{font-size:64px}.race-stage{height:530px}.race-layout{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:1150px){.lobby{gap:45px;grid-template-columns:1fr 420px}.lobby h1{font-size:47px}.lead{font-size:14px}.setup-panel{padding:26px}.screen{padding:35px 30px}.site-header{padding:0 30px}.draw-layout,.race-layout{grid-template-columns:minmax(0,1fr) 240px;gap:23px}.race-results{padding:21px 16px}.race-heading h1{font-size:27px}.race-stage{height:440px}.draw-heading h1{font-size:29px}.turn-timer{min-width:135px}.site-footer{padding-left:30px;padding-right:30px}}
@media(max-width:850px){.lobby{grid-template-columns:1fr;gap:30px;max-width:670px}.lobby h1{font-size:48px}.lobby-story{position:relative}.lobby-art{max-width:390px;margin-top:12px}.lobby .lead{max-width:500px}.setup-panel{padding:28px}.lobby{padding-top:35px}.draw-layout,.race-layout{grid-template-columns:minmax(0,1fr)}.draw-controls{padding:20px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.draw-controls h2,.draw-controls>p,.draw-controls>label,.draw-controls>hr,.draw-controls>.primary-button,.draw-controls>.lock-note{grid-column:1/-1}.draw-controls>label{max-width:350px}.draw-controls .secret-note{margin-bottom:18px}.draw-controls .text-button{justify-self:start}.draw-controls>hr{width:100%}.race-results{padding:25px}.race-heading .physics-badge{display:none}.arrival-list{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.score-panel{margin-top:20px}.results-actions{grid-template-columns:1fr 1fr}.score-panel #scores{display:flex;flex-wrap:wrap;gap:0 30px}.score-row{min-width:150px}.race-stage{height:450px}.curtain{padding-top:40px;padding-bottom:45px}.curtain h1{font-size:38px}.site-footer{line-height:1.7}.match-progress{font-size:10px}}
@media(max-width:520px){.site-header{height:76px;padding:0 18px;gap:12px;flex-wrap:wrap}.brand{font-size:24px;gap:9px}.brand-mark{width:35px;height:35px;font-size:33px;border-radius:10px}.brand small{font-size:9px}.quiet-button{font-size:10px;gap:6px}.quiet-button span{width:17px;height:17px}.match-progress{order:3;margin:0 auto;padding:5px 10px;background:none;font-size:10px}.site-header:has(.match-progress:not([hidden])){height:103px;padding-top:14px;padding-bottom:10px}.screen{padding:29px 16px;min-height:calc(100dvh - 148px)}.lobby{gap:27px}.lobby h1{font-size:41px;letter-spacing:-1.3px;line-height:1.1}.intro-label{font-size:11px;margin-bottom:15px}.lead{font-size:13px}.lobby-art{margin:18px 0 13px;max-width:390px}.flow-note{font-size:9px;gap:10px 12px}.flow-note b{width:17px;height:17px;font-size:9px}.setup-panel{padding:24px 20px;border-radius:11px}.setup-panel h2{font-size:22px}.setup-panel>p{font-size:11px}.count-field{margin-top:23px}.count-options span{font-size:11px;padding:10px 7px}.player-names{gap:15px 10px}.player-names input{font-size:16px;padding:10px 8px}.setup-options{gap:10px}.setup-options label{font-size:10px}select{font-size:12px;min-height:40px}.primary-button,.secondary-button{min-height:44px;font-size:12px}.curtain{padding-top:38px}.curtain h1{font-size:34px;letter-spacing:-.8px}.curtain-copy{font-size:13px}.player-badge,.sealed-symbol{width:57px;height:57px;font-size:26px;margin-bottom:22px}.challenge-summary{padding:20px 6px;margin:22px 0}.challenge-summary h2{font-size:17px}.challenge-summary p{font-size:11px}.curtain>.primary-button{min-width:0;width:100%;max-width:350px}.privacy-note{font-size:10px;max-width:300px}.draw-heading{gap:14px;margin-bottom:21px}.draw-heading h1{font-size:25px;letter-spacing:-.5px}.draw-heading p:last-child{font-size:11px;line-height:1.7}.draw-heading .round-label{font-size:10px}.turn-timer{min-width:74px;max-width:90px;gap:4px}.turn-timer>span{font-size:9px;line-height:1.6}.turn-timer output{font-size:36px}.turn-timer small{font-size:9px;grid-column:1/-1}.drawing-field{border-radius:9px}.private-label{font-size:10px;padding:14px 15px}.editor-caption{font-size:9px;padding:0 15px 15px}.draw-controls{gap:0 17px;padding-top:9px}.draw-controls h2{font-size:19px}.draw-controls>p{font-size:12px}.draw-controls>label{font-size:12px}.slider-field label{font-size:11px}.draw-controls .primary-button{font-size:13px}.race-heading h1{font-size:26px;letter-spacing:-.6px}.race-heading p:last-child{font-size:11px;line-height:1.7}.race-stage{height:390px;border-radius:10px}.stage-camera{top:16px;right:16px}.stage-camera button{padding:7px 10px}.race-legend{left:17px;right:15px;bottom:17px;font-size:10px;gap:12px 16px}.race-legend span{max-width:45%;overflow-wrap:anywhere}.endpoint{font-size:15px}.endpoint span{font-size:9px}.countdown output{font-size:85px}.race-clock output{font-size:25px}.race-transport{gap:14px;padding-top:16px}.race-transport>label{font-size:9px;gap:5px}.race-transport select{width:59px}.race-results{padding:21px 17px}.arrival-list{grid-template-columns:1fr}.arrival-row{padding:13px 0}.race-results>h2{font-size:19px}.round-result h3{font-size:26px}.results-actions{grid-template-columns:1fr}.score-panel #scores{gap:0 20px}.score-row{min-width:120px}.site-footer{padding:20px 18px;font-size:9px}.site-footer>span:last-child{max-width:185px;text-align:right}.final-scores .score-row{font-size:14px}.final-actions{width:100%;max-width:340px}.final-actions>*{width:100%}.sealed-players{gap:9px}.sealed-players li{font-size:11px;padding:8px 10px}.marble-label{font-size:9px}dialog{padding:23px}.dialog-heading h2{font-size:21px}.dialog-heading{margin-bottom:20px}}
.reuse-draft{display:block;margin-top:15px;text-align:left;line-height:1.7}
.level-conditions{display:flex;justify-content:center;gap:16px 35px;flex-wrap:wrap;text-align:left;margin-top:19px}.level-conditions>div{display:grid;gap:5px;border-left:2px solid #cad7e7;padding-left:12px}.level-conditions span{font-size:10px;color:#72859e}.level-conditions strong{font-size:14px;font-weight:500;color:#254b78}.level-conditions small{font-size:10px;color:#69829d}.level-conditions .surface-condition[data-resistance="0.3"]{border-color:#c59164}.level-conditions .surface-condition[data-resistance="0.3"] strong{color:#94643f}.challenge-summary #handoff-hint{margin-top:20px}.draw-conditions{justify-content:start;gap:35px;margin:0 0 24px;padding:17px 20px;border:1px solid #dbe4ef;background:#eef2f8;border-radius:8px}.draw-conditions>div{border-left:0;padding-left:0}.draw-conditions strong{font-size:15px}.match-history{max-width:760px;width:100%;text-align:left;margin:0 0 28px}.match-history h2{font-size:18px;margin-bottom:10px}.match-history>p{font-size:11px;color:#68819d;line-height:1.8;margin-bottom:17px}.history-table-scroll{width:100%;overflow-x:auto}.match-history table{width:100%;border-collapse:collapse;font-size:12px;min-width:520px}.match-history th,.match-history td{text-align:right;padding:13px 10px;border-bottom:1px solid #d9e2ef;font-variant-numeric:tabular-nums;font-weight:400}.match-history th:first-child{text-align:left;padding-left:0;min-width:205px}.match-history th:last-child,.match-history td:last-child{padding-right:0}.match-history thead th{font-size:10px;color:#6d84a0}.match-history tbody th{font-weight:500}.match-history th small{display:block;font-size:10px;color:#7288a2;margin-top:6px;font-weight:400}.complete{max-width:960px}.complete .final-scores{max-width:480px}
@media(max-width:520px){.level-conditions{gap:18px 24px}.level-conditions strong{font-size:13px}.level-conditions span,.level-conditions small{font-size:9px}.draw-conditions{margin-bottom:20px;padding:15px 16px;gap:22px}.draw-conditions strong{font-size:14px}.match-history table{font-size:11px}.match-history h2{font-size:17px}.match-history>p{font-size:10px}.challenge-summary{padding-left:0;padding-right:0}}
.particle-selection{border:0;padding:0;margin:0 0 25px;min-width:0}.particle-selection legend{font-family:Bahnschrift,'Segoe UI',sans-serif;font-size:18px;letter-spacing:-.3px;padding:0;margin-bottom:8px}.particle-selection>p{font-size:11px;line-height:1.8;color:#657e9a;margin-bottom:15px}.particle-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.particle-card{position:relative;cursor:pointer;min-width:0}.particle-card input{position:absolute;width:1px;height:1px;opacity:0;margin:0}.particle-card-content{display:grid;grid-template-columns:42px minmax(0,1fr);gap:5px 13px;align-items:start;background:#fff;border:1px solid #d8e2ef;border-radius:9px;padding:17px;min-height:146px;height:100%}.particle-card:hover .particle-card-content{border-color:#a2b9d5;background:#f9fbfe}.particle-card input:checked+.particle-card-content{border-color:var(--player);box-shadow:0 0 0 1px var(--player);background:#eef4fc}.particle-card input:focus-visible+.particle-card-content{outline:3px solid var(--player);outline-offset:4px}.particle-preview{display:block;width:36px;height:36px;border-radius:50%;grid-row:1/4;grid-column:1;margin:5px 0 0}.particle-preview.light{background:radial-gradient(circle at 30% 25%,#fff 0,#e6f3ff 36%,#aac4e747 78%);border:2px solid #92b7df;box-shadow:inset -3px -4px 8px #4385f51a}.particle-preview.steel{background:radial-gradient(circle at 28% 23%,#f8fbff 0,#a6b4c6 27%,#3d5572 70%,#233b57 100%);box-shadow:inset -3px -4px 5px #192f4c66}.particle-preview.ceramic{background:radial-gradient(circle at 28% 23%,#fff 0,#f3eee4 48%,#bcb6a9 100%);border:1px solid #c3bcb0;box-shadow:inset -2px -3px 5px #aa9e8640}.particle-identity{display:flex;align-items:baseline;justify-content:space-between;gap:10px;grid-column:2;flex-wrap:wrap}.particle-identity strong{font-size:14px;font-weight:600;color:#25496f}.particle-identity small{font-size:10px;color:#637f9f;white-space:nowrap}.particle-strength{grid-column:2;font-size:11px;line-height:1.7;color:#456587}.particle-weakness{grid-column:2;font-size:10px;line-height:1.7;color:#7a8da5}.particle-selection .particle-choice-note{font-size:10px;color:#647d99;margin:10px 0 0}.wind-condition strong{color:#496e99}.arrival-row .revealed-particle{color:#496b91;font-size:10px;margin-top:5px}.match-history td small{display:block;font-size:10px;color:#7189a3;margin-top:5px}.race-legend>span{line-height:1.7}.level-conditions{gap:17px 30px}
@media(max-width:850px){.particle-card-content{padding:14px;grid-template-columns:32px minmax(0,1fr);gap:5px 10px}.particle-preview{width:29px;height:29px}.particle-identity{gap:4px}.particle-identity strong{font-size:12px}.particle-strength{font-size:10px}.particle-weakness{font-size:10px}.particle-options{gap:10px}}
@media(max-width:520px){.particle-options{gap:8px}.particle-card-content{display:flex;flex-direction:column;padding:12px 9px;gap:8px;min-height:246px}.particle-preview{width:32px;height:32px;margin:1px 0 2px}.particle-identity{display:flex;flex-direction:column;align-items:start;gap:4px;min-height:48px;justify-content:start}.particle-identity strong{font-size:12px;line-height:1.4}.particle-identity small{font-size:10px}.particle-strength{font-size:10px;line-height:1.65}.particle-weakness{font-size:9px;line-height:1.65;margin-top:auto}.particle-selection legend{font-size:18px}.particle-selection>p{font-size:10px}.particle-selection .particle-choice-note{font-size:10px;line-height:1.8}.level-conditions{gap:17px 24px}.race-legend>span{font-size:9px}.arrival-row .revealed-particle{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Discovery, rematch and post-race experiments. */
.setup-map{display:block;margin-top:22px;font-size:11px;color:#526a87}.setup-map>span{display:block;font-size:11px;line-height:1.7;margin-top:9px;color:#6a809a}.solo-option>label{display:block;font-size:11px;color:#526a87}.solo-option>p{font-size:10px;line-height:1.7;color:#6a809a;margin:8px 0 14px}.match-itinerary{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;list-style:none;padding:0;width:100%;max-width:610px;margin:0 0 25px;text-align:left}.match-itinerary li{flex:1;min-width:115px;padding:11px 12px;border-bottom:2px solid #d8e2ef;color:#72869f}.match-itinerary li[aria-current=step]{color:#244f80;border-color:#4385f5;background:#eaf1fb;border-radius:5px 5px 0 0}.match-itinerary span{display:block;font-size:12px;font-weight:600}.match-itinerary small{display:block;font-size:10px;margin-top:7px;line-height:1.5}.round-change{font-size:12px;color:#526f90;margin:-5px 0 20px}.recovered-path{padding:13px 17px;margin:0 0 23px;border-left:3px solid #54aaa9;background:#e9f3f4;font-size:12px;color:#3f6c77;line-height:1.8}.inspection-toolbar,.experiment-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px;padding:17px 20px;background:#e9eff8;border:1px solid #d6e1ef;border-radius:8px}.inspection-toolbar p,.experiment-banner p{font-size:12px;color:#4f6d8e;max-width:620px}.inspection-toolbar button,.experiment-banner button{flex-shrink:0}.experiment-banner{background:#e7f3f3;border-color:#c4dddd}.experiment-banner p{color:#376c78}.race-learning{border-top:1px solid #d9e2ef;margin-top:30px;padding-top:25px;max-width:1000px}.learning-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.learning-heading h2{font-size:21px}.learning-heading label{font-size:10px;color:#6b829e;min-width:165px;max-width:240px}.learning-heading select{margin-top:5px}.moment-fact{font-size:16px;line-height:1.7;max-width:780px;margin:16px 0 0;color:#2c4d74}.improvement-note{font-size:12px;line-height:1.8;margin-top:10px;color:#507b82}.learning-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.learning-actions button{font-size:12px}.particle-comparison{border-top:1px solid #d9e2ef;padding-top:22px;margin-top:22px;max-width:600px}.particle-comparison h3{font-size:18px}.particle-comparison>p{font-size:11px;color:#69819c;margin-top:8px}.particle-comparison table{width:100%;border-collapse:collapse;font-size:12px;margin-top:13px}.particle-comparison th,.particle-comparison td{padding:12px 8px;border-bottom:1px solid #d9e2ef;text-align:right;font-variant-numeric:tabular-nums;font-weight:400}.particle-comparison th:first-child{text-align:left;padding-left:0}.particle-comparison thead th{font-size:10px;color:#7389a3}.particle-comparison small{display:block;font-size:10px;color:#718aa2;margin-top:5px}
@media(max-width:520px){.match-itinerary{gap:5px;margin-bottom:24px}.match-itinerary li{padding:10px 7px;min-width:85px}.match-itinerary span{font-size:11px}.match-itinerary small{font-size:9px}.round-change,.recovered-path{font-size:11px}.inspection-toolbar,.experiment-banner{align-items:stretch;flex-direction:column;padding:16px;gap:12px}.inspection-toolbar p,.experiment-banner p{font-size:11px}.learning-heading{align-items:start;flex-direction:column;gap:14px}.learning-heading label{width:100%;max-width:none}.learning-heading h2{font-size:20px}.moment-fact{font-size:14px;margin-top:14px}.learning-actions{display:grid;grid-template-columns:1fr;width:100%}.race-learning{padding-top:21px;margin-top:24px}.particle-comparison h3{font-size:17px}}
.draw-controls>.previous-track-option{display:flex;align-items:center;gap:9px;max-width:none;font-size:11px;line-height:1.6;margin:18px 0 0;color:#607b98}.previous-track-option input{width:16px;height:16px;accent-color:var(--player);flex-shrink:0}.terrain-note{font-size:12px;line-height:1.8;color:#876433;background:#f6f0e4;border-left:3px solid #cfa45f;padding:12px 16px;max-width:780px;margin-top:12px}.zone-condition strong{color:#936733}.zone-condition{border-color:#d7ad66!important}.terrain-label{pointer-events:none}.race-learning .terrain-note{font-size:12px}@media(max-width:520px){.draw-controls>.previous-track-option{font-size:11px}.race-learning .terrain-note{font-size:11px;padding:11px 13px}}
.gate-objective{border:1px solid #ddc591;border-left:3px solid #c89c4e;background:#faf4e8;border-radius:6px;padding:14px 17px;margin:0 0 22px;color:#80602d}.gate-objective strong{font-size:13px;font-weight:600}.gate-objective p{font-size:12px;line-height:1.8;margin-top:5px}.gate-objective[data-hit=true]{border-color:#a6d5ca;border-left-color:#3f9b89;background:#eaf5f1;color:#306c64}.gate-result-note{border-left:3px solid #52a7a6;background:#e9f3f3;color:#416f79;padding:12px 16px;font-size:12px;line-height:1.8;margin-top:12px;max-width:780px}.gate-condition strong{color:#3f7e83}.gate-condition{border-color:#6bb5b6!important}select:disabled{background:#ecf0f6;color:#73849a;cursor:default}.gate-label{max-width:220px}.match-itinerary li{overflow-wrap:anywhere}@media(max-width:520px){.gate-objective{padding:12px 14px;margin-bottom:19px}.gate-objective strong{font-size:12px}.gate-objective p,.gate-result-note{font-size:11px}.gate-result-note{padding:11px 13px}.gate-label{max-width:190px}}
.header-actions{display:flex;align-items:center;gap:20px}.quiet-button:disabled{opacity:.4;cursor:default}.challenge-entry{margin-top:19px;padding-top:17px;border-top:1px solid var(--rule)}.challenge-entry p{font-size:11px;color:#69809b;margin-bottom:10px}.challenge-entry button{width:100%;font-size:12px}.challenge-share{width:100%;max-width:760px;text-align:left;border-top:1px solid #d7e1ee;padding-top:26px;margin:0 0 30px}.challenge-share h2{font-size:21px}.challenge-share>p{font-size:12px;color:#647d98;max-width:640px;margin:10px 0 17px;line-height:1.8}.challenge-share>label{display:block;max-width:290px;font-size:11px;color:#5e7896;margin-bottom:14px}.challenge-share button{font-size:12px}.challenge-share #share-output{margin-top:18px}.challenge-share #share-output>label{display:block;font-size:11px;color:#627d98}.challenge-share #share-status{font-size:11px;color:#5b7b8b;margin-top:10px}.challenge-share textarea,.challenge-dialog textarea{display:block;width:100%;max-width:100%;padding:12px;border:1px solid #cad7e8;border-radius:7px;margin:8px 0 13px;background:#fff;color:#24496e;font:11px/1.7 Consolas,monospace;resize:vertical;overflow-wrap:anywhere;min-height:90px;max-height:260px}.challenge-dialog,.records-dialog{max-height:86dvh;overflow-y:auto}.challenge-dialog>label,.challenge-preview>label,.records-dialog>label{display:block;font-size:11px;color:#5c7695;margin-top:17px}.challenge-preview{margin-top:24px;border-top:1px solid #d9e2ef;padding-top:20px}.challenge-preview h3{font-size:20px;overflow-wrap:anywhere}.challenge-preview>p{font-size:11px}.challenge-preview ol{list-style:none;padding:0;margin:15px 0}.challenge-preview li{border-bottom:1px solid #e2e8f1;padding:10px 0}.challenge-preview li strong{font-size:12px;font-weight:500;display:block}.challenge-preview li span{display:block;font-size:10px;margin-top:4px;color:#6d849e}.challenge-preview input{display:block;width:100%;padding:11px;border:1px solid #cad7e8;border-radius:6px;margin:8px 0 16px;font-size:14px;color:#24496e}.record-note{max-width:780px;font-size:12px;line-height:1.8;color:#2f7b70;margin-top:12px;padding:11px 15px;border:1px solid #bfdbd2;border-radius:6px;background:#edf6f1}.personal-records{list-style:none;padding:0;margin:17px 0 22px}.personal-records li{border-top:1px solid #dce4ef;padding:14px 0}.personal-records li>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.personal-records h3{font-size:15px;overflow-wrap:anywhere}.personal-records strong{font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;color:#244e78;font-size:15px}.personal-records p{font-size:11px;margin-top:6px;overflow-wrap:anywhere}.personal-records small{display:block;font-size:10px;line-height:1.7;margin-top:5px;color:#748aa3}.records-dialog #records-message{font-size:11px;color:#6c829c;margin-top:16px}.clear-records-confirm{margin-top:15px;padding:14px;border:1px solid #ded3c2;border-radius:6px;background:#f7f3ed}.clear-records-confirm p{margin:0 0 12px}.clear-records-confirm button{display:inline-flex;font-size:11px;margin-right:7px;min-height:38px}
@media(max-width:520px){.header-actions{gap:13px}.header-actions .quiet-button{font-size:10px}.challenge-share h2{font-size:20px}.challenge-share>p{font-size:11px}.challenge-share>label{max-width:none}.challenge-share>button,.challenge-share #copy-challenge{width:100%}.challenge-dialog textarea,.challenge-preview input{font-size:16px}.challenge-share textarea{font-size:11px}.record-note{font-size:11px;padding:10px 13px}.personal-records h3,.personal-records strong{font-size:14px}.challenge-preview h3{font-size:18px}.challenge-dialog .primary-button{width:100%}.challenge-share{padding-top:22px}.clear-records-confirm button{margin-bottom:6px}}
