.settings #start{margin-top:0}.entry-heading{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:28px 0 12px;font-size:13px;font-weight:600}.entry-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:10px}.entry-row input{min-width:0;width:100%;border:1px solid var(--line);border-radius:9px;padding:12px;background:#f8faf6;color:var(--ink);font:inherit;font-size:13px}.entry-row input:focus{outline:2px solid #97b28b;outline-offset:1px}.setup-error{color:#a5482a;font-size:12px}.setup-error[hidden]{display:none}.ladder-panel,.ladder-results{background:white;border:1px solid var(--line);border-radius:20px;padding:24px}.ladder-intro{margin:6px 0 24px}.ladder-scroll{overflow-x:auto;padding:5px 0 12px}.ladder-labels{display:grid;grid-template-columns:repeat(var(--players),minmax(0,1fr));gap:8px;padding:0 8px}.participant,.destination-label{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:55px;border:1px solid var(--line);border-radius:11px;background:#f4f7ef;padding:8px 5px;color:var(--ink);font-size:12px;overflow-wrap:anywhere;text-align:center}.participant span{font-size:9px;color:var(--muted);margin-top:4px}.participant:hover{border-color:var(--green);background:#e7efdf}.participant.revealed{border-color:var(--player-color);background:#f4f7ef}.participant:disabled{cursor:default}.participant:focus-visible{outline:3px solid #c79944;outline-offset:2px}.destination-label{background:#fafbf8}.destination-label.revealed{border-color:var(--player-color);font-weight:600}.destination-label small{margin-top:4px;font-size:9px}#ladder{display:block;width:100%;height:430px;overflow:visible}#ladder .rail{stroke:#cbd6c4;stroke-width:3;stroke-linecap:round;fill:none}#ladder .rung{stroke:#bdceb3;stroke-width:3;stroke-linecap:round;fill:none}#ladder .trace{stroke-width:5;fill:none;stroke-linecap:round;stroke-linejoin:round}.ladder-actions{display:flex;gap:12px;align-items:stretch;margin-top:18px}.ladder-actions .primary{flex:1;width:auto;margin:0}.ladder-actions .quiet{flex:1}.ladder-status,#status.ladder-status{display:block;text-align:center;color:var(--green);font-size:13px;min-height:22px;line-height:1.7;margin:18px 0 0}.ladder-results{margin-top:20px}@media(max-width:480px){.ladder-panel,.ladder-results{padding:18px 12px}.entry-row{gap:8px}.entry-row input{padding:10px 8px}.ladder-actions{flex-direction:column}.ladder-actions .quiet{padding:14px}.game-heading h1{font-size:30px}}
#ladder line,#ladder path{vector-effect:non-scaling-stroke}
#ladder .rung{visibility:hidden}#ladder.all-revealed .rung{visibility:visible}
#ladder .trace{stroke:var(--player-color);stroke-width:6;opacity:1}.destination-label:hover:not(:disabled){border-color:var(--green);background:#e7efdf}.destination-label:disabled{cursor:default}.destination-label:focus-visible{outline:3px solid #c79944;outline-offset:2px}
.entry-heading,.entry-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px}.remove-entry{border:1px solid var(--line);border-radius:9px;background:#fafbf8;color:var(--muted);font-size:21px;padding:0}.remove-entry:hover:not(:disabled){border-color:#b34d62;color:#b34d62}.remove-entry:disabled{opacity:.35;cursor:default}.entry-tools{display:flex;align-items:center;justify-content:space-between;margin-top:14px}.entry-tools small{margin:0}.ladder-panel{min-width:0;max-width:100%;overflow:hidden}.ladder-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:auto;scrollbar-color:#97b28b #edf3e5;padding-bottom:16px}.ladder-scroll::-webkit-scrollbar{height:12px}.ladder-scroll::-webkit-scrollbar-track{background:#edf3e5;border-radius:8px}.ladder-scroll::-webkit-scrollbar-thumb{background:#97b28b;border:2px solid #edf3e5;border-radius:8px}.ladder-scroll:focus-visible{outline:2px solid #c79944;outline-offset:-2px}.scroll-hint{font-size:11px;color:var(--muted);margin:0 0 12px}

.results-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;text-align:left}.results-table[hidden],#no-results[hidden]{display:none}.results-table th{padding:12px 10px;border-bottom:2px solid var(--line);font-size:11px;font-weight:500;color:var(--muted)}.results-table th:first-child{width:56px;text-align:center}.results-table td{padding:15px 10px;border-bottom:1px solid var(--line);line-height:1.7;overflow-wrap:anywhere;vertical-align:top}.results-table tbody tr:last-child td{border-bottom:0}.results-table .result-order{text-align:center;color:var(--muted);font-variant-numeric:tabular-nums}.results-table td:last-child{font-weight:600;color:var(--ink)}.results-table .result-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--player-color);margin-right:9px;vertical-align:middle;padding:0}.results-table tbody tr:hover{background:#f8faf6}@media(max-width:480px){.results-table{font-size:12px}.results-table th,.results-table td{padding-left:6px;padding-right:6px}.results-table th:first-child{width:40px}.results-table .result-dot{margin-right:6px}}
#ladder.highlight-result .trace:not(.highlighted),#ladder.highlight-result .rung{visibility:hidden}#ladder.highlight-result .trace.highlighted{visibility:visible;stroke-width:7;filter:drop-shadow(0 0 3px var(--player-color))}.results-table .result-entry{cursor:pointer}.results-table .result-entry.highlighted{background:#edf3e5}.results-table .result-entry:focus-visible{outline:2px solid var(--player-color);outline-offset:-2px}
#pause:disabled{opacity:.45;cursor:default}#pause[aria-pressed=true]{background:#edf3e5;border-color:var(--green);color:var(--green);font-weight:600}.ladder-actions .quiet{min-width:0}
@media(max-width:1024px){.ladder-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ladder-actions button{width:100%;min-height:44px;padding:12px 8px}}
@media(pointer:coarse){.entry-heading,.entry-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}.remove-entry{min-height:44px}.ladder-scroll{-webkit-overflow-scrolling:touch}.result-entry{min-height:44px}}
