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

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

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

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

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

.cfh-page .cfh-standing, .cfh-page .cfh-standing th, .cfh-page .cfh-standing td, .cfh-page .cfh-standing a { color: #080808; }
.cfh-page h2 {color:#080808}
.cfh-game-row {color:inherit;text-decoration:none}
.cfh-score {font-size:var(--lc-score-size, 1rem);font-weight:800}
.cfh-bracket {display:grid;gap:.5rem}
.cfh-center select,.cfh-mast select {max-width:100%;font:inherit}
.cfh-table-wrap {overscroll-behavior-inline:contain}
.cfh-standing td,.cfh-standing th {color:#080808}
.cfh-page .cfh-ad-phone { display: none; }
@media(max-width:700px){
 .cfh-tabs [data-wide]{display:none}
 .cfh-standing td,.cfh-standing th{padding:2px;font-size:10px}
 .cfh-standing a img{display:none}
 .cfh-standing .cfh-form{gap:0}
 .cfh-page .cfh-ad-phone { display: flex; max-width: 100%; }
}

.cfh-page .cfh-feature-title { color: #080808; text-decoration: none; }
.cfh-page .cfh-feature-title:hover { text-decoration: underline; }
.cfh-page #cfh-conference {
  appearance: none;
  min-height: 32px;
  min-width: 88px;
  max-width: 155px;
  padding: 4px 24px 4px 9px;
  border: 1px solid #b8860b;
  border-radius: 5px;
  color: #080808;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23755000'/%3E%3C/svg%3E") right 8px center / 10px 6px no-repeat;
  font: 700 16px "Barlow Condensed", Arial, sans-serif;
}
.cfh-rail { grid-template-rows: auto; }
.cfh-ad-square { block-size: auto; min-block-size: 112px; padding: 18px 8px 12px; }
.cfh-rail .cfh-card > h2 {
  margin: -10px -10px 6px;
  padding: 6px 10px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(120deg, #f4df9e, #ffedb5, #e8c570);
}
.cfh-mobile-market-head { display: none; }
@media (max-width: 700px) {
  .cfh-mobile-market-head {
    display: grid;
    color: #574c37;
    border: 0;
    font: 800 12px "Barlow Condensed", Arial, sans-serif;
    text-transform: uppercase;
  }
  .cfh-game-row { min-height: 60px; padding: 5px 0; }
  .cfh-game-team { min-height: 20px; grid-template-columns: 20px 1fr auto; }
  .cfh-game-team img { width: 20px; height: 20px; object-fit: contain; }
  .cfh-game-market { padding: 0; border: 0; background: none; }
  .cfh-game-market .cfh-row-market-label { display: none; }
}
