/* Owned context/navigation only; original game data and nodes remain native. */
body.hhx-enabled{--hhx-matchday-css:1}
/* Only the validated native scrollTo fallback suppresses the browser's second
   compensation while owned controls reattach. Ordinary reading stays native. */
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready [data-habs-scoreboard][data-hhx-restoring-layout="true"]{overflow-anchor:none}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-matchday-rail{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.7fr);gap:32px;padding:34px clamp(20px,4vw,60px);background:#101b25;border-top:1px solid #eeeae125;border-bottom:1px solid #eeeae125;color:#eeeae1;min-width:0}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-matchday-kicker{font-size:10px;letter-spacing:.14em;line-height:1.5;color:#c9b78f;font-weight:750;margin:0 0 9px}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-matchday-title{font-family:var(--hhb-display,Arial,sans-serif);font-size:clamp(28px,3vw,42px);font-weight:850;line-height:1.02;letter-spacing:-.04em;color:#eeeae1;margin:0}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-matchday-copy{font-size:12px;line-height:1.65;color:#c0c5c7;max-width:560px;margin:12px 0 0}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-matchday-actions{display:flex;flex-direction:column;gap:0;min-width:0;justify-content:center}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-matchday-action{display:block;width:100%;min-height:48px;color:#eeeae1;background:transparent;border:0;border-bottom:1px solid #eeeae135;border-radius:0;box-shadow:none;text-align:left;padding:11px 0;font-family:inherit;font-size:12px;line-height:1.5;font-weight:650;white-space:normal}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-matchday-action:first-child{color:#f1dba9}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-matchday-action:disabled{opacity:.5;cursor:wait}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready[data-hhx-matchday-mode=live] .hhx-matchday-rail{border-top:3px solid #d30b32;background:linear-gradient(115deg,#281019,#101b25 66%)}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready[data-hhx-matchday-mode=saved] .hhx-matchday-rail{border-top:3px solid #c3a671}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready[data-hhx-matchday-mode=final] .hhx-matchday-rail{background:#16232b}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments{background:#eeeae1;color:#081018;padding:clamp(20px,3vw,36px);margin:0 0 20px;border-top:4px solid #d30b32;min-width:0;scroll-margin-top:88px}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-kicker{color:#9f0b29;font-size:10px;font-weight:750;letter-spacing:.12em;line-height:1.5;margin:0 0 10px}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-title{font-family:var(--hhb-display,Arial,sans-serif);font-size:clamp(29px,3vw,40px);font-weight:850;line-height:1.02;letter-spacing:-.045em;color:#081018;margin:0;max-width:540px}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-count{color:#535c63;font-size:11px;line-height:1.5;text-align:right;max-width:150px;font-variant-numeric:tabular-nums}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-note{color:#535c63;font-size:12px;line-height:1.7;max-width:720px;margin:15px 0 0}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-filters{display:flex;flex-wrap:wrap;gap:5px;border-bottom:1px solid #08101840;margin-top:20px;padding-bottom:10px}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-filters button{color:#081018;background:transparent;border:1px solid #08101880;border-radius:0;box-shadow:none;font-family:inherit;font-size:11px;line-height:1.4;font-weight:650;min-height:44px;padding:9px 15px;white-space:normal}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-filters button[aria-pressed=true]{background:#081018;color:#eeeae1;border-color:#081018}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-list{display:flex;gap:0;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#aaa79f transparent;max-width:100%;min-width:0;padding:18px 0 12px;touch-action:pan-x pan-y}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment{position:relative;flex:0 0 208px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:9px;background:transparent;color:#081018;border:0;border-top:2px solid #a3a19a;border-right:1px solid #08101825;border-radius:0;box-shadow:none;min-height:150px;min-width:44px;padding:17px 15px;text-align:left;white-space:normal;scroll-snap-align:start}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment::before{content:'';position:absolute;top:-5px;left:15px;width:8px;height:8px;border-radius:50%;background:#a3a19a}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment[data-hhx-moment-type=goal]::before{background:#a50a2c}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment[aria-pressed=true]{background:#081018;color:#eeeae1;border-top-color:#d30b32}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment[aria-pressed=true]::before{background:#d30b32}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment-time{font-size:11px;line-height:1.45;font-variant-numeric:tabular-nums;opacity:.8}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment-kind{font-size:10px;font-weight:750;letter-spacing:.055em;line-height:1.5;text-transform:uppercase}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment-player{font-size:13px;font-weight:650;line-height:1.45;color:inherit;overflow-wrap:anywhere}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment-detail{border-top:1px solid #08101850;margin-top:13px;padding-top:22px;min-width:0}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment-when{font-size:11px;line-height:1.5;letter-spacing:.05em;color:#9f0b29;font-weight:700;margin:0 0 9px}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment-description{font-family:var(--hhb-display,Arial,sans-serif);font-size:clamp(23px,2.4vw,29px);line-height:1.15;letter-spacing:-.025em;font-weight:800;color:#081018;margin:0 0 12px;overflow-wrap:anywhere}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready :is(.hhx-moment-summary,.hhx-moment-assists){font-family:var(--hhb-sans,Arial,sans-serif);font-size:13px;line-height:1.65;color:#343e45;margin:0 0 10px;max-width:780px;overflow-wrap:anywhere}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready :is(.hhx-moment-summary,.hhx-moment-assists):empty{display:none}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment-context{font-size:12px;line-height:1.6;color:#081018;margin:0 0 9px}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment-context:empty{display:none}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment-location{font-size:12px;line-height:1.6;color:#535c63;max-width:650px;margin:0}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment-players{display:flex;flex-wrap:wrap;gap:7px 20px;margin-top:13px}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment-players a{display:inline-flex;align-items:center;min-height:44px;color:#9f0b29!important;font-size:12px;font-weight:650;line-height:1.5;text-decoration:underline;text-underline-offset:4px}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment-actions{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:8px}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment-actions button{background:transparent;color:#081018;border:0;border-bottom:1px solid #08101870;border-radius:0;box-shadow:none;min-height:44px;font-family:inherit;font-size:12px;line-height:1.5;font-weight:650;padding:8px 0;white-space:normal;text-align:left}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready [data-hh-event-rink].hhx-matchday-unmapped{display:none!important}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-matchday-rail button:focus-visible,body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments :is(button,a):focus-visible{outline:3px solid #b37409;outline-offset:3px}
@media(max-width:600px){
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-matchday-rail{grid-template-columns:1fr;gap:18px;padding:26px 20px}
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-matchday-actions{gap:0}
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-matchday-copy{max-width:420px}
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments{padding:22px 15px}
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-heading{gap:12px;align-items:start}
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-title{font-size:29px}
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-count{max-width:92px;font-size:10px}
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment{flex-basis:185px;min-height:150px}
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-note{font-size:11px}
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-filters button{padding-inline:11px}
}
@media(prefers-reduced-motion:reduce){body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready :is(.hhx-moments,.hhx-matchday-rail) *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments :is(button,a){scroll-margin-block:88px 100px}

body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-heading>div{min-width:0}
body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready :is(.hhx-moments-title,.hhx-moments-count){overflow-wrap:anywhere;min-width:0}
@media(max-width:600px){
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-heading{flex-wrap:wrap}
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-heading>div{flex:1 1 170px}
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-count{max-width:100%;flex:0 1 auto;text-align:left}
}
@media(max-width:999px){
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moments-list{gap:10px;scroll-snap-type:x mandatory;scrollbar-width:none}
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment{box-sizing:border-box;flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always}
 body.hhx-enabled.hhx-broadcast-ready.hhx-matchday-ready .hhx-moment:focus-visible{outline-offset:-4px}
}
