/* Olympics 2026 stats -> NHL 26/27 visual parity.
   Scope is intentionally limited to #og26StatsView so groups/calendar/playoff stay untouched.
   This file is loaded after nhl_41_v227.css and uses stronger selectors because
   olympics_light_restore_v1.css is injected dynamically after DOMContentLoaded. */

html body #comp-og26 #og26StatsView{
  font-family:Arial,Helvetica,sans-serif!important;
  color:#0a1a23!important;
  background:#fff!important;
}

/* The legacy Olympic stats hero is visually incompatible with the NHL stats page
   and still advertises the retired Telegram workflow. Keep it out of the view. */
html body #comp-og26 #og26StatsView>.og26-stats-hero{
  display:none!important;
}

/* Same four-up summary card language used by the NHL shell. */
html body #comp-og26 #og26StatsView .og26-stats-summary{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0 0 14px!important;
}
html body #comp-og26 #og26StatsView .og26-stats-summary>div{
  display:block!important;
  min-height:98px!important;
  padding:16px!important;
  border:0!important;
  border-radius:14px!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:0 1px 4px rgba(10,26,35,.08)!important;
}
html body #comp-og26 #og26StatsView .og26-stats-summary span{
  display:block!important;
  color:#5f798e!important;
  font:600 9px 'Oswald',Arial,sans-serif!important;
  letter-spacing:.08em!important;
}
html body #comp-og26 #og26StatsView .og26-stats-summary b{
  display:block!important;
  margin-top:7px!important;
  color:#020a0e!important;
  font-size:32px!important;
  line-height:1!important;
}
html body #comp-og26 #og26StatsView .og26-stats-summary small{
  margin-left:4px!important;
  color:#698296!important;
  font-size:11px!important;
}

/* Leader cards: same dimensions, typography, shadows and row rhythm as NHL. */
html body #comp-og26 #og26StatsView .og26-stats-leaders{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0 0 13px!important;
}
html body #comp-og26 #og26StatsView .og26-stat-card{
  margin:0 0 13px!important;
  border:0!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:0 1px 4px rgba(10,26,35,.08)!important;
  color:#0a1a23!important;
}
html body #comp-og26 #og26StatsView .og26-stats-leaders>.og26-stat-card{
  margin:0!important;
}
html body #comp-og26 #og26StatsView .og26-stat-card>header{
  display:block!important;
  padding:15px 17px!important;
  border:0!important;
  border-bottom:1px solid #c6d6e3!important;
  background:#fff!important;
  background-image:none!important;
}
html body #comp-og26 #og26StatsView .og26-stat-card>header span{
  display:block!important;
  color:#005086!important;
  font:600 8px 'Oswald',Arial,sans-serif!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}
html body #comp-og26 #og26StatsView .og26-stat-card>header b{
  display:block!important;
  margin:4px 0 0!important;
  color:#020c11!important;
  font:700 15px/1.05 'Oswald',Arial,sans-serif!important;
  letter-spacing:.01em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body #comp-og26 #og26StatsView .og26-leader-list{
  padding:5px 10px 14px!important;
}
html body #comp-og26 #og26StatsView .og26-leader-list>div{
  display:grid!important;
  /* 2026-09-22 · flag slot widened from 30px to 42px to actually fit the .og26-stats-flag
     image below (also 42px, widened for NHL parity without widening its own grid cell) --
     it was overflowing its 30px column by 12px, of which 5px spilled past the existing 7px
     gap and covered the first letter of the player name (e.g. "J. Eichel", "M. Granlund"). */
  grid-template-columns:24px 42px minmax(0,1fr) 42px!important;
  align-items:center!important;
  gap:7px!important;
  min-height:49px!important;
  border:0!important;
  border-bottom:1px solid rgba(133,160,179,.15)!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body #comp-og26 #og26StatsView .og26-leader-list>div:last-child{
  border-bottom:0!important;
}
html body #comp-og26 #og26StatsView .og26-leader-list>div.og26-leader-top10{
  background:transparent!important;
  box-shadow:none!important;
}
html body #comp-og26 #og26StatsView .og26-leader-list strong,
html body #comp-og26 #og26StatsView .og26-leader-list>div.og26-leader-top10 strong{
  color:#6f8799!important;
  font-size:10px!important;
}
html body #comp-og26 #og26StatsView .og26-leader-list span{
  display:grid!important;
  min-width:0!important;
}
html body #comp-og26 #og26StatsView .og26-leader-list span b{
  color:#061218!important;
  font-size:14px!important;
  font-weight:700!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body #comp-og26 #og26StatsView .og26-leader-list span small{
  color:#718899!important;
  font-size:11px!important;
}
html body #comp-og26 #og26StatsView .og26-leader-list em{
  color:#005381!important;
  font-size:20px!important;
  font-style:normal!important;
  font-weight:900!important;
  text-align:right!important;
}
html body #comp-og26 #og26StatsView .og26-leader-list .og26-stats-flag{
  width:42px!important;
  height:28px!important;
  object-fit:cover!important;
  border:0!important;
  border-radius:5px!important;
  box-shadow:0 1px 3px rgba(10,26,35,.12)!important;
}

/* Protocol archive container uses the same NHL card/header system. */
html body #comp-og26 #og26StatsView>.og26-stat-card>header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
}
html body #comp-og26 #og26StatsView>.og26-stat-card>header b{
  font-size:24px!important;
  white-space:normal!important;
}
html body #comp-og26 #og26StatsView .og26-stats-stage{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  margin:18px 14px 7px!important;
  padding:0 2px!important;
}
html body #comp-og26 #og26StatsView .og26-stats-stage b{
  color:#020c11!important;
  font:700 13px 'Oswald',Arial,sans-serif!important;
  text-transform:uppercase!important;
}
html body #comp-og26 #og26StatsView .og26-stats-stage span{
  color:#657c8d!important;
  font:600 8px 'Oswald',Arial,sans-serif!important;
  letter-spacing:.08em!important;
}

