.compound-public{max-width:1100px;margin:24px auto;padding:0 16px;color:#263e50}
.compound-public>h2{font-size:clamp(1.5rem,3vw,2rem);margin-bottom:12px}
.compound-match-view{cursor:pointer}
.compound-match-view:focus-visible{outline:2px solid #16658a;outline-offset:4px}
.compound-public-rankings ol{list-style:none;padding:0}
.compound-public-rankings li{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:10px 0;border-bottom:1px solid #e5ebef}
.compound-public-dialog{box-sizing:border-box;width:min(680px,calc(100% - 24px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid #ccdbe6;border-radius:16px;color:#263e50;background:white}
.compound-public-dialog::backdrop{background:#142d4355}
.compound-public-dialog>button{float:right}
.compound-public-dialog h2{font-size:1.2rem;padding-right:90px}
.compound-public-score{font-size:1.8rem;font-weight:700;text-align:center}
.compound-public-opponents{text-align:center;font-weight:600}
.compound-public-dialog dl{display:grid;grid-template-columns:130px 1fr;gap:12px}
.compound-public-dialog dd{margin:0;overflow-wrap:anywhere}
.compound-public-dialog p{white-space:pre-wrap;overflow-wrap:anywhere}
.compound-publication{max-width:1100px;margin:16px auto;padding:18px;border:1px solid #cbdce8;border-radius:12px;background:white}
.compound-publication a{margin:0 16px}
@media(max-width:600px){.compound-public{padding:0 8px}.compound-public-dialog{padding:16px}.compound-public-dialog dl{grid-template-columns:100px 1fr}}
/* Expand diagrams to the viewport; keep prose and navigation readable. */
.compound-create.compound-public,#management.compound-public{box-sizing:border-box;max-width:none;width:100%;margin:24px auto;padding:0 16px}
.compound-public-hero,.compound-public>.event-jump-nav,.compound-public-section,.compound-public>[data-compound-board]{box-sizing:border-box;width:100%;max-width:1488px;margin:24px auto}
.compound-public-hero{background:#fff;border:1px solid #d9e5e9;border-radius:16px;padding:24px;color:#263e50}
.compound-public-hero h2{font-size:clamp(1.5rem,3vw,2rem);margin:0 0 12px}
.compound-public>.event-jump-nav{display:flex}
.compound-public .event-jump-nav a{display:flex;align-items:center}
.compound-public #tournament-content{min-width:0;width:100%;scroll-margin-top:var(--event-scroll-offset,160px)}
.compound-public .compound-stage-tabs{z-index:30}
.compound-public-section{background:#fff;border:1px solid #d9e5e9;border-radius:14px;padding:24px;scroll-margin-top:var(--event-scroll-offset,160px)}
.compound-public .compound-fixture-card{display:grid;gap:8px;text-align:left;width:100%;margin:6px 0;background:white;color:#263e50;border:1px solid #d9e5e9;border-radius:10px;padding:12px}
.compound-public .compound-fixture-card.is-selected{background:#eaf5fa;border-color:#167ba7;box-shadow:0 0 0 1px #167ba7}
.compound-public .schedule-controls{display:flex;flex-wrap:wrap;align-items:end;gap:16px}
.compound-public .schedule-controls label{display:grid;gap:8px}
.compound-public .schedule-controls select{width:auto;max-width:100%}
.compound-public .schedule-controls input[type=checkbox]{width:auto}
.compound-public .schedule-timetable{width:100%;border-collapse:collapse}
.compound-public .schedule-timetable th,.compound-public .schedule-timetable td{border:1px solid #dbe5eb;padding:10px;vertical-align:top}
.compound-public .schedule-timetable-scroll{overflow:auto}
.compound-public .tournament-participants{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.compound-public .participant-card{width:100%;display:flex;flex-wrap:wrap;gap:12px;text-align:left;background:#f8fbfc;color:#263e50;border:1px solid #d9e5e9}
.compound-public .share-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.compound-public .share-toolbar select{width:auto;max-width:100%}
.compound-public #event-output .share-toolbar > :is(a,button,select){
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
 min-height:48px;margin:0;padding:12px 18px;border:1px solid #16658a;border-radius:6px;
 font:inherit;font-size:15px;font-weight:700;line-height:1.4;text-decoration:none;
 background:#16658a;color:#fff;vertical-align:middle;
}
.compound-public #event-output .share-toolbar > select{background:#fff;color:#25485d;border-color:#a7c1d2;font-weight:400;max-width:100%;}
.compound-public #event-output .share-toolbar > :is(a,button):hover{background:#104f6d;border-color:#104f6d;color:#fff;}
.compound-public #event-output .share-toolbar > :is(a,button,select):focus-visible{outline:3px solid #62b6d5;outline-offset:3px;}
@media(max-width:600px){.compound-public #event-output .share-toolbar > :is(a,button,select){flex:1 1 100%;width:100%;}}
.compound-public-dialog canvas{display:block;max-width:100%;height:auto;margin:12px auto}
.compound-public-section details{padding:12px;border-bottom:1px solid #d9e5e9}
.compound-public [data-compound-board]{scroll-margin-top:var(--event-scroll-offset,160px)}
@media(max-width:600px){.compound-create.compound-public,#management.compound-public{padding:0 8px}.compound-public-section{padding:16px}}
@media print{
 body{background:white!important;padding:0!important}
 .site-header,.site-footer,.preview-tools,.event-jump-nav,.compound-stage-tabs,.compound-public-section,[data-compound-board],.compound-print-action{display:none!important}
 .compound-public #tournament-content [role=tabpanel]{display:block!important}
 .compound-public .compound-review-fixtures{break-inside:avoid;page-break-inside:avoid}
 .compound-public .compound-bracket-scroll,.compound-public .compound-league-scroll{overflow:visible!important}
 .compound-public svg{max-width:100%!important;min-width:0!important}
 .compound-create.compound-public{padding:0!important;margin:0!important}
 .compound-public .compound-league-table{font-size:9px;min-width:0!important;table-layout:fixed}
 .compound-public .compound-league-table th,.compound-public .compound-league-table td{padding:3px;min-width:0!important;white-space:normal;overflow-wrap:anywhere}
}
.compound-public .compound-league-table td>small{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.compound-public #tournamentComments{scroll-margin-top:var(--event-scroll-offset,160px)}

.compound-public-rules{margin-top:20px;padding:16px;background:#f8fbfc;border:1px solid #d9e5e9;border-radius:10px}
.compound-public-rules h3{margin:0 0 12px;font-size:1rem}
.compound-public-rule-targets{font-size:.85rem;color:#607789;line-height:1.8}

.compound-public .compound-bracket-scroll svg{margin-inline:auto}
.compound-public .compound-league-scroll.is-compact table{width:auto;min-width:0;table-layout:auto}
.compound-public .compound-league-scroll.is-compact th,.compound-public .compound-league-scroll.is-compact td{min-width:0;padding:5px 3px;font-size:12px;white-space:normal}
.compound-public .compound-league-scroll.is-compact th:not(.compound-summary-cell){max-width:100px;overflow-wrap:anywhere}
.compound-public .compound-league-scroll.is-compact td>small{display:none}
.compound-public .compound-league-scroll.is-compact .compound-league-register{padding:5px;font-size:12px;white-space:normal}
.compound-public .compound-league-scroll.highlight-wins [data-league-result=win]{background:#dcf1e4}
.compound-public .compound-league-scroll.highlight-wins [data-league-result=lose]{background:#e7edf4}
@media print{.compound-public .league-display-controls{display:none}}
/* Keep display switches independent of qualifying/final action-button colors. */
.compound-public .tournament-stage .league-display-controls button.league-display-toggle[type=button]{margin:0;background:#fff;color:#315365;border:1px solid #c5d7de}
.compound-public .tournament-stage .league-display-controls button.league-display-toggle[type=button]:hover{background:#f0f5f7}
.compound-public .tournament-stage .league-display-controls button.league-display-toggle[type=button][aria-checked=true]{background:#e5f3ed;color:#185a42;border-color:#70a68f}
.compound-public .tournament-stage .league-display-controls button.league-display-toggle[type=button][aria-checked=true]:hover{background:#d7ebdf}
/* Stage color belongs to the outer surface; tables and diagrams stay neutral. */
.compound-public .compound-review-fixtures.tournament-stage--qualifying{background:#f0f7fc;border-color:#c9deec}
.compound-public .compound-review-fixtures.tournament-stage--final{background:#fff6ed;border-color:#ead8c6}
.compound-public .compound-stage-tabs button[type=button]{cursor:pointer;padding:12px;background:#f7f9fa;border-color:#e0e7eb;transition:background .2s,border-color .2s}
.compound-public .compound-stage-tab-label{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:120px;padding:10px 22px;border:1px solid #b8c8d2;border-radius:999px;background:#fff;color:#435f70;box-shadow:0 2px 4px #253f5010;transition:transform .2s,box-shadow .2s,background .2s}
.compound-public .compound-stage-tab-label::after{content:'›';font-size:23px;line-height:1;font-weight:400}
.compound-public .compound-stage-tabs button[data-stage=qualifying][aria-selected=true]{background:#eaf4fb;border-color:#c1dceb}
.compound-public .compound-stage-tabs button[data-stage=final][aria-selected=true]{background:#fff2e5;border-color:#ead3bb}
.compound-public .compound-stage-tabs button[data-stage=qualifying][aria-selected=true] .compound-stage-tab-label{background:#17658d;color:#fff;border-color:#17658d}
.compound-public .compound-stage-tabs button[data-stage=final][aria-selected=true] .compound-stage-tab-label{background:#98511c;color:#fff;border-color:#98511c}
.compound-public .compound-stage-tabs button[aria-selected=true] .compound-stage-tab-label::after{content:'✓';font-size:16px}
@media(hover:hover){.compound-public .compound-stage-tabs button[type=button]:hover .compound-stage-tab-label{transform:translateY(-2px);box-shadow:0 5px 12px #253f5026}.compound-public .compound-stage-tabs button[type=button]:hover{border-color:#9aafbd}}
.compound-public .compound-stage-tabs button[type=button]:active .compound-stage-tab-label{transform:translateY(0)}
.compound-public .compound-stage-tabs button:focus-visible{outline:3px solid #187ca4;outline-offset:2px}
@media(max-width:520px){.compound-public .compound-stage-tab-label{box-sizing:border-box;min-width:0;width:100%;max-width:160px;padding:9px 16px}.compound-public .compound-stage-tabs button[type=button]{padding:10px}}
@media(prefers-reduced-motion:reduce){.compound-public .compound-stage-tab-label,.compound-public .compound-stage-tabs button[type=button]{transition:none}.compound-public .compound-stage-tabs button[type=button]:hover .compound-stage-tab-label{transform:none}}

.compound-public .compound-public-hero.event-header{max-width:none;padding:0;border:1px solid #d9e5e9;border-radius:14px;overflow:hidden;color:white}
.compound-public .compound-public-hero .hero-inner{box-sizing:border-box;width:100%;max-width:1488px;margin:auto;padding-inline:32px}
.compound-public .compound-public-hero h1{color:white;overflow-wrap:anywhere}
@media(max-width:600px){.compound-public .compound-public-hero .hero-inner{padding-inline:20px}}
/* Join the active tab to its open panel like a folder. */
.compound-public .compound-stage-tabs{margin-bottom:0;padding:0;gap:6px;border:0;border-radius:0;box-shadow:none;background:#fff}
.compound-public .compound-stage-tabs button[type=button]{position:relative;border-radius:12px 12px 0 0;margin:0;min-height:74px}
.compound-public .compound-stage-tabs button[data-stage=qualifying][aria-selected=true]{background:#f0f7fc;border-color:#c9deec;border-bottom-color:#f0f7fc}
.compound-public .compound-stage-tabs button[data-stage=final][aria-selected=true]{background:#fff6ed;border-color:#ead8c6;border-bottom-color:#fff6ed}
.compound-public .compound-stage-tabs button[aria-selected=true]::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:inherit;pointer-events:none}
.compound-public .compound-stage-panel{padding:6px 16px 16px;border:1px solid;border-radius:0 0 12px 12px;min-width:0}
.compound-public #compound-panel-qualifying{background:#f0f7fc;border-color:#c9deec}
.compound-public #compound-panel-final{background:#fff6ed;border-color:#ead8c6}
.compound-public .compound-stage-panel>.compound-review-fixtures{margin:0;padding:18px 0;border:0;border-radius:0;background:transparent}
.compound-public .compound-stage-panel>.compound-review-fixtures+.compound-review-fixtures{border-top:1px solid #dce2e6}
@media(max-width:600px){.compound-public .compound-stage-panel{padding:4px 10px 10px}}
/* Tables and brackets share the same frame as their heading and standings. */
.compound-public .compound-review-fixtures .compound-league-scroll{width:100%;max-width:100%;margin-inline:auto}
.compound-public .compound-review-fixtures .compound-league-table{width:100%}
.compound-public .compound-review-fixtures .compound-league-table td>small{max-width:160px;margin-inline:auto}
.compound-public .compound-review-fixtures .compound-league-table .compound-summary-cell{width:auto}
/* Keep phase identity visible even while its tab is inactive. */
.compound-public .compound-stage-tabs button[data-stage=qualifying][aria-selected=false]{background:#f0f7fc;border-color:#c9deec}
.compound-public .compound-stage-tabs button[data-stage=final][aria-selected=false]{background:#fff6ed;border-color:#ead8c6}
.compound-public .compound-stage-tabs button[data-stage=qualifying][aria-selected=false] .compound-stage-tab-label{background:#e4f1fa;color:#17658d;border-color:#a9cde3}
.compound-public .compound-stage-tabs button[data-stage=final][aria-selected=false] .compound-stage-tab-label{background:#ffead7;color:#98511c;border-color:#dfba96}
/* The open tab and panel form one uninterrupted surface. */
.compound-public .compound-stage-tabs button[aria-selected=true]::after{bottom:-2px;height:3px;z-index:1}
.compound-public .compound-stage-panel{position:relative}
.compound-public #compound-panel-qualifying::before,.compound-public #compound-panel-final::before{content:'';position:absolute;top:-1px;height:1px;width:calc((100% - 6px)/2);background:inherit;pointer-events:none}
.compound-public #compound-panel-qualifying::before{left:0}
.compound-public #compound-panel-final::before{right:0}
.compound-public .compound-competition-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 24px;margin:4px 0 20px}
.compound-public .compound-competition-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px}
.compound-public .compound-competition-title h3{margin:0;color:var(--stage-accent);font-size:clamp(20px,2vw,25px);font-weight:750;letter-spacing:.025em;line-height:1.5}
.compound-public .compound-format-badge{display:inline-flex;align-items:center;border:1px solid var(--stage-border);border-radius:6px;padding:4px 10px;background:#ffffffa8;color:var(--stage-accent);font-size:12px;font-weight:600}
.compound-public .compound-competition-metrics{grid-column:1;display:flex;gap:18px;margin:0;color:#607480;font-size:12px}
.compound-public .compound-competition-metrics>span{display:inline-flex;align-items:baseline;gap:5px}
.compound-public .compound-competition-metrics strong{font-size:19px;font-weight:650;color:#304b5b;font-variant-numeric:tabular-nums}
.compound-public .compound-competition-heading .compound-competition-status{grid-column:2;grid-row:1 / span 2;display:flex;align-items:center;gap:8px;margin:0;padding:8px 12px;border:1px solid #d5dfe4;border-radius:999px;background:#ffffffb8;color:#526975;font-size:12px;font-weight:500;max-width:300px}
.compound-public .compound-competition-heading .compound-competition-status::before{content:'';width:7px;height:7px;flex-shrink:0;border-radius:50%;background:var(--stage-accent)}
@media(max-width:600px){.compound-public .compound-competition-heading{grid-template-columns:1fr;gap:8px;margin-bottom:16px}.compound-public .compound-competition-heading .compound-competition-status{grid-column:1;grid-row:auto;justify-self:start;margin-top:2px}}
/* Keep each competition's supporting panels aligned at every viewport width. */
.compound-public .compound-review-fixtures>.compound-competition-heading,.compound-public .compound-review-fixtures>.league-display-controls,.compound-public .compound-review-fixtures>.compound-public-rankings{box-sizing:border-box;width:100%;max-width:none;margin-inline:auto}
.compound-public .compound-public-rankings{margin-top:24px;padding:20px;border:1px solid #d8e1e6;border-radius:12px;background:#ffffffd9}
.compound-public .compound-public-rankings h4{margin:0 0 16px;font-size:16px;letter-spacing:.04em;color:#304b5b}
.compound-public .compound-public-rankings ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:0}
.compound-public .compound-public-rankings li{display:flex;gap:12px;flex-wrap:wrap;margin:0;padding:12px;border:1px solid #e1e7eb;border-radius:8px;background:#fafcfd;min-width:0}
.compound-public .compound-ranking-place{display:inline-flex;align-items:baseline;justify-content:center;gap:3px;min-width:42px;color:#607789}
.compound-public .compound-ranking-place strong{font-size:24px;line-height:1;font-variant-numeric:tabular-nums}
.compound-public .compound-ranking-place small{font-size:11px}
.compound-public .compound-ranking-team{flex:1;min-width:90px;font-size:15px;font-weight:650;color:#304b5b;overflow-wrap:anywhere}
.compound-public .compound-public-rankings li[data-rank="1"]{background:#fffbef;border-color:#e6d7ac}
.compound-public .compound-public-rankings li[data-rank="1"] .compound-ranking-place{color:#94701f}
.compound-public .compound-public-rankings li[data-rank="2"]{background:#f0f5f9;border-color:#cedce6}
.compound-public .compound-public-rankings li[data-rank="3"]{background:#fcf3ec;border-color:#e5d4c5}
.compound-public .compound-public-rankings li[data-rank="3"] .compound-ranking-place{color:#97603b}
@media(max-width:650px){.compound-public .compound-public-rankings{padding:14px}.compound-public .compound-public-rankings ol{grid-template-columns:1fr}}
.compound-public .compound-stage-panel>.compound-review-fixtures{box-sizing:border-box;width:100%;max-width:100%;margin-inline:auto}
/* Measure the available frame, never the intrinsic width of the initial SVG. */
.compound-public .compound-review-fixtures>.compound-bracket-scroll{box-sizing:border-box;width:100%;max-width:100%;max-height:none;margin-inline:auto}
/* The tabs and colored outer panel follow the visible charts as one centered unit. */
.compound-public #tournament-content{box-sizing:border-box;max-width:100%;margin-inline:auto}
/* Match the standard Minmane matrix and schedule presentation. */
.compound-public .compound-review-fixtures .compound-league-table th:not(.compound-summary-cell){color:#0088a8}
.compound-public .tournament-stage button.compound-league-register[type=button]{background:transparent;border-color:transparent;color:#0088a8;font-weight:700;font-size:16px}
.compound-public .tournament-stage button.compound-league-register[type=button]:hover{background:#e8f4f7;color:#006f8b;text-decoration:underline}
.compound-standing-medal{display:block;font-size:23px;margin-bottom:4px}
.compound-public .schedule-day{margin-top:24px}
.compound-public .schedule-date{padding-bottom:10px;border-bottom:1px solid #d1e1e7;font-size:20px;color:#315365}
.compound-public .schedule-timetable-scroll{border:1px solid #d1e1e7;border-radius:12px}
.compound-public .schedule-timetable th{background:#edf5f5;color:#315365;text-align:left;font-weight:700}
.compound-public .schedule-timetable tbody th{background:#f3f7f9;white-space:nowrap;width:88px}
.compound-public .schedule-timetable td{padding:10px;background:#fff;min-width:200px}
.compound-public .compound-fixture-card{padding:0 0 14px;gap:8px;text-align:center;overflow:hidden;border-radius:12px;margin:0 0 8px;color:#173e50}
.compound-public .compound-fixture-card>small{padding:8px 12px;background:#f4f7f8;border-bottom:1px solid #e3ebee;color:#456579;font-size:11px;text-align:left}
.compound-public .compound-fixture-matchup>strong{padding-inline:12px;font-size:13px;overflow-wrap:anywhere}
.compound-public .compound-fixture-card .compound-fixture-score{font-size:22px;font-weight:750;line-height:1.3;color:#227462;font-variant-numeric:tabular-nums}
.compound-public .compound-fixture-card:hover{border-color:#75aaad;background:#f5faf8}
.compound-public .compound-fixture-card:focus-visible{outline:3px solid #218578;outline-offset:2px}
.compound-public .compound-championship-podium{align-items:end;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:12px}
.compound-public .compound-championship-podium .rank-1{grid-column:2;grid-row:1;padding-top:32px;padding-bottom:36px}
.compound-public .compound-championship-podium .rank-2{grid-column:1;grid-row:1}
.compound-public .compound-championship-podium .rank-3{grid-column:3;grid-row:1}
.compound-public .compound-championship-podium .compound-podium-team{display:block;font-size:20px;line-height:1.6;color:#233f50;overflow-wrap:anywhere}
@media(max-width:600px){.compound-public .compound-championship-podium{gap:6px}.compound-public .compound-championship-podium .ranking-podium-card{padding:16px 6px;border-radius:10px}.compound-public .compound-championship-podium .rank-1{padding-top:26px;padding-bottom:26px}.compound-public .compound-championship-podium .ranking-place{font-size:16px;margin:6px 0 12px}.compound-public .compound-championship-podium .ranking-medal{font-size:30px}.compound-public .compound-championship-podium .compound-podium-team{font-size:13px}}
/* Metallic podium surfaces, with a raised champion and readable team names. */
.compound-public .compound-championship-podium{gap:16px;align-items:end;padding-top:20px}
.compound-public .compound-championship-podium .ranking-podium-card{box-sizing:border-box;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:248px;padding:26px 18px 48px;border-radius:16px;box-shadow:0 8px 18px #253f5012,inset 0 0 24px #ffffff60}
.compound-public .compound-championship-podium .rank-1{min-height:300px;background:linear-gradient(135deg,#fff9df 0%,#efd78e 38%,#fff2c4 60%,#d8b758 100%);border:1px solid #c5a34e}
.compound-public .compound-championship-podium .rank-2{min-height:258px;background:linear-gradient(135deg,#f8fbfe 0%,#cbd5df 38%,#eef3f7 60%,#aab9c7 100%);border:1px solid #a5b4c1}
.compound-public .compound-championship-podium .rank-3{min-height:222px;background:linear-gradient(135deg,#fff0e3 0%,#deb28f 38%,#f4d8bf 60%,#bd8964 100%);border:1px solid #b5825f}
.compound-public .compound-championship-podium .ranking-podium-card::after{content:'2';position:absolute;bottom:12px;font-size:24px;line-height:1;font-weight:800;color:#52657680}
.compound-public .compound-championship-podium .rank-1::after{content:'1';color:#80601980}
.compound-public .compound-championship-podium .rank-3::after{content:'3';color:#7e4e2d80}
.compound-public .compound-championship-podium .ranking-place{margin:10px 0 18px;font-size:23px}
.compound-public .compound-championship-podium .ranking-leader{width:100%}
.compound-public .compound-championship-podium .compound-podium-team{font-size:clamp(23px,2.2vw,34px);font-weight:800;line-height:1.5;color:#243b4b;text-shadow:0 1px 0 #ffffffa0}
.compound-public .compound-championship-podium .rank-1 .compound-podium-team{font-size:clamp(26px,2.5vw,38px);color:#5c4518}
@media(max-width:600px){.compound-public .compound-championship-podium{gap:6px;padding-top:12px}.compound-public .compound-championship-podium .ranking-podium-card{min-height:218px;padding:18px 8px 40px;border-radius:10px}.compound-public .compound-championship-podium .rank-1{min-height:254px}.compound-public .compound-championship-podium .rank-3{min-height:194px}.compound-public .compound-championship-podium .ranking-place{font-size:15px;margin:8px 0 12px}.compound-public .compound-championship-podium .compound-podium-team{font-size:18px}.compound-public .compound-championship-podium .rank-1 .compound-podium-team{font-size:20px}}
/* Joined podium steps and the same laurel artwork used by tournament celebrations. */
.compound-public .compound-championship-podium{gap:0}
.compound-public .compound-championship-podium .ranking-podium-card{border-radius:3px;margin:0;box-shadow:inset 0 0 24px #ffffff60}
.compound-public .compound-championship-podium .rank-1{z-index:1}
.compound-public .compound-championship-podium .rank-2{border-right:0}
.compound-public .compound-championship-podium .rank-3{border-left:0}
.compound-public .compound-championship-podium .rank-1::before{content:'';position:absolute;inset:0;background:url('/images/tournaments/finals-celebration.svg') center 35% / auto 100% no-repeat;pointer-events:none}
.compound-public .compound-championship-podium .rank-1>*{position:relative;z-index:1}
@media(max-width:600px){.compound-public .compound-championship-podium{gap:0}.compound-public .compound-championship-podium .ranking-podium-card{border-radius:3px}}
/* Competition masthead: a clear title with spacious, structured metadata. */
.compound-public .compound-review-fixtures>.compound-competition-heading{padding:20px 4px 24px;margin-top:0;margin-bottom:18px;gap:16px 24px;border-bottom:1px solid var(--stage-border)}
.compound-public .compound-competition-title{gap:16px;align-items:center}
.compound-public .compound-competition-title h3{font-size:clamp(28px,3vw,42px);font-weight:800;letter-spacing:.04em;line-height:1.3}
.compound-public .compound-format-badge{padding:6px 13px;font-size:13px;border-radius:5px;background:#ffffffc9;letter-spacing:.06em}
.compound-public .compound-competition-metrics{gap:0;font-size:13px;align-items:center}
.compound-public .compound-competition-metrics>span{gap:7px;padding-right:22px}
.compound-public .compound-competition-metrics>span+span{padding-left:22px;border-left:1px solid var(--stage-border)}
.compound-public .compound-competition-metrics strong{font-size:26px;line-height:1.2;font-weight:750;color:var(--stage-accent)}
.compound-public .compound-competition-heading .compound-competition-status{padding:10px 15px;font-size:13px;background:#ffffffd9}
@media(max-width:600px){.compound-public .compound-review-fixtures>.compound-competition-heading{padding:16px 2px 18px;gap:12px;margin-bottom:14px}.compound-public .compound-competition-title{gap:10px}.compound-public .compound-competition-title h3{font-size:28px}.compound-public .compound-format-badge{font-size:11px;padding:5px 9px}.compound-public .compound-competition-metrics strong{font-size:23px}.compound-public .compound-competition-metrics>span{padding-right:16px}.compound-public .compound-competition-metrics>span+span{padding-left:16px}}

.compound-public .compound-title-cup{width:58px;height:58px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 3px 3px #88501920)}
@media(max-width:600px){.compound-public .compound-title-cup{width:42px;height:42px}}
/* Give each competition title its own readable surface within the phase background. */
.compound-public .compound-review-fixtures>.compound-competition-heading{padding:24px 26px;margin-top:8px;margin-bottom:20px;border:1px solid var(--stage-border);border-radius:10px;background:linear-gradient(110deg,#fff 0%,#ffffffed 68%,var(--stage-bg) 100%);box-shadow:0 4px 12px #2437460a}
.compound-public .compound-competition-heading .compound-competition-status{background:#f8fafc;border-color:#d6e1e8}
@media(max-width:600px){.compound-public .compound-review-fixtures>.compound-competition-heading{padding:18px 16px;margin-top:6px;margin-bottom:16px;border-radius:8px}}
/* Separate complete competition groups with space and a restrained single rule. */
.compound-public .compound-stage-panel>.compound-review-fixtures+.compound-review-fixtures{margin-top:30px;padding-top:30px;border-top:1px solid #abc3d3}
.compound-public #compound-panel-final>.compound-review-fixtures+.compound-review-fixtures{border-top-color:#d2b89d}
@media(max-width:600px){.compound-public .compound-stage-panel>.compound-review-fixtures+.compound-review-fixtures{margin-top:22px;padding-top:22px}}
/* Qualifiers form one aligned group card, rather than three disconnected panels. */
.compound-public #compound-panel-qualifying>.compound-review-fixtures{box-sizing:border-box;background:#fff;border:1px solid #c5dbe9;border-radius:10px;padding:0;overflow:hidden;margin-top:20px;margin-bottom:24px;box-shadow:0 3px 10px #254b6507}
.compound-public #compound-panel-qualifying>.compound-review-fixtures:first-child{margin-top:14px}
.compound-public #compound-panel-qualifying>.compound-review-fixtures+.compound-review-fixtures{padding-top:0;margin-top:28px;border-top:1px solid #c5dbe9}
.compound-public #compound-panel-qualifying .compound-review-fixtures>.compound-competition-heading{width:100%;max-width:none;margin:0;padding:22px 24px;border:0;border-bottom:1px solid #dce8ef;border-radius:0;box-shadow:none;background:#f5fafd}
.compound-public #compound-panel-qualifying .compound-competition-title h3{font-size:clamp(24px,2.5vw,32px)}
.compound-public #compound-panel-qualifying .compound-review-fixtures>.compound-bracket-scroll{box-sizing:border-box;width:100%;max-width:100%;padding:24px 16px;margin:0;border:0;border-radius:0;background:#fff}
.compound-public #compound-panel-qualifying .compound-bracket-scroll svg{margin-inline:auto}
.compound-public #compound-panel-qualifying .compound-review-fixtures>.compound-public-rankings{width:100%;max-width:none;margin:0;padding:20px 24px 24px;border:0;border-top:1px solid #e2eaf0;border-radius:0;background:#fbfdfe}
.compound-public #compound-panel-qualifying .compound-public-rankings h4{margin-bottom:12px;color:#496677;font-size:14px}
.compound-public #compound-panel-qualifying .compound-review-fixtures>.league-display-controls{padding:12px 18px;margin-block:0}
.compound-public #compound-panel-qualifying .compound-review-fixtures>.compound-league-scroll{border:0;border-radius:0}
@media(max-width:600px){.compound-public #compound-panel-qualifying .compound-review-fixtures>.compound-competition-heading{padding:18px 14px}.compound-public #compound-panel-qualifying .compound-review-fixtures>.compound-public-rankings{padding:16px 14px}.compound-public #compound-panel-qualifying .compound-review-fixtures>.compound-bracket-scroll{padding:20px 12px}}

.compound-print-qr{padding:16px;text-align:center;break-inside:avoid}.compound-print-qr canvas{width:128px;height:128px}.compound-public-dialog textarea[aria-label="埋め込みコード"]{display:block;width:100%;margin-block:14px}

.compound-embed-dialog > label:not([hidden]){display:block;margin:16px 0;font-weight:700;}
.compound-embed-dialog > label > :is(select,input){display:block;width:100%;max-width:100%;box-sizing:border-box;margin-top:6px;}
.compound-share-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:20px;}
.compound-public-dialog .compound-share-dialog-actions > button{float:none;margin:0;min-height:48px;padding:12px 18px;line-height:1.4;}
@media(max-width:480px){.compound-share-dialog-actions > button{flex:1 1 auto;}}
/* The on-screen print page is already stripped down before opening browser print. */
body.compound-print-page{background:#fff;padding:0;}
body.compound-print-page :is(.site-header,.site-footer,.topbar,[data-compound-board]){display:none!important;}
.compound-print-page .is-print-view{max-width:1100px!important;margin:0 auto!important;padding:24px!important;}
.compound-print-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:16px;margin-bottom:24px;}
.compound-print-heading{padding:16px 0;margin-bottom:24px;border-bottom:1px solid #d9e5e9;}
.compound-print-heading h1{font-size:28px;margin:8px 0;color:#173d50;}
.is-print-view #tournament-content{width:100%!important;}
.is-print-view .compound-review-fixtures{width:100%!important;max-width:100%!important;margin:0 0 28px!important;box-shadow:none;}
.is-print-view .league-display-controls{display:none!important;}
.is-print-view .compound-competition-heading{background:#fff;box-shadow:none;padding:16px;}
@media print{
 .compound-print-actions{display:none!important;}
 .compound-print-page .is-print-view{max-width:none!important;padding:0!important;}
 .is-print-view .compound-review-fixtures{break-inside:avoid;}
 .is-print-view .compound-league-scroll,.is-print-view .compound-league-table{width:100%!important;max-width:100%!important;min-width:0!important;}
 .is-print-view .compound-league-table col{width:auto!important;min-width:0!important;}
}
@media print{
 .compound-print-page #main-content,.compound-print-page .is-print-view,.is-print-view #tournament-content{display:block!important;height:auto!important;overflow:visible!important;}
 .compound-print-page .is-print-view .compound-review-fixtures{display:block!important;break-inside:auto;page-break-inside:auto;break-before:page;}
 .compound-print-page .is-print-view .compound-review-fixtures:first-child{break-before:auto;}
 .compound-print-page .is-print-view .compound-competition-heading{break-after:avoid;}
}
@media print{
 .compound-print-page .is-print-view *{animation:none!important;transition:none!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;}
 .compound-print-page .is-print-view .compound-review-fixtures{background:#fff!important;border-radius:0;padding:12px!important;}
 .compound-print-page .is-print-view .compound-competition-heading{background:#fff!important;border-radius:0;}
}
.compound-qr-dialog > input[type="url"]{display:block;box-sizing:border-box;width:100%;max-width:560px;margin:20px auto 0;text-align:center;cursor:pointer;}
.compound-qr-dialog .compound-copy-hint{text-align:center;font-size:13px;color:#526d82;margin:8px 0;}
.compound-qr-dialog .compound-copy-feedback{box-sizing:border-box;min-height:48px;margin:12px auto 0;padding:12px;text-align:center;border-radius:6px;background:#eaf7f1;color:#176448;opacity:0;transform:translateY(6px);transition:opacity .2s ease,transform .2s ease;}
.compound-qr-dialog .compound-copy-feedback.is-visible{opacity:1;transform:translateY(0);}
@media(prefers-reduced-motion:reduce){.compound-qr-dialog .compound-copy-feedback{transition:none;transform:none;}}
.compound-image-dialog > label{display:block;margin:20px 0;font-weight:700;}
.compound-image-dialog > label > select{display:block;box-sizing:border-box;width:100%;max-width:100%;margin-top:8px;}
/* Keep the competition's outer frame at least as wide as the supplementary panels. */
.compound-public:not(.is-print-view) #tournament-content{min-width:min(100%,1488px);}
.compound-public > [data-compound-board]{width:100%;max-width:1488px;}
.compound-public > [data-compound-board] > #tournamentComments{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:24px;border:1px solid #d9e5e9;border-radius:14px;background:#fff;}
@media(max-width:600px){.compound-public > [data-compound-board] > #tournamentComments{padding:16px;}}

/* Adapt to each card's actual width, including multi-venue timetables. */
.compound-public .compound-fixture-card{container-type:inline-size;container-name:fixture-card}
.compound-public .compound-fixture-matchup{display:grid;gap:8px;align-items:center;padding:6px 16px 0}
.compound-public .compound-fixture-matchup>strong{min-width:0}
@container fixture-card (min-width: 520px){
 .compound-public .compound-fixture-matchup{grid-template-columns:minmax(0,1fr) minmax(64px,auto) minmax(0,1fr);gap:24px;padding:18px 24px 8px}
 .compound-public .compound-fixture-matchup>strong{font-size:16px}
 .compound-public .compound-fixture-matchup>.compound-fixture-score{max-width:240px;overflow-wrap:anywhere}
}
.compound-public .compound-public-manage-actions{display:flex;justify-content:flex-end;margin-bottom:16px}
.compound-public .compound-public-manage-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border:1px solid #ad344c;border-radius:8px;background:#b93852;color:#fff;font-weight:700;text-decoration:none;box-shadow:0 3px 10px #54202b24}
.compound-public .compound-public-manage-link:hover{background:#992c43;color:#fff}
.compound-public .compound-public-manage-link:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* Preserve the centre of the matrix on narrow screens, using shared width checks. */
@media screen {
 .compound-public .compound-league-scroll.has-horizontal-overflow{isolation:isolate;scroll-padding-inline:calc(var(--league-pinned-left,0px) + 8px) calc(var(--league-pinned-right,0px) + 8px)}
 .compound-public .compound-league-scroll.has-horizontal-overflow .compound-league-table tr>:first-child{position:sticky;left:0;z-index:2;background:var(--league-theme-bg,#edf4f8)}
 .compound-public .compound-league-scroll.has-horizontal-overflow .compound-league-table tr>:last-child{position:sticky;right:0;z-index:2;background:var(--league-theme-bg,#edf4f8)}
 .compound-public .compound-league-scroll.league-unpin-rank .compound-league-table tr>:last-child{position:relative;right:auto}
 .compound-public .compound-league-scroll.league-unpin-team .compound-league-table tr>:first-child{position:relative;left:auto}
}
@media screen and (max-width:600px){
 .compound-public .compound-league-scroll.has-horizontal-overflow .compound-league-table col:first-child{width:96px!important}
 .compound-public .compound-league-scroll.has-horizontal-overflow .compound-league-table tr>:first-child{min-width:96px;max-width:96px;white-space:normal;overflow-wrap:anywhere}
}
@media print{.compound-public .ls-live-entry{display:none}}

/* Public event information: essentials first, then shared rules for both formats. */
.compound-info-overview{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px;background:#edf6f2;border:1px solid #d2e4dc;border-radius:12px}
.compound-info-identity{min-width:0}.compound-info-eyebrow{margin:0 0 8px;font-size:11px;font-weight:700;letter-spacing:.14em;color:#427467}
.compound-info-identity h3{margin:0 0 14px;font-size:clamp(21px,2.3vw,28px);line-height:1.5;overflow-wrap:anywhere;color:#173f40}
.compound-info-tags{display:flex;flex-wrap:wrap;gap:8px}.compound-info-tags span{padding:4px 10px;border:1px solid #c8ddd5;background:#fff;border-radius:6px;font-size:13px;color:#365c53}
.compound-info-count{flex-shrink:0;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;max-width:130px;color:#246b55}.compound-info-count span:first-child{width:100%;font-size:12px}.compound-info-count strong{font-size:36px;line-height:1.3}.compound-info-count span:last-child{font-size:12px}
.compound-info-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;margin:20px 0 28px}
.compound-info-facts>div{padding:16px 0;border-bottom:1px solid #e0e9e8;display:grid;grid-template-columns:90px minmax(0,1fr);align-items:baseline;gap:12px}
.compound-info-facts dt{font-size:12px;color:#627b83}.compound-info-facts dd{margin:0;font-size:15px;font-weight:600;overflow-wrap:anywhere;color:#173f40}
.compound-info-description{margin:24px 0}.compound-info-description p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}
.compound-info-rules-heading{font-size:18px;margin:24px 0 12px}.compound-info-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.compound-info-rule-grid .compound-public-rules{margin:0;padding:20px;background:#f7fafb}.compound-info-rule-grid .compound-public-rules p{line-height:1.9;font-size:14px}.compound-info-rule-grid .compound-public-rule-targets{font-size:12px;color:#627b83}
@media(max-width:650px){.compound-info-overview{padding:18px;align-items:flex-start;gap:16px}.compound-info-count{max-width:70px}.compound-info-count strong{font-size:30px}.compound-info-facts,.compound-info-rule-grid{grid-template-columns:1fr}.compound-info-facts>div{grid-template-columns:76px minmax(0,1fr)}}

.compound-page-tabs button{flex:1;min-width:110px;border:0;border-radius:8px;background:transparent;color:#496c7b;padding:14px 16px;font:inherit;font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap}
.compound-page-tabs button[aria-selected="true"]{background:#173f4c;color:#fff;box-shadow:0 2px 6px #173f4c20}
.compound-page-tabs button:hover:not([aria-selected="true"]){background:#eaf3f5}
.compound-page-tabs button:focus-visible{outline:3px solid #287d83;outline-offset:-3px}
.compound-page-panel[hidden]{display:none!important}
.compound-page-panel.is-tab-visible{animation:compound-panel-enter .18s ease-out}
@keyframes compound-panel-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.compound-page-panel.is-tab-visible{animation:none}}
@media print{.compound-page-panel[hidden]{display:block!important}.compound-page-tabs{display:none!important}}

/* Page tabs must not inherit the creation form's button margins. */
.compound-public .compound-page-tabs button[type="button"]{margin:0;min-height:44px;padding:10px 16px;line-height:1.5;display:inline-flex;align-items:center;justify-content:center;align-self:stretch}
.compound-public>.compound-page-tabs{padding:6px;align-items:stretch}
/* Fit fixtures to the available venue cell, including single-venue days. */
.compound-public .schedule-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;}
.compound-public .schedule-card-grid .compound-fixture-card{width:100%;min-width:0;margin:0;}
.compound-public .schedule-controls label:first-child{flex:1 1 240px;min-width:0;}
.compound-public .schedule-controls select{width:100%;}
.compound-public .compound-stage-navigation{position:sticky;z-index:19;background:#fff;border-radius:12px 12px 0 0;box-shadow:0 4px 12px #20455308;}
.compound-public .compound-stage-navigation .compound-stage-tabs{position:static;}
.compound-public .compound-group-navigation{display:flex;align-items:center;gap:8px;padding:12px 16px;overflow-x:auto;max-width:100%;border:1px solid #d3e2e9;background:#fff;scrollbar-width:thin;}
.compound-public .compound-group-caption{flex:none;font-size:11px;font-weight:700;color:#637d89;margin-right:6px;}
.compound-public .compound-group-navigation a{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border:1px solid #cadde5;border-radius:8px;background:#f4f8fb;color:#24556a;text-decoration:none;font-size:13px;font-weight:700;transition:background .15s,border-color .15s;}
.compound-public .compound-group-navigation a:hover,.compound-public .compound-group-navigation a[aria-current]{background:#e4f2ed;border-color:#6fae9b;color:#175b48;}
.compound-public .compound-group-navigation a:focus-visible{outline:3px solid #2589af;outline-offset:2px;}
.compound-public [data-fixture-competition]:focus{outline:none;}
.compound-public [data-fixture-competition]:focus-visible{outline:2px solid #2589af;outline-offset:2px;}
@media(max-width:600px){.compound-public .compound-group-navigation{padding:8px;gap:6px;}.compound-public .compound-group-caption{display:none;}}
@media print{.compound-public .compound-stage-navigation{display:none;}}
/* Keep the selected phase, group shortcuts and content on one continuous surface. */
.compound-public .compound-stage-navigation{--phase-bg:#f0f7fc;--phase-border:#c9deec;--phase-ink:#17658d;--phase-chip:#fff;--phase-hover:#dceefa;background:var(--phase-bg);box-shadow:none;}
.compound-public .compound-stage-navigation[data-active-stage=final]{--phase-bg:#fff6ed;--phase-border:#ead8c6;--phase-ink:#98511c;--phase-hover:#fae5cf;}
.compound-public .compound-stage-navigation .compound-stage-tabs{background:transparent;gap:0;}
.compound-public .compound-stage-navigation .compound-stage-tabs button[aria-selected=false]{background:#f5f7f8;border-color:#dbe3e7;border-bottom-color:var(--phase-border);}
.compound-public .compound-stage-navigation .compound-stage-tabs button[aria-selected=false] .compound-stage-tab-label{background:#fff;color:#637582;border-color:#d6e0e5;box-shadow:none;}
.compound-public .compound-stage-navigation .compound-group-navigation{justify-content:center;background:var(--phase-bg);border-color:var(--phase-border);border-top:0;border-bottom:0;padding:14px 16px 18px;}
.compound-public .compound-stage-navigation .compound-group-caption{color:var(--phase-ink);}
.compound-public .compound-stage-navigation .compound-group-navigation a{background:var(--phase-chip);color:var(--phase-ink);border-color:var(--phase-border);}
.compound-public .compound-stage-navigation .compound-group-navigation a:hover,.compound-public .compound-stage-navigation .compound-group-navigation a[aria-current]{background:var(--phase-hover);color:var(--phase-ink);border-color:var(--phase-ink);}
.compound-public .compound-stage-navigation ~ .compound-stage-panel{border-top:0;}
@media(max-width:600px){.compound-public .compound-stage-navigation .compound-group-navigation{justify-content:flex-start;padding:10px 10px 14px;}}

.compound-public .compound-group-navigation[hidden]{display:none;}

/* No stage switch is needed when every competition is an independent block. */
.compound-public .compound-stage-navigation.compound-block-navigation{border-radius:8px;margin:12px 0}
.compound-public .compound-block-navigation .compound-group-navigation{border:1px solid var(--phase-border);border-radius:8px;padding-block:10px}
.compound-public #compound-panel-qualifying.compound-block-panel{padding:0;border:0;background:transparent}
.compound-public .compound-block-panel>.compound-review-fixtures{padding:12px 0}

/* White inset frames distinguish blue block headings and tables from the page. */
.compound-public.compound-block-tournament .compound-block-navigation .compound-group-navigation{padding:10px 16px}
.compound-public.compound-block-tournament #compound-panel-qualifying::before{content:none}
.compound-public.compound-block-tournament #compound-panel-qualifying>.compound-review-fixtures{margin:16px 0 24px;border:1px solid #b7cedf;border-radius:10px;background:#fff;box-shadow:0 2px 6px #254b6508;padding:10px}
.compound-public.compound-block-tournament #compound-panel-qualifying .compound-review-fixtures>.compound-competition-heading{padding:14px 16px;background:#e5f0f8;border:1px solid #c5d9e8;border-radius:6px;gap:6px 20px}
.compound-public.compound-block-tournament #compound-panel-qualifying .compound-competition-title h3{font-size:clamp(21px,2vw,26px);line-height:1.4;letter-spacing:0;color:#165e88}
.compound-public.compound-block-tournament .compound-format-badge{padding:3px 8px;border-color:#b7cedf;background:#fff;color:#315d78;font-size:11px}
.compound-public.compound-block-tournament .compound-competition-metrics{gap:12px;color:#607480}
.compound-public.compound-block-tournament .compound-competition-metrics strong{font-size:16px;color:#304b5b}
.compound-public.compound-block-tournament .compound-competition-metrics>span{padding-right:12px}
.compound-public.compound-block-tournament .compound-competition-metrics>span+span{padding-left:12px;border-color:#c5d9e8}
.compound-public.compound-block-tournament .compound-competition-heading .compound-competition-status{padding:6px 10px;background:#fff;border-color:#c5d9e8;color:#526975;font-size:12px}
.compound-public.compound-block-tournament .compound-competition-heading .compound-competition-status::before{background:#17658d}
.compound-public.compound-block-tournament #compound-panel-qualifying .compound-review-fixtures>.league-display-controls{padding:12px 2px 8px;gap:8px 12px;background:#fff}
.compound-public.compound-block-tournament .league-display-controls small{color:#526579}
.compound-public.compound-block-tournament #compound-panel-qualifying .compound-review-fixtures>.compound-bracket-scroll{padding:16px;background:#fff}
.compound-public.compound-block-tournament #compound-panel-qualifying .compound-review-fixtures>.compound-public-rankings{padding:14px 2px 4px;background:#fff;border-color:#dce6ed}
.compound-public.compound-block-tournament #compound-panel-qualifying .compound-public-rankings h4{color:#496677;margin-bottom:10px}
:is(#compoundPublic,.compound-public).compound-block-tournament .compound-league-scroll:not(.compound-themed-league) .compound-league-table thead th{background:#e7f0f7;color:#335064;border-color:#cbd9e4}
:is(#compoundPublic,.compound-public).compound-block-tournament .compound-league-scroll:not(.compound-themed-league) .compound-league-table tbody th{background:#f2f6fa;color:#335064}
:is(#compoundPublic,.compound-public).compound-block-tournament .compound-league-scroll:not(.compound-themed-league) .compound-league-table td.is-self{background:#e6edf3;color:#526579}
.compound-public.compound-block-tournament .compound-league-table caption{padding:10px 12px;color:#496677;font-size:12px}
.compound-public.compound-block-tournament .tournament-stage button.compound-league-register[type=button]{color:#006b80}
.compound-public.compound-block-tournament .compound-league-table td>small{color:#526579}
@media(max-width:600px){
 .compound-public.compound-block-tournament #compound-panel-qualifying>.compound-review-fixtures{padding:8px}
 .compound-public.compound-block-tournament #compound-panel-qualifying .compound-review-fixtures>.compound-competition-heading{padding:12px;gap:6px;grid-template-columns:minmax(0,1fr) auto}
 .compound-public.compound-block-tournament .compound-competition-heading .compound-competition-status{grid-column:2;grid-row:2;justify-self:end;margin:0;font-size:11px;padding:4px 8px;max-width:140px}
 .compound-public.compound-block-tournament .compound-competition-title{grid-column:1/-1;gap:8px}
 .compound-public.compound-block-tournament .compound-competition-metrics{gap:8px}
 .compound-public.compound-block-tournament .compound-competition-metrics>span{padding-right:6px}
 .compound-public.compound-block-tournament .compound-competition-metrics>span+span{padding-left:6px}
 .compound-public.compound-block-tournament #compound-panel-qualifying .compound-review-fixtures>.league-display-controls{padding:10px 0 8px}
 .compound-public.compound-block-tournament #compound-panel-qualifying .compound-review-fixtures>.compound-public-rankings{padding:12px 0 2px}
}
@media print{:is(#compoundPublic,.compound-public).compound-block-tournament .compound-league-scroll:not(.compound-themed-league) .compound-league-table thead th{background:#f2f6fa;color:#335064}}
/* Keep ranking cells aligned with their sticky heading on narrow block tables. */
@media screen{
 :is(#compoundPublic,.compound-public).compound-block-tournament .compound-league-scroll.has-horizontal-overflow:not(.league-unpin-rank) .compound-league-table tr>:last-child{position:sticky;right:0;z-index:2}
}

.compound-public.compound-block-tournament #compound-panel-qualifying .compound-review-fixtures>.compound-league-scroll{box-sizing:border-box;background:#fff;border:1px solid #cbd9e4;border-radius:6px}
