.tournament-hub{--hub-surface:#fff;--hub-ink:#183943;--hub-muted:#62787e;--hub-line:#d5dfd8;--hub-accent:#d7e7b4;--hub-soft:#f0f4eb;color:var(--hub-ink)}
.site-dark .tournament-hub{--hub-surface:#203d48;--hub-ink:#f0f4e9;--hub-muted:#bdd0d2;--hub-line:#49636c;--hub-accent:#d7e7b4;--hub-soft:#2a4651}
.hub-header{margin:8px 0 0;padding:20px 22px;background:var(--hub-surface);border:1px solid var(--hub-line);border-bottom:0;border-radius:14px 14px 0 0}
.hub-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.hub-heading>div:first-child{min-width:0}.hub-heading h1{font-size:clamp(24px,3vw,36px);line-height:1.15;margin:0 0 8px;overflow-wrap:anywhere}.hub-tournament-subtitle{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:var(--hub-muted)}.hub-tournament-subtitle b{font-weight:600;color:var(--hub-ink)}
.hub-heading .tournament-inline-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;max-width:310px;gap:4px;flex-shrink:0}.tournament-hub .tournament-icon-button{display:inline-flex;width:34px;height:34px;min-height:34px;min-width:34px;padding:7px;border-radius:8px;border:1px solid transparent;background:transparent;color:var(--hub-ink);align-items:center;justify-content:center}.tournament-hub .tournament-icon-button:hover{background:var(--hub-soft);border-color:var(--hub-line)}.tournament-hub .tournament-icon-button:focus-visible{outline:2px solid #738e50;outline-offset:2px}.tournament-icon-button svg{width:20px;height:20px;flex-shrink:0}.hub-publication{font-size:11px;margin-top:6px;color:var(--hub-muted)}
.hub-main-tabs{display:flex;gap:0!important;margin:0!important;padding:0 14px;background:var(--hub-surface);border:1px solid var(--hub-line);border-top:0;border-radius:0 0 14px 14px;overflow-x:auto}.hub-main-tabs>a{flex:1;text-align:center;padding:13px 12px;text-decoration:none;font-weight:650;color:var(--hub-muted);border-bottom:3px solid transparent;white-space:nowrap;font-size:14px}.hub-main-tabs>a.active{color:var(--hub-ink);border-bottom-color:#78994f;background:var(--hub-soft)}
.hub-division-bar{display:flex;align-items:center;gap:6px;margin:14px 0 0;min-width:0;border-bottom:1px solid var(--hub-line)}.hub-division-bar .division-nav{display:flex;flex:1;min-width:0;gap:2px;overflow-x:auto;flex-wrap:nowrap;margin:0;padding:0}.hub-division-bar .division-nav a{font-size:13px;padding:10px 13px;white-space:nowrap;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--hub-muted)}.hub-division-bar .division-nav a.selected{border-bottom-color:#78994f;color:var(--hub-ink);background:var(--hub-soft)}.hub-division-tools{display:flex;flex-shrink:0}
.hub-overview{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;margin-top:18px;padding:22px;background:var(--hub-surface);border:1px solid var(--hub-line);border-radius:14px}.hub-overview:has(.hub-gallery){grid-template-columns:minmax(0,1fr) minmax(240px,.8fr)}.hub-overview-copy{min-width:0}.hub-overview p{margin:0 0 14px;white-space:pre-line;overflow-wrap:anywhere}.hub-announcement{font-size:17px;line-height:1.5;font-weight:550}.hub-description,.hub-congratulations{font-size:14px;line-height:1.6}.hub-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:18px 0}.hub-facts div{min-width:0}.hub-facts dt{font-size:11px;color:var(--hub-muted);margin:0 0 3px}.hub-facts dd{font-size:14px;margin:0;overflow-wrap:anywhere}.hub-winners{border-top:1px solid var(--hub-line);padding-top:14px}.hub-winners h2{font-size:17px;margin:0 0 12px}.hub-winners a{display:flex;justify-content:space-between;gap:14px;text-decoration:none;margin:8px 0;color:var(--hub-ink);font-size:13px}.hub-winners a span{color:var(--hub-muted)}.hub-congratulations{margin-top:16px!important}.hub-gallery{min-width:0;align-self:start}.hub-gallery .archive-deck{margin:0}.hub-streams{display:flex;flex-wrap:wrap;gap:14px;font-size:13px}
.hub-calendar{margin-top:4px}.hub-calendar-tools{display:flex;align-items:center;border-bottom:1px solid var(--hub-line);gap:6px}.hub-date-strip{display:flex;flex:1;overflow-x:auto;min-width:0;scrollbar-width:thin}.hub-date-strip button{background:transparent;color:var(--hub-muted);border:0;border-bottom:3px solid transparent;border-radius:0;padding:10px 14px;min-height:58px;min-width:76px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;white-space:nowrap;font:500 13px/1.25 system-ui}.hub-date-strip small{font-size:11px}.hub-date-strip button[aria-pressed=true]{color:var(--hub-ink);border-bottom-color:#78994f;background:var(--hub-soft)}.hub-date-strip button[aria-current=date] small{font-weight:700}
.hub-match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:var(--hub-line);gap:1px;border:1px solid var(--hub-line);border-top:0;border-radius:0 0 12px 12px;overflow:hidden}.hub-match{background:var(--hub-surface);padding:11px 13px;min-width:0}.hub-match-heading{display:flex;gap:5px;align-items:center;font-size:10px;min-height:24px;margin-bottom:6px;line-height:1.3}.hub-match-heading>span:first-child{flex:1;min-width:0}.hub-match-heading>span>span{color:var(--hub-muted)}.hub-match-status{font-weight:500;white-space:nowrap;color:var(--hub-muted)}.hub-match.is-live .hub-match-status{color:#3e7a26;font-weight:650}.site-dark .hub-match.is-live .hub-match-status{color:#cbe8ac}.hub-match-heading .tournament-icon-button{width:25px;min-width:25px;height:25px;min-height:25px;padding:4px}.hub-match-heading svg{width:16px;height:16px}
.hub-match-open{display:block;width:100%;padding:0;background:transparent!important;border:0!important;border-radius:0;color:var(--hub-ink)!important;text-align:left;font:400 14px/1.35 system-ui;cursor:pointer}.hub-player-row{display:flex;align-items:center;gap:6px;min-height:30px}.hub-player-name{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.hub-player-name>.notranslate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.hub-player-name .tennis-flag,.hub-player-name img{width:21px;height:14px;object-fit:cover;flex-shrink:0;border-radius:1px}.hub-match-score{display:flex;align-items:center;flex-shrink:0;gap:3px;font-variant-numeric:tabular-nums}.hub-match-score>b{position:relative;min-width:23px;text-align:center;font-weight:500;font-size:13px}.hub-match-score sup{position:absolute;top:-3px;font-size:8px}.hub-match-score .hub-game-points{background:var(--hub-soft);border:1px solid var(--hub-line);min-width:28px;border-radius:3px;font-size:12px;color:#547437}.site-dark .hub-game-points{color:#d7e7b4}.hub-serve{display:inline-block;width:10px;font-size:9px;text-align:right;color:#85a64a}.hub-player-row.seeded .hub-player-name{font-weight:750}.hub-player-row.winner .hub-match-score>b{font-weight:650}.hub-empty{padding:24px 12px;font-size:13px;color:var(--hub-muted);grid-column:1/-1;margin:0;background:var(--hub-surface)}
.tournament-hub .tournament-participants{margin-top:12px}.tournament-hub .tournament-section-head{gap:6px;justify-content:flex-start}.tournament-hub .tournament-section-head h2{flex:1;font-size:18px}.tournament-hub .participant-row-actions{display:flex;gap:0;flex-wrap:nowrap}.tournament-hub .participant-row{padding:8px 4px}.tournament-hub .participant-open{gap:10px}.tournament-hub .participant-open strong{font-size:14px}.tournament-hub .participant-search{min-height:42px;font-size:14px;margin:8px 0 12px}.tournament-hub .participant-seeding{float:right}.tournament-hub .draw-toolbar{margin:14px 0;gap:5px;padding:7px 10px;background:var(--hub-surface);border:1px solid var(--hub-line);border-radius:10px}.tournament-hub .draw-stage-title{font-size:17px;margin:16px 0 8px}.hub-edit-form label{font-size:12px}.hub-edit-form input{min-height:40px;padding:9px 11px}
@media(max-width:700px){.hub-header{padding:15px}.hub-heading{display:block}.hub-heading .tournament-inline-actions{justify-content:flex-start;max-width:none;margin-top:10px}.hub-main-tabs{padding:0 5px}.hub-main-tabs>a{padding:12px 8px;font-size:13px}.hub-overview,.hub-overview:has(.hub-gallery){grid-template-columns:minmax(0,1fr);padding:16px;gap:16px}.hub-match-grid{grid-template-columns:minmax(0,1fr)}.hub-match{padding:10px 12px}.hub-date-strip button{padding:8px 12px;min-width:68px}.hub-facts{gap:12px}.hub-winners a{flex-direction:column;gap:3px}.tournament-hub .participant-row-actions .tournament-icon-button{width:30px;min-width:30px;padding:6px}.tournament-hub .participant-open img,.tournament-hub .participant-avatar{width:34px;height:34px}.tournament-hub .participant-open{min-width:0}.tournament-hub .participant-open strong{font-size:13px}.tournament-hub .participant-open small{font-size:11px}}

.hub-news{font-size:13px;margin:12px 0}.hub-news summary{cursor:pointer}.hub-news p{margin-top:10px}.hub-gallery .archive-deck{min-height:260px;height:320px}.hub-gallery .deck-stage{min-height:210px}.hub-gallery .deck-caption{display:none}.hub-gallery .deck-footer{justify-content:flex-end}.hub-gallery .deck-controls{width:100%;justify-content:space-between}@media(max-width:700px){.tournament-hub .participant-row.entry-row{display:flex;align-items:center;gap:4px}.tournament-hub .participant-row-actions{margin:0}.tournament-hub .participant-open{flex:1}}
body:has(.tournament-hub) .site-header .brand-mark{width:56px;height:56px}body:has(.tournament-hub) .header-inner{min-height:78px;padding-top:8px;padding-bottom:8px}body:has(.tournament-hub) .site-header .brand{gap:12px}body:has(.tournament-hub) .site-header .brand>span{font-size:23px}body:has(.tournament-hub) .site-header .brand small{font-size:8px}body:has(.tournament-hub) .site-header nav{font-size:15px}
@media(max-width:700px){body:has(.tournament-hub) .header-inner{display:flex;flex-wrap:wrap;gap:10px;min-height:96px}body:has(.tournament-hub) .site-header nav{width:100%;justify-content:space-between;font-size:14px}.hub-match-heading .tournament-icon-button{height:34px;min-height:34px;width:34px;min-width:34px}.hub-heading .tournament-inline-actions .tournament-icon-button{height:38px;min-height:38px;width:38px;min-width:38px}}
.hub-gallery .archive-deck{display:block;height:auto;min-height:0;padding:0;background:transparent;border:0;box-shadow:none}.hub-gallery .deck-stage{position:relative;aspect-ratio:16/10;min-height:0;height:auto;max-height:330px;overflow:hidden;border-radius:10px;background:var(--hub-soft);margin:0}.hub-gallery .deck-card{left:0!important;top:0!important;margin:0;border:0;border-radius:0;box-shadow:none}.hub-gallery .deck-card img{width:100%;height:100%;object-fit:cover}.hub-gallery .deck-footer{position:static;padding:8px 0 0;min-height:0;border:0}.hub-gallery .deck-controls{display:flex;justify-content:space-between;align-items:center;gap:10px}.hub-gallery .slide-buttons{padding:0;border:0;background:transparent;gap:2px}.hub-gallery .slide-buttons button{width:34px;height:34px;min-height:34px;padding:8px;color:var(--hub-ink);border-radius:8px;background:var(--hub-soft)}.hub-gallery .deck-counter{font-size:11px;color:var(--hub-muted)}.hub-gallery .deck-progress{display:none}.registry-candidate-details{font-size:11px;line-height:1.5;width:100%;color:#657b82}
/* Distinct event/day tabs in both themes. */
.hub-division-bar{background:var(--hub-surface);border:1px solid var(--hub-line);border-radius:10px 10px 0 0;padding:5px 6px;gap:8px}.hub-division-bar .division-nav{gap:6px}.hub-division-bar .division-nav a{border:1px solid var(--hub-line);border-radius:7px;background:var(--hub-soft);color:var(--hub-ink);padding:9px 13px}.hub-division-bar .division-nav a.selected{background:#d7e7b4;color:#183943;border-color:#78994f;box-shadow:inset 0 -2px 0 #78994f}.hub-calendar{margin-top:0}.hub-calendar-tools{background:var(--hub-surface);border:1px solid var(--hub-line);border-top:0;padding:5px 6px}.hub-date-strip{gap:5px}.hub-date-strip button{background:var(--hub-soft);border:1px solid var(--hub-line);border-radius:7px;min-height:48px;color:var(--hub-ink)}.hub-date-strip button[aria-pressed=true]{background:#d7e7b4;color:#183943;border-color:#78994f;box-shadow:inset 0 -2px 0 #78994f}.hub-match-grid{background:var(--hub-surface)}.hub-match{border-right:1px solid var(--hub-line);border-bottom:1px solid var(--hub-line)}