/* Match rows keep Olympic functionality but adopt NHL score-card surfaces. */
html body #comp-og26 #og26StatsView .og26-stats-match{
  margin:8px 10px!important;
  border:0!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:0 1px 4px rgba(10,26,35,.08)!important;
}
html body #comp-og26 #og26StatsView .og26-stats-match.has-stats{
  border:0!important;
}
html body #comp-og26 #og26StatsView .og26-stats-match-main{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:center!important;
  padding:14px!important;
  background:#fff!important;
}
html body #comp-og26 #og26StatsView .og26-stats-team b{
  color:#00070b!important;
  font-size:14px!important;
  font-weight:600!important;
}
html body #comp-og26 #og26StatsView .og26-stats-match-main>strong{
  color:#00070b!important;
  font:700 26px/1 'Oswald',Arial,sans-serif!important;
}
html body #comp-og26 #og26StatsView .og26-stats-match-main>strong small{
  margin-top:4px!important;
  color:#6d879b!important;
  font:600 9px 'Oswald',Arial,sans-serif!important;
}
html body #comp-og26 #og26StatsView .og26-stats-match footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:9px 10px!important;
  border:0!important;
  border-top:1px solid #eef2f5!important;
  background:#fff!important;
  background-image:none!important;
}
html body #comp-og26 #og26StatsView .og26-stats-match footer small{
  color:#6b8599!important;
  font-size:8px!important;
}
html body #comp-og26 #og26StatsView .og26-stats-match button{
  min-height:34px!important;
  padding:0 11px!important;
  border:1px solid #95b3ca!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#002233!important;
  font:600 9px 'Oswald',Arial,sans-serif!important;
  letter-spacing:.04em!important;
}
html body #comp-og26 #og26StatsView .og26-stats-match button:hover{
  background:#f5f9fb!important;
  border-color:#5a8fb4!important;
}
html body #comp-og26 #og26StatsView .og26-stat-status{
  min-height:22px!important;
  padding:0 8px!important;
  border-radius:8px!important;
  font:600 8px 'Oswald',Arial,sans-serif!important;
  letter-spacing:.04em!important;
}
html body #comp-og26 #og26StatsView .og26-stat-status.confirmed{
  background:#e8f6ef!important;
  border:1px solid #cbe8d9!important;
  color:#167047!important;
}
html body #comp-og26 #og26StatsView .og26-stat-status.published{
  background:#eef5fb!important;
  border:1px solid #d2e3ef!important;
  color:#005381!important;
}
html body #comp-og26 #og26StatsView .og26-stat-status.waiting{
  background:#fff7e8!important;
  border:1px solid #f0dfb9!important;
  color:#8b6617!important;
}
html body #comp-og26 #og26StatsView .og26-stat-status.empty{
  background:#eef2f5!important;
  border:1px solid #dce5eb!important;
  color:#6f8799!important;
}
html body #comp-og26 #og26StatsView .og26-stat-empty{
  padding:20px!important;
  color:#678093!important;
  font-size:10px!important;
  text-align:center!important;
}

/* Match flags stay flags, but use the NHL visual scale and neutral framing. */
html body #comp-og26 #og26StatsView .og26-stats-match .og26-stats-flag{
  width:42px!important;
  height:28px!important;
  border:0!important;
  border-radius:5px!important;
  box-shadow:0 1px 3px rgba(10,26,35,.12)!important;
}

/* Mobile mirrors NHL: one leader column and two summary cards per row. */
@media(max-width:700px){
  html body #comp-og26 #og26StatsView .og26-stats-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    margin:0 0 13px!important;
  }
  html body #comp-og26 #og26StatsView .og26-stats-summary>div{
    min-height:82px!important;
    padding:12px!important;
  }
  html body #comp-og26 #og26StatsView .og26-stats-summary b{
    font-size:26px!important;
  }
  html body #comp-og26 #og26StatsView .og26-stats-leaders{
    grid-template-columns:1fr!important;
    margin:0 0 13px!important;
  }
  html body #comp-og26 #og26StatsView .og26-stats-stage{
    margin:16px 12px 7px!important;
  }
  html body #comp-og26 #og26StatsView .og26-stats-match{
    margin:8px 0!important;
  }
  html body #comp-og26 #og26StatsView .og26-stats-match-main{
    grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr)!important;
    gap:6px!important;
    padding:11px 8px!important;
  }
  html body #comp-og26 #og26StatsView .og26-stats-team{
    gap:6px!important;
  }
  html body #comp-og26 #og26StatsView .og26-stats-team b{
    font-size:11px!important;
  }
  html body #comp-og26 #og26StatsView .og26-stats-match .og26-stats-flag{
    width:32px!important;
    height:22px!important;
  }
  html body #comp-og26 #og26StatsView .og26-stats-match-main>strong{
    font-size:22px!important;
  }
  html body #comp-og26 #og26StatsView .og26-stats-match footer{
    padding:8px!important;
  }
}
@media(max-width:380px){
  html body #comp-og26 #og26StatsView .og26-stats-match-main{
    grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr)!important;
  }
  html body #comp-og26 #og26StatsView .og26-stats-match footer small{
    display:none!important;
  }
}
