/* ===== FE942 SOURCE: kisure-v757-team-colors-footer-socials.css ===== */
/* Kisure Sports FE852 — resolved Match Centre team palette + footer social hardening.
 * Match Centre uses --ks-home-team-color / --ks-away-team-color as the single
 * display-palette authority. Those variables already enforce home-primary priority
 * and away distinctness in match.blade.php. This CSS must not fall back to raw
 * accent colours or depend on a historical saved-logo-colors version marker. */

/* -------------------------------------------------------------------------
   MATCH CENTRE TEAM IDENTITY
   The --ks-*-team-color variables are populated from Data Engine's stored
   logo-extracted colors. Solid identity strokes use the exact primary value;
   only background washes use color-mix.
   ------------------------------------------------------------------------- */
.football-page--team-themed .article-match-scoreboard {
    box-shadow:
        inset 4px 0 0 var(--ks-home-team-color),
        inset -4px 0 0 var(--ks-away-team-color) !important;
}

.football-page--team-themed .article-match-scoreboard__team--home:hover,
.football-page--team-themed .article-match-scoreboard__crest--home:hover,
.football-page--team-themed .article-match-scoreboard__support-col--home a:hover {
    color: var(--ks-home-team-color) !important;
}
.football-page--team-themed .article-match-scoreboard__team--away:hover,
.football-page--team-themed .article-match-scoreboard__crest--away:hover,
.football-page--team-themed .article-match-scoreboard__support-col--away a:hover {
    color: var(--ks-away-team-color) !important;
}

.football-page--team-themed .article-match-scoreboard__crest--home img {
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--ks-home-team-color) 30%, transparent)) !important;
}
.football-page--team-themed .article-match-scoreboard__crest--away img {
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--ks-away-team-color) 30%, transparent)) !important;
}

