/* ==========================================================================
   Landing page (/landing, Views/Home/Landing.cshtml): a sports-club site. Brand blue comes from app-api.css (--brand-*);
   amber (--sl-hot) is the "game day" accent. Rounded corners stay on this page (the rest of the app is square).
   Scripts: js/pages/landing-sports.js. Dark mode: [data-bs-theme=dark].
   ========================================================================== */
.sl {
  --sl-1: var(--brand-1, #1c3d59); --sl-2: var(--brand-2, #242b4d); --sl-3: var(--brand-3, #151b3a); --sl-accent: var(--brand-accent, #7db4ea);
  --sl-hot: #ffc247; --sl-hot-2: #ff9f1c;
  --sl-grad: linear-gradient(160deg, var(--sl-1) 0%, var(--sl-2) 60%, var(--sl-3) 100%);
  --sl-card: var(--theme-secondary-bg, #fff); --sl-line: var(--theme-border-color, #e3e7ec); --sl-muted: var(--theme-secondary-color, #6c757d);
  --theme-primary: #1c3d59; --theme-primary-rgb: 28, 61, 89; --theme-link-color: #1c3d59; --theme-link-hover-color: #242b4d;
  overflow-x: clip;   /* clip, not hidden: hidden would make .sl a scroll container and break the sticky ticker */
}
[data-bs-theme=dark] .sl { --sl-1: #1f3a5c; --sl-2: #1a2342; --sl-3: #111830; --theme-primary: #4a78d0; --theme-primary-rgb: 74, 120, 208; --theme-link-color: #8fbdf0; --theme-link-hover-color: #b6d4f6; }
.sl-wide { padding-left: clamp(1rem, 3vw, 2.5rem); padding-right: clamp(1rem, 3vw, 2.5rem); }

/* ---- buttons ---- */
.sl-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.4rem; border: 0; border-radius: .6rem; font-weight: 800; letter-spacing: .01em; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.sl-btn:hover { transform: translateY(-2px); }
.sl-btn-hot { background: linear-gradient(180deg, var(--sl-hot), var(--sl-hot-2)); color: #2a1a00; box-shadow: 0 8px 22px rgba(255, 159, 28, .35); }
.sl-btn-hot:hover { color: #2a1a00; box-shadow: 0 12px 28px rgba(255, 159, 28, .5); }
.sl-btn-ghost { border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; }
.sl-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .16); color: #fff; }
.sl-btn-primary { background: var(--sl-grad); color: #fff; box-shadow: 0 8px 20px rgba(var(--brand-3-rgb, 21, 27, 58), .3); }
.sl-btn-primary:hover { color: #fff; filter: brightness(1.15); }
.sl-btn-outline { border: 2px solid var(--sl-1); background: transparent; color: var(--sl-1); }
.sl-btn-outline:hover { background: var(--sl-1); color: #fff; }
[data-bs-theme=dark] .sl-btn-outline { border-color: var(--sl-accent); color: var(--sl-accent); }
[data-bs-theme=dark] .sl-btn-outline:hover { background: var(--sl-accent); color: #111830; }
.sl-btn-sm { padding: .5rem 1.05rem; font-size: .875rem; }

/* ---- ticker ---- */
.sl-ticker { position: sticky; top: 0; z-index: 1040; overflow: hidden; background: #0d1226; color: #dfe6f5; font-size: .8rem; }   /* stays at the top of the screen while the page scrolls */
.sl-ticker-track { display: flex; width: max-content; animation: sl-marquee 46s linear infinite; }
.sl-ticker:hover .sl-ticker-track { animation-play-state: paused; }
.sl-ticker-set { display: flex; flex: none; align-items: center; }
.sl-tk { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 2rem; border-right: 1px solid rgba(255, 255, 255, .08); white-space: nowrap; }
.sl-tk-tag { padding: .08rem .5rem; border-radius: .3rem; background: rgba(255, 255, 255, .12); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.sl-tk-tag.is-next { background: var(--sl-hot); color: #2a1a00; }
.sl-tk-tag.is-w { background: #1faa6b; }
@keyframes sl-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sl-ticker-track { animation: none; overflow-x: auto; } }

/* ---- navbar ---- */
#landing-navbar.sl-nav { padding: .85rem 0; background: var(--sl-2); color: #fff; }
#landing-navbar.sl-nav.top-fixed { background: color-mix(in srgb, var(--sl-3) 92%, transparent); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }
/* Pinned under the sticky ticker: when it hides it slides up behind the ticker, and slides back down out from under its bottom edge. */
#landing-navbar.sl-nav.top-fixed { top: var(--sl-ticker-h, 2.4rem); z-index: 1030; }
.sl-brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-size: 1.25rem; font-weight: 900; letter-spacing: -.01em; text-decoration: none; text-transform: uppercase; font-style: normal; }
.sl-brand:hover { color: #fff; }
.sl-mark { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: .6rem; background: var(--sl-hot); color: #2a1a00; font-size: 1.35rem; font-style: normal; transform: rotate(-6deg); }
.sl-nav .nav-link { position: relative; padding: .45rem .9rem !important; color: rgba(255, 255, 255, .78); font-weight: 700; font-size: .9rem; letter-spacing: .03em; text-transform: uppercase; transition: color .15s ease; }
.sl-nav .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .1rem; height: 3px; border-radius: 3px; background: var(--sl-hot); transform: scaleX(0); transition: transform .2s ease; }
.sl-nav .nav-link:hover, .sl-nav .nav-link.active { color: #fff; }
.sl-nav .nav-link:hover::after, .sl-nav .nav-link.active::after { transform: scaleX(1); }
.sl-nav .navbar-toggler { border-color: rgba(255, 255, 255, .3); filter: invert(1) grayscale(1) brightness(2); }
.sl-theme { position: relative; display: inline-flex; flex: none; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.sl-theme-track { position: relative; display: flex; align-items: center; justify-content: space-between; width: 4.1rem; height: 2.25rem; padding: 0 .55rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(0, 0, 0, .25); color: rgba(255, 255, 255, .5); font-size: .95rem; }
.sl-theme:focus-visible .sl-theme-track { box-shadow: 0 0 0 3px rgba(255, 194, 71, .6); outline: none; }
.sl-theme-knob { position: absolute; top: 50%; left: .2rem; display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; transform: translateY(-50%); border-radius: 50%; background: #fff; color: #f0a500; font-size: 1rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); transition: transform .3s cubic-bezier(.4, 1.4, .6, 1), background-color .25s ease, color .25s ease; }
.sl-theme-knob .ti-moon-stars { display: none; }
[data-bs-theme=dark] .sl-theme-knob { transform: translate(1.85rem, -50%); background: var(--sl-3); color: var(--sl-hot); box-shadow: 0 0 0 1px rgba(255, 194, 71, .5), 0 2px 8px rgba(0, 0, 0, .4); }
[data-bs-theme=dark] .sl-theme-knob .ti-sun-filled { display: none; }
[data-bs-theme=dark] .sl-theme-knob .ti-moon-stars { display: inline-block; }
.sl-signin { padding: .5rem .8rem; color: #fff; font-weight: 700; text-decoration: none; }
.sl-signin:hover { color: var(--sl-hot); }
.sl-user { color: #fff; text-decoration: none; }
.sl-user:hover { color: #fff; }
.sl-user-avatar { display: inline-flex; align-items: center; justify-content: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--sl-hot); color: #2a1a00; font-weight: 800; font-size: .85rem; }
.sl-user small { color: rgba(255, 255, 255, .65); }
@media (max-width: 991.98px) { .sl-nav .navbar-collapse { margin-top: .75rem; padding: .75rem; border-radius: 1rem; background: rgba(0, 0, 0, .25); } }

/* ---- hero ---- */
.sl-hero { position: relative; color: #fff; background: var(--sl-grad); padding-bottom: 5.5rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.5rem), 0 100%); }
@media (max-width: 767.98px) { .sl-hero { clip-path: none; padding-bottom: 6rem; } }
.sl-hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; opacity: .07; pointer-events: none; }
.sl-hero-glow { position: absolute; inset: 0; background: radial-gradient(800px 420px at 85% 10%, rgba(125, 180, 234, .28), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(255, 194, 71, .12), transparent 60%); pointer-events: none; }
.sl-hero-inner { position: relative; z-index: 1; padding-top: 3.75rem; padding-bottom: 2.5rem; }
.sl-season { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .95rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sl-season .ti { color: var(--sl-hot); }
.sl-season b { color: var(--sl-hot); font-weight: 800; }
.sl-title { margin: 1.1rem 0 1rem; color: #fff; font-size: clamp(3rem, 7.5vw, 6rem); font-weight: 900; font-style: normal; line-height: .92; letter-spacing: -.04em; text-transform: uppercase; }
.sl-title span { display: block; background: linear-gradient(90deg, var(--sl-hot), #fff 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sl-lede { max-width: 33rem; margin-bottom: 1.75rem; color: rgba(255, 255, 255, .8); font-size: 1.1rem; line-height: 1.65; }
.sl-form-guide { display: inline-flex; align-items: center; gap: .4rem; }
.sl-fg-label { margin-right: .3rem; color: rgba(255, 255, 255, .7); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sl-fg { display: inline-flex; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem; border-radius: .45rem; color: #fff; font-size: .8rem; font-weight: 900; }
.sl-fg.is-w { background: #1faa6b; } .sl-fg.is-d { background: #8a93a6; } .sl-fg.is-l { background: #d9453b; }
.sl-form-guide small { margin-left: .3rem; color: rgba(255, 255, 255, .55); }

/* match card */
.sl-match { padding: 1.5rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 1.25rem; background: rgba(255, 255, 255, .08); backdrop-filter: blur(10px); box-shadow: 0 26px 60px rgba(0, 0, 0, .35); }
.sl-match-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.15rem; font-size: .76rem; }
.sl-live { display: inline-flex; align-items: center; gap: .5rem; color: var(--sl-hot); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.sl-live i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--sl-hot); box-shadow: 0 0 0 4px rgba(255, 194, 71, .28); animation: sl-pulse 1.6s ease-in-out infinite; }
@keyframes sl-pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 194, 71, 0); } }
.sl-match-comp { color: rgba(255, 255, 255, .6); font-weight: 700; }
.sl-match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem; margin-bottom: .75rem; text-align: center; }
.sl-crest { display: inline-flex; align-items: center; justify-content: center; width: 4.5rem; height: 5rem; margin-bottom: .45rem; clip-path: polygon(50% 0, 100% 14%, 100% 58%, 50% 100%, 0 58%, 0 14%); font-size: 1.25rem; font-weight: 900; }
.sl-crest.is-us { background: linear-gradient(160deg, #fff, #cfe0f3); color: var(--sl-1); }
.sl-crest.is-them { background: linear-gradient(160deg, #4b5470, #232a42); color: #fff; }
.sl-team-name { font-size: .92rem; font-weight: 800; }
.sl-team small { color: rgba(255, 255, 255, .6); font-size: .72rem; }
.sl-vs { display: grid; gap: .15rem; }
.sl-vs span { color: rgba(255, 255, 255, .45); font-size: 1.5rem; font-weight: 900; font-style: normal; }
.sl-vs small { color: var(--sl-hot); font-size: .75rem; font-weight: 800; }
.sl-match-date { margin-bottom: 1rem; color: rgba(255, 255, 255, .75); font-size: .875rem; text-align: center; }
.sl-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.sl-countdown .unit { padding: .7rem .25rem; border-radius: .75rem; background: rgba(0, 0, 0, .3); text-align: center; }
.sl-countdown .num { font-size: 1.75rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.sl-countdown small { display: block; margin-top: .25rem; color: rgba(255, 255, 255, .55); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sl-match-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.sl-chip-btn { display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: .4rem; padding: .5rem .8rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: .6rem; background: rgba(255, 255, 255, .07); color: #fff; font-size: .8rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.sl-chip-btn:hover { border-color: var(--sl-hot); background: rgba(255, 194, 71, .16); color: #fff; }

/* stat strip overlapping the hero's slanted edge */
.sl-stats-wrap { position: absolute; left: 0; right: 0; bottom: 2.4rem; z-index: 2; }
.sl-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: 1rem; background: rgba(8, 12, 30, .55); backdrop-filter: blur(10px); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.sl-stat { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-right: 1px solid rgba(255, 255, 255, .09); }
.sl-stat:last-child { border-right: 0; }
.sl-stat-ico { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: .7rem; background: rgba(255, 194, 71, .16); color: var(--sl-hot); font-size: 1.3rem; }
.sl-stat strong { display: block; font-size: 1.7rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.sl-stat span:not(.sl-stat-ico) { color: rgba(255, 255, 255, .65); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 991.98px) { .sl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sl-stat:nth-child(3) { border-right: 0; } .sl-stat:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .09); } }
@media (max-width: 575.98px) { .sl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sl-stat:nth-child(2n) { border-right: 0; } .sl-stat:nth-child(3) { border-right: 1px solid rgba(255, 255, 255, .09); } .sl-stat:last-child { grid-column: 1 / -1; } .sl-stats-wrap { bottom: 1.2rem; } }

/* ---- sections ---- */
.sl-section { padding: 4.75rem 0; }
.sl-section.is-tint { background: color-mix(in srgb, var(--sl-1) 5%, var(--bs-body-bg)); border-top: 1px solid var(--sl-line); border-bottom: 1px solid var(--sl-line); }
.sl-kicker { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .55rem; color: var(--sl-1); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.sl-kicker::before { content: ""; width: 1.6rem; height: .28rem; border-radius: 3px; background: linear-gradient(90deg, var(--sl-hot), var(--sl-hot-2)); }
.sl-kicker.is-light { color: var(--sl-hot); }
[data-bs-theme=dark] .sl-kicker { color: var(--sl-accent); }
.sl-h2 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 900; font-style: normal; letter-spacing: -.03em; line-height: 1.05; text-transform: uppercase; }
.sl-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.1rem; }
.sl-card { border: 1px solid var(--sl-line); border-radius: 1rem; background: var(--sl-card); }
.sl-col-title { display: flex; align-items: center; gap: .55rem; margin: 0 0 .9rem; color: var(--sl-muted); font-size: .82rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.sl-col-title .ti { color: var(--sl-1); font-size: 1.2rem; }
[data-bs-theme=dark] .sl-col-title .ti { color: var(--sl-accent); }
.sl-reveal { opacity: 1; }
.sl-js .sl-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.sl-js .sl-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sl-js .sl-reveal { opacity: 1; transform: none; transition: none; } }

.sl-tabs { display: inline-flex; gap: .2rem; padding: .25rem; border: 1px solid var(--sl-line); border-radius: .8rem; background: var(--sl-card); }
.sl-tabs button { padding: .45rem 1.1rem; border: 0; border-radius: .6rem; background: transparent; color: var(--sl-muted); font-size: .85rem; font-weight: 800; }
.sl-tabs button.is-on { background: var(--sl-grad); color: #fff; box-shadow: 0 4px 12px rgba(var(--brand-3-rgb, 21, 27, 58), .3); }

/* fixtures */
.sl-fixture { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-left: 4px solid var(--sl-1); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.sl-fixture[hidden] { display: none; }
.sl-fixture:hover { transform: translateX(3px); border-left-color: var(--sl-hot); box-shadow: 0 10px 24px rgba(var(--brand-3-rgb, 21, 27, 58), .12); }
.sl-date { display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center; width: 3.6rem; height: 3.6rem; border-radius: .8rem; background: var(--sl-grad); color: #fff; line-height: 1; }
.sl-date strong { font-size: 1.4rem; font-weight: 900; }
.sl-date small { margin-top: .15rem; color: var(--sl-hot); font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.sl-fixture-main { flex: 1 1 auto; min-width: 0; }
.sl-fixture-main strong { display: block; font-weight: 800; }
.sl-fixture-main small { color: var(--sl-muted); }
.sl-comp { color: var(--sl-muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sl-pill { display: inline-flex; align-items: center; padding: .25rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.sl-pill.is-home { background: color-mix(in srgb, var(--sl-1) 12%, transparent); color: var(--sl-1); }
.sl-pill.is-away { background: var(--theme-tertiary-bg, #f1f3f5); color: var(--sl-muted); }
[data-bs-theme=dark] .sl-pill.is-home { color: var(--sl-accent); background: rgba(125, 180, 234, .16); }
.sl-result { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: .6rem; color: #fff; font-weight: 900; }
.sl-result.is-w { background: #1faa6b; } .sl-result.is-d { background: #8a93a6; } .sl-result.is-l { background: #d9453b; }
.sl-score { flex: none; font-size: 1.4rem; font-weight: 900; font-variant-numeric: tabular-nums; }

/* league table */
.sl-table-card { overflow: hidden; }
.sl-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.sl-table th { padding: .7rem .6rem; background: var(--sl-grad); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-align: center; text-transform: uppercase; }
.sl-table th:nth-child(2), .sl-table td:nth-child(2) { text-align: left; }
.sl-table td { padding: .65rem .6rem; border-bottom: 1px solid var(--sl-line); text-align: center; font-variant-numeric: tabular-nums; }
.sl-table tr:last-child td { border-bottom: 0; }
.sl-table tr.is-us td { background: color-mix(in srgb, var(--sl-hot) 18%, transparent); font-weight: 800; }
.sl-rank { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--theme-tertiary-bg, #eef1f5); font-size: .75rem; font-weight: 800; }
.sl-table tr.is-us .sl-rank { background: var(--sl-hot); color: #2a1a00; }
.sl-leader { margin-top: 1rem; padding: 1.1rem 1.2rem; }
.sl-leader-stat { text-align: center; }
.sl-leader-stat strong { display: block; color: var(--sl-1); font-size: 2rem; font-weight: 900; line-height: 1; }
[data-bs-theme=dark] .sl-leader-stat strong { color: var(--sl-hot); }
.sl-leader-stat small { color: var(--sl-muted); font-weight: 700; text-transform: uppercase; font-size: .68rem; letter-spacing: .06em; }

/* avatars + squad (the floating-avatar card from the Members page) */
.sl-avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: hsl(var(--hue, 210) 60% 88%); color: hsl(var(--hue, 210) 55% 26%); font-weight: 800; font-size: .85rem; }
[data-bs-theme=dark] .sl-avatar { background: hsl(var(--hue, 210) 35% 28%); color: hsl(var(--hue, 210) 70% 85%); }
.sl-avatar.is-lg { width: 3.4rem; height: 3.4rem; font-size: 1.05rem; }
.sl-avatar.is-xl { width: 5.2rem; height: 5.2rem; font-size: 1.7rem; box-shadow: 0 0 0 3px #cfe0f3, 0 0 0 7px var(--sl-card); }
[data-bs-theme=dark] .sl-avatar.is-xl { box-shadow: 0 0 0 3px rgba(125, 180, 234, .5), 0 0 0 7px var(--sl-card); }
.sl-squad { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 3.4rem 1.1rem; padding-top: 2.6rem; }
.sl-player { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 1rem 1.2rem; border: 1px solid var(--sl-line); border-radius: 1rem; background: var(--sl-card); text-align: center; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.sl-player:hover { transform: translateY(-5px); border-color: var(--sl-accent); box-shadow: 0 16px 32px rgba(var(--brand-3-rgb, 21, 27, 58), .18); }
.sl-player .sl-avatar { margin-top: -2.6rem; }
.sl-number { position: absolute; top: .5rem; right: .75rem; color: color-mix(in srgb, var(--sl-1) 18%, transparent); font-size: 2.6rem; font-weight: 900; font-style: normal; line-height: 1; }
[data-bs-theme=dark] .sl-number { color: rgba(125, 180, 234, .22); }
.sl-player h4 { margin: .85rem 0 .3rem; font-size: 1.02rem; font-weight: 800; }
.sl-player-pos { display: inline-flex; align-items: center; gap: .45rem; color: var(--sl-muted); font-size: .82rem; font-weight: 600; }
.sl-pos { padding: .1rem .45rem; border-radius: .3rem; background: var(--sl-grad); color: #fff; font-size: .68rem; font-weight: 900; letter-spacing: .06em; }
.sl-player-stat { margin-top: .75rem; padding: .3rem .8rem; border-radius: 999px; background: color-mix(in srgb, var(--sl-hot) 20%, transparent); color: #7a4a00; font-size: .76rem; font-weight: 800; }
[data-bs-theme=dark] .sl-player-stat { color: var(--sl-hot); }

/* highlights + gallery */
.sl-hl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
@media (min-width: 992px) { .sl-hl { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; } .sl-tile.is-big { grid-row: 1 / span 2; } }
.sl-tile { position: relative; display: block; overflow: hidden; min-height: 14rem; border-radius: 1rem; background: var(--sl-grad); color: #fff; text-decoration: none; box-shadow: 0 12px 28px rgba(var(--brand-3-rgb, 21, 27, 58), .18); }
.sl-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sl-tile:hover img { transform: scale(1.07); }
.sl-tile-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem 1.3rem; background: linear-gradient(to top, rgba(10, 14, 34, .94), rgba(10, 14, 34, .1) 70%); }
.sl-tile-tag { align-self: flex-start; margin-bottom: .5rem; padding: .2rem .65rem; border-radius: .35rem; background: var(--sl-hot); color: #2a1a00; font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.sl-tile h6 { margin: 0; color: #fff; font-size: 1.1rem; font-weight: 800; }
.sl-tile.is-big h6 { font-size: 1.7rem; font-style: normal; text-transform: uppercase; }
.sl-tile small { margin-top: .3rem; color: rgba(255, 255, 255, .75); }
.sl-tile-len { position: absolute; top: .8rem; right: .8rem; padding: .15rem .5rem; border-radius: .4rem; background: rgba(0, 0, 0, .65); font-size: .75rem; font-weight: 700; }
.sl-tile-play { position: absolute; top: 42%; left: 50%; display: inline-flex; align-items: center; justify-content: center; width: 3.6rem; height: 3.6rem; transform: translate(-50%, -50%) scale(.92); border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--sl-1); font-size: 1.4rem; transition: transform .2s ease, background-color .2s ease; }
.sl-tile:hover .sl-tile-play { transform: translate(-50%, -50%) scale(1.05); background: var(--sl-hot); color: #2a1a00; }
.sl-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .sl-gallery { grid-template-columns: repeat(6, 1fr); } .sl-shot:nth-child(1), .sl-shot:nth-child(4) { grid-column: span 2; } }
.sl-shot { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: .8rem; }
.sl-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .3s ease; }
.sl-shot:hover img { transform: scale(1.08); filter: brightness(1.08); }
.sl-shot::after { content: ""; position: absolute; inset: 0; border: 3px solid transparent; border-radius: .8rem; transition: border-color .2s ease; }
.sl-shot:hover::after { border-color: var(--sl-hot); }

/* news */
.sl-news { overflow: hidden; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.sl-news:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(var(--brand-3-rgb, 21, 27, 58), .15); }
.sl-news-img { position: relative; }
.sl-news-img img { display: block; width: 100%; height: 12.5rem; object-fit: cover; }
.sl-news-img .sl-pill { position: absolute; top: .8rem; left: .8rem; background: var(--sl-hot); color: #2a1a00; }
.sl-news-body { padding: 1.2rem 1.35rem 1.4rem; }
.sl-news-meta { margin-bottom: .5rem; color: var(--sl-muted); font-size: .8rem; font-weight: 600; }
.sl-news-body h5 { margin: 0 0 .5rem; font-weight: 800; line-height: 1.3; }
.sl-news-body p { margin: 0; color: var(--sl-muted); }

/* join */
.sl-join { position: relative; overflow: hidden; padding: clamp(1.75rem, 4vw, 3.25rem); border-radius: 1.5rem; color: #fff; background: radial-gradient(800px 400px at 100% -20%, rgba(255, 194, 71, .14), transparent 60%), var(--sl-grad); box-shadow: 0 24px 60px rgba(var(--brand-3-rgb, 21, 27, 58), .3); }
.sl-join-lede { margin: 1rem 0 1.5rem; color: rgba(255, 255, 255, .78); }
.sl-ticks { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.sl-ticks li { display: flex; align-items: center; gap: .65rem; color: rgba(255, 255, 255, .88); }
.sl-ticks .ti { display: inline-flex; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem; border-radius: .5rem; background: rgba(255, 194, 71, .2); color: var(--sl-hot); }
.sl-form { position: relative; padding: 1.75rem; border-radius: 1.15rem; background: var(--sl-card); color: var(--theme-body-color, #212529); box-shadow: 0 20px 40px rgba(0, 0, 0, .28); }
.sl-form h4 { margin: 0 0 1.1rem; font-weight: 900; font-style: normal; text-transform: uppercase; }
.sl-form .form-label { font-weight: 700; font-size: .85rem; }
.sl-form .form-control, .sl-form .form-select { border-radius: .6rem; }
.sl-form .form-control:focus, .sl-form .form-select:focus { border-color: var(--sl-1); box-shadow: 0 0 0 3px rgba(125, 180, 234, .35); }
.sl-form button[type=submit] { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .8rem 1.4rem; border: 0; border-radius: .6rem; background: linear-gradient(180deg, var(--sl-hot), var(--sl-hot-2)); color: #2a1a00; font-weight: 900; box-shadow: 0 8px 22px rgba(255, 159, 28, .35); }

/* sponsors + footer */
.sl-sponsors { padding: 3.5rem 0 4.5rem; }
.sl-sponsors .sl-kicker { margin-bottom: 1.25rem; }
.sl-sponsors-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem 3.5rem; padding: 1.75rem; }
.sl-sponsor { height: 2.1rem; opacity: .55; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.sl-sponsor:hover { opacity: 1; filter: none; }
.sl-footer { padding: 4rem 0 1.5rem; color: rgba(255, 255, 255, .68); background: var(--sl-3); border-top: 4px solid var(--sl-hot); }
.sl-footer h6 { margin-bottom: 1rem; color: #fff; font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.sl-footer a { color: rgba(255, 255, 255, .68); text-decoration: none; }
.sl-footer a:hover { color: var(--sl-hot); }
.sl-footer .sl-brand { color: #fff; }
.sl-social { display: flex; gap: .5rem; }
.sl-social a { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: .6rem; font-size: 1.1rem; }
.sl-social a:hover { border-color: var(--sl-hot); }
.sl-footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; text-align: center; }
.sl-nav .navbar-nav .nav-link.active, .sl-nav .navbar-nav .nav-link:hover { color: #fff !important; }

/* ==========================================================================
   v2 additions: ideas from the reference landing (ruled capability band, bento tiles with a flagship,
   offset-frame figure, checklist, cursor spotlight on hover). Small radius on purpose.
   ========================================================================== */
.sl { --sl-r: .5rem; }
.sl-kicker::before { height: 2px; width: 1.75rem; border-radius: 0; }
.sl-lede-dark { max-width: 40rem; margin: .4rem 0 0; color: var(--sl-muted); font-size: 1.05rem; }
.sl-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--sl-1); font-weight: 800; text-decoration: none; }
.sl-link:hover { text-decoration: underline; color: var(--sl-1); }
[data-bs-theme=dark] .sl-link, [data-bs-theme=dark] .sl-link:hover { color: var(--sl-hot); }

.sl-caps { background: var(--sl-3); border-top: 1px solid rgba(255,255,255,.1); }
.sl-caps-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.sl-cap { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 1.1rem 1rem; color: rgba(255,255,255,.9); font-size: .88rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,.12); }
.sl-cap:last-child { border-right: 0; }
.sl-cap .ti { color: var(--sl-hot); font-size: 1.3rem; }
@media (max-width: 767.98px) { .sl-caps-grid { grid-template-columns: repeat(2, 1fr); } .sl-cap:nth-child(2) { border-right: 0; } .sl-cap:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); } }

.sl-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(12.5rem, auto); gap: 1rem; }
@media (max-width: 1199.98px) { .sl-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .sl-bento { grid-template-columns: minmax(0, 1fr); } }
.sl-tile2 { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 1.4rem; text-decoration: none; color: inherit; border: 1px solid var(--sl-line); border-radius: var(--sl-r); background: color-mix(in srgb, var(--sl-1) 3%, var(--sl-card)); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.sl-tile2:hover, .sl-tile2:focus-visible { color: inherit; transform: translateY(-3px); border-color: color-mix(in srgb, var(--sl-1) 55%, transparent); box-shadow: 0 .75rem 1.75rem -1rem rgba(var(--brand-3-rgb, 21, 27, 58), .6); }
[data-bs-theme=dark] .sl-tile2:hover { border-color: rgba(255,194,71,.55); }
.sl-tile2-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.sl-tile2-ico { display: inline-flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; font-size: 1.4rem; border-radius: var(--sl-r); color: var(--sl-1); background: color-mix(in srgb, var(--sl-1) 10%, transparent); border: 1px solid color-mix(in srgb, var(--sl-1) 30%, transparent); }
[data-bs-theme=dark] .sl-tile2-ico { color: var(--sl-hot); background: rgba(255,194,71,.1); border-color: rgba(255,194,71,.4); }
.sl-tile2-tag { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sl-muted); }
.sl-tile2 h5 { margin: 0 0 .45rem; font-size: 1.08rem; font-weight: 800; }
.sl-tile2 p { margin: 0; color: var(--sl-muted); font-size: .9rem; }
.sl-tile2:not(.is-feature) p { padding-right: 2.2rem; }
.sl-tile2-go { position: absolute; right: 1.1rem; bottom: 1.1rem; display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border: 1px solid var(--sl-line); border-radius: var(--sl-r); color: var(--sl-1); transition: transform .2s ease, background-color .2s ease, color .2s ease; }
[data-bs-theme=dark] .sl-tile2-go { color: var(--sl-hot); }
.sl-tile2:hover .sl-tile2-go { background: var(--sl-hot); border-color: var(--sl-hot); color: #2a1a00; transform: translate(2px, -2px); }
.sl-tile2.is-wide { grid-column: span 2; }
.sl-tile2-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.25rem; align-items: end; }
@media (max-width: 767.98px) { .sl-tile2-split { grid-template-columns: minmax(0, 1fr); } }
.sl-points { list-style: none; margin: 0 0 2.4rem; padding: 0; display: grid; gap: .45rem; }
.sl-points li { display: flex; align-items: center; gap: .5rem; padding: .45rem .7rem; border: 1px solid var(--sl-line); border-radius: var(--sl-r); background: var(--sl-card); font-size: .8rem; font-weight: 700; }
.sl-points .ti { color: var(--sl-hot-2); }
.sl-tile2.is-feature { grid-column: span 2; grid-row: span 2; padding: 1.9rem; color: #fff; border-color: transparent; background: radial-gradient(80% 90% at 100% 0%, rgba(255,194,71,.22), transparent 55%), linear-gradient(155deg, var(--sl-3), var(--sl-2) 50%, var(--sl-1)); }
.sl-tile2.is-feature::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%); mask-image: linear-gradient(200deg, #000, transparent 60%); }
.sl-tile2.is-feature > * { position: relative; }
.sl-tile2.is-feature:hover { color: #fff; border-color: var(--sl-hot); }
.sl-tile2.is-feature .sl-tile2-ico { width: 3.4rem; height: 3.4rem; font-size: 1.7rem; color: var(--sl-hot); background: rgba(255,194,71,.12); border-color: rgba(255,194,71,.45); }
.sl-tile2.is-feature .sl-tile2-tag { color: var(--sl-hot); }
.sl-tile2.is-feature h5 { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.8rem); font-weight: 900; font-style: normal; text-transform: uppercase; }
.sl-tile2.is-feature p { color: rgba(255,255,255,.84); font-size: 1rem; max-width: 34rem; }
.sl-steps { list-style: none; margin: 1.6rem 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; counter-reset: sl-step; flex-grow: 1; align-content: center; }
@media (max-width: 575.98px) { .sl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sl-steps li { counter-increment: sl-step; padding: .75rem; border: 1px solid rgba(255,255,255,.16); border-top: 2px solid var(--sl-hot); border-radius: var(--sl-r); background: rgba(8,12,30,.4); font-size: .82rem; font-weight: 800; }
.sl-steps li::before { content: counter(sl-step, decimal-leading-zero); display: block; margin-bottom: .3rem; color: var(--sl-hot); font-size: .68rem; letter-spacing: .12em; }
.sl-steps li .ti { display: block; margin-bottom: .35rem; font-size: 1.25rem; }
.sl-feature-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.1rem; border-radius: var(--sl-r); background: var(--sl-hot); color: #2a1a00; font-weight: 900; font-size: .88rem; }
@media (max-width: 1199.98px) { .sl-tile2.is-feature { grid-row: auto; } }
@media (max-width: 575.98px) { .sl-tile2.is-feature, .sl-tile2.is-wide { grid-column: auto; } }

.sl-figure { position: relative; max-width: 26rem; margin: 0 0 0 auto; }   /* Film room picture: kept compact */
.sl-figure::before { content: ""; position: absolute; inset: 18px 18px -18px -18px; border: 2px solid var(--sl-hot); border-radius: var(--sl-r); }
.sl-figure img, .sl-figure video { position: relative; display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--sl-r); box-shadow: 0 24px 48px -24px rgba(0,0,0,.45); }
.sl-checklist { list-style: none; margin: 0 0 1.75rem; padding: 0; border-top: 1px solid var(--sl-line); }
.sl-checklist li { display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid var(--sl-line); font-size: .95rem; }
.sl-checklist .ti { margin-top: .12rem; color: var(--sl-1); font-size: 1.15rem; }
[data-bs-theme=dark] .sl-checklist .ti { color: var(--sl-hot); }

.sl-spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .4s ease; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(255,194,71,.2), transparent 62%); pointer-events: none; }
.sl-spot { isolation: isolate; }
.sl-spot:hover::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sl-tile2, .sl-tile2-go, .sl-spot::before { transition: none; } .sl-tile2:hover { transform: none; } }

/* ---- hero copy redesign: no italics, blue/white accents ---- */
.sl-hero-copy { position: relative; padding-left: 1.5rem; border-left: 3px solid rgba(125, 180, 234, .55); }
.sl-hero-copy::before { content: ""; position: absolute; left: -3px; top: 0; width: 3px; height: 5.5rem; background: #fff; }
.sl-season { gap: .6rem; padding: .35rem .9rem .35rem .35rem; border: 0; border-radius: .4rem; background: rgba(255, 255, 255, .1); letter-spacing: .12em; }
.sl-season .ti { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; border-radius: .3rem; background: var(--sl-accent); color: #0f1d33; }
.sl-season b { padding-left: .6rem; border-left: 1px solid rgba(255, 255, 255, .3); color: var(--sl-accent); letter-spacing: .12em; }
.sl-title { display: grid; gap: .1rem; margin: 1.1rem 0 1.1rem; font-size: clamp(3.2rem, 7.5vw, 6.2rem); font-style: normal; line-height: .9; letter-spacing: -.045em; }
.sl-title span { display: block; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
.sl-title .sl-t2 { color: transparent; -webkit-text-stroke: 2px #fff; text-stroke: 2px #fff; position: relative; width: fit-content; }
.sl-title .sl-t2::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.18em; height: .09em; background: linear-gradient(90deg, var(--sl-accent), transparent); }
.sl-lede { padding-left: 0; font-size: 1.1rem; }
.sl-btn-light { background: #fff; color: var(--sl-2); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.sl-btn-light:hover { color: var(--sl-2); background: #e9f1fb; }
.sl-form-guide { gap: .7rem; padding: .5rem .9rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: .5rem; background: rgba(255, 255, 255, .06); }
.sl-fg-label { display: inline-flex; align-items: center; gap: .35rem; margin: 0; }
.sl-fg-label .ti { color: var(--sl-accent); }
.sl-fg-row { display: inline-flex; gap: .3rem; }
.sl-fg { border-radius: .3rem; }
.sl-form-guide small { margin: 0; }
@media (max-width: 575.98px) { .sl-hero-copy { padding-left: 1rem; } }

/* hero: flat bottom edge (the slanted clip left a white wedge under the stat strip) */
.sl-hero { clip-path: none; }

/* wider content on large and extra-large screens (as on the reference site) */
@media (min-width: 1200px) { .sl .container { max-width: calc(100% - 4rem); } }
@media (min-width: 1600px) { .sl .container { max-width: calc(100% - 6rem); } }
@media (min-width: 2400px) { .sl .container { max-width: 2200px; } }

/* ---- match centre redesign: one ruled board per list, upright type, blue/white accents ---- */
#matches .sl-h2, .sl-h2 { font-style: normal; }
.sl-kicker::before { background: var(--sl-accent); }
.sl-board { overflow: hidden; border: 1px solid var(--sl-line); border-radius: .75rem; background: var(--sl-card); box-shadow: 0 1px 0 rgba(0, 0, 0, .03); }
.sl-board .sl-card.sl-fixture { border: 0; border-bottom: 1px solid var(--sl-line); border-left: 4px solid transparent; border-radius: 0; background: transparent; padding: .85rem 1.1rem; }
.sl-board .sl-card.sl-fixture:last-child { border-bottom: 0; }
.sl-board .sl-fixture:hover { transform: none; box-shadow: none; border-left-color: var(--sl-accent); background: color-mix(in srgb, var(--sl-1) 5%, transparent); }
.sl-board .sl-date { width: 3.3rem; height: 3.3rem; border-radius: .5rem; }
.sl-board .sl-date small { color: var(--sl-accent); }
.sl-mini-crest { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 2px solid var(--sl-line); background: var(--theme-tertiary-bg, #eef1f5); color: var(--sl-muted); font-size: .72rem; font-weight: 900; letter-spacing: .02em; }
.sl-board .sl-result { border-radius: .4rem; }
.sl-board .sl-score { min-width: 4.2rem; padding: .25rem .6rem; border-radius: .4rem; background: var(--sl-3); color: #fff; font-size: 1.15rem; text-align: center; letter-spacing: .04em; }
.sl-pill { border-radius: .35rem; }
.sl-table-card { border-radius: .75rem; }
.sl-table th { background: var(--sl-3); }
.sl-table tbody tr { position: relative; }
.sl-table tbody tr:nth-child(-n+3) td:first-child { box-shadow: inset 3px 0 0 var(--sl-accent); }
.sl-table tr.is-us td { background: color-mix(in srgb, var(--sl-1) 12%, transparent); }
.sl-table tr.is-us .sl-rank { background: var(--sl-1); color: #fff; }
[data-bs-theme=dark] .sl-table tr.is-us .sl-rank { background: var(--sl-accent); color: #0f1d33; }
.sl-leader { border: 0; border-radius: .75rem; color: #fff; background: radial-gradient(120% 140% at 100% 0%, rgba(125, 180, 234, .25), transparent 55%), var(--sl-grad); }
.sl-leader .sl-kicker { color: var(--sl-accent); }
.sl-leader .text-muted { color: rgba(255, 255, 255, .7) !important; }
.sl-leader-stat strong { color: #fff; }
.sl-leader-stat small { color: rgba(255, 255, 255, .65); }
[data-bs-theme=dark] .sl-leader-stat strong { color: #fff; }
.sl-tabs { border-radius: .5rem; } .sl-tabs button { border-radius: .35rem; }
@media (max-width: 575.98px) { .sl-board .sl-comp { display: none; } .sl-board .sl-mini-crest { display: none; } }

/* ---- request a demo / free trial (teams and clubs) ---- */
.sl-demo-card { padding: 1.75rem; border: 1px solid var(--sl-line); border-radius: .75rem; background: var(--sl-card); box-shadow: 0 20px 44px -26px rgba(var(--brand-3-rgb, 21, 27, 58), .55); }
.sl-demo-card h4 { margin: 0 0 1.1rem; font-size: 1.15rem; font-weight: 800; }
.sl-demo-card .form-label { font-weight: 700; font-size: .85rem; }
.sl-demo-card .form-control, .sl-demo-card .form-select { border-radius: .5rem; }
.sl-demo-card .form-control:focus, .sl-demo-card .form-select:focus { border-color: var(--sl-1); box-shadow: 0 0 0 3px rgba(125, 180, 234, .35); }
.sl-demo-type { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.1rem; }
.sl-demo-opt { position: relative; margin: 0; cursor: pointer; }
.sl-demo-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sl-demo-opt span { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1rem; border: 2px solid var(--sl-line); border-radius: .6rem; font-weight: 800; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.sl-demo-opt input:checked + span { border-color: var(--sl-1); background: color-mix(in srgb, var(--sl-1) 10%, transparent); color: var(--sl-1); }
.sl-demo-opt input:focus-visible + span { outline: 2px solid var(--sl-accent); outline-offset: 2px; }
[data-bs-theme=dark] .sl-demo-opt input:checked + span { border-color: var(--sl-accent); color: var(--sl-accent); background: rgba(125, 180, 234, .12); }
.sl-checklist li span strong { font-weight: 800; }

/* ---- hero background carousel of sports facilities (js/pages/hero-bg.js) ---- */
.sl-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.sl-bg-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.sl-bg-slide.is-on { opacity: 1; }
.sl-bg-svg { display: block; width: 100%; height: 100%; transform: scale(1.04); transform-origin: 70% 50%; }
.sl-bg-slide.is-on .sl-bg-svg { animation: sl-bg-zoom 12s ease-out both; }
@keyframes sl-bg-zoom { from { transform: scale(1.04); } to { transform: scale(1.16); } }
.sl-bg-svg .l:not([fill]) { fill: none; }
.sl-bg-svg .l:not([stroke]) { stroke: rgba(255, 255, 255, .85); stroke-width: 3; }
.sl-hero-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(21, 27, 58, .93) 0%, rgba(21, 27, 58, .78) 38%, rgba(21, 27, 58, .22) 72%, rgba(21, 27, 58, .12) 100%), linear-gradient(0deg, rgba(21, 27, 58, .75), transparent 30%); }
.sl-hero-glow { z-index: 0; }
.sl-hero > .sl-hero-lines { display: none; }
.sl-hero-venue { position: absolute; top: 1rem; right: clamp(1rem, 3vw, 2.5rem); z-index: 3; display: flex; align-items: center; gap: .9rem; padding: .4rem .8rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: .5rem; background: rgba(8, 12, 30, .5); backdrop-filter: blur(6px); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sl-venue-name { min-width: 8.5rem; }
.sl-venue-dots { display: inline-flex; flex-wrap: wrap; gap: .3rem; max-width: 12rem; }
.sl-venue-dots button { width: .5rem; height: .5rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: background-color .2s ease, transform .2s ease; }
.sl-venue-dots button:hover { background: rgba(255, 255, 255, .7); }
.sl-venue-dots button.is-on { background: var(--sl-accent); transform: scale(1.35); }
@media (max-width: 575.98px) { .sl-venue-name { display: none; } .sl-hero-venue { top: .6rem; } }
@media (prefers-reduced-motion: reduce) { .sl-bg-slide.is-on .sl-bg-svg { animation: none; } .sl-bg-slide { transition: none; } }

/* "See SportSteam with your team" uses the same dark blue block as "Want to play for us?" (.sl-join) */
#demo .sl-ticks strong { color: #fff; font-weight: 800; }
#demo .sl-demo-card { box-shadow: 0 20px 40px rgba(0, 0, 0, .28); border: 0; }
#demo .sl-demo-card h4 { font-size: 1.15rem; }

/* the light blue-gray section background stays behind the dark blue block */
#demo.sl-section.is-tint { background: #dbe4ee; border-color: #c3d0de; }
[data-bs-theme=dark] #demo.sl-section.is-tint { background: #1c2a3c; border-color: #2a3d54; }

/* demo form: bigger labels and validation messages */
.sl-demo-card .form-label { font-size: 1rem; }
.sl-demo-card [data-valmsg-for] { display: block; margin-top: .3rem; font-size: .95rem; font-weight: 600; text-align: right; }
.sl-demo-card .form-control.is-invalid, .sl-demo-card .form-select.is-invalid { border-color: var(--theme-danger, #dc3545); }

/* ---- match centre v2: season snapshot, fixture / result cards, league table with form + points bars ---- */
.sl { --mc-w: #1faa6b; --mc-d: #8a93a6; --mc-l: #d9453b; }
.mc-snap { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
.mc-stat { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border: 1px solid var(--sl-line); border-radius: .75rem; background: var(--sl-card); box-shadow: 0 1px 0 rgba(0, 0, 0, .03); }
.mc-stat-text { display: grid; gap: .3rem; min-width: 0; }
.mc-stat-text strong { font-size: 1.35rem; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mc-stat-text small { color: var(--sl-muted); font-size: .78rem; }
.mc-stat-label { font-size: .68rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mc-stat-text strong span { font-size: .8rem; font-weight: 800; margin-right: .35rem; }
.mc-stat-text strong .is-w, .mc-legend .is-w { color: var(--mc-w); } .mc-stat-text strong .is-d { color: var(--mc-d); } .mc-stat-text strong .is-l { color: var(--mc-l); }
.mc-of { color: var(--sl-muted); font-weight: 700 !important; }
.mc-gd { color: var(--mc-w); font-size: inherit !important; }
.mc-donut { flex: none; width: 5rem; height: 5rem; transform: rotate(0deg); }
.mc-donut circle { fill: none; stroke-width: 5; }
.mc-donut-bg { stroke: var(--theme-tertiary-bg, #e9edf2); }
.mc-donut-seg.is-w { stroke: var(--mc-w); } .mc-donut-seg.is-d { stroke: var(--mc-d); } .mc-donut-seg.is-l { stroke: var(--mc-l); }
.mc-donut-num { fill: var(--theme-body-color, #212529); font-size: 8px; font-weight: 900; }
.mc-donut-sub { fill: var(--sl-muted); font-size: 4.2px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mc-goalbar { display: grid; grid-template-columns: 4.6rem 1fr 1.8rem; align-items: center; gap: .5rem; font-size: .78rem; color: var(--sl-muted); }
.mc-goalbar i { display: block; height: .6rem; border-radius: 999px; background: linear-gradient(90deg, var(--sl-1), var(--sl-accent)); transform-origin: left; }
.mc-goalbar.is-against i { background: linear-gradient(90deg, #e86a5f, var(--mc-l)); }
.mc-goalbar b { color: var(--theme-body-color, #212529); font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; }
.mc-meter { height: .6rem; border-radius: 999px; background: var(--theme-tertiary-bg, #e9edf2); overflow: hidden; }
.mc-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sl-1), var(--sl-accent)); }

.mc-form { display: inline-flex; gap: .2rem; }
.mc-form b { display: inline-flex; align-items: center; justify-content: center; width: 1.15rem; height: 1.15rem; border-radius: .25rem; color: #fff; font-size: .62rem; font-weight: 900; }
.mc-form b.is-w { background: var(--mc-w); } .mc-form b.is-d { background: var(--mc-d); } .mc-form b.is-l { background: var(--mc-l); }
.mc-form.is-lg { gap: .35rem; } .mc-form.is-lg b { width: 2rem; height: 2rem; border-radius: .4rem; font-size: .85rem; }

.mc-board { overflow: hidden; border: 1px solid var(--sl-line); border-radius: .75rem; background: var(--sl-card); box-shadow: 0 1px 0 rgba(0, 0, 0, .03); }
.mc-fix, .mc-res { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--sl-line); border-left: 4px solid transparent; transition: background .15s ease, border-color .15s ease; }
.mc-fix[hidden] { display: none; }
.mc-fix:last-child, .mc-res:last-child { border-bottom: 0; }
.mc-fix:hover, .mc-res:hover { background: color-mix(in srgb, var(--sl-1) 5%, transparent); border-left-color: var(--sl-accent); }
.mc-fix.is-next { background: color-mix(in srgb, var(--sl-hot) 10%, transparent); border-left-color: var(--sl-hot); }
.mc-date { display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center; width: 3.3rem; height: 3.3rem; border-radius: .5rem; background: var(--sl-grad); color: #fff; line-height: 1; }
.mc-date strong { font-size: 1.3rem; font-weight: 900; }
.mc-date small { margin-top: .15rem; color: var(--sl-accent); font-size: .66rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.mc-vs { display: flex; flex: 1 1 auto; align-items: center; gap: .6rem; min-width: 0; }
.mc-team { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; }
.mc-team b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-vs-sep { flex: none; color: var(--sl-muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mc-crest { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 2px solid hsl(var(--hue, 215) 45% 55% / .45); background: hsl(var(--hue, 215) 55% 55% / .14); color: hsl(var(--hue, 215) 45% 38%); font-size: .7rem; font-weight: 900; letter-spacing: .02em; }
[data-bs-theme=dark] .mc-crest { color: hsl(var(--hue, 215) 70% 78%); }
.mc-crest.is-us { border-color: var(--sl-1); background: var(--sl-grad); color: #fff; }
.mc-crest.is-sm { width: 1.9rem; height: 1.9rem; font-size: .62rem; } .mc-crest.is-xs { width: 1.6rem; height: 1.6rem; font-size: .56rem; }
.mc-fix-meta { display: grid; flex: none; gap: .15rem; color: var(--sl-muted); font-size: .8rem; }
.mc-fix-meta .ti { margin-right: .3rem; color: var(--sl-accent); }
.mc-fix-tags { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: .3rem; }
.mc-comp { color: var(--sl-muted); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.mc-flag { padding: .15rem .5rem; border-radius: .3rem; background: var(--sl-hot); color: #2a1a00; font-size: .64rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.mc-res.is-w { border-left-color: var(--mc-w); } .mc-res.is-d { border-left-color: var(--mc-d); } .mc-res.is-l { border-left-color: var(--mc-l); }
.mc-badge { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: .45rem; color: #fff; font-weight: 900; }
.mc-res.is-w .mc-badge { background: var(--mc-w); } .mc-res.is-d .mc-badge { background: var(--mc-d); } .mc-res.is-l .mc-badge { background: var(--mc-l); }
.mc-res-main { flex: 1 1 auto; min-width: 0; display: grid; gap: .25rem; }
.mc-res-main small { color: var(--sl-muted); }
.mc-res-line { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .65rem; }
.mc-res-team { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; font-weight: 700; color: var(--sl-muted); }
.mc-res-team.is-right { justify-content: flex-end; text-align: right; }
.mc-res-team b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: inherit; }
.mc-res-team.is-us { color: var(--theme-body-color, #212529); font-weight: 900; }
.mc-score { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem; border-radius: .4rem; background: var(--sl-3); color: #fff; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.mc-score i { opacity: .5; font-style: normal; }
.mc-margin { flex: none; min-width: 2rem; text-align: right; color: var(--sl-muted); font-size: .8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.mc-res.is-w .mc-margin { color: var(--mc-w); } .mc-res.is-l .mc-margin { color: var(--mc-l); }

.mc-table-card { overflow: hidden; border: 1px solid var(--sl-line); border-radius: .75rem; background: var(--sl-card); }
.mc-table-scroll { overflow-x: auto; }
.mc-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.mc-table th { padding: .7rem .55rem; background: var(--sl-3); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-align: center; text-transform: uppercase; white-space: nowrap; }
.mc-table th:nth-child(2) { text-align: left; }
.mc-table td { padding: .6rem .55rem; border-bottom: 1px solid var(--sl-line); text-align: center; vertical-align: middle; font-variant-numeric: tabular-nums; }
.mc-table tbody tr:last-child td { border-bottom: 0; }
.mc-table tbody tr:nth-child(-n+3) td:first-child { box-shadow: inset 3px 0 0 var(--sl-accent); }
.mc-table tbody tr:hover td { background: color-mix(in srgb, var(--sl-1) 5%, transparent); }
.mc-table tr.is-us td { background: color-mix(in srgb, var(--sl-1) 12%, transparent); font-weight: 800; }
.mc-table tr.is-leader .sl-rank { background: var(--sl-hot); color: #2a1a00; }
.mc-t-team { text-align: left !important; min-width: 9.5rem; }
.mc-t-name { display: flex; align-items: center; gap: .5rem; }
.mc-t-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.mc-wdl { display: flex; gap: 2px; width: 100%; max-width: 8.5rem; height: .28rem; margin: .4rem 0 0 2.1rem; border-radius: 999px; overflow: hidden; }
.mc-wdl i { display: block; min-width: 2px; } .mc-wdl .is-w { background: var(--mc-w); } .mc-wdl .is-d { background: var(--mc-d); } .mc-wdl .is-l { background: var(--mc-l); }
.mc-gd-cell.is-pos { color: var(--mc-w); } .mc-gd-cell.is-neg { color: var(--mc-l); }
.mc-pts { min-width: 3.4rem; }
.mc-pts b { display: block; font-size: 1rem; font-weight: 900; }
.mc-pts-bar { display: block; height: .22rem; margin-top: .25rem; border-radius: 999px; background: var(--theme-tertiary-bg, #e9edf2); overflow: hidden; }
.mc-pts-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--sl-1), var(--sl-accent)); }
.mc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding: .65rem 1rem; border-top: 1px solid var(--sl-line); background: var(--theme-tertiary-bg, #f6f8fa); color: var(--sl-muted); font-size: .74rem; }
.mc-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.mc-legend b { display: inline-flex; align-items: center; justify-content: center; width: 1rem; height: 1rem; border-radius: .22rem; color: #fff; font-size: .58rem; font-weight: 900; }
.mc-legend b.is-w { background: var(--mc-w); color: #fff; } .mc-legend b.is-d { background: var(--mc-d); } .mc-legend b.is-l { background: var(--mc-l); }
.mc-zone { width: 3px; height: .9rem; border-radius: 2px; background: var(--sl-accent); }
#matches .sl-leader { margin-top: 1rem; }

@media (max-width: 991.98px) { .mc-fix-meta { display: none; } }
@media (max-width: 575.98px) {
  .mc-fix, .mc-res { gap: .7rem; padding: .75rem .8rem; }
  .mc-vs-sep, .mc-fix-tags .mc-comp, .mc-margin { display: none; }
  .mc-vs { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .mc-res-team .mc-crest { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .mc-goalbar i, .mc-meter i, .mc-pts-bar i { animation: mc-grow .9s cubic-bezier(.2, .7, .2, 1) both; }
  .mc-donut-seg { animation: mc-dash 1s ease-out both; }
}
@keyframes mc-grow { from { transform: scaleX(0); } }
@keyframes mc-dash { from { opacity: 0; } }

/* right column of the match centre: stretches to the left column's height; the scorers card takes the spare room */
@media (min-width: 992px) { .mc-side { display: flex; flex-direction: column; } .mc-side .mc-scorers { flex: 1 1 auto; } }
.mc-scorers { display: flex; flex-direction: column; margin-top: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--sl-line); border-radius: .75rem; background: var(--sl-card); }
.mc-scorers-title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .85rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sl-muted); }
.mc-scorers-title .ti { color: var(--sl-accent); font-size: 1.05rem; }
.mc-scorers ol { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: space-between; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.mc-scorers li { display: flex; align-items: center; gap: .8rem; }
.mc-scorers .sl-avatar { flex: none; width: 2.3rem; height: 2.3rem; font-size: .72rem; }
.mc-scorer-main { display: grid; flex: 1 1 auto; gap: .35rem; min-width: 0; }
.mc-scorer-name { display: flex; align-items: baseline; gap: .5rem; }
.mc-scorer-name b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-scorer-name small { color: var(--sl-muted); font-size: .68rem; font-weight: 800; letter-spacing: .06em; }
.mc-scorer-bar { display: block; height: .45rem; border-radius: 999px; background: var(--theme-tertiary-bg, #e9edf2); overflow: hidden; }
.mc-scorer-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sl-1), var(--sl-accent)); }
.mc-scorer-goals { flex: none; min-width: 1.6rem; text-align: right; font-size: 1.15rem; font-weight: 900; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) { .mc-scorer-bar i { animation: mc-grow .9s cubic-bezier(.2, .7, .2, 1) both; } }

/* Team portal follows the match centre directly, whose own bottom padding already separates them */
#hub.sl-section { padding-top: 1.5rem; }

/* Film room heading stays on one line on wide screens (it wraps normally on phones and tablets) */
@media (min-width: 992px) { #film .sl-h2 { font-size: clamp(1.2rem, 2.2vw, 2.3rem); white-space: nowrap; } }

/* ---- From the sidelines: photo mosaic with captions ---- */
.sl-more { color: var(--sl-1); font-size: .85rem; font-weight: 800; text-decoration: none; }
.sl-more:hover { color: var(--sl-hot-2); }
[data-bs-theme=dark] .sl-more { color: var(--sl-accent); }
.sl-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 11rem; gap: .85rem; }
.sl-mo { position: relative; display: block; overflow: hidden; border-radius: 1rem; background: var(--sl-grad); box-shadow: 0 10px 26px -14px rgba(var(--brand-3-rgb, 21, 27, 58), .55); isolation: isolate; }
.sl-mo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .3s ease; }
.sl-mo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 14, 34, .86) 0%, rgba(10, 14, 34, .15) 48%, transparent 70%); transition: opacity .3s ease; }
.sl-mo:hover img, .sl-mo:focus-visible img { transform: scale(1.08); }
.sl-mo:focus-visible { outline: 3px solid var(--sl-hot); outline-offset: 2px; }
.sl-mo-tag { position: absolute; top: .8rem; left: .8rem; z-index: 2; padding: .2rem .65rem; border-radius: .35rem; background: rgba(255, 255, 255, .92); color: var(--sl-3); font-size: .64rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.sl-mo-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: .15rem; padding: 1rem 1.1rem; color: #fff; transform: translateY(.55rem); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.sl-mo-cap strong { font-size: .98rem; font-weight: 800; line-height: 1.25; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.sl-mo-cap small { color: rgba(255, 255, 255, .78); font-size: .74rem; opacity: 0; transition: opacity .3s ease; }
.sl-mo:hover .sl-mo-cap, .sl-mo:focus-visible .sl-mo-cap { transform: none; }
.sl-mo:hover .sl-mo-cap small, .sl-mo:focus-visible .sl-mo-cap small { opacity: 1; }
.sl-mo-zoom { position: absolute; top: .8rem; right: .8rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--sl-hot); color: #2a1a00; opacity: 0; transform: scale(.7); transition: opacity .25s ease, transform .25s ease; }
.sl-mo:hover .sl-mo-zoom, .sl-mo:focus-visible .sl-mo-zoom { opacity: 1; transform: none; }
.sl-mo:first-child .sl-mo-cap strong { font-size: 1.3rem; font-style: normal; text-transform: uppercase; }
@media (hover: none) { .sl-mo-cap { transform: none; } .sl-mo-cap small { opacity: 1; } }
@media (min-width: 768px) {
  .sl-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 12.5rem; }
  .sl-mo:nth-child(1) { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .sl-mo:nth-child(2) { grid-column: 3; grid-row: 1; }
  .sl-mo:nth-child(3) { grid-column: 4; grid-row: 1 / span 2; }
  .sl-mo:nth-child(4) { grid-column: 3; grid-row: 2; }
  .sl-mo:nth-child(5) { grid-column: 1 / span 2; grid-row: 3; }
  .sl-mo:nth-child(6) { grid-column: 3 / span 2; grid-row: 3; }
}
@media (max-width: 767.98px) { .sl-mo:nth-child(1) { grid-column: 1 / -1; grid-row: span 2; } }
@media (prefers-reduced-motion: reduce) { .sl-mo img, .sl-mo-cap, .sl-mo-zoom { transition: none; } }

/* ---- "For teams & clubs": at-a-glance facts, numbered steps, tidier form card ---- */
.sd-facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.5rem; }
.sd-facts span { display: grid; min-width: 6.2rem; padding: .65rem .95rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: .75rem; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .72); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(6px); }
.sd-facts strong { color: var(--sl-hot); font-size: 1.45rem; font-weight: 900; letter-spacing: -.01em; line-height: 1.1; text-transform: none; }
.sd-steps { position: relative; display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.sd-steps::before { content: ""; position: absolute; top: 1.4rem; bottom: 1.4rem; left: 1.4rem; width: 2px; background: linear-gradient(to bottom, var(--sl-hot), rgba(255, 194, 71, .15)); }
.sd-item { position: relative; border: 1px solid rgba(255, 255, 255, .12); border-radius: .9rem; background: rgba(255, 255, 255, .06); transition: background .2s ease, border-color .2s ease; }
.sd-item:hover { background: rgba(255, 255, 255, .1); }
.sd-item.is-open { border-color: rgba(255, 194, 71, .55); background: rgba(255, 255, 255, .1); }
.sd-step-no { position: relative; z-index: 1; display: inline-flex; flex: none; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem; margin-left: .5rem; border-radius: 50%; background: var(--sl-hot); color: #2a1a00; font-size: .85rem; font-weight: 900; box-shadow: 0 0 0 4px rgba(255, 194, 71, .22); }
.sd-head { display: flex; align-items: center; gap: .95rem; width: 100%; padding: .8rem 1rem .8rem .8rem; border: 0; border-radius: inherit; background: none; color: inherit; text-align: left; cursor: pointer; }
.sd-head:focus-visible { outline: 3px solid var(--sl-hot); outline-offset: 2px; }
.sd-head-text { display: grid; flex: 1 1 auto; min-width: 0; }
.sd-head strong { color: #fff; font-size: 1rem; font-weight: 800; }
.sd-head small { color: rgba(255, 255, 255, .72); font-size: .84rem; }
.sd-head-ico { flex: none; color: rgba(255, 255, 255, .45); font-size: 1.4rem; }
.sd-head-chev { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--sl-hot); font-size: 1.1rem; transition: transform .3s ease, background-color .2s ease, color .2s ease; }
.sd-item.is-open .sd-head-chev { transform: rotate(180deg); background: var(--sl-hot); color: #2a1a00; }
/* the panel slides open: its row grows from nothing to its natural height */
.sd-more { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s ease, visibility 0s linear .35s; }
.sd-item.is-open .sd-more { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s ease; }
.sd-more-clip { min-height: 0; overflow: hidden; }
.sd-more-body { position: relative; z-index: 1; margin: 0 1rem 0 3.9rem; padding: .85rem 0 1.05rem; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .84); font-size: .88rem; line-height: 1.55; }
.sd-more-body p { margin: 0 0 .7rem; }
.sd-more-body ul { display: grid; gap: .5rem; margin: 0 0 .8rem; padding: 0; list-style: none; }
.sd-more-body ul li { display: flex; align-items: flex-start; gap: .6rem; }
.sd-more-body ul .ti { flex: none; margin-top: .12rem; color: var(--sl-hot); font-size: 1.1rem; }
.sd-more-body .sd-more-tip { color: rgba(255, 255, 255, .66); font-size: .82rem; }
.sd-more-go { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border: 0; border-radius: .55rem; background: var(--sl-hot); color: #2a1a00; font-size: .82rem; font-weight: 900; }
.sd-more-go:hover { filter: brightness(1.08); }
.sd-more-go:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 575.98px) { .sd-steps::before { display: none; } .sd-more-body { margin-left: 1rem; } .sd-head { gap: .75rem; padding-right: .75rem; } .sd-head-ico { display: none; } }
.sd-form-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--sl-line); }
.sd-form-head h4 { margin: 0 !important; }
.sd-form-head small { color: var(--sl-muted); font-size: .8rem; }
.sd-form-ico { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border-radius: .8rem; background: var(--sl-grad); color: var(--sl-hot); font-size: 1.4rem; }
#demo .sl-demo-card { padding: clamp(1.4rem, 2.4vw, 2rem); border-radius: 1.1rem; }
#demo .sl-demo-opt span { padding: .8rem 1rem; border-radius: .75rem; }
#demo .sl-demo-opt input:checked + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--sl-1) 18%, transparent); }
@media (prefers-reduced-motion: reduce) { .sd-item, .sd-more, .sd-item.is-open .sd-more, .sd-head-chev { transition: none; } }

/* No italics anywhere on the landing page */
.sl, .sl *:not(.ti) { font-style: normal !important; }

/* Request-a-demo heading stays on one line on wide screens */
@media (min-width: 992px) { #demo .sl-h2 { font-size: clamp(1.2rem, 2.1vw, 2.1rem); white-space: nowrap; } }

/* ---- section backgrounds: each section gets its own sport graphic (drawn with a CSS mask, so it follows light / dark) ---- */
.sl { --bg-ink: var(--sl-1); }
[data-bs-theme=dark] .sl { --bg-ink: var(--sl-accent); }
#matches, #hub, #film, #squad, #highlights, .sl-sponsors { position: relative; isolation: isolate; overflow: hidden; }
#matches > .container, #hub > .container, #film > .container, #squad > .container, #highlights > .container, .sl-sponsors > .container { position: relative; z-index: 1; }
#matches::before, #hub::before, #film::before, #film::after, #squad::before, #highlights::before, .sl-sponsors::before { content: ""; position: absolute; z-index: -1; pointer-events: none; }

/* Match centre: a pitch laid out behind the fixtures, fading toward the edges */
#matches { background: linear-gradient(180deg, color-mix(in srgb, var(--sl-1) 4%, transparent), transparent 40%); }
#matches::before { inset: 3rem -4% 3rem -4%; background: var(--bg-ink); opacity: .07; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 700' fill='none' stroke='black' stroke-width='3'%3E%3Crect%20x%3D%2220%22%20y%3D%2220%22%20width%3D%221160%22%20height%3D%22660%22%2F%3E%3Cpath%20d%3D%22M600%2020V680%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22350%22%20r%3D%2295%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22350%22%20r%3D%226%22%20fill%3D%22black%22%2F%3E%3Crect%20x%3D%2220%22%20y%3D%22190%22%20width%3D%22170%22%20height%3D%22320%22%2F%3E%3Crect%20x%3D%2220%22%20y%3D%22270%22%20width%3D%2260%22%20height%3D%22160%22%2F%3E%3Crect%20x%3D%221010%22%20y%3D%22190%22%20width%3D%22170%22%20height%3D%22320%22%2F%3E%3Crect%20x%3D%221120%22%20y%3D%22270%22%20width%3D%2260%22%20height%3D%22160%22%2F%3E%3Cpath%20d%3D%22M190%20290a95%2095%200%200%201%200%20120M1010%20290a95%2095%200%200%200%200%20120%22%2F%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 700' fill='none' stroke='black' stroke-width='3'%3E%3Crect%20x%3D%2220%22%20y%3D%2220%22%20width%3D%221160%22%20height%3D%22660%22%2F%3E%3Cpath%20d%3D%22M600%2020V680%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22350%22%20r%3D%2295%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22350%22%20r%3D%226%22%20fill%3D%22black%22%2F%3E%3Crect%20x%3D%2220%22%20y%3D%22190%22%20width%3D%22170%22%20height%3D%22320%22%2F%3E%3Crect%20x%3D%2220%22%20y%3D%22270%22%20width%3D%2260%22%20height%3D%22160%22%2F%3E%3Crect%20x%3D%221010%22%20y%3D%22190%22%20width%3D%22170%22%20height%3D%22320%22%2F%3E%3Crect%20x%3D%221120%22%20y%3D%22270%22%20width%3D%2260%22%20height%3D%22160%22%2F%3E%3Cpath%20d%3D%22M190%20290a95%2095%200%200%201%200%20120M1010%20290a95%2095%200%200%200%200%20120%22%2F%3E%3C/svg%3E") center / contain no-repeat; }

/* Team portal: a blueprint dot grid with a soft glow in the corner */
#hub { background: radial-gradient(60rem 28rem at 100% 0%, color-mix(in srgb, var(--sl-accent) 16%, transparent), transparent 70%), radial-gradient(40rem 24rem at 0% 100%, color-mix(in srgb, var(--sl-hot) 9%, transparent), transparent 70%); }
#hub::before { inset: 0; background: radial-gradient(circle, var(--bg-ink) 1.4px, transparent 1.8px) 0 0 / 26px 26px; opacity: .13; -webkit-mask: linear-gradient(160deg, #000, transparent 65%); mask: linear-gradient(160deg, #000, transparent 65%); }

/* Film room: film-strip perforations along the top and bottom edges over a cinema-style glow */
#film { background: radial-gradient(48rem 26rem at 85% 50%, color-mix(in srgb, var(--sl-accent) 20%, transparent), transparent 70%), color-mix(in srgb, var(--sl-1) 6%, var(--bs-body-bg)); }
#film::before, #film::after { left: 0; right: 0; height: 26px; background: var(--bg-ink); opacity: .1; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 26' fill='none' stroke='black' stroke-width='3'%3E%3Crect%20x%3D%228%22%20y%3D%226%22%20width%3D%2222%22%20height%3D%2214%22%20rx%3D%224%22%20fill%3D%22black%22%20stroke%3D%22none%22%2F%3E%3C/svg%3E") left top / 40px 26px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 26' fill='none' stroke='black' stroke-width='3'%3E%3Crect%20x%3D%228%22%20y%3D%226%22%20width%3D%2222%22%20height%3D%2214%22%20rx%3D%224%22%20fill%3D%22black%22%20stroke%3D%22none%22%2F%3E%3C/svg%3E") left top / 40px 26px repeat-x; }
#film::before { top: 14px; } #film::after { bottom: 14px; }

/* Squad: kit stripes, strongest at the top and fading out */
#squad { background: linear-gradient(180deg, color-mix(in srgb, var(--sl-1) 5%, transparent), transparent 55%); }
#squad::before { inset: 0; background: repeating-linear-gradient(115deg, var(--bg-ink) 0 34px, transparent 34px 92px); opacity: .04; -webkit-mask: linear-gradient(180deg, #000, transparent 75%); mask: linear-gradient(180deg, #000, transparent 75%); }

/* Highlights: stadium spotlight from above and running-track lanes rising from the bottom */
#highlights { background: radial-gradient(70rem 24rem at 50% -8%, color-mix(in srgb, var(--sl-hot) 18%, transparent), transparent 70%), color-mix(in srgb, var(--sl-1) 5%, var(--bs-body-bg)); }
#highlights::before { left: 0; right: 0; bottom: 0; height: 70%; background: var(--bg-ink); opacity: .07; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 700' fill='none' stroke='black' stroke-width='3'%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22760%22%20r%3D%22330%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22760%22%20r%3D%22400%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22760%22%20r%3D%22470%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22760%22%20r%3D%22540%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22760%22%20r%3D%22610%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22760%22%20r%3D%22680%22%2F%3E%3C/svg%3E") center bottom / cover no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 700' fill='none' stroke='black' stroke-width='3'%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22760%22%20r%3D%22330%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22760%22%20r%3D%22400%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22760%22%20r%3D%22470%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22760%22%20r%3D%22540%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22760%22%20r%3D%22610%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%22760%22%20r%3D%22680%22%2F%3E%3C/svg%3E") center bottom / cover no-repeat; }

/* Sponsors: a faint ball emblem either side of the logo row */
.sl-sponsors { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--sl-1) 5%, transparent)); }
.sl-sponsors::before { inset: 0; background: var(--bg-ink); opacity: .06; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='black' stroke-width='3'%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22100%22%20r%3D%2286%22%2F%3E%3Cpath%20d%3D%22M100%2014v36M100%20150v36M14%20100h36M150%20100h36%22%2F%3E%3Cpath%20d%3D%22M100%2062l32%2024-12%2038H80L68%2086z%22%2F%3E%3C/svg%3E") left -3rem center / 15rem no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='black' stroke-width='3'%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22100%22%20r%3D%2286%22%2F%3E%3Cpath%20d%3D%22M100%2014v36M100%20150v36M14%20100h36M150%20100h36%22%2F%3E%3Cpath%20d%3D%22M100%2062l32%2024-12%2038H80L68%2086z%22%2F%3E%3C/svg%3E") right -3rem center / 15rem no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='black' stroke-width='3'%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22100%22%20r%3D%2286%22%2F%3E%3Cpath%20d%3D%22M100%2014v36M100%20150v36M14%20100h36M150%20100h36%22%2F%3E%3Cpath%20d%3D%22M100%2062l32%2024-12%2038H80L68%2086z%22%2F%3E%3C/svg%3E") left -3rem center / 15rem no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='black' stroke-width='3'%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22100%22%20r%3D%2286%22%2F%3E%3Cpath%20d%3D%22M100%2014v36M100%20150v36M14%20100h36M150%20100h36%22%2F%3E%3Cpath%20d%3D%22M100%2062l32%2024-12%2038H80L68%2086z%22%2F%3E%3C/svg%3E") right -3rem center / 15rem no-repeat; }

/* Film room clip: poster + play button; plays on click */
.sl-clip { cursor: pointer; }
.sl-clip.is-playing { cursor: default; }
.sl-clip video { background: #0b1226; }
.sl-clip-play { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; border: 0; border-radius: var(--sl-r); background: linear-gradient(to top, rgba(10, 14, 34, .6), rgba(10, 14, 34, .08) 60%); color: #fff; font-weight: 800; letter-spacing: .03em; }
.sl-clip-play .ti { display: inline-flex; align-items: center; justify-content: center; width: 4.4rem; height: 4.4rem; padding-left: .2rem; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--sl-3); font-size: 1.9rem; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); transition: transform .2s ease, background .2s ease; }
.sl-clip-play:hover .ti, .sl-clip-play:focus-visible .ti { transform: scale(1.08); background: var(--sl-hot); color: #2a1a00; }
.sl-clip-play:focus-visible { outline: 3px solid var(--sl-hot); outline-offset: 3px; }
.sl-clip-play span { font-size: .85rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.sl-clip-note { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2; padding: .5rem .8rem; border-radius: .5rem; background: rgba(10, 14, 34, .85); color: #fff; font-size: .85rem; text-align: center; }

.sl-clip iframe { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 5 / 4; border: 0; border-radius: var(--sl-r); background: #000; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .45); }

.sl-hl-player { background: #000; }
.sl-hl-player iframe { border: 0; }

/* Request form: the send button matches the "Open the video library" button (navy gradient, arrow), in the right half of the row */
#demo .sl-form button[type=submit].sl-send { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .75rem 1.4rem; border: 0; border-radius: .6rem; background: var(--sl-grad); color: #fff; font-weight: 800; letter-spacing: .01em; box-shadow: 0 8px 20px rgba(var(--brand-3-rgb, 21, 27, 58), .3); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
#demo .sl-form button[type=submit].sl-send:hover, #demo .sl-form button[type=submit].sl-send:focus-visible { color: #fff; filter: brightness(1.15); transform: translateY(-1px); }
#demo .sl-form button[type=submit].sl-send .ti { transition: transform .15s ease; }
#demo .sl-form button[type=submit].sl-send:hover .ti { transform: translateX(3px); }

/* Sport field: suggestions appear only while typing, so hide the browser's "show all" arrow */
.sl-sport-input::-webkit-calendar-picker-indicator { display: none !important; opacity: 0; }

/* Browser-drawn popups (the sport suggestions, the select menus) follow the page theme, not the system theme */
[data-bs-theme=light] .sl-demo-card, [data-bs-theme=light] .sl-form { color-scheme: light; }
[data-bs-theme=dark] .sl-demo-card, [data-bs-theme=dark] .sl-form { color-scheme: dark; }
.sl-sport-input { color-scheme: inherit; }

/* Sport suggestions (custom, shown only while typing) */
.sl-suggest-wrap { position: relative; }
.sl-suggest { position: absolute; left: .75rem; right: .75rem; top: calc(100% - .1rem); z-index: 20; margin: 0; padding: .3rem; list-style: none; border: 1px solid var(--sl-line); border-radius: .6rem; background: var(--sl-card); color: var(--theme-body-color, #212529); box-shadow: 0 14px 30px rgba(10, 14, 34, .25); }
.sl-suggest[hidden] { display: none; }
.sl-suggest li { padding: .45rem .65rem; border-radius: .4rem; font-size: .92rem; font-weight: 600; cursor: pointer; }
.sl-suggest li mark { padding: 0; background: none; color: var(--sl-1); font-weight: 900; }
[data-bs-theme=dark] .sl-suggest li mark { color: var(--sl-hot); }
.sl-suggest li:hover, .sl-suggest li.is-active { background: color-mix(in srgb, var(--sl-1) 12%, transparent); }

/* ---- "From the sidelines" photo viewer: blurred-photo backdrop, framed picture, glass controls and a thumbnail strip ---- */
.sl-lb { background: #070b1c; }
.sl-lb::before { content: ""; position: absolute; inset: -6rem; z-index: 0; background: var(--lb-img) center / cover no-repeat; filter: blur(46px) saturate(1.35) brightness(.55); transform: scale(1.1); transition: background-image .35s ease; }
.sl-lb::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(90% 70% at 50% 40%, transparent, rgba(7, 11, 28, .72)), linear-gradient(to bottom, rgba(7, 11, 28, .55), transparent 28%, transparent 62%, rgba(7, 11, 28, .85)); pointer-events: none; }
.sl-lb > :not(.st-lightbox-nav) { position: relative; z-index: 1; }
.sl-lb > .st-lightbox-nav { z-index: 2; }
.sl-lb.is-open { animation: sl-lb-in .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes sl-lb-in { from { opacity: 0; } }
.sl-lb .st-lightbox-top { padding: 1rem 1.25rem; }
.sl-lb .st-lightbox-count { padding: .35rem .85rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .06em; }
.sl-lb .st-lightbox-btn, .sl-lb .st-lightbox-nav { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.sl-lb .st-lightbox-btn:hover, .sl-lb .st-lightbox-nav:hover:not(:disabled) { background: var(--sl-hot); border-color: var(--sl-hot); color: #2a1a00; transform: scale(1.08); }
.sl-lb .st-lightbox-btn:focus-visible, .sl-lb .st-lightbox-nav:focus-visible { outline-color: var(--sl-hot); }
.sl-lb .st-lightbox-nav { width: 3.4rem; height: 3.4rem; }
.sl-lb .st-lightbox-stage img { max-height: calc(100vh - 19rem); border: 1px solid rgba(255, 255, 255, .22); border-radius: 1.1rem; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 8px rgba(255, 255, 255, .06); transform: scale(.97); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1); }
.sl-lb .st-lightbox-stage img.is-loaded { transform: none; }
.sl-lb-info { display: grid; gap: .85rem; justify-items: center; padding: .5rem 1.25rem 1.25rem; }
.sl-lb-card { display: grid; justify-items: center; gap: .3rem; max-width: 38rem; padding: .8rem 1.5rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 1rem; background: rgba(255, 255, 255, .1); backdrop-filter: blur(14px); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); }
.sl-lb-card .st-lightbox-caption { margin: 0; font-size: 1.2rem; font-weight: 800; }
.sl-lb-card small { color: rgba(255, 255, 255, .72); }
.sl-lb-tag { padding: .15rem .65rem; border-radius: .35rem; background: var(--sl-hot); color: #2a1a00; font-size: .64rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.sl-lb-tag:empty { display: none; }
.sl-lb-thumbs { display: flex; gap: .5rem; max-width: 100%; padding: .2rem; overflow-x: auto; scrollbar-width: none; }
.sl-lb-thumbs::-webkit-scrollbar { display: none; }
.sl-lb-thumbs button { flex: none; width: 4.2rem; height: 3rem; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: .6rem; background: rgba(255, 255, 255, .1); opacity: .55; transition: opacity .2s ease, transform .2s ease, border-color .2s ease; }
.sl-lb-thumbs button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sl-lb-thumbs button:hover { opacity: .9; }
.sl-lb-thumbs button.is-on { border-color: var(--sl-hot); opacity: 1; transform: translateY(-2px); }
.sl-lb-thumbs button:focus-visible { outline: 2px solid var(--sl-hot); outline-offset: 2px; }
@media (max-width: 575.98px) { .sl-lb .st-lightbox-stage img { max-height: calc(100vh - 17rem); } .sl-lb-thumbs button { width: 3.4rem; height: 2.5rem; } }
@media (prefers-reduced-motion: reduce) { .sl-lb.is-open { animation: none; } .sl-lb .st-lightbox-stage img { transition: opacity .1s; transform: none; } }

/* ---- small and medium screens, dark theme: the hamburger menu is a card that drops over the page ---- */
.sl-nav-ico { display: none; }
@media (max-width: 991.98px) {
    /* the bar stays put while its menu is open */
    #landing-navbar.sl-nav:has(.navbar-collapse.show) { transform: none; }

    /* button: easy to see, and turns into a close mark */
    [data-bs-theme=dark] .sl-nav .navbar-toggler { position: relative; width: 2.9rem; height: 2.75rem; padding: 0; filter: none; border: 1px solid rgba(255, 194, 71, .5); border-radius: .7rem; background: rgba(255, 194, 71, .1); color: var(--sl-hot); box-shadow: none; }
    [data-bs-theme=dark] .sl-nav .navbar-toggler:focus-visible { box-shadow: 0 0 0 3px rgba(255, 194, 71, .45); }
    [data-bs-theme=dark] .sl-nav .navbar-toggler[aria-expanded=true] { border-color: var(--sl-hot); background: var(--sl-hot); color: #2a1a00; }
    [data-bs-theme=dark] .sl-nav .navbar-toggler-icon { position: absolute; top: 50%; left: 50%; width: 1.35rem; height: 2px; margin: -1px 0 0 -.675rem; border-radius: 2px; background: currentColor; transition: background-color .15s ease; }
    [data-bs-theme=dark] .sl-nav .navbar-toggler-icon::before, [data-bs-theme=dark] .sl-nav .navbar-toggler-icon::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease; }
    [data-bs-theme=dark] .sl-nav .navbar-toggler-icon::before { transform: translateY(-.42rem); }
    [data-bs-theme=dark] .sl-nav .navbar-toggler-icon::after { transform: translateY(.42rem); }
    [data-bs-theme=dark] .sl-nav .navbar-toggler[aria-expanded=true] .navbar-toggler-icon { background: transparent; }
    [data-bs-theme=dark] .sl-nav .navbar-toggler[aria-expanded=true] .navbar-toggler-icon::before { background: #2a1a00; transform: rotate(45deg); }
    [data-bs-theme=dark] .sl-nav .navbar-toggler[aria-expanded=true] .navbar-toggler-icon::after { background: #2a1a00; transform: rotate(-45deg); }

    /* panel */
    [data-bs-theme=dark] .sl-nav .navbar-collapse { position: absolute; top: calc(100% + .35rem); right: .75rem; left: .75rem; z-index: 5; margin: 0; padding: 0 .6rem; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-top: 3px solid var(--sl-hot); border-radius: 1rem; background: #121a33; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .65), 0 .25rem .75rem rgba(0, 0, 0, .4); }
    [data-bs-theme=dark] .sl-nav .navbar-collapse.show { max-height: calc(100vh - 8rem); max-height: calc(100dvh - 8rem); overflow-y: auto; overscroll-behavior: contain; }
    [data-bs-theme=dark] .sl-nav .navbar-nav { gap: .3rem !important; width: 100%; margin: 0 !important; padding: .6rem 0; }
    [data-bs-theme=dark] .sl-nav .navbar-nav .nav-link { display: flex; align-items: center; gap: .75rem; min-height: 3rem; padding: .45rem .6rem !important; border: 1px solid transparent; border-radius: .7rem; color: #e6ebf8; font-size: .9rem; }
    [data-bs-theme=dark] .sl-nav .navbar-nav .nav-link::after { content: "\203A"; position: static; width: auto; height: auto; margin-left: auto; border-radius: 0; background: none; color: rgba(255, 255, 255, .4); font-size: 1.35rem; line-height: 1; transform: none; }
    [data-bs-theme=dark] .sl-nav .sl-nav-ico { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: .55rem; background: rgba(255, 255, 255, .07); color: #9fc2f0; font-size: 1.15rem; }
    [data-bs-theme=dark] .sl-nav .navbar-nav .nav-link:hover, [data-bs-theme=dark] .sl-nav .navbar-nav .nav-link:focus-visible { background: rgba(255, 255, 255, .07); }
    [data-bs-theme=dark] .sl-nav .navbar-nav .nav-link.active { border-color: rgba(255, 194, 71, .45); background: rgba(255, 194, 71, .12); color: #fff; }
    [data-bs-theme=dark] .sl-nav .navbar-nav .nav-link.active .sl-nav-ico { background: var(--sl-hot); color: #2a1a00; }
    [data-bs-theme=dark] .sl-nav .navbar-nav .nav-link.active::after { color: var(--sl-hot); }

    /* theme switch and account */
    [data-bs-theme=dark] .sl-nav .sl-nav-tools { flex-wrap: wrap; justify-content: space-between; width: 100%; margin: 0 !important; padding: .75rem .25rem; border-top: 1px solid rgba(255, 255, 255, .12); }
    [data-bs-theme=dark] .sl-nav .sl-nav-tools > .dropdown { flex: 1 1 100%; order: -1; }
    [data-bs-theme=dark] .sl-nav .sl-user { padding: .55rem .65rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: .75rem; background: rgba(255, 255, 255, .05); }
    [data-bs-theme=dark] .sl-nav .sl-user > .d-none { display: block !important; min-width: 0; overflow: hidden; }
    [data-bs-theme=dark] .sl-nav .sl-user > .ti { margin-left: auto; transition: transform .2s ease; }
    [data-bs-theme=dark] .sl-nav .sl-user.show > .ti { transform: rotate(180deg); }
    [data-bs-theme=dark] .sl-nav .sl-nav-tools .dropdown-menu { position: static !important; inset: auto !important; width: 100%; margin: .35rem 0 0 !important; transform: none !important; border-color: rgba(255, 255, 255, .12); border-radius: .75rem; background: #1a2342; box-shadow: none; }
    [data-bs-theme=dark] .sl-nav .sl-nav-tools .dropdown-item { padding-top: .65rem; padding-bottom: .65rem; }
    [data-bs-theme=dark] .sl-nav .sl-nav-tools > .sl-theme { order: 0; margin-right: auto; }
    [data-bs-theme=dark] .sl-nav .sl-nav-tools > .btn { flex: 1 1 40%; order: -1; padding-top: .65rem; padding-bottom: .65rem; }
    [data-bs-theme=dark] .sl-nav .sl-nav-tools > .sl-theme::after { content: "Dark mode"; align-self: center; margin-left: .65rem; color: rgba(255, 255, 255, .75); font-size: .85rem; font-weight: 700; }
}
/* tablets: the links sit two to a row */
@media (min-width: 576px) and (max-width: 991.98px) {
    [data-bs-theme=dark] .sl-nav .navbar-collapse { left: auto; width: 32rem; }
    [data-bs-theme=dark] .sl-nav .navbar-nav { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Go to Team Portal (signed in) stands out from the section links; the bar's labels never wrap. */
.sl-nav .navbar-nav .nav-link { white-space: nowrap; }
.sl-nav .navbar-nav .nav-link.sl-nav-portal { color: var(--sl-hot) !important; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .sl-nav .navbar-nav .nav-link { padding: .45rem .5rem !important; font-size: .78rem; letter-spacing: 0; }
    .sl-nav .navbar-nav .nav-link::after { left: .5rem; right: .5rem; }
    .sl-nav .sl-user > .d-none { display: none !important; }
}
/* Small screens: the account menu opens rightwards from the initials, which sit near the left edge. */
@media (max-width: 991.98px) {
    #landing-navbar .sl-nav-tools .dropdown-menu[data-bs-popper] { right: auto; left: 0; max-width: calc(100vw - 2rem); }
}
