/* Read-only design references, verified 2026-10-13:
   84452cup dev-ck 993cc324562a5eba15e28198f1010692700ed1be:
   docs/ui-design-guidelines.md; docs/design/reveal-stage-prompt.md.
   Also follows 84452cup-ui/SKILL.md and references/layout-rules.md.
   No source code or assets copied. No root repository LICENSE was found;
   third-party vendor licenses do not grant rights to the whole repository.
   These are public-page readability overrides, not a separate broadcast app. */
:root {
  --watch-body: clamp(15px,calc(10px + .32vw),20px);
  --watch-control: clamp(15px,calc(11px + .28vw),20px);
  --watch-meta: clamp(12px,calc(8px + .28vw),16px);
  --watch-data: clamp(17px,calc(10px + .48vw),26px);
  --watch-title: clamp(29px,calc(15px + .8vw),46px);
}
body:is(.home-page,.events-page,.teams-page,.players-page,.schedule-page) { font-size: var(--watch-body); }
.main-nav>a { font-size: var(--watch-control); }
.manage-link,.season-switcher summary { font-size: var(--watch-meta); }
.theme-toggle { width: 38px; height: 38px; }
:is(.home-page,.events-page,.teams-page,.players-page,.schedule-page) .page-heading h1 { font-size: var(--watch-title); }
.page-heading h1,.event-hero h1,.event-tile h2,.team-identity h2 { overflow-wrap: anywhere; }
:is(.home-page,.events-page,.teams-page,.players-page,.schedule-page) .page-heading p { font-size: var(--watch-body); }
:is(.home-page,.events-page,.teams-page,.players-page,.schedule-page) .section-heading h2 { font-size: clamp(21px,calc(15px + .4vw),30px); }
:is(.home-page,.events-page,.teams-page,.players-page,.schedule-page) :is(.text-link,.section-heading>a,.back-link,.pagination) { font-size: var(--watch-meta); }
:is(.home-page,.events-page,.teams-page,.players-page,.schedule-page) .button { min-height: 44px; font-size: var(--watch-control); padding: 10px 20px; gap: 16px; }
:is(.home-page,.events-page,.teams-page,.players-page,.schedule-page) .empty-state :is(h2,h3) { font-size: 20px; }
:is(.home-page,.events-page,.teams-page,.players-page,.schedule-page) .empty-state p { font-size: var(--watch-body); }
.hero-description { font-size: var(--watch-body); }
.hero-facts,.hero-stage { font-size: var(--watch-meta); }
.hero-facts b { font-size: clamp(25px,1.5vw,38px); }
.tournament-path strong { font-size: var(--watch-control); }
.tournament-path small { font-size: var(--watch-meta); }
.home-team-grid>a>span:last-child { font-size: var(--watch-meta); }
.event-tile-content p,.event-shortcuts small { font-size: var(--watch-meta); }
.event-shortcuts strong { font-size: var(--watch-control); }
.team-selector-rail nav>a>span:nth-child(2) { font-size: var(--watch-meta); }
.team-identity p { font-size: var(--watch-body); }
.team-edit-link { font-size: var(--watch-control); }
.team-record>strong { font-size: clamp(36px,2.7vw,58px); }
.profile-role,.identity-grid dt,.stats-grid dt { font-size: var(--watch-meta); }
.identity-grid dd { font-size: var(--watch-control); }
.champion-profile-list>div,.profile-subnav>a { font-size: var(--watch-control); }
.stats-grid dd { font-size: clamp(30px,2vw,48px); }
.catalog-filter { gap: 16px; flex-wrap: wrap; }
.catalog-filter label { font-size: var(--watch-meta); }
.catalog-filter input,.catalog-filter select { height: 44px; font-size: var(--watch-control); }
.catalog-filter .button { min-height: 44px; }
.catalog-filter .search-field { min-width: 240px; }
.result-tag,.team-record .result-tag,.round-state { font-size: var(--watch-meta); }
.stage-tabs>a { min-height: 48px; font-size: var(--watch-control); }
.stage-tabs>a small,.schedule-statusbar,.schedule-key,.graph-explanation { font-size: var(--watch-meta); }
.round-filter>a,.view-toggle>a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; font-size: var(--watch-control); }
.cup-match-card .match-meta,.match-card-foot { font-size: var(--watch-meta); flex-wrap: wrap; }
.cup-match-card .match-team-name,.home-fixtures .match-team-name { font-size: var(--watch-control); }
.cup-match-card .match-result { font-size: clamp(28px,1.6vw,40px); }
.cup-match-card .match-result-pending { font-size: 21px; }
.match-team strong { font-size: clamp(26px,1.5vw,36px); }
.standings-table,.data-table { font-size: var(--watch-body); }
.standings-table th,.standings-table td { font-size: var(--watch-body); }
.standings-table thead th { font-size: var(--watch-meta); }
.standings-table thead,.data-table thead { font-size: var(--watch-meta); }
.swiss-board:not(.is-single-round) { grid-template-columns: repeat(5,minmax(265px,1fr)); min-width: 1485px; gap: 30px; }
.record-heading span,.record-outcome,.outcome-team>span { font-size: var(--watch-meta); }
.record-matches .cup-match-card .match-team-name { font-size: 13px; }
.record-matches .cup-match-card .match-result { font-size: 22px; }
.record-matches .match-team strong { font-size: 19px; }
.record-matches .team-mark { width: 26px; height: 26px; flex-basis: 26px; }
.record-matches .match-card { padding: 12px 10px; }
.playoff-round { min-width: 310px; }
.playoff-pending .match-team-name { font-size: var(--watch-meta); }
.scoreboard-meta,.scoreboard-team>span:last-child,.match-scoreboard .scoreboard-score>small { font-size: var(--watch-meta); }
.match-scoreboard .scoreboard-team h1,.match-scoreboard .scoreboard-team h2 { font-size: clamp(25px,1.5vw,38px); overflow-wrap: anywhere; }
.match-scoreboard .scoreboard-score>strong { font-size: clamp(56px,3.3vw,84px); }
.game-navigation>a { min-height: 48px; font-size: var(--watch-control); }
.game-navigation>a span,.game-result { font-size: var(--watch-meta); }
.battle-side-head h3 { font-size: clamp(21px,1.2vw,30px); }
.battle-side-head>div { min-width: 0; }
.battle-side-head h3 { min-width: 0; overflow-wrap: anywhere; }
.battle-side-head>span,.side-totals>div>span { font-size: var(--watch-meta); }
.game-panel .battle-side-head>span { font-size: var(--watch-meta); }
.side-totals strong { font-size: var(--watch-data); }
.battle-player-info strong { font-size: var(--watch-control); }
.battle-champion>span:last-child { font-size: var(--watch-meta); }
.battle-stat dt { font-size: var(--watch-meta); }
.battle-stat dd { font-size: var(--watch-control); font-variant-numeric: tabular-nums; }
.pregame-players a { font-size: var(--watch-control); }
.pregame-players>div>span { font-size: var(--watch-meta); }
.history-summary dt,.history-champion small,.history-result small,.history-identity small,.history-kda>small,.history-details dt,.history-source { font-size: var(--watch-meta); }
.history-summary dd { font-size: clamp(29px,1.8vw,42px); }
.history-champion strong,.history-result strong,.history-identity strong { font-size: var(--watch-control); }
.history-kda { font-size: var(--watch-data); }
.history-details dd { font-size: var(--watch-control); }
.history-record { grid-template-columns: 80px minmax(150px,1fr) 112px minmax(210px,1.2fr); gap: 16px; }
.history-source { flex-wrap: wrap; gap: 8px 18px; overflow-wrap: anywhere; }
.history-source>a { max-width: 100%; }
.source-notice-popover { font-size: max(14px,var(--watch-meta)); }

