.sm-home-match-carousel { position:relative; min-width:0; max-width:100%; align-self:stretch; }
.sm-home-match-track { display:flex; align-items:stretch; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory; scrollbar-width:thin; }
.sm-home-match-slide { flex:0 0 100%; min-width:0; scroll-snap-align:start; scroll-snap-stop:always; }
.sm-home-match-slide > :is(section,aside,div) { box-sizing:border-box; height:100%; margin:0 !important; width:100% !important; max-width:none !important; }
.sm-home-match-controls { display:flex; align-items:center; justify-content:flex-end; gap:12px; padding:8px 12px; background:var(--appearance-card-bg); color:var(--appearance-card-text); border:1px solid var(--appearance-card-border); border-radius:6px; margin-top:8px; }
.sm-home-match-controls[hidden] { display:none; }
.sm-home-match-controls button { display:grid; place-items:center; flex-shrink:0; width:44px; height:44px; padding:0; border:1px solid currentColor; border-radius:6px; background:transparent; color:inherit; cursor:pointer; font-size:22px; }
.sm-home-match-controls button:disabled { opacity:.35; cursor:default; }
.sm-home-match-controls span[data-home-match-count] { min-width:48px; text-align:center; font:600 13px/1.4 Inter,"Segoe UI",Arial,sans-serif; }
.sm-home-match-carousel :is(button,[tabindex]):focus-visible { outline:3px solid var(--color-primary); outline-offset:3px; }
.sm-home-match-empty { padding:24px; background:var(--appearance-card-bg); color:var(--appearance-card-text); border:1px solid var(--appearance-card-border); border-radius:8px; }
.sm-home-match-empty h2 { font-size:22px; }
.sm-home-match-empty a { color:var(--appearance-card-link); }
.sm-home-match-carousel--a { z-index:4; width:min(1040px,calc(100% - 44px)); margin:-52px auto 0; }
.sm-home-match-carousel--b { z-index:8; max-width:940px; margin:-58px auto 34px; }
.sm-home-match-carousel--c { z-index:5; margin:-58px 0 28px; }
@media(max-width:680px) { .sm-home-match-carousel--a { margin-top:-28px; } .sm-home-match-controls { justify-content:center; } }
/* Grid children must shrink so six slides never determine the page width. */
.sm-d-media-grid > .sm-d-fixture { min-width:0; }
.sm-home-match-carousel--d .sm-d-fixture-list article { grid-template-columns:58px minmax(0,1fr) 44px; gap:10px; }
.sm-home-match-carousel--d .sm-d-fixture-list b { overflow-wrap:anywhere; }

