/* 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; }
