.sd-ice {
    width: min(100%, 76rem);
    box-sizing: border-box;
    margin: auto;
    padding: clamp(.75rem, 3vw, 2rem);
    color: #e8f6ff;
    background: #080e17;
}
.sd-ice a { color: #c5e8ff; }
.sd-ice h2 { margin-top: 1.5rem; color: #c5e8ff; }
.sd-ice p { color: #b7ccdf; }
.sd-ice-hero {
    text-align: center;
    padding: clamp(2rem, 7vw, 6rem) .8rem;
    border: 1px solid #365572;
    border-radius: 1rem;
    background:
        linear-gradient(0deg, #080e17, transparent 75%),
        radial-gradient(ellipse at 50% 115%, transparent 36%, #96dcfc66 37%, transparent 38%),
        linear-gradient(90deg, #10273f, #386984 49%, #b25565 50%, #386984 51%, #10273f);
}
.sd-ice-hero img { width: 140px; height: auto; }
.sd-ice-hero h1 {
    margin: .35rem 0;
    color: #f4faff;
    font-size: clamp(1.8rem, 5vw, 4rem);
    line-height: 1.08;
}
.sd-ice-hero h1 span { font-size: .55em; color: #f3d99c; }
.sd-ice-track {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: .2rem .2rem 1rem;
    list-style: none;
}
.sd-ice-track li { flex: 0 0 min(82%, 19rem); scroll-snap-align: start; }
.sd-ice-track a, .sd-ice section {
    display: block;
    background: #101e2c;
    border: 1px solid #31506b;
    border-radius: .75rem;
    padding: .9rem;
}
.sd-ice-track a { height: 100%; text-decoration: none; box-sizing: border-box; }
.sd-ice-track strong, .sd-ice-track small { display: block; margin-bottom: .55rem; }
.sd-ice-track small { color: #f3d99c; }
.sd-ice-shirts { display: flex; justify-content: center; gap: .85rem; margin-bottom: .55rem; }
.sd-ice-track .sd-ice-shirts { justify-content: flex-start; }
.sd-ice .sd-ice-shirts img { width: auto; max-width: none; object-fit: contain; }
.sd-ice .sd-ice-hero .sd-ice-shirts img { width: 88px; max-width: calc((100% - .85rem) / 2); }
.sd-ice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.sd-ice section { margin-block: .7rem; min-width: 0; overflow-x: auto; }
.sd-ice table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sd-ice th, .sd-ice td { padding: .45rem; text-align: left; border-bottom: 1px solid #2b4257; }
.sd-ice th { color: #c5e8ff; }
.sd-ice a:focus-visible, .sd-ice-track:focus-visible { outline: 2px solid #f3d99c; outline-offset: 2px; }
@media (max-width: 760px) {
    .sd-ice-grid { grid-template-columns: 1fr; }
}

/* The arena homepage uses the shared navigation and its own layout. */
body:has(.ice-home) {
    --ice-blue: #72d8ff;
    --ice-gold: #ffdb77;
    background: #04111b;
}
body:has(.ice-home) main { max-width: none; width: 100%; margin: 0; padding: 0; }
body:has(.ice-home) .site-header { background: #04121d; }
.sd-ice:has(> .ice-home) {
    width: 100%;
    padding: 0;
    background: #04111b;
}
.ice-home {
    color: #f0f8ff;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    background: radial-gradient(ellipse at 50% 67%, #0c2a40, transparent 74%), #04111b;
}
.ice-home [hidden] { display: none !important; }
.ice-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: clamp(180px, 15vw, 252px);
    padding: 12px;
    text-align: center;
    background:
        linear-gradient(0deg, #04111b, transparent 23%),
        radial-gradient(ellipse at 50% 35%, #04111bd9, transparent 65%),
        url('/nhl/rink.webp') center / 100% 100%,
        linear-gradient(#051423, #0d4165);
}
.ice-flags {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.ice-flags svg {
    position: absolute;
    top: 50%;
    width: clamp(250px, 51%, 780px);
    opacity: .24;
    mix-blend-mode: screen;
    mask-image: radial-gradient(ellipse 63% 62%, #000 22%, transparent 79%);
}
.ice-flag-us { right: 42%; transform: translateY(-52%) rotate(-11deg); }
.ice-flag-ca { left: 42%; transform: translateY(-48%) rotate(10deg); }
.ice-hero h1 {
    position: relative;
    margin: 0 0 8px;
    font: 900 clamp(30px, 5.6vw, 84px)/1 Arial, sans-serif;
    letter-spacing: -.055em;
    color: #def5ff;
    filter: drop-shadow(0 3px 5px #020a14);
}
.ice-hero h1, .ice-hero h1 span {
    background: linear-gradient(#f7fdff 10%, #a0d2eb 48%, #f2fcff 51%, #6fa8c8 91%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ice-hero h1 span {
    color: #f6d896;
    background-image: linear-gradient(#fff4d0 10%, #c5a265 48%, #ffe9b4 51%, #b3894b 91%);
}
.ice-hero p {
    position: relative;
    margin: 4px 0 0;
    color: #def3ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: clamp(9px, 1.2vw, 16px);
    text-shadow: 0 1px 5px #000;
}
.ice-content { max-width: 1620px; margin: auto; padding: 0 clamp(10px, 2.35vw, 38px) 32px; }
.sd-ice .ice-home section { padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.ice-home h2 {
    margin: 0;
    color: #f3f9ff;
    font-size: clamp(16px, 1.95vw, 29px);
    text-transform: uppercase;
    letter-spacing: -.025em;
    line-height: 1.15;
}
.ice-home h2::before {
    display: inline-block;
    margin-right: .42em;
    color: var(--ice-gold);
}
.ice-upcoming h2::before { content: "▦"; }
.ice-leaders h2::before { content: "▥"; }
.ice-form h2::before { content: "◆"; }
.ice-carousel {
    position: relative;
    margin: 8px 0 0;
    padding: 0 25px;
}
.ice-track {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 36px) / 4);
    gap: 12px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}
.ice-track::-webkit-scrollbar { display: none; }
.ice-track li { min-width: 0; scroll-snap-align: start; }
.ice-home .ice-match {
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    justify-items: center;
    height: 100%;
    box-sizing: border-box;
    padding: 5px 7px 7px;
    border: 1px solid #5ea4c5;
    border-radius: 15px;
    background:
        radial-gradient(circle at center, transparent 0 34%, #a7dfff24 35% 36%, transparent 37%)
            center 38% / 92px 92px no-repeat,
        linear-gradient(90deg, transparent 49.6%, #bce7ff20 49.6% 50.4%, transparent 50.4%),
        repeating-linear-gradient(153deg, transparent 0 28px, #c9ebff09 29px 30px, transparent 31px 49px),
        radial-gradient(ellipse at 18% 0%, #285271, transparent 62%),
        radial-gradient(ellipse at 100% 100%, #624320, transparent 56%),
        linear-gradient(145deg, #0e2338, #070c15 78%);
    box-shadow: inset 0 0 18px #65cfff22;
    color: #f2f8ff;
    text-decoration: none;
}
.ice-home .ice-free {
    border-color: #ffe090;
    box-shadow: inset 0 0 14px #ffcc4760, 0 0 8px #f2bf465e;
}
.ice-home .ice-match:is(:hover, :focus-visible, :active) { border-color: #fff0c3; }
.ice-home .ice-match:focus-visible { outline: 2px solid #fff0c3; outline-offset: -4px; }
.ice-access {
    display: inline-block;
    border-radius: 99px;
    padding: 3px 16px;
    background: #03131f;
    color: var(--ice-gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.ice-access::before { content: "♛"; margin-right: .4em; }
.ice-free .ice-access {
    color: #171305;
    background: linear-gradient(#ffefae, #eab42f);
    box-shadow: 0 0 10px #f8cb4c77;
}
.ice-free .ice-access::before { content: "★"; }
.ice-duel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    width: 100%;
    gap: 2px;
}
.ice-team { min-width: 0; text-align: center; }
.ice-team[data-club="ANA"] { --club-color: #fc4c02; }
.ice-team[data-club="BOS"] { --club-color: #ffb81c; }
.ice-team[data-club="BUF"] { --club-color: #003087; }
.ice-team[data-club="CAR"] { --club-color: #ce1126; }
.ice-team[data-club="CBJ"] { --club-color: #002654; }
.ice-team[data-club="CGY"] { --club-color: #c8102e; }
.ice-team[data-club="CHI"] { --club-color: #cf0a2c; }
.ice-team[data-club="COL"] { --club-color: #6f263d; }
.ice-team[data-club="DAL"] { --club-color: #006847; }
.ice-team[data-club="DET"] { --club-color: #ce1126; }
.ice-team[data-club="EDM"] { --club-color: #ff4c00; }
.ice-team[data-club="FLA"] { --club-color: #c8102e; }
.ice-team[data-club="LAK"] { --club-color: #a2aaad; }
.ice-team[data-club="MIN"] { --club-color: #154734; }
.ice-team[data-club="MTL"] { --club-color: #af1e2d; }
.ice-team[data-club="NJD"] { --club-color: #ce1126; }
.ice-team[data-club="NSH"] { --club-color: #ffb81c; }
.ice-team[data-club="NYI"] { --club-color: #00539b; }
.ice-team[data-club="NYR"] { --club-color: #0038a8; }
.ice-team[data-club="OTT"] { --club-color: #c52032; }
.ice-team[data-club="PHI"] { --club-color: #f74902; }
.ice-team[data-club="PIT"] { --club-color: #fcb514; }
.ice-team[data-club="SEA"] { --club-color: #99d9d9; }
.ice-team[data-club="SJS"] { --club-color: #006d75; }
.ice-team[data-club="STL"] { --club-color: #002f87; }
.ice-team[data-club="TBL"] { --club-color: #002868; }
.ice-team[data-club="TOR"] { --club-color: #00205b; }
.ice-team[data-club="UTA"] { --club-color: #6cace4; }
.ice-team[data-club="VAN"] { --club-color: #00205b; }
.ice-team[data-club="VGK"] { --club-color: #b4975a; }
.ice-team[data-club="WPG"] { --club-color: #041e42; }
.ice-team[data-club="WSH"] { --club-color: #c8102e; }
.ice-team img {
    display: block;
    width: 100%;
    height: clamp(66px, 6vw, 102px);
    background: radial-gradient(ellipse 52% 52% at center,
        var(--club-color, #81b8d7) 0%,
        color-mix(in srgb, var(--club-color, #81b8d7) 58%, #a9cce3) 42%,
        transparent 98%);
    object-fit: contain;
    filter: drop-shadow(0 4px 6px #0009);
}
.ice-team strong {
    display: grid;
    place-items: center;
    min-height: 2.25em;
    margin: 1px 0 4px;
    font-size: clamp(11px, 1.22vw, 18px);
    line-height: 1.08;
    overflow-wrap: anywhere;
}
.ice-duel em { color: #a7dcf6; font-size: clamp(20px, 2.25vw, 32px); font-weight: 900; }
.ice-free .ice-duel em { color: #ffe094; }
.ice-match time {
    width: 88%;
    padding-top: 5px;
    border-top: 1px solid #609cbd55;
    text-align: center;
    font-size: clamp(10px, 1vw, 14px);
    white-space: nowrap;
}
.ice-match time::before { content: "▦"; color: #aedaf1; margin-right: .5em; }
.ice-prev, .ice-next {
    position: absolute;
    top: 42%;
    display: grid;
    place-items: center;
    width: 23px;
    height: 32px;
    padding: 0;
    border: 1px solid #45718a;
    border-radius: 100px;
    color: #ecf8ff;
    background: linear-gradient(#2e5872, #0a2335);
    font: 26px/1 Arial, sans-serif;
    cursor: pointer;
}
.ice-prev { left: 0; }
.ice-next { right: 0; }
.ice-carousel button:disabled { opacity: .4; cursor: default; }
.ice-standings {
    display: grid;
    grid-template-columns: minmax(0, 2.8fr) minmax(0, 1fr);
    gap: 12px;
    margin: 12px auto 0;
    border-top: 1px solid #57b8e1;
    box-shadow: 0 -9px 16px -15px #7addff;
}
.ice-home :is(.ice-standings, .ice-goalie-leader) {
    box-sizing: border-box;
    max-width: 1202px;
    margin-inline: auto;
}
.ice-section-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.ice-section-title p, .ice-form > p {
    margin: 0;
    font-size: clamp(10px, .95vw, 14px);
    color: #bad5e7;
}
.ice-home .ice-match-cta {
    --cta-edge: #8de8ff;
    --cta-fill: #5acbf2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75em;
    width: min(90%, 12rem);
    min-height: 44px;
    margin: 6px 0 2px;
    border: 1px solid var(--cta-edge);
    border-radius: 10px;
    background: linear-gradient(155deg, var(--cta-edge), var(--cta-fill));
    box-shadow: inset 0 1px #ffffff28, 0 4px 10px #0006;
    color: #071725;
    font-weight: 800;
    letter-spacing: .02em;
}
.ice-home .ice-free .ice-match-cta {
    --cta-edge: #ffe5a5;
    --cta-fill: #ffba43;
}
.ice-match-cta > span {
    transition: transform .18s ease;
}
.ice-match:hover .ice-match-cta,
.ice-match:is(:focus-visible, :active) .ice-match-cta {
    background: var(--cta-edge);
    box-shadow: inset 0 1px #ffffff38, 0 0 12px #8bd5ff30;
}
.ice-match:hover .ice-match-cta > span,
.ice-match:focus-visible .ice-match-cta > span { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
    .ice-match-cta > span { transition: none; }
}
.ice-home .ice-leader {
    padding-bottom: 14px;
    border: 1px solid #4f97bf;
    border-radius: 14px;
    background: #061724;
    overflow: hidden;
}
.ice-home .ice-leader + .ice-leader { margin-top: 10px; }
.ice-home .ice-leader h3 {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 8px 12px;
    color: #d9f2ff;
    font-size: 14px;
    text-transform: uppercase;
}
.ice-home .ice-tabs { margin: 0 0 8px; }
.ice-home .ice-tabs button {
    --tab-accent: #ffce73;
    min-height: 44px;
    border: 1px solid var(--tab-accent);
    border-radius: 10px;
    color: var(--tab-accent);
    background: #122437;
    font: 800 clamp(11px, 1.3vw, 16px) Arial, sans-serif;
    cursor: pointer;
}
.ice-home .ice-tabs button[data-metric="assists"] { --tab-accent: #82e7ff; }
.ice-home .ice-tabs button[data-metric="points"] { --tab-accent: #dbbaff; }
.ice-home .ice-tabs button:is(:hover, :active) { background: #253c54; }
.ice-home .ice-tabs button[aria-pressed="true"] {
    color: #071725;
    background: var(--tab-accent);
    box-shadow: inset 0 -3px #07172555;
}
.ice-home .sd-podium-stage {
    background: linear-gradient(#03132099, #071d2f88), url('/nhl/rink.webp') center / cover;
}
.ice-home .sd-podium-stage::before {
    background: conic-gradient(from 320deg at 50% 94%, transparent, #82dfff42 35deg, transparent 75deg);
}
.ice-home .sd-podium-stage::after {
    background: radial-gradient(ellipse, #aae8ff99, #0f6b9b44 45%, transparent 72%);
}
.ice-home .sd-podium-plinth { min-height: 158px; }
.ice-home .sd-place-1 .sd-podium-plinth { min-height: 181px; }
.ice-home .sd-podium-plinth {
    background: linear-gradient(90deg, #25455c, #071827 15%, #061320 50%, #102c40 88%, #365a70);
}
.ice-home .sd-podium-hero .sd-podium-value { color: var(--rim); }
.ice-home .sd-podium-unit, .ice-home .sd-row-value, .ice-home .sd-row-rank { color: #bdeaff; }
.ice-home .sd-podium-rest {
    list-style: none;
    border-color: #5599bf;
    background: #081c2b;
    box-shadow: none;
}
.ice-home .sd-podium-row > img { width: 100%; height: 56px; object-fit: contain; }
.ice-home .sd-podium-row {
    display: grid;
    grid-template-columns: 42px 64px minmax(0, 1fr) 70px;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    border-color: #71bde740;
}
.ice-home .sd-row-rank { border-color: #5599bf; }
.ice-form > p { margin: 5px 0 11px; }
.ice-form ol { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.ice-form li {
    --medal: #edcc83;
    --medal-glow: #8c652d55;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--medal);
    border-radius: 15px;
    background: radial-gradient(ellipse at 12% 30%, var(--medal-glow), transparent 66%),
                linear-gradient(150deg, #183249, #071827 70%);
    box-shadow: inset 0 1px #ffffff23, 0 5px 12px #0005;
}
.ice-form .ice-form-place-2 { --medal: #c3d9e6; --medal-glow: #809baa55; }
.ice-form .ice-form-place-3 { --medal: #dda886; --medal-glow: #ab684455; }
.ice-form-header { display: flex; align-items: center; gap: 10px; }
.ice-form-header strong { font-size: 15px; line-height: 1.15; overflow-wrap: anywhere; }
.ice-form-identity { display: grid; justify-items: start; gap: 6px; min-width: 0; }
.ice-form-shirt { flex: 0 0 clamp(104px, 40%, 144px); }
.ice-form-shirt img {
    display: block;
    width: 100%;
    height: 132px;
    object-fit: contain;
    filter: drop-shadow(0 6px 6px #0009);
}
.ice-form .ice-rank {
    padding: 3px 6px;
    border: 1px solid var(--medal);
    border-radius: 6px;
    background: #0b1722;
    color: var(--medal);
    font: 800 12px/1.2 Arial, sans-serif;
}
.ice-form-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ice-form-score strong {
    color: var(--medal);
    font-size: clamp(38px, 4vw, 56px);
    line-height: .95;
    font-variant-numeric: tabular-nums;
}
.ice-form-score small { font-size: .56em; }
.ice-form-score > span, .ice-form dt, .ice-form-series { color: #c5deed; font-size: 12px; }
.ice-form meter { display: block; width: 100%; height: 10px; }
.ice-form meter::-webkit-meter-bar { background: #102539; border: 1px solid #6386a0; }
.ice-form meter::-webkit-meter-optimum-value { background: var(--medal); }
.ice-form meter::-moz-meter-bar { background: var(--medal); }
.ice-form dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin: 0; }
.ice-form dd { margin: 2px 0 0; color: #f3f8ff; font-size: 22px; font-weight: 800; }
.ice-form-series .ice-streak { margin-top: 5px; color: #fff; }
.ice-streak { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.ice-streak span { border-radius: 4px; font-size: 10px; padding-block: 3px; text-align: center; font-weight: 800; }
.ice-result-v { background: #136342; }
.ice-result-d { background: #962d31; }
.ice-home button:focus-visible, .ice-track:focus-visible { outline: 2px solid #ffdf87; outline-offset: 2px; }

@media (min-width: 741px) and (max-width: 1030px) {
    .ice-standings { grid-template-columns: minmax(0, 1fr); }
    .ice-form ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 740px) {
    .ice-hero { min-height: 146px; background-position: 69% center; background-size: auto, auto, cover, auto; }
    .ice-hero h1 { font-size: clamp(24px, 8.5vw, 58px); }
    .ice-content { padding-bottom: 20px; }
    html body:has(.ice-home) .sd-secondary-header .sd-account-actions a,
    html body:has(.ice-home) .sd-secondary-header a.sd-account-actions {
        min-height: 34px !important;
        border-color: #3b647e;
    }
    .ice-home h2 { font-size: clamp(16px, 4.6vw, 23px); }
    .ice-carousel { padding-inline: 22px; margin-top: 3px; }
    .ice-track { grid-auto-columns: 100%; gap: 9px; }
    .ice-prev, .ice-next { width: 19px; height: 25px; font-size: 20px; }
    .ice-home .ice-match { padding-inline: 4px; }
    .ice-duel { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); }
    .ice-team { display: grid; align-items: center; grid-template-columns: 46% minmax(0, 1fr); }
    .ice-side-away { grid-template-columns: minmax(0, 1fr) 46%; }
    .ice-side-away img { grid-column: 2; grid-row: 1; }
    .ice-side-away strong { grid-column: 1; grid-row: 1; }
    .ice-team img { height: clamp(55px, 18vw, 90px); }
    .ice-team strong { font-size: clamp(10px, 2.8vw, 14px); }
    .ice-duel em { text-align: center; }
    .ice-standings { display: block; border: 0; box-shadow: none; margin-top: 10px; }
    .sd-ice .ice-home :is(.ice-leaders, .ice-form) {
        padding: 9px;
        border: 1px solid #4e94bb;
        border-radius: 13px;
        background: linear-gradient(150deg, #12374d, #071725 45%, #0b2b42);
    }
    .ice-section-title { justify-content: space-between; gap: 5px; margin-bottom: 7px; }
    .ice-section-title p { font-size: 9px; text-align: right; }
    .ice-home .sd-podium-plinth { min-height: 136px; }
    .ice-home .sd-place-1 .sd-podium-plinth { min-height: 154px; }
    .ice-home .sd-podium-row > img { height: 42px; }
    .ice-home .sd-podium-row {
        grid-template-columns: 25px 32px minmax(0, 1fr) 46px;
        gap: 6px;
        min-height: 52px;
    }
    .ice-form > p { margin-bottom: 7px; }
}

@media (min-width: 1100px) {
    body:has(.ice-home) { position: relative; }
    body:has(.ice-home) .site-header { padding-block: 12px; }
    body:has(.ice-home) .site-header .sd-desktop-nav { gap: 9px; }
}


/* Player sticks use the native asset coordinate system for the shaft label. */
.sd-player-stick {
    display: block;
    position: relative;
    width: min(100%, 360px);
    min-width: 0;
}
/* Keep the light behind the transparent asset and inside its existing bounds. */
.sd-player-stick {
    isolation: isolate;
    --stick-glow-strength: 32%;
}
.sd-player-stick::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 42% 6% 0 10%;
    pointer-events: none;
    background:
        radial-gradient(ellipse 47% 19% at 50% 70%,
            color-mix(in srgb, var(--stick-glow) 12%, transparent), transparent 100%),
        radial-gradient(ellipse 50% 48% at 50% 46%,
            color-mix(in srgb, var(--stick-glow) var(--stick-glow-strength), transparent), transparent 100%);
}
.sd-potentiel-team li > .sd-player-stick { --stick-glow-strength: 46%; }

/* Franchise colors keyed to the SHOOTDATA IDs used in the stick asset URLs. */
.sd-player-stick:has(> img[src^="/nhl/sticks/56.webp"]) { --stick-glow: #FC4C02; }
.sd-player-stick:has(> img[src^="/nhl/sticks/51.webp"]) { --stick-glow: #FFB81C; }
.sd-player-stick:has(> img[src^="/nhl/sticks/4.webp"]) { --stick-glow: #547BDF; }
.sd-player-stick:has(> img[src^="/nhl/sticks/18.webp"]) { --stick-glow: #CC0000; }
.sd-player-stick:has(> img[src^="/nhl/sticks/15.webp"]) { --stick-glow: #CE1126; }
.sd-player-stick:has(> img[src^="/nhl/sticks/50.webp"]) { --stick-glow: #C8102E; }
.sd-player-stick:has(> img[src^="/nhl/sticks/53.webp"]) { --stick-glow: #CF0A2C; }
.sd-player-stick:has(> img[src^="/nhl/sticks/34.webp"]) { --stick-glow: #AF526C; }
.sd-player-stick:has(> img[src^="/nhl/sticks/20.webp"]) { --stick-glow: #23B38A; }
.sd-player-stick:has(> img[src^="/nhl/sticks/54.webp"]) { --stick-glow: #CE1126; }
.sd-player-stick:has(> img[src^="/nhl/sticks/47.webp"]) { --stick-glow: #FFB544; }
.sd-player-stick:has(> img[src^="/nhl/sticks/17.webp"]) { --stick-glow: #C8102E; }
.sd-player-stick:has(> img[src^="/nhl/sticks/38.webp"]) { --stick-glow: #A2AAAD; }
.sd-player-stick:has(> img[src^="/nhl/sticks/40.webp"]) { --stick-glow: #479C76; }
.sd-player-stick:has(> img[src^="/nhl/sticks/2.webp"]) { --stick-glow: #AF1E2D; }
.sd-player-stick:has(> img[src^="/nhl/sticks/32.webp"]) { --stick-glow: #CE1126; }
.sd-player-stick:has(> img[src^="/nhl/sticks/23.webp"]) { --stick-glow: #FFB81C; }
.sd-player-stick:has(> img[src^="/nhl/sticks/7.webp"]) { --stick-glow: #00539B; }
.sd-player-stick:has(> img[src^="/nhl/sticks/61.webp"]) { --stick-glow: #507BE8; }
.sd-player-stick:has(> img[src^="/nhl/sticks/33.webp"]) { --stick-glow: #C52032; }
.sd-player-stick:has(> img[src^="/nhl/sticks/55.webp"]) { --stick-glow: #F74902; }
.sd-player-stick:has(> img[src^="/nhl/sticks/59.webp"]) { --stick-glow: #FFB81C; }
.sd-player-stick:has(> img[src^="/nhl/sticks/57.webp"]) { --stick-glow: #99D9D9; }
.sd-player-stick:has(> img[src^="/nhl/sticks/13.webp"]) { --stick-glow: #30A6B1; }
.sd-player-stick:has(> img[src^="/nhl/sticks/52.webp"]) { --stick-glow: #507BE8; }
.sd-player-stick:has(> img[src^="/nhl/sticks/22.webp"]) { --stick-glow: #537FE8; }
.sd-player-stick:has(> img[src^="/nhl/sticks/46.webp"]) { --stick-glow: #568EFF; }
.sd-player-stick:has(> img[src^="/nhl/sticks/114.webp"]) { --stick-glow: #6CACE4; }
.sd-player-stick:has(> img[src^="/nhl/sticks/60.webp"]) { --stick-glow: #238A70; }
.sd-player-stick:has(> img[src^="/nhl/sticks/19.webp"]) { --stick-glow: #B4975A; }
.sd-player-stick:has(> img[src^="/nhl/sticks/21.webp"]) { --stick-glow: #7B9FBD; }
.sd-player-stick:has(> img[src^="/nhl/sticks/36.webp"]) { --stick-glow: #C8102E; }

.sd-player-stick > img {
    display: block;
    width: 100%;
    height: auto;
}
.sd-player-stick > svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.sd-player-stick text {
    fill: #fff;
    stroke: #111;
    stroke-width: 3px;
    stroke-linejoin: round;
    paint-order: stroke fill;
    font: 800 26px Arial, sans-serif;
}
.sd-potentiel-team li > .sd-player-stick {
    grid-column: 1 / -1;
    justify-self: center;
}
.sd-ice td > .sd-player-stick { width: clamp(120px, 21vw, 270px); }

.ice-home .ice-goalie-leader {
    margin-top: 16px;
    background: radial-gradient(ellipse at top, #342811, #13110d 62%, #090909);
    border-color: #69542a;
}
.ice-home .ice-goalie-leader :is(h2, .sd-podium-hero .sd-podium-value, .sd-row-value, .sd-row-rank) {
    color: #f4d58b;
}
.ice-home .ice-goalie-leader h2, .ice-home .ice-goalie-method {
    margin-inline: 12px;
}
.ice-home .ice-goalie-leader h2 {
    margin-block: 12px 4px;
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    text-transform: uppercase;
}
.ice-home .ice-goalie-leader .sd-podium-value {
    font-size: clamp(.88rem, 2.3vw, 1.65rem);
    white-space: nowrap;
}
.ice-home .ice-goalie-leader .sd-podium-plinth {
    padding-inline: 4px;
}
.ice-home .ice-goalie-leader .sd-row-value {
    white-space: nowrap;
}
.ice-home .ice-goalie-leader .sd-podium-row {
    grid-template-columns: auto clamp(34px, 9vw, 64px) minmax(0, 1fr) auto;
}
.ice-home .ice-goalie-leader .sd-row-name {
    overflow-wrap: anywhere;
}
.ice-home .ice-goalie-method, .ice-home .ice-goalie-stats {
    color: #dfd1b4;
    font-size: .72rem;
    line-height: 1.4;
}
.ice-home .ice-goalie-stats {
    display: block;
    margin-top: 4px;
}

.sd-ice .ice-match-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin: 1.5rem 0;
}
.sd-ice .ice-match-nav a {
    display: grid;
    gap: .25rem;
    min-width: 0;
    padding: .8rem;
    border: 1px solid #8a6c36;
    border-radius: 12px;
    background: #111923;
    color: #f7f8fa;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.sd-ice .ice-match-nav a[rel="next"] { grid-column: 2; text-align: right; }
.sd-ice .ice-match-nav strong { color: #ffe1a0; text-transform: uppercase; }
.sd-ice .ice-match-nav small { color: #d1dae3; }
.sd-ice .ice-match-nav a:hover,
.sd-ice .ice-match-nav a:focus-visible { outline: 2px solid #ffe1a0; outline-offset: 2px; }
@media (max-width: 480px) {
    .sd-ice .ice-match-nav { grid-template-columns: minmax(0, 1fr); }
    .sd-ice .ice-match-nav a[rel="next"] { grid-column: 1; }
}

/* Match page */
.sd-ice .ice-arena-match {
    padding: clamp(14px, 3vw, 34px) clamp(6px, 2vw, 24px) clamp(18px, 4vw, 42px);
    border: 1px solid #526e87;
    border-radius: 16px;
    background: linear-gradient(180deg, #060c18cc, #08142666 47%, #050912f5),
        url("/nhl/rink.webp") center 56% / cover no-repeat, #0d2032;
    text-align: center;
}
.sd-ice .ice-arena-kickoff {
    display: inline-block;
    margin: 0;
    padding: .35em .9em;
    border: 1px solid #6a8499;
    border-radius: 2em;
    background: #0b182b;
    color: #f0f8ff;
    font-size: clamp(.75rem, 1.5vw, 1rem);
    font-weight: 700;
}
.sd-ice .ice-arena-duel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
    gap: clamp(4px, 1vw, 14px);
    margin: 0;
    color: #f6faff;
    font-size: clamp(1rem, 3.2vw, 2.65rem);
    line-height: 1.05;
}
.ice-arena-club {
    display: grid;
    justify-items: center;
    gap: .35rem;
    min-width: 0;
    background: radial-gradient(ellipse at 50% 48%,
        color-mix(in srgb, var(--club-color) 48%, transparent), transparent 68%);
}
.ice-arena-club img {
    display: block;
    width: min(100%, 370px);
    height: auto;
    filter: drop-shadow(0 8px 12px #000c);
}
.ice-arena-club strong { overflow-wrap: anywhere; text-wrap: balance; }
.ice-arena-location {
    color: #c9e5f8;
    font-size: clamp(.64rem, 1.4vw, .85rem);
    letter-spacing: .09em;
    text-transform: uppercase;
}
.ice-arena-vs {
    align-self: center;
    color: #ffd47a;
    font-size: clamp(1.85rem, 8.2vw, 6.2rem);
    font-weight: 950;
    font-style: italic;
    line-height: 1;
    text-shadow: 0 4px 16px #070809, 0 0 28px #f3af3755;
}
.sd-ice .sd-potentiel {
    background: repeating-linear-gradient(128deg, transparent 0 42px, #ffd1840e 43px 44px, transparent 45px 82px),
        radial-gradient(ellipse at 75% 0%, #633720, #1a1214 56%, #0a0c11);
}
.sd-ice .ice-team-stats {
    border-color: #416781;
    background: repeating-linear-gradient(90deg, transparent 0 31px, #6dbbeb0d 31px 32px),
        linear-gradient(150deg, #12324c, #0a1422 64%);
    color: #eef8ff;
    font-variant-numeric: tabular-nums;
}
.sd-ice .ice-team-stats :is(h2, p, .ice-stat-row small) { color: #cae5f6; }
.sd-ice .ice-team-stats h2 { text-transform: uppercase; }
.sd-ice .ice-team-stats .ice-stat-filters a {
    border-color: #6c92ac;
    color: #e3f3ff;
}
.sd-ice .ice-team-stats .ice-stat-filters [aria-current] {
    background: #bdeaff;
    color: #0a1927;
}
.sd-ice .ice-stat-row strong { font-size: clamp(1.16rem, 3.2vw, 2.35rem); }
.sd-ice .ice-stat-row > span { font-size: clamp(.72rem, 1.6vw, 1rem); }
.sd-ice .ice-team-stats .ice-stat-track { height: 7px; }
.sd-ice .ice-team-stats .ice-stat-fill {
    background: var(--club-color);
    transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
    .sd-ice .ice-team-stats .ice-stat-track.sd-graph-visible .ice-stat-fill,
    .sd-ice .ice-person-track.sd-graph-visible > span,
    .sd-ice .sd-potentiel-gauge.sd-graph-visible {
        transform-origin: left;
        animation: ice-stat-reveal 650ms cubic-bezier(.2, .65, .3, 1) both;
    }
}
@keyframes ice-stat-reveal {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* NHL match broadcast */
.sd-ice:has(> .ice-arena-match) {
    --broadcast-font: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
    --broadcast-panel: linear-gradient(155deg, #101f2e, #050d17 72%);
    padding: 0 clamp(8px, 2.4vw, 32px) 24px;
    background: #030b14;
}
.sd-ice .ice-arena-match {
    position: relative;
    margin-inline: calc(-1 * clamp(8px, 2.4vw, 32px));
    padding: 10px clamp(12px, 4vw, 55px) 15px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(#04122265, transparent 44%, #04142330 78%, #030b14),
        url("/nhl/rink.webp") center 56% / cover no-repeat, #0a2238;
}
.ice-arena-top {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 36px;
    color: #fff;
    font: italic 800 clamp(.68rem, 1.4vw, 1rem) var(--broadcast-font);
    letter-spacing: .16em;
}
.sd-ice .ice-match-nav {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    pointer-events: none;
}
.sd-ice .ice-match-nav a {
    display: block;
    padding: .35em .75em;
    border: 1px solid #bed7ec;
    border-radius: 9px;
    background: #050c16e8;
    pointer-events: auto;
    font: 800 .9rem var(--broadcast-font);
}
.sd-ice .ice-match-nav a[rel="next"] { margin-left: auto; border-color: #ffc957; }
.sd-ice .ice-match-nav strong { color: inherit; text-transform: none; }
.sd-ice .ice-match-nav a[rel="next"] strong, .sd-ice .ice-match-nav a[rel="next"] b { color: #ffdb79; }
.ice-match-nav :is(a > span, small, b) { display: none; }
.sd-ice .ice-arena-duel {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0;
    font-family: var(--broadcast-font);
}
.ice-arena-club {
    position: relative;
    isolation: isolate;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    grid-template-rows: 1fr auto 1fr;
    align-items: center;
    gap: .25rem 0;
    background: none;
}
.ice-arena-club img {
    grid-area: 1 / 2 / 4;
    align-self: center;
    width: 100%;
    z-index: 1;
}
.ice-arena-club:last-child img { grid-column: 1; }
.ice-arena-club strong {
    position: relative;
    grid-area: 2 / 1;
    width: 100%;
    padding: .25em;
    box-sizing: border-box;
    color: white;
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 2px 5px #000b;
}
.ice-arena-club strong::before {
    position: absolute;
    z-index: -1;
    inset: 0 -35% 0 -5%;
    content: "";
    transform: skewX(-15deg);
    border: 1px solid var(--club-color);
    background: linear-gradient(105deg, var(--club-color), #081524);
    box-shadow: inset 0 0 12px var(--club-color);
}
.ice-arena-club:last-child strong { grid-column: 2; }
.ice-arena-club:last-child strong::before {
    inset-inline: -35% -5%;
    background: linear-gradient(75deg, #081524, var(--club-color));
}
.ice-arena-location { grid-area: 3 / 1; align-self: start; color: #fff; }
.ice-arena-club:last-child .ice-arena-location { grid-column: 2; }
.ice-arena-vs {
    font-size: clamp(2.25rem, 8vw, 6.6rem);
    color: #fff3ce;
    text-shadow: 0 3px 0 #a46e25, 0 0 18px #ffad37, 0 4px 26px #02070d;
}
.sd-ice .ice-arena-kickoff {
    position: relative;
    display: table;
    margin: -.7em auto 0;
    background: #06121fe8;
    border: 0;
    border-radius: 5px;
    text-transform: uppercase;
    font-family: var(--broadcast-font);
}
.ice-arena-kickoff time { display: flex; gap: .8em; }
.ice-arena-kickoff time span + span { border-left: 1px solid #a6bbce; padding-left: .8em; }
.sd-ice:has(> .ice-arena-match) > section {
    margin: 10px 0;
    padding: clamp(9px, 1.2vw, 15px);
    background: var(--broadcast-panel);
    border: 1px solid #3f6480;
    border-radius: 13px;
}
.sd-ice:has(> .ice-arena-match) > section h2 {
    margin: 0;
    color: #f5faff;
    text-transform: uppercase;
    font: italic 900 clamp(1rem, 2.2vw, 1.6rem) var(--broadcast-font);
}
.sd-ice:has(> .ice-arena-match) > section h2::before {
    content: "▥";
    color: #ffd069;
    margin-right: .55em;
}
.sd-ice .ice-stat-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.sd-ice .ice-team-stats .ice-stat-filters { gap: 5px; margin: 0; }
.sd-ice .ice-stat-filters a { font: 800 .75rem var(--broadcast-font); text-decoration: none; }
.sd-ice .ice-team-stats .ice-stat-filters [aria-current] { background: #ffd77f; color: #10141a; }
.sd-ice .ice-stat-club {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-items: start;
    padding: 0 .5rem;
    background: linear-gradient(100deg, color-mix(in srgb, var(--club-color) 55%, #071019), #071019);
    font-family: var(--broadcast-font);
}
.sd-ice .ice-stat-club:last-child { direction: rtl; }
.sd-ice .ice-stat-club :is(strong, small) { direction: ltr; }
.sd-ice .ice-stat-club img { width: clamp(34px, 5vw, 62px); }
.ice-stat-club strong { font-style: italic; text-transform: uppercase; }
.ice-stat-club abbr { display: none; }
.sd-ice .ice-stat-row { padding: .28rem 0; font-family: var(--broadcast-font); }
.sd-ice .ice-stat-row strong { display: block; line-height: 1; }
.sd-ice .ice-stat-row small { font-size: .64rem; }
.sd-ice .ice-team-stats .ice-stat-fill {
    background: linear-gradient(0deg, var(--club-color),
        color-mix(in srgb, var(--club-color) 63%, white));
    transform-origin: right;
}
.sd-ice .ice-stat-row > :first-child .ice-stat-fill { margin-left: auto; transform-origin: right; }
.sd-ice .ice-stat-board .ice-stat-row > :last-child .ice-stat-fill { margin-left: 0; transform-origin: left; }
.ice-stat-method { margin-top: .5rem; font-size: .75rem; color: #c5d6e4; }
.ice-key-clubs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}
.ice-key-clubs::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 50%;
    width: 1px;
    background: #92c6e66b;
}
.ice-key-clubs > article:first-child { text-align: right; }
.ice-key-clubs > article:first-child .ice-streak { justify-content: flex-end; }
.ice-key-clubs > article:first-child .ice-key-figures { direction: rtl; text-align: right; }
.ice-key-clubs > article:first-child .ice-key-figures > div { direction: ltr; }
.ice-key-clubs > article:last-child .ice-key-figures { text-align: left; }
.ice-key-clubs article {
    min-width: 0;
    padding: .5rem;
    border-radius: 8px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--club-color) 42%, #111c29), #08111b 75%);
}
.ice-key-clubs h3 { margin: 0; color: white; font: italic 900 1rem var(--broadcast-font); text-transform: uppercase; }
.ice-key-clubs .ice-streak { display: flex; flex-wrap: wrap; gap: 4px; margin-block: .4rem; font-size: .8rem; }
.ice-key-clubs .ice-streak > span { padding: .15em .45em; border-radius: 4px; color: #fff; font-weight: 800; }
.ice-key-clubs .ice-result-v { background: #087a45; }
.ice-key-clubs .ice-result-d { background: #a91c3a; }
.ice-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.ice-key-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; gap: 4px; }
.ice-key-figures strong, .ice-key-figures small { display: block; }
.ice-key-figures strong { font: 900 clamp(.95rem, 2.3vw, 1.7rem) var(--broadcast-font); }
.sd-ice .sd-potentiel-heading { padding: 0 0 .45rem; }
.sd-ice .sd-potentiel-tabs { border: 0; background: none; padding: 0; }
.sd-ice .sd-potentiel-tabs label { border-color: #47627a; min-height: 34px; }
.sd-ice .sd-potentiel-team {
    --team-edge: var(--club-color);
    --team-light: color-mix(in srgb, var(--club-color) 68%, #101923);
    --team-dark: color-mix(in srgb, var(--club-color) 32%, #08101a);
}
.sd-ice .sd-potentiel-team h3 { font: italic 900 clamp(1rem, 2vw, 1.45rem) var(--broadcast-font); }
.sd-ice .sd-potentiel-team li {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) auto;
    min-height: 0;
    gap: .15rem .35rem;
}
.sd-ice .sd-potentiel-team li:first-child { border: 0; border-bottom: 1px solid #313a44; border-radius: 0; background: none; box-shadow: none; }
.sd-ice .sd-potentiel-team li:first-child .sd-potentiel-rank { background: #29333d; color: #fff; font-size: .73rem; }
.sd-ice .sd-potentiel-team li > .sd-player-stick { grid-column: 2; width: 100%; }
.sd-ice .sd-potentiel-team li details { grid-column: 1 / -1; color: #becddd; font-size: .68rem; }
@media (min-width: 900px) {
    .sd-ice .sd-potentiel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 6px 12px; }
    .sd-ice .sd-potentiel-panel { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
    .ice-match-nav a > strong { display: none; }
    .ice-match-nav a > b { display: inline; }
    .ice-arena-club, .ice-arena-club:last-child { display: flex; flex-direction: column; }
    .ice-arena-club img { width: min(100%, 156px); }
    .ice-arena-club strong { padding: 0 .15em; font-size: clamp(1rem, 4.7vw, 1.3rem); }
    .ice-arena-club strong::before { display: none; }
    .ice-arena-vs { align-self: start; margin-top: 1.35em; }
    .sd-ice .ice-arena-kickoff { margin-top: .75rem; }
    .ice-key-clubs .ice-key-figures { grid-template-columns: minmax(0, 1fr); }
    .ice-stat-club strong span { display: none; }
    .ice-stat-club abbr { display: inline; text-decoration: none; }
    .ice-stat-club small { font-size: .62rem; }
    .sd-ice .ice-team-stats .ice-stat-track { height: 5px; }
    .sd-ice .ice-stat-row { grid-template-columns: minmax(0, 1fr) minmax(100px, 1.05fr) minmax(0, 1fr); }
    .sd-ice .sd-potentiel-teams { grid-template-columns: minmax(0, 1fr); }
}

body:has(.sd-ice > .ice-arena-match) main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.sd-ice .ice-arena-location { align-self: center; }
.sd-ice .ice-arena-duel { margin: 0; }
@media (max-width: 650px) {
    .sd-ice .ice-arena-duel { grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr); align-items: start; }
    .ice-arena-club strong { display: grid; place-items: center; min-height: 2.15em; }
}

.sd-ice .ice-stat-board {
    --stat-axis: clamp(96px, 23%, 210px);
    --stat-columns: minmax(0, 1fr) var(--stat-axis) minmax(0, 1fr);
    position: relative;
    isolation: isolate;
    font-variant-numeric: tabular-nums;
}
.ice-stat-board::before {
    position: absolute;
    inset: 0 auto 0 50%;
    width: 1px;
    background: #92c6e66b;
    content: "";
    z-index: -1;
}
.sd-ice .ice-team-stats .ice-stat-board :is(.ice-stat-teams, .ice-stat-row) {
    grid-template-columns: var(--stat-columns);
    gap: clamp(4px, 1vw, 12px);
}
.sd-ice .ice-stat-board .ice-stat-club {
    min-width: 0;
    grid-template-columns: auto minmax(0, 1fr);
    padding: .35rem;
    border: 1px solid color-mix(in srgb, var(--club-color) 52%, #8196a7);
    background: linear-gradient(110deg, color-mix(in srgb, var(--club-color) 34%, #102331), #0b1925);
}
.ice-stat-board .ice-stat-club img { grid-row: span 2; align-self: center; }
.ice-stat-board .ice-stat-club small { grid-column: 2; text-align: start; }
.ice-stat-board .ice-stat-club:last-child { grid-column: 3; }
.sd-ice .ice-stat-board .ice-stat-row {
    border-top: 0;
    padding: .22rem 0;
}
.ice-stat-row > span {
    justify-self: center;
    padding: .24rem .36rem;
    border: 1px solid #435e73;
    border-radius: 5px;
    background: #102331;
    color: #e6f4ff;
    font-size: clamp(.69rem, 1.2vw, .92rem);
    line-height: 1.15;
}
.ice-stat-value {
    min-width: 0;
    padding: .3rem clamp(.25rem, 1vw, .75rem);
    border: 1px solid #9fcae329;
    border-radius: 6px;
    background: linear-gradient(105deg, #0b1723, color-mix(in srgb, var(--club-color) 19%, #102331));
    text-align: right;
}
.ice-stat-value:last-child {
    background: linear-gradient(255deg, #0b1723, color-mix(in srgb, var(--club-color) 19%, #102331));
    text-align: left;
}
.ice-stat-value strong {
    color: #f7fbff;
    font-size: clamp(1.12rem, 2.5vw, 1.85rem);
}
.sd-ice .ice-people {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    list-style: none;
    padding: 0;
    margin: .75rem 0 0;
    font-variant-numeric: tabular-nums;
}
.ice-person {
    min-width: 0;
    padding: .55rem .7rem;
    border: 1px solid #829cb655;
    border-radius: 8px;
    background: radial-gradient(ellipse at top right,
        color-mix(in srgb, var(--club-color) 28%, #182d40), #0b1722 75%);
    color: #f5faff;
}
.ice-person-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .35rem;
}
.ice-person-heading > div { min-width: 0; overflow-wrap: anywhere; }
.ice-person-heading h3 { margin: 0; font: 800 1rem var(--broadcast-font); }
.ice-person-heading small { color: #c2d8e9; }
.ice-person-heading > img { width: clamp(54px, 9vw, 106px); height: auto; flex: none; }
.ice-person-heading > .sd-player-stick { width: min(36%, 140px); flex: none; }
.ice-person dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
    margin: .4rem 0 0;
}
.ice-person dt { font-size: .73rem; color: #c2d8e9; }
.ice-person dd { margin: 0; font-size: 1.1rem; }
.ice-person-track {
    display: block;
    height: 5px;
    border-radius: 4px;
    background: #95b7ce33;
}
.ice-person-track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: color-mix(in srgb, var(--club-color) 55%, #fff);
}
.sd-ice section.ice-match-players {
    background: linear-gradient(#07182799, #07182799),
        url("/nhl/players-rink.png") center / cover no-repeat, #0d2032;
}
.ice-player-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}
.ice-player-columns > div { min-width: 0; }
.ice-player-club { display: flex; align-items: center; gap: .65rem; }
.ice-player-club img { width: 56px; height: 56px; flex: none; object-fit: contain; }
.sd-ice .ice-player-columns .ice-people { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 650px) {
    .sd-ice .ice-people { grid-template-columns: minmax(0, 1fr); }
    .ice-player-columns { grid-template-columns: minmax(0, 1fr); }
}

.ice-home .ice-match .ice-arena-match {
    --broadcast-font: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: .4rem;
    border-radius: 8px;
    background:
        radial-gradient(circle at center, transparent 19px, #a4c4dc25 20px, transparent 21px),
        radial-gradient(circle at 20% 35%, transparent 13px, #a4c4dc20 14px, transparent 15px),
        radial-gradient(circle at 80% 65%, transparent 13px, #a4c4dc20 14px, transparent 15px),
        linear-gradient(90deg, transparent 49.7%, #b873852c 49.7% 50.3%, transparent 50.3%),
        linear-gradient(155deg, #14273a, #080f1c 80%);
}
.ice-home .ice-match .ice-arena-top { min-height: 1.4rem; font-size: .62rem; }
.ice-home .ice-match .ice-arena-duel {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: .2rem;
    align-items: start;
}
.ice-home .ice-match .ice-arena-club {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ice-home .ice-match .ice-arena-club img { width: min(100%, 86px); height: auto; }
.ice-home .ice-match .ice-arena-club strong { padding: 0; min-height: 2.4em; font-size: .8rem; }
.ice-home .ice-match .ice-arena-club strong::before { display: none; }
.ice-home .ice-match .ice-arena-location { font-size: .62rem; }
.ice-home .ice-match .ice-arena-vs { margin-top: .85rem; font-size: 1.15rem; }
.ice-home .ice-match .ice-arena-kickoff {
    display: inline-block;
    margin: .25rem 0 0;
    padding: .15rem .35rem;
    font-size: .65rem;
    line-height: 1.2;
}
.ice-home .ice-upcoming .ice-match .ice-arena-kickoff time {
    display: inline-flex;
    width: auto;
    border: 0;
    font: inherit;
    align-items: center;
    flex-wrap: nowrap;
    gap: .3em;
    padding: 0;
    background: none;
    white-space: nowrap;
}
.ice-home .ice-match .ice-arena-kickoff time::before { margin: 0; }

.sd-ice .sd-potentiel-team li { grid-template-columns: minmax(0, 1fr) auto; }
/* Full-height country artwork on the J2 player cards. */
.sd-ice .sd-potentiel-team li.sd-potentiel-country {
    border-radius: 9px;
    min-height: 98px;
    margin-bottom: .25rem;
    background-color: #06090e;
    background-image:
        linear-gradient(90deg, #06090ef5 0%, #06090ed9 34%, #06090e38 68%, #06090eab 100%),
        var(--nhl-country-flag);
    background-position: center, right center;
    background-repeat: no-repeat;
    background-size: 100% 100%, clamp(158px, 58%, 320px) 100%;
}
.sd-potentiel-country .sd-potentiel-source {
    display: block;
    margin-top: .25rem;
    color: #d1dae3;
    font-size: .66rem;
    line-height: 1.25;
}
.sd-potentiel-country strong { background: #06090ef2; }
.sd-potentiel-country details summary { width: max-content; background: #06090ef2; }
@media (max-width: 540px) {
    .sd-ice .sd-potentiel-team li.sd-potentiel-country {
        background-image:
            linear-gradient(90deg, #06090e 0%, #06090ef0 38%, #06090e70 66%, #06090e18 100%),
            var(--nhl-country-flag);
    }
    .sd-potentiel-country .sd-potentiel-player { max-width: 160px; }
}

/* NHL match detail */
@property --ice-probability {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 0%;
}

.sd-ice:has(> .ice-arena-match) > :is(.sd-potentiel, .ice-team-stats, .ice-key-stats, .ice-match-players) {
    margin-block: clamp(16px, 2.25vw, 30px);
    padding: clamp(13px, 2.6vw, 32px);
    border-radius: 18px;
}
.sd-ice:has(> .ice-arena-match) > .sd-potentiel {
    display: block;
    border-color: #527d9b;
    background: radial-gradient(ellipse at top, #1a3b54, transparent 65%), #071321;
}
.sd-ice:has(> .ice-arena-match) > .sd-potentiel h2 {
    font-size: clamp(1.35rem, 3.2vw, 2.45rem);
}
.sd-ice .sd-nhl-result {
    text-align: center;
    margin-top: clamp(12px, 2vw, 22px);
}
.sd-ice .sd-nhl-result h3 {
    color: #d0e9fc;
    font-size: clamp(.9rem, 1.5vw, 1.15rem);
}
.ice-win-duel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(8px, 3vw, 36px);
    margin: 12px 0;
}
.ice-win-team {
    display: grid;
    grid-template-rows: 1fr auto;
    justify-items: center;
    gap: 12px;
    min-width: 0;
    padding: clamp(9px, 2.2vw, 24px);
    border: 1px solid color-mix(in srgb, var(--club-color) 62%, #83a9c2);
    border-radius: 14px;
    background: radial-gradient(ellipse at bottom, color-mix(in srgb, var(--club-color) 35%, #11283a), #0a1725 80%);
}
.ice-win-team dt {
    display: grid;
    align-content: space-between;
    gap: .25rem;
    overflow-wrap: anywhere;
}
.ice-win-team dt strong {
    font: italic 900 clamp(.85rem, 2.2vw, 1.65rem) var(--broadcast-font);
    text-transform: uppercase;
}
.ice-win-team dt span { color: #d0e9fc; font-size: clamp(.69rem, 1.3vw, .94rem); }
.ice-win-dial {
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
    width: min(100%, clamp(104px, 18vw, 218px));
    aspect-ratio: 1;
    margin: 0;
    border-radius: 50%;
    background: conic-gradient(
        color-mix(in srgb, var(--club-color) 66%, white) var(--ice-probability), #2c465b 0);
}
.ice-win-dial::before {
    content: "";
    position: absolute;
    inset: 9%;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(ellipse at top, #182f44, #081421 80%);
}
.ice-win-dial strong {
    color: #fff;
    font: 900 clamp(1.15rem, 4vw, 3rem) var(--broadcast-font);
    white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
    .sd-ice .ice-win-dial.sd-graph-visible {
        animation: ice-dial-reveal 750ms cubic-bezier(.2, .65, .3, 1);
    }
}
@keyframes ice-dial-reveal { from { --ice-probability: 0%; } }

.sd-ice .sd-nhl-result + .sd-potentiel-part {
    border-top: 1px solid #4b6a83;
    padding-top: 1rem;
}
.sd-ice .sd-potentiel-part:not(.sd-nhl-result) > h3 { color: #d0e9fc; margin-bottom: .5rem; }
.sd-ice .ice-stat-board .ice-stat-row { padding-block: .35rem; }
.sd-ice .ice-stat-board .ice-stat-value { padding-block: clamp(8px, 1.25vw, 16px); }
.sd-ice .ice-team-stats .ice-stat-board .ice-stat-track { height: clamp(6px, .9vw, 10px); }
.sd-ice .ice-stat-board .ice-stat-row > :first-child .ice-stat-fill { transform-origin: right; }
.sd-ice .ice-stat-board .ice-stat-row > :last-child .ice-stat-fill { transform-origin: left; }
.sd-ice .ice-stat-board .ice-stat-row > span {
    border-color: #496780;
    text-wrap: balance;
}
.sd-ice .ice-key-clubs::before { display: none; }
.sd-ice .ice-key-clubs > article {
    padding: clamp(9px, 1.7vw, 20px);
    border: 1px solid #57748d;
    text-align: start;
}
.sd-ice .ice-key-clubs > article:first-child .ice-streak { justify-content: flex-start; }
.sd-ice .ice-key-clubs > article .ice-key-figures { direction: ltr; text-align: start; gap: 8px; }
.ice-key-figures small { color: #cce1f2; }
.sd-ice .ice-match-players .ice-player-club {
    margin-block: .6rem;
    padding: .4rem .6rem;
    border: 1px solid #56748d;
    border-radius: 10px;
    background: linear-gradient(115deg, color-mix(in srgb, var(--club-color) 38%, #0e2032), #091829);
    overflow-wrap: anywhere;
}
@media (max-width: 650px) {
    .sd-ice .ice-stat-board .ice-stat-club { place-items: center; }
    .sd-ice .ice-stat-board .ice-stat-club img { grid-row: 1; }
    .sd-ice .ice-stat-board .ice-stat-club small {
        grid-column: 1 / -1;
        text-align: center;
    }
    .sd-ice .ice-match-players .ice-player-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .4rem;
    }
    .sd-ice .ice-match-players .ice-player-club { gap: .3rem; font-size: .78rem; }
    .sd-ice .ice-match-players .ice-player-club img { width: 32px; height: 32px; }
    .sd-ice .ice-match-players .ice-person { padding: .4rem; }
    .sd-ice .ice-match-players .ice-person-heading > .sd-player-stick { width: 27%; }
    .sd-ice .ice-match-players .ice-person dl { gap: .25rem; }
}

/* Club names use the width of their own banner at every viewport size. */
.sd-ice h1.ice-arena-duel .ice-arena-club strong {
    display: block;
    padding-inline: 0;
    container-type: inline-size;
    font-size: 1rem;
    line-height: 1.04;
    min-height: 2.08em;
    overflow-wrap: normal;
}
h1.ice-arena-duel .ice-arena-club strong span {
    display: block;
    font-size: min(8.5cqi, 3rem);
    overflow-wrap: normal;
}

.sd-ice .ice-team-stats .ice-stat-filters,
.sd-ice .ice-stat-board .ice-stat-row > span {
    min-width: 0;
}
.sd-ice .ice-stat-board .ice-stat-value small {
    overflow-wrap: anywhere;
}

.sd-ice .ice-key-clubs > article {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: .45rem;
    background: linear-gradient(125deg, color-mix(in srgb, var(--club-color) 29%, #14273a), #080f1c 85%);
}
.ice-key-club { display: flex; align-items: center; gap: .6rem; }
.ice-key-club img { width: clamp(32px, 5vw, 56px); height: auto; flex: none; }
.ice-key-club small { color: #cce1f2; }
.sd-ice .ice-key-clubs article .ice-streak { margin: 0; align-items: center; }
.ice-key-figures > div {
    min-width: 0;
    border-top: 1px solid #91b9d341;
    padding-top: .35rem;
}
.ice-key-figures strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ice-key-figures small { font-size: clamp(.68rem, 1.15vw, .9rem); line-height: 1.25; }

@media (max-width: 650px) {
    h1.ice-arena-duel .ice-arena-club strong span { font-size: min(8.5cqi, 1.5rem); }
    .ice-key-clubs { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
    .sd-ice .ice-key-clubs > article { grid-row: auto; grid-template-rows: auto auto 1fr; }
    .ice-key-clubs .ice-key-figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Ice Arena Showdown on the pre-match player cards. */
.sd-ice section.ice-players-showdown {
    background: linear-gradient(#04101b33, #04101b87),
        url("/nhl/players-rink.png") center / cover no-repeat, #0d2032;
}
.ice-players-showdown .ice-person {
    background: linear-gradient(160deg,
        color-mix(in srgb, var(--club-color) 55%, #172738), #07131e 80%);
    border-color: color-mix(in srgb, var(--club-color) 55%, #a2cff3);
    box-shadow: inset 0 0 14px #92c6e63c;
    text-align: center;
}
.ice-players-showdown .ice-person-heading {
    flex-direction: column-reverse;
    gap: .25rem;
}
.sd-ice .ice-players-showdown .ice-person-heading > .sd-player-stick {
    width: min(60%, 200px);
}
.ice-players-showdown .ice-person dl {
    padding-top: .35rem;
    border-top: 1px solid #92c6e657;
}

@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .ice-players-showdown .ice-person {
            animation: ice-showdown-enter linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 60%;
        }
    }
}
@keyframes ice-showdown-enter {
    from { opacity: .55; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Match FREE: point projections and team form */
.ice-free-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(10px, 1vw, 16px);
  min-width: 0;
  color: #f5faff;
}

@media (min-width: 900px) {
  .ice-free-panels:has(.ice-point-duel):has(.ice-free-form) {
    grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  }
}

.ice-free-panels .ice-free-panel,
#sd-home-free-match.sd-free-nhl :is(.ice-free-result, .sd-free-barometers) {
  border-color: #71d9ff;
  background: linear-gradient(155deg, #071a27, #020910 65%);
  box-shadow: 0 0 10px #4acaff55, inset 0 0 9px #4acaff29;
}

.ice-free-panels .ice-free-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(8px, 1vw, 14px);
  min-width: 0;
  padding: clamp(8px, 1.25vw, 17px);
  border-width: 1px;
  border-style: solid;
  border-radius: clamp(15px, 1.8vw, 26px);
}

.ice-free-panels .ice-free-panel > h3 {
  margin: 0;
  padding-bottom: .32em;
  border-bottom: 1px solid #78dafa;
  color: #a7eaff;
  font-size: clamp(1.04rem, 2vw, 1.95rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.12;
  text-align: center;
  text-shadow: 0 0 8px #4acaff55;
}

.ice-point-grid,
.ice-form-teams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 14px);
}

.ice-neon-home {
  --neon: #1988ff;
  --arc: #54e9ff;
}

.ice-neon-away {
  --neon: #ff2848;
  --arc: #ff5773;
}

#sd-home-free-match.sd-free-nhl :is(.ice-neon-home, .ice-free-result-team[data-side="home"]) { --arc: var(--home); }
#sd-home-free-match.sd-free-nhl :is(.ice-neon-away, .ice-free-result-team[data-side="away"]) { --arc: var(--away); }
#sd-home-free-match.sd-free-nhl .ice-free-result-team {
  --neon: var(--arc);
  color: var(--arc);
}
#sd-home-free-match.sd-free-nhl .sd-free-barometers :is(.sd-free-home, .sd-free-away) {
  --arc: var(--club);
  --neon: var(--club);
}

#sd-home-free-match.sd-free-nhl :is(.ice-free-result h3, .sd-free-barometers h3) {
  color: #a7eaff;
  text-shadow: 0 0 8px #4acaff55;
}

#sd-home-free-match.sd-free-nhl .sd-free-barometers h3 {
  border-color: #78dafa;
  box-shadow: 0 0 8px #4acaff55;
}

#sd-home-free-match.sd-free-nhl .sd-free-metrics :is(article, h4) { border-color: #367c97; }
#sd-home-free-match.sd-free-nhl .sd-free-metrics article { background: #071a27; }

#sd-home-free-match.sd-free-nhl :is(.ice-free-result-track, .sd-free-barometers .sd-free-dial-track) {
  stroke: #33405a;
}

#sd-home-free-match.sd-free-nhl .sd-free-barometers .sd-free-track {
  background: #33405a;
  box-shadow: 0 0 4px var(--neon);
}

#sd-home-free-match.sd-free-nhl .sd-free-barometers .sd-free-track i {
  background-color: var(--arc);
  box-shadow: 0 0 5px var(--neon);
}

#sd-home-free-match.sd-free-nhl :is(.ice-free-result-dial strong, .sd-free-metrics strong, .ice-point-dial strong) {
  color: var(--arc);
  text-shadow: 0 0 8px var(--arc), 0 1px 4px #000;
}

#sd-home-free-match .ice-free-panels .ice-neon-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--neon);
  border-radius: clamp(10px, 1.45vw, 20px);
  background: radial-gradient(ellipse at bottom, color-mix(in srgb, var(--neon) 22%, #02070e), #02070e 68%);
  box-shadow: inset 0 0 8px var(--neon), 0 0 6px color-mix(in srgb, var(--neon) 55%, transparent);
  text-align: center;
}

.ice-free-panels .ice-point-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: clamp(7px, 1vw, 14px) 5px;
}

.ice-point-sleeve {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 30%;
  overflow: hidden;
  mask-image: linear-gradient(to right, #000 70%, transparent);
}

.ice-point-sleeve img {
  position: absolute;
  top: 0;
  right: -27%;
  height: 113%;
  width: auto;
  max-width: none;
}

.ice-neon-away .ice-point-sleeve {
  inset-inline: auto 0;
  mask-image: linear-gradient(to left, #000 70%, transparent);
}

.ice-neon-away .ice-point-sleeve img {
  right: auto;
  left: -27%;
}

.ice-point-dial {
  display: grid;
  place-items: center;
  width: min(76%, 160px);
  aspect-ratio: 1;
  font-size: clamp(1.3rem, 3vw, 2.5rem);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 8px var(--arc), 0 1px 4px #000;
}

.ice-neon-home .ice-point-dial { margin-inline-start: 12%; }
.ice-neon-away .ice-point-dial { margin-inline-end: 12%; }
.ice-point-dial > * { grid-area: 1/1; }
.ice-point-dial svg { width: 100%; fill: none; stroke: #33405a; stroke-width: 5.5; }
.ice-point-dial circle + circle,
#sd-home-free-match.sd-free-nhl :is(.ice-free-result-fill, .sd-free-barometers .sd-free-dial path:not(.sd-free-dial-track)) {
  stroke: var(--arc);
  filter: drop-shadow(0 0 2px var(--arc)) drop-shadow(0 0 3px var(--neon));
}

.ice-point-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ice-point-card :is(b, small) {
  overflow-wrap: anywhere;
  line-height: 1.14;
  text-shadow: 0 1px 4px #000, 0 0 6px #000;
}

.ice-point-card b { font-size: clamp(.88rem, 1.7vw, 1.52rem); }
#sd-home-free-match .ice-point-card small {
  font-size: clamp(.59rem, .94vw, .81rem);
  color: #f5faff;
  text-transform: uppercase;
}
.ice-free-panels .ice-point-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: clamp(.72rem, 1.15vw, 1.03rem);
  font-weight: 700;
}

.ice-point-legend::before,
.ice-point-legend::after {
  content: "";
  flex: 1;
  border-top: 1px solid #367c97;
}

#sd-home-free-match .ice-free-panels .ice-form-team {
  display: grid;
  align-content: space-between;
  gap: clamp(7px, .8vw, 12px);
  padding: 0 clamp(5px, 1vw, 13px) clamp(6px, .8vw, 11px);
}

.ice-form-team header {
  display: grid;
  grid-template-columns: minmax(0, 31fr) minmax(0, 69fr);
  align-items: center;
  gap: 4px;
  min-height: clamp(56px, 5.4vw, 78px);
  border-bottom: 1px solid var(--arc);
}

.ice-form-shoulder {
  align-self: stretch;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(#000 75%, transparent);
}

.ice-form-shoulder img {
  position: absolute;
  width: 160%;
  max-width: none;
  top: -4%;
  left: -30%;
}

#sd-home-free-match .ice-free-panels .ice-form-team h4 {
  margin: 0;
  color: #f5faff;
  font-size: clamp(.75rem, 1.5vw, 1.34rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.ice-form-stat { display: grid; gap: clamp(4px, .65vw, 9px); }
.ice-free-panels .ice-form-stat h5 {
  margin: 0;
  padding: 3px 2px;
  border-radius: 999px;
  background: linear-gradient(#264a63, #0b1d2b);
  color: #f5faff;
  font-size: clamp(.59rem, .94vw, .85rem);
  font-style: italic;
  line-height: 1.1;
  text-transform: uppercase;
}

.ice-form-outcomes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(2px, .5vw, 8px);
}

.ice-outcome-V { --outcome: #00f5a0; }
.ice-outcome-N { --outcome: #ffd600; }
.ice-outcome-D { --outcome: #ff405c; }

.ice-free-panels .ice-outcome {
  display: grid;
  place-items: center;
  min-height: clamp(22px, 2.9vw, 43px);
  border-radius: clamp(4px, .68vw, 10px);
  background: var(--outcome);
  box-shadow: 0 0 6px color-mix(in srgb, var(--outcome) 48%, transparent);
  color: #071019;
  font-size: clamp(.72rem, 1.55vw, 1.4rem);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.ice-free-panels .ice-form-stat small { color: #cfdeeb; font-size: clamp(.62rem, .95vw, .86rem); }

#sd-home-free-match.sd-free-nhl .sd-free-premium a {
  color: #a7eaff;
  background: #020910;
  text-shadow: 0 0 7px #4acaff77;
}

@media (min-width: 900px) {
  #sd-home-free-match.sd-free-nhl .sd-free-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }

  #sd-home-free-match.sd-free-nhl .sd-free-content .sd-free-premium {
    grid-column: 2;
    border-left: 1px solid #367c97;
    border-radius: 0;
    padding-left: clamp(8px, 2vw, 28px);
  }
}

/* Compact form rows for the NHL MATCH FREE card. */
#sd-home-free-match.sd-free-nhl .ice-form-stat {
  --row-gap: clamp(3px, .55vw, 8px);
  --badge-height: clamp(17px, 2.4vw, 36px);
  gap: var(--row-gap);
}
#sd-home-free-match.sd-free-nhl .ice-form-stat h5 { padding-block: 2px; }
#sd-home-free-match.sd-free-nhl .ice-form-stat .ice-outcome { min-height: var(--badge-height); }

@media (min-width: 900px) {
  /* Preserve the shared grid height so the adjacent player cards keep their size. */
  #sd-home-free-match.sd-free-nhl .ice-free-panels:has(.ice-point-duel) .ice-form-stat {
    --saved-gap: calc(clamp(4px, .65vw, 9px) - var(--row-gap));
    margin-block-end: calc(2px + var(--saved-gap));
  }
  #sd-home-free-match.sd-free-nhl .ice-free-panels:has(.ice-point-duel) .ice-form-stat:has(.ice-form-outcomes) {
    margin-block-end: calc(2px + var(--saved-gap) + clamp(22px, 2.9vw, 43px) - var(--badge-height));
  }
  #sd-home-free-match.sd-free-nhl .ice-free-panels:has(.ice-point-duel) .ice-form-stat:has(.ice-form-outcomes + small) {
    margin-block-end: calc(2px + 2 * var(--saved-gap) + clamp(22px, 2.9vw, 43px) - var(--badge-height));
  }
}
