/* Generated from the shared Dart scoring styles. */
:root{--dt-ink:#203c34;--dt-muted:#687d75;--dt-green:#205d47;--dt-line:#d7e5de;--dt-bg:#f3f7f5;--dt-blue:#e9f2ff;--dt-purple:#f1ebff;--dt-orange:#fff2df;--dt-red:#b12e3d}*{box-sizing:border-box}.dt-page{margin:0;background:var(--dt-bg);color:var(--dt-ink);font:15px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.dt-page button,.dt-page input,.dt-page select,.dt-page textarea{font:inherit}.dt-page button,.dt-page a,.dt-page input,.dt-page select{touch-action:manipulation}.dt-page [hidden]{display:none!important}.dt-app{max-width:1500px;margin:auto;padding:12px;min-width:0}.dt-head{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.dt-grow{flex:1;min-width:0}.dt-head h1{font-size:clamp(19px,3vw,28px);margin:0;overflow-wrap:anywhere}.dt-head small,.dt-muted{color:var(--dt-muted);font-size:12px}.dt-head .dt-actions{margin-left:auto}.dt-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 12px;border:1px solid var(--dt-line);border-radius:12px;background:#fff;color:var(--dt-ink);text-decoration:none;font-weight:650;cursor:pointer;white-space:normal}.dt-btn:hover{background:#edf6f0}.dt-btn:disabled{opacity:.5;cursor:wait}.dt-btn.primary{background:var(--dt-green);color:white;border-color:var(--dt-green)}.dt-btn.blue{background:var(--dt-blue);border-color:#c8dcff}.dt-btn.purple{background:var(--dt-purple);border-color:#dfd3ff}.dt-btn.orange{background:var(--dt-orange);border-color:#f2d8b2}.dt-btn.danger{color:var(--dt-red);background:#fff0f1}.dt-btn.icon{width:42px;padding:8px;flex-shrink:0}.dt-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.dt-tabs{display:flex;gap:6px;overflow-x:auto;padding:2px 0 8px;scrollbar-width:thin;position:relative}.dt-tabs .dt-btn{white-space:nowrap;flex:1;min-width:max-content}.dt-tabs .is-active{background:#205d47;color:#fff;border-color:#205d47}.dt-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:10px}.dt-card{background:#fff;border:1px solid var(--dt-line);border-radius:15px;padding:12px;min-width:0;overflow-wrap:anywhere}.dt-card h2,.dt-card h3{margin:0;font-size:16px}.dt-card .dt-actions{margin-top:9px}.dt-card-head{display:flex;gap:8px;align-items:center;margin-bottom:8px}.dt-card.live{border-color:#72b5ed;box-shadow:0 0 0 1px #d7eaff}.dt-card.called{border-color:#e7b361;background:#fffdf6}.dt-card.finished{border-color:#8dc4a7}.dt-badge{display:inline-block;border-radius:8px;padding:3px 7px;background:#edf2ef;color:#50685d;font-size:11px;font-weight:650;white-space:nowrap}.dt-badge.green{background:#e0f5e7;color:#196b3b}.dt-badge.blue{background:#e3edff;color:#245f9e}.dt-badge.orange{background:#fff0d4;color:#9e5a09}.dt-badge.red{background:#ffe8eb;color:#a82940}.dt-badge.purple{background:#eee7ff;color:#694d9f}.dt-board-names{font-size:clamp(18px,2vw,24px);font-weight:750;display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center}.dt-board-names .active{color:#0d6a48}.dt-board-names .remaining{font-size:26px;font-variant-numeric:tabular-nums}.dt-empty{text-align:center;color:var(--dt-muted);padding:30px 12px;background:#fff;border:1px dashed var(--dt-line);border-radius:15px}.dt-empty span{display:block;font-size:36px}.dt-section{margin:16px 0 8px;font-size:17px}.dt-note{border-radius:11px;padding:10px 12px;background:var(--dt-orange);font-size:13px;margin:10px 0}.dt-summary{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 12px}.dt-match{display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px;border-top:1px solid var(--dt-line);padding:10px 0;min-width:0}.dt-match:first-child{border-top:0}.dt-match-names{min-width:0;font-weight:650;overflow-wrap:anywhere}.dt-match-names small{display:block;font-size:11px;font-weight:400;color:var(--dt-muted)}.dt-players{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:8px}.dt-player{display:flex;align-items:center;gap:8px}.dt-player .dt-player-name{font-weight:650;overflow-wrap:anywhere}.dt-player.withdrawn{opacity:.6}.dt-search{width:100%;border:1px solid var(--dt-line);border-radius:11px;padding:11px;background:#fff;margin-bottom:10px;color:var(--dt-ink)}.dt-table-wrap{overflow:auto;max-width:100%;border-radius:10px}.dt-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.dt-table th,.dt-table td{padding:7px 5px;border-bottom:1px solid #e8eeea}.dt-table td:first-child{max-width:180px;overflow-wrap:anywhere}.dt-table .qualify{background:#ecf8f0}.dt-table .tie{color:#9e5a09}.dt-dialog{padding:0;border:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;background:var(--dt-bg);color:var(--dt-ink);overscroll-behavior:contain}.dt-dialog::backdrop{background:#102a25ad}.dt-dialog-inner{max-width:900px;min-height:100%;margin:auto;padding:12px;display:flex;flex-direction:column}.dt-dialog-head{display:flex;gap:10px;align-items:center;position:sticky;top:0;z-index:2;background:var(--dt-bg);padding:4px 0 12px;border-bottom:1px solid var(--dt-line);margin-bottom:12px}.dt-dialog-head h2{margin:0;font-size:20px;flex:1}.dt-dialog-body{flex:1;min-height:0}.dt-form{display:grid;gap:12px}.dt-form label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:650;min-width:0}.dt-form input,.dt-form select,.dt-form textarea{width:100%;padding:11px 12px;border:1px solid var(--dt-line);border-radius:11px;background:#fff;color:var(--dt-ink);min-height:44px;min-width:0;font-size:16px}.dt-form textarea{resize:vertical}.dt-form .dt-check{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px;background:#fff;padding:8px 12px;border:1px solid var(--dt-line);border-radius:11px}.dt-check input{width:21px;min-height:21px;height:21px;margin:0}.dt-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dt-form details{border:1px solid var(--dt-line);padding:10px;border-radius:12px}.dt-form summary{cursor:pointer;font-weight:700}.dt-form details[open]>summary{margin-bottom:10px}.dt-form footer{position:sticky;bottom:0;background:var(--dt-bg);padding:10px 0 4px;display:flex;gap:8px;align-items:center;z-index:2}.dt-form footer .dt-btn{flex:1}.dt-form-error{color:var(--dt-red);font-weight:650}.dt-help{font-size:13px;color:var(--dt-muted)}.dt-connection{position:fixed;bottom:max(10px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);border-radius:12px;padding:10px 15px;background:#fff0d5;border:1px solid #e6bd71;box-shadow:0 5px 20px #182e3220;z-index:10020;font-size:13px;cursor:pointer}.dt-toast{position:fixed;top:75px;left:50%;transform:translateX(-50%);max-width:calc(100% - 24px);padding:11px 18px;background:#174b3c;color:#fff;border-radius:12px;z-index:10030;box-shadow:0 5px 20px #182e3230}.dt-toast.error{background:#a82d43}.dt-denied{max-width:600px;margin:10vh auto;padding:20px}.dt-loading{padding:25px;text-align:center}.dt-qr{text-align:center;padding:12px}.dt-qr svg{max-width:85vw;width:250px;height:auto;background:#fff;padding:12px;border-radius:12px}.dt-copy-input{font-size:12px!important}.dt-combo{position:relative}.dt-combo-options{max-height:220px;overflow:auto;border:1px solid var(--dt-line);border-radius:10px;background:#fff;position:absolute;left:0;right:0;top:100%;z-index:4;box-shadow:0 6px 20px #122c2420}.dt-combo-options button{display:block;width:100%;border:0;border-bottom:1px solid #eaf0ec;background:white;text-align:left;padding:11px;color:var(--dt-ink);cursor:pointer}.dt-ticket-row{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--dt-line)}.dt-ticket-row input[type=checkbox]{width:21px;min-height:21px}.dt-screen-link{margin-top:8px}.dt-bracket-round{margin-bottom:12px}.dt-bracket-round>h3{margin:0 0 5px;font-size:13px;color:var(--dt-muted)}.dt-player-highlight{background:#eaf7ef;border-color:#89c3a2}.dt-game-list{max-width:100%}.dt-fullscreen{background:#102d27;color:#f5fffa;min-height:100dvh}.dt-fullscreen .dt-app{max-width:1400px;padding-top:10px}.dt-fullscreen .dt-muted{color:#b8d1c6}.dt-fullscreen .dt-btn{background:#204639;color:#fff;border-color:#416455}.dt-fullscreen .dt-card{background:#173c30;color:#fff;border-color:#416455}.dt-score-players{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.dt-score-player{border:2px solid transparent;border-radius:16px;padding:12px;text-align:center;background:#fff;min-width:0;overflow-wrap:anywhere}.dt-score-player.is-turn{border-color:#29a571;background:#eaf9ef;box-shadow:0 2px 12px #2b9a5b1a}.dt-score-player h2{font-size:clamp(16px,4vw,25px);margin:0}.dt-score-big{font-size:clamp(52px,13vw,100px);line-height:1.15;font-weight:800;font-variant-numeric:tabular-nums}.dt-score-hint{min-height:20px;font-size:12px;color:#62836a}.dt-score-stats{font-size:11px;color:var(--dt-muted)}.dt-score-entry{max-width:620px;margin:0 auto}.dt-score-display{border:1px solid var(--dt-line);border-radius:12px;background:white;display:flex;align-items:center;gap:10px;padding:8px 12px;margin-bottom:8px;min-height:56px}.dt-score-number{flex:1;text-align:center;font-size:29px;font-weight:750;min-height:38px}.dt-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.dt-keypad .dt-btn{min-height:clamp(48px,8vh,68px);font-size:23px}.dt-keypad .dt-key-ok{grid-column:span 2;font-size:19px}.dt-quick{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:8px 0}.dt-quick .dt-btn{padding:8px 4px;min-height:39px;font-size:13px}.dt-score-tools{display:flex;gap:7px;margin-top:8px}.dt-score-tools .dt-btn{flex:1}.dt-score-history{margin:14px auto 0;max-width:800px}.dt-score-history summary{font-size:13px;color:var(--dt-muted);cursor:pointer}.dt-score-history ol{padding:0;list-style:none}.dt-score-history li{display:grid;grid-template-columns:1fr auto;gap:8px;padding:6px;border-bottom:1px solid var(--dt-line);font-size:12px}.dt-callout{text-align:center;background:#e5f6ec;border:1px solid #9ac9ad;padding:18px;border-radius:15px}.dt-callout h2{margin:0 0 8px}.dt-triple-choice{display:flex;gap:8px}.dt-triple-choice .dt-btn{flex:1;min-height:64px;font-size:22px}.dt-group-order{display:flex;gap:6px;align-items:center;padding:7px;border:1px solid var(--dt-line);background:white;border-radius:9px;margin-bottom:6px}.dt-group-order strong{flex:1}.dt-tournament-card{display:flex;flex-direction:column;justify-content:space-between;gap:8px}.dt-tournament-card>button{width:100%}.dt-live-dot{display:inline-block;width:7px;height:7px;background:#2f9b60;border-radius:50%;margin-right:4px}.dt-share-row{margin:8px 0;display:flex;gap:6px;flex-wrap:wrap}.dt-mine .dt-card{max-width:800px;margin:auto auto 10px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #6b9cfa;outline-offset:2px}@media(min-width:800px){.dt-app{padding:18px}.dt-tabs .dt-btn{flex:0}.dt-dialog-inner{padding:20px}.dt-score-layout{display:grid;grid-template-columns:1fr minmax(300px,440px);gap:22px;align-items:start}.dt-score-layout .dt-score-players{margin-top:0}.dt-score-big{font-size:100px}.dt-keypad .dt-btn{min-height:64px}.dt-cols-wide{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dt-board-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}@media(max-width:420px){.dt-app{padding:9px}.dt-head{gap:6px}.dt-actions{gap:5px}.dt-btn{padding:8px 10px;font-size:13px}.dt-cols{gap:7px}.dt-score-player{padding:8px 5px}.dt-score-display{min-height:48px}.dt-score-stats{font-size:10px}.dt-dialog-inner{padding:10px}.dt-score-tools .dt-btn{font-size:12px}.dt-quick .dt-btn{font-size:12px}}@media print{.dt-page>*,.dt-dialog-head,.dt-form footer{display:none!important}.dt-page>.dt-dialog[open]{display:block!important;position:static;height:auto}.dt-qr svg{width:60mm}.dt-dialog-inner{display:block}}

@media(max-width:600px){.dt-organizer .dt-head>.dt-grow,.dt-guest .dt-head>.dt-grow{min-width:180px}.dt-organizer .dt-head>.dt-actions,.dt-guest .dt-head>.dt-actions{flex-basis:100%;margin-left:0;justify-content:flex-end}.dt-head h1{font-size:20px}.dt-card-head>.dt-btn.icon{width:36px;min-height:36px;padding:6px}.dt-card-head h2{font-size:15px}}

/* Individual darts: every field is a direct hit button; all tabs fit the viewport. */
.dt-dart-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:8px}.dt-dart-chip{text-align:center;border:1px solid var(--dt-line);border-radius:10px;background:white;min-height:49px;padding:5px}.dt-dart-chip small{display:block;color:var(--dt-muted);font-size:10px}.dt-dart-chip strong{display:block;font-size:20px;line-height:1.15}.dt-dart-chip.filled{background:#e8f6ed;border-color:#a0cdb2}.dt-dart-chip.pending{background:#fff2d8;border-color:#e2bf7b}.dt-multipliers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:8px}.dt-multipliers .dt-btn{padding:8px 3px;font-size:13px}.dt-multipliers .is-selected{background:#205d47;color:white;border-color:#205d47;box-shadow:inset 0 0 0 1px white}.dt-multipliers .dt-mult-2.is-selected{background:#245f9e;border-color:#245f9e}.dt-multipliers .dt-mult-3.is-selected{background:#a96612;border-color:#a96612}.dt-dart-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.dt-dart-fields .dt-btn{padding:7px 3px;min-height:50px;font-size:21px;font-weight:750}.dt-dart-special{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px}.dt-dart-special .dt-btn{padding:8px 3px;font-size:16px}.dt-last-visit{font-size:12px;color:var(--dt-muted);background:#eaf2ee;border-radius:9px;padding:8px;overflow-wrap:anywhere}.dt-last-visit strong{color:var(--dt-ink);margin-left:5px}.dt-score-big.is-pending{color:#a96612}.dt-btn.dt-disabled{opacity:.45;pointer-events:none}.dt-dart-fields .dt-btn:active,.dt-dart-special .dt-btn:active{transform:scale(.95);background:#d7ecdf}@media(max-width:650px){.dt-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:5px;overflow:visible}.dt-tabs .dt-btn{min-width:0;width:100%;white-space:normal;font-size:12px;padding:8px 4px;line-height:1.25;min-height:43px}.dt-dart-fields .dt-btn{min-height:47px}.dt-score-player{padding:8px 5px}.dt-score-big{font-size:clamp(48px,12vw,75px)}.dt-score-players{margin:8px 0}.dt-score-player .dt-summary{margin:6px 0}.dt-last-visit{margin:7px 0}.dt-score-history{margin-top:10px}}

@media(max-width:600px){.dt-guest .dt-head>.dt-actions{flex-basis:auto;margin-left:auto}}

.dt-board-camera{position:relative;max-width:520px;margin:10px auto;border-radius:15px;overflow:hidden;background:#133629;aspect-ratio:4/3}.dt-board-camera video{width:100%;height:100%;object-fit:cover}.dt-board-camera>span{position:absolute;inset:0;display:grid;place-items:center;color:#ffffffb0;font-size:130px;pointer-events:none}.dt-scan-manual{margin-top:16px;border-top:1px solid var(--dt-line);padding-top:10px}.dt-scan-manual summary{cursor:pointer;font-size:13px;color:var(--dt-muted)}.dt-scan-manual[open] summary{margin-bottom:10px}

.dt-board-next{margin-top:10px;padding:9px;border-radius:10px;background:#edf3fc;border:1px solid #d8e5f8}.dt-board-next>small,.dt-board-next>strong{display:block}.dt-board-next>small{font-size:11px;color:#516989}.dt-board-next>strong{font-size:14px;margin:4px 0}.dt-board-next p{font-size:12px;color:var(--dt-muted);margin:6px 0 0}.dt-upcoming-row{display:grid;grid-template-columns:minmax(80px,120px) minmax(0,1fr);gap:10px;border-bottom:1px solid var(--dt-line);padding:10px 0}.dt-upcoming-row:last-child{border:0}.dt-upcoming-row small,.dt-upcoming-row b{display:block}.dt-upcoming-row small{font-size:11px;color:var(--dt-muted)}.dt-ko-preview{border-top:1px solid var(--dt-line);padding:9px 0}.dt-ko-preview>small{font-size:10px;color:var(--dt-muted)}.dt-ko-preview>div{padding:6px 8px;background:#f3f6fa;border-radius:7px;margin-top:4px}.dt-ko-preview>div.fixed{background:#e5f6ec}.dt-ko-preview strong,.dt-ko-preview div small{display:block}.dt-ko-preview strong{font-size:13px}.dt-ko-preview div small{font-size:10px;color:var(--dt-muted)}.dt-sync-note{display:flex;align-items:center;gap:8px;justify-content:center;font-size:12px;background:#e8f2fa;color:#3e6380;border-radius:9px;min-height:30px;padding:5px 8px;margin-bottom:6px}.dt-sync-note.conflict{background:#fff0d8;color:#8a4319}.dt-practice-setup{max-width:650px;margin:10px auto}.dt-practice-setup h2{margin-bottom:15px}

.dt-player{align-items:flex-start}.dt-player-badges{display:flex;gap:4px;flex-wrap:wrap;margin:5px 0}.dt-player-facts{display:flex;gap:5px 10px;flex-wrap:wrap;font-size:11px;color:var(--dt-muted);margin:5px 0}.dt-player-facts b{font-variant-numeric:tabular-nums;color:var(--dt-ink)}.dt-player-tools{display:flex;gap:4px;flex-shrink:0}.dt-player-tools .dt-btn.icon{width:34px;min-height:36px;padding:6px}.dt-player.is-eliminated{background:#fafafa;border-color:#e2d9dc}.dt-player-details{font-size:11px;color:var(--dt-muted);margin-top:5px}.dt-player-details summary{cursor:pointer}.dt-player-details small{font-size:10px;display:block;max-width:300px}.dt-score .dt-sync-note{height:30px;min-height:30px;margin:0 0 6px;white-space:nowrap;background:transparent;color:var(--dt-muted)}.dt-score .dt-sync-note.conflict{height:auto;min-height:30px;white-space:normal;background:#fff0d8}.dt-score .dt-last-visit{display:flex;align-items:center;gap:6px;min-height:34px;height:34px;white-space:nowrap}.dt-last-visit>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.dt-last-visit>strong{flex-shrink:0}.dt-score-stats{min-height:28px;line-height:14px}.dt-score-hint{height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Live phone scorer: fills the available viewport, including browser-bar changes. */
.dt-score-details-button,.dt-undo-compact{display:none}
.dt-score-fit{overflow:hidden;overscroll-behavior:none}
.dt-score-fit .dt-app{position:fixed;inset:0 auto auto 0;width:100%;max-width:none;height:var(--dt-score-height,100dvh);padding:max(5px,var(--dt-safe-top,env(safe-area-inset-top))) max(5px,var(--dt-safe-right,env(safe-area-inset-right))) max(5px,var(--dt-safe-bottom,env(safe-area-inset-bottom))) max(5px,var(--dt-safe-left,env(safe-area-inset-left)));display:flex;flex-direction:column;gap:4px;overflow:hidden}
.dt-score-fit .dt-head{flex:0 0 40px;min-height:40px;min-width:0;gap:6px;flex-wrap:nowrap;margin:0}
.dt-score-fit .dt-head h1{font-size:17px;line-height:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.dt-score-fit .dt-head small{display:block;font-size:10px;line-height:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dt-score-fit .dt-score-stage{display:none}
.dt-score-fit .dt-head .dt-btn{min-height:36px;height:36px;width:36px;padding:5px}
.dt-score-fit .dt-head .dt-actions{flex-wrap:nowrap;flex-shrink:0}
.dt-score-fit .dt-app>.dt-form{flex:none;gap:0}
.dt-score-fit #dtMatchSelect{min-height:30px;height:30px;padding:2px 8px;font-size:13px}
.dt-score-fit .dt-sync-note,.dt-score-fit .dt-sync-note.conflict{flex:0 0 16px;min-height:16px;height:16px;padding:0 4px;margin:0;gap:4px;font-size:10px;white-space:nowrap;overflow:hidden;line-height:16px}
.dt-score-fit .dt-sync-note.conflict{font-size:9px}
.dt-score-fit .dt-sync-note .dt-btn{min-height:16px;height:16px;padding:0 5px;border-radius:4px;font-size:10px;flex-shrink:0}
.dt-score-fit .dt-score-layout{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;gap:4px;align-items:stretch}
.dt-score-fit .dt-score-overview{flex:none;min-width:0}
.dt-score-fit .dt-score-players{gap:6px;margin:0}
.dt-score-fit .dt-score-player{padding:4px 5px;border-radius:12px;overflow:hidden}
.dt-score-fit .dt-score-player h2{font-size:14px;line-height:18px;height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.dt-score-fit .dt-score-player .dt-summary{height:17px;margin:2px 0;gap:4px;flex-wrap:nowrap}
.dt-score-fit .dt-score-player .dt-badge{font-size:9px;line-height:13px;padding:1px 5px;border-radius:5px}
.dt-score-fit .dt-score-big{font-size:clamp(38px,calc(var(--dt-score-vh,1dvh)*8.5),68px);line-height:1;white-space:nowrap}
.dt-score-fit .dt-score-hint{min-height:16px;height:16px;line-height:16px;font-size:10px}
.dt-score-fit .dt-score-stats{display:none}
.dt-score-fit .dt-score-turn{font-size:10px;line-height:16px;height:16px;margin:2px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dt-score-fit .dt-last-visit{min-height:24px;height:24px;margin:2px 0 0;padding:2px 6px;font-size:10px;line-height:16px}
.dt-score-fit .dt-score-entry{flex:1;min-height:0;min-width:0;max-width:none;width:100%;margin:0;display:grid;grid-template-rows:var(--dt-current-row,30px) minmax(0,1fr) minmax(0,4fr) minmax(0,1fr) 36px;gap:4px}
.dt-score-fit .dt-dart-slots,.dt-score-fit .dt-multipliers,.dt-score-fit .dt-dart-fields,.dt-score-fit .dt-dart-special,.dt-score-fit .dt-score-tools{margin:0;min-height:0;min-width:0;gap:4px}
.dt-score-fit .dt-dart-slots{grid-template-columns:repeat(3,minmax(0,1fr))}
.dt-score-fit .dt-dart-chip{min-height:0;height:100%;padding:2px 5px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:8px}
.dt-score-fit .dt-dart-chip small{font-size:10px;line-height:1}
.dt-score-fit .dt-dart-chip strong{font-size:18px;line-height:1}
.dt-score-fit .dt-dart-fields{grid-template-rows:repeat(4,minmax(0,1fr))}
.dt-score-fit .dt-score-entry .dt-btn{min-width:0;min-height:0;height:100%;padding:2px 3px;line-height:1;border-radius:9px}
.dt-score-fit .dt-dart-fields .dt-btn{font-size:clamp(18px,calc(var(--dt-score-vh,1dvh)*3.5),28px)}
.dt-score-fit .dt-multipliers .dt-btn{font-size:clamp(14px,calc(var(--dt-score-vh,1dvh)*2.6),20px);font-weight:700}
.dt-score-fit .dt-dart-special .dt-btn{font-size:clamp(17px,calc(var(--dt-score-vh,1dvh)*3),24px);font-weight:700}
.dt-score-fit .dt-score-tools .dt-btn{font-size:12px}
.dt-score-fit .dt-score-details-button{display:inline-flex;flex:0 0 36%}
.dt-score-fit .dt-undo-compact{display:inline}
.dt-score-fit .dt-undo-wide{display:none}
.dt-score-fit .dt-app>.dt-score-history{display:none}
.dt-score-network{display:none}
.dt-score-fit .dt-connection{display:none}
.dt-score-fit .dt-sync-note.has-network .dt-score-save{display:none}
.dt-score-fit .dt-score-network{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8a5817}
.dt-score-fit .dt-dialog-inner{padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}
.dt-score-fit .dt-dialog .dt-score-history{display:block}
.dt-score-fit.dt-score-tight .dt-score-hint{display:none}
.dt-score-fit.dt-score-tight .dt-score-big{font-size:40px}
.dt-score-fit.dt-score-tight .dt-score-turn{height:14px;line-height:14px}
.dt-score-fit.dt-score-tight .dt-last-visit{height:20px;min-height:20px;padding-top:1px;padding-bottom:1px}
.dt-score-fit.dt-score-tight .dt-score-entry{grid-template-rows:var(--dt-current-row,26px) minmax(0,1fr) minmax(0,4fr) minmax(0,1fr) 32px}
.dt-score-fit.dt-score-tiny .dt-app{gap:3px}
.dt-score-fit.dt-score-tiny .dt-head{flex-basis:34px;min-height:34px}
.dt-score-fit.dt-score-tiny .dt-head .dt-btn{height:32px;min-height:32px;width:32px}
.dt-score-fit.dt-score-tiny .dt-sync-note{flex-basis:14px;height:14px;min-height:14px;line-height:14px}
.dt-score-fit.dt-score-tiny .dt-score-big{font-size:32px}
.dt-score-fit.dt-score-tiny .dt-score-player{padding:3px 4px}
.dt-score-fit.dt-score-tiny .dt-last-visit{display:none}
.dt-score-fit.dt-score-tiny .dt-score-entry{grid-template-rows:var(--dt-current-row,24px) minmax(0,1fr) minmax(0,4fr) minmax(0,1fr) 30px;gap:3px}
.dt-score-fit.dt-score-roomy .dt-score-stats{display:block;height:14px;min-height:14px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Landscape: scoreboard on the left, twenty fields in two rows on the right. */
.dt-score-fit.dt-score-landscape .dt-score-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:stretch;gap:7px}
.dt-score-fit.dt-score-landscape .dt-score-overview{min-height:0;display:flex;flex-direction:column;justify-content:center}
.dt-score-fit.dt-score-landscape .dt-score-players{grid-template-columns:minmax(0,1fr);gap:4px}
.dt-score-fit.dt-score-landscape .dt-score-player{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:3px;text-align:left;align-items:center;padding:5px}
.dt-score-fit.dt-score-landscape .dt-score-player h2{grid-column:1;grid-row:1;font-size:12px;line-height:18px}
.dt-score-fit.dt-score-landscape .dt-score-player .dt-summary{grid-column:1;grid-row:2;justify-content:flex-start!important;margin:0;gap:2px}
.dt-score-fit.dt-score-landscape .dt-score-player .dt-badge{font-size:8px;padding:1px 3px}
.dt-score-fit.dt-score-landscape .dt-score-big{grid-column:2;grid-row:1/3;font-size:clamp(30px,6vw,48px)}
.dt-score-fit.dt-score-landscape .dt-score-hint,.dt-score-fit.dt-score-landscape .dt-score-stats{display:none}
.dt-score-fit.dt-score-landscape .dt-score-turn{height:auto;min-height:14px;white-space:normal;max-height:28px;overflow:hidden}
.dt-score-fit.dt-score-landscape .dt-last-visit{display:flex;font-size:9px}
.dt-score-fit.dt-score-landscape .dt-score-entry{grid-template-rows:var(--dt-current-row,24px) minmax(0,1fr) minmax(0,2fr) minmax(0,1fr) 30px}
.dt-score-fit.dt-score-landscape .dt-dart-fields{grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:3px}
.dt-score-fit.dt-score-landscape .dt-dart-fields .dt-btn{font-size:18px;border-radius:7px}
@media(prefers-reduced-motion:no-preference){.dt-score-fit .dt-dart-fields .dt-btn,.dt-score-fit .dt-dart-special .dt-btn{transition:background-color .08s}}

.dt-score-fit .dt-score-save{min-width:0;overflow:hidden;text-overflow:ellipsis}

/* Staff game selection shares the heading row instead of taking keypad space. */
.dt-score-fit.dt-score-picker .dt-head .dt-grow{visibility:hidden}
.dt-score-fit .dt-score-match-selector{position:absolute;top:calc(max(5px,var(--dt-safe-top,env(safe-area-inset-top))) + 2px);left:calc(max(5px,var(--dt-safe-left,env(safe-area-inset-left))) + 42px);right:calc(max(5px,var(--dt-safe-right,env(safe-area-inset-right))) + 42px);z-index:1}
.dt-score-fit #dtMatchSelect{height:36px;min-height:36px;font-size:12px}
.dt-score-fit.dt-score-tiny .dt-score-match-selector{top:max(5px,var(--dt-safe-top,env(safe-area-inset-top)));left:calc(max(5px,var(--dt-safe-left,env(safe-area-inset-left))) + 38px);right:calc(max(5px,var(--dt-safe-right,env(safe-area-inset-right))) + 38px)}
.dt-score-fit.dt-score-tiny #dtMatchSelect{height:32px;min-height:32px}

/* Private/business choice and a direct standalone counter entry. */
.dt-quick-entry{display:flex;align-items:center;gap:12px;margin:12px 0;padding:14px 16px;border:1px solid #b8d9f0;border-radius:16px;background:linear-gradient(110deg,#eef7ff,#f5f1ff);color:#173e53;text-decoration:none;box-shadow:0 2px 6px #173e5307}
.dt-quick-entry strong,.dt-quick-entry small{display:block}.dt-quick-entry strong{font-size:16px}.dt-quick-entry small{font-size:12px;color:#536b7b;margin-top:3px}.dt-quick-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;background:#fff;border-radius:13px;font-size:24px}
.dt-list-filters{margin-bottom:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.dt-tournament-card .dt-summary{margin:6px 0}.dt-quick-setup{max-width:600px;margin:16px auto}.dt-quick-setup .dt-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.dt-form [hidden]{display:none!important}
@media(max-width:360px){.dt-quick-entry{gap:8px;padding:12px}.dt-quick-entry strong{font-size:14px}.dt-quick-entry small{font-size:11px}.dt-quick-icon{width:34px;height:34px;flex-basis:34px;font-size:21px}}

/* Full-height tablet/desktop landscape: a roomy keypad, not a narrow sidebar. */
@media(min-height:601px){
 .dt-score-fit.dt-score-landscape .dt-score-layout{grid-template-columns:minmax(0,1fr) minmax(0,2.5fr);gap:12px}
 .dt-score-fit.dt-score-landscape .dt-score-entry{grid-template-rows:var(--dt-current-row,30px) minmax(0,1fr) minmax(0,4fr) minmax(0,1fr) 40px;gap:6px}
 .dt-score-fit.dt-score-landscape .dt-dart-fields{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:6px}
 .dt-score-fit.dt-score-landscape .dt-dart-fields .dt-btn{font-size:clamp(24px,3vw,40px);border-radius:12px}
 .dt-score-fit.dt-score-landscape .dt-score-players{gap:12px}
 .dt-score-fit.dt-score-landscape .dt-score-player{padding:12px 9px}
 .dt-score-fit.dt-score-landscape .dt-score-player h2{font-size:16px;line-height:22px;height:22px}
 .dt-score-fit.dt-score-landscape .dt-score-big{font-size:clamp(48px,8vw,88px)}
 .dt-score-fit.dt-score-landscape .dt-score-player .dt-badge{font-size:11px;line-height:16px;padding:2px 5px}
 .dt-score-fit.dt-score-landscape .dt-score-turn{font-size:13px;line-height:20px;min-height:20px;max-height:40px;margin-top:8px}
 .dt-score-fit.dt-score-landscape .dt-last-visit{height:auto;min-height:30px;font-size:12px;margin-top:8px}
}

/* The previous visit stays readable as three hits, separate from its total. */
.dt-score .dt-last-visit{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,1.5fr) auto;grid-template-rows:minmax(0,1fr);align-items:center;gap:6px;min-height:46px;height:46px;padding:4px 6px;color:var(--dt-ink);font-variant-numeric:tabular-nums}
.dt-last-visit .dt-last-label{display:flex;flex-direction:column;min-width:0;line-height:14px;font-size:12px;text-align:left}
.dt-last-label small,.dt-last-total small{display:block;font-size:10px;line-height:12px;font-weight:500;color:#526d60}
.dt-last-label>span{overflow:hidden;text-overflow:ellipsis;font-weight:650}
.dt-last-visit .dt-last-hits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-width:0;height:100%;overflow:visible}
.dt-last-hit{display:flex;align-items:center;justify-content:center;min-width:0;height:100%;border:1px solid #c3d8cb;border-radius:7px;background:#fff;color:#174b3c;font-size:20px;line-height:1;font-weight:800}
.dt-last-hit.is-empty{color:#81958a;font-weight:500}
.dt-last-visit .dt-last-total{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0;font-size:24px;line-height:1;font-weight:800}
.dt-last-visit.is-bust .dt-last-total{color:#a03c16}
.dt-score-fit .dt-last-visit{height:44px;min-height:44px}
.dt-score-fit.dt-score-tight .dt-last-visit{height:30px;min-height:30px;padding:2px 4px;gap:4px}
.dt-score-tight .dt-last-label,.dt-score-tight .dt-last-label small,.dt-score-tight .dt-last-total small{font-size:9px;line-height:11px}
.dt-score-tight .dt-last-hit{font-size:16px;border-radius:5px}
.dt-score-tight .dt-last-total{font-size:18px}
.dt-score-tight .dt-last-total small{font-size:8px;line-height:8px}
.dt-score-fit.dt-score-tiny:not(.dt-score-landscape) .dt-last-visit{display:none}
.dt-score-fit.dt-score-landscape .dt-last-visit{display:grid;height:52px;min-height:52px;margin-top:8px}
.dt-score-landscape .dt-last-hit{font-size:24px}
.dt-score-landscape .dt-last-total{font-size:28px}
@media(max-height:650px){
 .dt-score-fit:not(.dt-score-landscape) .dt-last-visit{height:30px;min-height:30px;padding:2px 4px;gap:4px}
 .dt-score-fit:not(.dt-score-landscape) .dt-last-label,.dt-score-fit:not(.dt-score-landscape) .dt-last-label small,.dt-score-fit:not(.dt-score-landscape) .dt-last-total small{font-size:9px;line-height:11px}
 .dt-score-fit:not(.dt-score-landscape) .dt-last-hit{font-size:16px;border-radius:5px}
 .dt-score-fit:not(.dt-score-landscape) .dt-last-total{font-size:18px}
 .dt-score-fit:not(.dt-score-landscape) .dt-last-total small{font-size:8px;line-height:8px}
}
@media(max-height:600px){
 .dt-score-fit.dt-score-landscape .dt-last-visit{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:12px minmax(0,1fr);height:58px;min-height:58px;gap:3px 5px;margin-top:4px;padding:4px 5px}
 .dt-score-landscape .dt-last-label{grid-column:1/3;grid-row:1;display:block;font-size:10px;line-height:12px;overflow:hidden;text-overflow:ellipsis}
 .dt-score-landscape .dt-last-label small{display:inline;font-size:10px;line-height:12px;margin-right:5px}
 .dt-score-landscape .dt-last-hits{grid-column:1;grid-row:2}
 .dt-score-landscape .dt-last-total{grid-column:2;grid-row:2;font-size:20px}
 .dt-score-landscape .dt-last-total small{font-size:9px;line-height:10px}
 .dt-score-landscape .dt-last-hit{font-size:19px}
}
.dt-navigation-loading{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--dt-bg);color:var(--dt-ink);font-size:18px}.dt-navigation-loading>span{font-size:40px}

.dt-leg-settings{display:grid;gap:9px;border:1px solid #bfd5f1;background:#edf4ff;border-radius:12px;padding:10px;min-width:0}.dt-leg-settings h3{margin:0;font-size:14px;color:#254f78}.dt-leg-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:10px}.dt-leg-fields label{padding:8px;border:1px solid #cbdcf0;border-radius:10px;background:#fff}.dt-leg-fields .dt-help{font-size:11px;font-weight:400;line-height:1.3}.dt-start-legs{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:10px}

.dt-list-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px;margin:10px 0}.dt-list-tools label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--dt-muted);min-width:0}.dt-list-tools select,.dt-list-tools input{width:100%;min-width:0;min-height:44px;padding:9px;border:1px solid var(--dt-line);border-radius:11px;background:#fff;color:var(--dt-ink)}.dt-card-actions{display:flex;gap:6px}.dt-card-actions>.dt-btn:first-child{flex:1}.dt-round-again{margin-bottom:12px}.dt-round-again .dt-help{display:block;margin-top:8px}.dt-round-actions{display:grid;gap:10px}.dt-round-actions .dt-btn{min-height:52px}.dt-copy-note{margin:0;background:#eaf2ff;border:1px solid #c5d9f6;border-radius:10px;padding:10px;font-size:12px;line-height:1.5}.dt-list-results[aria-busy=true]{min-height:120px}

/* Shared spacing for views and settings, including direct section contents. */
.dt-workbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.dt-workbar>.dt-tabs{flex:1;min-width:0}
.dt-view{display:grid;gap:12px;min-width:0}
.dt-view>.dt-round-again{margin-bottom:0}
.dt-dialog-body{display:flex;flex-direction:column;gap:14px}
.dt-dialog-body>:is(p,.dt-help,.dt-note){margin:0}
.dt-stack{display:flex;flex-direction:column;gap:12px;min-width:0}
.dt-stack>:is(p,h3,.dt-help,.dt-actions){margin:0}
.dt-dialog-body details[open]>:not(summary){margin-top:10px}
.dt-dialog-body :is(.dt-actions,.dt-cols,.dt-summary){row-gap:8px}
.dt-dialog-body :is(label,section,details,fieldset){min-width:0}
.dt-dialog-body .dt-btn{white-space:normal;overflow-wrap:anywhere}
.dt-phase-note{display:block;color:#24684c;font-size:11px;line-height:1.45;font-weight:500}
.dt-phase-note.is-locked{color:var(--dt-muted)}
[data-dart-board]{position:relative;overflow:hidden}
.dt-party{position:absolute;inset:0;z-index:4;pointer-events:none;display:grid;place-items:center;border-radius:inherit;overflow:hidden;isolation:isolate;container-type:inline-size;background:radial-gradient(ellipse at 15% 15%,#642d5f65,transparent 55%),radial-gradient(ellipse at 85% 90%,#1b746a65,transparent 55%),#071222f2;color:#fff;animation:dt-party-stage 4.2s both;animation-delay:var(--dt-party-delay,0ms)}
.dt-party.is-score{position:fixed;inset:0;width:auto;height:auto;transform:none;border-radius:0;z-index:10040}
.dt-party-sky{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.dt-party-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:94%;text-align:center;padding:10px 0;filter:drop-shadow(0 4px 18px #0008)}
.dt-party-label{font-size:10px;font-size:clamp(8px,3cqw,12px);line-height:1.3;letter-spacing:.18em;font-weight:750;color:#ffedb4}
.dt-party-number{display:block;font-size:clamp(54px,9vw,125px);font-size:clamp(54px,32cqw,125px);line-height:.95;font-weight:950;font-style:italic;letter-spacing:-.055em;padding-right:.06em;color:#ffe493;background:linear-gradient(165deg,#fff9db 10%,#ffe381 38%,#ffad37 64%,#fff0b2 88%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 5px 0 #c8791533;filter:drop-shadow(0 0 18px #ffbd4d55);animation:dt-party-arrive .65s cubic-bezier(.16,.9,.2,1.2) both;animation-delay:var(--dt-party-delay,0ms)}
.dt-party-name{max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-size:clamp(12px,4cqw,20px);line-height:1.4;font-weight:750;border:1px solid #ffe4a548;background:#ffffff14;border-radius:999px;padding:5px 16px;color:#fff8e4}
.dt-party.is-score .dt-party-content{gap:18px}.dt-party.is-score .dt-party-number{font-size:clamp(110px,36vmin,380px)}.dt-party.is-score .dt-party-label{font-size:clamp(11px,2vmin,20px);letter-spacing:.22em}.dt-party.is-score .dt-party-name{font-size:clamp(18px,4vmin,32px);padding:8px 26px}
.dt-party i{position:absolute;z-index:1;top:-20px;left:var(--dt-confetti-x);width:7px;height:17px;border-radius:2px;opacity:0;animation:dt-party-paper var(--dt-paper-life,3s) linear both;animation-delay:calc(var(--dt-party-delay,0ms) + var(--dt-paper-lag,0s))}
@keyframes dt-party-stage{0%{opacity:0}6%,89%{opacity:1}100%{opacity:0}}@keyframes dt-party-arrive{0%{transform:scale(.6) rotate(-9deg);opacity:0}70%{transform:scale(1.07) rotate(2deg);opacity:1}100%{transform:scale(1) rotate(0);opacity:1}}@keyframes dt-party-paper{0%{opacity:0;transform:translate(0,-15px) rotate(0) rotateY(0)}10%,80%{opacity:.95}100%{opacity:0;transform:translate(var(--dt-confetti-shift),calc(var(--dt-party-height,600px) + 40px)) rotate(var(--dt-confetti-turn)) rotateY(720deg)}}
@media(prefers-reduced-motion:reduce){.dt-party,.dt-party-number{animation:none}.dt-party i,.dt-party-sky{display:none}}
.dt-180-setting{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:9px 0}.dt-180-setting .dt-check{display:inline-flex;flex-direction:row;align-items:center;gap:10px;min-height:44px;margin:0;cursor:pointer}.dt-180-setting .dt-check input{flex:0 0 22px;width:22px;min-width:22px;min-height:22px;height:22px;margin:0;padding:0;accent-color:var(--dt-green)}.dt-180-setting .dt-check span{line-height:1.4}.dt-180-setting .dt-help{flex-basis:100%}

/* Current darts are primary; the previous visit remains readable but quieter. */
.dt-score-fit{--dt-current-row:clamp(50px,calc(var(--dt-score-vh,1dvh)*6.7),72px)}
.dt-score-fit .dt-dart-chip{flex-direction:column;gap:2px;padding:2px 5px;border:2px solid #b8cee8;background:#edf5ff;color:#164778;box-shadow:0 1px 2px #1647780b}
.dt-score-fit .dt-dart-chip small{color:#496b8e;font-size:10px;line-height:11px;font-weight:650}
.dt-score-fit .dt-dart-chip strong{font-size:clamp(24px,calc(var(--dt-score-vh,1dvh)*3.7),36px);font-weight:850;line-height:1;font-variant-numeric:tabular-nums}
.dt-score-fit .dt-dart-chip.is-next{border-color:#2869b2;background:#e0eeff;box-shadow:inset 0 0 0 1px #2869b2}
.dt-score-fit .dt-dart-chip.filled{background:#205d47;border-color:#205d47;color:#fff}
.dt-score-fit .dt-dart-chip.filled small{color:#e0f3e9}
.dt-score-fit .dt-dart-chip.pending{background:#fff0ce;border-color:#b98121;color:#734800}
.dt-score-fit .dt-dart-chip.pending small{color:#734800}
.dt-score-fit .dt-last-visit{background:#f0f3f1}
@media(max-height:650px){.dt-score-fit{--dt-current-row:44px}.dt-score-fit .dt-dart-chip strong{font-size:24px}}
@media(max-height:650px){.dt-score-fit:not(.dt-score-landscape){--dt-current-row:36px}.dt-score-fit:not(.dt-score-landscape) .dt-dart-chip{flex-direction:row;gap:6px}}
@media(max-height:570px){.dt-score-fit:not(.dt-score-landscape){--dt-current-row:32px}.dt-score-fit:not(.dt-score-landscape) .dt-score-entry,.dt-score-fit:not(.dt-score-landscape) .dt-score-layout{gap:3px}.dt-score-fit:not(.dt-score-landscape) .dt-dart-chip{flex-direction:row;gap:6px}.dt-score-fit:not(.dt-score-landscape) .dt-dart-chip strong{font-size:22px}}
@media(max-height:450px){.dt-score-fit:not(.dt-score-landscape){--dt-current-row:30px}.dt-score-fit:not(.dt-score-landscape) .dt-dart-chip strong{font-size:20px}}

.dt-dart-chip[data-score-action],.dt-last-hit[data-score-action]{font-family:inherit;cursor:pointer;appearance:none}.dt-last-hit[data-score-action]{padding:0}.dt-dart-chip[data-score-action]:focus-visible,.dt-last-hit[data-score-action]:focus-visible{outline:2px solid #2870ba;outline-offset:-3px}.dt-dart-chip[data-score-action]:active,.dt-last-hit[data-score-action]:active{filter:brightness(.9)}
.dt-score-fit.dt-score-edit .dt-sync-note{flex:0 0 44px;min-height:44px;height:44px;line-height:13px;font-size:10px;white-space:normal;display:block;overflow:auto;background:#fff3d6;border:1px solid #e4be71;border-radius:7px;padding:3px 6px}.dt-score-edit .dt-score-player{border:1px solid #e4be71;background:#fff9ed}.dt-score-edit .dt-dart-chip.dt-edit-new{background:#fff0c9;border-color:#b87a17;color:#674100}.dt-score-edit .dt-dart-chip.dt-edit-new small{color:#674100}.dt-score-edit .dt-score-tools .dt-btn{flex:1;min-width:0}.dt-score-edit .dt-score-entry{outline:2px solid #e5bd69;outline-offset:2px;border-radius:9px}.dt-score-edit .dt-dart-chip:last-child strong{font-size:clamp(14px,2.4vh,22px)}.dt-rank{display:inline-block;font-size:12px;white-space:nowrap;font-weight:750}.dt-rank.is-shared{background:#f0e9ff;color:#6c3f9e;border-radius:6px;padding:2px 4px}

.dt-dart-chip[data-score-action],.dt-last-hit[data-score-action]{position:relative}.dt-dart-chip[data-score-action]::after,.dt-last-hit[data-score-action]::after{content:'✎';position:absolute;top:2px;right:3px;font-size:9px;line-height:1;opacity:.75}.dt-history-edit{margin:12px 0}.dt-history-edit .dt-last-visit{display:grid!important;margin:6px 0}.dt-history-edit .dt-dart-slots{min-height:40px;height:40px;margin:6px 0}

.dt-score-fit.dt-score-edit .dt-score-entry{grid-template-rows:var(--dt-current-row,30px) minmax(0,1fr) minmax(0,var(--dt-edit-number-weight,4fr)) minmax(0,1fr) 44px}@media(max-height:600px){.dt-score-landscape.dt-score-edit{--dt-edit-number-weight:2fr}}@media(max-height:450px){.dt-score-fit.dt-score-edit .dt-score-entry{grid-template-rows:var(--dt-current-row,30px) minmax(0,1fr) minmax(0,var(--dt-edit-number-weight,4fr)) minmax(0,1fr) 32px}}

/* Personal standings and explicit round continuity. */
.dt-my-standing{display:grid;gap:12px;min-width:0}.dt-my-standing h2,.dt-my-standing h3{margin:0}.dt-my-standing details{min-width:0}.dt-my-standing summary{cursor:pointer;padding:12px 0;font-weight:750}.dt-my-standing .dt-table-wrap{margin-top:8px}.dt-table .dt-own-rank{background:#e4f5ee;box-shadow:inset 4px 0 #16835e}.dt-you{display:inline-block;background:#137a58;color:#fff;border-radius:8px;padding:2px 5px;font-size:.7rem;white-space:nowrap}.dt-my-standing .dt-table th,.dt-my-standing .dt-table td{padding:9px 5px}.dt-my-standing .dt-table td:first-child{min-width:90px;overflow-wrap:anywhere}.dt-round-codes{display:grid;gap:8px;border:1px solid #a7d6c1;background:#eff9f3;border-radius:14px;padding:12px}.dt-round-codes .dt-check{margin:0}.dt-round-review{max-width:620px;margin:24px auto}.dt-round-inputs{display:flex;flex-wrap:wrap;gap:8px;padding:0;list-style:none}.dt-round-inputs li{padding:8px;border-radius:8px;background:#edf5f0}

/* Completed free games keep one clear action per row on phones. */
.dt-free-result-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.dt-free-result-actions>.dt-btn{width:100%;min-width:0;min-height:48px}@media(min-width:600px){.dt-free-result-actions{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}

/* Keep developer contact focused without navigating away from a local game. */
.dt-support{margin:12px 0}.dt-support>.dt-btn{min-height:44px}.dt-support-wrap{height:min(700px,calc(100dvh - 160px));min-height:230px;position:relative}.dt-support-frame{width:100%;height:100%;border:0;display:block;border-radius:12px}.dt-support-loading{position:absolute;inset:0;display:grid;place-items:center;background:#f3f7f5;pointer-events:none}.dt-support-wrap+.dt-btn{margin-top:8px}

/* Read-only checkout previews occupy only unthrown dart slots. */
.dt-dart-chip.dt-checkout-hint{opacity:1;border-style:dashed;border-color:#b9c4be;background:#eef2ef;color:#66716b;cursor:default}.dt-dart-chip.dt-checkout-hint strong{color:#66716b;font-weight:600}.dt-dart-chip.dt-checkout-hint small{color:#66716b}

/* Optional direct-field input: occupies exactly the three existing keypad rows. */
.dt-board-input{position:relative;grid-row:span 3;min-width:0;min-height:0;display:flex;justify-content:center;overflow:hidden;border:1px solid #31574d;border-radius:14px;background:radial-gradient(ellipse,#244d42,#172f2b);touch-action:manipulation}
.dt-board-svg{display:block;width:100%;height:100%;min-width:0;min-height:0;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.dt-board-target{cursor:pointer;stroke:#b5b29e;stroke-width:1;touch-action:manipulation}
rect.dt-board-target{stroke:none}.dt-board-target:focus{outline:none}.dt-board-target:focus-visible{stroke:#72d9ff;stroke-width:4;filter:brightness(1.2)}.dt-board-target:active{filter:brightness(1.5);stroke:#fff;stroke-width:3}
.dt-board-svg .dt-board-number{fill:#fff;stroke:none;font:700 14px system-ui,sans-serif;text-anchor:middle;dominant-baseline:central}
.dt-board-svg .dt-board-number:focus-visible{fill:#72d9ff;stroke:#72d9ff;stroke-width:1}
.dt-board-bull-label{fill:#fff;font:800 15px system-ui,sans-serif;text-anchor:middle;dominant-baseline:central;pointer-events:none}.dt-board-25{font-size:13px}
.dt-board-miss-label{fill:#d6ece2;font:650 15px system-ui,sans-serif;text-anchor:middle;pointer-events:none}
.dt-board-input.is-disabled{opacity:.55}.dt-board-input.is-disabled .dt-board-target{cursor:default}
.dt-free-entry .dt-free-tools{grid-template-columns:repeat(3,minmax(0,1fr))}
.dt-score-fit .dt-score-tools .dt-score-details-button{flex:1}
.dt-score-entry .dt-score-tools .dt-input-switch,.dt-free-entry .dt-free-tools .dt-input-switch{font-size:12px;white-space:nowrap}

/* Bull shortcuts use the empty corners, never an extra keypad row. */
.dt-board-input .dt-board-quick.dt-btn{position:absolute;top:2px;left:2px;width:60px;min-width:60px;height:44px;min-height:44px;z-index:1;padding:0;border:1px solid #bce6d6;border-radius:11px;background:#196748;color:#fff;font:800 21px/1 system-ui,sans-serif;touch-action:manipulation;cursor:pointer}
.dt-board-input .dt-board-quick50.dt-btn{left:auto;right:2px;background:#a82e47;border-color:#f3c4cc}
.dt-board-input .dt-board-quick:active{filter:brightness(1.3)}.dt-board-input .dt-board-quick:focus-visible{outline:3px solid #72d9ff;outline-offset:-3px}.dt-board-input .dt-board-quick:disabled{cursor:default;opacity:.6}

/* The complete dark surround is a miss target, including SVG letterboxing. */
.dt-board-input .dt-board-area.dt-btn{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:inherit;background:transparent;cursor:pointer}
.dt-board-svg{position:relative;z-index:1;pointer-events:none}.dt-board-svg .dt-board-target{pointer-events:auto}
.dt-board-input .dt-board-quick.dt-btn{z-index:2}
.dt-board-input .dt-board-area:focus-visible{outline:3px solid #72d9ff;outline-offset:-4px}
.dt-board-hit-feedback{position:fixed;z-index:1100;display:grid;place-items:center;width:76px;height:46px;box-sizing:border-box;border:2px solid #ffdb7d;border-radius:14px;background:#163d34ee;color:#fff4ce;box-shadow:0 4px 18px #071d3466;font:850 27px/1 system-ui,sans-serif;pointer-events:none!important;user-select:none;-webkit-user-select:none;transform:translate(-50%,-50%);will-change:transform,opacity}
@media(prefers-reduced-motion:reduce){.dt-board-hit-feedback{will-change:opacity}}

/* Whole-visit input and rule-aware checkout colors. */
[data-checkout-state="ready"]{color:#08783c!important}[data-checkout-state="blocked"]{color:#ae5700!important}
.dt-visit-input{grid-row:span 3;min-height:0;min-width:0;display:grid;grid-template-rows:minmax(40px,.8fr) minmax(0,4fr) minmax(44px,.85fr) auto;gap:5px;background:#f1f7f4;border:1px solid #bad6c8;border-radius:12px;padding:6px;overflow:auto}
.dt-visit-display{display:flex;align-items:center;gap:8px;font-weight:750;min-width:0}.dt-visit-display input{min-width:0;width:100%;height:100%;min-height:36px;text-align:right;font:800 clamp(22px,4vh,38px) system-ui;color:#203c34;border:1px solid #97b7a6;border-radius:8px;padding:2px 8px;background:#fff}
.dt-visit-numbers{min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(32px,1fr));gap:4px}.dt-visit-input .dt-btn{min-height:32px!important;font-size:clamp(17px,3vh,28px);height:100%;touch-action:manipulation}
.dt-visit-actions{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.8fr) minmax(0,1.35fr);gap:4px;min-height:44px}.dt-visit-input .dt-visit-actions .dt-btn{font-size:clamp(13px,1.8vh,16px);line-height:1.15;min-height:44px!important;padding:4px 3px;gap:4px;white-space:nowrap}.dt-visit-enter{display:block;flex:0 0 18px;width:18px;height:18px}
.dt-visit-error{margin:0;font-size:11px;line-height:1.2;min-height:14px}.dt-visit-finish{grid-template-rows:auto auto auto minmax(44px,1fr) 44px 40px;align-content:center;padding:10px;text-align:center}.dt-visit-finish p{margin:3px}.dt-visit-finish>div{display:flex;gap:6px}.dt-visit-finish>div>button{flex:1;min-width:0}.dt-visit-finish>button{font-size:15px}
.dt-aggregate-card{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:4px 8px;border:1px solid #a9c6b7;border-radius:8px;background:#fff}.dt-aggregate-card small{font-size:11px}.dt-last-aggregate{grid-template-columns:1fr auto!important}.dt-last-aggregate small{grid-column:1/-1;font-size:10px}

.dt-free-mode{display:flex;align-items:flex-end;gap:10px}.dt-free-mode>label{flex:1;min-width:0}.dt-free-mode>button{min-height:48px;flex:none}.dt-free-mode select{min-height:48px;width:100%}.dt-free-setup textarea{width:100%;resize:vertical;min-height:100px}.dt-free-check{display:flex!important;align-items:center;gap:10px}.dt-free-check input{width:24px;height:24px}.dt-free-fit{overflow:hidden;overscroll-behavior:none}.dt-free-fit .dt-app{padding:max(5px,var(--dt-safe-top,env(safe-area-inset-top))) max(5px,var(--dt-safe-right,env(safe-area-inset-right))) max(5px,var(--dt-safe-bottom,env(safe-area-inset-bottom))) max(5px,var(--dt-safe-left,env(safe-area-inset-left)));max-width:none;height:var(--dt-free-height,100dvh);height:var(--dt-free-height,100vh);overflow:hidden}.dt-free-screen{display:flex;flex-direction:column;gap:4px;height:100%;min-height:0}.dt-free-head{display:flex;align-items:center;gap:5px;min-height:38px}.dt-free-head>div{flex:1;min-width:0}.dt-free-head strong,.dt-free-head small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-free-head strong{font-size:16px}.dt-free-head small{font-size:11px}.dt-free-head .dt-btn{min-height:36px;height:36px;padding:3px;width:36px}.dt-free-sync{margin:0;min-height:18px;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#627c72}.dt-free-layout{display:grid;grid-template-rows:minmax(90px,.65fr) minmax(0,2fr);gap:5px;min-height:0;flex:1}.dt-free-overview{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-rows:1fr auto;gap:4px;min-height:0}.dt-free-active{grid-row:1/3;min-height:0;border:2px solid #24a076;border-radius:12px;padding:5px 8px;background:#e8f8ee;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;overflow:hidden}.dt-free-active h2{font-size:clamp(14px,2.6vw,24px);margin:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dt-free-value{font-size:clamp(27px,6vh,64px);font-size:clamp(27px,calc(var(--dt-free-vh,1vh)*6),64px);font-weight:850;line-height:1.1;font-variant-numeric:tabular-nums}.dt-free-target{font-size:12px;max-width:100%;text-align:center}.dt-free-active>small{font-size:10px}.dt-free-next{display:flex;flex-wrap:wrap;gap:3px 8px;align-items:center;align-content:center;background:white;border:1px solid var(--dt-line);border-radius:10px;padding:5px;min-width:0;overflow:hidden}.dt-free-next>span{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:650;font-size:12px}.dt-free-next>b{font-size:22px}.dt-free-next .dt-btn{margin-left:auto;padding:3px 6px;min-height:30px;font-size:11px}.dt-free-last{min-width:0}.dt-free-last>small{font-size:9px;white-space:nowrap;overflow:hidden;display:block;text-overflow:ellipsis}.dt-free-last>div,.dt-free-current{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.dt-free-hit{position:relative;min-width:0;border:1px solid #bdd5c8;border-radius:9px;background:#e4f6e9;padding:3px;color:var(--dt-ink);cursor:pointer}.dt-free-hit small{font-size:10px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-free-hit strong{font-size:clamp(20px,3.5vh,36px);display:block;line-height:1.1}.dt-free-hit>span{position:absolute;top:2px;right:2px;font-size:8px}.dt-free-hit:disabled{background:#e7f0f7;color:#647b8b;cursor:default}.dt-free-last .dt-free-hit{background:#fff}.dt-free-last .dt-free-hit strong{font-size:16px}.dt-free-last .dt-free-hit small{display:none}.dt-free-entry{min-height:0;display:grid;grid-template-rows:.85fr .8fr 4fr 1fr .75fr;gap:4px}.dt-free-current{min-height:0}.dt-free-multipliers,.dt-free-special,.dt-free-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-height:0}.dt-free-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.dt-free-numbers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:4px;min-height:0}.dt-free-entry .dt-btn{min-height:0;min-width:0;padding:2px 4px;border-radius:9px;font-size:clamp(14px,2.8vh,23px)}.dt-free-numbers .dt-btn{font-size:clamp(22px,4.4vh,40px);font-weight:750}.dt-free-multipliers .dt-btn{font-size:clamp(13px,2.4vh,21px)}.dt-free-tools .dt-btn{font-size:13px}.dt-free-marks{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;width:100%;max-width:420px;margin:4px 0}.dt-free-marks span{background:#fff8;border-radius:5px;text-align:center;min-width:0}.dt-free-marks small{font-size:9px;display:block}.dt-free-marks b{font-size:17px}.dt-free-marks .closed{background:#bcdfcf;color:#145d3f}.dt-free-edit-values{display:flex;gap:30px;margin:10px}.dt-free-edit-values small{display:block}.dt-free-edit-values strong{font-size:36px}.dt-free-screen.is-edit{background:#fff7e6;outline:2px solid #e7b44d;border-radius:10px}.dt-free-screen.is-edit .dt-free-active{grid-column:1/3;background:#fff1cf;border-color:#e7b44d}.dt-free-screen.is-edit .dt-free-entry{grid-template-rows:.8fr 4fr 1fr .9fr}.dt-free-result{grid-row:1/-1;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:10px;text-align:center}.dt-free-result h2{margin:0;font-size:24px}.dt-free-result .dt-btn{min-height:48px}.dt-free-standings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px;margin-bottom:15px}.dt-free-standings strong{font-size:28px;display:block}.dt-free-standings small{display:block}.dt-free-detail-hits{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.dt-free-detail-hits .dt-free-hit{min-width:95px}.dt-free-board-list{max-height:240px;overflow:auto;margin:5px 0}.dt-free-board-list>div{display:flex;gap:8px;justify-content:space-between;padding:4px;border-bottom:1px solid var(--dt-line)}.dt-free-board-list .is-turn{background:#e0f5e7;font-weight:750}.dt-free-pending{white-space:pre-wrap;overflow-wrap:anywhere}.dt-free-screen>select{max-width:100%;height:28px;min-height:28px;padding:2px;font-size:11px}.dt-free-fit .dt-connection:not([hidden]){bottom:0;font-size:10px;padding:3px;pointer-events:none}

@media(orientation:landscape){.dt-free-layout{grid-template-columns:minmax(170px,1fr) minmax(0,2.5fr);grid-template-rows:minmax(0,1fr)}.dt-free-overview{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 55px 48px}.dt-free-active{grid-row:auto}.dt-free-next{flex-wrap:nowrap}.dt-free-next>span{width:auto;flex:1}.dt-free-last>small{font-size:10px}.dt-free-value{font-size:clamp(30px,9vh,84px)}.dt-free-screen.is-edit .dt-free-active{grid-column:auto;grid-row:1/-1}.dt-free-entry .dt-btn{font-size:clamp(13px,3.8vh,25px)}.dt-free-numbers .dt-btn{font-size:clamp(22px,6vh,44px)}}
@media(max-height:500px){.dt-free-head{min-height:30px}.dt-free-head .dt-btn{height:30px;min-height:30px}.dt-free-head small{display:none}.dt-free-sync{font-size:9px;min-height:14px}.dt-free-layout{gap:3px}.dt-free-screen{gap:2px}.dt-free-entry{gap:3px}.dt-free-hit strong{font-size:22px}.dt-free-value{font-size:30px}.dt-free-marks b{font-size:14px}.dt-free-active>small{display:none}.dt-free-target{font-size:10px}.dt-free-last .dt-free-hit strong{font-size:14px}.dt-free-overview{gap:3px}.dt-free-tools .dt-btn{font-size:11px}}
@media(max-height:500px) and (orientation:portrait){.dt-free-last{display:none}.dt-free-overview{grid-template-rows:1fr}.dt-free-active{grid-row:auto}.dt-free-layout{grid-template-rows:90px minmax(0,1fr)}}

.dt-game-help{max-width:850px;margin:0 auto;font-size:16px;line-height:1.55;color:#203e32;overflow-wrap:anywhere}.dt-game-help h3{font-size:19px;margin:20px 0 8px}.dt-game-help p{margin:8px 0}.dt-game-goal{background:#e6f6ed;border-left:4px solid #229568;border-radius:12px;padding:12px 16px}.dt-game-goal strong{display:block}.dt-game-steps{padding:0;list-style:none;counter-reset:game-steps;display:grid;gap:12px}.dt-game-steps li{counter-increment:game-steps;display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start}.dt-game-steps li:before{content:counter(game-steps);border-radius:50%;background:#dfedf8;color:#1e5681;width:30px;line-height:30px;text-align:center;font-weight:800}.dt-game-example{padding:14px;border:1px solid #e8c27c;border-radius:12px;background:#fff8e8;margin:16px 0}.dt-game-example>strong{color:#845212;display:block}.dt-game-example p:last-child{margin-bottom:0}.dt-game-win{padding:12px 16px;border-radius:12px;background:#f0eafb}.dt-game-help details{margin-top:14px;border:1px solid #d7e5dc;border-radius:12px;padding:12px}.dt-game-help summary{cursor:pointer;font-weight:750;min-height:26px}.dt-game-help figure{margin:12px 0}.dt-game-help svg{display:block;width:100%;height:auto;max-width:520px;margin:auto}.dt-game-help figcaption{font-size:13px;color:#526d60;text-align:center}.dt-game-flow{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:10px 0}.dt-game-flow b{display:inline-flex;justify-content:center;align-items:center;min-width:42px;min-height:42px;padding:6px 9px;border-radius:9px;border:1px solid #b8d3c5;background:#fff;font-size:18px}.dt-game-flow .is-fox{background:#fff0d6;border-color:#e9b765}.dt-game-flow .is-hunter{background:#e1effc;border-color:#83b5dc}.dt-game-help .dt-game-note{font-size:14px;color:#4d685b}.dt-game-help dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px}.dt-game-help dt{font-weight:750}.dt-game-help dd{margin:0}.dt-game-help .dt-game-decision{padding:12px;border-radius:12px;background:#fff3db;border:1px solid #e2bd73}@media(max-width:400px){.dt-free-mode{gap:6px}.dt-free-mode>button{padding:10px}.dt-game-help{font-size:15px}.dt-game-help h3{font-size:18px}}

/* Keep essential player labels visible and touch targets usable on short phones. */
.dt-free-active h2,.dt-free-value,.dt-free-target,.dt-free-marks,.dt-free-active>small{flex-shrink:0}
@media(orientation:portrait) and (max-height:650px){.dt-free-active{padding:4px 6px}.dt-free-active h2{font-size:13px;line-height:1.2}.dt-free-value{font-size:28px;line-height:1.05}.dt-free-target{font-size:10px;line-height:1.2}.dt-free-active>small{font-size:9px;line-height:1.2}.dt-free-marks{margin:2px 0}.dt-free-marks small{font-size:8px;line-height:1.15}.dt-free-marks b{font-size:14px;line-height:1.15}}
@media(orientation:portrait) and (min-height:540px){.dt-free-entry{grid-template-rows:.85fr minmax(40px,.8fr) 4fr 1fr .75fr}.dt-free-screen.is-edit .dt-free-entry{grid-template-rows:minmax(40px,.8fr) 4fr 1fr .9fr}}
@media(orientation:portrait) and (max-height:500px){.dt-free-layout{grid-template-rows:100px minmax(0,1fr)}.dt-free-value{font-size:25px}.dt-free-active h2{font-size:12px}.dt-free-marks{margin:1px 0}}

.dt-free-screen.is-result .dt-free-layout{display:flex;flex-direction:column}.dt-free-screen.is-result .dt-free-overview{display:none}.dt-free-screen.is-result .dt-free-entry{display:flex;flex:1;justify-content:center}.dt-free-screen.is-result .dt-free-result{flex:1;max-width:640px;min-height:0;width:100%;margin:auto}.dt-free-result>h2,.dt-free-result>.dt-btn{flex-shrink:0}.dt-free-result>h2{line-height:1.2}.dt-free-result>p{flex:0 1 auto;min-height:0;overflow:auto;margin:4px 0}@media(max-height:500px){.dt-free-result{gap:6px}.dt-free-result h2{font-size:20px}.dt-free-result .dt-btn{min-height:40px;font-size:15px}}

/* Reserve actual space for current-dart labels; they must never cover the multipliers. */
.dt-free-screen:not(.is-edit):not(.is-result) .dt-free-entry{grid-template-rows:minmax(48px,.85fr) minmax(0,.8fr) minmax(0,4fr) minmax(0,1fr) minmax(0,.75fr)}
.dt-free-current .dt-free-hit{min-height:0;height:100%;overflow:hidden;display:flex;flex-direction:column;justify-content:center}
@media(orientation:portrait) and (min-height:540px){.dt-free-screen:not(.is-edit):not(.is-result) .dt-free-entry{grid-template-rows:minmax(48px,.85fr) minmax(40px,.8fr) minmax(0,4fr) minmax(0,1fr) minmax(0,.75fr)}}
/* Native modal keeps touch/keyboard input out of an unusably short phone keypad. */
.dt-phone-portrait{box-sizing:border-box;width:min(440px,calc(100% - 28px));max-height:calc(100dvh - 24px);margin:auto;border:1px solid #b8d4c7;border-radius:22px;padding:22px;color:#203c34;background:#f7fbf8;text-align:center;box-shadow:0 15px 80px #10282045;font:16px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:auto}
.dt-phone-portrait::backdrop{background:#173b32ed}.dt-phone-portrait-icon{font-size:42px;line-height:1.2;margin-bottom:12px}.dt-phone-portrait h2{font-size:22px;line-height:1.25;margin:0 0 12px}.dt-phone-portrait p{margin:0 0 14px}.dt-phone-portrait [hidden]{display:none!important}.dt-phone-portrait .dt-btn{min-height:44px;padding:10px 16px;text-decoration:none}.dt-phone-portrait .dt-btn:focus-visible{outline:3px solid #c78823;outline-offset:3px}
@media(max-height:340px){.dt-phone-portrait{padding:16px}.dt-phone-portrait-icon{font-size:32px;margin-bottom:8px}.dt-phone-portrait h2{font-size:20px}}

/* Read-only checkout previews occupy only unthrown dart slots. */
.dt-free-hit.dt-checkout-hint{opacity:1;border-style:dashed;border-color:#b9c4be;background:#eef2ef;color:#66716b;cursor:default}.dt-free-hit.dt-checkout-hint strong{color:#66716b;font-weight:600}.dt-free-hit.dt-checkout-hint small{color:#66716b}

.pub-header,.pub-intro,.pub-footer{max-width:1000px;margin:auto;padding:12px 16px}.pub-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.pub-brand{font-size:16px;font-weight:750;color:#205c43;text-decoration:none}.pub-header .dt-btn{min-height:44px}.pub-intro{padding-top:2px;padding-bottom:0}.pub-intro h1{font-size:25px;margin:5px 0}.pub-intro p{font-size:13px;color:#5a7064;margin:7px 0}.pub-offline{min-height:20px}.pub-footer{font-size:13px;line-height:1.6;color:#5a7064;padding-bottom:max(25px,env(safe-area-inset-bottom))}.pub-footer summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:650}.pub-footer details{border:1px solid #dce7df;border-radius:13px;padding:0 12px;background:#fff}.pub-footer .dt-btn{min-height:44px}.pub-footer h2{font-size:17px;margin:22px 0 8px}.pub-footer nav{display:flex;gap:18px;flex-wrap:wrap;padding-top:20px}.pub-footer a{color:#205c43}.dt-public.dt-free-fit .pub-outside,.dt-public.dt-score-fit .pub-outside{display:none}.dt-public:not(.dt-free-fit):not(.dt-score-fit) #dtApp>.dt-head{display:none}.dt-public:not(.dt-free-fit):not(.dt-score-fit) #dtApp{max-width:1000px;width:100%;padding:12px 16px}.dt-public .pub-footer button{font-size:14px}.pub-loading{position:fixed;inset:0;display:grid;place-items:center;padding:24px;background:#f3f7f5f5;color:#205c43;font:650 19px system-ui;text-align:center;z-index:20000}a[aria-busy=true]{opacity:.65}@media(max-width:360px){.pub-header,.pub-intro,.pub-footer{padding-left:10px;padding-right:10px}.pub-brand{font-size:14px}.pub-header .dt-btn{font-size:13px;padding:8px}}[hidden]{display:none!important}

@media(max-width:360px){.dt-public:not(.dt-free-fit):not(.dt-score-fit) #dtApp{padding-left:10px;padding-right:10px}}

.dp-players{min-width:0}.dp-player-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}.dp-player-title h3{font-size:17px;margin:0}.dp-player-list{display:grid;gap:10px}.dp-player-row{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #dbe6df;border-radius:15px;background:#fff;min-width:0}.dp-player-avatar{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#e5f1eb;color:#235f48;font:750 18px system-ui;overflow:hidden}.dp-player-avatar img{width:100%;height:100%;object-fit:cover}.dp-player-info{flex:1;min-width:0}.dp-player-edit{padding:0;border:0;background:transparent;color:inherit;text-align:left;min-height:44px;cursor:pointer;font:inherit}.dp-player-edit strong::after{content:" ✎";font-size:12px;color:#5d7466}.dp-player-edit:focus-visible{outline:3px solid #bd861f;outline-offset:4px;border-radius:6px}.dp-player-info strong,.dp-player-info small{display:block;overflow-wrap:anywhere}.dp-player-info small{font-size:12px;color:#596e62;margin-top:3px}.dp-player-controls{display:flex;gap:4px;flex-shrink:0}.dp-player-controls button{width:44px;min-height:44px;padding:4px}.dp-add-player{width:100%;min-height:48px;margin-top:10px;border:1px dashed #40866b;background:#f1f8f4;color:#205b43;border-radius:14px;font-weight:700}.dp-player-empty{padding:18px;border-radius:14px;border:1px dashed #b8cebf;color:#5d7466;text-align:center;font-size:14px}.dp-player-help{font-size:12px;color:#5d7466;line-height:1.5;margin:8px 0}.dp-player-dialog{box-sizing:border-box;position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#f4f8f5;color:#203c34;font:15px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.dp-player-dialog::backdrop{background:#163b3380}.dp-player-shell{height:100%;display:flex;flex-direction:column;max-width:960px;margin:auto}.dp-player-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:14px max(16px,env(safe-area-inset-right)) 14px max(16px,env(safe-area-inset-left));background:#fff;border-bottom:1px solid #dce7df}.dp-player-head h2{font-size:20px;line-height:1.3;margin:0}.dp-player-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 16px max(20px,env(safe-area-inset-bottom))}.dp-player-body h3{font-size:16px;margin:20px 0 10px}.dp-player-body p{line-height:1.5}.dp-player-dialog button,.dp-player-dialog input,.dp-player-dialog select{font:inherit;box-sizing:border-box}.dp-player-dialog button{min-height:46px;padding:10px 14px;border-radius:12px;border:1px solid #c5d8ca;color:#214e3c;background:#fff;cursor:pointer}.dp-player-dialog button.primary{background:#24694f;color:#fff;border-color:#24694f}.dp-player-dialog button:disabled{opacity:.55;cursor:default}.dp-player-dialog button:focus-visible,.dp-player-dialog input:focus-visible,.dp-player-dialog select:focus-visible{outline:3px solid #c58a22;outline-offset:3px}.dp-name-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.dp-name-form label{display:grid;gap:6px;flex:1 1 220px;min-width:0;font-weight:650}.dp-player-dialog input,.dp-player-dialog select{width:100%;min-height:48px;border:1px solid #c5d8ca;border-radius:12px;background:#fff;color:#203c34;padding:10px 12px;max-width:100%}.dp-player-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dp-player-tile{display:flex;align-items:center;gap:12px;text-align:left;min-height:86px!important;min-width:0}.dp-player-tile .dp-player-avatar{flex-basis:48px;width:48px;height:48px}.dp-player-tile strong,.dp-player-tile small{display:block;overflow-wrap:anywhere}.dp-player-tile small{font-size:12px;line-height:1.4;color:#587363;margin-top:4px}.dp-player-tile.is-selected{background:#e8f5ee;border-color:#40866b}.dp-player-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.dp-player-actions>*{flex:1 1 180px}.dp-player-error{color:#a32732;min-height:22px;margin:10px 0;font-size:14px}.dp-player-notice{border-radius:12px;padding:12px;background:#e7f1eb;font-size:14px}.dp-player-scanner{position:relative;max-width:540px;margin:0 auto 16px;background:#163b33;border-radius:16px;overflow:hidden;aspect-ratio:1.3}.dp-player-scanner video{width:100%;height:100%;object-fit:cover}.dp-player-scanner::after{content:"";position:absolute;inset:18%;border:3px solid #fff9;border-radius:16px;pointer-events:none}.dp-player-qr{text-align:center;padding:12px;background:#fff;border-radius:16px}.dp-player-qr svg,.dp-player-qr canvas{display:block;width:min(100%,320px);height:auto;margin:0 auto}.dp-player-name{margin:12px 0;font-size:20px;font-weight:700}.dp-player-mini{font-size:13px;color:#5b7263}.dp-player-share{margin-top:8px}.dp-player-bot-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dp-player-bot-custom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dp-player-bot-custom label{display:grid;gap:7px;font-weight:650}.dp-player-plus{color:#7043a2}.dp-player-dialog [hidden],.dp-players [hidden]{display:none!important}@media(min-width:700px){.dp-player-body{padding:24px}.dp-player-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.dp-player-bot-levels{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:370px){.dp-player-body{padding:12px}.dp-player-tiles{grid-template-columns:1fr}.dp-player-controls{gap:0}.dp-player-controls button{width:44px;min-width:44px}.dp-player-avatar{flex-basis:36px;width:36px;height:36px}.dp-player-row{gap:8px;padding:10px}.dp-player-head h2{font-size:18px}}
.dp-player-body [data-player-profiles]{margin:16px 0}

/* Reordering stays local to setup; it never changes a started game's seats. */
.dp-player-handle{position:relative;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:1px dashed #93b7a2;border-radius:12px;background:#edf7f1;color:#245b43;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.dp-player-handle:focus-visible{outline:3px solid #c58a22;outline-offset:3px}
.dp-player-handle .dp-player-avatar{width:34px;height:34px;flex-basis:34px;margin:auto;font-size:16px;pointer-events:none}
.dp-player-grip{position:absolute;right:-2px;bottom:-3px;display:grid;place-items:center;width:19px;height:19px;border:1px solid #bdd5c8;border-radius:6px;background:#fff;color:#28684c;font-size:17px;line-height:1;pointer-events:none}
.dp-player-controls button{min-width:44px;min-height:44px;touch-action:manipulation}
.dp-player-controls [data-player-action=up],.dp-player-controls [data-player-action=down]{background:#eef5fd;border-color:#ccdaed;color:#245f91}
.dp-player-controls [data-player-action=remove]{background:#fff0f1;border-color:#edcfd3;color:#9c3949}
.dp-player-row.is-dragging{opacity:.25;border-style:dashed;border-color:#3a8864}
.dp-player-drag-ghost{box-sizing:border-box;margin:0;max-width:none;box-shadow:0 14px 36px #163b3340;border-color:#3a8864;opacity:.97}
.dp-player-dragging,.dp-player-dragging .dp-player-handle{cursor:grabbing;user-select:none;-webkit-user-select:none}
.dp-player-order-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:540px){.dp-player-row{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px 12px}.dp-player-controls{grid-column:2;gap:6px;justify-content:flex-start}.dp-player-info{width:100%}}

/* Public account entry and aligned privacy controls; hidden with the existing outside shell while scoring. */
.pub-header{flex-wrap:wrap}.pub-nav,.pub-pro-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.pub-nav{margin-left:auto}.pub-pro-entry{border:1px solid #d6e4dc;border-radius:15px;background:#fff;padding:14px;margin-top:20px}.pub-footer .pub-pro-entry h2{margin:0 0 8px}.pub-footer nav{align-items:center;gap:8px 16px}.pub-footer nav a{display:inline-flex;align-items:center;min-height:44px}.pub-footer nav .dua-settings{margin:0;min-height:44px}.pub-nav .dt-btn{white-space:nowrap}@media(max-width:360px){.pub-nav{gap:6px}.pub-nav .dt-btn{padding:8px 9px;font-size:12px}}