@media(min-width:2200px) {
  .site-main,.site-footer { max-width: 2480px; width: calc(100% - 128px); }
  .header-inner { max-width: 2640px; }
  .page-source-bar { max-width: 2640px; }
  .player-catalog { grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 24px; }
  .lineup-five,.home-players { gap: 22px; }
  .swiss-board:not(.is-single-round) { grid-template-columns: repeat(5,minmax(320px,1fr)); min-width: 1760px; }
  .record-matches .cup-match-card .match-team-name { font-size: 16px; }
  .record-matches .match-team strong { font-size: 23px; }
  .playoff-round { min-width: 360px; }
}
@media(max-width:1200px) {
  .header-inner { gap: 20px; }
  .main-nav { gap: 16px; }
  .main-nav>a { font-size: 15px; }
  .header-tools { gap: 12px; }
  .history-record { grid-template-columns: 65px minmax(0,1fr) 100px; gap: 12px; padding: 14px; }
  .history-details { grid-column: 2/-1; gap: 9px; }
  .history-source { grid-column: 1/-1; margin-top: 0; }
}
@media(max-width:850px) {
  .main-nav>a { min-height: 44px; font-size: 16px; }
  .history-record { grid-template-columns: 65px minmax(0,1fr) 100px; gap: 12px; }
  .history-details { grid-column: 2/-1; }
  .history-source { grid-column: 1/-1; margin-top: 0; }
}
@media(max-width:560px) {
  .header-inner { gap: 10px; }
  .header-tools { gap: 8px; }
  .season-switcher summary { font-size: 11px; }
  .theme-toggle { width: 36px; height: 36px; }
  .hero-description { font-size: 15px; }
  .hero-facts { gap: 16px; font-size: 12px; }
  .hero-stage { font-size: 12px; }
  .tournament-path strong { font-size: 15px; }
  .tournament-path small { font-size: 12px; }
  .catalog-filter { gap: 12px; }
  .catalog-filter .search-field { min-width: 0; width: 100%; }
  .catalog-filter label { min-width: 0; }
  .stage-tabs>a { gap: 6px; padding: 12px; }
  .stage-tabs>a small { font-size: 11px; margin-left: 0; }
  .round-filter>a,.view-toggle>a { min-height: 40px; font-size: 14px; padding: 7px 11px; }
  .match-teams { gap: 8px; }
  .match-team { gap: 7px; }
  .cup-match-card .match-team-name,.home-fixtures .match-team-name { font-size: 14px; }
  .match-team strong { font-size: 24px; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .team-identity p { font-size: 14px; }
  .match-scoreboard .scoreboard-teams { gap: 8px; }
  .match-scoreboard .scoreboard-team h1,.match-scoreboard .scoreboard-team h2 { font-size: 19px; }
  .match-scoreboard .scoreboard-score>strong { font-size: 40px; }
  .scoreboard-score>strong>span { margin: 0 9px; }
  .scoreboard-score { gap: 8px; }
  .battle-player { grid-template-columns: 52px minmax(0,1fr); gap: 10px 12px; }
  .battle-champion { grid-row: auto; }
  .battle-stat { grid-column: 1/-1; gap: 8px; padding-top: 4px; }
  .battle-stat dd { font-size: 15px; }
  .battle-stat dt { font-size: 12px; }
  .game-panel .game-result { max-width: 55%; }
  .game-panel .game-result>strong,.game-panel .game-result>span { font-size: 12px; }
  .game-panel .game-result>strong { white-space: normal; overflow-wrap: anywhere; text-align: right; }
  .game-panel .battle-side-head>span { font-size: 12px; }
  .history-record { grid-template-columns: 54px minmax(0,1fr) 88px; gap: 11px 9px; padding: 12px; }
  .history-result strong,.history-identity strong { font-size: 14px; }
  .history-kda { font-size: 15px; }
  .history-identity small,.history-result small,.history-kda>small { font-size: 11px; }
  .history-details { grid-column: 1/-1; }
  .history-details dd { font-size: 15px; }
  .history-source { font-size: 11px; gap: 7px 10px; }
  .pregame-players { gap: 6px; }
  .pregame-players a { font-size: 13px; }
}
@container (max-width:320px) {
  .cup-match-card .match-team-name { font-size: 14px; }
  .cup-match-card .match-result { font-size: 26px; }
  .cup-match-card .match-result-pending { font-size: 19px; }
}
@container (max-width:230px) {
  .cup-match-card .match-team-name { font-size: 13px; }
  .cup-match-card .match-result { font-size: 22px; }
}
