/* Hockey Game Center: Football's live broadcast hierarchy, tailored to rink action. */
.hockey-game-dialog {
  width: min(1120px, 96vw);
  max-width: 1120px;
  max-height: 94dvh;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #35505d;
  border-radius: 20px;
  background: #08141e;
  color: #eef5f7;
  box-shadow: 0 24px 90px #000b;
  scrollbar-color: #365365 #09141c;
}
.hockey-game-dialog::backdrop { background: #02070ccc; backdrop-filter: blur(5px); }
.hgc-center {
  --hgc-bg: #08141e;
  --hgc-surface: #10212c;
  --hgc-line: #2b414e;
  --hgc-muted: #9eb1bc;
  --hgc-accent: #b8e987;
  min-height: 100%;
  padding: 24px 28px 30px;
  background: radial-gradient(ellipse at 50% -25%, #1a3748 0, transparent 50%), var(--hgc-bg);
  color: #eef5f7;
  font: 14px/1.5 'DM Sans', system-ui, sans-serif;
  isolation: isolate;
}
.hgc-center *, .hgc-center *::before, .hgc-center *::after { box-sizing: border-box; min-width: 0; }
.hgc-center button { font: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.hgc-center button:focus-visible { outline: 3px solid var(--hgc-accent); outline-offset: 2px; }
.hgc-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.hgc-eyebrow { margin: 0 0 2px; color: #b8e987; font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.hgc-header h2 { margin: 0; font-size: 25px; line-height: 1.2; letter-spacing: -.035em; }
.hgc-close, .hgc-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 9px 13px; border: 1px solid #405763; border-radius: 10px; background: #172a35; color: #eef5f7; font-size: 12px; font-weight: 750; white-space: nowrap; }
.hgc-close span { color: #b8e987; font-size: 20px; line-height: 1; }
.hgc-close:hover, .hgc-button:hover { border-color: #78909a; background: #213844; }
.hgc-match-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; padding: 0 0 10px; border-bottom: 1px solid var(--hgc-line); color: var(--hgc-muted); font-size: 11px; }
.hgc-match-meta span { text-align: right; }
.hgc-scoreboard-slot { margin: 0 0 4px; }
.hgc-scoreboard-slot .scoreboard { margin: 0; padding: 22px 22px; border-color: #2c4655; background: linear-gradient(115deg, #132b39, #0d1d29 52%, #132b39); }
.hgc-scoreboard-slot .team-label { color: #a9d981; }
.hgc-scoreboard-slot .team-score strong { max-width: 100%; overflow-wrap: anywhere; }
.hgc-scoreboard-slot .scoreline { font-size: 52px; }
.hgc-presentation { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(230px, .9fr); align-items: stretch; gap: 13px; }
.hgc-rink-pane, .hgc-latest { min-width: 0; overflow: hidden; border: 1px solid var(--hgc-line); border-radius: 14px; background: #10212c; }
.hgc-rink-pane { padding: 13px; }
.hgc-rink-pane .rink-card-heading { margin: 0 1px 9px; }
.hgc-rink-pane .rink-card-heading .eyebrow { color: #77d9cf; }
.hgc-rink-pane .rink-wrap { border-color: #425d69; }
.hgc-rink-pane .rink-key { margin-bottom: 1px; }
.hgc-latest { display: flex; flex-direction: column; padding: 16px 17px; background: linear-gradient(145deg, #172b35, #10212c); }
.hgc-latest-heading { display: flex; align-items: center; gap: 7px; color: #a8dc81; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.hgc-latest-heading small { margin-left: auto; color: var(--hgc-muted); font-size: 9px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.hgc-live-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #b8e987; box-shadow: 0 0 0 4px #b8e98718; }
.hgc-live-dot.is-paused { background: #9eb1bc; box-shadow: none; }
.hgc-latest #hgcLatestSlot { display: flex; flex: 1; align-items: center; }
.hgc-latest .rink-now { width: 100%; grid-template-columns: 1fr; gap: 12px; margin: 10px 0 0; padding: 0; border: 0; background: transparent; }
.hgc-latest .rink-action { min-height: 27px; justify-self: start; padding: 0 9px; }
.hgc-latest .rink-now-copy strong { overflow: visible; white-space: normal; font-size: 18px; line-height: 1.35; letter-spacing: -.025em; }
.hgc-latest .rink-now-copy p { display: block; max-height: none; margin-top: 8px; overflow: visible; color: #b6c7ce; font-size: 12px; line-height: 1.55; text-overflow: clip; }
.hgc-control-dock { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 0 16px; background: linear-gradient(var(--hgc-bg) 75%, #08141eeb); }
.hgc-playback-controls { display: flex; align-items: center; gap: 10px; }
.hgc-button.hgc-primary { min-width: 88px; border-color: #b8e987; background: #b8e987; color: #15230f; }
.hgc-button.hgc-primary:hover { background: #caefa1; }
.hgc-speeds { display: flex; align-items: center; gap: 0; padding: 3px; border: 1px solid #344b57; border-radius: 10px; background: #0e1d27; }
.hgc-speeds span { padding: 0 8px; color: #91a8b4; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.hgc-speeds button { min-width: 38px; min-height: 37px; padding: 5px; border: 0; border-radius: 7px; background: transparent; color: #b6c5cc; font-size: 11px; font-weight: 750; }
.hgc-speeds button[aria-pressed="true"] { background: #334954; color: #fff; }
.hgc-finish { border-color: #52636a; background: transparent; }
.hgc-continue { padding-inline: 18px; }
.hgc-details { overflow: hidden; border: 1px solid var(--hgc-line); border-radius: 14px; background: #0e1d27; }
.hgc-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--hgc-line); background: #12232e; }
.hgc-tabs button { min-height: 49px; padding: 10px 8px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #a5b7c0; font-size: 12px; font-weight: 750; }
.hgc-tabs button[aria-selected="true"] { border-bottom-color: #c68cdb; background: #c68cdb0b; color: #f3eef7; }
.hgc-panel[hidden], .hgc-center [hidden] { display: none !important; }
.hgc-panel .feed-heading { min-height: 47px; padding: 8px 14px; border-bottom: 1px solid #263d49; }
.hgc-panel .feed-heading h3 { font-size: 14px; }
.hgc-panel .play-feed { max-height: min(36dvh, 390px); overflow: auto; overscroll-behavior: contain; }
.hgc-panel .stat-table { border: 0; border-radius: 0; }
.hgc-panel .stat-row { border-color: #263d49; }
.hgc-panel .penalty-panel { margin: 12px; }
.hgc-panel .leaders-card { padding: 14px 16px; border: 0; border-bottom: 1px solid #263d49; border-radius: 0; box-shadow: none; }
.hgc-panel .roster-card { padding: 13px 16px; border: 0; border-radius: 0; box-shadow: none; }
.hgc-panel .roster-card h2 { font-size: 16px; }
.hgc-panel .roster-card .muted { margin: 5px 0 10px; }
.hgc-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.reopen-game-center { margin-top: 10px; }

@media (max-width: 760px) {
  .hockey-game-dialog { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .hgc-center { min-height: 100dvh; padding: calc(13px + env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
  .hgc-header h2 { font-size: 22px; }
  .hgc-close { min-height: 42px; padding: 7px 10px; font-size: 10px; }
  .hgc-match-meta { margin-top: 11px; padding-bottom: 8px; font-size: 9px; }
  .hgc-scoreboard-slot .scoreboard { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); gap: 7px; padding: 13px 6px; }
  .hgc-scoreboard-slot .team-score { min-width: 0; }
  .hgc-scoreboard-slot .team-score strong { font-size: 15px; line-height: 1.2; }
  .hgc-scoreboard-slot .team-score .muted { font-size: 8px; line-height: 1.3; }
  .hgc-scoreboard-slot .team-label { font-size: 8px; letter-spacing: .08em; }
  .hgc-scoreboard-slot .scoreline { font-size: 42px; }
  .hgc-scoreboard-slot .scoreline i { padding-inline: 3px; font-size: 24px; }
  .hgc-scoreboard-slot .game-status { margin-top: 3px; font-size: 8px; line-height: 1.3; }
  .hgc-presentation { grid-template-columns: 1fr; gap: 9px; }
  .hgc-rink-pane { padding: 9px; }
  .hgc-rink-pane .rink-card-heading { margin-bottom: 7px; }
  .hgc-rink-pane .rink-card-heading h3 { font-size: 13px; }
  .hgc-rink-pane .rink-clock { font-size: 7px; }
  .hgc-rink-pane .rink-key { margin-top: 6px; font-size: 7px; }
  .hgc-rink-pane .rink-key span:last-child { display: inline-flex; }
  .hgc-rink-pane .hockey-rink { max-height: 190px; }
  .hgc-latest { min-height: 105px; padding: 11px 13px; }
  .hgc-latest .rink-now { grid-template-columns: 73px minmax(0, 1fr); gap: 8px; }
  .hgc-latest .rink-action { font-size: 7px; }
  .hgc-latest .rink-now-copy strong { font-size: 14px; }
  .hgc-latest .rink-now-copy p { display: -webkit-box; max-height: 3.1em; margin-top: 3px; overflow: hidden; font-size: 9px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .hgc-control-dock { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-inline: -12px; padding: 9px max(12px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); border-top: 1px solid #314854; background: #0b1923f5; box-shadow: 0 -6px 20px #0004; }
  .hgc-playback-controls { gap: 6px; }
  .hgc-button.hgc-primary { min-width: 68px; padding-inline: 9px; font-size: 10px; }
  .hgc-speeds { padding: 2px; }
  .hgc-speeds span { display: none; }
  .hgc-speeds button { min-width: 35px; min-height: 36px; font-size: 10px; }
  .hgc-finish, .hgc-continue { min-height: 41px; padding-inline: 10px; font-size: 10px; }
  .hgc-tabs button { min-height: 46px; font-size: 10px; }
  .hgc-panel .play-feed { max-height: 32dvh; }
  .hgc-panel .play-feed li { grid-template-columns: 37px 48px minmax(0, 1fr); gap: 5px; padding: 9px 7px; }
  .hgc-panel .play-copy { font-size: 9px; }
}
@media (max-width: 365px) {
  .hgc-center { padding-inline: 9px; }
  .hgc-header h2 { font-size: 20px; }
  .hgc-close { padding-inline: 7px; }
  .hgc-scoreboard-slot .scoreboard { grid-template-columns: minmax(0, 1fr) 63px minmax(0, 1fr); gap: 4px; }
  .hgc-scoreboard-slot .team-score strong { font-size: 13px; }
  .hgc-scoreboard-slot .scoreline { font-size: 37px; }
  .hgc-speeds button { min-width: 31px; }
  .hgc-control-dock { margin-inline: -9px; padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) { .hgc-center *, .hgc-center *::before, .hgc-center *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