/* Selected night-stand fixture: compact C layout, PHP-resolved media colors. */
.sm-home-match-carousel--c { background:var(--appearance-match-fill); background-color:var(--appearance-match-bg); background-size:cover; background-position:center; background-blend-mode:normal,luminosity; color:var(--appearance-match-text); border:0; border-top:3px solid var(--appearance-match-border); border-radius:0; box-shadow:0 12px 28px color-mix(in srgb,var(--appearance-match-bg) 18%,transparent); }
.sm-home-match-carousel--c .sm-home-match-track { border-radius:inherit; scrollbar-width:none; }
.sm-home-match-carousel--c .sm-home-match-track::-webkit-scrollbar { display:none; }
.sm-home-match-carousel--c .sm-c-match-panel { display:grid; grid-template-columns:minmax(0,1fr) 210px minmax(0,1fr); column-gap:28px; row-gap:4px; min-height:157px; align-content:center; padding:10px max(62px,calc((100% - 680px)/2)); border:0; border-radius:0; background:transparent; color:inherit; box-shadow:none; font-family:Inter,"Segoe UI",Arial,sans-serif; }
.sm-home-match-carousel--c .sm-c-match-teams { display:contents; }
.sm-home-match-carousel--c .sm-c-match-teams > div { min-width:0; gap:4px; }
.sm-home-match-carousel--c .sm-c-match-date { grid-column:2; grid-row:1; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:5px; text-align:center; font-size:13px; font-weight:400; line-height:18px; }
.sm-home-match-carousel--c .sm-c-match-home { grid-column:1; grid-row:1 / 5; }
.sm-home-match-carousel--c .sm-c-match-away { grid-column:3; grid-row:1 / 5; }
.sm-home-match-carousel--c .sm-c-match-team { position:relative; align-self:stretch; align-content:center; }
.sm-home-match-carousel--c .sm-c-match-home { border-right:1px solid color-mix(in srgb,var(--appearance-match-link) 42%,transparent); padding-right:24px; }
.sm-home-match-carousel--c .sm-c-match-away { border-left:1px solid color-mix(in srgb,var(--appearance-match-link) 42%,transparent); padding-left:24px; }
.sm-home-match-carousel--c .sm-c-match-versus { grid-column:2; grid-row:2; }
.sm-home-match-carousel--c .sm-c-match-date time { font:inherit; }
.sm-home-match-carousel--c .sm-c-match-teams strong { color:var(--appearance-match-title); font-size:17px; line-height:22px; font-weight:750; text-transform:none; overflow-wrap:anywhere; }
.sm-home-match-carousel--c .sm-c-match-teams img,.sm-home-match-carousel--c .sm-c-rival-mark { width:76px; height:76px; object-fit:contain; }
body .sm-home-match-carousel--c .sm-c-match-teams img.sm-match-logo { width:76px !important; height:76px !important; }
.sm-home-match-carousel--c .sm-c-rival-mark { border:1px solid currentColor; border-radius:6px; background:transparent; color:inherit; font-size:18px; }
.sm-home-match-carousel--c .sm-c-match-versus > span { color:var(--appearance-match-title); font:700 34px/36px Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif; letter-spacing:.5px; }
.sm-home-match-carousel--c .sm-c-match-versus h2 { margin:0; color:var(--appearance-match-title); font:400 12px/16px Inter,"Segoe UI",Arial,sans-serif; letter-spacing:0; text-transform:none; }
.sm-home-match-carousel--c .sm-c-match-meta { grid-column:2; grid-row:3; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:4px 8px; min-width:0; color:inherit; font-size:13px; font-weight:400; line-height:18px; }
.sm-home-match-carousel--c .sm-c-match-meta > span { display:inline-flex; align-items:baseline; gap:6px; min-width:0; max-width:100%; overflow-wrap:anywhere; }
.sm-home-match-carousel--c .sm-c-match-meta b { font-weight:500; }
.sm-home-match-carousel--c .sm-c-match-meta i { color:var(--appearance-match-link); }
.sm-home-match-carousel--c .sm-c-match-link { grid-column:2; grid-row:4; display:inline-flex; justify-self:center; align-items:center; justify-content:center; gap:8px; min-height:28px; max-width:100%; padding:2px 0; color:var(--appearance-match-link); background:transparent; border:0; border-radius:0; box-shadow:none; font:750 15px/20px Inter,"Segoe UI",Arial,sans-serif; text-decoration:none; text-transform:none; }
.sm-home-match-carousel--c .sm-c-match-link:hover { text-decoration:underline; text-underline-offset:3px; }
.sm-home-match-carousel--c :is(.sm-c-match-link,button,[tabindex]):focus-visible { outline:3px solid var(--appearance-match-text); outline-offset:3px; }
.sm-home-match-carousel--c .sm-home-match-controls { position:absolute; z-index:6; inset:0; padding:0; margin:0; border:0; border-radius:0; background:transparent; color:inherit; pointer-events:none; }
.sm-home-match-carousel--c .sm-home-match-controls button { position:absolute; top:50%; width:44px; height:44px; padding:0; transform:translateY(-50%); border:1px solid color-mix(in srgb,currentColor 45%,transparent); border-radius:50%; background:color-mix(in srgb,var(--appearance-match-bg) 45%,transparent); box-shadow:0 0 12px color-mix(in srgb,var(--appearance-match-link) 15%,transparent); font-size:18px; pointer-events:auto; }
.sm-home-match-carousel--c .sm-home-match-controls button:hover:not(:disabled) { background:var(--appearance-match-bg); border-color:currentColor; }
.sm-home-match-carousel--c .sm-home-match-controls button:disabled { opacity:.45; }
.sm-home-match-carousel--c [data-home-match-prev] { left:16px; }
.sm-home-match-carousel--c [data-home-match-next] { right:16px; }
.sm-home-match-carousel--c [data-home-match-count] { position:absolute; right:16px; bottom:12px; min-width:40px; font-weight:500; }
.sm-home-match-carousel--c .sm-home-match-empty { padding:24px 62px; border:0; border-radius:inherit; background:transparent; color:inherit; font-family:Inter,"Segoe UI",Arial,sans-serif; }
.sm-home-match-carousel--c .sm-home-match-empty a { color:var(--appearance-match-text); text-decoration:underline; text-underline-offset:3px; }
@media(max-width:680px) {
    .sm-home-match-carousel--c .sm-c-match-panel { grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr); column-gap:6px; min-height:0; padding:6px 48px; }
    .sm-home-match-carousel--c .sm-c-match-date { grid-column:1 / -1; font-size:12px; }
    .sm-home-match-carousel--c .sm-c-match-team,.sm-home-match-carousel--c .sm-c-match-versus { grid-row:2; }
    .sm-home-match-carousel--c .sm-c-match-team { border:0; padding:0; }
    .sm-home-match-carousel--c .sm-c-match-teams strong { font-size:13px; line-height:18px; font-weight:700; }
    .sm-home-match-carousel--c .sm-c-match-versus > span { font-size:28px; line-height:30px; }
    .sm-home-match-carousel--c .sm-c-match-versus h2 { font-size:11px; line-height:15px; }
    .sm-home-match-carousel--c .sm-c-match-teams img,.sm-home-match-carousel--c .sm-c-rival-mark { width:40px; height:40px; }
    body .sm-home-match-carousel--c .sm-c-match-teams img.sm-match-logo { width:40px !important; height:40px !important; }
    .sm-home-match-carousel--c .sm-c-match-meta { grid-column:1 / -1; font-size:12px; }
    .sm-home-match-carousel--c .sm-c-match-link { grid-column:1 / -1; min-height:44px; font-size:14px; }
    .sm-home-match-carousel--c [data-home-match-prev] { left:2px; }
    .sm-home-match-carousel--c [data-home-match-next] { right:2px; }
    .sm-home-match-carousel--c [data-home-match-count] { right:6px; bottom:23px; font-size:11px; }
}
