@import url("/assets/live-card-v2.css");

.nhlh-page {
  --nhlh-ink: #080808;
  --nhlh-gold: #b8860b;
  --nhlh-line: #e6dfd1;
  --nhlh-paper: #fff;
  max-width: 1460px;
  margin: 0 auto;
  padding: 14px 18px 48px;
  color: var(--nhlh-ink);
  font-family: Barlow, Arial, sans-serif;
  line-height: 1.35;
}
.nhlh-page *, .nhlh-page *::before, .nhlh-page *::after { box-sizing: border-box; }
.nhlh-page [hidden] { display: none !important; }
.nhlh-page h1, .nhlh-page h2, .nhlh-page h3, .nhlh-page p { margin: 0; color: inherit; }
.nhlh-page a { color: inherit; }
.nhlh-page button, .nhlh-pick, .nhlh-more summary {
  min-height: 32px;
  padding: 4px 9px;
  background: #fff;
  color: #080808;
  border: 1px solid var(--nhlh-line);
  border-radius: 5px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nhlh-page button:disabled { opacity: .42; cursor: default; }
.nhlh-page :focus-visible { outline: 2px solid #755000; outline-offset: 2px; }
.nhlh-page button[aria-pressed="true"], .nhlh-pick { background: #f2de9f; border-color: #b8860b; }
.nhlh-mast { display: flex; align-items: center; flex-wrap: nowrap; gap: 9px; padding: 5px 0; }
.nhlh-mast h1 { font: 800 clamp(16px, 2.4vw, 27px)/1 "Barlow Condensed", Arial, sans-serif; white-space: nowrap; text-transform: uppercase; }
.nhlh-mast img { object-fit: contain; }
.nhlh-pick { display: grid; align-items: center; white-space: nowrap; text-decoration: none; }
.nhlh-season { flex: 1; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13px; color: #4e4635; }
.nhlh-season progress { inline-size: min(260px, 36%); block-size: 8px; border: 0; background: #e8e0cd; border-radius: 8px; overflow: hidden; color: var(--nhlh-gold); }
.nhlh-season progress::-webkit-progress-bar { background: #e8e0cd; }
.nhlh-season progress::-webkit-progress-value { background: var(--nhlh-gold); }
.nhlh-season progress::-moz-progress-bar { background: var(--nhlh-gold); }
.nhlh-ad {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-inline-size: 100%;
  margin-inline: auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 12px 8px 8px;
  color: #080808 !important;
  background: #fff;
  border: 1px solid #E4E1D8;
  text-decoration: none;
  border-radius: 5px;
  gap: 4px;
}
.nhlh-ad::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #8c6510, #e7c66a 50%, #a77714);
}
.nhlh-ad strong { color: #080808; font: 800 clamp(20px, 3vw, 35px)/1 "Barlow Condensed", Arial, sans-serif; }
.nhlh-ad .nhlh-sponsored { position: absolute; inset: 5px 6px auto auto; color: #605f5b; font-size: 8px; letter-spacing: .04em; }
.nhlh-ad-description { color: #595956; font-size: 13px; }
.nhlh-ad-cta { color: #080808; border: 1px solid #b8860b; border-radius: 4px; padding: 2px 9px; font-size: 12px; font-weight: 700; }
.nhlh-ad:hover .nhlh-ad-cta { background: #f9edcc; }
.nhlh-ad img { width: min(224px, 86%); height: auto; object-fit: contain; margin-block-end: 14px; }
.nhlh-ad-square { inline-size: 300px; block-size: 250px; }
.nhlh-ad-tower { inline-size: 300px; block-size: 600px; position: sticky; top: 10px; }
.nhlh-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-block: 10px; }
.nhlh-more { position: relative; }
.nhlh-more summary { list-style: none; }
.nhlh-more div { position: absolute; z-index: 4; right: 0; min-width: 138px; background: #fff; color: #080808; border: 1px solid var(--nhlh-line); padding: 6px; }
.nhlh-more a { display: block; padding: 5px 7px; }
.nhlh-board { display: grid; grid-template-columns: minmax(270px, 1fr) minmax(0, 1.4fr) 300px; align-items: start; gap: 12px; }
.nhlh-games, .nhlh-rail { display: grid; min-width: 0; align-content: start; gap: 10px; }
.nhlh-rail { grid-column: 3; align-self: stretch; grid-template-rows: auto auto auto auto 1fr; }
.nhlh-center { grid-column: 2; min-width: 0; }
.nhlh-card { min-width: 0; background: var(--nhlh-paper); border: 1px solid var(--nhlh-line); border-radius: 6px; padding: 10px; }
.nhlh-card h2 { font: 800 21px/1.1 "Barlow Condensed", Arial, sans-serif; }
.nhlh-card h3 { font-size: 14px; }
.nhlh-card header, .nhlh-controls, .nhlh-filters { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.nhlh-filters { justify-content: flex-start; margin-block: 8px; }
.nhlh-slate .nhlh-slate-header {
  justify-content: center;
  gap: 4px 12px;
  padding: 5px;
  color: #080808;
  background: linear-gradient(120deg, #f4df9e, #ffedb5, #e8c570);
  border-radius: 4px;
}
.nhlh-slate-header .nhlh-controls { flex-wrap: nowrap; font: 800 17px/1 "Barlow Condensed", Arial, sans-serif; text-transform: uppercase; }
.nhlh-slate-header .nhlh-controls button { min-height: 26px; padding: 1px 8px; background: transparent; border-color: transparent; font-size: 19px; }
#nhlh-slate-dates { color: #4d3a13; font-size: 12px; font-weight: 700; }
.nhlh-game {
  display: grid;
  grid-template-columns: minmax(74px, 1fr) minmax(55px, .72fr) minmax(54px, .72fr) minmax(35px, .46fr);
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  border-top: 1px solid var(--nhlh-line);
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.nhlh-game:hover { background: #fffbef; }
.nhlh-game-teams { display: grid; gap: 3px; }
.nhlh-game-team { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 3px; min-height: 24px; text-align: left; font-weight: 700; }
.nhlh-game-team.nhlh-game-loser { color: #717171; }
.nhlh-game-loser img { opacity: .68; }
.nhlh-game-team strong { font: 800 var(--trus-card-score-size)/1 "Barlow Condensed", sans-serif; color: #080808; }
.nhlh-game-team.nhlh-game-loser strong { color: #8a8a8a; }
.nhlh-game-kickoff { display: grid; gap: 2px; }
.nhlh-game-kickoff small { color: #554f45; font-size: 11px; white-space: nowrap; }
.nhlh-game-market { padding: 5px 2px; border: 1px solid #e4e1d8; background: #faf9f5; border-radius: 4px; font-weight: 700; }
.nhlh-logo-compact, .nhlh-logo-feature { display: inline-block; flex: none; line-height: 1; }
.nhlh-logo-compact img, .nhlh-logo-feature img { object-fit: contain; vertical-align: middle; }
.nhlh-logo-compact img { width: 16px; height: 16px; }
.nhlh-logo-feature img { width: 24px; height: 24px; }
.nhlh-game-head { margin-top: 4px; border-top: 0; color: #574c37; font-weight: 700; }
.nhlh-game-head > :first-child { text-align: left; }
.nhlh-feature-match { display: flex; align-items: center; gap: 6px; font-weight: 800; margin: 8px 0; }
.nhlh-feature p + p { margin-block-start: 5px; }
.nhlh-quotes { display: grid; gap: 5px; margin-block: 7px; }
.nhlh-quote { padding: 5px; background: #f7f3ea; display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.nhlh-list { padding: 0; margin: 6px 0 0; list-style: none; font-size: 14px; }
.nhlh-list li { padding: 5px 0; border-top: 1px solid var(--nhlh-line); }
.nhlh-standing { width: 100%; border-collapse: collapse; table-layout: auto; font-size: clamp(11px, 1.15vw, 14px); font-variant-numeric: tabular-nums; }
.nhlh-standing th, .nhlh-standing td { height: 24px; padding: 1px 3px; text-align: right; border-bottom: 1px solid #eee8dd; white-space: nowrap; }
.nhlh-standing th:nth-child(2), .nhlh-standing td:nth-child(2) { text-align: left; }
.nhlh-standing-team { font-weight: 700; }
.nhlh-standing-team img { width: 16px; height: 16px; margin-right: 3px; }
.nhlh-standing-short { display: none; }
.nhlh-cut td { border-bottom: 2px solid #b8860b; }
.nhlh-note { color: #544936 !important; font-size: 12px; margin-block-start: 6px !important; }
.nhlh-injury-filter { display: block; margin-block: 8px; max-width: 100%; border: 1px solid #e4e1d8; border-radius: 4px; padding: 5px; background: #fff; color: #080808; font: inherit; }
.nhlh-injury-team { margin-top: 10px; }
.nhlh-injury-team > header { padding: 5px; background: #faf7ee; border: 1px solid #e4e1d8; }
.nhlh-injury-team > header a { color: #524830; font-size: 12px; }
.nhlh-injury-list { list-style: none; padding: 0; margin: 0; }
.nhlh-injury-row { display: flex; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px solid #e4e1d8; }
.nhlh-injury-photo { display: inline-block; flex: 0 0 32px; height: 32px; overflow: hidden; border-radius: 50%; background: #d9d9d9; }
.nhlh-injury-photo img { display: block; width: 32px; height: 32px; object-fit: cover; }
.nhlh-injury-photo img[src$="player-silhouette.svg"] { visibility: hidden; }
.nhlh-injury-name { flex: 1; min-width: 0; font-size: 13px; }
.nhlh-injury-name strong { color: #080808; font-weight: 800; }
.nhlh-injury-photo-link { display: inline-flex; flex: 0 0 32px; }
.nhlh-injury-name small { color: #595956; font-size: 11px; }
.nhlh-injury-name small:last-child { display: block; }
.nhlh-injury-tag { color: #080808; background: #d9d9d9; font-size: 9px; font-weight: 800; padding: 3px 4px; border-radius: 3px; }
.nhlh-injury-out { background: #FF4500; }
.nhlh-injury-questionable { background: #eac35f; }
@media (min-width: 1081px) { .nhlh-tabs { margin-left: calc((100% - 324px) / 2.4 + 12px); } }
@media (max-width: 1250px) { .nhlh-standing-long { display: none; } .nhlh-standing-short { display: inline; } }
@media (max-width: 1080px) {
  .nhlh-board { grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr); }
  .nhlh-rail { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); grid-template-rows: auto; }
  .nhlh-ad-tower { display: none; }
}
@media (max-width: 700px) {
  .nhlh-page { padding: 8px 8px 32px; }
  .nhlh-board, .nhlh-rail { grid-template-columns: minmax(0, 1fr); }
  .nhlh-center { grid-column: 1; }
  .nhlh-mast { flex-wrap: wrap; gap: 6px; }
  .nhlh-mast h1 { margin-right: auto; }
  .nhlh-mast img { width: 24px; height: 24px; }
  .nhlh-season { order: 1; flex-basis: 100%; }
  .nhlh-tabs button, .nhlh-tabs summary { font-size: 13px; }
  .nhlh-standing th, .nhlh-standing td { font-size: 11px; padding-inline: 2px; }
  .nhlh-standing-team img { margin-right: 1px; width: 12px; height: 12px; }
}

.nhlh-date-label { position: relative; white-space: nowrap; font-weight: 800; }
.nhlh-date-label input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.nhlh-date-label input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.nhlh-date-label:focus-within { outline: 2px solid #755000; }
.nhlh-feature-lines, .nhlh-standing { width: 100%; border-collapse: collapse; font-size: .82rem; text-align: left; }
.nhlh-feature-lines th, .nhlh-feature-lines td, .nhlh-standing th, .nhlh-standing td { padding: 4px; border-bottom: 1px solid #e4e1d8; }
.nhlh-standing thead { background: #f4e4ad; }
.nhlh-standing th a { display: inline-flex; align-items: center; gap: 4px; }
.nhlh-cut { border-bottom: 2px solid #b8860b; }
.nhlh-table-wrap { overflow-x: auto; }
.nhlh-form { display: inline-flex; flex-wrap: nowrap; gap: 1px; vertical-align: middle; }
.nhlh-form b { min-width: 1em; text-align: center; }
.nhlh-record-since { display: block; color: #595959; font-size: .75em; font-weight: 400; }
.nhlh-win { color: #095729; background: #e0f2e8; }
.nhlh-loss { color: #852800; background: #ffe5d8; }
.nhlh-health { display: grid; grid-template-columns: 32px 1fr auto; gap: 5px; align-items: center; padding: 5px 0; border-bottom: 1px solid #e4e1d8; }
.nhlh-health img { width: 32px; height: 32px; object-fit: contain; border-radius: 50%; background: #eee; }
.nhlh-health small { display: block; color: #595959; }
.nhlh-health b { font-size: .72rem; color: #722500; }
@media (max-width: 700px) {
  .nhlh-mast { flex-wrap: wrap; }
  .nhlh-season { flex-basis: 100%; order: 1; }
  .nhlh-date-label { font-size: .82rem; }
}

.nhlh-page a.nhlh-health, .nhlh-page a.nhlh-health:visited { color: #080808; text-decoration: none; }
.nhlh-page a.nhlh-health:hover strong { text-decoration: underline; }
.nhlh-health .nhlh-health-team { display: inline-flex; gap: 4px; align-items: center; }
.nhlh-health .nhlh-health-team img { width: 16px; height: 16px; border-radius: 0; background: transparent; }
.nhlh-health b { padding: 2px 5px; border: 1px solid #e2c673; border-radius: 4px; background: #f8ead1; }
@media (max-width: 700px) {
  .nhlh-center { padding-top: 4px; scroll-margin-top: 160px; }
  .nhlh-health { scroll-margin-top: 165px; }
}
.nhlh-winner { position: absolute; left: calc(100% + 1px); font-size: 10px; }
.nhlh-game-team strong { position: relative; margin-inline-end: 7px; white-space: nowrap; }

.nhlh-game-markets { display: grid; gap: 3px; }
.nhlh-game-market small { display: block; font-size: 10px; }
.nhlh-goalie-flag { padding: 1px 4px; border-radius: 3px; color: #614801; background: #f7e6a8; }
.nhlh-goalie-flag[data-confirmed] { background: #e0f2e8; color: #095729; }
.nhlh-goalie-row { display: flex; align-items: center; gap: 5px; margin: 5px 0; }
@media (max-width: 700px) {
 .nhlh-tabs :is([data-nhlh-tab="trends"],[data-nhlh-tab="stats"],[data-nhlh-tab="props"],.nhlh-more) { display:none; }
 .nhlh-page { max-width: 100%; overflow-x: clip; }
}

.nhlh-page .nhlh-standing, .nhlh-page .nhlh-standing th, .nhlh-page .nhlh-standing td, .nhlh-page .nhlh-standing a { color: #080808; }
