/* The connected reading lives on ink. Its genuine player card and compact
 * navigation keep their paper identity; no data, visibility or route changes. */
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse {
  --hhx-reading-paper: #f1ede3;
  --hhx-reading-muted: #b9ccd5;
  --hhx-reading-line: #425d6b;
  --hhdesk-line: #425d6b;
  --hhdesk-brand-line: #425d6b;
  --hhdesk-muted: #b9ccd5;
  color: var(--hhx-reading-paper);
  color-scheme: dark;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse :is([data-hhdesk-feature],.hhdesk-story,.hhp-watch-card) {
  color: var(--hhx-reading-paper);
  background: transparent;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-edition {
  padding: 0 0 10px;
  background: transparent;
  color: var(--hhx-reading-muted);
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-edition :is(p,span) {
  color: var(--hhx-reading-muted);
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views {
  padding: 3px 8px;
  border: 0;
  background: var(--hhx-reading-paper);
  color-scheme: light;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a,
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a:visited {
  min-height: 62px;
  grid-template-rows: 20px minmax(18px,auto);
  gap: 5px;
  padding: 7px 5px;
  font-size: 12px;
  color: #455b66;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a::before { width: 20px; height: 20px; }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a::after { top: 7px; height: 20px; }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a[aria-current="page"] { color: #0b1822; font-weight: 850; }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a:focus-visible { outline-color: #183b4c; }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-switches { gap: 0 20px; padding: 10px 0 0; }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-switches button { color: var(--hhx-reading-muted); }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-switches button:is([aria-pressed="true"],:hover,:active) {
  color: var(--hhx-reading-paper);
  background: transparent;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-switches button[aria-pressed="true"]::before { background: #ff7595; }
/* A sidebar makes viewport-driven two-column story layouts too narrow. The
 * original headline then exact chart form one editorial reading at all sizes. */
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-lead-has-comparison { display: block; }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-lead-group .hhdesk-top { padding: 22px 0 18px; }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-lead-group .hhdesk-heading h3 {
  max-width: 30ch;
  color: var(--hhx-reading-paper);
  font-size: clamp(29px,2.8vw,40px);
  line-height: 1.06;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-topic,
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-topic span { color: #ff8aa6; }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-subject { color: var(--hhx-reading-muted); }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-lead-comparison,
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-lead-has-comparison .hhdesk-lead-comparison { padding: 0 0 22px; }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-comparison {
  background: #122c3a;
  border: 1px solid var(--hhx-reading-line);
  border-top: 2px solid #f0385d;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-comparison > h4 { color: var(--hhx-reading-paper); }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse :is(.hhdesk-story-support,.hhp-card-support) { color: var(--hhx-reading-paper); border-color: var(--hhx-reading-line); }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story-support :is(.hhdesk-read,.hhdesk-evidence),
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-card-support > div { padding-inline: 0; background: transparent; color: var(--hhx-reading-paper); }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse :is(.hhdesk-body,.hhdesk-watch p,.hhdesk-profile-copy > p,.hhp-body,.hhp-card-support .hhp-lead-context) { color: var(--hhx-reading-muted); }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-watch h4 { color: #ff8aa6; }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse :is(.hhdesk-profile-copy > h4,.hhdesk-value,.hhp-card-support .hhp-facts dd:not(.hhp-detail)) { color: var(--hhx-reading-paper); }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse :is(.hhdesk-fact dt,.hhdesk-detail,.hhdesk-samples,.hhp-card-support .hhp-facts dt,.hhp-card-support .hhp-detail,.hhp-mobile-detail) { color: var(--hhx-reading-muted); }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse :is(.hhdesk-fact,.hhp-card-support .hhp-facts > div,.hhdesk-analysis,.hhdesk-profile,.hhp-related) { border-color: var(--hhx-reading-line); }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse :is(.hhdesk-references,.hhp-references) {
  padding-inline: 0;
  background: transparent;
  border-color: var(--hhx-reading-line);
  border-radius: 0;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse :is(.hhdesk-analysis,.hhdesk-profile,.hhdesk-breakdown,.hhdesk-references,.hhp-breakdown,.hhp-references) > summary,
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse :is(.hhdesk-story,.hhp-card-support,.hhp-references,.hhp-related,.hhx-pulse-context-links) a {
  color: var(--hhx-reading-paper);
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse :is(.hhdesk-switches button,.hhdesk-story a,.hhdesk-story summary,.hhp-card-support a,.hhp-card-support summary,.hhp-references summary,.hhp-references a,.hhp-related a,.hhx-pulse-context-links a):focus-visible {
  outline: 2px dashed #f1ede3;
  outline-offset: 3px;
}
/* Place the section tabs against the same top edge as the playoff card.
 * The edition belongs to the selected reading under this navigation. */
body.hhx-enabled #primary #hhx-home-pulse > #hhdesk-pulse:not([hidden]) {
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-self: start;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views {
  order: -1;
  background: #102431;
  border-block: 1px solid #425d6b;
  color-scheme: dark;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a,
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a:visited {
  color: #c2d1d9;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a:is([aria-current="page"],:hover,:active) {
  color: #fff8ef;
  background: #193747;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a:is([aria-current="page"],:active)::before,
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a[aria-current="page"]::after {
  background: #ff7595;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a:focus-visible {
  outline: 2px solid #badde9;
  outline-offset: -4px;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-edition {
  margin: 0;
  padding: 8px 0 0;
}
/* Game Watch is an editorial reading, not another oversized paper card. */
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse [data-hhdesk-feature="game"] .hhp-card-header { padding-inline: 0; }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse [data-hhdesk-feature="game"] .hhp-card-header h3 { color: var(--hhx-reading-paper); }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse [data-hhdesk-feature="game"] :is(.hhp-card-subject,.hhp-lead-context) { color: var(--hhx-reading-muted); }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse [data-hhdesk-feature="game"] .hhp-key-comparison { margin-inline: 0; border-radius: 0; }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-related { padding-inline: 0; }
/* Original roster picks remain legible if the optional card controller is off. */
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-roster-picks:not(:has(.hhx-player-card-controls)) a { color: var(--hhx-reading-muted); }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-roster-picks:not(:has(.hhx-player-card-controls)) a:is([aria-current="true"],:hover,:active) { color: var(--hhx-reading-paper); }
@media (min-width:700px) {
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-lead-group .hhdesk-top.hhdesk-has-portrait .hhdesk-heading { display: block; grid-column: 1; grid-row: 1; }
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-lead-group .hhdesk-kicker { margin-bottom: 10px; }
}
@media (max-width:600px) {
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views { padding-inline: 3px; }
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a { min-height: 66px; font-size: 11px; }
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-lead-group .hhdesk-top { padding-block: 14px; }
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-lead-group .hhdesk-top.hhdesk-has-portrait { grid-template-columns: minmax(0,1fr) 44px; gap: 6px 14px; }
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-lead-group .hhdesk-portrait { height: 44px; min-height: 44px; max-height: 44px; }
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-lead-group .hhdesk-portrait img { height: 44px; max-height: 44px; }
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-lead-group .hhdesk-heading h3 { font-size: clamp(28px,7.4vw,35px); }
}
@media (forced-colors:active) {
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse { --hhx-reading-paper: CanvasText; --hhx-reading-muted: CanvasText; --hhx-reading-line: CanvasText; }
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse :is(.hhp-views,.hhdesk-comparison) { color: CanvasText; background: Canvas; border: 1px solid CanvasText; }
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a { color: LinkText; }
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhp-views a[aria-current="page"] { color: LinkText; text-decoration: underline; }
}

/* The live briefing pairs the original rink-side report with its verified data.
 * Transparent team portraits sit directly in the same field as the numbers. */
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse [data-hhx-studio-read] :is(.hhdesk-story-support,.hhdesk-references) { display:none; }
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-story-notes {
  margin:0; padding:0; border:0; border-block:1px solid #405866; background:transparent; border-radius:0;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-story-notes > summary {
  position:relative; display:flex; align-items:center; justify-content:space-between; gap:12px;
  min-height:48px; margin:0; padding:8px 3px; list-style:none; color:#edf2f2;
  font:750 .9rem/1.3 var(--hhb-sans,Arial,sans-serif); cursor:pointer;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-story-notes > summary::-webkit-details-marker {display:none;}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-story-notes > summary::after {content:'＋';color:#ff91a9;font:700 1.2rem/1 Arial,sans-serif;}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-story-notes[open] > summary::after {content:'−';}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-story-notes > summary:is(:hover,:active,:focus-visible) {color:#ff90ab;}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-story-notes .hhdesk-watch {margin:12px 0 18px;}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-note-section {margin:8px 0 18px; padding:0; color:#c9d9df;}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-note-section .hhdesk-body {margin:0; color:#d6e1e5;}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-note-title {
  margin:0 0 8px; color:#f1ede3; font:800 .8rem/1.35 var(--hhb-sans,Arial,sans-serif); letter-spacing:.04em;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-note-section ul {display:flex; flex-wrap:wrap; gap:4px 18px; padding:0; margin:0;}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-note-section li {list-style:none; font-size:.8rem;}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story[data-hhdesk-player-id] .hhdesk-lead-group .hhdesk-top {
  display:grid; position:relative; isolation:isolate; overflow:hidden;
  grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto; gap:12px 16px;
  margin:12px 0 0; padding:clamp(16px,2.3vw,28px);
  background:
    radial-gradient(ellipse at 86% 28%,#315566 0,transparent 48%),
    repeating-linear-gradient(125deg,transparent 0 48px,#8cc9d60b 48px 49px,transparent 49px 55px),
    #122531;
  border:1px solid #425b66; border-top:3px solid #ec325b; border-radius:4px 4px 0 0;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story[data-hhdesk-player-id] .hhdesk-lead-group .hhdesk-top.hhdesk-has-portrait {
  grid-template-columns:minmax(0,1fr) clamp(100px,34%,220px);
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story[data-hhdesk-player-id] .hhdesk-lead-group .hhdesk-top .hhdesk-heading {display:contents;}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story[data-hhdesk-player-id] .hhdesk-lead-group .hhdesk-kicker {
  display:block; grid-area:1/1; align-self:start; margin:0; min-width:0;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story[data-hhdesk-player-id] .hhdesk-lead-group .hhdesk-subject {margin:2px 0 0;color:#f7f3e8; font:750 clamp(.95rem,1.4vw,1.2rem)/1.25 var(--hhb-sans,Arial,sans-serif);}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story[data-hhdesk-player-id] .hhdesk-lead-group .hhdesk-heading h3 {
  position:relative; grid-column:1/-1; grid-row:3; margin:0; max-width:37ch;
  color:#f5f1e9; font-size:clamp(23px,2.45vw,35px); line-height:1.06; text-wrap:pretty; overflow-wrap:anywhere;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story[data-hhdesk-player-id] .hhdesk-lead-group .hhdesk-portrait {
  position:relative; display:block; grid-column:2; grid-row:1/3; align-self:end; justify-self:stretch;
  width:100%; height:auto; min-height:0; max-height:none; aspect-ratio:1; margin:0; padding:0;
  border:0; border-radius:0; background:transparent; box-shadow:none; overflow:visible;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story[data-hhdesk-player-id] .hhdesk-lead-group .hhdesk-portrait[hidden] {display:none;}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story[data-hhdesk-player-id] .hhdesk-lead-group .hhdesk-portrait img {
  display:block; width:100%; height:100%; max-width:none; max-height:none; object-fit:contain; object-position:center bottom;
  mask-image:linear-gradient(to bottom,#000 82%,transparent 100%);
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-broadcast-stat {display:grid; grid-area:2/1; align-self:end; align-content:end; min-width:0;}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-broadcast-value {
  color:#f6f2e7; font:900 clamp(44px,6.6vw,86px)/.95 var(--hhb-display,Arial,sans-serif);
  letter-spacing:-.045em; font-variant-numeric:tabular-nums; overflow-wrap:anywhere;
}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-broadcast-label {margin:5px 0 0; color:#cce0e7; font:650 clamp(12px,1.2vw,15px)/1.23 var(--hhb-sans,Arial,sans-serif);}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-broadcast-window {margin-top:11px; color:#ff98b0; font:800 clamp(15px,1.5vw,20px)/1.05 var(--hhb-sans,Arial,sans-serif); font-variant-numeric:tabular-nums;}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhx-broadcast-period {margin-top:3px; color:#bdcfd7; font:550 .7rem/1.25 var(--hhb-sans,Arial,sans-serif);}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story[data-hhdesk-player-id] .hhdesk-lead-comparison {padding-bottom:14px;}
body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story[data-hhdesk-player-id] .hhdesk-comparison {border-top:0; border-radius:0 0 4px 4px;}
@media(max-width:600px) {
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story[data-hhdesk-player-id] .hhdesk-lead-group .hhdesk-top.hhdesk-has-portrait {grid-template-columns:minmax(0,1fr) minmax(94px,36%); gap:10px 8px;}
}
@media(forced-colors:active) {
  body.hhx-enabled #primary #hhx-home-pulse #hhdesk-pulse .hhdesk-story[data-hhdesk-player-id] .hhdesk-lead-group .hhdesk-top {background:Canvas; border:1px solid CanvasText;}
}
