body.v7 .tournament-match-scoreboard{width:100%;min-width:0;border:0;border-collapse:collapse;font-size:14px;table-layout:auto}
body.v7 .tournament-match-scoreboard th,body.v7 .tournament-match-scoreboard td{border:0;padding:4px 0;background:transparent}
body.v7 .tournament-match-scoreboard thead th{font-size:11px;font-weight:500;color:var(--muted);white-space:nowrap;padding-top:0;padding-bottom:2px}
body.v7 .tournament-match-scoreboard .competition-rubber-player{text-align:left;font-weight:400;min-width:0;width:100%}
body.v7 .tournament-match-scoreboard .competition-rubber-player p{margin:0;line-height:1.4;overflow-wrap:anywhere}
body.v7 .tournament-match-scoreboard .competition-rubber-player .small{font-size:12px;margin-bottom:2px}
body.v7 .tournament-match-scoreboard .competition-rubber-set{text-align:center;white-space:nowrap;padding-left:6px;padding-right:4px;min-width:44px;font-variant-numeric:tabular-nums}
body.v7 .tournament-match-scoreboard td.competition-rubber-set{font-size:16px;line-height:1.225;vertical-align:bottom}
body.v7 .tournament-match-scoreboard tbody tr+tr>*{border-top:1px solid var(--line);padding-top:8px}
body.v7 .tournament-match-scoreboard tbody tr:first-child>*{padding-bottom:8px}
body.v7 .tournament-match-scoreboard .competition-rubber-winner .competition-rubber-names,body.v7 .tournament-match-scoreboard .competition-rubber-winner .competition-rubber-set{font-weight:700}
body.v7 .tournament-match-scoreboard .competition-rubber-win{white-space:nowrap;color:var(--green,#205846)}

.tournament-create{min-width:0;margin:16px 0;border:1px solid var(--border,#d6e1d7);border-radius:12px;padding:16px}.tournament-create[hidden]{display:none}.tournament-create input,.tournament-create select,.tournament-create textarea{width:100%;max-width:100%;min-width:0}.tournament-create legend,.tournament-dates legend{font-weight:700}.tournament-preview{margin-top:16px}.tournament-preview:empty{display:none}.tournament-preview ol{padding-left:24px}.tournament-preview li{margin:6px 0}.tournament-dates{max-height:240px;overflow:auto;border:1px solid #d6e1d7;border-radius:10px;margin:16px 0}.tournament-dates label{margin:6px 0}.tournament-info p{margin:8px 0}.tournament-rules{white-space:pre-wrap}.tournament-table-wrap{overflow:auto}.tournament-table{width:100%;border-collapse:collapse;white-space:nowrap}.tournament-table th,.tournament-table td{text-align:left;padding:10px 12px;border-bottom:1px solid #d6e1d7}.tournament-table th{background:#edf2e6}.tournament-table td:last-child{font-weight:700}.tournament-player-points{margin:10px 0}.tournament-player-points summary,.tournament-history summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:600}.tournament-rounds,.tournament-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}.tournament-rounds>h2,.tournament-results>h2,.tournament-results>.v7-empty,.tournament-rounds>.v7-empty{grid-column:1/-1}.tournament-rounds>.v7-card,.tournament-results>.v7-card{margin:0;min-width:0;padding:16px}.tournament-rounds h2,.tournament-results h2{margin:0 0 4px}.tournament-rounds h3,.tournament-results h3{margin:0 0 8px}.tournament-result{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.tournament-result p{margin:0}.tournament-annulled{background:#f4f6f3}.tournament-history{margin-top:20px}.tournament-round-page>.v7-card{margin:16px 0}.tournament-filters{flex-wrap:wrap}.tournament-result button{min-height:44px}.tournament-round-page button{margin:4px 6px 4px 0}@media(max-width:1100px){.tournament-rounds,.tournament-results{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.tournament-rounds,.tournament-results{grid-template-columns:minmax(0,1fr)}.tournament-table th,.tournament-table td{padding:9px 6px;font-size:12px}.tournament-create{padding:12px}.tournament-info{padding:16px}.tournament-filters{align-items:stretch}.tournament-filters label{width:100%}}

.activity-form[data-tournament-creating=true] [data-tournament-hidden][hidden]{display:none!important}.tournament-create input[type=checkbox]{width:auto;flex:none}

.tournament-annulled-list{margin-top:20px}.tournament-annulled-list>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:600}

.tournament-results>.v7-card h2,.tournament-rounds>.v7-card h2{font-size:18px;margin:0 0 8px}.tournament-round-page .tournament-results .tournament-result p{margin:0}

body.v7 .tournament-score-form{display:flex;flex-direction:column;gap:12px;min-width:0}
body.v7 .tournament-score-form>label{margin:0}
body.v7 .tournament-score-entry{min-width:0;margin:0;padding:12px;border:1px solid var(--line);border-radius:12px}
body.v7 .tournament-score-entry legend{font-weight:700}
body.v7 .tournament-score-heading,body.v7 .tournament-score-player{display:grid;grid-template-columns:minmax(0,1fr) repeat(var(--tournament-set-count,1),minmax(44px,56px));gap:6px;align-items:end;min-width:0}
body.v7 .tournament-score-heading{font-size:12px;text-align:center;color:var(--muted);margin-bottom:6px}
body.v7 .tournament-score-player+.tournament-score-player{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
body.v7 .tournament-score-form .tournament-score-player>label{margin:0;min-width:0;display:flex;flex-direction:column;gap:6px;font-size:13px}
body.v7 .tournament-score-player select{width:100%;min-width:0;max-width:100%;margin:0;padding:8px;height:44px;font-size:16px}
body.v7 .tournament-score-player>input{width:100%;min-width:0;margin:0;padding:6px 2px;height:44px;font-size:16px;text-align:center;font-variant-numeric:tabular-nums;appearance:textfield}
body.v7 .tournament-score-player>input::-webkit-inner-spin-button,body.v7 .tournament-score-player>input::-webkit-outer-spin-button{appearance:none;margin:0}
body.v7 .tournament-score-unstructured .tournament-score-player{grid-template-columns:minmax(0,1fr)}
body.v7 .tournament-score-unstructured .tournament-score-heading{display:none}
body.v7 .tournament-custom-format[hidden],body.v7 .tournament-legacy-entry[hidden]{display:none!important}
body.v7 .tournament-computed-result{display:block;padding:12px;border-radius:10px;background:#f4f6f3;color:var(--muted);line-height:1.45}
body.v7 .tournament-computed-result[data-valid=true]{background:#e8f2e6;color:var(--green);font-weight:700}
body.v7 .tournament-match-scoreboard{margin:0}
body.v7 .tournament-match-scoreboard thead th:first-child{text-align:left}
body.v7 .tournament-match-scoreboard thead th{padding-top:3px;padding-bottom:3px}
body.v7 .tournament-match-scoreboard thead th:first-child{padding-left:8px}
body.v7 .tournament-match-scoreboard tbody .competition-rubber-player{padding-left:8px}
body.v7 .tournament-match-scoreboard thead th:last-child{padding-right:8px}
body.v7 .tournament-result .tournament-result-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
body.v7 .tournament-result .tournament-result-actions button{margin:0}
body.v7 .tournament-player-link{margin:0;padding:0;min-height:32px;font-size:inherit;text-align:left}
@media(max-width:450px){body.v7 .tournament-score-heading,body.v7 .tournament-score-player{grid-template-columns:minmax(0,1fr) repeat(var(--tournament-set-count,1),44px);gap:4px}body.v7 .tournament-match-scoreboard .competition-rubber-set{min-width:32px;padding-left:4px;padding-right:2px}}
