/* KopSix 1.1: scores first, shared match page, restrained hockey identity. */
:root{--surface:#fff;--surface-raised:#eef2f5;--accent:#234b61;--muted:#596776}
[data-theme="dark"]{--accent:#b9d6e8}
body{overflow-wrap:break-word}
.header{height:78px;gap:24px}
.desktop-nav{gap:24px}
.context-detail,.source-note{display:none}
.context-bar{margin-bottom:24px}
.view-header{padding:10px 0 24px;margin-bottom:24px;min-height:0}
.view-header h1{font-size:clamp(34px,4vw,52px);line-height:1.1;margin:10px 0}
.view-header p{line-height:1.6;margin:0}
.view-header .watermark{display:none}
.home-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.home-intro h1{font:800 clamp(38px,4.2vw,58px)/1.05 var(--display);margin:10px 0 0;letter-spacing:-.7px}
.home-first-row{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:24px;align-items:stretch}
.home-spotlight,.match-scoreboard{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:24px}
.home-spotlight{display:flex;flex-direction:column;justify-content:center;border-top:3px solid var(--accent)}
.home-spotlight>.btn{align-self:flex-start;margin-top:20px}
.spotlight-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.favorite-note{font-size:11px;color:var(--accent)}
.home-agenda .game-grid{display:grid;grid-template-columns:1fr;gap:12px}
.home-agenda .game-card{padding:12px 18px}
.home-agenda .game-top{margin-bottom:6px}
.home-agenda .team-line{padding:0;min-height:28px;margin:2px 0}
.home-agenda .team-logo{width:28px;height:28px}
.home-agenda .game-bottom{padding-top:6px;margin-top:6px}
.simple-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}
.simple-section-heading h2,.home-favorites h2{font:800 28px/1.15 var(--display);margin:0}
.simple-section-heading .text-link{font-size:11px}
.home-match-section{margin-top:34px}
.home-favorites{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;border:1px solid var(--line);border-radius:10px;background:var(--surface);margin-top:34px}
.home-favorites p{margin:8px 0 0;color:var(--muted);line-height:1.5}
.home-secondary{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;margin-top:34px;align-items:start}
.home-secondary .player-teaser{margin:0;padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:18px;min-width:0}
.home-secondary .player-teaser h2{font-size:28px}
.home-secondary .player-teaser-faces{display:none}
.home-secondary .standings-table{min-width:420px}
.home-secondary>section{min-width:0}.home-secondary .standings-panel{overflow:hidden}
.home-players{min-width:0;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:10px}
.seo-page .home-players{max-width:680px;margin:28px 0}
.home-players .simple-section-heading{margin-bottom:8px}
.home-players .simple-section-heading h2{font-size:28px;margin:0}
.home-players-scope,.home-players-source{color:var(--muted);font-size:11px;line-height:1.6;margin:0 0 14px}
.home-players-table{width:100%;border-collapse:collapse;font-size:12px;margin-bottom:14px;font-variant-numeric:tabular-nums}
.home-players-table th,.home-players-table td{padding:10px 5px;text-align:right;border-bottom:1px solid var(--line)}
.home-players-table th:first-child{text-align:left;padding-left:0}
.home-players-table thead th{color:var(--muted);font-size:10px;font-weight:600}
.home-players-table tbody th{font-weight:600}
.home-players-table tbody th a{display:inline-block;line-height:1.5}
.home-players-table tbody th a:hover{text-decoration:underline}
.home-players-table small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:2px}
.home-players-table td:last-child{font-weight:800;color:var(--accent)}
.home-players>.text-link{font-size:11px;line-height:1.6}
.home-page .game-card{min-width:0}
.calendar-toolbar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:16px;margin-bottom:20px;border-radius:8px}
.date-shortcuts,.status-filters{display:flex;flex-wrap:wrap;gap:8px}
.calendar-label{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}
.calendar-toolbar .calendar-input{display:block;width:auto;min-height:42px;max-width:100%}
.calendar-toolbar>.text-link{white-space:nowrap;font-size:12px}
.match-filters{justify-content:space-between;gap:16px}
.filter-chip{min-height:40px}
.game-card .game-detail{padding:6px 0}
.match-page{max-width:1120px}
.match-back{display:inline-block;margin:4px 0 22px}
.match-heading{margin-bottom:20px}
.match-heading h1{font:800 clamp(28px,3.5vw,44px)/1.1 var(--display);margin:10px 0}
.match-heading h1 span{color:var(--muted)}
.match-meta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--muted)}
.match-score-grid{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:20px;margin:24px 0 10px}
.match-team{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;min-width:0}
.match-team .team-logo{width:72px;height:72px;object-fit:contain}
.match-team strong{font-size:15px;line-height:1.35}
.match-team small,.match-total small{font:10px/1.5 var(--body);color:var(--muted)}
.match-total{font:800 clamp(32px,4vw,58px)/1 var(--display);text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}
.match-total span{color:var(--muted)}
.match-total small{display:block;margin-top:12px;white-space:normal}
.match-freshness{font-size:11px;color:var(--muted);line-height:1.7;margin:14px 0 24px}
.match-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:28px}
.match-tabs button{padding:15px 24px;font-weight:700;color:var(--muted);border-bottom:3px solid transparent}
.match-tabs [aria-selected="true"]{color:var(--ink);border-bottom-color:var(--accent)}
[role="tabpanel"][hidden]{display:none}
.match-page h2{font:800 26px var(--display);margin:24px 0 16px}
.match-periods{display:flex;flex-wrap:wrap;gap:12px}
.match-periods>div{flex:1;min-width:110px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:8px;text-align:center}
.match-periods span{font-size:11px;color:var(--muted)}
.match-periods strong{display:block;margin-top:8px;font:800 25px var(--display)}
.match-page .event{display:grid;grid-template-columns:90px 1fr;gap:16px;align-items:start}
.match-page .event strong{line-height:1.6}
.match-page .event-time{line-height:1.7}
.video-empty{padding:32px;background:var(--surface);border:1px solid var(--line);border-radius:10px;text-align:center}
.video-empty h2{margin-top:0}
.video-empty p{color:var(--muted);line-height:1.7}
.video-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:20px}
.video-player:has(iframe),.video-player:has(.video-poster){aspect-ratio:16/9;background:#080b0f;border-radius:10px;overflow:hidden}
.video-player iframe{display:block;width:100%;height:100%;border:0}
.video-poster{width:100%;height:100%;display:grid;place-content:center;gap:16px;position:relative;isolation:isolate;color:#fff;background:#080b0f}
.video-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55;z-index:-1}
.video-poster>span{width:64px;height:64px;display:grid;place-items:center;justify-self:center;background:#fff;color:#132431;border-radius:50%;font-size:24px}
.video-poster strong{font-size:16px;text-shadow:0 1px 6px #000}
.video-caption{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px}
.video-caption h2{font:700 18px/1.5 var(--body);margin:8px 0}
.video-caption .btn{white-space:nowrap}
.global-search-dialog{width:min(620px,calc(100% - 24px));max-height:85dvh;border:1px solid var(--line);border-radius:12px;padding:24px;color:var(--ink);background:var(--surface)}
.search-dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.search-dialog-head h2{font:800 30px var(--display);margin:0}
.global-search-dialog input{width:100%;padding:14px 16px;background:var(--paper);border:1px solid var(--line);border-radius:7px;color:var(--ink);font:inherit;font-size:16px}
.global-search-dialog h3{font-size:12px;color:var(--muted);margin:22px 0 8px}
.global-search-dialog .search-result{display:flex;width:100%;padding:12px 8px;align-items:center;gap:14px;border-radius:6px}
.global-search-dialog .search-result small{display:block;font-size:10px;color:var(--muted);margin-top:5px}
.search-symbol{font-size:22px;color:var(--muted)}
.search-hint{font-size:12px;color:var(--muted)}
@media(max-width:1000px){.home-first-row{grid-template-columns:1.3fr 1fr}.header{gap:16px}.desktop-nav{gap:16px}.match-score-grid{gap:12px}.match-team .team-logo{width:56px;height:56px}}
@media(max-width:760px){
 .home-first-row,.home-secondary{grid-template-columns:minmax(0,1fr)}
 .home-intro{align-items:flex-end}.home-intro>.text-link{font-size:10px;white-space:nowrap}
 .home-agenda .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-spotlight,.match-scoreboard{padding:20px 16px}
 .home-agenda .game-card{padding:14px 12px}.home-agenda .team-line{gap:5px}.home-agenda .team-name{font-size:11px}
 .home-favorites{align-items:flex-start;flex-direction:column}
 .home-secondary .player-teaser{width:100%}
 .match-filters{align-items:flex-start;flex-direction:column}
 .calendar-toolbar{gap:14px}.calendar-label{flex-wrap:wrap}
 .video-caption{align-items:flex-start;flex-direction:column;gap:12px}
 .match-team strong{font-size:12px}.match-score-grid{gap:8px}
 .match-page .event{grid-template-columns:72px 1fr;gap:12px}
 .match-heading h1{font-size:30px}.video-empty{padding:24px 16px}
}
@media(max-width:480px){
 .header{height:68px}.header .brand{min-width:130px}.header .brand small{display:none}.header .brand .wordmark{max-width:132px}
 .header-actions{margin-left:auto;gap:4px}.header-actions .header-divider{display:none}.header-actions .icon-button{width:34px;height:38px}
 .home-intro{align-items:flex-start;flex-direction:column;gap:12px}.home-intro h1{font-size:40px}
 .home-agenda .game-grid{grid-template-columns:1fr}.home-agenda .team-name{font-size:13px}
 .context-bar .eyebrow{font-size:8px;letter-spacing:1px}.context-right{gap:0}.context-bar .select-wrap{font-size:9px;padding:8px}
 .home-spotlight .match-total{font-size:36px}.match-team .team-logo{width:48px;height:48px}
 .match-meta{font-size:10px}.match-team strong{font-size:11px}.match-team small{font-size:9px}
 .simple-section-heading h2{font-size:26px}.simple-section-heading .text-link{font-size:10px}
 .global-search-dialog{padding:18px}.calendar-toolbar .date-shortcuts{width:100%}
 .status-filters{gap:5px}.status-filters .filter-chip{font-size:11px;padding-left:11px;padding-right:11px}
}
