/* The live shot-quality chart sits above the right-panel tabs. */
.hockey-live-page .hlive-under-hud{margin-top:10px}
.hockey-live-page .hlive-under-hud>.hlive-panel{min-width:0;margin:0}
.hockey-live-page .hlive-under-hud .hlive-research-body{padding:14px;overflow:hidden}
.hockey-live-page .hlive-xg{min-height:350px}
.hockey-live-page .hlive-xg-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hlive-xg-heading select{max-width:155px;min-height:32px;padding:5px 25px 5px 8px;border:1px solid #414141;border-radius:6px;background:#141414;color:#ddd;font:11px ui-monospace,monospace;color-scheme:dark}
.hlive-xg-heading select:focus-visible{outline:2px solid #eee;outline-offset:2px}
.hlive-xg-body{padding:14px 12px 10px}
.hlive-xg-score{display:flex;justify-content:center;align-items:center;gap:20px;margin-bottom:10px;min-height:38px}
.hlive-xg-team{display:flex;align-items:center;gap:8px;color:var(--xg-team);font:700 11px ui-monospace,monospace}
.hlive-xg-team img{width:30px;height:30px;object-fit:contain}
.hlive-xg-team i{width:8px;height:8px;border-radius:50%;background:var(--xg-team)}
.hlive-xg-team strong{font:700 clamp(18px,2.2vw,30px) ui-monospace,monospace;letter-spacing:-.04em}
.hlive-xg-separator{color:#777;font-size:18px}
.hlive-xg-chart{display:block;width:100%;height:auto;overflow:visible}
.hlive-xg-grid line{stroke:#333;stroke-width:1;stroke-dasharray:2 5}
.hlive-xg-grid text,.hlive-xg-axis-title{fill:#a4a4a4;font:11px ui-monospace,monospace}
.hlive-xg-period line{stroke:#777;stroke-dasharray:4 5;stroke-width:1}
.hlive-xg-period text{fill:#969696;font:10px ui-monospace,monospace}
.hlive-xg-series>path{fill:none;stroke:var(--xg-team);stroke-width:2.5;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.hlive-xg-series.is-partial>path{stroke-dasharray:5 3}
.hlive-xg-point{cursor:pointer;outline:none}
.hlive-xg-point .hlive-xg-hit{fill:transparent;stroke:none}
.hlive-xg-point .hlive-xg-dot{fill:var(--xg-team);stroke:#111;stroke-width:1}
.hlive-xg-point.is-goal .hlive-xg-dot{fill:#151515;stroke:var(--xg-team);stroke-width:2}
.hlive-xg-point text{fill:var(--xg-team);font:700 10px ui-monospace,monospace}
.hlive-xg-point:hover .hlive-xg-dot,.hlive-xg-point:focus-visible .hlive-xg-dot{stroke:#fff;stroke-width:2.5}
.hlive-xg-caption{margin:6px 4px 0;color:#aaa;font:10px/1.6 ui-monospace,monospace}
.hlive-xg-caption small{display:block;color:#777;font:inherit}
.hlive-xg-empty{min-height:265px;padding:25px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#aaa}
.hlive-xg-empty strong{font:700 28px ui-monospace,monospace;color:#ddd}
.hlive-xg-empty p{max-width:300px;font-size:12px;line-height:1.6}
@media(max-width:700px){.hockey-live-page .hlive-xg{min-height:0}.hlive-xg-body{padding:12px 7px}.hlive-xg-team strong{font-size:24px}.hlive-xg-heading select{max-width:145px}.hlive-xg-score{gap:14px}}

#hockeyLive .hlive-xg-compact {
  flex: none;
  min-height: 0;
  border-bottom: 1px solid var(--rink-edge, #334e5c);
  background: #101e29;
}

#hockeyLive .hlive-xg-compact .hlive-xg-heading {
  padding: 7px 10px 4px;
  border-bottom: 0;
}

#hockeyLive .hlive-xg-compact .hlive-xg-heading h2 { margin: 0; }

.hlive-xg-compact .hlive-xg-heading select {
  min-height: 28px;
  max-width: 132px;
  padding: 3px 6px;
  background: #0a151f;
}

.hlive-xg-compact .hlive-xg-body { padding: 0 8px 6px; }
.hlive-xg-compact .hlive-xg-score { gap: 10px; min-height: 30px; margin-bottom: 0; }
.hlive-xg-compact .hlive-xg-team img { width: 20px; height: 20px; }
#hockeyLive .hlive-xg-compact .hlive-xg-team strong { font-size: clamp(18px, 1.8vw, 25px); }
.hlive-xg-compact .hlive-xg-chart { max-height: clamp(104px, 19vh, 174px); }
.hlive-xg-compact .hlive-xg-caption { margin: 0 3px; }

.hlive-xg-compact .hlive-xg-empty { min-height: 0; padding: 3px 10px 9px; }
.hlive-xg-compact .hlive-xg-empty strong { font-size: 17px; }
.hlive-xg-compact .hlive-xg-empty p { margin: 3px 0 0; }

#hockeyGameTotals .hgs-overview:has([data-game-xg][hidden]) .hgs-quick{grid-column:1/-1}

/* Two views of the right-hand NHL tracker share this slot. */
#hockeyLive .hos-switcher { min-width:0; flex:none; background:#101e29; }
#hockeyLive .hos-tabs { display:flex; gap:3px; padding:5px 8px 0; }
#hockeyLive .hos-tabs button,#hockeyLive .hos-zoom button {
  color:#aabecb; background:#11212d; border:1px solid #344955; border-radius:5px;
  min-height:28px; padding:3px 8px; font:600 11px/1.2 system-ui,sans-serif; cursor:pointer;
}
#hockeyLive .hos-tabs [aria-pressed=true] { color:#e2fbf5; background:#203a41; border-color:#678f8b; }
.hos-body { padding:0 6px 8px; min-width:0; container-type:inline-size; }
.hos-tools,.hos-legend,.hos-team,.hos-zoom,.hos-picker { display:flex; align-items:center; gap:6px; }
.hos-tools { justify-content:space-between; margin:3px 3px 2px; }
.hos-legend { flex-wrap:wrap; gap:13px; }
.hos-team { color:#e1e9ed; font:650 12px/1.2 system-ui,sans-serif; gap:4px; }
.hos-logo { width:20px; height:20px; background-size:contain; background-repeat:no-repeat; background-position:center; }
.hos-team i { width:9px; height:9px; background:var(--hos-team); }
.hos-circle { border-radius:50%; }
.hos-square { border-radius:1px; }
#hockeyLive .hos-zoom button { min-width:29px; font-size:16px; padding:1px 4px; }
#hockeyLive .hos-zoom button:disabled { opacity:.4; cursor:default; }
.hos-scroll { max-width:100%; max-height:max(280px,79cqw); overflow:auto; overscroll-behavior:contain; border-radius:4px; }
.hos-plot { display:block; height:auto; max-width:none; }
.hos-for { fill:#142d36; }
.hos-against { fill:#242733; }
.hos-grid { fill:none; stroke:#526271; stroke-width:.8; opacity:.6; }
.hos-ray,.hos-even { fill:none; stroke:#7e8c9c; stroke-width:1; }
.hos-ray { stroke-dasharray:3 4; opacity:.55; }
.hos-even { stroke:#b6c9cf; stroke-width:1.4; }
.hos-share,.hos-ticks,.hos-axis { fill:#b0c2cf; font:11px system-ui,sans-serif; }
.hos-share { font-size:10px; }
.hos-region { fill:#8da8ae; font:600 10.5px system-ui,sans-serif; }
.hos-marker { fill:var(--hos-team); stroke:#0c151b; stroke-width:1.4; outline:none; cursor:pointer; }
.hos-marker:focus-visible,.hos-marker:hover,.hos-marker.is-selected { stroke:#fff; stroke-width:2; }
.hos-marker .hos-hit { fill:transparent; stroke:none; }
.hos-names { pointer-events:none; }
.hos-name { fill:#e6eff2; stroke:#15202a; stroke-width:2.4; paint-order:stroke; font:600 10.6px system-ui,sans-serif; }
.hos-name.is-selected { fill:#fff5c4; }
.hos-picker { margin:1px 3px; color:#afc3cc; font:11px system-ui,sans-serif; }
.hos-picker select { min-width:0; max-width:100%; flex:1; min-height:28px; background:#101d26; color:#e4edef; border:1px solid #3b4c58; border-radius:4px; }
.hos-source,.hos-caption,.hos-detail,.hos-empty { margin:4px 4px 0; color:#a7bdca; font:11px/1.35 system-ui,sans-serif; }
.hos-detail { color:#e3eef2; font-variant-numeric:tabular-nums; }
.hos-source { color:#9aaeb9; overflow-wrap:anywhere; }
.hos-empty { padding:4px 5px 10px; }
@media (max-width:760px) {
  #hockeyLive .hos-tabs button,#hockeyLive .hos-zoom button,.hos-picker select { min-height:32px; }
}

.hos-individual { margin:0 10px 8px; min-width:0; color:#e1e9ed; font:12px/1.4 system-ui,sans-serif; }
.hos-individual summary { cursor:pointer; font-weight:650; }
.hos-shot-list { max-height:12rem; overflow:auto; margin-top:4px; }
.hos-shot-list table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; }
.hos-shot-list th,.hos-shot-list td { padding:3px 5px; text-align:right; }
.hos-shot-list th:first-child { text-align:left; }
.hos-shot-list th[scope=row] { font-weight:450; overflow-wrap:anywhere; }
.hos-shot-list th[scope=rowgroup] { color:#a7bdca; border-top:1px solid #354652; }


#hockeyGoalies{font-family:Georgia,'Times New Roman',serif;color:#d7d9dc;color-scheme:dark;--ink:#d7d9dc;--muted:#a3a6aa;--line:#303236;--green:#9cf2b8;--red:#ffa0b1;--panel:#111213;background:transparent}
#hockeyGoalies *{box-sizing:border-box}
#hockeyGoalies th,#hockeyGoalies td,#hockeyGoalies abbr,#hockeyGoalies .g-name,#hockeyGoalies .g-name a{cursor:default}
.g-metric-tooltip{position:fixed;z-index:10000;max-width:min(390px,calc(100vw - 16px));padding:11px 13px;border:1px solid #4a5a50;border-radius:6px;background:#111a15;color:#e0e9e3;box-shadow:0 8px 28px #0009;font:12px/1.5 Arial,sans-serif;white-space:normal;pointer-events:none}
.g-metric-tooltip[hidden]{display:none}
#hockeyGoalies .g-demo{font:11px/1.4 Arial,sans-serif;color:#9aa59e;margin:0 0 7px;letter-spacing:.3px}
#hockeyGoalies .g-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start}
#hockeyGoalies article{min-width:0;border:1px solid var(--line);background:var(--panel);border-radius:5px;padding:10px 11px 7px}
#hockeyGoalies h2{font-size:31px;letter-spacing:-1px;line-height:1.05;margin:0;font-weight:700;color:#e2e9e4;display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
#hockeyGoalies .g-name.global-tier-highlight{background:transparent!important;background-image:none!important;box-shadow:none!important;text-shadow:none!important}
html[data-highlight-display-mode="off"] #hockeyGoalies .g-name.global-tier-highlight{color:var(--text,#dce6e1)!important}
#hockeyGoalies .g-hand{font-size:15px;letter-spacing:0;color:var(--muted)}
#hockeyGoalies .g-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
#hockeyGoalies button{font-family:inherit;color:inherit;touch-action:manipulation}
#hockeyGoalies .g-full{font-size:11px;color:#b5dac2;border:0;background:none;padding:2px 0;white-space:nowrap;text-decoration:underline}
#hockeyGoalies .g-meta{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:2px 0 8px}
#hockeyGoalies .g-cycle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;padding:3px;border:0;background:none;color:#c2ccc6}
#hockeyGoalies .g-cycle-icon{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border:1px solid #52605a;border-radius:50%;background:#ffffff05}
#hockeyGoalies .g-cycle svg{display:block;width:15px;height:15px}
#hockeyGoalies .g-cycle:hover .g-cycle-icon{border-color:#c1ccc5;background:#ffffff12}
#hockeyGoalies .g-cycle:disabled{opacity:.35;cursor:default}
#hockeyGoalies .g-status.inspecting{color:#c2ccc6}
@media(pointer:coarse){#hockeyGoalies .g-cycle{width:44px;height:44px;padding:11px}#hockeyGoalies .g-meta{gap:0}}
#hockeyGoalies .g-status{font:700 11px/1.3 Georgia,serif;letter-spacing:.4px;background:none;border:0;padding:0}
#hockeyGoalies .g-status.confirmed{color:#88deed}
#hockeyGoalies .g-status.probable{color:#ded7b2}
#hockeyGoalies .g-game-box{margin:0 0 9px;padding:5px 8px;border-inline-start:2px solid var(--line);background:#ffffff06;color:var(--ink);font:12px/1.45 Georgia,serif}
#hockeyGoalies .g-game-box strong{color:var(--muted);font-size:11px;letter-spacing:.2px}
#hockeyGoalies .g-game-box p{margin:0;white-space:pre-line;font-variant-numeric:tabular-nums}
#hockeyGameTotals{--hgs-line:#303236;--hgs-muted:#a3a6aa;margin:14px 0 18px;font:13px/1.4 Georgia,serif;color:#d7d9dc}
#hockeyGameTotals [hidden]{display:none!important}
.hgs-heading,.hgs-heading>div,.hgs-chart .hlive-xg-heading{display:flex;align-items:center;gap:10px}
.hgs-heading,.hgs-chart .hlive-xg-heading{justify-content:space-between}
.hgs-heading{margin:0 0 8px}
#hockeyGameTotals h2,#hockeyGameTotals h3,#hockeyGameTotals p{margin:0}
#hockeyGameTotals h2{font:700 17px/1.25 Georgia,serif;color:#e5e6e8}
#hockeyGameTotals h3{font:700 14px/1.25 Georgia,serif;color:#d7d9dc}
#hockeyGameTotals [data-team-box-state]{color:var(--hgs-muted);font-size:12px}
.hgs-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hgs-card{min-width:0;padding:10px 12px;border:1px solid var(--hgs-line);border-radius:5px;background:#111213}
.hgs-quick>h3{margin-bottom:5px!important}
#hockeyGameTotals table{width:100%;min-width:0;margin:0;background:transparent;font-variant-numeric:tabular-nums;border-collapse:collapse}
#hockeyGameTotals th,#hockeyGameTotals td{padding:4px 6px;text-align:center;border-bottom:1px solid var(--hgs-line)}
#hockeyGameTotals th{font-weight:600}
#hockeyGameTotals tbody th{font-weight:400}
.hgs-quick>[data-game-periods]:not(:empty){margin-top:8px}
#hockeyGameTotals [data-team-box-note],#hockeyGameTotals .hgs-note{color:var(--hgs-muted);font:12px/1.45 system-ui,sans-serif;margin:8px 0 0}
.hgs-chart .hlive-xg{margin:0;padding:0;min-height:0;border:0;background:transparent}
.hgs-chart .hlive-xg-heading span:not(.hlive-sr){color:var(--hgs-muted);font:9px ui-monospace,monospace;letter-spacing:.06em}
.hgs-chart .hlive-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hgs-chart .hlive-xg-body{padding:8px 0 0}
.hgs-chart .hlive-xg-score{min-height:28px;margin-bottom:3px}
.hgs-chart .hlive-xg-team img{width:23px;height:23px}
.hgs-chart .hlive-xg-team strong{font-size:19px}
.hgs-chart .hlive-xg-chart{max-height:240px}
.hgs-chart .hlive-xg-empty{min-height:145px;padding:12px}
.hgs-chart .hlive-xg-point{cursor:default}
.hgs-chart .hlive-xg-caption small{color:var(--hgs-muted)}
#hockeyGameTotals button,.hgs-filters select{min-height:32px;padding:4px 9px;border:1px solid var(--hgs-line);border-radius:4px;background:#16181a;color:#d7d9dc;font:600 12px/1.25 system-ui,sans-serif;cursor:pointer}
#hockeyGameTotals button:hover,#hockeyGameTotals button[aria-expanded="true"]{background:#202325;border-color:#666e71}
#hockeyGameTotals :is(button,select,[tabindex]):focus-visible{outline:2px solid #b8c7c7;outline-offset:2px}
.hgs-detail{margin-top:10px}
.hgs-tabs{display:flex;flex-wrap:wrap;gap:3px;padding:3px 3px 0;border-bottom:1px solid var(--hgs-line)}
#hockeyGameTotals .hgs-tabs button{flex:0 0 auto;border:0;border-radius:3px 3px 0 0;border-bottom:2px solid transparent;background:transparent;color:var(--hgs-muted);white-space:nowrap}
#hockeyGameTotals .hgs-tabs button[aria-selected="true"]{color:#edf0f0;border-bottom-color:#a5b8b8;background:#1d2122}
#hockeyGameStatsPane{padding-top:8px}
#hockeyGameStatsPane h3{margin:8px 0 4px}
#hockeyGameStatsPane h3:not(:first-child){margin-top:14px}
.hgs-scroll{max-width:100%;max-height:420px;overflow:auto;scrollbar-width:thin}
.hgs-scroll thead{position:sticky;top:0;background:#17191b;z-index:1}
#hockeyGameTotals .hgs-scroll :is(th,td){white-space:nowrap}
#hockeyGameStatsPane tbody th,#hockeyGameStatsPane thead th:first-child{text-align:left}
#hockeyGameStatsPane :is(th,td){overflow-wrap:anywhere}
.hgs-stat-label{display:none}
@media(max-width:820px){
  #hockeyGameStatsPane :is(th,td){padding:4px 3px}
  .hgs-player-table,.hgs-player-table tbody{display:block}
  .hgs-player-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .hgs-player-table tbody tr{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(3.8rem,1fr));gap:4px 6px;
    padding:7px 3px;border-bottom:1px solid var(--hgs-line)
  }
  #hockeyGameStatsPane .hgs-player-table tbody :is(th,td){padding:1px 0;border:0;text-align:left}
  #hockeyGameStatsPane .hgs-player-table tbody th{grid-column:1/-1;font-weight:600}
  .hgs-stat-label{display:inline;margin-right:4px;color:var(--hgs-muted);font-size:11px}
}
.hgs-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 8px;color:var(--hgs-muted);font:11px system-ui,sans-serif}
.hgs-filters select{margin-left:5px;max-width:190px;color-scheme:dark}
@media(max-width:700px){
  .hgs-overview{grid-template-columns:minmax(0,1fr);gap:8px}
  .hgs-card{padding:8px 9px}
  .hgs-chart .hlive-xg-chart{max-height:none}
  #hockeyGameTotals button,.hgs-filters select{min-height:36px}
}
#hockeyGoalies .g-controls{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;margin:0 0 12px;min-height:40px}
#hockeyGoalies .g-venues{display:flex;gap:4px;border:1px solid #284c36;border-radius:28px;padding:3px}
#hockeyGoalies .g-venues button{background:#191a1c;border:1px solid #44474b;border-radius:20px;padding:8px 9px;font-size:11px;font-weight:700;letter-spacing:.4px;text-transform:uppercase}
#hockeyGoalies .g-venues button.negative{border-color:#70414b;background:#301b20;color:#ffb5c2}
#hockeyGoalies .g-venues button.positive{color:#a6f1bc;background:#113420}
#hockeyGoalies .g-venues button[aria-pressed=true]{color:#dcffe5;border-color:#e2ffed;box-shadow:0 0 3px 2px #8affa998,0 0 12px #63eb9570}
#hockeyGoalies .g-extra{justify-self:center;display:flex;align-items:center;justify-content:center;width:33px;height:40px;border:1px solid #44474b;background:#191a1c;border-radius:7px;color:var(--muted)}
#hockeyGoalies .g-extra[aria-expanded=true]{color:#f1f2f3;border-color:#b9bdc2;background:#26282b}
#hockeyGoalies .g-slider{position:relative;display:grid;grid-template-columns:repeat(5,1fr);width:135px;touch-action:pan-y;user-select:none;gap:0}
#hockeyGoalies .g-track{position:absolute;left:12px;right:12px;top:12px;height:1px;background:#7a8c80}
#hockeyGoalies .g-slider button{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:7px 2px 4px;background:transparent;border:1px solid transparent;border-radius:4px;font-size:11px;color:#c8d2cc}
#hockeyGoalies .g-dot{display:block;width:8px;height:8px;border-radius:50%;background:#9ba99f;box-shadow:0 0 0 1px #000,0 0 4px #bccfc433}
#hockeyGoalies .g-slider button.positive .g-dot{background:#b2f3c7;box-shadow:0 0 0 1px #000,0 0 6px #65e899}
#hockeyGoalies .g-slider button.negative .g-dot{background:#ffb0c0;box-shadow:0 0 0 1px #000,0 0 6px #ee7d95}
#hockeyGoalies .g-slider button[aria-pressed=true],#hockeyGoalies .g-slider button.scrub{border-color:#e9fff0;box-shadow:0 0 6px #d4ffdfa0;background:#caffdf15}
#hockeyGoalies .g-scroll{overflow-x:auto;max-width:100%}
#hockeyGoalies table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}
#hockeyGoalies .g-comparison{width:100%;min-width:0}
#hockeyGoalies .g-comparison th,#hockeyGoalies .g-comparison td{white-space:normal;overflow-wrap:anywhere;letter-spacing:0;padding:5px 3px}
#hockeyGoalies .g-comparison th:first-child{width:19%}
#hockeyGoalies .g-comparison thead small{display:block;font:9px/1.3 Arial,sans-serif;text-transform:none;letter-spacing:0;margin-top:3px}
#hockeyGoalies .g-comparison .g-expected-toggle{display:block;width:100%;padding:0;border:0;background:transparent;box-shadow:none;color:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;white-space:nowrap;cursor:inherit}
#hockeyGoalies .g-comparison thead .g-expected-toggle{white-space:normal}
#hockeyGoalies .g-scope{font:11px/1.4 Georgia,serif;color:#99a89e;margin:4px 0}
#hockeyGoalies th,#hockeyGoalies td{border-bottom:1px solid #293b30;padding:3px 4px;text-align:center;font-size:12px;white-space:nowrap}
#hockeyGoalies thead th{font-size:11px;white-space:normal;text-transform:uppercase;letter-spacing:.25px;font-weight:600;color:#a9b6ad;padding-top:0;padding-bottom:5px}
#hockeyGoalies th:first-child{width:19%;text-align:left;padding-left:1px}
#hockeyGoalies tbody th{font-size:11px;font-weight:700;letter-spacing:.5px}
#hockeyGoalies td{font-weight:700;letter-spacing:.4px}
#hockeyGoalies td.positive{background:#153623;color:#aeffcc;box-shadow:inset 3px 0 #46dc7b}
#hockeyGoalies td.negative{background:#3d242b;color:#ff9baf;box-shadow:inset 3px 0 #e3657d}
#hockeyGoalies td.neutral{background:#ffffff06;color:#d2dbd5}
/* Qualified control ranks use the same tiers as the statistic cells. Keep
   text inside the existing controls quiet; the dot inherits its tier color. */
#hockeyGoalies .g-controls .global-tier-highlight{background:transparent!important;background-image:none!important;box-shadow:none!important;text-shadow:none!important}
#hockeyGoalies .g-slider .g-dot.global-tier-highlight{background:currentColor!important;box-shadow:0 0 0 1px #000!important}
html[data-highlight-display-mode="text-only"] #hockeyGoalies .g-slider .g-dot.global-tier-highlight,
html[data-highlight-display-mode="off"] #hockeyGoalies .g-slider .g-dot.global-tier-highlight{background:var(--muted,#a0afa5)!important;box-shadow:none!important}
html[data-highlight-display-mode="off"] #hockeyGoalies .g-slider .g-dot.global-tier-highlight{color:var(--muted,#a0afa5)!important;filter:none!important}
/* Keep shared spectrum tiers quiet when the page's display mode is Off. */
html[data-highlight-display-mode="off"] #hockeyGoalies td.global-tier-highlight{color:var(--text,#dce6e1)!important;background:transparent!important;background-image:none!important;box-shadow:none!important;text-shadow:none!important;filter:none!important}
#hockeyGoalies .g-sample{font:11px/1.4 Georgia,serif;color:#99a89e;margin:7px 0 0}
#hockeyGoalies .g-panel{border-top:1px solid #3c5243;margin-top:10px;padding-top:10px}
#hockeyGoalies [hidden]{display:none!important}
#hockeyGoalies .g-panel-head{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:8px}
#hockeyGoalies .g-panel-head h3{font-size:14px;margin:0;color:#d1e2d7}
#hockeyGoalies .g-close{font-size:12px;background:#18241c;border:1px solid #586b5e;border-radius:3px;padding:3px 8px}
#hockeyGoalies .g-panel p{font-size:12px;color:#bbc7bf;margin:5px 0 10px;line-height:1.5}
#hockeyGoalies .g-evidence-source span{display:block}
#hockeyGoalies .g-panel ul{font-size:12px;line-height:1.5;padding-left:18px;margin:7px 0}
#hockeyGoalies .g-panel table{table-layout:auto}
#hockeyGoalies .g-panel th,#hockeyGoalies .g-panel td{font-size:11px;letter-spacing:0;white-space:normal}
#hockeyGoalies .g-panel th:first-child{width:auto;min-width:110px}
#hockeyGoalies .g-panel details{border-top:1px solid var(--line);padding:9px 0 1px}
#hockeyGoalies summary{font-size:12px;color:#c7d8ce}
@media(max-width:760px){#hockeyGoalies .g-pair{grid-template-columns:1fr}}
@media(max-width:390px){#hockeyGoalies article{padding:9px 7px}#hockeyGoalies h2{font-size:28px}#hockeyGoalies .g-controls{gap:5px}#hockeyGoalies .g-venues{gap:2px;padding:2px}#hockeyGoalies .g-venues button{padding:8px 6px}#hockeyGoalies .g-slider{width:115px}#hockeyGoalies td{font-size:11px}#hockeyGoalies .g-extra{width:28px}}
@media(pointer:coarse){#hockeyGoalies .g-controls{grid-template-columns:1fr auto}#hockeyGoalies .g-slider{grid-column:1 / -1;justify-self:end;width:230px}#hockeyGoalies .g-slider button{min-height:44px}#hockeyGoalies .g-venues button,#hockeyGoalies .g-extra,#hockeyGoalies summary,#hockeyGoalies .g-close{min-height:44px}#hockeyGoalies .g-extra{min-width:44px}}

.hockey-game-shell{max-width:1180px;margin:28px auto;padding:0 16px}.hockey-context,.hockey-coverage{color:#aab5ad;font-size:13px;line-height:1.5}.hockey-game-shell h1{font-family:Georgia,serif;font-size:28px}.hockey-game-page{background:#090e0b;color:#d7e1da}.hockey-game-shell a{color:#b8d8c3}#hockeyGoalies{margin-top:20px}#hockeyGoalies .g-team{font-size:11px;color:#a0afa5;margin:0 0 8px;text-transform:uppercase;letter-spacing:.5px}#hockeyGoalies .g-x{font-size:25px;font-style:italic;line-height:1}#hockeyGoalies .g-inspect{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;margin-bottom:8px}#hockeyGoalies select{max-width:100%;background:#15251b;color:inherit;border:1px solid #52695a;padding:6px}#hockeyGoalies abbr{text-decoration:none}#hockeyGoalies button{cursor:pointer}#hockeyGoalies button:focus-visible{outline:2px solid #b9edcc;outline-offset:3px}
.hockey-game-shell{min-width:0}
.hockey-game-shell [hidden]{display:none!important}
.hockey-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hockey-matchup{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,1fr) minmax(0,1fr);gap:24px;align-items:center;min-height:175px;padding:20px 28px;border:1px solid #294334;border-radius:8px;background:radial-gradient(ellipse at center,#18342655,transparent 65%),#0c1510;box-shadow:inset 0 1px #90d3ac0d}
.hockey-team{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;min-width:0}
.hockey-team img{width:72px;height:72px;object-fit:contain}
.hockey-team strong{font:700 clamp(17px,2vw,25px)/1.15 Georgia,serif;overflow-wrap:anywhere;color:#e2eee7}
.hockey-team>span{font:10px/1.3 Arial,sans-serif;text-transform:uppercase;letter-spacing:1px;color:#92a79a}
.hockey-matchup-center{text-align:center;min-width:0}
.hockey-matchup-center p{margin:5px 0;font-size:12px;color:#a7bdae;overflow-wrap:anywhere}
#hockeyVenue{font-size:13px;color:#e1ebe4}
/* Use the same floating arrows and responsive placement as baseball in styles.css. */
.hockey-game-navigation{display:block;height:0;min-height:0;margin:0;padding:0;border:0;overflow:visible}
.hockey-game-page [aria-disabled=true]{opacity:.3;cursor:default!important;pointer-events:none}
@media(max-width:760px){.hockey-game-shell{margin-top:16px}.hockey-matchup{grid-template-columns:minmax(0,1fr) minmax(95px,.9fr) minmax(0,1fr);padding:15px 10px;gap:9px}.hockey-team img{width:54px;height:54px}.hockey-team strong{font-size:17px}.hockey-matchup-center p{font-size:11px}#hockeyVenue{font-size:11px}}
@media(max-width:420px){.hockey-game-shell{padding:0 10px}.hockey-team strong{font-size:15px}.hockey-game-page #bb-site-clock time,.hockey-game-page #bb-site-clock .bb-clock-date,.hockey-game-page #bb-site-clock [data-period]{font-size:15px}.hockey-game-page .bb-top-brand{font-size:.64rem!important;letter-spacing:.06em!important}.hockey-game-page .bb-top-brand::before{width:21px;height:21px}.hockey-game-page .bb-top-header{padding-left:10px!important;padding-right:10px!important}}
#hockeyGoalies .g-history-trigger{border:1px solid #52605a;border-radius:4px;background:#ffffff08;color:#c8d0cb;font:16px/1 Georgia,serif;min-width:28px;min-height:28px;padding:4px;align-self:center}
#hockeyGoalies .g-history-trigger[aria-expanded=true]{background:#ffffff18;border-color:#c1ccc5}
#hockeyGoalies .g-history-player{font-weight:700}
#hockeyGoalies .g-history-filter{display:inline-flex;align-items:center;gap:8px;font-size:12px;margin:4px 0 10px;max-width:100%}
#hockeyGoalies .g-history-scroll{overflow:auto;max-width:100%;overscroll-behavior-x:contain;margin:6px 0 10px}
#hockeyGoalies .g-history-table{display:block;min-width:548px;width:100%;--g-history-columns:162px 112px 22px 32px repeat(4,52px)}
#hockeyGoalies .g-history-table thead,#hockeyGoalies .g-history-table tbody{display:block}
#hockeyGoalies .g-history-table tr{display:grid;grid-template-columns:var(--g-history-columns);width:536px;min-height:28px}
#hockeyGoalies .g-history-table th,#hockeyGoalies .g-history-table td{width:auto;min-width:0;max-width:100%;padding:5px 3px;font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-color:#ffffff15;cursor:default}
#hockeyGoalies .g-history-table abbr{cursor:inherit}
#hockeyGoalies .g-history-table .g-history-decision{width:22px;min-width:22px;max-width:22px;padding-right:2px;padding-left:2px;text-align:center}
#hockeyGoalies .g-history-table th:first-child{min-width:0;padding-left:4px;position:sticky;left:0;background:var(--panel);z-index:1}
#hockeyGoalies .g-history-table thead th{color:#c1c8c3;background:#ffffff07;font-weight:700}
#hockeyGoalies .g-history-table .g-history-seasons{max-height:84px;overflow-y:auto;scrollbar-width:thin;scrollbar-gutter:stable;touch-action:pan-y}
#hockeyGoalies .g-history-table .g-history-section{border-top:1px solid #9ba69f;background:#ffffff0b;margin-top:8px}
#hockeyGoalies .g-history-table .g-history-section th{white-space:normal;font-weight:700;font-size:10px;line-height:1.3;background:#1c1d1f}
#hockeyGoalies .g-history-table .g-history-section td{font-weight:700}
#hockeyGoalies .g-history-table button{font-size:11px;border:0;background:none;padding:0;color:#d7e1da;text-decoration:underline;text-underline-offset:3px}
#hockeyGoalies .g-history-score{display:inline-flex;align-items:center;gap:4px;margin-left:10px;min-width:3.5ch;justify-content:center;font-variant-numeric:tabular-nums;font-weight:400;white-space:nowrap}
#hockeyGoalies .g-history-result{display:inline-flex;justify-content:center;min-width:3.5ch}
#hockeyGoalies .g-history-goalie-ga{font-weight:400}
#hockeyGoalies .g-history-score strong{font-weight:600}
#hockeyGoalies .g-history-table label{font-size:10px;cursor:pointer}
#hockeyGoalies .g-history-table input{vertical-align:middle;margin:0 3px 0 0;accent-color:#d3d9d5}
#hockeyGoalies .g-history-archive-toggle,#hockeyGoalies .g-history-pages button{padding:6px 9px;border:1px solid #52605a;border-radius:4px;background:#ffffff08;color:#d7e1da;font-size:12px}
#hockeyGoalies .g-history-archive-toggle{display:block;margin:10px 0}
#hockeyGoalies .g-history-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;margin:8px 0}
#hockeyGoalies .g-history-pages button:disabled{opacity:.4;cursor:default}
#hockeyGoalies .g-history-detail{border:1px solid #52605a;padding:9px;margin-top:12px}
#hockeyGoalies .g-history-scroll:focus-visible,#hockeyGoalies .g-history-seasons:focus-visible{outline:2px solid #b9edcc;outline-offset:2px}
@media(pointer:coarse){#hockeyGoalies .g-history-trigger{min-width:44px;min-height:44px}#hockeyGoalies .g-history-pages button,#hockeyGoalies .g-history-archive-toggle{min-height:44px}}

/* Game research uses the baseball module chrome and numeric typography.
   Detailed history panels and live views retain their existing layouts. */
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies{font-family:inherit}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies article{background:var(--panel);border-color:#303236;border-radius:4px;padding:7px 9px}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies h2{font-size:2rem;font-weight:900;line-height:1;letter-spacing:0}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison{background:transparent;font-size:.63rem;line-height:1}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison th,.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison td{padding:3px 4px;border-bottom-color:var(--border)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison thead th{color:#8a9690;font-size:.5rem;font-weight:700;letter-spacing:.025em}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison tbody th{color:var(--text);font-size:.59rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison tbody td{font-family:var(--bb-font-data,monospace);font-size:.63rem;font-weight:800;letter-spacing:0;text-align:right}
@media(max-width:620px){.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies article{padding:7px}.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison{font-size:.61rem}.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison tbody td{font-size:.78rem}}

#hockeyGoalies .g-card-notes{margin:6px 0 0;color:var(--muted)}
#hockeyGoalies .g-card-notes>summary{font-size:11px;color:var(--muted);cursor:pointer;width:fit-content}
#hockeyGoalies .g-card-notes>summary:focus-visible{outline:2px solid #b9edcc;outline-offset:3px}
#hockeyGoalies .g-card-notes-body{padding-top:3px}
#hockeyGoalies .g-expected-sample{display:inline;margin-left:3px;font-size:8px;line-height:1;font-weight:500;vertical-align:super;white-space:nowrap;opacity:.8}

.hockey-module-heading{margin:20px 0 8px;color:var(--white);font-family:inherit;font-size:var(--game-module-heading-size,1rem);font-weight:900;line-height:1.1;letter-spacing:0;text-transform:uppercase}
#hockeyTeamStats{--panel:#111213;--bg-soft:#191a1c;--border:#303236;margin:20px 0 24px;color:var(--text);font-family:inherit;font-size:.63rem;line-height:1.4}
#hockeyTeamStats *{box-sizing:border-box}
#hockeyTeamStats,#hockeyTeamStats .ht-table{-webkit-text-size-adjust:100%;text-size-adjust:100%}
#hockeyTeamStats .ht-context{color:var(--muted);font-size:.63rem}
#hockeyTeamStats .ht-context p{margin:4px 0}
#hockeyTeamStats .ht-module{margin:0 0 12px}
#hockeyTeamStats .ht-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
#hockeyTeamStats .ht-history-status{display:flex;align-items:center;gap:8px;margin:0 0 6px;color:var(--muted);font:11px/1.4 Arial,sans-serif}
#hockeyTeamStats .ht-history-status button{min-height:28px;padding:3px 8px;border:1px solid var(--border);border-radius:3px;background:var(--bg-soft);color:var(--text);font:inherit;cursor:pointer}
/* Shared offense/data-table classes supply the baseball module design. */
#hockeyTeamStats .ht-team{min-width:0;padding:7px 9px;background:var(--panel);border:1px solid var(--border);border-radius:4px}
#hockeyTeamStats h3{margin:0 0 4px;color:var(--white);font-family:inherit;font-size:16px;font-size:min(var(--game-module-heading-size,1rem),16px);font-weight:900;line-height:1.1;letter-spacing:0;text-transform:uppercase}
#hockeyTeamStats h3 span{display:block;margin:0 0 2px;color:var(--muted);font-size:8px;font-size:min(.49rem,8px);font-weight:700;letter-spacing:.055em;text-transform:uppercase}
#hockeyTeamStats .ht-team-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:nowrap;margin-bottom:5px}
#hockeyTeamStats .ht-team-heading h3{flex:1 1 auto;min-width:0;margin:0;overflow-wrap:anywhere}
#hockeyTeamStats .ht-controls{display:flex;align-items:flex-start;justify-content:flex-end;gap:5px;margin-left:auto;flex:0 0 auto;max-width:100%}
#hockeyTeamStats .ht-control-actions{display:grid;grid-template-columns:1fr;grid-template-rows:36px 18px;justify-items:center;align-items:center;flex:0 0 50px;width:50px;min-width:50px}

/* Match the baseball offense switch without its mirrored/mobile label rules. */
#hockeyTeamStats .ht-timeframe{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:2px;padding:2px;background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius-sm);white-space:nowrap}
#hockeyTeamStats .ht-timeframe button{appearance:none;min-width:32px;min-height:30px;margin:0;padding:4px 9px;border:1px solid transparent;border-color:rgba(160,172,166,.28);border-radius:3px;background:rgba(145,157,151,.10);color:rgba(224,231,227,.82);font:inherit;font-size:11px;font-size:min(.67rem,11px);font-weight:800;line-height:1.5;cursor:pointer;transition:color 150ms ease,background 150ms ease,border-color 150ms ease,box-shadow 150ms ease,filter 150ms ease,transform 150ms ease}
#hockeyTeamStats .ht-timeframe button[aria-pressed="true"]{font-weight:900;filter:brightness(1.20);transform:translateY(-1px);outline:1px solid currentColor;outline-offset:-1px;box-shadow:0 0 10px currentColor}
#hockeyTeamStats .ht-timeframe button:hover,#hockeyTeamStats .ht-timeframe button:focus-visible{filter:brightness(1.16);outline:1px solid currentColor;outline-offset:-1px}
#hockeyTeamStats .ht-timeframe button:focus-visible,#hockeyTeamStats .ht-scope-toggle:focus-visible{outline:1px solid #fff;outline-offset:2px}
#hockeyGoalieTooltip.g-metric-tooltip.is-team-warning{color:#ffe16a!important}
/* The shared engine supplies the same cumulative offense tiers as baseball. */
#hockeyTeamStats .ht-timeframe button.offense-signal-strong-positive{color:#79ffac!important;background-color:rgba(57,255,136,.20)!important;border-color:rgba(57,255,136,.56)!important}
#hockeyTeamStats .ht-timeframe button.offense-signal-positive{color:#b3f5c9!important;background-color:rgba(57,255,136,.09)!important;border-color:rgba(57,255,136,.30)!important}
#hockeyTeamStats .ht-timeframe button.offense-signal-neutral{color:rgba(224,231,227,.82)!important;background-color:rgba(145,157,151,.10)!important;border-color:rgba(160,172,166,.28)!important}
#hockeyTeamStats .ht-timeframe button.offense-signal-negative{color:#ffadb8!important;background-color:rgba(255,97,117,.09)!important;border-color:rgba(255,97,117,.30)!important}
#hockeyTeamStats .ht-timeframe button.offense-signal-strong-negative{color:#ff7185!important;background-color:rgba(255,97,117,.20)!important;border-color:rgba(255,97,117,.58)!important}
html[data-highlight-neutral="spectrum"] #hockeyTeamStats .ht-timeframe button.offense-signal-strong-positive{color:#79ffac!important;background-color:rgba(57,255,136,.20)!important;border-color:rgba(57,255,136,.56)!important}
html[data-highlight-neutral="spectrum"] #hockeyTeamStats .ht-timeframe button.offense-signal-positive{color:#d8f77d!important;background-color:rgba(185,235,73,.13)!important;border-color:rgba(185,235,73,.38)!important}
html[data-highlight-neutral="spectrum"] #hockeyTeamStats .ht-timeframe button.offense-signal-neutral{color:#ffe06e!important;background-color:rgba(255,210,65,.13)!important;border-color:rgba(255,210,65,.38)!important}
html[data-highlight-neutral="spectrum"] #hockeyTeamStats .ht-timeframe button.offense-signal-negative{color:#ffad5d!important;background-color:rgba(255,137,48,.14)!important;border-color:rgba(255,137,48,.40)!important}
html[data-highlight-neutral="spectrum"] #hockeyTeamStats .ht-timeframe button.offense-signal-strong-negative{color:#ff7185!important;background-color:rgba(255,71,96,.20)!important;border-color:rgba(255,71,96,.56)!important}
#hockeyTeamStats .ht-custom{display:inline-flex;align-items:center;align-self:center;gap:0;height:20px;min-height:20px;margin:0;margin-left:2px;padding:0 3px;background:#000;border:1px solid var(--border);border-color:rgba(150,177,164,.08);border-radius:4px;color:rgba(184,204,194,.32);opacity:.44;transition:opacity 120ms ease,border-color 120ms ease,color 120ms ease}
#hockeyTeamStats .ht-custom input{appearance:textfield;-moz-appearance:textfield;width:20px;min-width:20px;margin:0;padding:0;border:0!important;background:transparent!important;color:inherit;font:inherit;font-size:8px;font-size:min(.48rem,8px);font-weight:720;line-height:1;text-align:right;box-shadow:none;outline:0}
#hockeyTeamStats .ht-custom input::-webkit-inner-spin-button,#hockeyTeamStats .ht-custom input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#hockeyTeamStats .ht-custom:hover,#hockeyTeamStats .ht-custom:focus-within,#hockeyTeamStats .ht-custom.is-active{border-color:rgba(210,225,217,.24);color:rgba(226,237,231,.72);opacity:.92}
#hockeyTeamStats .ht-custom:has(input[aria-invalid="true"]){border-color:#b95d67}
#hockeyTeamStats .ht-scope-toggle{display:inline-grid;place-items:center;flex:0 0 28px;width:28px;min-width:28px;height:30px;margin:0;padding:0;border:0;border-radius:3px;background:transparent;color:var(--muted);cursor:pointer;transition:color 150ms ease,background 150ms ease}
#hockeyTeamStats .ht-scope-toggle svg{display:block;width:16px;height:16px}
#hockeyTeamStats .ht-scope-toggle:hover,#hockeyTeamStats .ht-scope-toggle.is-isolated{color:var(--white);background:transparent}
#hockeyTeamStats .ht-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:3px}
#hockeyTeamStats .ht-table-wrap:focus-visible{outline:2px solid #ccc;outline-offset:3px}
#hockeyTeamStats .ht-table{width:100%;min-width:420px;margin:0;border-collapse:collapse;table-layout:fixed;background:transparent;color:var(--white);font-family:inherit;font-size:10.5px;font-size:min(.63rem,10.5px);line-height:1;font-variant-numeric:tabular-nums}
#hockeyTeamStats .ht-stat-column{width:20%}
#hockeyTeamStats .ht-value-column{width:11%}
#hockeyTeamStats .ht-rank-column{width:5%}
#hockeyTeamStats .ht-table th,#hockeyTeamStats .ht-table td{width:auto;min-width:0;max-width:none;padding:3px 4px;text-align:right;vertical-align:middle;border:0;border-bottom:1px solid var(--border);white-space:nowrap}
#hockeyTeamStats .ht-table th,#hockeyTeamStats .ht-table td:not(.global-tier-highlight){background:transparent}
#hockeyTeamStats .ht-table thead th{color:var(--muted);font-size:8px;font-size:clamp(8px,.5rem,9px);font-weight:700;letter-spacing:.025em;text-transform:uppercase;white-space:normal;overflow-wrap:anywhere}
#hockeyTeamStats .ht-table thead tr:first-child th[colspan]{text-align:center}
#hockeyTeamStats .ht-table small{display:block;color:var(--muted);font-size:8px;font-size:clamp(8px,.49rem,9px);font-weight:400;line-height:1.2;letter-spacing:0;margin-top:2px;text-transform:none}
#hockeyTeamStats .ht-table tbody th,#hockeyTeamStats .ht-table thead th[rowspan]{text-align:left;position:sticky;left:0;z-index:1;background:var(--panel)}
#hockeyTeamStats .ht-table tbody th{color:var(--text);font-family:inherit;font-size:10px;font-size:min(.59rem,10px);font-weight:800;line-height:1;letter-spacing:.08em;text-transform:uppercase;white-space:normal;overflow-wrap:anywhere}
/* MLB offense uses identical numeric type for each value/rank pair. */
#hockeyTeamStats .ht-table tbody td{font-family:var(--bb-font-data,monospace);font-size:10.5px;font-size:min(.63rem,10.5px);font-weight:800;letter-spacing:0;-webkit-text-fill-color:currentColor!important}
#hockeyTeamStats .ht-table .ht-value:not(.global-tier-highlight):not(.ht-missing){color:var(--white)}
#hockeyTeamStats .ht-table .ht-rank:not(.global-tier-highlight):not(.ht-missing),#hockeyTeamStats .ht-table .ht-missing{color:var(--muted)}
/* Each value/rank pair shares a tint; one leading bar identifies the ranked value. */
#hockeyTeamStats .ht-table tbody td.global-tier-highlight{background:transparent!important;background-image:none!important;box-shadow:none!important;text-shadow:none!important}
#hockeyTeamStats .ht-table tbody td.ht-value.global-tier-highlight:is(.metric-elite,.metric-good,.metric-average,.metric-poor,.metric-awful){box-shadow:inset 3px 0 0 currentColor!important}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody td.ht-value{padding-left:5px;padding-right:4px;text-align:right}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody td.ht-rank{padding-inline:1px;text-align:center;font-size:9px;font-weight:600}
#hockeyTeamStats .ht-table tbody td.global-tier-highlight.metric-elite{color:#63ff9b!important;background-color:rgba(57,255,136,.16)!important}
#hockeyTeamStats .ht-table tbody td.global-tier-highlight.metric-good{color:#a2f5bf!important;background-color:rgba(57,255,136,.09)!important}
#hockeyTeamStats .ht-table tbody td.global-tier-highlight.metric-average{color:var(--text)!important;background-color:rgba(145,157,151,.08)!important}
#hockeyTeamStats .ht-table tbody td.global-tier-highlight.metric-poor{color:#ffadb8!important;background-color:rgba(255,97,117,.09)!important}
#hockeyTeamStats .ht-table tbody td.global-tier-highlight.metric-awful{color:#ff7184!important;background-color:rgba(255,97,117,.16)!important}
html[data-highlight-neutral="spectrum"] #hockeyTeamStats .ht-table tbody td.global-tier-highlight.metric-elite{color:#79ffac!important;background-color:rgba(57,255,136,.16)!important}
html[data-highlight-neutral="spectrum"] #hockeyTeamStats .ht-table tbody td.global-tier-highlight.metric-good{color:#d8f77d!important;background-color:rgba(185,235,73,.11)!important}
html[data-highlight-neutral="spectrum"] #hockeyTeamStats .ht-table tbody td.global-tier-highlight.metric-average{color:#ffe06e!important;background-color:rgba(255,210,65,.10)!important}
html[data-highlight-neutral="spectrum"] #hockeyTeamStats .ht-table tbody td.global-tier-highlight.metric-poor{color:#ffad5d!important;background-color:rgba(255,137,48,.11)!important}
html[data-highlight-neutral="spectrum"] #hockeyTeamStats .ht-table tbody td.global-tier-highlight.metric-awful{color:#ff7185!important;background-color:rgba(255,71,96,.16)!important}
/* Display preferences always win over both rank cells and cumulative buttons. */
html[data-highlight-display-mode="black-white"] #hockeyTeamStats .global-tier-highlight{filter:grayscale(1) saturate(0)!important}
html[data-highlight-display-mode="text-only"] #hockeyTeamStats .ht-table tbody td.global-tier-highlight:is(.metric-elite,.metric-good,.metric-average,.metric-poor,.metric-awful),
html[data-highlight-display-mode="text-only"] #hockeyTeamStats .ht-timeframe button.global-tier-highlight{background-color:transparent!important;background-image:none!important;border-color:rgba(255,255,255,.12)!important;box-shadow:none!important;text-shadow:none!important;filter:none!important}
html[data-highlight-display-mode="off"] #hockeyTeamStats .ht-table tbody td.global-tier-highlight:is(.metric-elite,.metric-good,.metric-average,.metric-poor,.metric-awful){color:rgba(235,243,239,.84)!important;background-color:transparent!important;background-image:none!important;border-color:rgba(255,255,255,.12)!important;box-shadow:none!important;text-shadow:none!important;filter:none!important}
html[data-highlight-display-mode="off"] #hockeyTeamStats .ht-timeframe button.global-tier-highlight{color:rgba(235,243,239,.82)!important;background-color:transparent!important;background-image:none!important;border-color:rgba(235,243,239,.22)!important;box-shadow:none!important;text-shadow:none!important;filter:none!important}
html[data-highlight-display-mode="off"] #hockeyTeamStats .ht-timeframe button.global-tier-highlight[aria-pressed="true"]{color:#f4f7f5!important;background-color:rgba(244,247,245,.07)!important;border-color:rgba(244,247,245,.46)!important}
#hockeyTeamStats .ht-table tbody tr:last-child>*{border-bottom:0}
#hockeyTeamStats .ht-defense-note{color:var(--muted);font-size:.63rem;margin:0 0 6px}
#hockeyTeamStats .ht-matchup{border-top:1px solid var(--border);margin-top:5px;padding-top:5px;color:var(--muted)}
#hockeyTeamStats .ht-matchup summary{color:var(--text);cursor:pointer;font-size:.57rem;line-height:1.5}
#hockeyTeamStats .ht-matchup summary span{margin-left:6px;color:var(--muted);font-weight:400}
#hockeyTeamStats .ht-matchup p{font-size:.55rem;line-height:1.5;margin:6px 0}
#hockeyTeamStats .ht-history-wrap{overflow:auto;max-height:240px;margin-top:5px;overscroll-behavior:contain}
#hockeyTeamStats .ht-history-table{border-collapse:collapse;width:100%;min-width:390px;font-size:.58rem;font-variant-numeric:tabular-nums}
#hockeyTeamStats .ht-history-table th,#hockeyTeamStats .ht-history-table td{border-bottom:1px solid var(--border);padding:4px;text-align:right;white-space:nowrap}
#hockeyTeamStats .ht-history-table th:first-child{text-align:left}
#hockeyTeamStats .ht-history-table thead th{position:sticky;top:0;background:var(--panel);font-size:.49rem;color:var(--muted);text-transform:uppercase;z-index:1}
#hockeyTeamStats .ht-history-table tbody td{color:var(--text);font-family:var(--bb-font-data,monospace)}
#hockeyTeamStats .ht-method{color:var(--muted);font-size:.63rem;border-top:1px solid var(--border);padding-top:8px}
#hockeyTeamStats .ht-method summary{cursor:pointer;color:var(--text)}
#hockeyTeamStats .ht-method p{max-width:950px;line-height:1.6}
#hockeyTeamStats a{color:var(--text);text-underline-offset:3px}
#hockeyLineupHeading + #hockeyLineups{margin-top:12px}
@media(max-width:1000px){#hockeyTeamStats .ht-pair{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){#hockeyTeamStats .ht-timeframe button{min-width:29px}}
@media(max-width:620px){#hockeyTeamStats .ht-team{padding:7px}}
@media(max-width:440px){#hockeyTeamStats .ht-team-heading{flex-wrap:wrap;row-gap:4px}#hockeyTeamStats .ht-team-heading h3{flex-basis:100%}}

/* Keep every value and its rank adjacent in portrait and half-width landscape cards. */
@media(max-width:620px),(min-width:560px) and (max-width:1080px) and (max-height:600px) and (orientation:landscape){
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table{display:block;min-width:0;width:100%}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table colgroup{display:none}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table :is(thead,tbody){display:block}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tr{display:grid;grid-template-columns:48px repeat(5,minmax(0,1fr) 14px)}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table thead th{min-width:0;padding-inline:2px;position:static;align-content:end;grid-column:auto}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table thead th:first-child{grid-column:1}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody tr{grid-template-rows:auto;border-bottom:1px solid var(--border)}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody tr:last-child{border-bottom:0}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody :is(th,td){border-bottom:0;grid-row:1;align-content:center;padding-block:5px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody th{grid-column:1;position:static;font-size:10px;letter-spacing:0;line-height:1.15;padding-inline:0}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody td.ht-value{padding-left:3px;padding-right:2px;font-size:10px;line-height:1.15}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody td.ht-rank{padding-inline:1px;font-size:8px;line-height:1.15}
}
/* On the smallest cards, give the pairs the full width while keeping ranks inline. */
@media(max-width:360px),(min-width:560px) and (max-width:700px) and (max-height:600px) and (orientation:landscape){
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tr{grid-template-columns:repeat(5,minmax(0,1fr) 14px)}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table thead th:first-child{display:none}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody th{grid-column:1 / -1;grid-row:1;padding:4px 0 2px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody td{grid-row:2;padding-block:4px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody td.ht-value{font-size:9px;padding-right:0}
}
/* Each half-width landscape card keeps team names above its controls. */
@media(min-width:560px) and (max-width:1000px) and (max-height:600px) and (orientation:landscape){
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-team-heading{flex-wrap:wrap;row-gap:4px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-team-heading h3{flex-basis:100%}
}

@media(max-width:360px){
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats{--game-column-header-size:10px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table thead th{padding-inline:0;letter-spacing:0!important}
}

.hockey-game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}
.hockey-game-toolbar .hockey-context{margin:0}
.hockey-game-toolbar .global-highlight-controls{flex-wrap:wrap;max-width:100%}
@media(max-width:620px){.hockey-game-toolbar .global-highlight-controls{margin-left:0;padding-left:0;justify-content:flex-start}}

#hockeyTeamStats .ht-card-footer{border-top:1px solid var(--border);margin-top:5px;padding-top:5px}
#hockeyTeamStats .ht-card-footer .ht-matchup{min-width:0;border-top:0;margin-top:0;padding-top:0}
#hockeyTeamStats .ht-versus-toggle{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:18px;max-width:100%;margin:0;padding:0 2px;border:1px solid transparent;border-radius:3px;background:transparent;color:var(--muted);font:inherit;font-size:9px;font-size:min(.55rem,9px);line-height:1.4;white-space:nowrap;cursor:pointer;transition:color 120ms ease,border-color 120ms ease,background 120ms ease}
#hockeyTeamStats .ht-versus-toggle:hover,#hockeyTeamStats .ht-versus-toggle[aria-pressed="true"]{color:var(--text);border-color:var(--border);background:rgba(255,255,255,.035)}
#hockeyTeamStats .ht-versus-toggle:focus-visible{outline:1px solid var(--white);outline-offset:2px}
.hockey-research-notes{margin:8px 0;color:var(--muted);font-size:11px;line-height:1.5}
.hockey-research-notes>summary{width:fit-content;color:var(--muted);cursor:pointer}
.hockey-research-notes>summary:focus-visible{outline:1px solid var(--white);outline-offset:3px}
.hockey-research-notes>p{max-width:950px;margin:6px 0}



/* Rank is a separate, labeled column for every sample, including mobile grids. */
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table :is(td.ht-rank,th.ht-rank-heading){border-left:1px solid var(--border);text-align:center}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table thead :is(.ht-window-heading,.ht-rank-heading){text-align:center}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table thead .ht-rank-heading{padding-inline:1px;vertical-align:bottom}

/* Keep city and module titles outside the bordered cards; controls stay above the data. */
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-module>.hockey-module-heading{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-team{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-card-title{display:flex;align-items:baseline;gap:5px;margin:0 0 4px;font-size:14px;line-height:1.2}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-card-title .ht-card-side{display:inline;flex:0 0 auto;margin:0 0 0 auto;font-size:8px;line-height:1.2;white-space:nowrap}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-team-panel{min-width:0;padding:7px 9px;background:var(--panel);border:1px solid var(--border);border-radius:4px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-team-heading{display:block;margin-bottom:4px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-controls{align-items:center;justify-content:space-between;flex:0 1 auto;min-width:0;margin-left:0;gap:4px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-timeframe{min-width:0;padding:0;border:0;background:transparent;gap:2px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-timeframe button{min-width:24px;min-height:28px;padding:3px 5px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-control-actions{display:flex;align-items:center;gap:2px;flex:0 0 auto;width:auto;min-width:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-scope-toggle{flex-basis:24px;width:24px;min-width:24px;height:28px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-versus-toggle{min-height:28px;padding:3px 4px}
@media(max-width:620px){
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-team-panel{padding:7px}
}
@media(pointer:coarse){
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats :is(.ht-timeframe button,.ht-scope-toggle,.ht-versus-toggle){min-height:32px}
}

/* Keep the same metric groups together, including phones using a wide layout viewport. */
@media(max-width:620px),(max-width:1000px) and (pointer:coarse){
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-pair {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
/* Each narrow card shows the five samples across, with each league rank below its value. */
@media(max-width:559px),(max-width:620px) and (orientation:portrait){
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats {
    --game-column-header-size:10px;
  }
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-team {
    display:grid;
    grid-template-rows:subgrid;
    grid-row:span 2;
    row-gap:0;
    align-self:stretch;
  }
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-team-panel {
    padding:5px 3px;
  }
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats :is(.ht-controls,.ht-timeframe) {
    flex-wrap:wrap;
  }
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-timeframe button {
    min-width:22px;
    padding-inline:3px;
  }
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tr {
    grid-template-columns:repeat(5,minmax(34px,1fr));
  }
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table thead .ht-window-heading {
    text-transform:none;
    padding-inline:1px;
  }
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table thead :is(th:first-child,.ht-rank-heading) {
    display:none;
  }
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody th {
    grid-column:1 / -1;
    grid-row:1;
    padding:4px 1px 2px;
  }
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody td.ht-value {
    grid-row:2;
    padding:3px 1px 1px;
    text-align:center;
    font-size:10px;
  }
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody td.ht-rank {
    grid-row:3;
    padding:1px 1px 3px;
    border-left:0;
  }
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table td.ht-rank[data-global-rank]::before {
    content:"#";
  }
}

#hockeyTeamStats .ht-source-controls{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 7px}
#hockeyTeamStats .ht-source-controls button{padding:5px 9px;border:1px solid var(--border);border-radius:4px;background:var(--panel);color:var(--muted);font:inherit;font-size:12px;cursor:pointer}
#hockeyTeamStats .ht-source-controls button[aria-pressed="true"]{border-color:currentColor;color:var(--white);font-weight:700}
#hockeyTeamStats .ht-source-note{margin:2px 0 6px;color:var(--muted);font-size:11px}
#hockeyTeamStats .ht-snapshot-table{border-collapse:collapse;width:100%;font:inherit;font-size:12px;font-variant-numeric:tabular-nums}
#hockeyTeamStats .ht-snapshot-table :is(th,td){border-bottom:1px solid var(--border);padding:5px 3px;text-align:right}
#hockeyTeamStats .ht-snapshot-table th:first-child{text-align:left}
#hockeyTeamStats .ht-snapshot-table td small{display:block;color:var(--muted)}

#hockeyLineups{margin:26px 0;color:#dce6df;font-family:Georgia,'Times New Roman',serif;--hl-border:#304637;--hl-muted:#a4b7ab}
#hockeyLineups *{box-sizing:border-box}
#hockeyLineups .hl-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
#hockeyLineups .hl-team{min-width:0;background:#101a14;border:1px solid var(--hl-border);border-radius:9px;padding:15px}
#hockeyLineups .hl-team-header{padding-bottom:10px;border-bottom:1px solid var(--hl-border)}
#hockeyLineups .hl-team-header p{margin:0 0 5px;font:11px Arial,sans-serif;text-transform:uppercase;letter-spacing:1.5px;color:var(--hl-muted)}
#hockeyLineups h2{font-size:26px;line-height:1.1;margin:0 0 9px;color:#edf4ef}
#hockeyLineups .hl-status{font:700 11px/1.4 Arial,sans-serif;color:#dccd9e}
#hockeyLineups .hl-status-confirmed{color:#93dfe7}
#hockeyLineups .hl-scope{font:11px/1.5 Arial,sans-serif;color:#c6d7cb;margin:10px 0 4px}
#hockeyLineups .hl-note{font:11px/1.5 Arial,sans-serif;color:var(--hl-muted);margin:5px 0 10px}
#hockeyLineups h3{margin:18px 0 9px;font-size:18px;color:#d8e9de;letter-spacing:.5px}
#hockeyLineups .hl-grid{display:grid;gap:6px;min-width:0}
#hockeyLineups .hl-offense{grid-template-columns:repeat(3,minmax(0,1fr))}
#hockeyLineups .hl-defense{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Center pairs using the same tile width as a three-forward row. */
#hockeyLineups .hl-grid.hl-defense{width:calc(66.666667% - 2px);margin-inline:auto}
#hockeyLineups .hl-column-head{font:700 10px Arial,sans-serif;color:#bdd1c3;text-align:center}
#hockeyLineups .hl-line-label{font:10px Arial,sans-serif;color:var(--hl-muted);margin:9px 0 4px}
#hockeyLineups .hl-card{min-width:0;border:1px solid #4d4d4d;border-radius:6px;background:#1b1b1b;padding:9px 7px;box-shadow:inset 0 1px #ffffff0a}
#hockeyLineups .hl-card[data-participation="projected"]{opacity:.82}
#hockeyLineups .hl-card[data-participation="estimated"]{opacity:.55;border-style:dashed}
#hockeyLineups .hl-card[data-participation="estimated"]:focus-within,#hockeyLineups .hl-card[data-participation="estimated"]:hover{opacity:.85}
#hockeyLineups .hl-player-head{display:flex;gap:7px;align-items:flex-start;min-height:48px}
#hockeyLineups .hl-player-head>div{min-width:0}
#hockeyLineups .hl-number{font:700 24px/1.1 Georgia,serif;color:#c1c1c1;flex:none;font-variant-numeric:tabular-nums}
#hockeyLineups .hl-player-name{display:block;font-size:14px;line-height:1.18;font-weight:700;color:#f4f4f4;overflow-wrap:anywhere}
#hockeyLineups .hl-position{display:block;font:9px/1.4 Arial,sans-serif;color:#bfbfbf;margin-top:4px}
#hockeyLineups .hl-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 3px;padding-top:8px;margin:4px 0 0;border-top:1px solid #5c5c5c55;font-variant-numeric:tabular-nums}
#hockeyLineups .hl-stats div{min-width:0;text-align:center}
#hockeyLineups dt{font:9px Arial,sans-serif;color:#b8b8b8;margin:0 0 3px}
#hockeyLineups dd{font:700 14px Georgia,serif;color:#f2f2f2;margin:0}
#hockeyLineups .hl-player-status{margin:9px 0 0;font:9px/1.35 Arial,sans-serif;color:#c2c2c2;overflow-wrap:anywhere}
#hockeyLineups .hl-lineup-summary{margin:12px 0 0;padding:10px 12px;border-left:2px solid var(--hl-border);background:#ffffff04;color:var(--hl-muted);font:12px/1.5 Arial,sans-serif;overflow-wrap:anywhere}
/* Layout columns are presentation only; data-slot retains recorded source slots. */
#hockeyLineups .hl-team .hl-grid>.hl-card[data-layout-column="1"]{grid-column:1}
#hockeyLineups .hl-team .hl-grid>.hl-card[data-layout-column="2"]{grid-column:2}
#hockeyLineups .hl-team .hl-grid>.hl-card[data-layout-column="3"]{grid-column:3}
#hockeyLineups .hl-team .hl-short-row>.hl-card[data-layout-column]{grid-column:auto}
#hockeyLineups .hl-offense.hl-short-row[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));width:calc(66.666667% - 2px);margin-inline:auto}
#hockeyLineups .hl-offense.hl-short-row[data-count="1"]{grid-template-columns:minmax(0,1fr);width:calc(33.333333% - 4px);margin-inline:auto}
#hockeyLineups .hl-defense.hl-short-row[data-count="1"]{grid-template-columns:minmax(0,1fr);width:calc(33.333333% - 4px);margin-inline:auto}
#hockeyLineups .hl-source{margin-top:17px;border-top:1px solid var(--hl-border);padding-top:10px;font:10px/1.65 Arial,sans-serif;color:var(--hl-muted);overflow-wrap:anywhere}
#hockeyLineups a{color:#b0d3bd;text-decoration:underline;text-underline-offset:2px}
#hockeyLineups .hl-controls{display:flex;gap:5px;margin:7px 0}
#hockeyLineups button{background:#1b2d21;border:1px solid #5b7965;color:#d4e7da;border-radius:4px;padding:7px;font:11px Arial,sans-serif;min-height:34px}
#hockeyLineups button[aria-pressed=true]{background:#34543f;border-color:#b3d9bf;color:white}
#hockeyLineups button:focus-visible,#hockeyLineups a:focus-visible{outline:2px solid #b3e3c3;outline-offset:3px}
@media(max-width:1080px){#hockeyLineups .hl-pair{grid-template-columns:minmax(0,1fr)}#hockeyLineups .hl-player-name{font-size:17px}#hockeyLineups .hl-player-head{min-height:42px}#hockeyLineups .hl-stats{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:620px){#hockeyLineups .hl-team{padding:11px 8px}#hockeyLineups .hl-stats{grid-template-columns:repeat(3,minmax(0,1fr))}#hockeyLineups .hl-player-name{font-size:13px}#hockeyLineups .hl-player-head{display:block;min-height:72px}#hockeyLineups .hl-number{display:block;font-size:20px;margin-bottom:4px}#hockeyLineups .hl-card{padding:8px 5px}#hockeyLineups .hl-grid{gap:5px}#hockeyLineups .hl-grid.hl-defense,#hockeyLineups .hl-offense.hl-short-row[data-count="2"]{width:calc(66.666667% - 1.666667px)}#hockeyLineups .hl-defense.hl-short-row[data-count="1"],#hockeyLineups .hl-offense.hl-short-row[data-count="1"]{width:calc(33.333333% - 3.333333px)}#hockeyLineups dd{font-size:13px}}
@media(pointer:coarse){#hockeyLineups button{min-height:44px}}

/* Basic stats / spider graphs share the same neutral player cards. */
#hockeyLineups .hl-view-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font:700 12px Arial,sans-serif;color:#ccc}
#hockeyLineups .hl-view-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
#hockeyLineups .hl-wedge-toggle{white-space:nowrap}
#hockeyLineups[data-radar-fill="off"] .hl-radar-wedge{display:none}
#hockeyLineups .hl-view-toggle,#hockeyLineups .hl-chart-dialog button{min-height:40px;background:#252525;border:1px solid #777;color:#eee;padding:8px 12px;border-radius:5px;font:700 12px Arial,sans-serif;cursor:pointer}
#hockeyLineups .hl-view-toggle[aria-pressed=true]{background:#383838;border-color:#ddd;color:#fff}
#hockeyLineups .hl-view-toggle:focus-visible,#hockeyLineups .hl-radar-open:focus-visible,#hockeyLineups .hl-chart-dialog button:focus-visible{outline:2px solid #ddd;outline-offset:3px}
#hockeyLineups .hl-radar-open{display:block;width:100%;margin:7px 0 0;padding:0;border:0;border-radius:3px;background:transparent;color:#ddd;min-height:0;cursor:zoom-in}
#hockeyLineups .hl-radar{display:block;width:100%;height:auto;max-width:220px;margin:auto;overflow:visible;font-family:Arial,sans-serif}
#hockeyLineups .hl-radar-ring{fill:none;stroke:#565656;stroke-width:.7}
#hockeyLineups .hl-radar-axis{stroke:#484848;stroke-width:.7}
#hockeyLineups .hl-radar-shape{fill:#cbd0d638;stroke:#d1d5db;stroke-width:1.35;stroke-linejoin:round}
#hockeyLineups .hl-radar-wedge{fill:currentColor;stroke:none;fill-opacity:calc(var(--hl-wedge-opacity,.35) * var(--hl-fill-intensity,1));pointer-events:none}
html[data-highlight-display-mode="black-white"] #hockeyLineups .hl-radar-wedge{filter:grayscale(1) saturate(0)}
html[data-highlight-display-mode="text-only"] #hockeyLineups .hl-radar-wedge,
html[data-highlight-display-mode="off"] #hockeyLineups .hl-radar-wedge{fill:var(--text,#dce6e1);fill-opacity:calc(.35 * var(--hl-fill-intensity,1))}
#hockeyLineups .hl-radar-point{fill:#f4f4f4;stroke:#161616;stroke-width:.65}
#hockeyLineups .hl-radar-label{fill:#e1e1e1;font-size:11px;font-weight:700}
#hockeyLineups .hl-radar-tick{fill:#a6a6a6;font-size:7px;paint-order:stroke;stroke:#1b1b1b;stroke-width:2px;stroke-linejoin:round}
#hockeyLineups .hl-radar-missing{color:#bdbdbd;font:10px/1.4 Arial,sans-serif;text-align:center;margin:3px 0 0}
#hockeyLineups .hl-radar-explanation{color:#bdbdbd;font:11px/1.5 Arial,sans-serif;margin:8px 0}
#hockeyLineups .hl-chart-dialog{box-sizing:border-box;width:min(470px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:18px;border:1px solid #777;border-radius:9px;background:#191919;color:#ededed;box-shadow:0 16px 65px #0009}
#hockeyLineups .hl-chart-dialog::backdrop{background:#000b}
#hockeyLineups .hl-chart-dialog-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}
#hockeyLineups .hl-chart-dialog-head h3{font-size:24px;color:#f2f2f2;margin:0}
#hockeyLineups .hl-chart-dialog>p{font:12px/1.5 Arial,sans-serif;color:#c7c7c7}
#hockeyLineups .hl-chart-dialog>.hl-chart-sample{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:9px 0;padding:7px 9px;border:1px solid #3d3d3d;border-radius:5px}
#hockeyLineups .hl-chart-sample strong{font-size:15px;font-variant-numeric:tabular-nums;color:#ededed}
#hockeyLineups .hl-chart-sample small{color:#aaa;margin-left:auto}
#hockeyLineups .hl-chart-dialog .hl-radar{max-width:300px}
#hockeyLineups .hl-chart-values{width:100%;min-width:0;border-collapse:collapse;background:transparent;font:12px Arial,sans-serif;table-layout:auto}
#hockeyLineups .hl-chart-values caption{text-align:left;color:#bdbdbd;font-size:11px;padding:8px 0}
#hockeyLineups .hl-chart-values th,#hockeyLineups .hl-chart-values td{padding:7px 4px;border-bottom:1px solid #3d3d3d;text-align:right;color:#e2e2e2;white-space:nowrap}
#hockeyLineups .hl-chart-values th:first-child{text-align:left}
@media(max-width:620px){#hockeyLineups .hl-radar-missing{font-size:9px}#hockeyLineups .hl-chart-dialog{padding:14px}#hockeyLineups .hl-chart-dialog-head h3{font-size:21px}}
@media(pointer:coarse){#hockeyLineups .hl-view-toggle,#hockeyLineups .hl-chart-dialog button{min-height:44px}}

/* Actual values lead; peer percentiles remain secondary and use shared ranks. */
#hockeyLineups .hl-view-choices,#hockeyLineups .hl-period-toolbar{display:flex;flex-wrap:wrap;gap:6px}
#hockeyLineups .hl-period-toolbar button,#hockeyLineups .hl-advanced-open{background:#252525;color:#eee;border:1px solid #777;min-height:40px;cursor:pointer}
#hockeyLineups .hl-period-toolbar button[aria-pressed=true]{background:#444;border-color:#ddd}
#hockeyLineups .hl-advanced-note{font:12px/1.5 Arial,sans-serif;color:#bbb;margin:10px 0 16px}
#hockeyLineups .hl-advanced-intro{font:13px/1.5 Arial,sans-serif;color:#cbd4ce;margin:10px 0 16px}
#hockeyLineups .hl-advanced-intro>p{margin:0 0 5px}
#hockeyLineups .hl-pipeline-progress{font-size:12px;color:#c6d2c9}
#hockeyLineups .hl-pipeline-progress span{display:inline-block;margin-left:9px;color:#a6b3aa;font-size:11px}
#hockeyLineups .hl-advanced-help summary{cursor:pointer;color:#e1e7e3;padding:5px 0}
#hockeyLineups .hl-advanced-help summary:focus-visible{outline:2px solid #ddd;outline-offset:2px}
#hockeyLineups .hl-advanced-help p{max-width:85ch;margin:9px 0}
#hockeyLineups .hl-advanced-main{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:10px 0}
#hockeyLineups .hl-advanced-details{display:grid;gap:12px;margin:0 0 12px}
#hockeyLineups .hl-advanced-metric{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 5px;align-items:baseline;min-width:0}
#hockeyLineups .hl-advanced-metric dt{font:600 12px/1.3 Arial,sans-serif;color:#e0e6e2;margin:0;overflow-wrap:anywhere}
#hockeyLineups .hl-advanced-metric dd{margin:0;font:700 20px/1.2 Arial,sans-serif;color:#f4f4f4;text-align:right;min-width:0;white-space:nowrap;padding-inline:6px 3px;font-variant-numeric:tabular-nums}
/* Shared rank styling must not turn the statistic into a small rank badge. */
#hockeyLineups .hl-advanced-metric .hl-advanced-value{font:700 20px/1.2 Arial,sans-serif!important;letter-spacing:0!important}
#hockeyLineups .hl-advanced-unit{grid-column:1/-1;color:#b1bbb5;font:10px/1.2 Arial,sans-serif}
#hockeyLineups .hl-advanced-percentile{grid-column:1/-1;justify-self:start;font:600 11px/1.4 Arial,sans-serif;padding:1px 5px 1px 7px;color:#bac4bd;white-space:nowrap;font-variant-numeric:tabular-nums}
#hockeyLineups .hl-advanced-reason{grid-column:1/-1;color:#b8c0bb;font:11px/1.35 Arial,sans-serif;overflow-wrap:anywhere}
#hockeyLineups .hl-percentile-track{display:block;grid-column:1/-1;height:4px;background:#373737;border-radius:2px;overflow:hidden}
#hockeyLineups .hl-percentile-track>span{display:block;height:100%;background:#c5cbd1}
#hockeyLineups .hl-advanced-open{width:100%;font:600 11px Arial,sans-serif}
#hockeyLineups .hl-rate-label{font:600 11px/1.4 Arial,sans-serif;color:#c4d1c9;margin:12px 0 9px}
#hockeyLineups .hl-observed-rates{margin-top:0}
#hockeyLineups .hl-impact-pending{color:#bec8c1}
#hockeyLineups .hl-unavailable{color:#a6afa9}
#hockeyLineups .hl-stat-definition{display:block;font:11px/1.4 Arial,sans-serif;color:#b8c3bb;white-space:normal;font-weight:400;margin-top:3px;min-width:100px;max-width:220px}
#hockeyLineups .hl-stat-reason td{font:11px/1.4 Arial,sans-serif;color:#b8c3bb;text-align:left;white-space:normal;padding-top:0}
#hockeyLineups .hl-chart-values th:first-child{white-space:normal}
#hockeyLineups .hl-period-toolbar button:focus-visible,#hockeyLineups .hl-advanced-open:focus-visible{outline:2px solid #ddd;outline-offset:3px}
@media(max-width:620px){#hockeyLineups .hl-view-toolbar{align-items:flex-start;flex-direction:column}#hockeyLineups .hl-advanced-main{grid-template-columns:minmax(0,1fr);gap:10px}#hockeyLineups .hl-advanced-metric dt{font-size:11px}#hockeyLineups .hl-advanced-metric dd{font-size:18px}#hockeyLineups .hl-advanced-metric .hl-advanced-value{font-size:18px!important}#hockeyLineups .hl-advanced-percentile{font-size:10px}}
@media(pointer:coarse){#hockeyLineups .hl-period-toolbar button,#hockeyLineups .hl-advanced-open{min-height:44px}}

/* Formation spacing only; original stats and graph cards remain visible. */
#hockeyLineups .hl-formation{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:10px 0;font:11px/1.4 Arial,sans-serif;color:var(--hl-muted)}
#hockeyLineups .hl-formation strong{color:#eee;font-size:13px;white-space:nowrap}
#hockeyLineups .hl-formation[data-roster=confirmed] span{color:#93dfe7}
#hockeyLineups .hl-combination-note{margin-bottom:4px}
/* Verified midranks use the shared highlight bar in every card and detail view.
   These foregrounds defeat fixed number colors without changing card layout. */
#hockeyLineups .global-tier-highlight.metric-elite,:is(.hlive-lineup-graphs,.hlive-lineups-both) .global-tier-highlight.metric-elite{--hl-rank-color:#63ff9b}
#hockeyLineups .global-tier-highlight.metric-good,:is(.hlive-lineup-graphs,.hlive-lineups-both) .global-tier-highlight.metric-good{--hl-rank-color:#a2f5bf}
#hockeyLineups .global-tier-highlight.metric-average,:is(.hlive-lineup-graphs,.hlive-lineups-both) .global-tier-highlight.metric-average{--hl-rank-color:var(--text,#dce6e1)}
#hockeyLineups .global-tier-highlight.metric-poor,:is(.hlive-lineup-graphs,.hlive-lineups-both) .global-tier-highlight.metric-poor{--hl-rank-color:#ffadb8}
#hockeyLineups .global-tier-highlight.metric-awful,:is(.hlive-lineup-graphs,.hlive-lineups-both) .global-tier-highlight.metric-awful{--hl-rank-color:#ff7184}
html[data-highlight-neutral="spectrum"] #hockeyLineups .global-tier-highlight.metric-elite,html[data-highlight-neutral="spectrum"] :is(.hlive-lineup-graphs,.hlive-lineups-both) .global-tier-highlight.metric-elite{--hl-rank-color:#79ffac}
html[data-highlight-neutral="spectrum"] #hockeyLineups .global-tier-highlight.metric-good,html[data-highlight-neutral="spectrum"] :is(.hlive-lineup-graphs,.hlive-lineups-both) .global-tier-highlight.metric-good{--hl-rank-color:#d8f77d}
html[data-highlight-neutral="spectrum"] #hockeyLineups .global-tier-highlight.metric-average,html[data-highlight-neutral="spectrum"] :is(.hlive-lineup-graphs,.hlive-lineups-both) .global-tier-highlight.metric-average{--hl-rank-color:#ffe06e}
html[data-highlight-neutral="spectrum"] #hockeyLineups .global-tier-highlight.metric-poor,html[data-highlight-neutral="spectrum"] :is(.hlive-lineup-graphs,.hlive-lineups-both) .global-tier-highlight.metric-poor{--hl-rank-color:#ffad5d}
html[data-highlight-neutral="spectrum"] #hockeyLineups .global-tier-highlight.metric-awful,html[data-highlight-neutral="spectrum"] :is(.hlive-lineup-graphs,.hlive-lineups-both) .global-tier-highlight.metric-awful{--hl-rank-color:#ff7185}
#hockeyLineups .global-tier-highlight,.hlive-lineup-graphs .global-tier-highlight{color:var(--hl-rank-color,var(--text,#dce6e1))!important}
#hockeyLineups .global-tier-highlight small,.hlive-lineup-graphs .global-tier-highlight small{color:inherit}
#hockeyLineups :is(.hl-radar-point,.hl-radar-label).global-tier-highlight,.hlive-lineup-graphs :is(.hl-radar-point,.hl-radar-label).global-tier-highlight{fill:currentColor}
/* Ranked spider graphs use the warm palette by default in Color mode. */
html:where(:not([data-highlight-display-mode]),[data-highlight-display-mode="color"]) :is(#hockeyLineups,.hlive-lineup-graphs) .hl-radar :is(.hl-radar-wedge,.hl-radar-point,.hl-radar-label).global-tier-highlight[data-global-rank]{
  fill:var(--hl-radar-fill,currentColor);
  filter:saturate(1.35)
}
.hl-radar .global-tier-highlight.metric-elite{--hl-radar-fill:#79ffac}
.hl-radar .global-tier-highlight.metric-good{--hl-radar-fill:#d8f77d}
.hl-radar .global-tier-highlight.metric-average{--hl-radar-fill:#ffe06e}
.hl-radar .global-tier-highlight.metric-poor{--hl-radar-fill:#ffad5d}
.hl-radar .global-tier-highlight.metric-awful{--hl-radar-fill:#ff7185}
#hockeyLineups[data-radar-palette="classic"] .hl-radar .global-tier-highlight[data-global-rank]{--hl-radar-fill:currentColor}
#hockeyLineups[data-radar-palette="classic"] .hl-radar .global-tier-highlight.metric-elite{--hl-rank-color:#63ff9b}
#hockeyLineups[data-radar-palette="classic"] .hl-radar .global-tier-highlight.metric-good{--hl-rank-color:#a2f5bf}
#hockeyLineups[data-radar-palette="classic"] .hl-radar .global-tier-highlight.metric-average{--hl-rank-color:var(--text,#dce6e1)}
#hockeyLineups[data-radar-palette="classic"] .hl-radar .global-tier-highlight.metric-poor{--hl-rank-color:#ffadb8}
#hockeyLineups[data-radar-palette="classic"] .hl-radar .global-tier-highlight.metric-awful{--hl-rank-color:#ff7184}
html:is(:not([data-highlight-display-mode]),[data-highlight-display-mode="color"]) :is(#hockeyLineups,.hlive-lineup-graphs) .hl-radar .hl-radar-wedge{
  fill-opacity:calc((.42 + .58 * var(--hl-wedge-opacity,.35)) * var(--hl-fill-intensity,1))
}
html:where(:not([data-highlight-display-mode]),[data-highlight-display-mode="color"]) :is(#hockeyLineups,.hlive-lineup-graphs) .hl-radar-shape:has(~ .hl-radar-wedge[data-global-rank]){
  fill-opacity:calc(1 - var(--hl-radar-shape-fade,var(--hl-fill-intensity,1)))
}
[data-radar-fill="off"] .hl-radar{--hl-radar-shape-fade:0}
html[data-highlight-display-mode="text-only"] #hockeyLineups .hl-radar-point.global-tier-highlight,html[data-highlight-display-mode="text-only"] .hlive-lineup-graphs .hl-radar-point.global-tier-highlight{fill:var(--text,#dce6e1)}
#hockeyLineups .hl-percentile-track>.global-tier-highlight{background:currentColor!important;box-shadow:none!important}

html[data-highlight-display-mode="text-only"] #hockeyLineups .hl-percentile-track>.global-tier-highlight,
html[data-highlight-display-mode="off"] #hockeyLineups .hl-percentile-track>.global-tier-highlight{background:#c5cbd1!important;box-shadow:none!important}
html[data-highlight-display-mode="off"] #hockeyLineups .global-tier-highlight,html[data-highlight-display-mode="off"] .hlive-lineup-graphs .global-tier-highlight{color:var(--text,#dce6e1)!important;background:transparent!important;background-image:none!important;box-shadow:none!important;text-shadow:none!important;filter:none!important}
#hockeyLineups .hl-group-intro{min-height:42px;display:flex;flex-direction:column;justify-content:flex-end}

/* Reported special-team deployment reuses identities, without repeating cards. */
#hockeyLineups .hl-special-teams{margin-top:14px;padding-top:10px;border-top:1px solid var(--hl-border)}
#hockeyLineups .hl-special-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 8px;margin-bottom:6px}
#hockeyLineups .hl-special-heading h3{margin:0}
#hockeyLineups .hl-special-heading>span,#hockeyLineups .hl-special-unit header>span{color:var(--hl-muted);font-size:11px;line-height:1.35}
#hockeyLineups .hl-special-units{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#hockeyLineups .hl-special-unit{min-width:0;padding:7px;border:1px solid var(--hl-border);border-radius:4px}
#hockeyLineups .hl-special-unit header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:3px 7px;margin-bottom:5px}
#hockeyLineups .hl-special-unit h4{font-size:13px;font-weight:700;line-height:1.25;color:var(--text,#dce6e1);margin:0}
#hockeyLineups .hl-unit-players{list-style:none;padding:0;margin:0;display:grid;gap:4px}
#hockeyLineups .hl-unit-players li{display:grid;grid-template-columns:2.5ch minmax(0,1fr) auto;align-items:baseline;gap:5px;font-size:13px;line-height:1.3;min-width:0}
#hockeyLineups .hl-unit-number{color:var(--hl-muted);font-variant-numeric:tabular-nums;font-size:11px}
#hockeyLineups .hl-unit-players a{color:var(--text,#dce6e1);font-weight:700;text-decoration:none;overflow-wrap:anywhere}
#hockeyLineups .hl-unit-players a:hover{text-decoration:underline}
#hockeyLineups .hl-unit-players a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
#hockeyLineups .hl-unit-position{font-size:10px;color:var(--hl-muted);white-space:nowrap}
#hockeyLineups .hl-unit-pending{font-size:12px;line-height:1.4;color:var(--hl-muted);margin:0}
#hockeyLineups .hl-special-source{font-size:10px;line-height:1.5;color:var(--hl-muted);margin-top:6px;overflow-wrap:anywhere}
#hockeyLineups .hl-special-source a{color:inherit}
@media(max-width:699px){
  #hockeyLineups .hl-special-units{grid-template-columns:minmax(0,1fr)}
}


/* One compact toolbar controls both lineups; evidence stays under Info. */
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups{margin-top:8px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-team-header{display:flex;align-items:center;justify-content:space-between;gap:6px 12px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-team-header>div{min-width:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-team-header>.hl-status,
#hockeyLineups .hl-team-actions{max-width:45%;text-align:right;line-height:1.3}
#hockeyLineups .hl-team-actions{display:grid;justify-items:end;gap:5px}
#hockeyLineups .hl-card>.hl-stats{grid-column:1/-1}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups>.hl-card-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 8px;min-width:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-controls :is(.hl-view-choices,.hl-period-toolbar,.hl-view-actions){display:flex;align-items:center;flex-wrap:nowrap;gap:2px;margin:0;min-width:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-controls :is(.hl-view-choices,.hl-period-toolbar){padding:2px;border:1px solid var(--border);border-radius:5px;background:var(--bg-soft)}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-controls button{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:none;box-sizing:border-box;min-width:0;min-height:30px;height:30px;margin:0;padding:4px 8px;border:1px solid transparent;border-radius:3px;background:transparent;color:var(--muted);font:11px/1.2 Arial,sans-serif;white-space:nowrap;cursor:pointer}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-controls button[aria-pressed=true]{background:#303030;border-color:#777;color:#fff}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-controls button:hover{background:#242424;color:#fff}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-controls button:focus-visible{outline:2px solid #ddd;outline-offset:2px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-info{min-width:0;color:var(--muted);font:11px/1.45 Arial,sans-serif}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-info>summary{display:flex;align-items:center;gap:5px;min-height:28px;padding:3px 0;cursor:pointer;list-style:none;white-space:nowrap;width:max-content}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-info>summary::-webkit-details-marker{display:none}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-info>summary::before{content:'▸';font-size:10px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-info[open]>summary::before{content:'▾'}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-info>summary:focus-visible{outline:2px solid var(--text);outline-offset:2px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-info:not([open])>.hl-card-info-body{display:none}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-info-body{padding:8px;border:1px solid var(--border);border-radius:4px;background:var(--bg-soft);overflow-wrap:anywhere}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-info-body :is(p,.hl-source,.hl-advanced-intro){font-size:12px;line-height:1.5;margin:6px 0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-info-body .hl-formation{margin-top:8px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-group-intro{min-height:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-group h3{margin-top:8px}
@media(max-width:699px){
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups>.hl-card-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 6px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-controls .hl-view-choices{grid-column:1/-1}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-controls .hl-view-choices button{flex:1}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-controls .hl-period-toolbar{justify-self:start}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-native-controls:has([data-native-period="regularSeason"]) .hl-period-toolbar{grid-column:1/-1;max-width:100%;flex-wrap:wrap}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-controls .hl-view-actions{grid-column:1/-1;justify-self:start;flex-wrap:wrap}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card-controls button{padding-inline:6px}
}
#hockeyLineups .hl-native-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:.78rem;font-variant-numeric:tabular-nums}
.hl-native-table th,.hl-native-table td{padding:.35rem .25rem;text-align:right;border-bottom:1px solid var(--border-color,#303435)}
.hl-native-table th:first-child{text-align:left;font-weight:500;white-space:normal;overflow-wrap:anywhere}
.hl-native-table thead th{font-size:.65rem;color:var(--text-muted,#969fa0);font-weight:600}
.hl-native-table thead th:not(:first-child){width:clamp(1.55rem,4vw,2.15rem);letter-spacing:0}
.hl-pwhl-table-scroll{max-width:100%;overflow-x:auto}
#hockeyLineups .hl-pwhl-table-scroll .hl-native-table{min-width:41rem}
.hl-pwhl-table-scroll .hl-native-table thead th:first-child{width:9rem}
.hl-native-number{display:inline-block;min-width:1.25rem;margin-right:.15rem;color:var(--text-muted,#969fa0);font-size:.7rem}
.hl-native .hl-team-header h3{font-size:1.15rem}
.hl-native .hl-source-state{font-size:.7rem;max-width:9rem;text-align:right}
.hl-native .hl-group h4{margin:.7rem 0 .2rem;font-size:.75rem;letter-spacing:.05em;text-transform:uppercase}
.hl-native .hl-card-info{font-size:.7rem;margin-top:.65rem}
.hl-native-freshness{font-size:.7rem;margin:.4rem 0}
#hockeyLineups .hl-native-controls{display:flex;flex-wrap:wrap;gap:6px 12px;margin-bottom:8px}
#hockeyLineups .hl-native-controls .hl-period-toolbar{flex-wrap:wrap}
.hl-native-values{font:10px/1.3 Arial,sans-serif;color:var(--hl-muted);text-align:center;margin:3px 0}
#hockeyLineups .hl-native-values .global-tier-highlight{background:transparent!important;box-shadow:none!important;text-shadow:none!important}
#hockeyLineups .hl-native .hl-group>.hl-grid+.hl-grid{margin-top:6px}
#hockeyLineups[data-lineup-size="half"] .hl-native .hl-radar{max-width:90px}
@media(max-width:640px){#hockeyLineups .hl-native{grid-template-columns:1fr;gap:.65rem}.hl-native .hl-team{padding:.65rem}.hl-native-table{font-size:.75rem}.hl-native-table th,.hl-native-table td{padding:.35rem .2rem}}

/* Game research tools sit below the matchup and recent games. The existing
   shared controls stay mounted inside a native, keyboard-accessible disclosure. */
.hockey-game-toolbar .hockey-period-charts-link{font-size:.65rem;white-space:nowrap;color:var(--text);text-decoration:underline;text-underline-offset:3px}
.hockey-game-page:not([data-hockey-view="live"]) .hockey-game-toolbar{position:relative;flex-wrap:nowrap;gap:12px;margin:4px 0 8px;padding:0;font-size:.61rem;border-radius:3px}
.hockey-research-links{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;min-width:0}
.hockey-game-page:not([data-hockey-view="live"]) .hockey-matchup{row-gap:8px}
.hockey-matchup>.hockey-context{grid-column:1 / -1;text-align:center;margin:0;padding-top:6px;border-top:1px solid var(--border);overflow-wrap:anywhere;font-size:11px;line-height:1.4}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies{margin-top:8px}
.hockey-appearance{position:relative;flex:0 0 auto;margin-left:auto;color:var(--muted)}
.hockey-appearance>summary{display:grid;place-items:center;list-style:none;box-sizing:border-box;width:36px;height:28px;padding:0;border:1px solid #252525;border-radius:3px;background:#000;color:#858585;font:12px/1 sans-serif;letter-spacing:2px;cursor:pointer}
.hockey-appearance>summary::-webkit-details-marker{display:none}
.hockey-appearance>summary:hover,.hockey-appearance[open]>summary{color:#ddd;border-color:#666}
.hockey-appearance>summary:focus-visible{outline:2px solid #ddd;outline-offset:3px}
.hockey-game-toolbar .hockey-appearance:not([open])>.global-highlight-controls{display:none}
.hockey-game-toolbar .hockey-appearance>.global-highlight-controls{position:absolute;z-index:50;top:calc(100% + 6px);right:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;box-sizing:border-box;width:min(320px,calc(100vw - 32px));max-width:none;margin:0;padding:12px;background:#050505;border:1px solid #363636;border-radius:5px;box-shadow:0 8px 24px #0009;opacity:1}
.hockey-game-toolbar .hockey-appearance[data-floating]>.global-highlight-controls{
  position:fixed;
  inset:auto;
  z-index:11000;
  max-width:calc(100% - 16px);
  max-height:calc(100dvh - 16px);
  overflow:auto;
  overscroll-behavior:contain;
}
.hockey-appearance[data-floating]>.global-highlight-controls:not([data-appearance-visible]){display:none}
.hockey-appearance-heading{display:none}
.hockey-appearance[data-floating] .hockey-appearance-heading{
  display:flex;
  flex:1 0 100%;
  min-height:28px;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:#ddd;
  font-size:12px;
  cursor:grab;
  touch-action:none;
  user-select:none;
}
.hockey-appearance-heading:active{cursor:grabbing}
.hockey-appearance-heading button{
  width:28px;
  height:28px;
  padding:0;
  border:1px solid #363636;
  border-radius:3px;
  background:#111;
  color:#ddd;
  font:18px/1 sans-serif;
  cursor:pointer;
}
.hockey-appearance .global-highlight-display-control{height:auto;max-width:100%;flex-wrap:wrap}
.hockey-appearance .global-highlight-display-option{
  width:auto;
  height:24px;
  gap:3px;
  padding:0 5px;
}
.hockey-appearance-mode-name{font-size:11px;color:#a9b0ac;white-space:nowrap}
.hockey-appearance .global-highlight-display-option input:checked~.hockey-appearance-mode-name{color:#fff}
.hockey-appearance .global-highlight-slider{flex:1 0 100%;display:grid;grid-template-columns:auto minmax(0,1fr) 36px;gap:8px}
.hockey-appearance .global-highlight-range{width:100%;min-width:0}
.hockey-appearance .global-highlight-title{font-size:10px;color:#bbb}
.hockey-appearance .global-highlight-value{width:36px;box-sizing:border-box;color:#eee}
@media(pointer:coarse){
  .hockey-appearance>summary{width:44px;height:36px}
  .hockey-game-page:not([data-hockey-view="live"]) .global-neutral-toggle{min-height:44px}
  .hockey-game-page:not([data-hockey-view="live"]) .global-highlight-display-control{height:auto}
  .hockey-game-page:not([data-hockey-view="live"]) .global-highlight-display-option{min-width:44px;min-height:44px;width:auto;height:auto}
}

/* NHL game research follows the baseball Game Center design system. */
.hockey-game-page:not([data-hockey-view="live"]){--panel:#111213;--panel-light:#1d1f21;--bg-soft:#191a1c;--border:#303236;background:var(--bg);color:var(--white)}
.hockey-game-page:not([data-hockey-view="live"]) .hockey-game-shell{width:min(1100px,90%);max-width:none;padding:0;margin:28px auto 80px}
.hockey-game-page:not([data-hockey-view="live"]) :is(.hockey-context,.hockey-coverage){color:var(--muted);font-size:.63rem}
.hockey-game-page:not([data-hockey-view="live"]) .hockey-game-shell a{color:inherit}
.hockey-game-page:not([data-hockey-view="live"]) .hockey-matchup{background:var(--panel);border-color:var(--border);border-radius:var(--radius-md);box-shadow:none}
.hockey-game-page:not([data-hockey-view="live"]) :is(.hockey-game-shell h1,.hockey-team strong){font-family:inherit;color:var(--white);font-weight:900;letter-spacing:0}
.hockey-game-page:not([data-hockey-view="live"]) :is(.hockey-team>span,.hockey-matchup-center p){font-family:inherit;color:var(--muted)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyVenue{color:var(--text)}

/* The shared body font supplies names and labels; baseball's data font supplies numbers. */
.hockey-game-page:not([data-hockey-view="live"]) :is(#hockeyGoalies,#hockeyTeamStats,#hockeyLineups){font-family:inherit;color:var(--text)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies{--ink:var(--text);--muted:inherit;--line:var(--border);--panel:inherit}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups{--hl-border:var(--border);--hl-muted:var(--muted)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies :is(h2,h3,h4,button,select,summary,.g-team,.g-demo,.g-meta,.g-status,.g-scope,.g-sample,.g-comparison thead small){font-family:inherit}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups :is(h2,h3,button,.hl-team-header p,.hl-status,.hl-scope,.hl-note,.hl-column-head,.hl-line-label,.hl-position,.hl-player-status,.hl-lineup-summary,.hl-source,.hl-view-toolbar,.hl-radar,.hl-radar-missing,.hl-radar-explanation,.hl-chart-dialog>p,.hl-chart-values,.hl-chart-values caption,.hl-advanced-note,.hl-advanced-main dt,.hl-advanced-details dt,.hl-advanced-metric small,.hl-advanced-raw){font-family:inherit}

/* Match the compact borders, panel fill, and spacing used by pitcher/offense cards. */
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies article,
.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-team,
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-team{background:var(--panel);border:1px solid var(--border);border-radius:4px;padding:7px 9px;box-shadow:none}
.hockey-game-page:not([data-hockey-view="live"]) :is(#hockeyGoalies .g-pair,#hockeyTeamStats .ht-pair,#hockeyLineups .hl-pair){gap:10px}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies h2{font-size:var(--pitcher-name-size,2rem);font-weight:900;line-height:1;letter-spacing:0;color:var(--white);gap:8px}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-team{margin:0 0 4px;font-size:.49rem;line-height:1.1;letter-spacing:.055em;color:var(--muted)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-hand{font-size:1rem;font-weight:800;color:var(--muted)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-meta{margin:2px 0 6px;font-size:.62rem;line-height:1.1;color:var(--muted)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-status{font-size:.64rem;font-weight:900;line-height:1;letter-spacing:.075em}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-status.confirmed{color:var(--teal)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-status.probable{color:var(--muted)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-full{font-size:.52rem;color:var(--muted);letter-spacing:.055em}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies :is(.g-sample,.g-scope,.g-demo){font-size:.61rem;line-height:1.4;color:var(--muted)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-controls{gap:7px;margin-bottom:6px;min-height:30px}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-venues{border-color:var(--border);padding:2px;gap:3px}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-venues button{padding:5px 10px;font-size:.68rem;line-height:1.1;letter-spacing:.055em;color:var(--text);background:var(--bg-soft);border-color:var(--border)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-venues button.positive{color:#a2f5bf;background:rgba(57,255,136,.08);border-color:rgba(57,255,136,.3)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-venues button.negative{color:#ffadb8;background:rgba(255,97,117,.08);border-color:rgba(255,97,117,.3)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-venues button[aria-pressed="true"]{border-color:var(--white);box-shadow:inset 0 0 0 1px rgba(245,247,246,.12)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-extra{height:30px;border-radius:4px;background:var(--bg-soft);border-color:var(--border);color:var(--muted)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-extra[aria-expanded="true"]{color:var(--white);border-color:var(--text);background:var(--panel-light)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-slider button{font-size:.61rem;color:var(--muted)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-slider button[aria-pressed="true"],
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-slider button.scrub{border-color:var(--text);background:rgba(255,255,255,.06);box-shadow:none}

.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison{background:transparent}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison table{background:transparent;font-size:.63rem;line-height:1;color:var(--white)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison :is(th,td){padding:3px 4px;border-bottom:1px solid var(--border);letter-spacing:0}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison thead th{font-family:inherit;font-size:.5rem;font-weight:700;letter-spacing:.025em;color:var(--muted)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison thead small{font-size:.49rem;line-height:1.2;letter-spacing:0;color:var(--muted);margin-top:2px}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison tbody th{font-family:inherit;font-size:.59rem;font-weight:800;letter-spacing:.08em;color:var(--text);text-transform:uppercase}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison tbody td{font-family:var(--bb-font-data,monospace);font-size:.63rem;font-weight:800;text-align:right}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison tbody tr:last-child>*{border-bottom:0}

/* These tones describe goalie deltas, not league ranks. Reuse baseball's cell treatment. */
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies td.positive{color:#a2f5bf;background:rgba(57,255,136,.08);box-shadow:inset 3px 0 0 rgba(57,255,136,.55)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies td.negative{color:#ffadb8;background:rgba(255,97,117,.08);box-shadow:inset 3px 0 0 rgba(255,97,117,.55)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies td.neutral{color:var(--text);background:rgba(130,144,135,.05);box-shadow:inset 3px 0 0 rgba(130,144,135,.25)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-panel{border-top-color:var(--border)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-panel :is(h3,h4){color:var(--white)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies :is(.g-close,select){background:var(--bg-soft);border-color:var(--border);border-radius:4px;color:var(--text)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-panel :is(p,ul,summary){color:var(--text)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-panel table{background:transparent}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-panel :is(th,td){border-bottom-color:var(--border)}

/* Shared team cells retain their original five-tier classes and preference-generated colors. */
.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table{background:transparent;font-family:inherit;line-height:1}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table :is(th,td){padding:3px 4px;border-bottom-color:var(--border)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-table tbody td{font-family:var(--bb-font-data,monospace);font-weight:800}

.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups h2{font-size:var(--game-module-heading-size,1rem);font-weight:900;line-height:1.1;color:var(--white);letter-spacing:0;margin:0 0 4px}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups h3{font-size:.78rem;font-weight:900;line-height:1.05;color:var(--white);letter-spacing:0;margin:12px 0 6px}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-team-header{padding-bottom:6px}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-team-header p{font-size:.49rem;letter-spacing:.055em;margin-bottom:2px}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups :is(.hl-status,.hl-scope,.hl-note,.hl-line-label,.hl-lineup-summary,.hl-source){font-size:.61rem;line-height:1.4;color:var(--muted)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-status-confirmed{color:var(--teal)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-column-head{font-size:.5rem;color:var(--muted);letter-spacing:.025em}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-card{padding:7px 6px;background:var(--bg-soft);border-color:var(--border);border-radius:4px;box-shadow:none}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-number{font-family:var(--bb-font-data,monospace);font-size:1.25rem;font-weight:800;color:var(--muted);letter-spacing:0}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-player-name{font-family:inherit;font-size:.84rem;font-weight:900;line-height:1.15;color:var(--white)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-formation{font-family:inherit}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-formation strong{color:var(--white)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-formation[data-roster=confirmed] span{color:var(--teal)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-position{font-size:.52rem;line-height:1.3;color:var(--muted)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-stats{border-color:var(--border);gap:5px 3px;padding-top:6px}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups dt{font-family:inherit;font-size:.5rem;line-height:1.1;color:var(--muted);letter-spacing:.025em}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups dd{font-family:var(--bb-font-data,monospace);font-size:.78rem;font-weight:800;line-height:1.1;color:var(--white);letter-spacing:0}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-player-status{font-size:.52rem;line-height:1.35;color:var(--muted)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups :is(button,.hl-view-toggle,.hl-chart-dialog button,.hl-period-toolbar button,.hl-advanced-open){background:var(--bg-soft);border-color:var(--border);border-radius:4px;color:var(--text);font-size:.61rem}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups button[aria-pressed="true"]{background:var(--panel-light);border-color:var(--text);color:var(--white)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-view-toolbar{font-size:.63rem;color:var(--text)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-chart-dialog{background:var(--panel);border-color:var(--border);color:var(--white)}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-chart-dialog-head h3{font-size:1.5rem}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups :is(.hl-advanced-main dd,.hl-advanced-details dd){font-family:var(--bb-font-data,monospace)}

.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison td.g-stat-missing{color:var(--muted);background:transparent;box-shadow:none}

/* The shared stylesheet already handles rank cells. Apply the same modes to goalie delta tones. */
html[data-highlight-display-mode="black-white"] .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies :is(td.positive,td.negative,td.neutral,.g-name,.g-venues button,.g-slider .g-dot){filter:grayscale(1) saturate(0)}
html[data-highlight-display-mode="text-only"] .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies :is(td.positive,td.negative,td.neutral,.g-name){background:transparent;box-shadow:none;text-shadow:none;filter:none}
html[data-highlight-display-mode="text-only"] .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-venues button{background:transparent;box-shadow:none}
html[data-highlight-display-mode="off"] .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies :is(td.positive,td.negative,td.neutral,.g-name,.g-venues button){color:var(--text);background:transparent;box-shadow:none;text-shadow:none;filter:none}
html[data-highlight-display-mode="off"] .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-venues button{border-color:var(--border)}
html[data-highlight-display-mode="off"] .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-venues button[aria-pressed="true"]{border-color:var(--text)}
html[data-highlight-display-mode="off"] .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-dot{background:var(--muted);box-shadow:none;filter:none}

@media(max-width:620px){
  .hockey-game-page:not([data-hockey-view="live"]) .hockey-game-shell{width:calc(100% - 20px);margin-top:16px}
  .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies article,
  .hockey-game-page:not([data-hockey-view="live"]) #hockeyTeamStats .ht-team,
  .hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-team{padding:7px}
  .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-comparison tbody td{font-size:.78rem}
  .hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-player-name{font-size:.81rem}
}
@media(pointer:coarse){
  .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-extra,
  .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-venues button{min-height:44px}
}

/* Pair each team's research on a sideways phone; portrait stays stacked. */
@media(min-width:560px) and (max-width:1080px) and (max-height:600px) and (orientation:landscape){
  body.hockey-game-page:not([data-hockey-view="live"]) :is(#hockeyGoalies .g-pair,#hockeyTeamStats .ht-pair,#hockeyLineups .hl-pair){grid-template-columns:repeat(2,minmax(0,1fr))}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-top>:first-child{min-width:0}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-controls{grid-template-columns:1fr auto}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-slider{grid-column:1 / -1;justify-self:end;max-width:100%}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-player-head{display:block;min-height:72px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-number{display:block;font-size:20px;margin-bottom:4px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-player-name{font-size:.81rem}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:560px) and (max-width:620px) and (max-height:600px) and (orientation:landscape){
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Fit graph cards to their content; preserve graph width and every text size. */
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-pair[data-view="radar"] .hl-card{padding-block:4px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-pair[data-view="radar"] .hl-player-head{min-height:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-pair[data-view="radar"] .hl-position{margin-top:2px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-pair[data-view="radar"] .hl-radar-open{margin-top:2px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-pair[data-view="radar"] .hl-player-status{margin-top:3px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-pair[data-view="radar"] .hl-group-intro{min-height:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hl-pair[data-view="radar"] .hl-line-label{margin:6px 0 3px}

/* Keep venue, recent-start and extra controls in one row, including touch screens. */
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-controls{grid-template-columns:auto minmax(0,1fr) auto;gap:6px;min-width:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-controls>.g-venues{border:0;border-radius:0;padding:0;gap:2px;background:transparent}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-controls>.g-venues button{padding:5px 4px;letter-spacing:.01em;white-space:nowrap}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-controls>.g-slider{grid-column:auto;justify-self:end;width:100%;max-width:230px;min-width:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-controls>.g-slider .g-track{left:10%;right:10%}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-controls>.g-extra{width:32px;min-width:32px;padding-inline:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-source-records{margin-top:6px}

/* Lineup comparison with independently scrollable team tables. */
#hockeyLineups { min-inline-size: 0; }
#hockeyLineups:has(> dialog.hlt[open]) { min-block-size: var(--hlt-inline-height, 0px); }
html:has(dialog.hlt[open]) { overflow: hidden; }
#hockeyLineups .hlt {
  --hlt-panel: var(--bg-soft, #141a21);
  --hlt-row: var(--bg, #0d131a);
  --hlt-text: var(--text, #e2e8f0);
  --hlt-muted: var(--muted, #a0adbd);
  --hlt-rule: var(--border, #28333e);
  --hlt-gutter: .85rem;
  min-inline-size: 0;
  border: 1px solid var(--hlt-rule);
  border-radius: 8px;
  background: var(--hlt-row);
  color: var(--hlt-text);
  font: 13px/1.4 system-ui, sans-serif;
}
.hlt .hlt-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .45rem 1rem;
  padding: .8rem var(--hlt-gutter) .55rem;
}
#hockeyLineups .hlt .hlt-heading h2 { margin: 0; font: 700 1.05rem/1.2 system-ui, sans-serif; }
.hlt-heading p, .hlt .hlt-foot { margin: .3rem 0 0; color: var(--hlt-muted); font-size: .72rem; }
.hlt .hlt-filters { display: grid; gap: .45rem; padding: 0 var(--hlt-gutter) .6rem; }
.hlt-sample-controls { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.hlt .hlt-compact-controls { display: none; }
.hlt .hlt-layout-controls { column-gap: .65rem; }
#hockeyLineups .hlt .hlt-layout-controls button { padding: .3rem .55rem; border-color: var(--hlt-rule); }
.hlt-choices { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.hlt-choices button {
  padding: .2rem .56rem;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--hlt-muted);
  background: transparent;
  font: 600 .72rem/1.35 system-ui, sans-serif;
  cursor: pointer;
}
.hlt-periods button { background: var(--hlt-panel); border-color: var(--hlt-rule); }
.hlt-choices button:hover, .hlt-choices button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--hlt-text) 10%, var(--hlt-panel));
  border-color: var(--hlt-rule);
  color: var(--hlt-text);
}
.hlt-categories button[aria-pressed="true"] {
  border-block-end-color: var(--hlt-muted);
}
.hlt-teams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.25rem, 1vw, .65rem);
  padding-inline: var(--hlt-gutter);
}
.hlt-teams:not([data-team-view="both"]) { grid-template-columns: minmax(0, 1fr); }
.hlt-pane {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-inline-size: 0;
  min-block-size: 0;
  border: 1px solid var(--hlt-rule);
  border-radius: 5px;
  overflow: hidden;
}
.hlt-team {
  min-inline-size: 0;
  padding: .42rem .55rem;
  background: var(--hlt-panel);
  border-block-end: 1px solid var(--hlt-rule);
}
.hlt-side-label, .hlt .hlt-team-status {
  color: var(--hlt-muted);
  font: 600 .65rem/1.3 system-ui, sans-serif;
}
.hlt-side-label { text-transform: uppercase; letter-spacing: .07em; }
.hlt-side-label b { margin-inline-start: .25rem; color: var(--hlt-text); }
#hockeyLineups .hlt .hlt-team h3 {
  margin: .15rem 0;
  font: 700 .8rem/1.25 system-ui, sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hlt .hlt-team-status { margin: 0; }
.hlt .hlt-scroll {
  position: relative;
  min-inline-size: 0;
  min-block-size: 0;
  overflow: auto;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}
.hlt .hlt-scroll:focus-visible { outline-offset: -2px; }
.hlt .hlt-table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font: inherit;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hlt-table :is(th, td) { padding: .28rem .55rem; border-block-end: 1px solid var(--hlt-rule); text-align: end; }
.hlt-table thead th { background: var(--hlt-panel); }
.hlt-table thead .hlt-groups th {
  padding-block: .28rem;
  color: var(--hlt-muted);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .075em;
  text-align: start;
}
.hlt-table thead button {
  border: 0;
  padding: .1rem 0;
  background: transparent;
  color: inherit;
  font: 700 .69rem/1.2 system-ui, sans-serif;
  cursor: pointer;
}
.hlt-table thead button:hover { text-decoration: underline; text-underline-offset: 3px; }
.hlt-table thead th[aria-sort] { box-shadow: inset 0 -1px var(--hlt-muted); }
.hlt-table .hlt-player {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  inline-size: var(--hlt-player-width, clamp(8rem, 22vw, 13rem));
  max-inline-size: var(--hlt-player-width, clamp(8rem, 22vw, 13rem));
  min-inline-size: var(--hlt-player-width, clamp(8rem, 22vw, 13rem));
  text-align: start;
  border-inline-end: 1px solid var(--hlt-rule);
  box-shadow: 2px 0 4px #0002;
}
.hlt-table tbody tr { background: var(--hlt-row); }
.hlt-table tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--hlt-panel) 55%, var(--hlt-row)); }
.hlt-table tbody tr:hover { background: color-mix(in srgb, var(--hlt-text) 7%, var(--hlt-row)); }
.hlt-table tbody .hlt-player { background: inherit; }
.hlt-gp.metric-elite { --hlt-gp-tint: #ffaf73; --hlt-gp-strength: 22%; }
.hlt-gp.metric-good { --hlt-gp-tint: #ffd1aa; --hlt-gp-strength: 13%; }
.hlt-gp.metric-poor { --hlt-gp-tint: #add7ff; --hlt-gp-strength: 13%; }
.hlt-gp.metric-awful { --hlt-gp-tint: #76baff; --hlt-gp-strength: 22%; }
html[data-highlight-neutral="spectrum"] .hlt-gp.metric-average {
  --hlt-gp-tint: #d7cce1;
  --hlt-gp-strength: 10%;
}
html:not([data-highlight-display-mode="off"], [data-highlight-display-mode="black-white"]) #hockeyLineups .hlt-table .hlt-gp.global-tier-highlight {
  --hl-rank-color: var(--hlt-gp-tint, var(--hlt-text));
}
html:not([data-highlight-display-mode="off"], [data-highlight-display-mode="black-white"], [data-highlight-display-mode="text-only"]) #hockeyLineups .hlt-table .hlt-gp.global-tier-highlight:not(.metric-missing) {
  background: color-mix(in srgb, var(--hlt-gp-tint, transparent) var(--hlt-gp-strength, 0%), transparent) !important;
  box-shadow: inset 3px 0 color-mix(in srgb, var(--hlt-gp-tint, transparent) 85%, transparent) !important;
}
.hlt-player a { color: inherit; font-weight: 650; text-decoration: none; }
.hlt-player a:hover { text-decoration: underline; text-underline-offset: 2px; }
.hlt-player :is(a,small) { display: block; overflow: hidden; text-overflow: ellipsis; }
.hlt-player small { color: var(--hlt-muted); font-size: .65rem; font-weight: 500; }
.hlt-player-meta { display: flex; align-items: center; gap: .35rem; }
.hlt-player-meta small { min-width: 0; }
#hockeyLineups .hlt .hlt-table .hlt-player .hlt-sample {
  all: unset;
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
#hockeyLineups .hlt .hlt-table .hlt-player .hlt-sample:is(:hover, :focus-visible) {
  text-decoration: underline;
}
#hockeyLineups .hlt .hlt-table .hlt-player .hlt-sample:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
.hlt[data-category="advanced"] td[data-stat] { cursor: pointer; }
.hlt-foot .hl-advanced-help { margin-top: .4rem; }
.hlt-table .hlt-empty { text-align: start; color: var(--hlt-muted); padding: .6rem; }
.hlt .hlt-foot { margin: 0; padding: .45rem var(--hlt-gutter); }
#hockeyLineups dialog.hlt[open] {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  display: grid;
  grid-template: auto auto minmax(0, 1fr) auto / minmax(0, 1fr);
  inline-size: auto;
  block-size: auto;
  max-inline-size: 100dvw;
  max-block-size: 100dvh;
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
dialog.hlt .hlt-teams { grid-template-rows: minmax(0, 1fr); min-block-size: 0; }
dialog.hlt .hlt-filters { max-block-size: 30dvh; overflow-y: auto; }
dialog.hlt .hlt-scroll { overscroll-behavior: contain; scrollbar-gutter: stable; }
dialog.hlt .hlt-table thead { position: sticky; inset-block-start: 0; z-index: 2; }
dialog.hlt .hlt-table thead .hlt-player { z-index: 3; }
.hlt-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 699px) {
  #hockeyLineups .hlt { --hlt-gutter: .4rem; }
  .hlt .hlt-heading { align-items: start; }
  .hlt-heading p, .hlt .hlt-foot { font-size: .67rem; }
  .hlt-teams { --hlt-player-width: clamp(6rem, 32vw, 10rem); }
  .hlt .hlt-filters { gap: .35rem; }
  .hlt-table :is(th,td) { padding-inline: .4rem; }
  .hlt-table .hlt-player a { white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 699px) and (orientation: portrait) {
  .hlt-teams[data-team-view="both"] { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  dialog.hlt .hlt-teams[data-team-view="both"] {
    grid-template-rows: repeat(2, max-content);
    align-content: start;
    overflow-y: auto;
  }
  dialog.hlt .hlt-teams[data-team-view="both"] .hlt-scroll { scrollbar-gutter: auto; }
}
@media (max-width: 699px) and (orientation: landscape) {
  .hlt-teams[data-team-view="both"] { --hlt-player-width: clamp(5.5rem, 18vw, 9rem); }
}
@media (max-width: 699px), (max-width: 1024px) and (max-height: 520px) and (pointer: coarse) {
  .hlt .hlt-layout-controls, .hlt .hlt-filters { display: none; }
  #hockeyLineups dialog.hlt[open] { grid-template-rows: auto minmax(0, 1fr) auto; }
  .hlt .hlt-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .24rem;
    padding-block: .4rem;
  }
  #hockeyLineups .hlt .hlt-heading h2 { font-size: .87rem; }
  .hlt .hlt-heading p { margin-block-start: .1rem; line-height: 1.25; }
  .hlt .hlt-compact-controls {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 1fr) 44px;
    gap: 4px;
  }
  #hockeyLineups .hlt-compact-controls :is(.hlt-picker, button) {
    box-sizing: border-box;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 4px;
    border: 1px solid var(--hlt-rule);
    border-radius: 4px;
    background: var(--hlt-panel);
    color: var(--hlt-text);
    font: 600 .72rem/1.2 system-ui, sans-serif;
  }
  .hlt-picker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
  }
  .hlt-picker span { min-width: 0; overflow-wrap: anywhere; }
  .hlt-picker::after {
    content: '';
    flex: none;
    width: 5px;
    height: 5px;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: translateY(-1px) rotate(45deg);
  }
  .hlt-picker select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; }
  .hlt-picker:focus-within { outline: 2px solid var(--hlt-muted); outline-offset: 1px; }
  .hlt-picker:has(select:disabled) { opacity: .55; }
  #hockeyLineups .hlt-compact-controls button { display: grid; place-items: center; }
  .hlt .hlt-team {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .15rem .45rem;
    padding: .3rem .4rem;
  }
  #hockeyLineups .hlt .hlt-team h3 { margin: 0; }
  .hlt .hlt-team-status { margin-inline-start: auto; }
  .hlt-table :is(th, td) { padding: .22rem .35rem; }
  .hlt-table thead .hlt-groups th { padding-block: .18rem; }
  .hlt-table thead tr:last-child th { padding: 0; }
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups .hlt-table thead button {
    display: block;
    width: 100%;
    min-height: 28px;
    padding: .25rem .35rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: inherit;
  }
}
@media (max-width: 359px) {
  .hlt .hlt-compact-controls { grid-template-columns: repeat(4, minmax(0, 1fr)) 44px; }
  #hockeyLineups .hlt-compact-controls .hlt-picker {
    padding-inline: 3px;
    gap: 2px;
    font-size: .65rem;
  }
  .hlt-picker::after { width: 4px; height: 4px; }
}
@media (max-height: 480px) {
  #hockeyLineups dialog.hlt[open] { display: block; overflow-y: auto; }
  dialog.hlt .hlt-heading {
    position: sticky;
    inset-block-start: 0;
    z-index: 4;
    background: var(--hlt-row);
  }
  dialog.hlt .hlt-filters { max-block-size: none; overflow: visible; }
  dialog.hlt .hlt-teams { grid-template-rows: auto; }
  dialog.hlt .hlt-pane { grid-template-rows: auto auto; }
}

/* An opt-in lineup overview. Expanded graphs retain their full detail size. */
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups{scroll-margin-top:72px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"]{--hl-small-graph:80px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-team{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:1 / span 7;row-gap:0;padding:6px;min-width:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-team[data-side="away"]{grid-column:1}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-team[data-side="home"]{grid-column:2}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-team-header{grid-row:1}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-team-intro{grid-row:2}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-group[aria-label="Offense"]{grid-row:3}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-group[aria-label="Defense"]{grid-row:4}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-group[aria-label="Other reported participants"]{grid-row:5}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] :is(.hl-special-teams,.hl-group[aria-label="Goalies"]){grid-row:6}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-source{grid-row:7}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-team-header{padding-bottom:4px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-team-header h2{font-size:14px;margin-bottom:2px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-team :is(.hl-status,.hl-scope,.hl-note,.hl-radar-explanation){font-size:9px;line-height:1.2;margin-block:3px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-formation{font-size:9px;line-height:1.2;margin:5px 0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-formation strong{font-size:11px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-player-groups{display:contents;min-width:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-group{min-width:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-group h3{font-size:11px;line-height:1.1;margin:7px 0 4px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-group-intro{min-height:24px;justify-content:flex-start}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-column-head{font-size:7px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-line-label{font-size:8px;line-height:1.1;margin:3px 0 2px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-grid{gap:3px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-card{padding:3px 2px;min-width:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-player-head{display:flex;align-items:flex-start;gap:3px;min-height:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-number{display:block;font-size:13px;line-height:1.1;margin:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-player-name{font-size:11px;line-height:1.1;overflow-wrap:anywhere}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-position{font-size:7px;line-height:1.1;margin-top:1px}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-radar-open{width:100%;margin-top:2px;min-height:0}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-radar{width:100%;max-width:var(--hl-small-graph);height:auto}
body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] :is(.hl-player-status,.hl-radar-missing){font-size:7px;line-height:1.15;margin-top:2px}

/* Six forward cards stay across the phone: three skaters from each club. */
@media(max-width:699px){
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"]{gap:0 4px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-team{padding:3px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-grid{gap:2px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-card{padding:2px 1px;min-height:108px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-player-head{gap:2px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-player-name{font-size:8.5px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-number{font-size:9px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] :is(.hl-position,.hl-player-status,.hl-radar-missing){font-size:6px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 1px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-stats dd{font-size:clamp(7px,1.9vw,11px);overflow-wrap:anywhere}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-group-intro{min-height:38px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-combination-note{font-size:7px}
}

/* Smaller cards preserve four forward lines, then three centered defense pairs. */
@media(min-width:1000px) and (min-height:620px){
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"]{--hl-small-graph:clamp(28px,calc((100dvh - 540px)/7),64px)}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"]:has(>.hl-pair[data-view="radar"])>.hl-view-toolbar{display:inline-flex;vertical-align:middle;gap:8px;margin:0 8px 3px 0}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"]:has(>.hl-pair[data-view="radar"])>.hl-period-toolbar{display:inline-flex;vertical-align:middle;gap:4px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"]:has(>.hl-pair[data-view="radar"])>.hl-advanced-note{font-size:9px;line-height:1.2;margin:3px 0 6px}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-card:has(>.hl-radar-open){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,var(--hl-small-graph));column-gap:4px;row-gap:1px;align-items:start}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-player-head{grid-column:1;grid-row:1}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-player-status{grid-column:1;grid-row:2}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-radar-missing{grid-column:1;grid-row:3}
  body.hockey-game-page:not([data-hockey-view="live"]) #hockeyLineups[data-lineup-size="half"] .hl-pair[data-view="radar"] .hl-radar-open{grid-column:2;grid-row:1 / 4;margin:0}
}

/* Use the same compact, borderless inline history layout as pitcher history. */
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-history-trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  min-height: 1.15rem;
  margin-left: .28rem;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: currentColor;
  font-family: inherit;
  font-size: .76rem;
  line-height: 1;
  opacity: .68;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-history-trigger[aria-expanded="true"] {
  background: transparent;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-history-trigger:hover,
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-history-trigger:focus-visible {
  opacity: 1;
}
@media (pointer:coarse) {
  .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-history-trigger {
    min-width: 44px;
    min-height: 44px;
  }
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history {
  margin: .32rem 0 .45rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-family: inherit;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history > .g-panel-head,
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history > .g-history-player {
  display: none;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history > p {
  margin: 2px 0;
  font-size: .55rem;
  line-height: 1.3;
  color: var(--muted);
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-filter {
  gap: 4px;
  margin: 2px 0;
  font-family: inherit;
  font-size: .55rem;
  font-weight: 700;
  line-height: 1.15;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-browser-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin: 2px 0;
  font-size: .55rem;
  line-height: 1.3;
  color: var(--muted);
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history select {
  min-height: 0;
  padding: 2px 4px;
  border-color: var(--border);
  background: transparent;
  font-family: inherit;
  font-size: .55rem;
  line-height: 1.15;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-scroll {
  margin: 3px 0;
  max-width: 100%;
  overflow-x: auto;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table {
  display: table;
  width: max-content;
  min-width: 0;
  margin: 0 auto;
  table-layout: auto;
  border-collapse: collapse;
  background: transparent;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table thead {
  display: table-header-group;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table tbody {
  display: table-row-group;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table tr {
  display: table-row;
  width: auto;
  min-height: 0;
  margin: 0;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table th,
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table td {
  width: auto;
  min-width: 0;
  max-width: none;
  padding: 2px 4px;
  font-size: .59rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  text-align: right;
  letter-spacing: 0;
  cursor: default;
  border-right: 1px solid var(--border);
  border-bottom: 1px dotted var(--border);
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table td {
  font-family: var(--bb-font-data, monospace);
  font-weight: 800;
}
/* Ranked history cells use the same palette and display modes as main stats. */
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table th:first-child {
  position: static;
  min-width: 62px;
  text-align: left;
  background: var(--panel);
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table td:nth-child(2) {
  font-family: inherit;
  text-align: center;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-seasons td:nth-child(2) {
  font-family: var(--bb-font-data, monospace);
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table .g-history-decision {
  width: 22px;
  min-width: 22px;
  max-width: 22px;
  padding-right: 2px;
  padding-left: 2px;
  text-align: center;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table abbr {
  cursor: inherit;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table thead th {
  padding: 2px 4px;
  font-family: inherit;
  font-size: .5rem;
  font-weight: 800;
  background: var(--panel);
  color: var(--muted);
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table button,
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table label {
  min-height: 0;
  font: inherit;
  line-height: 1.15;
  color: inherit;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table [data-hselect-year] {
  margin: 0;
  padding: 0 2px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  text-align: inherit;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table [data-hselect-year]:focus-visible {
  outline: 1px solid var(--muted);
  outline-offset: 1px;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table input {
  width: 9px;
  height: 9px;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table .g-history-section {
  background: rgba(124,148,177,.12);
  border-top: 1px solid var(--border);
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table .g-history-section th {
  font-size: .55rem;
  white-space: normal;
  font-weight: 800;
}
/* Shared measured columns keep the three history viewports aligned in Safari. */
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table:is(.has-season-scroll, .has-history-scroll) {
  display: block;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history :is(.has-season-scroll, .has-history-scroll) > thead,
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history :is(.has-season-scroll, .has-history-scroll) > tbody {
  display: block;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history :is(.has-season-scroll, .has-history-scroll) tr {
  display: grid;
  grid-template-columns: var(--g-history-columns);
  /* Keep the last metric clear of a classic scrollbar without moving columns. */
  padding-right: 12px;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history :is(.has-season-scroll, .has-history-scroll) th[colspan="8"] {
  grid-column: 1 / -1;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history :is(.has-season-scroll, .has-history-scroll) > :is(.g-history-seasons, .g-history-days, .g-history-matchups) {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #65766d #101612;
  cursor: default;
  touch-action: auto;
  -webkit-overflow-scrolling: touch;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history :is(.has-season-scroll, .has-history-scroll) > .g-history-seasons {
  max-height: var(--g-history-season-height, 56px);
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history :is(.has-season-scroll, .has-history-scroll) > .g-history-days {
  max-height: var(--g-history-days-height, 144px);
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history :is(.has-season-scroll, .has-history-scroll) > .g-history-matchups {
  max-height: var(--g-history-matchup-height, 112px);
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history :is(.g-history-seasons, .g-history-days, .g-history-matchups):focus-visible {
  outline: 1px solid var(--muted);
  outline-offset: -1px;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history :is(.g-history-seasons, .g-history-days, .g-history-matchups)::-webkit-scrollbar {
  width: 8px;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history :is(.g-history-seasons, .g-history-days, .g-history-matchups)::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #65766d;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history :is(.g-history-seasons, .g-history-days, .g-history-matchups)::-webkit-scrollbar-track {
  background: #101612;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-archive-toggle,
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-pages button,
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history [data-hmore] {
  min-height: 0;
  padding: 3px 5px;
  margin: 3px 0;
  border-color: var(--border);
  background: transparent;
  font-family: inherit;
  font-size: .55rem;
  line-height: 1.15;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-notes {
  border: 0;
  margin: 3px 0;
  padding: 0;
}
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-notes summary,
.hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-notes p {
  min-height: 0;
  margin: 3px 0;
  font-family: inherit;
  font-size: .55rem;
  line-height: 1.3;
}
@media (max-width:620px) {
  .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table th,
  .hockey-game-page:not([data-hockey-view="live"]) #hockeyGoalies .g-recent-history .g-history-table td {
    font-size: .61rem;
  }
}


.g-history-league {
  display: inline-block;
  margin-left: .35em;
  font-size: .78em;
  font-weight: 500;
  opacity: .68;
  white-space: nowrap;
}
.g-history-league-totals { margin: .5em 0; }
.g-history-league-totals summary { cursor: pointer; font-size: .8em; }
.g-history-league-totals table { width: 100%; font-size: .75em; }

.hockey-game-page #hockeyStatus{font-size:.75rem;color:#999;margin:0 0 .35rem;line-height:1.4}
.hockey-team-schedule{margin:.8rem 0 1rem;font-variant-numeric:tabular-nums}
.hockey-team-schedule[hidden]{display:none}
.hts-pair{--hts-tile-height:4.6rem;--hts-game-gap:.3rem;display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);align-items:start;gap:.55rem}
.hts-team{min-width:0}
.hts-team-name{display:none}
.hts-console{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));align-self:start;box-sizing:border-box;width:36px;height:var(--hts-tile-height);overflow:hidden;border:1px solid #555c61;border-radius:4px;background:#15181a}
.hts-console button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:1px;border:0;border-radius:0;background:transparent;color:#c9ced2;font-family:inherit;font-size:10px;font-weight:700;line-height:1.15;letter-spacing:.02em;cursor:pointer;touch-action:manipulation}
.hts-console button+button{border-top:1px solid #3d4246}
.hts-console button:hover{background:#30363a;color:#fff}
.hts-console button[aria-pressed=true],.hts-console button[aria-expanded=true]{background:#d8dce0;color:#111518}
.hts-console button:focus-visible{position:relative;z-index:1;outline:2px solid #fff;outline-offset:-3px}
.hts-console svg{display:block;width:12px;height:12px;fill:currentColor}
.hts-games{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:var(--hts-game-gap,.3rem);list-style:none;padding:0;margin:0}
.hts-scroll{box-sizing:border-box;width:100%;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#545d64 transparent}
.hts-scroll:focus-visible{outline:2px solid #dce3e8;outline-offset:3px;border-radius:3px}
.hts-scroll::-webkit-scrollbar{height:4px}
.hts-scroll::-webkit-scrollbar-track{background:transparent}
.hts-scroll::-webkit-scrollbar-thumb{border-radius:4px;background:#545d64}
.hts-scroll::-webkit-scrollbar-thumb:hover{background:#78848d}
.hts-scroll .hts-games{width:100%;min-width:0;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 6 * var(--hts-game-gap,.3rem)) / 7)}
.hts-scroll .hts-game[href]:focus-visible{outline-offset:-3px}
.hts-slot{min-width:0}
.hts-game{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;height:var(--hts-tile-height);min-height:var(--hts-tile-height);padding:.35rem .08rem;border:1px solid #444;border-radius:3px;background:#191c1e;color:#d9d9d9;font-size:.8rem;line-height:1.15;text-decoration:none;white-space:nowrap}
.hockey-game-page #hockeyTeamSchedule .hts-game.hts-win{color:#7fce9f;border-color:#7fce9f}
.hockey-game-page #hockeyTeamSchedule .hts-game.hts-loss{color:#ed8f9a;border-color:#ed8f9a}
html[data-highlight-display-mode="black-white"] .hockey-game-page #hockeyTeamSchedule .hts-game.hts-win{background:#000;color:#fff;border-color:#777}
html[data-highlight-display-mode="black-white"] .hockey-game-page #hockeyTeamSchedule .hts-game.hts-loss{background:#fff;color:#000;border-color:#fff}
html[data-highlight-display-mode="black-white"] .hockey-game-page #hockeyTeamSchedule .hts-game:is(.hts-win,.hts-loss):hover{box-shadow:inset 0 0 0 1px currentColor}
html[data-highlight-display-mode="black-white"] .hockey-game-page #hockeyTeamSchedule .hts-game.hts-loss:focus-visible{outline-color:#000}
.hts-game[href]:hover{filter:brightness(1.2);border-color:#c7c7c7}
.hts-game[href]:focus-visible{outline:2px solid #fff;outline-offset:2px}
.hts-game time{font-size:.64rem;color:inherit;opacity:.8}
.hts-opponent{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:.72rem;color:inherit}
.hts-compact-opponent{display:none}
.hts-score{font-size:.82rem;letter-spacing:.01em;color:inherit}
.hts-score b{font-weight:700}
.hts-result{font-size:.6rem;margin-left:.2rem;letter-spacing:0}
.hts-upcoming{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:.58rem;letter-spacing:.05em;text-transform:uppercase;color:#a9aeb1}
.hts-empty{color:#70777c}
.hts-note{font-size:.65rem;color:#929292;margin:.3rem .2rem 0;line-height:1.4}
.hts-panel{box-sizing:border-box;min-width:0;margin-top:.55rem;padding:.65rem;border:1px solid #383e42;border-radius:4px;background:#15181a;color:#dce0e3}
.hts-panel[hidden]{display:none}
.hts-heading{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .5rem;min-width:0;margin:0 0 .5rem}
.hts-title{margin:0;color:#f2f4f5;font-size:.69rem;font-weight:700;line-height:1.35;letter-spacing:.04em}
.hts-scope{color:#aeb5ba;font-size:.62rem;line-height:1.4}
.hts-splits{display:inline-flex;flex-shrink:0;margin-left:auto;border:1px solid #4b5257;border-radius:3px;overflow:hidden}
.hts-trend-scopes{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-bottom:.4rem;color:#c3cbd0;font-size:.68rem}
.hts-trend-scopes .hts-splits{margin-left:0}
.hts-splits button{min-height:25px;margin:0;padding:.2rem .45rem;border:0;border-radius:0;background:transparent;color:#bfc6cb;font:inherit;font-size:.62rem;font-weight:600;line-height:1.2;cursor:pointer;touch-action:manipulation}
.hts-splits button+button{border-left:1px solid #3b4348}
.hts-splits button:hover{background:#30373c;color:#fff}
.hts-splits button[aria-pressed=true]{background:#d8dce0;color:#111518}
.hts-splits button:focus-visible{position:relative;outline:2px solid #fff;outline-offset:-3px}
.hts-last-days{display:inline-flex;align-items:center;gap:.2rem;padding:0 .3rem;border-left:1px solid #3b4348;color:#bfc6cb;white-space:nowrap;font-size:.62rem}
.hts-last-days input{width:2.5em;height:22px;padding:0 .12rem;border:1px solid #4b5257;border-radius:3px;background:#111518;color:#e3e7ea;text-align:center;font:16px/1 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.hts-last-days input:focus-visible{outline:1px solid #dce0e3;outline-offset:1px}
.hts-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem .65rem;padding:.5rem;margin:0 0 .65rem;border:1px solid #30373b;border-radius:3px;font-size:.67rem;line-height:1.45}
.hts-summary .hts-stat+.hts-stat{padding-left:.5rem;border-left:1px solid #30373b}
.hts-stat{display:flex;align-items:baseline;gap:.3rem;min-width:0}
.hts-summary .hts-stat,.hts-game-metrics .hts-stat{flex-direction:column;align-items:flex-start;gap:.15rem}
.hts-stat-label{color:#aeb5ba;font-size:.61rem}
.hts-stat-value{font-size:.72rem;font-weight:650}
.hts-stat-value:not(.global-tier-highlight){color:#f0f2f4}
.hts-stat-value.hts-metric{padding:.06rem .2rem;margin-left:-.2rem}
.hts-metric.global-tier-highlight{border-radius:2px;box-shadow:none!important;text-shadow:none!important;cursor:default}
html[data-highlight-display-mode="black-white"] #hockeyTeamSchedule .hts-metric.global-tier-highlight{filter:grayscale(1) saturate(0)!important}
html[data-highlight-display-mode="text-only"] #hockeyTeamSchedule .hts-metric.global-tier-highlight{background:transparent!important;box-shadow:none!important;filter:none!important}
html[data-highlight-display-mode="off"] #hockeyTeamSchedule .hts-metric.global-tier-highlight{color:#edf0f2!important;background:transparent!important;box-shadow:none!important;filter:none!important}
.hts-game-metrics{display:grid;gap:.65rem;padding:0 0 .65rem;margin:0 0 .45rem;border-bottom:1px solid #30373b;line-height:1.35}
.hts-group-title{margin:0 0 .35rem;color:#aeb5ba;font-size:.61rem;font-weight:650;letter-spacing:.035em}
.hts-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem .65rem}
.hts-metric-group-puckline .hts-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hts-stat-result{display:flex;align-items:baseline;flex-wrap:wrap;gap:.2rem .4rem}
.hts-game-metrics .hts-stat-value,.hts-summary .hts-stat-value{font-size:.8rem}
.hts-stat-sample,.hts-sample-note,.hts-checked{color:#9ba5ad;font-size:.58rem;line-height:1.35;font-weight:400}
.hts-sample-note,.hts-checked{display:block;margin-top:.15rem}
.hts-table-wrap{min-width:0;width:100%}
.hts-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;margin:0;background:transparent;color:#dce0e3;font-size:.66rem;line-height:1.35;font-variant-numeric:tabular-nums}
.hts-table th,.hts-table td{padding:.34rem .15rem;border:0;border-bottom:1px solid #2c3337;text-align:center;vertical-align:middle;overflow-wrap:anywhere}
.hts-table thead th{padding-top:.2rem;padding-bottom:.4rem;color:#eef1f3;font-size:.61rem;font-weight:700;background:transparent;letter-spacing:.01em}
.hts-table tr>:first-child{width:43%;padding-left:0;text-align:left;overflow-wrap:normal}
.hts-table tbody th{color:#c6cdd2;font-weight:500;background:transparent}
.hts-table tbody td:not(.global-tier-highlight){color:#edf0f2}
.hts-table tbody tr:last-child>:is(th,td){border-bottom:0}
.hts-table .hts-section-label{color:#aeb8bf;font-size:.59rem;font-weight:700;letter-spacing:.055em;text-transform:uppercase}
.hts-table .hts-section-label>:is(th,td){padding-top:.65rem;padding-bottom:.25rem;border-bottom:1px solid #41494e;color:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;background:transparent}
.hts-diff-chart{display:block;box-sizing:border-box;width:100%;height:auto;overflow:visible;color:#c3cbd0}
.hts-diff-scroll{min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#545d64 transparent}
.hts-diff-scroll:focus-visible{outline:2px solid #dce3e8;outline-offset:3px;border-radius:3px}
.hts-diff-scopes{margin-left:auto}
.hts-diff-zero{fill:none;stroke:#59636a;stroke-width:1;vector-effect:non-scaling-stroke}
.hts-diff-mean{fill:none;stroke:#f0f3f5;stroke-width:1;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
.hts-diff-bar{fill:#bfc8ce}
.hts-diff-bar.is-negative{fill:#737e87}
.hts-diff-bar.is-zero{fill:#a2adb5}
.hts-diff-label{fill:#aeb8bf;font-family:inherit;font-size:12px;line-height:1.2}
.hts-diff-value{fill:#e5ebef;font-weight:600}
.hts-diff-average{margin-left:auto;color:#edf1f4;font-family:inherit;font-size:.69rem;font-weight:600;line-height:1.2;white-space:nowrap}
@media(max-width:760px),(pointer:coarse) and (hover:none) and (max-height:500px) and (max-width:1024px){
  .hockey-team-schedule{margin:.55rem 0 .7rem}
  .hts-pair{--hts-tile-height:2.625rem;--hts-game-gap:.18rem;--hts-row-gap:.28rem;grid-template-columns:minmax(0,1fr) 2.25rem;gap:var(--hts-row-gap) .32rem}
  .hts-pair>.hts-team{display:grid;grid-template-columns:2rem minmax(0,1fr);column-gap:.24rem;grid-column:1}
  .hts-pair>.hts-team:first-child{grid-row:1}
  .hts-pair>.hts-team:last-child{grid-row:2}
  .hts-team>.hts-panel,.hts-team>.hts-trends,.hts-team>.hts-note{grid-column:1/-1}
  .hts-team-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.68rem;font-weight:700;color:#d1d7dc;line-height:var(--hts-tile-height)}
  .hts-console{grid-column:2;grid-row:1 / span 2;width:100%;height:calc(2 * var(--hts-tile-height) + var(--hts-row-gap));margin:0}
  .hts-game{gap:.12rem;padding:.15rem .08rem;border-radius:5px}
  .hts-game .hts-opponent,.hts-game .hts-upcoming,.hts-game:not(.hts-next) time,.hts-game.hts-live time{display:none}
  .hts-compact-opponent{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:.67rem;font-weight:700;letter-spacing:-.02em}
  .hts-game time{order:2;font-size:.64rem}
  .hts-game.hts-live .hts-upcoming{display:block;font-size:.56rem}
  .hts-score{font-size:.69rem;letter-spacing:0}
  .hts-result{font-size:.54rem;margin-left:.12rem}
}
@media(max-width:760px){
  .hts-panel{padding:.55rem .45rem}
  .hts-splits button{min-height:32px;padding:.25rem .5rem}
  .hts-metric-grid{gap:.45rem}.hts-stat-result{gap:.15rem .3rem}
  .hts-diff-label{font-size:18px}
}
@media(max-width:380px){
  .hts-pair{--hts-game-gap:.14rem;grid-template-columns:minmax(0,1fr) 2.05rem}
  .hts-pair>.hts-team{grid-template-columns:1.75rem minmax(0,1fr)}
  .hts-compact-opponent{font-size:.63rem}
  .hts-game time{font-size:.60rem}
  .hts-score{font-size:.65rem}
  .hts-heading{gap:.3rem}
  .hts-title{font-size:.65rem}
  .hts-scope{font-size:.59rem}
  .hts-table{font-size:.6rem}
  .hts-table thead th{font-size:.56rem}
  .hts-table th,.hts-table td{padding:.32rem .1rem}
  .hts-table .hts-section-label{font-size:.56rem}
}

.hockey-milestones { margin-block: 7px; min-width: 0; }
.hm-panel {
  background: var(--panel, #14181c);
  border: 1px solid var(--border, #30363a);
  border-radius: var(--radius-md, 6px);
  color: var(--text, #e1e8ec);
  container-type: inline-size;
  min-width: 0;
  font-size: .86rem;
}
.hm-panel [hidden] { display: none !important; }
.hm-summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 4px 12px;
  grid-template-columns: auto minmax(0, 1fr) auto 8px;
  list-style: none;
  min-height: 42px;
  padding: 5px 12px;
}
.hm-summary::-webkit-details-marker { display: none; }
.hm-summary:focus-visible, .hm-panel :is(a,button):focus-visible {
  outline: 2px solid var(--accent, #91c8bb);
  outline-offset: 1px;
}
.hm-title { color: var(--white, #fff); font-weight: 750; white-space: nowrap; }
.hm-preview { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-count, .hm-detail, .hm-notice, .hm-meta { color: var(--muted, #b5c3c9); }
.hm-count, .hm-n, .hm-match, .hm-group-count, .hm-detail { font-variant-numeric: tabular-nums; }
.hm-count { white-space: nowrap; font-size: .8rem; }
.hm-chevron { width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.hm-panel[open] .hm-chevron { transform: rotate(225deg); }
.hm-body { border-top: 1px solid var(--border, #30363a); }
.hm-filters { display: flex; flex-wrap: wrap; gap: 5px; padding: 9px 10px; }
.hm-filter {
  align-items: center; background: transparent; border: 1px solid var(--border, #394449);
  border-radius: 4px; color: inherit; cursor: pointer; display: inline-flex; font: inherit;
  font-size: .8rem; gap: 7px; padding: 4px 8px; min-height: 32px;
}
.hm-filter[aria-pressed="true"] { background: var(--text, #e1e8ec); border-color: var(--text, #e1e8ec); color: var(--panel, #14181c); }
.hm-n { font-weight: 750; }
.hm-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; font-size: .86rem; }
.hm-table thead th, .hm-group-title, .hm-tag, .hm-match {
  font-family: var(--font-ui, system-ui, sans-serif);
}
.hm-table thead th {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .055em;
  font-weight: 650; color: var(--muted, #b5c3c9); text-align: left; padding: 5px 8px;
}
.hm-table thead th:nth-child(1) { width: 13%; }
.hm-table thead th:nth-child(2) { width: 20%; }
.hm-table thead th:nth-child(3) { width: 12%; }
.hm-table thead th:nth-child(4) { width: 26%; }
.hm-table tbody { --hm-accent: var(--muted, #bac5cb); }
.hm-table tbody[data-group="returns"] { --hm-accent: #f1aca4; }
.hm-table tbody[data-group="former"] { --hm-accent: #e4c397; }
.hm-table tbody[data-group="personal"] { --hm-accent: #a1d5c6; }
.hm-table tbody[data-group="reports"] { --hm-accent: #aecbee; }
.hm-table tbody .hm-group-title {
  background: color-mix(in srgb, var(--text, #e1e8ec) 6%, var(--panel, #14181c));
  border-block: 1px solid var(--border, #30363a); border-inline-start: 3px solid var(--hm-accent);
  color: var(--text, #e1e8ec); font-size: .82rem; font-weight: 700; text-align: left; padding: 5px 8px;
}
.hm-group-count { color: var(--muted, #b5c3c9); padding-inline-start: 8px; font-weight: 400; }
.hm-row > * {
  border: 0; border-block-end: 1px solid var(--border, #30363a); padding: 6px 8px;
  text-align: left; vertical-align: baseline; line-height: 1.35; overflow-wrap: anywhere;
}
.hm-name { font-weight: 700; }
.hm-player-link, .hm-source { text-underline-offset: .15em; }
.hm-label { color: var(--text, #e1e8ec); font-size: .75rem; font-weight: 600; }
.hm-match { color: var(--muted, #b5c3c9); font-size: .76rem; }
.hm-match b { color: var(--text, #e1e8ec); }
.hm-detail { font-size: .8rem; }
.hm-notice, .hm-meta { line-height: 1.35; margin: 0; padding: 6px 10px; font-size: .76rem; }
.hm-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 3px 12px; flex-wrap: wrap; }
@container (max-width: 640px) {
  .hm-summary { grid-template-columns: minmax(0,1fr) auto 8px; gap: 2px 8px; padding: 7px 10px; }
  .hm-title { grid-area: 1 / 1; }
  .hm-count { grid-area: 1 / 2; }
  .hm-chevron { grid-area: 1 / 3; }
  .hm-preview { grid-area: 2 / 1 / 3 / -1; font-size: .82rem; }
  .hm-preview:empty { display: none; }
  .hm-filters { gap: 4px; padding: 7px 8px; }
  .hm-filter { min-height: 36px; }
  .hm-table, .hm-table tbody, .hm-table tbody > tr:not(.hm-row), .hm-group-title { display: block; }
  .hm-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hm-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 7px 10px 8px; border-bottom: 1px solid var(--border, #30363a); }
  .hm-row > * { padding: 0; border: 0; }
  .hm-name { grid-area: 1 / 1; font-size: .95rem; }
  .hm-match { grid-area: 1 / 2; text-align: right; }
  .hm-tag { grid-area: 2 / 2; text-align: right; }
  .hm-story { grid-area: 2 / 1; }
  .hm-detail { grid-row: 3; grid-column: 1 / -1; }
}

.hm-daily .hm-body { border-top: 0; }
.hm-game-link, .hm-player-link, .hm-source { color: inherit; text-underline-offset: .15em; }
.hm-more { background: transparent; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 9px 12px; text-decoration: underline; text-underline-offset: .15em; }
.nhl-storylines-page { --panel:#151719; --border:#34383c; --text:#eef0f1; --muted:#b0b7ba; --accent:#a1d5c6; color-scheme: dark; margin:0; color:var(--text); background:#0b0c0d; font: 1rem/1.45 system-ui,sans-serif; }
.nhl-storylines-page *, .nhl-storylines-page *::before, .nhl-storylines-page *::after { box-sizing:border-box; }
.ns-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 15px; padding:10px max(14px, calc((100vw - 1200px) / 2)); border-bottom:1px solid var(--border); }
.ns-brand { font: bold .92rem ui-monospace,monospace; letter-spacing:.06em; text-transform:uppercase; }
.ns-header a { color:inherit; text-decoration:none; }
.ns-header nav { display:flex; flex-wrap:wrap; gap:2px; }
.ns-header nav a { display:inline-flex; align-items:center; min-height:38px; padding:4px 8px; font-size:.85rem; }
.ns-main { max-width:1228px; margin:auto; padding:clamp(18px,4vw,40px) 14px 48px; }
.ns-main h1 { margin:0 0 14px; font:600 clamp(1.7rem,3.6vw,2.6rem)/1.1 Georgia,serif; }
.ns-controls, .ns-date, .ns-state { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.ns-controls { justify-content:space-between; }
.ns-controls :is(input,select,button), #nsRetry { background:var(--panel); color:inherit; border:1px solid var(--border); border-radius:5px; font:inherit; min-height:40px; padding:5px 10px; }
.ns-controls button, #nsRetry { cursor:pointer; }
.ns-date button { min-width:40px; }
.ns-state { min-height:38px; color:var(--muted); font-size:.84rem; }
.ns-state p { margin:8px 0; }
.ns-state button { margin:4px 0; }
.nhl-storylines-page :focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
@media (max-width:640px) {
  .ns-main { padding-inline:10px; }
  .ns-controls :is(input,select,button), .ns-date button { min-height:44px; }
  .hm-daily .hm-filter { min-height:40px; }
  .ns-header { padding-inline:10px; }
}
