/* Approved Code 1 hockey Gamecast body, scoped to its native route. */
#tsp-stories.code1-nhl-game { color-scheme: light; --ink:#141719; --muted:#555e65; --rule:#e0e4e7; --link:#16496c; --paper:#fff; font-family:"TSP Inter",Inter,Arial,Helvetica,sans-serif; }
#tsp-stories.code1-nhl-game * { box-sizing:border-box; }
#tsp-stories.code1-nhl-game a { color:inherit; text-decoration:none; }
#tsp-stories.code1-nhl-game a:hover { text-decoration:underline; text-underline-offset:3px; }
#tsp-stories.code1-nhl-game :focus-visible { outline:2px solid #4b8ab8; outline-offset:4px; }
#tsp-stories.code1-nhl-game { width:min(1080px,100% - 40px); margin-inline:auto; }
#tsp-stories.code1-nhl-game { padding-block:26px 40px; }
#tsp-stories.code1-nhl-game .context { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px 16px; margin:0 0 10px; }
#tsp-stories.code1-nhl-game h1 { margin:0; font-size:clamp(20px,3.5vw,32px); line-height:1.14; letter-spacing:-.03em; }
#tsp-stories.code1-nhl-game .context a { color:var(--link); font-size:13px; font-weight:700; }
#tsp-stories.code1-nhl-game .card { background:var(--paper); border:1px solid var(--rule); border-radius:10px; min-width:0; overflow:hidden; }
#tsp-stories.code1-nhl-game .scoreboard { position:sticky; top:0; z-index:3; }
#tsp-stories.code1-nhl-game .match { display:grid; grid-template-columns:minmax(0,1fr) minmax(110px,.7fr) minmax(0,1fr); align-items:center; min-height:143px; background:linear-gradient(90deg,#fff8f9,#fff 45%,#fff 55%,#fff8ef); padding:16px 20px; gap:10px; }
#tsp-stories.code1-nhl-game .team { display:flex; align-items:center; justify-content:center; gap:12px; min-width:0; text-align:center; }
#tsp-stories.code1-nhl-game .team img { width:clamp(46px,8vw,68px); height:auto; }
#tsp-stories.code1-nhl-game .team-name { max-width:10rem; font-weight:800; font-size:clamp(14px,2vw,22px); line-height:1.12; }
#tsp-stories.code1-nhl-game .team-name small { display:block; margin-top:5px; font-size:11px; font-weight:600; line-height:1.25; color:var(--muted); }
#tsp-stories.code1-nhl-game .event-list { list-style:none; margin:8px 0 2px; padding:0; }
#tsp-stories.code1-nhl-game .event-list li { display:grid; grid-template-columns:43px 1fr auto; align-items:baseline; gap:8px; padding:8px 0; border-bottom:1px solid var(--rule); font-size:13px; line-height:1.35; }
#tsp-stories.code1-nhl-game .event-list li:last-child { border-bottom:0; }
#tsp-stories.code1-nhl-game .event-list time, #tsp-stories.code1-nhl-game .event-list span, #tsp-stories.code1-nhl-game td small, #tsp-stories.code1-nhl-game th small { color:var(--muted); font-size:11px; }
#tsp-stories.code1-nhl-game .event-list span { display:block; margin-top:2px; }
#tsp-stories.code1-nhl-game th small { display:inline-block; font-weight:500; }
#tsp-stories.code1-nhl-game .score { font-size:clamp(28px,5vw,51px); font-weight:800; line-height:1; font-variant-numeric:tabular-nums; }
#tsp-stories.code1-nhl-game .match-state { text-align:center; display:grid; justify-items:center; gap:6px; }
#tsp-stories.code1-nhl-game .snapshot { color:#8e2735; font-weight:800; font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
#tsp-stories.code1-nhl-game .period { font-size:clamp(15px,2.4vw,19px); font-weight:800; }
#tsp-stories.code1-nhl-game .when { color:var(--muted); font-size:12px; }
#tsp-stories.code1-nhl-game .views { display:flex; flex-wrap:wrap; border-top:1px solid var(--rule); gap:8px 20px; padding-inline:16px; }
#tsp-stories.code1-nhl-game .views a { padding:13px 2px 11px; font-size:13px; font-weight:700; }
#tsp-stories.code1-nhl-game .views [aria-current] { border-bottom:3px solid #951d2b; }
#tsp-stories.code1-nhl-game .columns { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); gap:14px; margin-top:14px; }
#tsp-stories.code1-nhl-game .column { display:grid; align-content:start; gap:14px; min-width:0; }
#tsp-stories.code1-nhl-game .panel { padding:16px 18px; }
#tsp-stories.code1-nhl-game .panel h2 { font-size:18px; letter-spacing:-.01em; margin:0 0 11px; }
#tsp-stories.code1-nhl-game .panel p { margin:5px 0; color:var(--muted); font-size:13px; line-height:1.45; }
#tsp-stories.code1-nhl-game .panel a { color:var(--link); }
#tsp-stories.code1-nhl-game .panel details { border-top:1px solid var(--rule); padding-top:10px; margin-top:10px; }
#tsp-stories.code1-nhl-game .panel summary { cursor:pointer; font-weight:800; font-size:14px; }
#tsp-stories.code1-nhl-game .game-facts { display:grid; grid-template-columns:max-content 1fr; gap:8px 18px; margin:0; font-size:13px; line-height:1.35; }
#tsp-stories.code1-nhl-game .game-facts dt { font-weight:700; color:var(--muted); }
#tsp-stories.code1-nhl-game .game-facts dd { margin:0; }
#tsp-stories.code1-nhl-game table { width:100%; border-collapse:collapse; font-size:12px; font-variant-numeric:tabular-nums; }
#tsp-stories.code1-nhl-game caption { text-align:left; color:var(--muted); margin-bottom:8px; }
#tsp-stories.code1-nhl-game th, #tsp-stories.code1-nhl-game td { padding:8px 5px; border-bottom:1px solid var(--rule); text-align:right; white-space:nowrap; }
#tsp-stories.code1-nhl-game th:first-child, #tsp-stories.code1-nhl-game td:first-child { text-align:left; padding-left:0; white-space:normal; }
#tsp-stories.code1-nhl-game thead th { font-weight:800; color:var(--muted); font-size:11px; }
#tsp-stories.code1-nhl-game tbody tr:last-child td, #tsp-stories.code1-nhl-game tbody tr:last-child th { border-bottom:0; }
#tsp-stories.code1-nhl-game .standings-highlight { background:#f5f7f8; font-weight:700; }
#tsp-stories.code1-nhl-game .source { color:var(--muted); font-size:12px; margin:14px 0 0; line-height:1.5; }
#tsp-stories.code1-nhl-game .source a { color:var(--link); }
@media(max-width:700px) {
    #tsp-stories.code1-nhl-game .columns { grid-template-columns:1fr; }
}
@media(max-width:470px) {
    #tsp-stories.code1-nhl-game { width:calc(100% - 24px); }
    #tsp-stories.code1-nhl-game { padding-top:16px; }
    #tsp-stories.code1-nhl-game .match { padding:14px 8px; min-height:142px; grid-template-columns:minmax(0,1fr) minmax(92px,.9fr) minmax(0,1fr); gap:5px; }
    #tsp-stories.code1-nhl-game .team { flex-direction:column; gap:3px; }
    #tsp-stories.code1-nhl-game .team .score { order:2; }
    #tsp-stories.code1-nhl-game .team img { order:-1; width:43px; }
    #tsp-stories.code1-nhl-game .team-name { font-size:12px; }
    #tsp-stories.code1-nhl-game .views { padding-inline:10px; gap:0 13px; }
    #tsp-stories.code1-nhl-game .views a { font-size:12px; }
    #tsp-stories.code1-nhl-game .panel { padding:14px; }
}

@layer tsp-preview-typography {
    #tsp-stories.code1-nhl-game :is(.team-name, .matchup .side > span) {
        font-size: var(--tsp-approved-team) !important;
        line-height: 1.3 !important;
    }
    #tsp-stories.code1-nhl-game .scoreboard :is(.totals b, .score) {
        font-size: var(--tsp-approved-score) !important;
        line-height: 1.1 !important;
    }
    #tsp-stories.code1-nhl-game :is(table, th, td, .game-facts dt, .game-facts dd) {
        font-size: var(--tsp-approved-data) !important;
        line-height: 1.35 !important;
    }
    #tsp-stories.code1-nhl-game :is(.snapshot, .clock, .period, .venue) {
        font-size: var(--tsp-approved-detail) !important;
        line-height: 1.35 !important;
    }
}

#tsp-stories.code1-nhl-game #sgp-panel > .sgp-section:first-child {
    margin-top: 12px;
}
