.score-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:25px 0}.score-overview>article{min-width:0;overflow-wrap:anywhere}.score-overview h2{font-size:19px}.score-overview p{font-size:13px;line-height:1.65}.score-status{font-size:12px!important;font-weight:650;border-radius:8px;padding:12px;background:#eef2f0;color:#63786e}.score-status.provisional,.score-status.final_pending{background:#fff1d6;color:#805d16}.score-status.conflict{background:#fff1b8;color:#725300}.score-status.confirmed,.score-status.final{background:#ddf1e4;color:#205f51}.reported-score{display:flex;justify-content:space-between;gap:12px}.reported-score strong{font-variant-numeric:tabular-nums;color:#205f51}.current-score,.score-form,.score-history{margin:23px 0}.score-comparison{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:15px 0}.score-comparison>div{display:flex;flex-direction:column;gap:12px;padding:22px;background:#f4f8f5;border-radius:10px}.score-comparison span{font-size:12px;color:#75877c}.score-comparison strong{font-size:40px;font-variant-numeric:tabular-nums;color:#205f51}.score-comparison small{font-size:11px;color:#7c8d81}.score-back{display:inline-block;color:#205f51;font-size:13px;text-decoration:none;margin-bottom:18px}.score-versus{display:block;font-size:14px;font-weight:400;letter-spacing:0;color:#a9cdbc;margin:12px 0}.score-inputs{display:grid;grid-template-columns:1fr 25px 1fr;gap:15px;align-items:center;margin:28px 0}.score-inputs label{font-size:13px;line-height:1.7;margin:0;overflow-wrap:anywhere}.score-inputs input{font-size:38px;text-align:center;font-weight:700;color:#205f51;margin-top:10px;height:85px}.score-inputs>span{font-size:30px;text-align:center;margin-top:20px}.score-form fieldset{padding:0;border:0;min-width:0}.score-form fieldset:disabled{opacity:.65}.score-form h2{font-size:20px}.score-form>p{font-size:13px;color:#6e8175;line-height:1.7}.final-check{display:flex;gap:12px;align-items:center;background:#eef5f0;padding:16px;border-radius:9px;font-size:13px;line-height:1.7}.final-check input{width:22px;height:22px;min-height:22px;flex-shrink:0;accent-color:#205f51}.score-submit-state{font-size:13px;line-height:1.7;color:#205f51;margin-bottom:0}.score-history td:last-child{white-space:normal}.admin-score-round{margin:20px 0}.admin-score-round>summary{cursor:pointer;font-size:17px;font-weight:700;color:#205f51}.admin-score-match{margin-top:24px;padding-top:20px;border-top:1px solid #e1ebe4}.admin-score-match .score-overview{margin:15px 0}.admin-score-match article{background:#f7faf7;border-radius:8px;padding:15px}.admin-score-match article form{margin-top:15px}.admin-score-match article input{margin-bottom:10px}.admin-score-match article button{font-size:12px}@media(max-width:780px){.score-overview{grid-template-columns:1fr}}@media(max-width:500px){.score-comparison{gap:9px}.score-comparison>div{padding:15px}.score-comparison strong{font-size:32px}.score-inputs{gap:9px;grid-template-columns:1fr 15px 1fr}.score-inputs input{font-size:32px}.score-inputs label{font-size:11px}.score-form button{width:100%}.score-form h2{font-size:18px}}

.counter-lineup{margin:20px auto;padding:16px;max-width:430px;border:1px solid #718095;border-radius:12px;text-align:left}.counter-lineup h2{margin:0;font-size:18px;color:inherit}.counter-page .counter-lineup-button{display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px 16px;box-sizing:border-box;border:2px solid #fff;border-radius:9px;background:#f5f7fa;color:#13171c;font-weight:700;line-height:1.5;text-align:center;text-decoration:none;overflow-wrap:anywhere}.counter-page .counter-lineup-button:hover{background:#dce9f5}.counter-page .counter-lineup-button:focus-visible{outline:3px solid #ffd166;outline-offset:4px}.counter-start [data-start-roster]{color:#c1e3ff;text-decoration:underline}

.counter-coin-toss{padding:16px;border:2px solid #e6bc62;border-radius:12px;background:#202630;color:#f5f7fa}.counter-coin-toss h2{font-size:19px;color:inherit;margin:0}.counter-coin-toss fieldset{padding:0;border:0;min-width:0}.counter-coin-toss legend{font-weight:700;margin-bottom:10px}.counter-coin-toss .counter-coin-option{display:flex;align-items:center;gap:12px;padding:12px;margin:8px 0;border:1px solid #8895a7;border-radius:8px;line-height:1.6;cursor:pointer}.counter-coin-option input{width:22px;min-height:22px;flex-shrink:0;accent-color:#ffd166}.counter-coin-toss .counter-coin-option:has(input:checked){border-color:#ffd166;background:#35404d}.counter-coin-toss button{width:100%;min-height:48px;margin-top:10px;background:#f5f7fa;color:#13171c;border:2px solid #fff}.counter-coin-toss button:focus-visible{outline:3px solid #ffd166;outline-offset:3px}.counter-coin-toss [data-withdraw-coin]{background:#303946;color:#fff;border-color:#8895a7}

/* Dedicated game counter: the same layout in browser and installed PWA. */
.counter-page{min-height:100dvh;background:var(--counter-background,#13171c);color:var(--counter-page-text,#f5f7fa)}.counter-page .workspace{max-width:650px;padding:14px 18px 24px}.counter-page>header,.counter-page>footer,.counter-page>.preview-strip,.counter-page .app-install{display:none}.counter-toolbar{display:flex;align-items:center;gap:12px;font-size:11px;color:#bcc3ce;min-height:38px}.counter-toolbar>span{flex:1;text-align:center}.counter-toolbar .score-back{margin:0;color:#cbd2dd;font-size:12px;white-space:nowrap}.counter-info{padding:7px 12px;background:#222630;border:0}.counter-start{padding:30px 0;text-align:center}.counter-start h1{font-size:25px;letter-spacing:0}.counter-start p{color:#bac2d0;line-height:1.6}.counter-started .counter-start{display:none}.counter-form{margin:12px 0 0}.counter-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.counter-card{border-radius:20px;overflow:hidden;padding:16px 10px 10px;box-shadow:inset 0 0 0 1px #ffffff30;text-align:center;min-width:0}.counter-home{background:linear-gradient(145deg,var(--counter-home,#176a63),var(--counter-home-end,#123e3c));color:var(--counter-home-text,#fff);--counter-button:var(--counter-home-button,#080b1040)}.counter-away{background:linear-gradient(145deg,var(--counter-away,#6c4b8a),var(--counter-away-end,#3d2b50));color:var(--counter-away-text,#fff);--counter-button:var(--counter-away-button,#080b1040)}.counter-card label{color:inherit;font-size:20px;margin:0}.counter-card small{display:block;font-size:12px;font-weight:400;overflow-wrap:anywhere;min-height:32px;margin-top:6px}.counter-card input{display:block;background:transparent;border:0;color:inherit!important;font-size:clamp(70px,18vw,115px);font-weight:400;text-align:center;width:100%;height:140px;padding:0;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}.counter-card input::-webkit-inner-spin-button,.counter-card input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.counter-card button{display:block;width:100%;background:var(--counter-button,#080b1040);border:1px solid #ffffff26;color:inherit;padding:0;font-size:32px;font-weight:400;border-radius:8px;min-height:50px;margin-top:5px;touch-action:manipulation}.counter-card button:active{background:#ffffff40}.counter-actions{display:flex;gap:9px;margin-top:12px}.counter-actions button{background:#242831;border:1px solid #424956;min-height:48px}.counter-actions button[type=submit]{flex:1}.counter-actions [data-undo]{width:55px;font-size:24px;padding:4px}.counter-final{background:#20242c;color:#e3e7ee;margin-top:12px;padding:10px;font-size:12px}.counter-form .score-submit-state{color:#bcc9d7;font-size:12px;min-height:32px;margin-top:10px}.counter-end{color:#98a5b7;font-size:11px;margin:5px 0}.counter-comparison{margin:12px 0;border-radius:12px;padding:12px;background:#252a32;color:#d6dce5}.counter-comparison .score-status{background:transparent;color:inherit;padding:0;margin:0 0 10px;font-size:12px!important}.counter-comparison[data-comparison=equal]{background:#123f2b;color:#a8efbb;border:1px solid #48ac6d}.counter-comparison[data-comparison=different]{background:#52400d;color:#ffe898;border:1px solid #e4b731}.counter-reports{display:flex;gap:14px;font-size:11px}.counter-reports>div{flex:1}.counter-reports strong{font-size:16px}.counter-reports small{display:block;margin-top:5px;font-size:10px}.counter-comparison .muted{color:inherit;font-size:10px;margin:9px 0 0}.counter-history{font-size:12px;color:#c1c9d6}.counter-history summary{cursor:pointer;padding:12px 0}.counter-history td,.counter-history th{color:inherit;padding:10px 6px;border-color:#39414c}.counter-history tr[data-comparison=equal]{background:#123f2b}.counter-history tr[data-comparison=different]{background:#52400d}.counter-history .tournament-nav a{color:#cad8e7;background:#242831}.counter-page .install-card{display:none}@media(max-width:500px){.counter-page .workspace{padding:8px 12px 16px}.counter-card{padding:12px 8px 8px;border-radius:17px}.counter-card input{height:115px}.counter-toolbar{font-size:10px}.counter-card small{font-size:11px}.counter-form button[type=submit]{width:auto}}@media(max-height:690px) and (max-width:780px){.counter-card input{height:85px;font-size:75px}.counter-card button{min-height:44px}.counter-card small{min-height:26px}.counter-form .score-submit-state{min-height:16px}.counter-comparison{margin:8px 0}.counter-final{margin-top:8px}}

.score-status[data-comparison=equal]{background:#ddf1e4;color:#205f51}.score-status[data-comparison=different]{background:#fff1b8;color:#725300}

.counter-final-request{border:1px solid #e4b731;background:#30290f;border-radius:14px;padding:16px;margin:12px 0;color:#ffe6a0}.counter-final-request h2{font-size:16px;color:#ffe6a0;margin:0 0 8px}.counter-final-request p{font-size:12px;line-height:1.5;margin:8px 0}.counter-proposed-score{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.counter-proposed-score span{font-size:11px;overflow-wrap:anywhere}.counter-proposed-score strong{display:block;font-size:32px;color:white;margin-top:6px;font-variant-numeric:tabular-nums}.counter-decision-buttons{display:flex;gap:10px}.counter-decision-buttons button{flex:1;min-height:46px}.counter-decision-buttons [data-final-decision=accept]{background:#205f3b;border-color:#48ac6d}.counter-decision-buttons [data-final-decision=reject]{background:#633321;border-color:#af7057}.score-status.final_rejected{background:#fff1b8;color:#725300}

.counter-view-side{margin:8px 0 12px;padding:9px 12px;background:#252a32;border-radius:9px;color:#fff;font-size:14px;font-weight:650;text-align:center}.score-status.waiting_compare{background:#eef2f0;color:#63786e}

.counter-page:not(.counter-started) .counter-form,.counter-page:not(.counter-started) .counter-comparison{display:none}.counter-start h1{font-size:24px}.counter-start form{max-width:430px;margin:24px auto 0;text-align:left}.counter-start label{color:#e2e9f1;font-size:13px}.counter-start input[type=number]{background:#242831;color:#fff;border-color:#596574}.counter-fixture-check{display:flex;gap:10px;align-items:flex-start;margin:18px 0;line-height:1.6}.counter-fixture-check input{width:22px;min-height:22px;flex-shrink:0;accent-color:#205f51}.counter-start [data-start-game]{width:100%;min-height:50px}.counter-start [data-withdraw-start]{width:100%;margin-top:10px;background:#333a45;border-color:#596574}.counter-start [data-start-status]{font-size:13px;line-height:1.6}

.counter-start select{background:#242831;color:#fff;border-color:#596574}.court-selection button{margin-top:14px}

.counter-page .counter-toolbar,.counter-page .counter-toolbar .score-back,.counter-page .counter-form .score-submit-state,.counter-page .counter-start p{color:var(--counter-page-muted,#bcc9d7)}.counter-page .counter-start label{color:var(--counter-page-text,#e2e9f1)}.counter-color-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.counter-color-fields input[type=color]{height:52px;padding:4px;cursor:pointer}.counter-color-preview{border-radius:16px;padding:16px;background:var(--counter-background,#13171c);margin:20px 0}.counter-color-preview .counter-card{padding:14px}.counter-color-preview .counter-card strong{display:block;font-size:56px;margin:12px 0}.counter-color-preview .counter-card button{min-height:40px;font-size:24px}.counter-color-buttons{display:flex;flex-wrap:wrap;gap:10px}.counter-color-status{font-size:13px;line-height:1.6;margin-top:14px}@media(max-width:500px){.counter-color-fields{grid-template-columns:1fr;gap:12px}}

.counter-comparison[data-comparison=final_only]{background:#43275d;color:#f0dfff;border:1px solid #b082d4}.score-status.final_only,.score-status[data-comparison=final_only]{background:#eadcf5;color:#563377}

.counter-substitutions{margin:20px 0;padding:16px;border:1px solid #58616e;border-radius:12px;background:#202630;color:#f4f4f4}.counter-substitutions summary{cursor:pointer;font-weight:700}.counter-substitutions p{font-size:13px;line-height:1.5}.counter-substitutions label{display:block;margin:12px 0 6px}.counter-substitutions select{display:block;width:100%;padding:12px;background:#151a22;color:#fff;border:1px solid #718095;border-radius:8px}.counter-substitutions button{margin-top:14px;width:100%}

.counter-start [data-start-status].start-error{background:#46232a;color:#ffe2e6;border:1px solid #d7818b;border-radius:9px;padding:14px;font-weight:600}

.counter-card .counter-player-names{margin:12px 2px 4px;font-size:14px;line-height:1.5;min-height:21px;overflow-wrap:anywhere;color:inherit}

.counter-player-names{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.counter-player{display:flex;align-items:center;gap:6px}.counter-avatar{width:36px;height:36px;border-radius:5px;overflow:hidden;flex-shrink:0;background:#ffffff24;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}.counter-avatar img{width:100%;height:100%;object-fit:cover}

.counter-substitutions input[type=checkbox]{width:20px;min-height:20px;vertical-align:middle;margin-right:8px}.counter-substitutions input[type=text],.counter-substitutions input:not([type]){width:100%;box-sizing:border-box;padding:12px;background:#151a22;color:#fff;border:1px solid #718095;border-radius:8px}

.review-status{padding:8px 10px;border-radius:6px;font-weight:600;line-height:1.5}.review-provisional{background:#fff3c4;color:#6d4700}.review-approved,.review-jury{background:#dcf4e3;color:#125c31}.review-case_open{background:#ffe0e0;color:#8b1c1c}.review-open{background:#edf0f2;color:#44515b}

/* Compact counters inside the team coach view. */
.counter-embedded{touch-action:pan-y}.counter-embedded .workspace{padding:5px 7px 12px}.counter-embedded .counter-toolbar{display:none}.counter-embedded .counter-view-side{font-size:11px;margin:0 0 5px;padding:5px}.counter-embedded [data-mode-form] button{font-size:11px;min-height:32px;padding:5px}.counter-embedded [data-mode-status]:empty{display:none}.counter-embedded .counter-card{padding:8px 5px 5px;border-radius:12px}.counter-embedded .counter-card label{font-size:14px}.counter-embedded .counter-card small{font-size:10px;min-height:25px}.counter-embedded .counter-card input{font-size:56px;height:56px}.counter-embedded .counter-card button{font-size:25px;min-height:44px}.counter-embedded .counter-cards{gap:6px}.counter-embedded .counter-form{margin-top:5px}.counter-embedded .counter-start{padding:10px 0}.counter-embedded .counter-start h1{font-size:19px}.counter-embedded .counter-start p{font-size:12px}.counter-embedded .counter-fixture-check{font-size:12px}.counter-embedded .counter-actions{margin-top:5px}.counter-embedded .counter-comparison{padding:8px}.counter-embedded .counter-player-names{font-size:10px}

.counter-embedded.counter-started .workspace{display:flex;flex-direction:column}.counter-embedded.counter-started [data-view-side]{order:-2}.counter-embedded.counter-started .counter-form{order:-1}
.counter-recovery{padding:10px;border:1px solid #88b9a6;border-radius:8px;background:#17352c;color:#effff8}.counter-recovery h2{font-size:16px;margin:0 0 6px}.counter-recovery p{font-size:13px;line-height:1.5}.counter-recovery summary{min-height:44px;cursor:pointer;display:flex;align-items:center}

.score-status.waiting_final{background:#252a32;color:#d6dce5}