/* Momentum home is always above the baseline, away always below it. */
.football-page--team-themed .football-momentum-legend .is-home i,
.football-page--team-themed .football-match-stats-legend .is-home > i,
.football-page--team-themed .football-match-stat-bar i {
    background: var(--ks-home-team-color) !important;
}
.football-page--team-themed .football-momentum-legend .is-away i,
.football-page--team-themed .football-match-stats-legend .is-away > i,
.football-page--team-themed .football-match-stat-bar b {
    background: var(--ks-away-team-color) !important;
}
.football-page--team-themed .football-momentum-liquid__area.is-home {
    stroke: var(--ks-home-team-color) !important;
}
.football-page--team-themed .football-momentum-liquid__area.is-away {
    stroke: var(--ks-away-team-color) !important;
}
.football-page--team-themed [id^="kisureMomentumHome"] stop {
    stop-color: var(--ks-home-team-color) !important;
}
.football-page--team-themed [id^="kisureMomentumAway"] stop {
    stop-color: var(--ks-away-team-color) !important;
}
.football-page--team-themed .football-momentum-liquid {
    background: color-mix(in srgb, var(--ks-home-team-color) 10%, var(--surface, #fff)) !important;
}
.football-page--team-themed .football-match-stat-row__value--home {
    color: color-mix(in srgb, var(--ks-home-team-color) 72%, #111827) !important;
}
.football-page--team-themed .football-match-stat-row__value--away {
    color: color-mix(in srgb, var(--ks-away-team-color) 72%, #111827) !important;
}
.football-page--team-themed .football-commentary-card.is-home-team {
    border-inline-start-color: var(--ks-home-team-color) !important;
    background: color-mix(in srgb, var(--ks-home-team-color) 9%, var(--surface, #fff)) !important;
}
.football-page--team-themed .football-commentary-card.is-away-team {
    border-inline-start-color: var(--ks-away-team-color) !important;
    background: color-mix(in srgb, var(--ks-away-team-color) 9%, var(--surface, #fff)) !important;
}
.football-page--team-themed .football-commentary-card.is-home-team .football-commentary-person strong,
.football-page--team-themed .football-commentary-card.is-home-team .football-commentary-card__score {
    color: color-mix(in srgb, var(--ks-home-team-color) 72%, #111827) !important;
}
.football-page--team-themed .football-commentary-card.is-away-team .football-commentary-person strong,
.football-page--team-themed .football-commentary-card.is-away-team .football-commentary-card__score {
    color: color-mix(in srgb, var(--ks-away-team-color) 72%, #111827) !important;
}

/* Give major Match Centre sections the same exact two-club edge identity. */
.football-page--team-themed .football-section--commentary,
.football-page--team-themed .football-section--momentum,
.football-page--team-themed .football-section--match-stats-inline,
.football-page--team-themed .football-section--match-lineups {
    box-shadow:
        inset 3px 0 0 var(--ks-home-team-color),
        inset -3px 0 0 var(--ks-away-team-color);
}


/* FE852: lineups and history use the same resolved pair as Momentum. The pitch
   stays football-green; identity chrome (cards, side badges and edges) carries
   the two club colours so HOME/AWAY cannot collapse to the same generic teal. */
.football-page--team-themed #lineups .football-lineup-card--home {
    border-color: color-mix(in srgb, var(--ks-home-team-color) 40%, var(--border, #d9e2ea)) !important;
    box-shadow: inset 3px 0 0 var(--ks-home-team-color) !important;
}
.football-page--team-themed #lineups .football-lineup-card--away {
    border-color: color-mix(in srgb, var(--ks-away-team-color) 40%, var(--border, #d9e2ea)) !important;
    box-shadow: inset -3px 0 0 var(--ks-away-team-color) !important;
}
.football-page--team-themed #lineups .football-lineup-side--home {
    border-color: color-mix(in srgb, var(--ks-home-team-color) 48%, transparent) !important;
    background: color-mix(in srgb, var(--ks-home-team-color) 12%, var(--surface, #fff)) !important;
    color: color-mix(in srgb, var(--ks-home-team-color) 76%, #111827) !important;
}
.football-page--team-themed #lineups .football-lineup-side--away {
    border-color: color-mix(in srgb, var(--ks-away-team-color) 48%, transparent) !important;
    background: color-mix(in srgb, var(--ks-away-team-color) 12%, var(--surface, #fff)) !important;
    color: color-mix(in srgb, var(--ks-away-team-color) 76%, #111827) !important;
}
.football-page--team-themed #lineups .football-lineup-card--home .football-lineup-card__crest {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--ks-home-team-color) 34%, transparent) !important;
}
.football-page--team-themed #lineups .football-lineup-card--away .football-lineup-card__crest {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--ks-away-team-color) 34%, transparent) !important;
}
.football-page--team-themed .football-match-history-team-v618.is-home {
    box-shadow: inset 3px 0 0 var(--ks-home-team-color) !important;
}
.football-page--team-themed .football-match-history-team-v618.is-away {
    box-shadow: inset -3px 0 0 var(--ks-away-team-color) !important;
}
html[data-theme="dark"] .football-page--team-themed .football-commentary-card.is-home-team,
body.dark-mode .football-page--team-themed .football-commentary-card.is-home-team {
    background: color-mix(in srgb, var(--ks-home-team-color) 17%, #0b1528) !important;
}
html[data-theme="dark"] .football-page--team-themed .football-commentary-card.is-away-team,
body.dark-mode .football-page--team-themed .football-commentary-card.is-away-team {
    background: color-mix(in srgb, var(--ks-away-team-color) 17%, #0b1528) !important;
}


html[data-theme="dark"] .football-page--team-themed #lineups .football-lineup-side--home,
body.dark-mode .football-page--team-themed #lineups .football-lineup-side--home {
    background: color-mix(in srgb, var(--ks-home-team-color) 20%, #1c1c1c) !important;
    border-color: color-mix(in srgb, var(--ks-home-team-color) 48%, #303030) !important;
    color: color-mix(in srgb, var(--ks-home-team-color) 58%, white) !important;
}
html[data-theme="dark"] .football-page--team-themed #lineups .football-lineup-side--away,
body.dark-mode .football-page--team-themed #lineups .football-lineup-side--away {
    background: color-mix(in srgb, var(--ks-away-team-color) 20%, #1c1c1c) !important;
    border-color: color-mix(in srgb, var(--ks-away-team-color) 48%, #303030) !important;
    color: color-mix(in srgb, var(--ks-away-team-color) 58%, white) !important;
}
/* -------------------------------------------------------------------------
   FOOTER SOCIALS
   Explicit sizing/currentColor rules protect the inline SVGs from global icon,
   Bootstrap and mobile overrides. They remain visible and tappable at all sizes.
   ------------------------------------------------------------------------- */
.footer-socials {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: .55rem !important;
    min-width: 0;
}
.footer-socials .footer-socials__link {
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 2.75rem !important;
    width: 2.75rem !important;
    min-width: 2.75rem !important;
    height: 2.75rem !important;
    min-height: 2.75rem !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 1px solid var(--border) !important;
    border-radius: 999px !important;
    background: var(--surface) !important;
    color: var(--text, #122033) !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.footer-socials .footer-socials__link:hover,
.footer-socials .footer-socials__link:focus-visible {
    background: color-mix(in srgb, var(--primary-strong, #0e8f8b) 10%, var(--surface, #fff)) !important;
    border-color: color-mix(in srgb, var(--primary-strong, #0e8f8b) 35%, var(--border)) !important;
    color: var(--primary-strong, #0e8f8b) !important;
}
.footer-socials .footer-socials__glyph {
    display: block !important;
    flex: none !important;
    width: 1.35rem !important;
    min-width: 1.35rem !important;
    max-width: 1.35rem !important;
    height: 1.35rem !important;
    min-height: 1.35rem !important;
    max-height: 1.35rem !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.footer-socials .footer-socials__glyph path[fill="currentColor"],
.footer-socials .footer-socials__glyph circle[fill="currentColor"] {
    fill: currentColor !important;
}
.footer-socials .footer-socials__glyph path[stroke="currentColor"],
.footer-socials .footer-socials__glyph rect[stroke="currentColor"],
.footer-socials .footer-socials__glyph circle[stroke="currentColor"] {
    stroke: currentColor !important;
}
html[data-theme="dark"] .footer-socials .footer-socials__link,
body.dark-mode .footer-socials .footer-socials__link {
    color: #e8f0fb !important;
}

@media (max-width: 640px) {
    .footer-panel__brand .footer-socials {
        width: 100% !important;
        gap: .5rem !important;
    }
    .footer-socials .footer-socials__link {
        flex-basis: 2.65rem !important;
        width: 2.65rem !important;
        min-width: 2.65rem !important;
        height: 2.65rem !important;
        min-height: 2.65rem !important;
    }
    .footer-socials .footer-socials__glyph {
        width: 1.28rem !important;
        min-width: 1.28rem !important;
        max-width: 1.28rem !important;
        height: 1.28rem !important;
        min-height: 1.28rem !important;
        max-height: 1.28rem !important;
    }
}

/* ===== FE942 SOURCE: kisure-v865-design-system.css ===== */
/* ===== 01-tokens.css ===== */
/* KISURE FE865 — DESIGN TOKENS
   Solid surfaces only. */
:root {
  --ks865-primary:#0B9CA0;
  --ks865-primary-dark:#087C78;
  --ks865-primary-hover:#07878B;
  --ks865-primary-soft:#E8F7F7;
  --ks865-danger:#D94B56;
  --ks865-warning:#C98918;
  --ks865-success:#27955A;
  --ks865-live:#E23B48;
  --ks865-radius-xs:6px;
  --ks865-radius-sm:10px;
  --ks865-radius-md:14px;
  --ks865-radius-lg:18px;
  --ks865-radius-xl:24px;
  --ks865-space-1:4px;
  --ks865-space-2:8px;
  --ks865-space-3:12px;
  --ks865-space-4:16px;
  --ks865-space-5:20px;
  --ks865-space-6:24px;
  --ks865-space-7:32px;
  --ks865-space-8:40px;
  --ks865-space-9:48px;
  --ks865-content:1360px;
  --ks865-sidebar:340px;
  --ks865-header:72px;
  --ks865-font-body:'Manrope',ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --ks865-font-display:'Space Grotesk','Manrope',ui-sans-serif,system-ui,sans-serif;
  --ks865-transition:160ms ease;
}

html[data-kisure-design="865"][data-theme="light"] {
  --ks865-bg:#F3F8F8;
  --ks865-bg-alt:#EDF5F5;
  --ks865-surface:#FFFFFF;
  --ks865-surface-raised:#F8FCFC;
  --ks865-surface-strong:#EFF7F7;
  --ks865-border:#D7E4E4;
  --ks865-border-strong:#C4D6D6;
  --ks865-text:#172324;
  --ks865-text-soft:#46595A;
  --ks865-muted:#6F8182;
  --ks865-heading:#0F191A;
  --ks865-shadow:0 8px 24px rgba(16,42,43,.07);
  --ks865-shadow-soft:0 3px 12px rgba(16,42,43,.05);
}

html[data-kisure-design="865"][data-theme="dark"] {
  --ks865-bg:#151718;
  --ks865-bg-alt:#181B1C;
  --ks865-surface:#1C1F20;
  --ks865-surface-raised:#242829;
  --ks865-surface-strong:#292E2F;
  --ks865-border:#303637;
  --ks865-border-strong:#3B4445;
  --ks865-text:#F2F6F6;
  --ks865-text-soft:#C3CECE;
  --ks865-muted:#98A6A7;
  --ks865-heading:#FFFFFF;
  --ks865-shadow:none;
  --ks865-shadow-soft:none;
}

/* ===== 02-base.css ===== */
/* KISURE FE865 — BASE */
html[data-kisure-design="865"] { color-scheme:light dark; background:var(--ks865-bg); }
html[data-kisure-design="865"],
html[data-kisure-design="865"] body { min-width:0; }
html[data-kisure-design="865"] body {
  margin:0;
  font-family:var(--ks865-font-body);
  color:var(--ks865-text);
  background:var(--ks865-bg) !important;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
html[data-kisure-design="865"] body,
html[data-kisure-design="865"] body * { box-sizing:border-box; }
html[data-kisure-design="865"] body * {
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
html[data-kisure-design="865"] body :where(h1,h2,h3,h4,h5,h6) {
  font-family:var(--ks865-font-display);
  color:var(--ks865-heading);
  letter-spacing:-.025em;
}
html[data-kisure-design="865"] body :where(p,li,dd,dt,small,time) { color:inherit; }
html[data-kisure-design="865"] body a { color:inherit; text-decoration-color:color-mix(in srgb,var(--ks865-primary) 55%,transparent); text-underline-offset:.18em; }
html[data-kisure-design="865"] body a:hover { color:var(--ks865-primary-hover); }
html[data-kisure-design="865"] body :where(img,svg,video,canvas) { max-width:100%; }
html[data-kisure-design="865"] body :where(.kisure-brand-logo,.football-team-logo,.football-header-league__logo img,.article-match-scoreboard__crest img,.football-player-hero__photo img,.ks-player-face-img,.football-table-team__crest img,.football-player-transfer-record__crest img,.news-card-match-strip__crest img) {
  background:transparent !important;
  box-shadow:none !important;
  filter:none !important;
}
html[data-kisure-design="865"] body :where(.site-shell,.football-page>.site-shell,.article-shell,.global-search-page>.site-shell) {
  width:min(calc(100% - 32px),var(--ks865-content));
  margin-inline:auto;
}
html[data-kisure-design="865"] body .site-shell--wide { max-width:var(--ks865-content); }
html[data-kisure-design="865"] body .site-kicker {
  color:var(--ks865-primary-dark) !important;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
html[data-kisure-design="865"][data-theme="dark"] body .site-kicker { color:#72D6D8 !important; }
html[data-kisure-design="865"] body :focus-visible {
  outline:2px solid var(--ks865-primary);
  outline-offset:3px;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body ::selection { background:var(--ks865-primary); color:#fff; }

/* ===== 03-shell.css ===== */
/* KISURE FE865 — GLOBAL SHELL */
html[data-kisure-design="865"] body .site-header {
  position:sticky;
  top:0;
  z-index:1100;
  width:100%;
  background:var(--ks865-surface) !important;
  border-bottom:1px solid var(--ks865-border) !important;
}
html[data-kisure-design="865"] body .site-header__inner { width:min(calc(100% - 24px),1440px); }
html[data-kisure-design="865"] body .site-header__bar {
  min-height:var(--ks865-header);
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  padding:10px 0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body .site-header__brand { display:inline-flex; align-items:center; min-width:0; }
html[data-kisure-design="865"] body .site-header__brand img { width:auto; height:44px; max-width:164px; object-fit:contain; }
html[data-kisure-design="865"] body .site-header__nav { display:flex; align-items:center; justify-content:center; gap:4px; min-width:0; }
html[data-kisure-design="865"] body .header-menu-item { position:relative; }
html[data-kisure-design="865"] body .header-menu-item__link {
  display:flex;
  align-items:center;
  gap:7px;
  min-height:42px;
  padding:0 13px;
  border-radius:var(--ks865-radius-sm);
  color:var(--ks865-text-soft) !important;
  font-size:.88rem;
  font-weight:750;
  text-decoration:none;
  transition:background var(--ks865-transition),color var(--ks865-transition);
}
html[data-kisure-design="865"] body .header-menu-item__link:is(:hover,.is-active) {
  color:var(--ks865-heading) !important;
  background:var(--ks865-surface-raised) !important;
}
html[data-kisure-design="865"] body .header-menu-item__link.is-active { box-shadow:inset 0 -2px 0 var(--ks865-primary); }
html[data-kisure-design="865"] body .header-menu-item__dropdown,
html[data-kisure-design="865"] body .theme-menu__dropdown,
html[data-kisure-design="865"] body .site-mobile-menu__panel {
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  box-shadow:var(--ks865-shadow) !important;
  color:var(--ks865-text) !important;
}
html[data-kisure-design="865"] body .header-menu-item__dropdown { border-radius:var(--ks865-radius-md) !important; padding:8px !important; }
html[data-kisure-design="865"] body .header-menu-item__dropdown a {
  display:block;
  padding:10px 12px;
  border-radius:8px;
  color:var(--ks865-text-soft) !important;
  text-decoration:none;
}
html[data-kisure-design="865"] body .header-menu-item__dropdown a:hover { background:var(--ks865-surface-raised) !important; color:var(--ks865-heading) !important; }
html[data-kisure-design="865"] body .site-header__utility { display:flex; align-items:center; justify-content:flex-end; gap:8px; }
html[data-kisure-design="865"] body :where(.site-icon-button,.theme-menu__trigger) {
  min-width:42px;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-sm) !important;
  background:var(--ks865-surface-raised) !important;
  color:var(--ks865-text) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body :where(.site-icon-button,.theme-menu__trigger):hover { border-color:var(--ks865-primary) !important; color:var(--ks865-primary-hover) !important; }
html[data-kisure-design="865"] body .theme-switcher { background:var(--ks865-surface-raised) !important; border:1px solid var(--ks865-border) !important; box-shadow:none !important; }
html[data-kisure-design="865"] body .theme-switcher__button { color:var(--ks865-text-soft) !important; background:transparent !important; border-color:transparent !important; }
html[data-kisure-design="865"] body .theme-switcher__button:is(.is-active,[aria-pressed="true"],:hover) { color:var(--ks865-heading) !important; background:var(--ks865-surface-strong) !important; }

html[data-kisure-design="865"] body :where(.breaking-news-ticker,.breaking-ticker,.event-countdown,.football-header-leagues) {
  background:var(--ks865-bg-alt) !important;
  border-color:var(--ks865-border) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body .football-header-leagues__surface {
  width:min(calc(100% - 24px),1440px);
  margin-inline:auto;
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:0 0 var(--ks865-radius-md) var(--ks865-radius-md) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body .football-header-league__tab {
  background:transparent !important;
  border:0 !important;
  border-bottom:2px solid transparent !important;
  border-radius:0 !important;
  color:var(--ks865-muted) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body .football-header-league__tab:is(:hover,.is-active,.active) { color:var(--ks865-heading) !important; border-bottom-color:var(--ks865-primary) !important; }

html[data-kisure-design="865"] body .search-modal { background:rgba(11,18,19,.72) !important; }
html[data-kisure-design="865"] body .search-modal__card,
html[data-kisure-design="865"] body .notification-subscribe-modal__card {
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-lg) !important;
  box-shadow:var(--ks865-shadow) !important;
  color:var(--ks865-text) !important;
}
html[data-kisure-design="865"] body .footer-shell,
html[data-kisure-design="865"] body :where(.footer-panel,.footer-bottom,.footer-status) {
  background:var(--ks865-surface) !important;
  border-color:var(--ks865-border) !important;
  color:var(--ks865-text) !important;
  box-shadow:none !important;
}

/* ===== 04-components.css ===== */
/* KISURE FE865 — SHARED COMPONENTS */
html[data-kisure-design="865"] body :where(.surface-card,.site-panel,.football-section,.football-side-panel,.newsletter-card,.ad-slot,.empty-state,.global-search-card,.football-data-card,.football-prematch-card,.football-league-brief,.football-bracket-panel,.football-transfer-section) {
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-md) !important;
  box-shadow:var(--ks865-shadow-soft) !important;
  color:var(--ks865-text) !important;
}
html[data-kisure-design="865"][data-theme="dark"] body :where(.surface-card,.site-panel,.football-section,.football-side-panel,.newsletter-card,.ad-slot,.empty-state,.global-search-card,.football-data-card,.football-prematch-card,.football-league-brief,.football-bracket-panel,.football-transfer-section) { box-shadow:none !important; }

html[data-kisure-design="865"] body .section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
html[data-kisure-design="865"] body .section-heading :where(h2,h3) { margin:0; font-size:clamp(1.12rem,1.8vw,1.45rem); }
html[data-kisure-design="865"] body .section-heading p { color:var(--ks865-muted) !important; }

html[data-kisure-design="865"] body :where(.site-button,.football-panel-link,.football-schedule-load-more,.ks-transfer-filter-submit,.ks-transfer-show-more) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 16px;
  border:1px solid var(--ks865-primary) !important;
  border-radius:var(--ks865-radius-sm) !important;
  background:var(--ks865-primary) !important;
  color:#fff !important;
  font-weight:800;
  text-decoration:none !important;
  box-shadow:none !important;
  transition:background var(--ks865-transition),border-color var(--ks865-transition),transform var(--ks865-transition);
}
html[data-kisure-design="865"] body :where(.site-button,.football-panel-link,.football-schedule-load-more,.ks-transfer-filter-submit,.ks-transfer-show-more):hover { background:var(--ks865-primary-hover) !important; border-color:var(--ks865-primary-hover) !important; color:#fff !important; }
html[data-kisure-design="865"] body :where(.site-button--ghost,.football-fixture-hero-actions .site-button--ghost) {
  background:var(--ks865-surface-raised) !important;
  color:var(--ks865-text) !important;
  border-color:var(--ks865-border) !important;
}
html[data-kisure-design="865"] body :where(.site-button--ghost,.football-fixture-hero-actions .site-button--ghost):hover { color:var(--ks865-heading) !important; border-color:var(--ks865-primary) !important; }

html[data-kisure-design="865"] body :where(.chip,.story-badge,.media-type-chip,.football-status,.live-story-pill,.football-prediction-history-row__status) {
  border-radius:999px !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body :where(.story-badge,.chip) { background:var(--ks865-primary-soft) !important; color:var(--ks865-primary-dark) !important; border:1px solid color-mix(in srgb,var(--ks865-primary) 28%,transparent) !important; }
html[data-kisure-design="865"][data-theme="dark"] body :where(.story-badge,.chip) { background:#203536 !important; color:#9DE4E5 !important; border-color:#315455 !important; }

html[data-kisure-design="865"] body :where(.football-section-tabs,.football-tabs,.football-leaderboard-tabs,.football-league-scope-tabs,.ks-transfer-scope-tabs,.global-search-filters) {
  display:flex;
  align-items:center;
  gap:6px;
  padding:5px;
  overflow-x:auto;
  scrollbar-width:none;
  background:var(--ks865-surface-raised) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-md) !important;
}
html[data-kisure-design="865"] body :where(.football-section-tabs,.football-tabs,.football-leaderboard-tabs,.football-league-scope-tabs,.ks-transfer-scope-tabs,.global-search-filters)::-webkit-scrollbar { display:none; }
html[data-kisure-design="865"] body :where(.football-section-tabs,.football-tabs,.football-leaderboard-tabs,.football-league-scope-tabs,.ks-transfer-scope-tabs,.global-search-filters) :where(a,button) {
  flex:0 0 auto;
  min-height:38px;
  border:0 !important;
  border-radius:9px !important;
  background:transparent !important;
  color:var(--ks865-muted) !important;
  box-shadow:none !important;
  font-weight:750;
}
html[data-kisure-design="865"] body :where(.football-section-tabs,.football-tabs,.football-leaderboard-tabs,.football-league-scope-tabs,.ks-transfer-scope-tabs,.global-search-filters) :where(a,button):is(.active,.is-active,[aria-selected="true"]) {
  background:var(--ks865-surface) !important;
  color:var(--ks865-heading) !important;
  box-shadow:inset 0 0 0 1px var(--ks865-border) !important;
}
html[data-kisure-design="865"] body .sidebar-muted,
html[data-kisure-design="865"] body .football-muted { color:var(--ks865-muted) !important; }

/* ===== 05-editorial.css ===== */
/* KISURE FE865 — EDITORIAL SURFACES */
html[data-kisure-design="865"] body :where(.page-hero,.article-hero,.global-search-hero) {
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-left:4px solid var(--ks865-primary) !important;
  border-radius:var(--ks865-radius-lg) !important;
  box-shadow:var(--ks865-shadow-soft) !important;
}
html[data-kisure-design="865"] body :where(.page-hero__title,.article-hero__title,.global-search-hero h1) { color:var(--ks865-heading) !important; }
html[data-kisure-design="865"] body :where(.page-hero__summary,.article-hero__dek,.global-search-hero__summary) { color:var(--ks865-text-soft) !important; }
html[data-kisure-design="865"] body .content-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,var(--ks865-sidebar)); gap:28px; align-items:start; }
html[data-kisure-design="865"] body .news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
html[data-kisure-design="865"] body .news-card {
  min-width:0;
  overflow:hidden;
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-md) !important;
  box-shadow:var(--ks865-shadow-soft) !important;
  transition:transform var(--ks865-transition),border-color var(--ks865-transition);
}
html[data-kisure-design="865"] body .news-card:hover { transform:translateY(-2px); border-color:var(--ks865-border-strong) !important; }
html[data-kisure-design="865"] body .news-card__media { overflow:hidden; background:var(--ks865-bg-alt) !important; }
html[data-kisure-design="865"] body .news-card__media img { width:100%; height:100%; object-fit:cover; transition:transform 220ms ease; }
html[data-kisure-design="865"] body .news-card:hover .news-card__media img { transform:scale(1.025); }
html[data-kisure-design="865"] body .news-card__body { padding:16px !important; }
html[data-kisure-design="865"] body .news-card__title { color:var(--ks865-heading) !important; font-family:var(--ks865-font-display); line-height:1.18; }
html[data-kisure-design="865"] body .news-card__footer,
html[data-kisure-design="865"] body .story-meta { color:var(--ks865-muted) !important; }

html[data-kisure-design="865"] body .article-shell--premium { background:transparent !important; }
html[data-kisure-design="865"] body .article-prose { color:var(--ks865-text) !important; font-size:1.04rem; line-height:1.78; }
html[data-kisure-design="865"] body .article-prose :where(h2,h3,h4) { margin-top:1.8em; }
html[data-kisure-design="865"] body .article-prose a { color:var(--ks865-primary-dark) !important; font-weight:700; }
html[data-kisure-design="865"][data-theme="dark"] body .article-prose a { color:#7ADBDD !important; }
html[data-kisure-design="865"] body :where(.article-nav-card,.article-match-summary-block,.article-transfer-summary,.sidebar-stack .site-panel) {
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-md) !important;
  box-shadow:none !important;
}

html[data-kisure-design="865"] body .global-search-grid { gap:14px; }
html[data-kisure-design="865"] body .global-search-card { transition:border-color var(--ks865-transition),transform var(--ks865-transition); }
html[data-kisure-design="865"] body .global-search-card:hover { transform:translateY(-1px); border-color:var(--ks865-primary) !important; }
html[data-kisure-design="865"] body .global-search-card__type { color:var(--ks865-primary-dark) !important; font-weight:800; }

/* ===== 06-football.css ===== */
/* KISURE FE865 — FOOTBALL HUBS */
html[data-kisure-design="865"] body .football-page { color:var(--ks865-text); }
html[data-kisure-design="865"] body :where(.football-fotmob__masthead,.football-compact-hero,.football-club-hero,.football-player-hero,.football-prediction-hero,.ks-transfer-centre-hero) {
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-top:3px solid var(--ks865-primary) !important;
  border-radius:var(--ks865-radius-lg) !important;
  box-shadow:var(--ks865-shadow-soft) !important;
  color:var(--ks865-text) !important;
}
html[data-kisure-design="865"] body :where(.football-fotmob__title,.football-standings-hero__title,.football-player-hero__content h1,.football-club-hero__content h1) { color:var(--ks865-heading) !important; }
html[data-kisure-design="865"] body .football-fotmob__layout,
html[data-kisure-design="865"] body :where(.football-layout--wide-main,.football-layout--club-overview,.football-layout--player-profile) {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,var(--ks865-sidebar));
  gap:24px;
  align-items:start;
}
html[data-kisure-design="865"] body .football-fotmob__quicknav { display:flex; gap:8px; overflow:auto; scrollbar-width:none; }
html[data-kisure-design="865"] body .football-fotmob__quicknav a {
  flex:0 0 auto;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 14px;
  background:var(--ks865-surface-raised) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-sm) !important;
  color:var(--ks865-text) !important;
  text-decoration:none;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body .football-fotmob__quicknav a:hover { border-color:var(--ks865-primary) !important; }

html[data-kisure-design="865"] body :where(.football-schedule-day,.football-schedule-row,.ks-match,.football-prediction-history-row,.football-brief-list__row) {
  background:var(--ks865-surface) !important;
  border-color:var(--ks865-border) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body :where(.football-schedule-row,.ks-match,.football-prediction-history-row,.football-brief-list__row):hover { background:var(--ks865-surface-raised) !important; }
html[data-kisure-design="865"] body :where(.football-schedule-row__status--live,.football-status--live,.status-live,.live-story-pill.is-live) { color:var(--ks865-live) !important; }

html[data-kisure-design="865"] body .football-competition-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
html[data-kisure-design="865"] body .football-competition-card {
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-md) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body .football-competition-card:hover { border-color:var(--ks865-primary) !important; }

html[data-kisure-design="865"] body :where(.ks-transfer-filters,.ks-transfer-results,.football-prediction-surebets,.football-prediction-day,.football-league-briefs) {
  background:transparent !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body :where(.ks-transfer-table,.football-prediction-history-list,.football-link-list) {
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-md) !important;
  overflow:hidden;
}
html[data-kisure-design="865"] body .ks-transfer-table__row { border-color:var(--ks865-border) !important; }

/* ===== 07-match-centre.css ===== */
/* KISURE FE865 — MATCH CENTRE */
html[data-kisure-design="865"] body .football-match-page-heading { margin-bottom:12px; }
html[data-kisure-design="865"] body .article-match-scoreboard--match-page {
  position:relative;
  overflow:hidden;
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-top:4px solid var(--ks865-primary) !important;
  border-radius:var(--ks865-radius-lg) !important;
  color:var(--ks865-text) !important;
  box-shadow:var(--ks865-shadow-soft) !important;
}
html[data-kisure-design="865"] body .article-match-scoreboard--match-page :where(.article-match-scoreboard__team,.article-match-scoreboard__score,.article-match-scoreboard__details) { color:var(--ks865-heading) !important; }
html[data-kisure-design="865"] body .article-match-scoreboard--match-page :where(.article-match-scoreboard__meta,.article-match-scoreboard__support) { color:var(--ks865-muted) !important; }
html[data-kisure-design="865"] body :where(.article-match-scoreboard__support,.article-match-scoreboard__support-col,.article-match-scoreboard__support-center) {
  background:var(--ks865-surface-raised) !important;
  border-color:var(--ks865-border) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body .football-match-content,
html[data-kisure-design="865"] body .football-match-main,
html[data-kisure-design="865"] body .football-match-sidebar { background:transparent !important; }
html[data-kisure-design="865"] body :where(.ks-match-centre__header,.ks-match-centre__content,.football-commentary-card,.football-momentum-liquid,.football-match-stat-row,.football-prematch-card) {
  background:var(--ks865-surface) !important;
  border-color:var(--ks865-border) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body .football-commentary-card {
  border:1px solid var(--ks865-border) !important;
  border-left:3px solid var(--ks865-border-strong) !important;
  border-radius:var(--ks865-radius-sm) !important;
}
html[data-kisure-design="865"] body .football-commentary-card:is(.goal,.Goal,.is-goal) { border-left-color:var(--ks865-primary) !important; }
html[data-kisure-design="865"] body .football-commentary-card__head time { color:var(--ks865-primary-dark) !important; font-weight:850; }
html[data-kisure-design="865"][data-theme="dark"] body .football-commentary-card__head time { color:#7ADBDD !important; }
html[data-kisure-design="865"] body .football-momentum-liquid__area { background:var(--ks865-bg-alt) !important; border:1px solid var(--ks865-border) !important; border-radius:var(--ks865-radius-md) !important; }
html[data-kisure-design="865"] body .football-match-stat-row { border-bottom:1px solid var(--ks865-border) !important; }
html[data-kisure-design="865"] body :where(.football-prematch-team__crest,.article-match-scoreboard__crest,.football-commentary-team-logo,.football-match-history-h2h-v618__crest) { background:transparent !important; border:0 !important; box-shadow:none !important; }
html[data-kisure-design="865"] body .football-lineup-pitch,
html[data-kisure-design="865"] body :where(.football-lineup-field,.lineup-pitch) { border-color:var(--ks865-border-strong) !important; box-shadow:none !important; }

/* ===== 08-profiles.css ===== */
/* KISURE FE865 — PLAYER / COACH / CLUB / REFEREE / STADIUM */
html[data-kisure-design="865"] body :where(.football-player-hero__media,.football-player-hero__photo,.ks-player-face-frame) { background:transparent !important; border:0 !important; box-shadow:none !important; }
html[data-kisure-design="865"] body .football-player-hero__photo { align-self:end; }
html[data-kisure-design="865"] body :where(.football-player-identity-grid,.football-coach-identity-grid,.football-data-grid) { gap:12px; }
html[data-kisure-design="865"] body .football-data-card { min-width:0; padding:16px !important; }
html[data-kisure-design="865"] body :where(.football-profile-history__row,.football-player-transfer-record,.football-article-list__item,.football-player-transfer-summary-panel) {
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-sm) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body :where(.football-profile-history__row,.football-player-transfer-record,.football-article-list__item):hover { border-color:var(--ks865-primary) !important; transform:none !important; }
html[data-kisure-design="865"] body :where(.football-player-team-link,.football-player-transfer-summary-link,.football-data-card--linked) { color:inherit !important; text-decoration:none !important; }
html[data-kisure-design="865"] body .football-honour-group {
  background:var(--ks865-surface-raised) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-sm) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body .football-club-context-section { background:var(--ks865-surface-raised) !important; border-color:var(--ks865-border) !important; }

/* ===== 09-tables.css ===== */
/* KISURE FE865 — TABLES / STANDINGS / LEADERBOARDS */
html[data-kisure-design="865"] body :where(.football-table-wrap,.football-standings-mobile,.ks-transfer-table) {
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-md) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body .football-table {
  width:100%;
  background:transparent !important;
  color:var(--ks865-text) !important;
  border-collapse:separate;
  border-spacing:0;
}
html[data-kisure-design="865"] body .football-table :where(th,td) { border-color:var(--ks865-border) !important; }
html[data-kisure-design="865"] body .football-table th {
  color:var(--ks865-muted) !important;
  background:var(--ks865-surface-raised) !important;
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.05em;
  text-transform:uppercase;
}
html[data-kisure-design="865"] body .football-table tbody tr { background:var(--ks865-surface) !important; }
html[data-kisure-design="865"] body .football-table tbody tr:hover { background:var(--ks865-surface-raised) !important; }
html[data-kisure-design="865"] body .football-table-team { color:var(--ks865-heading) !important; }
html[data-kisure-design="865"] body .football-standings-card {
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-sm) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body .football-standings-legend { color:var(--ks865-text-soft) !important; }

/* ===== 10-forms.css ===== */
/* KISURE FE865 — FORMS */
html[data-kisure-design="865"] body :where(input,select,textarea,.form-control,.form-select,.search-box,.search-field,.site-search,.football-search) {
  min-height:44px;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-sm) !important;
  background:var(--ks865-surface) !important;
  color:var(--ks865-text) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body :where(input,select,textarea,.form-control,.form-select):focus { border-color:var(--ks865-primary) !important; outline:none; box-shadow:0 0 0 3px color-mix(in srgb,var(--ks865-primary) 17%,transparent) !important; }
html[data-kisure-design="865"] body :where(input,textarea,.form-control)::placeholder { color:var(--ks865-muted) !important; opacity:1; }
html[data-kisure-design="865"] body :where(label,.form-label) { color:var(--ks865-text-soft) !important; font-weight:750; }
html[data-kisure-design="865"] body :where(.football-date-filter,.football-prediction-date-form,.ks-transfer-filters,.global-search-page__form,.search-modal__form) {
  background:var(--ks865-surface) !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-md) !important;
  box-shadow:none !important;
}

/* ===== 11-states.css ===== */
/* KISURE FE865 — STATES / FEEDBACK / LOADING */
html[data-kisure-design="865"] body :where(.football-empty,.football-empty-state,.global-search-empty,.global-search-filter-empty,.empty-state) {
  background:var(--ks865-surface) !important;
  color:var(--ks865-text-soft) !important;
  border:1px dashed var(--ks865-border-strong) !important;
  border-radius:var(--ks865-radius-md) !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body :where(.football-status--live,.status-live,.live-story-pill.is-live) { background:#3A1D20 !important; border-color:#6A2A31 !important; color:#FF8A94 !important; }
html[data-kisure-design="865"][data-theme="light"] body :where(.football-status--live,.status-live,.live-story-pill.is-live) { background:#FFF0F1 !important; border-color:#F3C6CA !important; color:#B12B37 !important; }
html[data-kisure-design="865"] body :where(.football-schedule-row__prediction--won,.is-won) { color:var(--ks865-success) !important; }
html[data-kisure-design="865"] body :where(.football-schedule-row__prediction--lost,.is-lost,.is-cancelled) { color:var(--ks865-danger) !important; }
html[data-kisure-design="865"] body :where(.site-skeleton-loader,.football-player-season-loading) { background:var(--ks865-bg) !important; }
html[data-kisure-design="865"] body .shimmer-block {
  background:var(--ks865-surface-raised) !important;
  background-image:none !important;
  animation:ks865-pulse 1.2s ease-in-out infinite alternate !important;
}
@keyframes ks865-pulse { from{opacity:.55} to{opacity:1} }
html[data-kisure-design="865"] body :where(.ad-slot,.football-ad-panel,.football-sidebar-ad-slot) { background:var(--ks865-surface-raised) !important; border-style:dashed !important; box-shadow:none !important; }

/* Authentication and standalone state pages */
html[data-kisure-design="865"] body.auth-body,
html[data-kisure-design="865"] body.ks-state-page,
html[data-kisure-design="865"] body.ks-auth-force-password {
  background:var(--ks865-bg) !important;
  color:var(--ks865-text) !important;
}
html[data-kisure-design="865"] body :where(.auth-showcase,.auth-card,.auth-card__panel,.auth-stat,.force-card,.maintenance-card,.ks-state-page--503>.card) {
  background:var(--ks865-surface) !important;
  background-image:none !important;
  border-color:var(--ks865-border) !important;
  color:var(--ks865-text) !important;
  box-shadow:var(--ks865-shadow-soft) !important;
}
html[data-kisure-design="865"] body :where(.auth-card__panel,.force-card,.maintenance-card,.ks-state-page--503>.card) {
  border-radius:var(--ks865-radius-lg) !important;
}
html[data-kisure-design="865"] body :where(.auth-showcase__eyebrow,.auth-card__eyebrow,.kicker) { color:var(--ks865-primary-dark) !important; }
html[data-kisure-design="865"][data-theme="dark"] body :where(.auth-showcase__eyebrow,.auth-card__eyebrow,.kicker) { color:#7ADBDD !important; }
html[data-kisure-design="865"] body :where(.auth-showcase__title,.auth-card__title,.force-card h1,.maintenance-card h1,.ks-state-page--503>.card h1) { color:var(--ks865-heading) !important; }
html[data-kisure-design="865"] body :where(.auth-card__text,.force-card p,.maintenance-card p,.ks-state-page--503>.card p) { color:var(--ks865-text-soft) !important; }
html[data-kisure-design="865"] body .maintenance-card::after { display:none !important; }
html[data-kisure-design="865"] body .btn-main { background:var(--ks865-primary) !important; color:#fff !important; border:1px solid var(--ks865-primary) !important; border-radius:var(--ks865-radius-sm) !important; box-shadow:none !important; }
html[data-kisure-design="865"] body .btn-main:hover { background:var(--ks865-primary-hover) !important; border-color:var(--ks865-primary-hover) !important; }
html[data-kisure-design="865"] body.ks-state-page--503 > .card {
  background:var(--ks865-surface) !important;
  background-image:none !important;
  border:1px solid var(--ks865-border) !important;
  border-radius:var(--ks865-radius-lg) !important;
  color:var(--ks865-text) !important;
  box-shadow:var(--ks865-shadow-soft) !important;
}
html[data-kisure-design="865"] body.ks-state-page--503 > .card h1 { color:var(--ks865-heading) !important; }
html[data-kisure-design="865"] body.ks-state-page--503 > .card p { color:var(--ks865-text-soft) !important; }

/* ===== 12-responsive.css ===== */
/* KISURE FE865 — RESPONSIVE */
@media (max-width:1180px) {
  html[data-kisure-design="865"] body .site-header__nav { justify-content:flex-start; overflow-x:auto; scrollbar-width:none; }
  html[data-kisure-design="865"] body .content-grid,
  html[data-kisure-design="865"] body .football-fotmob__layout,
  html[data-kisure-design="865"] body :where(.football-layout--wide-main,.football-layout--club-overview,.football-layout--player-profile) { grid-template-columns:minmax(0,1fr) 300px; gap:20px; }
  html[data-kisure-design="865"] body .news-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html[data-kisure-design="865"] body .football-competition-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:991.98px) {
  html[data-kisure-design="865"] body .site-header__bar { grid-template-columns:auto 1fr auto; gap:12px; }
  html[data-kisure-design="865"] body .site-header__nav { display:none; }
  html[data-kisure-design="865"] body .site-mobile-menu__panel { border-radius:0 !important; min-height:100dvh; }
  html[data-kisure-design="865"] body .content-grid,
  html[data-kisure-design="865"] body .football-fotmob__layout,
  html[data-kisure-design="865"] body :where(.football-layout--wide-main,.football-layout--club-overview,.football-layout--player-profile) { grid-template-columns:1fr; }
  html[data-kisure-design="865"] body :where(.sticky-sidebar,.article-rail.sticky-sidebar) { position:static !important; top:auto !important; }
}

@media (max-width:767.98px) {
  :root { --ks865-header:60px; }
  html[data-kisure-design="865"] body :where(.site-shell,.football-page>.site-shell,.article-shell,.global-search-page>.site-shell),
  html[data-kisure-design="865"] body .site-header__inner,
  html[data-kisure-design="865"] body .football-header-leagues__surface { width:min(calc(100% - 20px),var(--ks865-content)); }
  html[data-kisure-design="865"] body .site-header__brand img { height:38px; max-width:140px; }
  html[data-kisure-design="865"] body .site-header__bar { min-height:var(--ks865-header); padding:8px 0 !important; }
  html[data-kisure-design="865"] body .news-grid { grid-template-columns:1fr; gap:14px; }
  html[data-kisure-design="865"] body .football-competition-grid { grid-template-columns:1fr; }
  html[data-kisure-design="865"] body :where(.football-fotmob__masthead,.football-compact-hero,.football-club-hero,.football-player-hero,.football-prediction-hero,.ks-transfer-centre-hero,.page-hero,.article-hero,.global-search-hero) { border-radius:var(--ks865-radius-md) !important; }
  html[data-kisure-design="865"] body :where(.surface-card,.site-panel,.football-section,.football-side-panel,.newsletter-card,.ad-slot,.global-search-card,.football-data-card) { border-radius:var(--ks865-radius-sm) !important; }
  html[data-kisure-design="865"] body .section-heading { align-items:flex-start; }
  html[data-kisure-design="865"] body :where(.football-section-tabs,.football-tabs,.football-leaderboard-tabs,.football-league-scope-tabs,.ks-transfer-scope-tabs,.global-search-filters) { margin-inline:-2px; }
  html[data-kisure-design="865"] body .article-match-scoreboard--match-page { border-radius:var(--ks865-radius-md) !important; }
}

@media (max-width:479.98px) {
  html[data-kisure-design="865"] body :where(.site-shell,.football-page>.site-shell,.article-shell,.global-search-page>.site-shell),
  html[data-kisure-design="865"] body .site-header__inner,
  html[data-kisure-design="865"] body .football-header-leagues__surface { width:min(calc(100% - 16px),var(--ks865-content)); }
  html[data-kisure-design="865"] body .site-icon-button { min-width:40px; min-height:40px; }
  html[data-kisure-design="865"] body :where(.site-button,.football-panel-link,.football-schedule-load-more,.ks-transfer-filter-submit,.ks-transfer-show-more) { min-height:40px; padding-inline:13px; }
}
