/* KISURE FE934 — shared late CSS bundle. Exact FE933 cascade order, no selector edits. */

/* ===== BEGIN kisure-v889-header-settings-auth.css | sha256=e8ee25d73ceff912f41024ae16433462a84bcb8b06c9cfa5c476a19ab22e630d ===== */
/* KISURE FE884 — single scoped owner for the retained public header, settings,
   mobile drawer, member auth and footer. It intentionally does not style page content. */
html[data-kisure-design="865"]{
  --ks884-primary:#0B9CA0;
  --ks884-dark:#087C78;
  --ks884-hover:#07878B;
  --ks884-soft:#E8F7F7;
  --ks884-text:#243b3f;
  --ks884-heading:#132d31;
  --ks884-muted:#6c8084;
  --ks884-border:#d8e5e7;
  --ks884-surface:#fff;
  --ks884-raised:#f5f9f9;
}
html[data-kisure-design="865"][data-theme="dark"]{
  --ks884-text:#dce7e8;
  --ks884-heading:#f4f8f8;
  --ks884-muted:#9eb0b2;
  --ks884-border:#334548;
  --ks884-surface:#1b2223;
  --ks884-raised:#242d2f;
}

/* =============================== HEADER =============================== */
html[data-kisure-design="865"] body .ks-ref-header{
  position:sticky!important;
  top:0!important;
  z-index:7000!important;
  width:100%!important;
  background:var(--ks884-surface)!important;
  border-bottom:1px solid var(--ks884-border)!important;
  box-shadow:none!important;
  transform:translateY(0)!important;
  transition:transform .18s ease,background-color .18s ease,border-color .18s ease!important;
  will-change:transform!important;
}
html[data-kisure-design="865"] body .ks-ref-header.is-scroll-hidden{transform:translateY(calc(-100% - 2px))!important}
html[data-kisure-design="865"] body .ks-ref-header:has(.theme-menu.is-open),
html[data-kisure-design="865"] body .ks-ref-header:has(.site-mobile-menu.is-open){transform:translateY(0)!important}
html[data-kisure-design="865"] body .ks-ref-header .site-header__inner{
  width:min(calc(100% - 28px),1450px)!important;
  margin-inline:auto!important;
}
html[data-kisure-design="865"] body .ks-ref-header .site-header__bar{
  display:grid!important;
  grid-template-columns:150px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:18px!important;
  width:100%!important;
  min-height:66px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
html[data-kisure-design="865"] body .ks-ref-header .site-header__brand{
  display:flex!important;align-items:center!important;height:66px!important;min-width:0!important;text-decoration:none!important;
}
html[data-kisure-design="865"] body .ks-ref-header .site-header__brand img{
  width:auto!important;height:40px!important;max-width:142px!important;object-fit:contain!important;
}
html[data-kisure-design="865"] body .ks-ref-header .site-header__nav{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:2px!important;min-width:0!important;overflow:visible!important;
}
html[data-kisure-design="865"] body .ks-ref-header .header-menu-item{position:relative!important}
html[data-kisure-design="865"] body .ks-ref-header .header-menu-item__link{
  position:relative!important;display:flex!important;align-items:center!important;gap:6px!important;min-height:66px!important;padding:0 11px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--ks884-text)!important;font-size:13.5px!important;font-weight:750!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important;cursor:pointer!important;
}
html[data-kisure-design="865"] body .ks-ref-header .header-menu-item__link:is(:hover,.is-active){color:var(--ks884-dark)!important;background:transparent!important}
html[data-kisure-design="865"] body .ks-ref-header .header-menu-item__link.is-active::after{
  content:"";position:absolute;left:9px;right:9px;bottom:0;height:2px;background:var(--ks884-primary);border-radius:2px 2px 0 0;
}
html[data-kisure-design="865"] body .ks-ref-header .header-menu-item__dropdown{
  display:none!important;position:absolute!important;z-index:7300!important;top:calc(100% - 5px)!important;left:0!important;width:218px!important;padding:7px!important;border:1px solid var(--ks884-border)!important;border-radius:10px!important;background:var(--ks884-surface)!important;box-shadow:0 14px 34px rgba(15,45,49,.14)!important;
}
html[data-kisure-design="865"] body .ks-ref-header .header-menu-item:hover>.header-menu-item__dropdown,
html[data-kisure-design="865"] body .ks-ref-header .header-menu-item:focus-within>.header-menu-item__dropdown,
html[data-kisure-design="865"] body .ks-ref-header .header-menu-item.is-open>.header-menu-item__dropdown{display:block!important}
html[data-kisure-design="865"] body .ks-ref-header .header-menu-item__dropdown a{
  display:block!important;min-height:36px!important;padding:9px 10px!important;border-radius:7px!important;color:var(--ks884-text)!important;font-size:12.5px!important;font-weight:700!important;text-decoration:none!important;
}
html[data-kisure-design="865"] body .ks-ref-header .header-menu-item__dropdown a:hover{background:var(--ks884-soft)!important;color:var(--ks884-dark)!important}
html[data-kisure-design="865"] body .ks-ref-header .site-header__utility{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-search-pill{
  display:flex!important;align-items:center!important;gap:8px!important;width:260px!important;min-height:40px!important;padding:0 12px!important;border:1px solid var(--ks884-border)!important;border-radius:8px!important;background:var(--ks884-raised)!important;color:var(--ks884-muted)!important;font-size:12px!important;text-align:left!important;box-shadow:none!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-header-icon{
  display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;border:1px solid var(--ks884-border)!important;border-radius:8px!important;background:var(--ks884-surface)!important;color:var(--ks884-heading)!important;box-shadow:none!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-header-icon:hover{border-color:var(--ks884-primary)!important;color:var(--ks884-dark)!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-avatar{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border-radius:50%!important;background:var(--ks884-dark)!important;color:#fff!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-notification{position:relative!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-notification span{position:absolute!important;width:7px!important;height:7px!important;border-radius:50%!important;background:var(--ks884-primary)!important;top:7px!important;right:7px!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-menu-open{display:none!important}
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header{background:#151a1b!important;border-bottom-color:#2d3a3c!important}
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .site-header__inner{width:100%!important;max-width:none!important;padding-inline:clamp(18px,3.5vw,54px)!important}
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .ks-ref-search-pill{background:#1b2324!important}

/* =========================== SETTINGS POPOVER =========================== */
html[data-kisure-design="865"] body .ks-ref-header .theme-menu{position:relative!important;overflow:visible!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-panel{
  display:none!important;position:absolute!important;z-index:7600!important;right:0!important;top:48px!important;width:312px!important;max-width:calc(100vw - 20px)!important;max-height:none!important;overflow:visible!important;padding:9px 10px!important;border:1px solid var(--ks884-border)!important;border-radius:12px!important;background:var(--ks884-surface)!important;box-shadow:0 18px 46px rgba(13,44,48,.18)!important;transform:none!important;opacity:1!important;pointer-events:auto!important;gap:0!important;
}
html[data-kisure-design="865"] body .ks-ref-header .theme-menu.is-open .ks-ref-settings-panel{display:block!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-panel__account{
  display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-height:54px!important;margin:0 0 5px!important;padding:7px 9px!important;border:0!important;border-radius:9px!important;background:var(--ks884-soft)!important;text-decoration:none!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-panel__account>span{
  display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border:1px solid color-mix(in srgb,var(--ks884-primary) 58%,transparent)!important;border-radius:9px!important;background:#fff!important;color:var(--ks884-primary)!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-panel__account div{display:grid!important;gap:1px!important;min-width:0!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-panel__account strong{color:var(--ks884-heading)!important;font-size:12.5px!important;line-height:1.2!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-panel__account small{color:var(--ks884-muted)!important;font-size:10px!important;line-height:1.25!important;white-space:normal!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row{
  display:grid!important;grid-template-columns:minmax(0,1fr) 126px!important;align-items:center!important;gap:10px!important;min-height:42px!important;padding:4px 5px!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--ks884-border) 78%,transparent)!important;border-radius:0!important;background:transparent!important;color:var(--ks884-text)!important;font-size:12px!important;line-height:1.2!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row:last-child{border-bottom:0!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row>span{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;font-weight:750!important;white-space:nowrap!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row>span i{display:grid!important;place-items:center!important;width:18px!important;height:18px!important;color:var(--ks884-primary)!important;font-size:12px!important;line-height:1!important}
/* FE884: plain dropdown values with no nested input-box container. */
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row select{
  appearance:none!important;-webkit-appearance:none!important;width:126px!important;max-width:126px!important;height:30px!important;min-height:30px!important;margin:0!important;padding:3px 22px 3px 4px!important;border:0!important;border-radius:0!important;background-color:transparent!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23087C78' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 4px center!important;background-size:11px 7px!important;color:var(--ks884-heading)!important;font-size:11.5px!important;font-weight:750!important;line-height:1!important;text-align:right!important;text-align-last:right!important;box-shadow:none!important;outline:none!important;cursor:pointer!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row select:focus{color:var(--ks884-dark)!important;box-shadow:none!important;outline:0!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row--theme{min-height:44px!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-theme-buttons{
  display:grid!important;grid-template-columns:repeat(3,34px)!important;align-items:center!important;justify-content:center!important;justify-self:center!important;gap:2px!important;width:108px!important;min-height:36px!important;padding:2px!important;border:1px solid var(--ks884-border)!important;border-radius:9px!important;background:var(--ks884-raised)!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-theme-buttons .theme-switcher__button{
  display:grid!important;place-items:center!important;width:34px!important;height:30px!important;min-width:34px!important;min-height:30px!important;margin:0!important;padding:0!important;border:0!important;border-radius:7px!important;background:transparent!important;color:var(--ks884-muted)!important;box-shadow:none!important;line-height:1!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-theme-buttons .theme-switcher__button i,
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-theme-buttons .theme-switcher__button i::before{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;line-height:1!important;text-align:center!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-theme-buttons .theme-switcher__button:is(.is-active,[aria-pressed="true"]){background:var(--ks884-primary)!important;color:#fff!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row--toggle{min-height:44px!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row--toggle input[type="checkbox"]{
  appearance:none!important;-webkit-appearance:none!important;align-self:center!important;justify-self:center!important;width:38px!important;height:22px!important;margin:0!important;padding:0!important;border:1px solid var(--ks884-border)!important;border-radius:999px!important;background:#cad7d9!important;cursor:pointer!important;position:relative!important;box-shadow:none!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row--toggle input[type="checkbox"]::after{
  content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(12,46,50,.14);transition:transform .15s ease;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row--toggle input[type="checkbox"]:checked{background:var(--ks884-primary)!important;border-color:var(--ks884-primary)!important}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row--toggle input[type="checkbox"]:checked::after{transform:translateX(16px)}
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .ks-ref-settings-panel{background:#202829!important;border-color:#344548!important;box-shadow:0 18px 46px rgba(0,0,0,.28)!important}
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .ks-ref-settings-panel__account{background:#173638!important}
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .ks-ref-settings-panel__account>span{background:#243033!important;border-color:#3a5c5e!important;color:#8be2e3!important}
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .ks-ref-settings-row select{background-color:transparent!important;border:0!important;color:#eef5f5!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%238BE2E3' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important}
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .ks-ref-theme-buttons{background:#171e1f!important;border-color:#3a494b!important}

/* =========================== MOBILE DRAWER =========================== */
@media(max-width:900px){
  html[data-kisure-design="865"] body .ks-ref-header .site-header__inner{width:100%!important;max-width:none!important;padding-inline:10px!important}
  html[data-kisure-design="865"] body .ks-ref-header .site-header__bar{display:flex!important;justify-content:space-between!important;min-height:60px!important;gap:8px!important}
  html[data-kisure-design="865"] body .ks-ref-header .site-header__brand{height:60px!important}
  html[data-kisure-design="865"] body .ks-ref-header .site-header__brand img{height:34px!important;max-width:120px!important}
  html[data-kisure-design="865"] body .ks-ref-header .site-header__nav{display:none!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-search-pill{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;justify-content:center!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-search-pill span{display:none!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-header-icon{width:38px!important;height:38px!important;min-width:38px!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-menu-open{display:grid!important}
  html[data-kisure-design="865"] body .ks-ref-header .site-mobile-menu{position:fixed!important;inset:0!important;z-index:7800!important;pointer-events:none!important;background:rgba(5,22,24,.40)!important;opacity:0!important;transition:opacity .18s ease!important}
  html[data-kisure-design="865"] body .ks-ref-header .site-mobile-menu.is-open{pointer-events:auto!important;opacity:1!important}
  html[data-kisure-design="865"] body .ks-ref-header .site-mobile-menu__panel.ks-ref-mobile-drawer{
    position:absolute!important;right:0!important;top:0!important;bottom:0!important;width:min(86vw,342px)!important;height:100dvh!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;background:var(--ks884-surface)!important;border:0!important;border-left:1px solid var(--ks884-border)!important;border-radius:0!important;box-shadow:-18px 0 52px rgba(5,24,26,.22)!important;transform:translateX(105%)!important;transition:transform .2s ease!important;overflow:hidden!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .site-mobile-menu.is-open .site-mobile-menu__panel{transform:none!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-drawer__top{
    flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:64px!important;padding:9px 12px!important;border-bottom:1px solid var(--ks884-border)!important;background:var(--ks884-surface)!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-drawer__top .site-header__brand{height:auto!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-drawer__top .site-header__brand img{height:34px!important;max-width:122px!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-drawer__top [data-mobile-close]{width:38px!important;height:38px!important;min-width:38px!important;border-radius:9px!important;background:var(--ks884-raised)!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-drawer__nav{
    flex:1 1 auto!important;width:100%!important;min-width:0!important;display:grid!important;align-content:start!important;gap:4px!important;padding:11px 11px 9px!important;overflow-y:auto!important;overflow-x:hidden!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-drawer__nav>a{
    display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;width:100%!important;min-height:44px!important;padding:0 9px!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:var(--ks884-text)!important;font-size:12.5px!important;font-weight:750!important;text-decoration:none!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-drawer__nav>a>i{
    display:grid!important;place-items:center!important;width:30px!important;height:30px!important;border-radius:8px!important;background:var(--ks884-raised)!important;color:var(--ks884-primary)!important;font-size:11px!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-drawer__nav>a:is(.is-active,:hover){background:var(--ks884-soft)!important;border-color:#cce8e9!important;color:var(--ks884-dark)!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-drawer__nav>a.is-active>i{background:var(--ks884-primary)!important;color:#fff!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-more{display:block!important;width:100%!important;min-width:0!important;margin:1px 0!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-more__toggle{
    display:grid!important;grid-template-columns:32px minmax(0,1fr) 24px!important;align-items:center!important;gap:9px!important;width:100%!important;min-width:0!important;min-height:46px!important;padding:0 9px!important;border:1px solid #cce8e9!important;border-radius:10px!important;background:var(--ks884-soft)!important;color:var(--ks884-dark)!important;font-size:12.5px!important;font-weight:800!important;text-align:left!important;box-shadow:none!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-more__toggle>i:first-child{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;border-radius:8px!important;background:#fff!important;color:var(--ks884-primary)!important;font-size:11px!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-more__toggle>span{min-width:0!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-more__toggle>i:last-child{justify-self:end!important;color:var(--ks884-dark)!important;transition:transform .16s ease!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-more__toggle[aria-expanded="true"]>i:last-child{transform:rotate(180deg)!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-more__children{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;margin:6px 0 1px!important;padding:0!important;border:0!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-more__children[hidden]{display:none!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-more__children a{
    display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:center!important;gap:6px!important;min-height:39px!important;padding:5px 7px!important;border:1px solid var(--ks884-border)!important;border-radius:8px!important;background:var(--ks884-raised)!important;color:var(--ks884-text)!important;font-size:10.5px!important;font-weight:700!important;text-decoration:none!important;line-height:1.2!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-more__children a i{color:var(--ks884-primary)!important;font-size:10px!important;text-align:center!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-more__children a:hover{border-color:var(--ks884-primary)!important;color:var(--ks884-dark)!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-drawer__bottom{
    flex:0 0 auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:0!important;padding:10px 11px max(10px,env(safe-area-inset-bottom))!important;border-top:1px solid var(--ks884-border)!important;background:var(--ks884-surface)!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-setting{
    display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:100%!important;min-height:40px!important;padding:0 9px!important;border:1px solid var(--ks884-border)!important;border-radius:9px!important;background:var(--ks884-raised)!important;color:var(--ks884-heading)!important;font-size:11px!important;font-weight:800!important;text-decoration:none!important;box-shadow:none!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-setting--register{background:var(--ks884-primary)!important;border-color:var(--ks884-primary)!important;color:#fff!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-setting:hover{background:var(--ks884-dark)!important;border-color:var(--ks884-dark)!important;color:#fff!important}

  /* Mobile settings: same compact, borderless control language as desktop. */
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-panel{
    position:fixed!important;top:64px!important;right:8px!important;left:auto!important;width:min(326px,calc(100vw - 16px))!important;max-height:none!important;overflow:visible!important;padding:7px 8px!important;border-radius:11px!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-panel__account{min-height:50px!important;padding:6px 8px!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row{grid-template-columns:minmax(0,1fr) 122px!important;min-height:39px!important;padding:3px 4px!important;font-size:11.5px!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row select{width:122px!important;max-width:122px!important;height:29px!important;min-height:29px!important;padding-right:20px!important;font-size:10.75px!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-theme-buttons{width:106px!important;grid-template-columns:repeat(3,33px)!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-theme-buttons .theme-switcher__button{width:33px!important;min-width:33px!important}
}
@media(max-width:390px){
  html[data-kisure-design="865"] body .ks-ref-header .site-mobile-menu__panel.ks-ref-mobile-drawer{width:min(90vw,336px)!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-mobile-more__children{grid-template-columns:1fr!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-panel{width:calc(100vw - 12px)!important;right:6px!important}
}

/* =============================== FOOTER =============================== */
html[data-kisure-design="865"] body .footer-shell{
  margin-top:32px!important;padding:30px 0 12px!important;background:#087C78!important;background-image:none!important;border-top:4px solid #0B9CA0!important;color:#fff!important;
}
html[data-kisure-design="865"] body .footer-shell .site-shell{background:transparent!important}
html[data-kisure-design="865"] body .footer-shell .surface-card.footer-panel,
html[data-kisure-design="865"] body .footer-shell .footer-panel{
  background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:18px 0 26px!important;color:#fff!important;
}
html[data-kisure-design="865"] body .footer-shell .footer-panel__brand,
html[data-kisure-design="865"] body .footer-shell .footer-panel__group{background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important}
html[data-kisure-design="865"] body .footer-shell .footer-panel__brand .site-header__brand{
  color:#fff!important;
  gap:16px!important;
}
html[data-kisure-design="865"] body .footer-shell .footer-panel__brand .site-header__title,
html[data-kisure-design="865"] body .footer-shell .footer-panel__brand .site-header__title span{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:650!important;
  line-height:1.3!important;
  white-space:nowrap!important;
  text-shadow:none!important;
}
html[data-kisure-design="865"] body .footer-shell .footer-panel__brand img.kisure-brand-logo{filter:brightness(0) invert(1)!important;background:transparent!important;box-shadow:none!important}
html[data-kisure-design="865"] body .footer-shell .site-header__title,
html[data-kisure-design="865"] body .footer-shell .footer-panel p,
html[data-kisure-design="865"] body .footer-shell .footer-panel__group p{color:rgba(255,255,255,.88)!important}
html[data-kisure-design="865"] body .footer-shell .site-kicker{color:#d9ffff!important}
html[data-kisure-design="865"] body .footer-shell .site-kicker::before{background:#d9ffff!important}
html[data-kisure-design="865"] body .footer-shell .footer-links a{color:#fff!important;text-decoration:none!important}
html[data-kisure-design="865"] body .footer-shell .footer-links a:hover{color:#d9ffff!important;text-decoration:underline!important;text-underline-offset:3px!important}
html[data-kisure-design="865"] body .footer-shell .footer-socials__link{
  background:#0B9CA0!important;border:1px solid rgba(255,255,255,.35)!important;color:#fff!important;box-shadow:none!important;
}
html[data-kisure-design="865"] body .footer-shell .footer-socials__link:hover{background:#fff!important;border-color:#fff!important;color:#087C78!important}
html[data-kisure-design="865"] body .footer-shell .footer-status{
  background:#0B9CA0!important;border:1px solid rgba(255,255,255,.30)!important;color:#fff!important;box-shadow:none!important;
}
html[data-kisure-design="865"] body .footer-shell .footer-status span,
html[data-kisure-design="865"] body .footer-shell .footer-status strong{color:#fff!important}
html[data-kisure-design="865"] body .footer-shell .footer-bottom{
  background:transparent!important;border-top:1px solid rgba(255,255,255,.28)!important;color:#fff!important;
}
html[data-kisure-design="865"] body .footer-shell .back-top{
  background:#0B9CA0!important;border:1px solid rgba(255,255,255,.38)!important;color:#fff!important;box-shadow:none!important;
}
html[data-kisure-design="865"] body .footer-shell .back-top:hover{background:#fff!important;color:#087C78!important;border-color:#fff!important}
html[data-kisure-design="865"][data-theme="dark"] body .footer-shell{background:#087C78!important;border-top-color:#0B9CA0!important}
@media(max-width:760px){
  html[data-kisure-design="865"] body .footer-shell{margin-top:24px!important;padding-top:22px!important}
  html[data-kisure-design="865"] body .footer-shell .footer-panel{padding:10px 0 18px!important}
}

/* ============================= MEMBER AUTH ============================= */
html[data-kisure-design="865"] body.is-public-auth-page .site-main{background:#f2f8f8}
html[data-kisure-design="865"] body .ks-member-auth{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(390px,470px)!important;width:min(calc(100% - 28px),1040px)!important;max-width:1040px!important;min-height:500px!important;margin:28px auto 42px!important;overflow:hidden!important;border:1px solid #d8e5e7!important;border-radius:14px!important;background:#fff!important;box-shadow:0 15px 44px rgba(16,58,62,.08)!important}
html[data-kisure-design="865"] body .ks-member-auth__intro{display:flex!important;flex-direction:column!important;justify-content:center!important;padding:46px 52px!important;background:linear-gradient(135deg,rgba(1,46,50,.94),rgba(5,99,101,.9)),linear-gradient(45deg,#087C78,#0B9CA0)!important;color:#fff!important}
html[data-kisure-design="865"] body .ks-member-auth__eyebrow{color:#8bf1ec!important;font-size:11px!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important}
html[data-kisure-design="865"] body .ks-member-auth__intro h1{margin:10px 0 12px!important;color:#fff!important;font-size:clamp(34px,4vw,52px)!important;line-height:1!important;letter-spacing:-.04em!important}
html[data-kisure-design="865"] body .ks-member-auth__intro>p{max-width:510px!important;margin:0 0 25px!important;color:rgba(255,255,255,.84)!important;font-size:14px!important;line-height:1.6!important}
html[data-kisure-design="865"] body .ks-member-auth__benefits{display:grid!important;gap:11px!important}
html[data-kisure-design="865"] body .ks-member-auth__benefits>span{display:grid!important;grid-template-columns:32px 1fr!important;grid-template-rows:auto auto!important;gap:1px 10px!important;align-items:center!important}
html[data-kisure-design="865"] body .ks-member-auth__benefits i{grid-row:1/3!important;display:grid!important;place-items:center!important;width:32px!important;height:32px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:9px!important;background:rgba(255,255,255,.08)!important;color:#8bf1ec!important}
html[data-kisure-design="865"] body .ks-member-auth__benefits b{color:#fff!important;font-size:12.5px!important}
html[data-kisure-design="865"] body .ks-member-auth__benefits small{color:rgba(255,255,255,.68)!important;font-size:10.5px!important}
html[data-kisure-design="865"] body .ks-member-auth__card{align-self:center!important;padding:38px 42px!important}
html[data-kisure-design="865"] body .ks-member-auth__head>span{color:#0B9CA0!important;font-size:10px!important;font-weight:800!important;letter-spacing:.1em!important;text-transform:uppercase!important}
html[data-kisure-design="865"] body .ks-member-auth__head h2{margin:6px 0 7px!important;color:#142d31!important;font-size:28px!important;line-height:1.1!important;letter-spacing:-.025em!important}
html[data-kisure-design="865"] body .ks-member-auth__head p{margin:0 0 18px!important;color:#6c8084!important;font-size:13px!important;line-height:1.5!important}
html[data-kisure-design="865"] body .ks-member-auth__social{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important}
html[data-kisure-design="865"] body .ks-member-auth__social button{display:flex!important;min-height:40px!important;align-items:center!important;justify-content:center!important;gap:7px!important;border:1px solid #d7e4e6!important;border-radius:8px!important;background:#fff!important;color:#243b3f!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important}
html[data-kisure-design="865"] body .ks-member-auth__social button:hover{border-color:#0B9CA0!important;color:#087C78!important}
html[data-kisure-design="865"] body .ks-member-auth__social-status{margin:8px 0 0!important;padding:7px 9px!important;border-radius:7px!important;background:#E8F7F7!important;color:#087C78!important;font-size:10.5px!important}
html[data-kisure-design="865"] body .ks-member-auth__divider{display:flex!important;align-items:center!important;gap:10px!important;margin:15px 0!important;color:#849497!important;font-size:10.5px!important}
html[data-kisure-design="865"] body .ks-member-auth__divider::before,html[data-kisure-design="865"] body .ks-member-auth__divider::after{content:"";flex:1;height:1px;background:#e1eaec}
html[data-kisure-design="865"] body .ks-member-auth__form{display:grid!important;gap:12px!important}
html[data-kisure-design="865"] body .ks-member-auth__field{display:grid!important;gap:5px!important;color:#2c4347!important;font-size:12px!important;font-weight:750!important}
html[data-kisure-design="865"] body .ks-member-auth__field>input,html[data-kisure-design="865"] body .ks-member-auth__password{width:100%!important;min-height:43px!important;border:1px solid #d3e1e3!important;border-radius:8px!important;background:#fbfdfd!important}
html[data-kisure-design="865"] body .ks-member-auth__field>input{padding:0 12px!important;color:#183135!important;outline:none!important;font-size:12px!important}
html[data-kisure-design="865"] body .ks-member-auth__password{display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;overflow:hidden!important}
html[data-kisure-design="865"] body .ks-member-auth__password input{min-width:0!important;border:0!important;background:transparent!important;padding:0 12px!important;color:#183135!important;outline:none!important;font-size:12px!important}
html[data-kisure-design="865"] body .ks-member-auth__password button{border:0!important;background:transparent!important;color:#667d81!important}
html[data-kisure-design="865"] body .ks-member-auth__field>input:focus,html[data-kisure-design="865"] body .ks-member-auth__password:focus-within{border-color:#0B9CA0!important;box-shadow:0 0 0 3px rgba(11,156,160,.09)!important}
html[data-kisure-design="865"] body .ks-member-auth__row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;color:#5b7175!important;font-size:10px!important}
html[data-kisure-design="865"] body .ks-member-auth__row a,html[data-kisure-design="865"] body .ks-member-auth__switch a{color:#087C78!important;font-weight:800!important;text-decoration:none!important}
html[data-kisure-design="865"] body .ks-member-auth__check{display:flex!important;align-items:center!important;gap:6px!important}
html[data-kisure-design="865"] body .ks-member-auth__check input{accent-color:#0B9CA0!important}
html[data-kisure-design="865"] body .ks-member-auth__submit{display:flex!important;min-height:44px!important;align-items:center!important;justify-content:center!important;gap:8px!important;border:0!important;border-radius:8px!important;background:#0B9CA0!important;color:#fff!important;font-size:13px!important;font-weight:800!important;cursor:pointer!important}
html[data-kisure-design="865"] body .ks-member-auth__submit:hover{background:#07878B!important}
html[data-kisure-design="865"] body .ks-member-auth__switch{margin:16px 0 0!important;color:#6a7d81!important;font-size:12px!important;text-align:center!important}
html[data-kisure-design="865"] body .ks-member-auth__alert{margin:0 0 12px!important;padding:9px 10px!important;border-radius:7px!important;font-size:10.5px!important}
html[data-kisure-design="865"] body .ks-member-auth__alert.is-error{background:#fff0f1!important;color:#a52b35!important}
html[data-kisure-design="865"] body .ks-member-auth__alert.is-success{background:#eaf8f0!important;color:#187346!important}
html[data-kisure-design="865"][data-theme="dark"] body.is-public-auth-page .site-main{background:#171d1e!important}
html[data-kisure-design="865"][data-theme="dark"] body .ks-member-auth{background:#202829!important;border-color:#354447!important}
html[data-kisure-design="865"][data-theme="dark"] body .ks-member-auth__card :where(h2,label,.ks-member-auth__switch){color:#eef5f5!important}
html[data-kisure-design="865"][data-theme="dark"] body .ks-member-auth__head p{color:#9babad!important}
html[data-kisure-design="865"][data-theme="dark"] body .ks-member-auth__social button,html[data-kisure-design="865"][data-theme="dark"] body .ks-member-auth__field>input,html[data-kisure-design="865"][data-theme="dark"] body .ks-member-auth__password{background:#171d1e!important;border-color:#3a494c!important;color:#eef5f5!important}
html[data-kisure-design="865"][data-theme="dark"] body .ks-member-auth__field input{color:#eef5f5!important}
@media(max-width:900px){
  html[data-kisure-design="865"] body .ks-member-auth{grid-template-columns:1fr!important;width:min(calc(100% - 16px),620px)!important;min-height:0!important;margin:12px auto 28px!important;border-radius:10px!important}
  html[data-kisure-design="865"] body .ks-member-auth__intro{padding:24px 22px!important}
  html[data-kisure-design="865"] body .ks-member-auth__intro h1{font-size:32px!important}
  html[data-kisure-design="865"] body .ks-member-auth__intro>p{margin-bottom:16px!important;font-size:12px!important}
  html[data-kisure-design="865"] body .ks-member-auth__card{padding:25px 20px!important}
  html[data-kisure-design="865"] body .ks-member-auth__field>input,
  html[data-kisure-design="865"] body .ks-member-auth__password input{font-size:16px!important}
}
@media(max-width:420px){
  html[data-kisure-design="865"] body .ks-member-auth__social{grid-template-columns:1fr!important}
  html[data-kisure-design="865"] body .ks-member-auth__social button{justify-content:flex-start!important;padding:0 14px!important}
  html[data-kisure-design="865"] body .ks-member-auth__row{align-items:flex-start!important;flex-direction:column!important}
}

/* ========================= FE884 FINAL HEADER REFINEMENT ========================= */
/* Full-viewport header ownership. Break out of any inherited site-shell max-width. */
html[data-kisure-design="865"] body .ks-ref-header{
  isolation:isolate!important;
  z-index:2147483000!important;
  overflow:visible!important;
}
html[data-kisure-design="865"] body .ks-ref-header .site-header__inner{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding-inline:clamp(14px,2.4vw,38px)!important;
  box-sizing:border-box!important;
}
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header,
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .site-header__inner,
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .site-header__bar{
  background:#151a1b!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .site-header__bar{
  width:100%!important;
  max-width:none!important;
}

/* Equal theme cells with the Font Awesome glyph truly centred in both axes. */
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row--theme{
  grid-template-columns:minmax(0,1fr) 116px!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-theme-buttons{
  display:grid!important;
  grid-template-columns:repeat(3,34px)!important;
  grid-auto-rows:34px!important;
  place-content:center!important;
  place-items:center!important;
  gap:3px!important;
  width:116px!important;
  min-width:116px!important;
  height:40px!important;
  min-height:40px!important;
  padding:2px!important;
  margin:0!important;
  justify-self:end!important;
  box-sizing:border-box!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-theme-buttons .theme-switcher__button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  margin:0!important;
  line-height:1!important;
  box-sizing:border-box!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-theme-buttons .theme-switcher__button i{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:16px!important;
  height:16px!important;
  margin:0!important;
  padding:0!important;
  line-height:16px!important;
  font-size:13px!important;
  text-align:center!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-theme-buttons .theme-switcher__button i::before{
  display:block!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  line-height:16px!important;
  text-align:center!important;
}

/* Data saver: compact and centred, never a giant pill. */
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row--toggle{
  grid-template-columns:minmax(0,1fr) 116px!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row--toggle input[type="checkbox"]{
  width:30px!important;
  min-width:30px!important;
  height:18px!important;
  min-height:18px!important;
  justify-self:end!important;
  align-self:center!important;
  margin-right:3px!important;
  border-width:1px!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row--toggle input[type="checkbox"]::after{
  top:2px!important;
  left:2px!important;
  width:12px!important;
  height:12px!important;
}
html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row--toggle input[type="checkbox"]:checked::after{
  transform:translateX(12px)!important;
}

/* Mobile/tablet drawer must sit above every page card, ad, sticky widget or scoreboard. */
html[data-kisure-design="865"] body .ks-ref-header.has-mobile-menu-open,
html[data-kisure-design="865"] body:has(.site-mobile-menu.is-open) .ks-ref-header{
  transform:none!important;
  overflow:visible!important;
  z-index:2147483000!important;
}
html[data-kisure-design="865"] body .ks-ref-header .site-mobile-menu{
  z-index:2147483600!important;
}
html[data-kisure-design="865"] body .ks-ref-header .site-mobile-menu__panel.ks-ref-mobile-drawer{
  z-index:2147483640!important;
}
html.kisure-mobile-menu-open,
html.kisure-mobile-menu-open body{
  overflow:hidden!important;
}

/* Uniform Kisure footer in dark mode: remove inherited black inner card completely. */
html[data-kisure-design="865"] body .footer-shell,
html[data-kisure-design="865"] body .footer-shell .site-shell,
html[data-kisure-design="865"] body .footer-shell .surface-card.footer-panel,
html[data-kisure-design="865"] body .footer-shell .footer-panel,
html[data-kisure-design="865"] body .footer-shell .footer-panel__brand,
html[data-kisure-design="865"] body .footer-shell .footer-panel__group,
html[data-kisure-design="865"] body .footer-shell .footer-bottom,
html[data-kisure-design="865"][data-theme="dark"] body .footer-shell,
html[data-kisure-design="865"][data-theme="dark"] body .footer-shell .site-shell,
html[data-kisure-design="865"][data-theme="dark"] body .footer-shell .surface-card.footer-panel,
html[data-kisure-design="865"][data-theme="dark"] body .footer-shell .footer-panel,
html[data-kisure-design="865"][data-theme="dark"] body .footer-shell .footer-panel__brand,
html[data-kisure-design="865"][data-theme="dark"] body .footer-shell .footer-panel__group,
html[data-kisure-design="865"][data-theme="dark"] body .footer-shell .footer-bottom{
  background:#087C78!important;
  background-color:#087C78!important;
  background-image:none!important;
  box-shadow:none!important;
}
html[data-kisure-design="865"] body .footer-shell .footer-panel{
  border:0!important;
  outline:0!important;
}

@media(max-width:900px){
  html[data-kisure-design="865"] body .ks-ref-header .site-header__inner{
    width:100vw!important;
    max-width:none!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    padding-inline:10px!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row--theme,
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-settings-row--toggle{
    grid-template-columns:minmax(0,1fr) 110px!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-theme-buttons{
    width:110px!important;
    min-width:110px!important;
    grid-template-columns:repeat(3,32px)!important;
    grid-auto-rows:32px!important;
    height:38px!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-theme-buttons .theme-switcher__button{
    width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;
  }
}


/* ================= FE884 FINAL HEADER WIDTH + CENTRED NAV ================= */
html[data-kisure-design="865"] body .ks-ref-header{
  left:0!important;
  right:0!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border-radius:0!important;
}
html[data-kisure-design="865"] body .ks-ref-header .site-header__inner,
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .site-header__inner{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0 24px!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
html[data-kisure-design="865"] body .ks-ref-header .site-header__bar,
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .site-header__bar{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html[data-kisure-design="865"] body .ks-ref-header .site-header__brand{justify-self:start!important}
html[data-kisure-design="865"] body .ks-ref-header .site-header__nav{
  justify-self:start!important;
  justify-content:flex-start!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding-left:clamp(8px,1.2vw,18px)!important;
}
html[data-kisure-design="865"] body .ks-ref-header .site-header__utility{justify-self:end!important}
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header,
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .site-header__inner,
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .site-header__bar{
  background:var(--ks884-surface)!important;
  background-image:none!important;
}

/* ================= FE884 FOOTER: NO INNER OUTLINE / CARD FRAME ================= */
html[data-kisure-design="865"] body .footer-shell .site-shell,
html[data-kisure-design="865"] body .footer-shell .surface-card.footer-panel,
html[data-kisure-design="865"] body .footer-shell .footer-panel,
html[data-kisure-design="865"][data-theme="dark"] body .footer-shell .site-shell,
html[data-kisure-design="865"][data-theme="dark"] body .footer-shell .surface-card.footer-panel,
html[data-kisure-design="865"][data-theme="dark"] body .footer-shell .footer-panel{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}
html[data-kisure-design="865"] body .footer-shell .surface-card.footer-panel::before,
html[data-kisure-design="865"] body .footer-shell .surface-card.footer-panel::after,
html[data-kisure-design="865"] body .footer-shell .footer-panel::before,
html[data-kisure-design="865"] body .footer-shell .footer-panel::after{
  content:none!important;
  display:none!important;
}

@media(max-width:1180px){
  html[data-kisure-design="865"] body .ks-ref-header .site-header__inner{padding-inline:16px!important}
  html[data-kisure-design="865"] body .ks-ref-header .site-header__nav{max-width:48vw!important}
  html[data-kisure-design="865"] body .ks-ref-header .header-menu-item__link{padding-inline:8px!important;font-size:12.5px!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-search-pill{width:220px!important}
}
@media(max-width:900px){
  html[data-kisure-design="865"] body .ks-ref-header .site-header__bar{
    grid-template-columns:auto 1fr auto!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .site-header__nav{display:none!important}
  html[data-kisure-design="865"] body .ks-ref-header .site-header__inner{padding-inline:10px!important}
}

/* FE884 final: admin-driven navigation stays adjacent to the logo, not independently centred. */
@media (min-width:901px){
  html[data-kisure-design="865"] body .ks-ref-header .site-header__nav{
    justify-self:start!important;
    justify-content:flex-start!important;
    text-align:left!important;
  }
}

/* FE884 authoritative desktop placement + footer tagline visibility. */
@media (min-width:901px){
  html[data-kisure-design="865"] body .ks-ref-header .site-header__nav{
    justify-self:start!important;
    justify-content:flex-start!important;
    width:auto!important;
    max-width:100%!important;
    padding-left:clamp(8px,1.2vw,18px)!important;
    overflow:visible!important;
  }
}
html[data-kisure-design="865"] body .footer-shell .footer-panel__brand .site-header__title,
html[data-kisure-design="865"] body .footer-shell .footer-panel__brand .site-header__title > span,
html[data-kisure-design="865"][data-theme="dark"] body .footer-shell .footer-panel__brand .site-header__title,
html[data-kisure-design="865"][data-theme="dark"] body .footer-shell .footer-panel__brand .site-header__title > span{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:15px!important;
  font-weight:650!important;
  line-height:1.3!important;
}

/* ======================================================================
   FE889 — compact search control for tablet + mobile.
   The desktop search pill is unchanged. At <=1024px the control becomes
   icon-only and is prevented from flex-growing across the header.
   ====================================================================== */
@media (max-width:1024px){
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-search-pill{
    display:grid!important;
    place-items:center!important;
    flex:0 0 40px!important;
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    padding:0!important;
    gap:0!important;
    text-align:center!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-search-pill span{display:none!important}
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-search-pill i{
    display:block!important;
    margin:0!important;
    font-size:14px!important;
    line-height:1!important;
  }
}
@media (max-width:900px){
  html[data-kisure-design="865"] body .ks-ref-header .ks-ref-search-pill{
    flex-basis:38px!important;
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    height:38px!important;
    min-height:38px!important;
  }
}
/* ===== END kisure-v889-header-settings-auth.css ===== */

/* ===== BEGIN kisure-v890-visual-polish.css | sha256=c94fc87c32856ee346fc14d04ac47e29ad8e1f95da44063df9ff4c1961ea7c87 ===== */
/* KISURE FE890 — targeted visual polish only.
 * Scope: prediction model-input spacing, Match Centre event surface consistency,
 * Match scoreboard crest scale, footer copyright contrast, fixture flag circles,
 * and global team-logo containment. No layout/data/route changes.
 */

/* --------------------------------------------------------------------------
 * Prediction detail: keep Model Inputs icons away from the card edge.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body .football-prediction-detail-page .football-side-panel .football-link-list span {
    box-sizing: border-box !important;
    gap: .78rem !important;
    min-height: 58px !important;
    padding: .72rem 1rem !important;
}
html[data-kisure-design="865"] body .football-prediction-detail-page .football-side-panel .football-link-list span > i {
    align-items: center !important;
    display: inline-flex !important;
    flex: 0 0 1.35rem !important;
    justify-content: center !important;
    margin: 0 !important;
    width: 1.35rem !important;
}

/* --------------------------------------------------------------------------
 * Match timeline: one coherent card surface. The old dark/light cascade was
 * painting the card, header and person row as three unrelated shades.
 * Preserve team-colour card identity but make nested rows transparent.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body .football-commentary-card__head,
html[data-kisure-design="865"] body .football-commentary-person-row,
html[data-kisure-design="865"] body .football-commentary-substitution,
html[data-kisure-design="865"] body .football-commentary-substitution .football-commentary-person,
html[data-kisure-design="865"] body .football-commentary-card .football-commentary-person {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}
html[data-kisure-design="865"] body .football-commentary-substitution .football-commentary-person,
html[data-kisure-design="865"] body .football-commentary-card .football-commentary-person {
    border-color: color-mix(in srgb, currentColor 10%, transparent) !important;
}
html[data-kisure-design="865"] body .football-commentary-person.is-out em {
    align-items: center !important;
    background: rgba(220, 38, 38, .09) !important;
    border: 1px solid rgba(220, 38, 38, .10) !important;
    border-radius: 999px !important;
    color: #c81e1e !important;
    display: inline-flex !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: .2rem .55rem !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .football-commentary-card__head,
html[data-theme="dark"][data-kisure-design="865"] body .football-commentary-person-row,
html[data-theme="dark"][data-kisure-design="865"] body .football-commentary-substitution,
html[data-theme="dark"][data-kisure-design="865"] body .football-commentary-substitution .football-commentary-person,
html[data-theme="dark"][data-kisure-design="865"] body .football-commentary-card .football-commentary-person {
    background: transparent !important;
    background-image: none !important;
    border-color: rgba(255,255,255,.10) !important;
    box-shadow: none !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .football-commentary-card :where(.football-commentary-person strong,.football-commentary-player-name,.football-commentary-player-name strong,.football-commentary-card__head strong) {
    color: #f4f8f8 !important;
    -webkit-text-fill-color: #f4f8f8 !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .football-commentary-card :where(.football-commentary-person small,.football-commentary-card__body) {
    color: #d2dddd !important;
    -webkit-text-fill-color: #d2dddd !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .football-commentary-person.is-out em {
    background: rgba(239, 68, 68, .16) !important;
    border-color: rgba(248, 113, 113, .18) !important;
    color: #ff8d86 !important;
    -webkit-text-fill-color: #ff8d86 !important;
}

/* --------------------------------------------------------------------------
 * Match hero: team crests +20% while keeping the existing FE884 geometry.
 * Desktop 40 -> 48px; tablet 44 -> 53px; phone 36 -> 43px.
 * -------------------------------------------------------------------------- */
@media (min-width: 901px) {
    html body.site-body main.football-page .article-match-scoreboard--match-page .article-match-scoreboard__crest,
    html body.site-body main.football-page .article-match-scoreboard--match-page .article-match-scoreboard__crest img {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page .article-match-scoreboard__main {
        grid-template-columns: minmax(0,1fr) 50px minmax(108px,auto) 50px minmax(0,1fr) !important;
    }
}
@media (min-width: 561px) and (max-width: 900px) {
    html body.site-body main.football-page .article-match-scoreboard--match-page .article-match-scoreboard__crest,
    html body.site-body main.football-page .article-match-scoreboard--match-page .article-match-scoreboard__crest img {
        width: 53px !important;
        height: 53px !important;
        min-width: 53px !important;
        min-height: 53px !important;
        max-width: 53px !important;
        max-height: 53px !important;
    }
}
@media (max-width: 560px) {
    html body.site-body main.football-page .article-match-scoreboard--match-page .article-match-scoreboard__crest,
    html body.site-body main.football-page .article-match-scoreboard--match-page .article-match-scoreboard__crest img {
        width: 43px !important;
        height: 43px !important;
        min-width: 43px !important;
        min-height: 43px !important;
        max-width: 43px !important;
        max-height: 43px !important;
    }
}

/* --------------------------------------------------------------------------
 * Team logos: never crop a crest into a circle. Team artwork must remain fully
 * visible with natural transparency across Match Centre, fixtures, tables,
 * lineups, history, transfer records and score strips.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body :where(
    .article-match-scoreboard__crest,
    .football-prematch-team__crest,
    .football-lineup-card__crest,
    .football-match-history-h2h-v618__crest,
    .football-player-transfer-record__crest,
    .football-two-leg-modal__crest,
    .football-header-ticker__crest,
    .news-card-match-strip__crest,
    .ks-team__logo-wrap
) {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}
html[data-kisure-design="865"] body :where(
    .article-match-scoreboard__crest img,
    .football-prematch-team__crest img,
    .football-lineup-card__crest img,
    .football-match-history-h2h-v618__crest img,
    .football-player-transfer-record__crest img,
    .football-two-leg-modal__crest img,
    .football-header-ticker__crest img,
    .news-card-match-strip__crest img,
    .football-team-logo,
    .ks-team__logo,
    .ks-stadium-team-logo,
    .ks-transfer-team-logo,
    .football-schedule-row__team img
) {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: contain !important;
    object-position: center !important;
    overflow: visible !important;
}

/* --------------------------------------------------------------------------
 * Fixture competition flags: circular, edge-to-edge flag crop, no white frame.
 * Applied to the shared fixture competition identity so every fixture surface
 * gets the same treatment.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body .football-competition-identity__flag {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    display: inline-flex !important;
    flex: 0 0 30px !important;
    height: 30px !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 0 !important;
    width: 30px !important;
}
html[data-kisure-design="865"] body .football-competition-identity__flag-image {
    background: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    display: block !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .football-competition-identity__flag,
html[data-theme="dark"][data-kisure-design="865"] body .football-competition-identity__flag-image {
    background: transparent !important;
}
@media (max-width: 640px) {
    html[data-kisure-design="865"] body .football-competition-identity__flag {
        flex-basis: 26px !important;
        height: 26px !important;
        width: 26px !important;
    }
}

/* --------------------------------------------------------------------------
 * Footer copyright: explicit contrast in both themes.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body .footer-bottom,
html[data-kisure-design="865"] body .footer-bottom > div:first-child {
    color: #f4ffff !important;
    -webkit-text-fill-color: #f4ffff !important;
    opacity: 1 !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .footer-bottom,
html[data-theme="dark"][data-kisure-design="865"] body .footer-bottom > div:first-child {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Catch shared/older football crest wrappers not enumerated above. Crests are
 * identity artwork, not avatars: never circle-crop them. */
html[data-kisure-design="865"] body :where(
    [class*="football-"][class*="crest"],
    [class*="ks-"][class*="crest"],
    [class*="news-"][class*="crest"]
) {
    border-radius: 0 !important;
    overflow: visible !important;
}
html[data-kisure-design="865"] body :where(
    [class*="football-"][class*="crest"],
    [class*="ks-"][class*="crest"],
    [class*="news-"][class*="crest"]
) img {
    border-radius: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
}
/* ===== END kisure-v890-visual-polish.css ===== */

/* ===== BEGIN kisure-v891-structure-followups.css | sha256=31de465bf069a5cb41634806748edf02ec80a2c3c658fe2221d306f7eef81326 ===== */
/* KISURE FE891 — structural follow-ups.
 * Scope: lineup crest cleanup, club sidebar simplification, themed club/player
 * hero surfaces, responsive auth layout, and player honours promoted into the
 * main content stream.
 */

/* --------------------------------------------------------------------------
 * Match lineups: remove the extra square outline around team crests.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body .football-lineup-card__crest,
html[data-kisure-design="865"] body .football-lineup-card__crest::before,
html[data-kisure-design="865"] body .football-lineup-card__crest::after {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}
html[data-kisure-design="865"] body .football-lineup-card__crest {
    border-radius: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
}
html[data-kisure-design="865"] body .football-lineup-card__crest img {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* --------------------------------------------------------------------------
 * Club sidebar competitions: remove boxed list-item outlines for a cleaner,
 * lighter list treatment in both themes.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body .football-club-competitions-panel .football-link-list--compact {
    display: grid !important;
    gap: 0 !important;
}
html[data-kisure-design="865"] body .football-club-competitions-panel .football-link-list--compact > span {
    align-items: start !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    gap: .18rem !important;
    padding: .78rem 0 !important;
}
html[data-kisure-design="865"] body .football-club-competitions-panel .football-link-list--compact > span:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}
html[data-kisure-design="865"] body .football-club-competitions-panel .football-link-list--compact > span:first-child {
    padding-top: .2rem !important;
}
html[data-kisure-design="865"] body .football-club-competitions-panel .football-link-list--compact > span > strong {
    color: #10202a !important;
}
html[data-kisure-design="865"] body .football-club-competitions-panel .football-link-list--compact > span > em {
    color: #5c6d76 !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .football-club-competitions-panel .football-link-list--compact > span {
    border-bottom-color: rgba(255, 255, 255, .10) !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .football-club-competitions-panel .football-link-list--compact > span > strong {
    color: #f4f8f8 !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .football-club-competitions-panel .football-link-list--compact > span > em {
    color: #aebfc2 !important;
}

/* --------------------------------------------------------------------------
 * Club + player heroes: use the saved club/team colour when present rather
 * than a generic neutral card.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body :is(.football-club-hero--v337, .football-player-hero--v335) {
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 14%, transparent) 0%, transparent 38%),
        linear-gradient(135deg,
            color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 10%, #ffffff) 0%,
            #ffffff 54%,
            color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 7%, #f2fbfb) 100%) !important;
    border: 1px solid color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 26%, rgba(15, 23, 42, .08)) !important;
    box-shadow: none !important;
}
html[data-kisure-design="865"] body :is(.football-club-hero--v337, .football-player-hero--v335) :is(.football-club-hero__badge, .football-player-hero__photo) {
    background: color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 10%, rgba(255, 255, 255, .92)) !important;
    border: 1px solid color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 22%, rgba(15, 23, 42, .08)) !important;
    box-shadow: none !important;
}
html[data-kisure-design="865"] body :is(.football-club-hero--v337, .football-player-hero--v335) .site-kicker {
    color: color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 88%, #063534) !important;
}
html[data-kisure-design="865"] body :is(.football-club-hero--v337, .football-player-hero--v335) :is(.football-club-hero__quick span, .football-player-hero__quick span) {
    background: color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 9%, #ffffff) !important;
    border-color: color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 18%, rgba(15, 23, 42, .08)) !important;
    box-shadow: none !important;
}
html[data-kisure-design="865"] body :is(.football-club-hero--v337, .football-player-hero--v335) :is(.football-club-hero__quick small, .football-player-hero__quick small) {
    color: color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 38%, #4f5f67) !important;
}
html[data-theme="dark"][data-kisure-design="865"] body :is(.football-club-hero--v337, .football-player-hero--v335) {
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 22%, transparent) 0%, transparent 36%),
        linear-gradient(145deg,
            color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 18%, #111516) 0%,
            #121212 56%,
            color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 10%, #171919) 100%) !important;
    border-color: color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 34%, rgba(255,255,255,.10)) !important;
}
html[data-theme="dark"][data-kisure-design="865"] body :is(.football-club-hero--v337, .football-player-hero--v335) :is(.football-club-hero__badge, .football-player-hero__photo) {
    background: color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 14%, #151515) !important;
    border-color: color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 28%, rgba(255,255,255,.08)) !important;
}
html[data-theme="dark"][data-kisure-design="865"] body :is(.football-club-hero--v337, .football-player-hero--v335) :is(.football-club-hero__quick span, .football-player-hero__quick span) {
    background: color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 11%, #181818) !important;
    border-color: color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 24%, rgba(255,255,255,.10)) !important;
}
html[data-theme="dark"][data-kisure-design="865"] body :is(.football-club-hero--v337, .football-player-hero--v335) :is(.football-club-hero__quick strong, .football-player-hero__quick strong) {
    color: #ffffff !important;
}
html[data-theme="dark"][data-kisure-design="865"] body :is(.football-club-hero--v337, .football-player-hero--v335) :is(.football-club-hero__quick small, .football-player-hero__quick small) {
    color: color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 34%, #c1cdcd) !important;
}
html[data-theme="dark"][data-kisure-design="865"] body :is(.football-club-hero--v337, .football-player-hero--v335) .site-kicker {
    color: color-mix(in srgb, var(--ks-hero-accent, #0B9CA0) 72%, #8ff3ef) !important;
}

/* --------------------------------------------------------------------------
 * Player page honours now live in the main content stack. Keep the section
 * visually wide and use the sidebar for ads instead.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body .football-player-main-stack .football-player-honours-panel {
    position: static !important;
}
html[data-kisure-design="865"] body .football-player-sidebar-ad {
    overflow: hidden !important;
}
html[data-kisure-design="865"] body .football-player-sidebar-ad .football-sidebar-ad-slot {
    min-height: 250px !important;
}

/* --------------------------------------------------------------------------
 * Public auth: hide the decorative intro panel on tablet/mobile so the form is
 * the only focus and fills the viewport cleanly.
 * -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    html[data-kisure-design="865"] body .ks-member-auth__intro {
        display: none !important;
    }
    html[data-kisure-design="865"] body .ks-member-auth,
    html[data-kisure-design="865"] body .ks-member-auth__shell,
    html[data-kisure-design="865"] body .ks-member-auth__panel-wrap {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    html[data-kisure-design="865"] body .ks-member-auth__panel,
    html[data-kisure-design="865"] body .ks-member-auth__panel-wrap {
        max-width: 100% !important;
        width: 100% !important;
    }
}
/* ===== END kisure-v891-structure-followups.css ===== */

/* ===== BEGIN kisure-v892-member-experience.css | sha256=d0a590f23a61b747b76cda18cf4e41a46cb68aa2acb24455292c8251ccc7e63d ===== */
/* KISURE FE892 — member experience, prediction balance and media polish. */

/* Prediction model sidebar: perfectly balanced icon/text rows. */
html[data-kisure-design="865"] body .football-prediction-model-panel {
    box-sizing: border-box !important;
}
html[data-kisure-design="865"] body .football-prediction-model-panel > :is(.site-kicker, h3, .football-link-list) {
    width: 100% !important;
    max-width: 100% !important;
}
html[data-kisure-design="865"] body .football-prediction-model-panel .football-link-list {
    display: grid !important;
    gap: .55rem !important;
    margin: .8rem 0 0 !important;
    padding: 0 !important;
}
html[data-kisure-design="865"] body .football-prediction-model-panel .football-link-list > span {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: .8rem !important;
    min-height: 58px !important;
    padding: .68rem .9rem !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    line-height: 1.35 !important;
    text-align: left !important;
    width: 100% !important;
}
html[data-kisure-design="865"] body .football-prediction-model-panel .football-link-list > span > i {
    display: inline-grid !important;
    place-items: center !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: var(--ks-very-light, #E8F7F7) !important;
    color: #087C78 !important;
    font-size: .96rem !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .football-prediction-model-panel .football-link-list > span > i {
    background: rgba(11, 156, 160, .17) !important;
    color: #77dddb !important;
}
@media (max-width: 640px) {
    html[data-kisure-design="865"] body .football-prediction-model-panel .football-link-list > span {
        grid-template-columns: 34px minmax(0, 1fr) !important;
        gap: .68rem !important;
        min-height: 52px !important;
        padding: .6rem .72rem !important;
    }
    html[data-kisure-design="865"] body .football-prediction-model-panel .football-link-list > span > i {
        width: 34px !important;
        height: 34px !important;
    }
}

/* Follow controls */
.ks-member-follow-form { display:inline-flex; margin:0; }
.ks-member-follow-button { gap:.48rem !important; white-space:nowrap; }
.ks-member-follow-button.is-following {
    background: color-mix(in srgb, #0B9CA0 12%, transparent) !important;
    border-color: color-mix(in srgb, #0B9CA0 40%, transparent) !important;
    color: #087C78 !important;
}
html[data-theme="dark"] .ks-member-follow-button.is-following { color:#8df3ef !important; }
.football-player-hero__actions,
.football-league-hero__actions { margin-top:.85rem; display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; }

/* League-logo extracted accent. Keep Kisure surfaces brand-led while allowing
   competition identity to tint the local hero/header edge. */
html[data-kisure-design="865"] body [data-kisure-competition-themed="1"] {
    --ks-competition-accent: #0B9CA0;
}
html[data-kisure-design="865"] body .football-league-hero[data-kisure-competition-themed="1"] {
    border-color: color-mix(in srgb, var(--ks-competition-accent) 36%, rgba(15,23,42,.12)) !important;
    box-shadow: inset 4px 0 0 var(--ks-competition-accent) !important;
}
html[data-kisure-design="865"] body .football-schedule-competition[data-kisure-competition-themed="1"] > .football-schedule-competition__head {
    box-shadow: inset 4px 0 0 color-mix(in srgb, var(--ks-competition-accent) 70%, #ffffff) !important;
}
html[data-kisure-design="865"] body .football-prediction-league-group[data-kisure-competition-themed="1"],
html[data-kisure-design="865"] body .football-header-league[data-kisure-competition-themed="1"] {
    --ks-league-accent: var(--ks-competition-accent);
}

/* Player sidebar ad requested at 350px. */
html[data-kisure-design="865"] body .football-player-sidebar-ad .football-sidebar-ad-slot {
    min-height: 350px !important;
    display: grid !important;
    align-items: start !important;
}

/* My Kisure dashboard */
.ks-member-dashboard {
    display:grid;
    gap:1rem;
    padding-top:1.2rem;
    padding-bottom:2.5rem;
}
.ks-member-dashboard__notice {
    display:flex; align-items:center; gap:.55rem;
    padding:.8rem 1rem; border-radius:14px;
    background:#E8F7F7; color:#087C78; font-weight:800;
}
.ks-member-dashboard__hero {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(320px,520px);
    align-items:center;
    gap:1.2rem;
    padding:clamp(1.2rem,2.2vw,2rem);
    border:1px solid rgba(11,156,160,.18);
    border-radius:24px;
    background:linear-gradient(135deg,#ffffff 0%,#f7fbfb 58%,#E8F7F7 100%);
}
.ks-member-dashboard__hero h1 { margin:.2rem 0 .45rem; font-size:clamp(2rem,4vw,3.5rem); line-height:1; }
.ks-member-dashboard__hero p { max-width:66ch; margin:0; color:var(--text-soft,#627078); }
.ks-member-dashboard__hero-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.65rem; }
.ks-member-dashboard__hero-stats span {
    display:grid; gap:.15rem; min-width:0; padding:.8rem;
    border:1px solid rgba(11,156,160,.14); border-radius:16px; background:#fff; text-align:center;
}
.ks-member-dashboard__hero-stats strong { font-size:1.35rem; color:#087C78; }
.ks-member-dashboard__hero-stats small { color:#66767c; font-weight:800; }
.ks-member-dashboard__tabs { display:flex; gap:.45rem; flex-wrap:wrap; }
.ks-member-dashboard__tabs a {
    padding:.62rem .9rem; border-radius:999px; border:1px solid rgba(11,156,160,.18);
    background:#fff; color:#173038; font-weight:800;
}
.ks-member-dashboard__layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,360px); gap:1rem; align-items:start; }
.ks-member-dashboard__main,.ks-member-dashboard__side { display:grid; gap:1rem; min-width:0; }
.ks-member-dashboard__side { position:sticky; top:110px; }
.ks-member-follow-groups { display:grid; gap:1rem; }
.ks-member-follow-group { display:grid; gap:.6rem; }
.ks-member-follow-group > header { display:flex; align-items:center; gap:.55rem; padding:0 .1rem; }
.ks-member-follow-group > header > i { color:#0B9CA0; }
.ks-member-follow-group > header > span { margin-left:auto; color:#6c7c82; font-weight:800; }
.ks-member-follow-list { display:grid; gap:.5rem; }
.ks-member-follow-row {
    display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.8rem;
    padding:.62rem .72rem; border:1px solid rgba(15,23,42,.08); border-radius:14px; background:#fff;
}
.ks-member-follow-row__identity { display:flex; align-items:center; gap:.72rem; min-width:0; color:inherit; }
.ks-member-follow-row__identity strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ks-member-follow-row__logo { width:42px; height:42px; flex:0 0 42px; display:grid; place-items:center; }
.ks-member-follow-row__logo img { max-width:100%; max-height:100%; object-fit:contain; }
.ks-member-follow-row__logo i { color:#0B9CA0; }
.ks-member-unfollow {
    display:inline-flex; align-items:center; gap:.38rem; min-height:36px; padding:.45rem .65rem;
    border:1px solid rgba(11,156,160,.22); border-radius:999px; background:#E8F7F7; color:#087C78; font-weight:800; cursor:pointer;
}
.ks-member-upcoming-list { display:grid; gap:.5rem; }
.ks-member-upcoming-row {
    display:grid; grid-template-columns:minmax(0,1fr) auto 20px; align-items:center; gap:.8rem;
    padding:.82rem .9rem; border:1px solid rgba(15,23,42,.08); border-radius:14px; background:#fff; color:inherit;
}
.ks-member-upcoming-row > div { min-width:0; display:grid; gap:.18rem; }
.ks-member-upcoming-row small { color:#087C78; font-weight:850; }
.ks-member-upcoming-row strong { font-size:.96rem; line-height:1.25; }
.ks-member-upcoming-row strong em { font-style:normal; color:#7a898f; font-weight:700; }
.ks-member-upcoming-row time { white-space:nowrap; font-weight:850; color:#263a41; }
.ks-member-reminder-state { display:flex; align-items:center; gap:.75rem; margin-bottom:.9rem; padding:.78rem .9rem; border-radius:14px; }
.ks-member-reminder-state > span { width:40px; height:40px; display:grid; place-items:center; border-radius:50%; flex:0 0 40px; }
.ks-member-reminder-state > div { min-width:0; }
.ks-member-reminder-state strong { display:block; }
.ks-member-reminder-state p { margin:.12rem 0 0; color:#65757b; font-size:.84rem; line-height:1.35; }
.ks-member-reminder-state.is-ready { background:#E8F7F7; }
.ks-member-reminder-state.is-ready > span { background:#0B9CA0; color:#fff; }
.ks-member-reminder-state.is-pending { background:#f4f5f5; }
.ks-member-reminder-state.is-pending > span { background:#26373d; color:#fff; }
.ks-member-empty { display:flex; align-items:center; gap:.8rem; padding:1rem; border:1px dashed rgba(11,156,160,.28); border-radius:16px; }
.ks-member-empty > i { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:#E8F7F7; color:#087C78; }
.ks-member-empty p { margin:.18rem 0 0; color:#66777d; }
.ks-member-preferences form { display:grid; gap:.72rem; margin-top:.85rem; }
.ks-member-preferences label { display:grid; gap:.32rem; }
.ks-member-preferences label > span { font-size:.78rem; font-weight:850; color:#4c5d63; }
.ks-member-preferences select {
    width:100%; min-height:42px; padding:.55rem .7rem; border:1px solid rgba(15,23,42,.13); border-radius:11px; background:#fff; color:#17282f;
}
.ks-member-preferences__toggle { grid-template-columns:minmax(0,1fr) auto !important; align-items:center; gap:.7rem !important; }
.ks-member-preferences__toggle span { display:grid; gap:.15rem; }
.ks-member-preferences__toggle span b { color:#17282f; }
.ks-member-preferences__toggle span small { color:#708087; font-weight:600; }
.ks-member-preferences__toggle input[type="checkbox"] { width:38px; height:20px; accent-color:#0B9CA0; }
.ks-member-preferences__save { width:100%; margin-top:.2rem; }
.ks-member-dashboard__account-card h3 { overflow-wrap:anywhere; }

html[data-theme="dark"] .ks-member-dashboard__hero {
    background:linear-gradient(135deg,#171717 0%,#1b1f1f 62%,#142929 100%);
    border-color:rgba(11,156,160,.28);
}
html[data-theme="dark"] .ks-member-dashboard__hero p,
html[data-theme="dark"] .ks-member-follow-group > header > span,
html[data-theme="dark"] .ks-member-reminder-state p,
html[data-theme="dark"] .ks-member-empty p { color:#aab9bc; }
html[data-theme="dark"] .ks-member-dashboard__hero-stats span,
html[data-theme="dark"] .ks-member-dashboard__tabs a,
html[data-theme="dark"] .ks-member-follow-row,
html[data-theme="dark"] .ks-member-upcoming-row,
html[data-theme="dark"] .ks-member-preferences select {
    background:#1c1c1c; border-color:#333; color:#f7fbfb;
}
html[data-theme="dark"] .ks-member-dashboard__hero-stats strong { color:#72dfdc; }
html[data-theme="dark"] .ks-member-dashboard__hero-stats small,
html[data-theme="dark"] .ks-member-upcoming-row time,
html[data-theme="dark"] .ks-member-preferences label > span,
html[data-theme="dark"] .ks-member-preferences__toggle span b { color:#e3eded; }
html[data-theme="dark"] .ks-member-reminder-state.is-ready { background:#153332; }
html[data-theme="dark"] .ks-member-reminder-state.is-pending { background:#202020; }
html[data-theme="dark"] .ks-member-empty > i { background:#153332; color:#84e7e4; }
html[data-theme="dark"] .ks-member-dashboard__notice { background:#153332; color:#9bf2ee; }

@media (max-width: 1024px) {
    .ks-member-dashboard__hero { grid-template-columns:1fr; }
    .ks-member-dashboard__layout { grid-template-columns:1fr; }
    .ks-member-dashboard__side { position:static; }
}
@media (max-width: 640px) {
    .ks-member-dashboard { padding-top:.75rem; gap:.75rem; }
    .ks-member-dashboard__hero { border-radius:18px; padding:1rem; }
    .ks-member-dashboard__hero-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .ks-member-dashboard__tabs { overflow-x:auto; flex-wrap:nowrap; scrollbar-width:none; }
    .ks-member-dashboard__tabs a { white-space:nowrap; }
    .ks-member-follow-row { grid-template-columns:minmax(0,1fr) auto; }
    .ks-member-unfollow span { display:none; }
    .ks-member-upcoming-row { grid-template-columns:minmax(0,1fr) 18px; }
    .ks-member-upcoming-row time { grid-column:1; font-size:.78rem; }
    .ks-member-upcoming-row > i { grid-column:2; grid-row:1 / span 2; }
}
.ks-member-alert-enable { margin-left:auto; flex:0 0 auto; }
@media (max-width:640px){ .ks-member-reminder-state { align-items:flex-start; flex-wrap:wrap; } .ks-member-alert-enable { margin-left:52px; } }
/* ===== END kisure-v892-member-experience.css ===== */

/* ===== BEGIN kisure-v893-solid-entity-media.css | sha256=554ecb379d97d3457560d956a1b9f3d26b47703fe77bfcf72793c0375f1501a6 ===== */
/* KISURE FE893 — solid entity colours + player media presentation.
 * This layer intentionally overrides FE891/FE892 tinted/gradient entity heroes
 * with solid identity colours while preserving the existing page structures.
 */

/* --------------------------------------------------------------------------
 * Shared solid identity hero treatment: club, player, coach, referee.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body :is(
    .football-club-hero--v337,
    .football-player-hero--v335
) {
    background: var(--ks-hero-accent, #087C78) !important;
    background-image: none !important;
    border-color: var(--ks-hero-border, rgba(255,255,255,.24)) !important;
    color: var(--ks-hero-on-color, #FFFFFF) !important;
    box-shadow: none !important;
}

html[data-kisure-design="865"] body :is(
    .football-club-hero--v337,
    .football-player-hero--v335
) :is(h1, h2, h3, strong, .site-kicker, .football-page-live-indicator) {
    color: var(--ks-hero-on-color, #FFFFFF) !important;
}

html[data-kisure-design="865"] body :is(
    .football-club-hero--v337,
    .football-player-hero--v335
) :is(p, small) {
    color: var(--ks-hero-muted, rgba(255,255,255,.78)) !important;
}

html[data-kisure-design="865"] body :is(
    .football-club-hero--v337,
    .football-player-hero--v335
) :is(
    .football-club-hero__badge,
    .football-player-hero__photo,
    .football-club-hero__quick > span,
    .football-player-hero__quick > span,
    .football-player-team-link
) {
    background: var(--ks-hero-panel, rgba(0,0,0,.18)) !important;
    background-image: none !important;
    border-color: var(--ks-hero-border, rgba(255,255,255,.24)) !important;
    box-shadow: none !important;
}

html[data-kisure-design="865"] body :is(
    .football-club-hero--v337,
    .football-player-hero--v335
) .site-button--ghost {
    background: transparent !important;
    border-color: var(--ks-hero-border, rgba(255,255,255,.38)) !important;
    color: var(--ks-hero-on-color, #FFFFFF) !important;
}

html[data-kisure-design="865"] body :is(
    .football-club-hero--v337,
    .football-player-hero--v335
) .site-button--ghost:hover {
    background: var(--ks-hero-panel, rgba(0,0,0,.18)) !important;
}

html[data-theme="dark"][data-kisure-design="865"] body :is(
    .football-club-hero--v337,
    .football-player-hero--v335
) {
    background: var(--ks-hero-accent, #087C78) !important;
    background-image: none !important;
}

/* Keep crests/portraits visually clean on the solid colour surface. */
html[data-kisure-design="865"] body .football-club-hero__badge img,
html[data-kisure-design="865"] body .football-player-hero__photo img,
html[data-kisure-design="865"] body .football-player-team-link img {
    background: transparent !important;
    object-fit: contain !important;
}

/* --------------------------------------------------------------------------
 * League / competition identity: extracted logo colour becomes the actual
 * solid hero/header surface, not merely a border accent.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body .football-league-hero[data-kisure-competition-themed="1"] {
    background: var(--ks-competition-accent, #087C78) !important;
    background-image: none !important;
    border-color: var(--ks-competition-border, rgba(255,255,255,.24)) !important;
    color: var(--ks-competition-on-accent, #FFFFFF) !important;
    box-shadow: none !important;
}

html[data-kisure-design="865"] body .football-league-hero[data-kisure-competition-themed="1"] :is(
    h1, h2, h3, strong, .site-kicker, .football-league-hero__country,
    .football-league-hero__country span, .football-page-live-indicator
) {
    color: var(--ks-competition-on-accent, #FFFFFF) !important;
}

html[data-kisure-design="865"] body .football-league-hero[data-kisure-competition-themed="1"] :is(p, small) {
    color: var(--ks-competition-muted, rgba(255,255,255,.78)) !important;
}

html[data-kisure-design="865"] body .football-league-hero[data-kisure-competition-themed="1"] .football-league-hero__meta > span,
html[data-kisure-design="865"] body .football-league-hero[data-kisure-competition-themed="1"] .football-season-switcher--dropdown {
    background: var(--ks-competition-panel, rgba(0,0,0,.18)) !important;
    border-color: var(--ks-competition-border, rgba(255,255,255,.24)) !important;
    color: var(--ks-competition-on-accent, #FFFFFF) !important;
    box-shadow: none !important;
}

html[data-kisure-design="865"] body .football-league-hero[data-kisure-competition-themed="1"] .football-season-switcher--dropdown label {
    color: var(--ks-competition-on-accent, #FFFFFF) !important;
}

html[data-kisure-design="865"] body .football-league-hero[data-kisure-competition-themed="1"] .football-season-switcher--dropdown select {
    background: var(--ks-competition-on-accent, #FFFFFF) !important;
    color: var(--ks-competition-accent, #087C78) !important;
}

/* Fixture competition headings also use their league/logo colour as a solid
 * identity strip, with JS supplying readable foreground contrast. */
html[data-kisure-design="865"] body .football-schedule-competition[data-kisure-competition-themed="1"] > .football-schedule-competition__head {
    background: var(--ks-competition-accent, #087C78) !important;
    background-image: none !important;
    border-color: var(--ks-competition-accent, #087C78) !important;
    box-shadow: none !important;
    color: var(--ks-competition-on-accent, #FFFFFF) !important;
}
html[data-kisure-design="865"] body .football-schedule-competition[data-kisure-competition-themed="1"] > .football-schedule-competition__head * {
    color: inherit !important;
}

/* --------------------------------------------------------------------------
 * Stadium hero: use home-team colour when available, otherwise Kisure dark.
 * The image remains photographic; the information half is solid identity.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body .ks-stadium-hero__body {
    background: var(--ks-hero-accent, #087C78) !important;
    background-image: none !important;
    color: var(--ks-hero-on-color, #FFFFFF) !important;
}
html[data-kisure-design="865"] body .ks-stadium-hero__body :is(h1, h2, h3, strong, .ks-stadium-kicker) {
    color: var(--ks-hero-on-color, #FFFFFF) !important;
}
html[data-kisure-design="865"] body .ks-stadium-hero__body :is(p, small, .ks-stadium-location) {
    color: var(--ks-hero-muted, rgba(255,255,255,.78)) !important;
}
html[data-kisure-design="865"] body .ks-stadium-hero__body :is(.ks-stadium-facts > div, .ks-stadium-address) {
    background: var(--ks-hero-panel, rgba(0,0,0,.18)) !important;
    border-color: rgba(255,255,255,.22) !important;
    box-shadow: none !important;
}

/* Prediction model panel: preserve FE892 geometry and make alignment explicit. */
html[data-kisure-design="865"] body .football-prediction-model-panel .football-link-list > span {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    align-items: center !important;
}
html[data-kisure-design="865"] body .football-prediction-model-panel .football-link-list > span > i {
    align-self: center !important;
    justify-self: center !important;
}

@media (max-width: 640px) {
    html[data-kisure-design="865"] body .football-prediction-model-panel .football-link-list > span {
        grid-template-columns: 34px minmax(0, 1fr) !important;
    }
}
/* ===== END kisure-v893-solid-entity-media.css ===== */

/* ===== BEGIN kisure-v895-solid-identity-soft-trim.css | sha256=2117414f1e300b55367ff3689c843574fec5d487323c4263a8127afbafc83384 ===== */
/* KISURE FE894 — final solid entity identity + transparent portrait integration.
 * Loaded after FE893 so old light/dark profile skins cannot recolour entity heroes.
 */

/* --------------------------------------------------------------------------
 * Solid entity identity: the same saved/extracted colour owns light + dark.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body [data-kisure-solid-hero="club"].football-club-hero,
html[data-kisure-design="865"] body [data-kisure-solid-hero="player"].football-player-hero,
html[data-kisure-design="865"] body [data-kisure-solid-hero="coach"].football-player-hero,
html[data-kisure-design="865"] body [data-kisure-solid-hero="referee"].football-player-hero,
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-solid-hero="club"].football-club-hero,
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-solid-hero="player"].football-player-hero,
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-solid-hero="coach"].football-player-hero,
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-solid-hero="referee"].football-player-hero {
    background: var(--ks-hero-accent, #087C78) !important;
    background-color: var(--ks-hero-accent, #087C78) !important;
    background-image: none !important;
    border-color: var(--ks-hero-border, rgba(255,255,255,.24)) !important;
    color: var(--ks-hero-on-color, #FFFFFF) !important;
    box-shadow: none !important;
}

html[data-kisure-design="865"] body [data-kisure-solid-hero] :is(
    h1, h2, h3, strong, b, .site-kicker, .football-page-live-indicator,
    .football-player-team-link, .football-player-team-link span,
    .football-hero__actions .site-button, .football-hero__actions .site-button i
) {
    color: var(--ks-hero-on-color, #FFFFFF) !important;
}

html[data-kisure-design="865"] body [data-kisure-solid-hero] :is(
    p, small, .football-player-hero__content > p, .football-club-hero__content > p
) {
    color: var(--ks-hero-muted, rgba(255,255,255,.80)) !important;
}

html[data-kisure-design="865"] body [data-kisure-solid-hero] :is(
    .football-club-hero__quick > span,
    .football-player-hero__quick > span,
    .football-player-team-link,
    .site-button--ghost,
    .ks-member-follow-button
) {
    background: var(--ks-hero-panel, rgba(0,0,0,.18)) !important;
    background-image: none !important;
    border-color: var(--ks-hero-border, rgba(255,255,255,.24)) !important;
    box-shadow: none !important;
}

/* Portrait container must become part of the solid hero. No white card or ring. */
html[data-kisure-design="865"] body [data-kisure-solid-hero="player"] .football-player-hero__photo,
html[data-kisure-design="865"] body [data-kisure-solid-hero="coach"] .football-player-hero__photo,
html[data-kisure-design="865"] body [data-kisure-solid-hero="referee"] .football-player-hero__photo {
    background: var(--ks-hero-accent, #087C78) !important;
    background-color: var(--ks-hero-accent, #087C78) !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
}

html[data-kisure-design="865"] body [data-kisure-solid-hero="player"] .football-player-hero__photo img,
html[data-kisure-design="865"] body [data-kisure-solid-hero="coach"] .football-player-hero__photo img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    object-fit: contain !important;
    object-position: center bottom !important;
}


/* --------------------------------------------------------------------------
 * League/competition hero: solid extracted league colour in every theme.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body [data-kisure-solid-hero="league"].football-league-hero,
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-solid-hero="league"].football-league-hero {
    background: var(--ks-competition-accent, #087C78) !important;
    background-color: var(--ks-competition-accent, #087C78) !important;
    background-image: none !important;
    border-color: var(--ks-competition-border, rgba(255,255,255,.24)) !important;
    color: var(--ks-competition-on-accent, #FFFFFF) !important;
    box-shadow: none !important;
}

html[data-kisure-design="865"] body [data-kisure-solid-hero="league"].football-league-hero :is(
    h1, h2, h3, strong, .site-kicker, .football-page-live-indicator
) {
    color: var(--ks-competition-on-accent, #FFFFFF) !important;
}

html[data-kisure-design="865"] body [data-kisure-solid-hero="league"].football-league-hero :is(p, small) {
    color: var(--ks-competition-muted, rgba(255,255,255,.80)) !important;
}

/* Fix the country / World badge that became pale-on-pale on dark league heroes. */
html[data-kisure-design="865"] body [data-kisure-solid-hero="league"] .football-league-hero__country {
    display: inline-flex !important;
    align-items: center !important;
    gap: .42rem !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: .12rem 0 .28rem !important;
    padding: .34rem .62rem !important;
    border: 1px solid var(--ks-competition-border, rgba(255,255,255,.24)) !important;
    border-radius: 999px !important;
    background: var(--ks-competition-panel, rgba(0,0,0,.18)) !important;
    color: var(--ks-competition-on-accent, #FFFFFF) !important;
    box-shadow: none !important;
}
html[data-kisure-design="865"] body [data-kisure-solid-hero="league"] .football-league-hero__country span {
    color: var(--ks-competition-on-accent, #FFFFFF) !important;
    opacity: 1 !important;
}
html[data-kisure-design="865"] body [data-kisure-solid-hero="league"] .football-league-hero__country img {
    flex: 0 0 auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html[data-kisure-design="865"] body [data-kisure-solid-hero="league"] :is(
    .football-league-hero__meta > span,
    .football-season-switcher--dropdown,
    .football-hero__actions .site-button,
    .ks-member-follow-button
) {
    border-color: var(--ks-competition-border, rgba(255,255,255,.24)) !important;
    box-shadow: none !important;
}

/* --------------------------------------------------------------------------
 * Stadium identity body: same solid home-team colour in light and dark.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body [data-kisure-solid-hero="stadium"] .ks-stadium-hero__body,
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-solid-hero="stadium"] .ks-stadium-hero__body {
    background: var(--ks-hero-accent, #087C78) !important;
    background-color: var(--ks-hero-accent, #087C78) !important;
    background-image: none !important;
}

/* --------------------------------------------------------------------------
 * Honours / competition assignments: main-column content, not sidebar cards.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body .football-player-main-stack > :is(
    .football-player-honours-panel,
    .football-coach-honours-panel,
    .football-referee-competitions-main
) {
    width: 100% !important;
    min-width: 0 !important;
    position: static !important;
}
html[data-kisure-design="865"] body :is(.football-coach-sidebar-ad, .football-referee-sidebar-ad) .football-sidebar-ad-slot {
    min-height: 250px !important;
}

/* --------------------------------------------------------------------------
 * Frontend logout: available in desktop settings and mobile drawer.
 * -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body .ks-ref-settings-panel__logout {
    margin: -.12rem 0 .34rem !important;
    padding: 0 .15rem .48rem !important;
    border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
}
html[data-kisure-design="865"] body .ks-ref-settings-panel__logout button {
    width: 100% !important;
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: .62rem !important;
    padding: .55rem .68rem !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #33454d !important;
    cursor: pointer !important;
    font: inherit !important;
    font-weight: 700 !important;
}
html[data-kisure-design="865"] body .ks-ref-settings-panel__logout button:hover {
    background: #E8F7F7 !important;
    color: #087C78 !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .ks-ref-settings-panel__logout {
    border-bottom-color: rgba(255,255,255,.10) !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .ks-ref-settings-panel__logout button {
    color: #EAF5F5 !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .ks-ref-settings-panel__logout button:hover {
    background: rgba(11,156,160,.16) !important;
    color: #8DE5E3 !important;
}
html[data-kisure-design="865"] body .ks-ref-mobile-logout {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}
html[data-kisure-design="865"] body .ks-ref-mobile-logout .ks-ref-mobile-setting {
    width: 100% !important;
    font: inherit !important;
    cursor: pointer !important;
}

@media (max-width: 760px) {
    html[data-kisure-design="865"] body [data-kisure-solid-hero="league"] .football-league-hero__country {
        padding: .3rem .54rem !important;
    }
}


/* KISURE FE895 — true solid identity surfaces + soft portrait integration.
 * Loaded after FE894. Keeps entity colour as the complete hero surface in
 * light and dark mode, and removes legacy charcoal/white inner profile cards.
 */

/* Entire identity hero is one solid colour. Legacy dark-mode profile card
 * rules must not paint a second rectangle inside player/coach/referee heroes. */
html[data-kisure-design="865"] body [data-kisure-solid-hero] :is(
    .football-player-hero__media,
    .football-player-hero__content,
    .football-club-hero__content,
    .football-standings-hero__title,
    .football-standings-hero__title > div
),
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-solid-hero] :is(
    .football-player-hero__media,
    .football-player-hero__content,
    .football-club-hero__content,
    .football-standings-hero__title,
    .football-standings-hero__title > div
) {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Keep quick facts/actions readable without breaking the solid-colour hero. */
html[data-kisure-design="865"] body [data-kisure-solid-hero] :is(
    .football-player-hero__quick,
    .football-club-hero__quick
) {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

html[data-kisure-design="865"] body [data-kisure-solid-hero] :is(
    .football-player-hero__quick > span,
    .football-club-hero__quick > span,
    .football-player-team-link,
    .football-hero__actions .site-button,
    .ks-member-follow-button
) {
    background: var(--ks-hero-panel, rgba(0,0,0,.18)) !important;
    border-color: var(--ks-hero-border, rgba(255,255,255,.24)) !important;
}

/* Portraits use transparent, softly feathered server variants. Do not add
 * white/charcoal backing cards or hard rings around the result. */
html[data-kisure-design="865"] body [data-kisure-solid-hero] .football-player-hero__photo,
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-solid-hero] .football-player-hero__photo {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}
html[data-kisure-design="865"] body [data-kisure-solid-hero] .football-player-hero__photo img {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    image-rendering: auto !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* Referee initials/photo placeholder stays integrated into the solid hero. */
html[data-kisure-design="865"] body [data-kisure-solid-hero="referee"] .football-player-hero__photo strong {
    color: var(--ks-hero-on-color, #fff) !important;
}

/* Competition and stadium identity surfaces stay solid in both themes. */
html[data-kisure-design="865"] body [data-kisure-solid-hero="league"].football-league-hero,
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-solid-hero="league"].football-league-hero {
    background: var(--ks-competition-accent, #087C78) !important;
    background-color: var(--ks-competition-accent, #087C78) !important;
    background-image: none !important;
}
html[data-kisure-design="865"] body [data-kisure-solid-hero="stadium"] .ks-stadium-hero__body,
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-solid-hero="stadium"] .ks-stadium-hero__body {
    background: var(--ks-hero-accent, #087C78) !important;
    background-color: var(--ks-hero-accent, #087C78) !important;
    background-image: none !important;
}
/* ===== END kisure-v895-solid-identity-soft-trim.css ===== */

/* ===== BEGIN kisure-v896-profile-readability.css | sha256=b76183ad41c5dfa9a9566e820e01d24850741c36fe2c4d14be51415064449cb7 ===== */
/* FE896: compact identity, accessible contrast, and unboxed prediction details. */
html[data-kisure-design="865"] body [data-kisure-solid-hero] :is(.football-player-hero__quick,.football-club-hero__quick) > span > :is(strong,small),
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-solid-hero] :is(.football-player-hero__quick,.football-club-hero__quick) > span > :is(strong,small) {
  color: var(--ks-hero-on-color,#fff) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--ks-hero-on-color,#fff) !important;
}
html[data-kisure-design="865"] body [data-kisure-solid-hero] :is(.football-player-hero__quick,.football-club-hero__quick) > span > small {
  color: var(--ks-hero-muted,rgba(255,255,255,.85)) !important;
  -webkit-text-fill-color: var(--ks-hero-muted,rgba(255,255,255,.85)) !important;
}
html[data-kisure-design="865"] body [data-kisure-solid-hero] .ks-member-follow-button :is(i,span),
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-solid-hero] .ks-member-follow-button :is(i,span) {
  color: var(--ks-hero-on-color,#fff) !important;
}
html[data-kisure-design="865"] body .football-prediction-model-panel .football-link-list,
html[data-kisure-design="865"] body .football-prediction-model-panel .football-link-list > span,
html[data-kisure-design="865"] body .football-prediction-detail-page .football-side-panel .football-link-list,
html[data-kisure-design="865"] body .football-prediction-detail-page .football-side-panel .football-link-list > span {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}
html[data-theme="dark"][data-kisure-design="865"] body .football-side-panel .football-link-list > span {
  color: #eaf5f5 !important;
}
html[data-kisure-design="865"] body .football-lineup-card__crest {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
html[data-kisure-design="865"] body .football-lineup-card__crest img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  object-fit: contain !important;
}
html[data-kisure-design="865"] body .football-player-hero--detailed {
  grid-template-columns: minmax(96px,132px) minmax(0,1fr) !important;
  gap: 18px !important;
  min-height: 0 !important;
  padding: 18px 24px !important;
}
html[data-kisure-design="865"] body .football-player-hero--detailed .football-player-hero__photo {
  width: 124px !important;
  height: 124px !important;
  max-height: 124px !important;
}
html[data-kisure-design="865"] body .football-player-hero--detailed .football-player-hero__content {
  gap: 6px !important;
  min-width: 0 !important;
}
html[data-kisure-design="865"] body .football-player-hero--detailed h1 {
  font-size: clamp(1.65rem,3vw,2.4rem) !important;
  line-height: 1.12 !important;
}
html[data-kisure-design="865"] body .football-player-hero--detailed .football-player-hero__quick {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
html[data-kisure-design="865"] body .football-player-hero--detailed .football-player-hero__quick > span {
  flex: 0 1 auto !important;
  min-width: 90px !important;
  padding: 6px 12px !important;
}
html[data-kisure-design="865"] body .football-player-hero--detailed .football-player-team-link,
html[data-kisure-design="865"] body .football-player-hero--detailed .football-hero__actions .site-button {
  min-height: 34px !important;
  padding: 5px 12px !important;
}
html[data-kisure-design="865"] body .football-player-hero--detailed .football-player-team-link img {
  width: 28px !important;
  height: 28px !important;
}
.ks-profile-about { line-height: 1.65; }
.ks-profile-about p { margin: 0 0 12px; }
.ks-saved-prediction-action { padding: 8px 12px; }
@media(max-width:760px) {
  html[data-kisure-design="865"] body .football-player-hero--detailed {
    grid-template-columns: 88px minmax(0,1fr) !important;
    text-align: left !important;
    justify-items: stretch !important;
    gap: 12px !important;
    padding: 16px !important;
  }
  html[data-kisure-design="865"] body .football-player-hero--detailed .football-player-hero__photo {
    width: 88px !important; height: 98px !important; max-height: 98px !important;
  }
  html[data-kisure-design="865"] body .football-player-hero--detailed .football-player-hero__content {
    text-align: left !important;
  }
  html[data-kisure-design="865"] body .football-player-hero--detailed .football-player-hero__quick > span {
    min-width: 70px !important;
  }
  html[data-kisure-design="865"] body .football-player-hero--detailed .football-player-team-link { margin-inline: 0 !important; }
}
/* ===== END kisure-v896-profile-readability.css ===== */

/* ===== BEGIN kisure-v899-public-account-hero.css | sha256=7e374dc58566606a094e85d1ae92c8e6c188f98e695c40c2d6dd3ddd648e77c8 ===== */
/* FE899: a genuinely compact, full-width identity row with an unboxed portrait. */
html[data-kisure-design="865"] body .football-player-hero--detailed[data-kisure-solid-hero="player"],
html[data-kisure-design="865"] body .football-player-hero--detailed[data-kisure-solid-hero="coach"] {
  display: grid !important;
  grid-template-columns: 62px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 18px !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 15px 22px !important;
}
html[data-kisure-design="865"] body .football-player-hero--detailed[data-kisure-solid-hero] > .football-player-hero__media {
  display: block !important;
  width: 62px !important;
  height: 62px !important;
  min-width: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html[data-kisure-design="865"] body .football-player-hero--detailed[data-kisure-solid-hero] > .football-player-hero__media > img {
  display: block !important;
  width: 62px !important;
  height: 62px !important;
  max-width: 62px !important;
  max-height: 62px !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html[data-kisure-design="865"] body .football-player-hero--detailed[data-kisure-solid-hero] > .football-player-hero__content {
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
  min-width: 0 !important;
  gap: 7px 22px !important;
}
@media (min-width: 1050px) {
  html[data-kisure-design="865"] body .football-player-hero--detailed[data-kisure-solid-hero] > .football-player-hero__content {
    display: grid !important;
    grid-template-columns: minmax(230px, .9fr) minmax(390px, 1.5fr) !important;
    align-items: center !important;
  }
  html[data-kisure-design="865"] body .football-player-hero--detailed[data-kisure-solid-hero] > .football-player-hero__content > :is(.site-kicker,h1,p,.football-player-team-link,.football-page-live-indicator) { grid-column: 1 !important; }
  html[data-kisure-design="865"] body .football-player-hero--detailed[data-kisure-solid-hero] > .football-player-hero__content > .football-player-hero__quick {
    grid-column: 2 !important;
    grid-row: 1 / span 3 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    justify-content: stretch !important;
  }
  html[data-kisure-design="865"] body .football-player-hero--detailed[data-kisure-solid-hero] > .football-player-hero__content > .football-player-hero__actions {
    grid-column: 2 !important;
    grid-row: 4 !important;
    margin: 0 !important;
  }
}
@media (max-width: 1049px) {
  html[data-kisure-design="865"] body .football-player-hero--detailed[data-kisure-solid-hero] > .football-player-hero__content { display: flex !important; flex-direction: column !important; align-items: flex-start !important; }
  html[data-kisure-design="865"] body .football-player-hero--detailed[data-kisure-solid-hero] { padding: 14px 16px !important; gap: 12px !important; }
  html[data-kisure-design="865"] body .football-player-hero--detailed[data-kisure-solid-hero] > .football-player-hero__content > .football-player-hero__quick { width: 100% !important; margin: 3px 0 !important; }
}
.ks-member-profile-form { display:grid; gap:9px; margin-top:14px; }
.ks-member-profile-form input { width:100%; padding:10px 12px; border:1px solid #89bdbc; border-radius:10px; background:var(--ks-card-bg,#fff); color:inherit; }
.ks-member-profile-form .site-button { justify-self:start; }
/* ===== END kisure-v899-public-account-hero.css ===== */

/* ===== BEGIN kisure-v900-hero-modal.css | sha256=99c188d413726ca98029544f744a17df033cdede2de6ed02ae7023d5504a791c ===== */
/* FE900: identity and numbers are separate grid cells, never one narrow content column. */
html[data-kisure-design="865"] body .ks-compact-profile-hero {
  display:grid !important; grid-template-columns:64px minmax(210px,.9fr) minmax(370px,1.6fr) !important;
  gap:clamp(12px,2vw,32px) !important; align-items:center !important;
  min-height:0 !important; height:auto !important; padding:14px 24px !important;
}
html[data-kisure-design="865"] body .ks-compact-profile-hero > .football-player-hero__content {
  display:flex !important; flex-direction:column !important; align-items:flex-start !important;
  width:auto !important; max-width:none !important; min-width:0 !important; gap:5px !important;
}
html[data-kisure-design="865"] body .ks-compact-profile-hero > .ks-compact-profile-hero__facts {
  display:flex !important; flex-direction:column !important; justify-content:center !important;
  width:100% !important; min-width:0 !important; gap:9px !important;
}
html[data-kisure-design="865"] body .ks-compact-profile-hero .football-player-hero__quick {
  display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  width:100% !important; max-width:none !important; margin:0 !important;
}
html[data-kisure-design="865"] body .ks-compact-profile-hero .football-player-hero__quick > span {min-width:0 !important;}
html[data-kisure-design="865"] body .ks-compact-profile-hero .football-player-hero__actions {margin:0 !important;}
html[data-kisure-design="865"] body .ks-compact-profile-hero > .football-player-hero__media {
  width:64px !important; height:64px !important; overflow:hidden !important;
  background:transparent !important; border:0 !important; border-radius:0 !important;
  box-shadow:none !important; align-self:center !important;
}
html[data-kisure-design="865"] body .ks-compact-profile-hero > .football-player-hero__media > img {
  display:block !important; width:64px !important; height:64px !important;
  max-width:none !important; max-height:none !important; object-fit:contain !important;
  object-position:center top !important; transform:scale(1.58) !important;
  transform-origin:center 12% !important; background:transparent !important;
  border:0 !important; border-radius:0 !important; box-shadow:none !important;
}
@media(max-width:1050px){
  html[data-kisure-design="865"] body .ks-compact-profile-hero {grid-template-columns:64px minmax(0,1fr) !important; padding:14px 16px !important;}
  html[data-kisure-design="865"] body .ks-compact-profile-hero > .ks-compact-profile-hero__facts {grid-column:1 / -1 !important;}
}
@media(max-width:540px){
  html[data-kisure-design="865"] body .ks-compact-profile-hero .football-player-hero__quick {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
/* Modal sits above the header, uses readable Kisure surfaces in both themes. */
html[data-kisure-design="865"] body .notification-subscribe-modal[data-notification-subscribe-modal] {
  position:fixed !important; inset:0 !important; z-index:2147483000 !important;
  isolation:isolate !important; background:rgba(5,19,22,.76) !important;
  padding:clamp(12px,3vh,28px) !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal[hidden] {display:none !important;}
html[data-kisure-design="865"] body .notification-subscribe-modal__card {
  position:relative !important; z-index:1 !important; max-height:calc(100dvh - 32px) !important;
  overflow:auto !important; background:#f5fcfc !important; color:#142d30 !important;
  border:1px solid #80bdbd !important; box-shadow:0 28px 70px rgba(0,0,0,.42) !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal__hero {background:#e8f7f7 !important; color:#17393c !important;}
html[data-kisure-design="865"] body .notification-subscribe-modal__hero :is(h2,p,.notification-subscribe-modal__brand) {color:#17393c !important;}
html[data-kisure-design="865"] body .notification-subscribe-modal__close {z-index:2 !important; color:#103b3e !important; background:#fff !important; border:1px solid #6baaaa !important;}
html[data-kisure-design="865"] body .notification-subscribe-modal__content {background:#f5fcfc !important; color:#142d30 !important;}
html[data-kisure-design="865"] body .notification-topic {background:#fff !important; border:1px solid #9ac9c8 !important;}
html[data-kisure-design="865"] body .notification-topic :is(strong,span) {color:#18383a !important; -webkit-text-fill-color:#18383a !important;}
html[data-kisure-design="865"] body .notification-topic > span {background:#0b9ca0 !important;}
html[data-kisure-design="865"] body .notification-topic > span i {color:#fff !important; -webkit-text-fill-color:#fff !important;}
html[data-kisure-design="865"] body :is(.notification-link-button,.notification-select-all-button) {color:#087c78 !important; -webkit-text-fill-color:#087c78 !important;}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal__card,
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal__content {background:#172729 !important; color:#eaf8f8 !important; border-color:#366165 !important;}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal__hero {background:#12393c !important; color:#f3fbfb !important;}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal__hero :is(h2,p,.notification-subscribe-modal__brand) {color:#f3fbfb !important; -webkit-text-fill-color:#f3fbfb !important;}
html[data-kisure-design="865"][data-theme="dark"] body .notification-topic {background:#21383a !important; border-color:#3d696b !important;}
html[data-kisure-design="865"][data-theme="dark"] body .notification-topic :is(strong,span) {color:#f2fafa !important; -webkit-text-fill-color:#f2fafa !important;}
html[data-kisure-design="865"][data-theme="dark"] body .notification-topic > span {background:#0b9ca0 !important;}
html[data-kisure-design="865"][data-theme="dark"] body :is(.notification-link-button,.notification-select-all-button) {color:#80e1df !important; -webkit-text-fill-color:#80e1df !important;}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal__close {background:#204548 !important; border-color:#5aa9a8 !important; color:#fff !important;}
/* ===== END kisure-v900-hero-modal.css ===== */

/* ===== BEGIN kisure-v901-interface-correction.css | sha256=2e48ad0c6c8f070ad9c25ed8b17d91ae22d72e7af1a201048761ff94cc79eb46 ===== */
/* KISURE FE901 FINAL PRESENTATION OWNER
 * Purpose: deterministic profile geometry + dark/light readability + push modal ownership.
 * This file is loaded last. It does not introduce glass/blur effects.
 */

/* --------------------------------------------------------------------------
   1. COMPACT PROFILE HEROES — PLAYER / COACH / REFEREE
   -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].ks-compact-profile-hero {
  display:grid !important;
  grid-template-columns:104px minmax(220px,.82fr) minmax(420px,1.55fr) !important;
  align-items:center !important;
  gap:clamp(14px,2vw,30px) !important;
  width:100% !important;
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  padding:14px 22px !important;
  overflow:hidden !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__media {
  display:grid !important;
  place-items:center !important;
  width:104px !important;
  height:104px !important;
  min-width:104px !important;
  max-width:104px !important;
  min-height:104px !important;
  max-height:104px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  align-self:center !important;
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  border-radius:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__media > img {
  display:block !important;
  width:104px !important;
  height:104px !important;
  min-width:104px !important;
  max-width:104px !important;
  min-height:104px !important;
  max-height:104px !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:cover !important;
  object-position:50% 18% !important;
  transform:none !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__media .football-player-hero__photo {
  display:grid !important;
  place-items:center !important;
  width:84px !important;
  height:84px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  background:var(--ks-hero-panel,rgba(0,0,0,.18)) !important;
  border:1px solid var(--ks-hero-border,rgba(255,255,255,.24)) !important;
  border-radius:50% !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__media .football-player-hero__photo strong {
  color:var(--ks-hero-on-color,#fff) !important;
  font-size:1.35rem !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__content {
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  gap:4px !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__content .site-kicker {
  color:var(--ks-hero-on-color,#fff) !important;
  opacity:.9 !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__content h1 {
  margin:0 !important;
  color:var(--ks-hero-on-color,#fff) !important;
  font-size:clamp(1.55rem,2.4vw,2.35rem) !important;
  line-height:1.04 !important;
  overflow-wrap:anywhere !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__content p {
  margin:2px 0 0 !important;
  color:var(--ks-hero-muted,rgba(255,255,255,.82)) !important;
  font-size:.98rem !important;
  line-height:1.35 !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .ks-compact-profile-hero__facts {
  display:grid !important;
  grid-template-rows:auto auto !important;
  align-content:center !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  gap:9px !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] .football-player-hero__quick {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:8px !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] .football-player-hero__quick > span {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  min-width:0 !important;
  min-height:58px !important;
  margin:0 !important;
  padding:7px 10px !important;
  background:var(--ks-hero-panel,rgba(0,0,0,.18)) !important;
  border:1px solid var(--ks-hero-border,rgba(255,255,255,.24)) !important;
  border-radius:10px !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] .football-player-hero__quick > span strong {
  color:var(--ks-hero-on-color,#fff) !important;
  -webkit-text-fill-color:var(--ks-hero-on-color,#fff) !important;
  font-size:1.12rem !important;
  line-height:1.05 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] .football-player-hero__quick > span small {
  color:var(--ks-hero-muted,rgba(255,255,255,.82)) !important;
  font-size:.68rem !important;
  line-height:1.18 !important;
  margin-top:3px !important;
  text-transform:uppercase !important;
  letter-spacing:.04em !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] .ks-compact-profile-hero__links {
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:8px !important;
  min-width:0 !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] .football-player-team-link,
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] .football-hero__actions .site-button {
  min-height:34px !important;
  margin:0 !important;
  padding:5px 10px !important;
  color:var(--ks-hero-on-color,#fff) !important;
  -webkit-text-fill-color:var(--ks-hero-on-color,#fff) !important;
  background:var(--ks-hero-panel,rgba(0,0,0,.18)) !important;
  border:1px solid var(--ks-hero-border,rgba(255,255,255,.24)) !important;
  border-radius:9px !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] .football-player-team-link img {
  width:24px !important;
  height:24px !important;
  object-fit:contain !important;
  background:transparent !important;
  border:0 !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] .football-player-hero__actions {
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:8px !important;
  margin:0 !important;
}

/* Club / national-team profile hero: same compact desktop hierarchy. */
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].football-club-hero {
  display:grid !important;
  grid-template-columns:94px minmax(0,1fr) !important;
  align-items:center !important;
  min-height:0 !important;
  height:auto !important;
  padding:15px 22px !important;
  gap:18px !important;
  overflow:hidden !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].football-club-hero .football-club-hero__badge {
  width:86px !important;
  height:86px !important;
  min-width:86px !important;
  min-height:86px !important;
  padding:4px !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].football-club-hero .football-club-hero__badge img {
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  background:transparent !important;
}
@media (min-width:980px) {
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].football-club-hero .football-club-hero__content {
    display:grid !important;
    grid-template-columns:minmax(240px,.8fr) minmax(440px,1.5fr) !important;
    grid-auto-rows:auto !important;
    column-gap:26px !important;
    row-gap:5px !important;
    align-items:center !important;
    min-width:0 !important;
  }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].football-club-hero .football-club-hero__content > :is(.site-kicker,h1,p,.football-page-live-indicator) { grid-column:1 !important; }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].football-club-hero .football-club-hero__quick { grid-column:2 !important; grid-row:1 / span 3 !important; }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].football-club-hero .football-hero__actions { grid-column:2 !important; grid-row:4 !important; }
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].football-club-hero .football-club-hero__quick {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:8px !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].football-club-hero .football-club-hero__quick > span {
  min-width:0 !important;
  min-height:58px !important;
  padding:7px 9px !important;
}

/* Keep stadium and league identity useful without consuming the viewport. */
html[data-kisure-design="865"] body .ks-stadium-hero[data-kisure-solid-hero="stadium"] {
  min-height:0 !important;
  max-height:none !important;
  display:grid !important;
  grid-template-columns:minmax(180px,240px) minmax(0,1fr) !important;
  background:var(--ks-hero-accent,#087C78) !important;
  border:1px solid var(--ks-hero-border,rgba(255,255,255,.24)) !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
html[data-kisure-design="865"] body .ks-stadium-hero__media { height:190px !important; min-height:0 !important; }
html[data-kisure-design="865"] body .ks-stadium-hero__media img { width:100% !important; height:100% !important; object-fit:cover !important; }
html[data-kisure-design="865"] body .ks-stadium-hero__body { padding:16px 20px !important; align-self:center !important; }
html[data-kisure-design="865"] body .ks-stadium-hero__body :is(h1,p,strong,small,.ks-stadium-kicker,i) { color:var(--ks-hero-on-color,#fff) !important; }
html[data-kisure-design="865"] body .football-league-hero[data-kisure-solid-hero="league"] {
  min-height:0 !important;
  padding:16px 20px !important;
  box-shadow:none !important;
}

/* --------------------------------------------------------------------------
   2. NOTIFICATION MODAL — MUST ALWAYS BE READABLE AND ABOVE THE SITE
   -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body .notification-subscribe-modal[data-notification-subscribe-modal] {
  position:fixed !important;
  inset:0 !important;
  z-index:2147483647 !important;
  display:grid !important;
  place-items:center !important;
  isolation:isolate !important;
  margin:0 !important;
  padding:18px !important;
  overflow:auto !important;
  background:rgba(5,12,13,.82) !important;
  color:#172324 !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal[data-notification-subscribe-modal][hidden] { display:none !important; }
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__card {
  position:relative !important;
  z-index:2 !important;
  display:grid !important;
  grid-template-columns:minmax(300px,.82fr) minmax(480px,1.18fr) !important;
  width:min(1160px,calc(100vw - 36px)) !important;
  max-width:1160px !important;
  max-height:calc(100dvh - 36px) !important;
  margin:auto !important;
  overflow:auto !important;
  background:#fff !important;
  color:#172324 !important;
  border:1px solid #bfd6d6 !important;
  border-radius:18px !important;
  box-shadow:0 24px 64px rgba(0,0,0,.42) !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__hero {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  min-height:420px !important;
  padding:42px 34px !important;
  background:#E8F7F7 !important;
  color:#102b2d !important;
  border:0 !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__hero :is(h2,p,.notification-subscribe-modal__brand,.notification-subscribe-modal__brand span) {
  color:#102b2d !important;
  -webkit-text-fill-color:#102b2d !important;
  opacity:1 !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__hero h2 {
  margin:24px 0 16px !important;
  font-size:clamp(2rem,3.2vw,3.2rem) !important;
  line-height:1.02 !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__hero p {
  margin:0 !important;
  font-size:1rem !important;
  line-height:1.65 !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__content {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  min-width:0 !important;
  padding:34px !important;
  background:#fff !important;
  color:#172324 !important;
  border:0 !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-topic {
  display:grid !important;
  grid-template-columns:44px minmax(0,1fr) !important;
  align-items:center !important;
  min-height:68px !important;
  gap:12px !important;
  margin:0 !important;
  padding:10px 14px !important;
  background:#F8FCFC !important;
  color:#172324 !important;
  border:1px solid #C8DDDD !important;
  border-radius:13px !important;
  box-shadow:none !important;
  opacity:1 !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-topic > input { position:absolute !important; opacity:0 !important; pointer-events:none !important; }
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-topic > span {
  display:grid !important;
  place-items:center !important;
  width:42px !important;
  height:42px !important;
  margin:0 !important;
  padding:0 !important;
  background:#0B9CA0 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  border:0 !important;
  border-radius:12px !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-topic > span i {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  opacity:1 !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-topic > strong {
  display:block !important;
  min-width:0 !important;
  color:#172324 !important;
  -webkit-text-fill-color:#172324 !important;
  font-size:.95rem !important;
  font-weight:800 !important;
  line-height:1.28 !important;
  opacity:1 !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__actions {
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  margin-top:24px !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal :is(.notification-select-all-button,.notification-link-button,[data-notification-subscribe]) {
  min-height:44px !important;
  padding:9px 16px !important;
  border-radius:11px !important;
  font-weight:850 !important;
  opacity:1 !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-select-all-button {
  color:#087C78 !important;
  -webkit-text-fill-color:#087C78 !important;
  background:#E8F7F7 !important;
  border:1px solid #B8DCDC !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-link-button {
  color:#087C78 !important;
  -webkit-text-fill-color:#087C78 !important;
  background:transparent !important;
  border:1px solid transparent !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal [data-notification-subscribe] {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  background:#0B9CA0 !important;
  border:1px solid #0B9CA0 !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__close {
  position:absolute !important;
  top:14px !important;
  right:14px !important;
  z-index:4 !important;
  display:grid !important;
  place-items:center !important;
  width:40px !important;
  height:40px !important;
  padding:0 !important;
  color:#17393c !important;
  background:#fff !important;
  border:1px solid #BFD6D6 !important;
  border-radius:50% !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-select-all-button__tooltip {
  color:#172324 !important;
  -webkit-text-fill-color:#172324 !important;
  background:#fff !important;
  border:1px solid #bfd6d6 !important;
}

/* Explicit dark-mode ownership. No inherited near-black text is allowed here. */
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-subscribe-modal__card,
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-subscribe-modal__content {
  background:#1C1F20 !important;
  color:#F2F6F6 !important;
  border-color:#3B4445 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-subscribe-modal__hero {
  background:#153739 !important;
  color:#F4FFFF !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-subscribe-modal__hero :is(h2,p,.notification-subscribe-modal__brand,.notification-subscribe-modal__brand span) {
  color:#F4FFFF !important;
  -webkit-text-fill-color:#F4FFFF !important;
  opacity:1 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-topic {
  background:#242829 !important;
  color:#F2F6F6 !important;
  border-color:#3B4B4C !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-topic > strong {
  color:#F7FFFF !important;
  -webkit-text-fill-color:#F7FFFF !important;
  text-shadow:none !important;
  opacity:1 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-topic > span {
  background:#0B9CA0 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal :is(.notification-select-all-button,.notification-link-button) {
  color:#8BE9E6 !important;
  -webkit-text-fill-color:#8BE9E6 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-select-all-button {
  background:#153739 !important;
  border-color:#376365 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-subscribe-modal__close {
  color:#fff !important;
  background:#292E2F !important;
  border-color:#465253 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-select-all-button__tooltip {
  color:#F2F6F6 !important;
  -webkit-text-fill-color:#F2F6F6 !important;
  background:#242829 !important;
  border-color:#465253 !important;
}

/* --------------------------------------------------------------------------
   3. DARK/LIGHT READABILITY + THE TWO REQUESTED BORDER REMOVALS
   -------------------------------------------------------------------------- */
html[data-kisure-design="865"] body .football-prediction-model-panel .football-link-list,
html[data-kisure-design="865"] body .football-side-panel .football-link-list {
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  padding:0 !important;
}
html[data-kisure-design="865"] body .football-prediction-model-panel .football-link-list > span,
html[data-kisure-design="865"] body .football-side-panel .football-link-list > span {
  border:0 !important;
  border-top:0 !important;
  border-bottom:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  color:var(--ks865-text) !important;
  padding:8px 2px !important;
}
html[data-kisure-design="865"] body .football-prediction-model-panel .football-link-list > span i,
html[data-kisure-design="865"] body .football-side-panel .football-link-list > span i { color:#0B9CA0 !important; }
html[data-kisure-design="865"] body .football-lineup-card__crest,
html[data-kisure-design="865"] body .football-lineup-card__crest img {
  background:transparent !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"][data-theme="dark"] body :is(.football-side-panel,.football-section,.site-panel,.ks-stadium-panel,.ks-member-dashboard__panel,.ks-member-dashboard__card) {
  color:#F2F6F6 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body :is(.football-side-panel,.football-section,.site-panel,.ks-stadium-panel,.ks-member-dashboard__panel,.ks-member-dashboard__card) :is(h1,h2,h3,h4,strong,b) {
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
}
html[data-kisure-design="865"][data-theme="dark"] body :is(.football-side-panel,.football-section,.site-panel,.ks-stadium-panel,.ks-member-dashboard__panel,.ks-member-dashboard__card) :is(p,small,span,label,time) {
  color:#C3CECE !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .ks-profile-about,
html[data-kisure-design="865"][data-theme="dark"] body .ks-profile-about p { color:#D8E2E2 !important; }
html[data-kisure-design="865"][data-theme="dark"] body .ks-profile-about a { color:#78DEDC !important; }

/* My Kisure must not become charcoal-on-charcoal. */
html[data-kisure-design="865"][data-theme="dark"] body .ks-member-dashboard :is(.ks-member-follow-row,.ks-member-upcoming-row,.ks-member-dashboard__tabs a,.ks-member-preferences select,.ks-member-profile-form input) {
  background:#242829 !important;
  color:#F2F6F6 !important;
  border-color:#3B4445 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .ks-member-dashboard :is(.ks-member-follow-row,.ks-member-upcoming-row,.ks-member-dashboard__tabs a) strong,
html[data-kisure-design="865"][data-theme="dark"] body .ks-member-dashboard .ks-member-profile-form label { color:#FFFFFF !important; }

/* --------------------------------------------------------------------------
   4. RESPONSIVE: KEEP INFORMATION, DO NOT CREATE AN EMPTY HERO
   -------------------------------------------------------------------------- */
@media (max-width:1080px) {
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].ks-compact-profile-hero {
    grid-template-columns:88px minmax(0,1fr) !important;
    padding:13px 16px !important;
    gap:12px 16px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__media,
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__media > img {
    width:88px !important; height:88px !important; min-width:88px !important; max-width:88px !important; min-height:88px !important; max-height:88px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .ks-compact-profile-hero__facts { grid-column:1 / -1 !important; }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] .football-player-hero__quick { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
  html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__card { grid-template-columns:minmax(260px,.72fr) minmax(400px,1.28fr) !important; }
  html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__hero { padding:34px 26px !important; }
  html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__content { padding:28px 24px !important; }
}
@media (max-width:760px) {
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].ks-compact-profile-hero { grid-template-columns:76px minmax(0,1fr) !important; }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__media,
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__media > img {
    width:76px !important; height:76px !important; min-width:76px !important; max-width:76px !important; min-height:76px !important; max-height:76px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] .football-player-hero__quick { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] .football-player-hero__quick > span { min-height:52px !important; }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].football-club-hero { grid-template-columns:72px minmax(0,1fr) !important; padding:13px 14px !important; gap:12px !important; }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].football-club-hero .football-club-hero__badge { width:66px !important; height:66px !important; min-width:66px !important; min-height:66px !important; }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].football-club-hero .football-club-hero__quick { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  html[data-kisure-design="865"] body .ks-stadium-hero[data-kisure-solid-hero="stadium"] { grid-template-columns:1fr !important; }
  html[data-kisure-design="865"] body .ks-stadium-hero__media { height:180px !important; }
  html[data-kisure-design="865"] body .notification-subscribe-modal[data-notification-subscribe-modal] { padding:10px !important; }
  html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__card {
    display:block !important;
    width:min(100%,620px) !important;
    max-height:calc(100dvh - 20px) !important;
    border-radius:15px !important;
  }
  html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__hero { min-height:0 !important; padding:24px 20px 20px !important; }
  html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__hero h2 { margin:14px 0 8px !important; font-size:1.7rem !important; }
  html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__content { padding:18px !important; }
  html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__grid { grid-template-columns:1fr !important; gap:8px !important; }
  html[data-kisure-design="865"] body .notification-subscribe-modal .notification-topic { min-height:56px !important; grid-template-columns:38px minmax(0,1fr) !important; }
  html[data-kisure-design="865"] body .notification-subscribe-modal .notification-topic > span { width:36px !important; height:36px !important; border-radius:10px !important; }
  html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__actions { justify-content:stretch !important; }
  html[data-kisure-design="865"] body .notification-subscribe-modal :is(.notification-select-all-button,.notification-link-button,[data-notification-subscribe]) { flex:1 1 100% !important; width:100% !important; justify-content:center !important; }
}
@media (max-width:420px) {
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"].ks-compact-profile-hero { grid-template-columns:64px minmax(0,1fr) !important; padding:11px !important; }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__media,
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__media > img {
    width:64px !important; height:64px !important; min-width:64px !important; max-width:64px !important; min-height:64px !important; max-height:64px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__content h1 { font-size:1.35rem !important; }
}
/* ===== END kisure-v901-interface-correction.css ===== */

/* ===== BEGIN kisure-v902-visibility-auth-predictions.css | sha256=8c9ff50d99b9391699f09d5f20340b94bb0b345094e4921279047298aedb0916 ===== */
/* KISURE FE902 FINAL PRESENTATION OWNER
 * High-contrast solid profile heroes, head-first portrait crop, public-member
 * auth feedback/recovery, saved predictions and push-alert readability.
 * Loaded after FE901 so this file is the deterministic owner of these surfaces.
 */

/* 1. Solid entity hero contrast ------------------------------------------------ */
html[data-kisure-design="865"] body [data-kisure-solid-hero] {
  background-color:var(--ks-hero-accent,#087C78) !important;
  background-image:none !important;
}
html[data-kisure-design="865"] body [data-kisure-solid-hero][data-kisure-hero-tone="light"] :is(.site-kicker,h1,p) {
  color:#10202A !important;
  -webkit-text-fill-color:#10202A !important;
  opacity:1 !important;
}
html[data-kisure-design="865"] body [data-kisure-solid-hero][data-kisure-hero-tone="dark"] :is(.site-kicker,h1,p) {
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
  opacity:1 !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"][data-kisure-hero-tone="light"] .football-player-hero__quick > span,
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"][data-kisure-hero-tone="light"] .football-club-hero__quick > span,
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"][data-kisure-hero-tone="light"] :is(.football-player-team-link,.football-hero__actions .site-button) {
  background:#172426 !important;
  border-color:#2D4244 !important;
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"][data-kisure-hero-tone="light"] .football-player-hero__quick > span :is(strong,small),
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"][data-kisure-hero-tone="light"] .football-club-hero__quick > span :is(strong,small),
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"][data-kisure-hero-tone="light"] :is(.football-player-team-link,.football-hero__actions .site-button) :is(span,strong,small,i) {
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
  opacity:1 !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"][data-kisure-hero-tone="dark"] .football-player-hero__quick > span,
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"][data-kisure-hero-tone="dark"] .football-club-hero__quick > span,
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"][data-kisure-hero-tone="dark"] :is(.football-player-team-link,.football-hero__actions .site-button) {
  background:rgba(10,18,19,.58) !important;
  border-color:rgba(255,255,255,.28) !important;
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"][data-kisure-hero-tone="dark"] .football-player-hero__quick > span :is(strong,small),
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"][data-kisure-hero-tone="dark"] .football-club-hero__quick > span :is(strong,small),
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"][data-kisure-hero-tone="dark"] :is(.football-player-team-link,.football-hero__actions .site-button) :is(span,strong,small,i) {
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
  opacity:1 !important;
}

/* Restore the approved head-first crop. The source cutout stays transparent and
 * non-destructive; the hero slot performs the visual crop instead. */
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__media {
  overflow:hidden !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body [data-kisure-profile-layout="compact-v901"] > .football-player-hero__media > img.ks-player-face-img--hero {
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center top !important;
  transform:scale(1.58) !important;
  transform-origin:50% 12% !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* Stadiums and club cards with light identity colours must remain readable. */
html[data-kisure-design="865"] body [data-kisure-solid-hero="stadium"][data-kisure-hero-tone="light"] .ks-stadium-hero__body :is(h1,p,strong,small,.ks-stadium-kicker,i) {
  color:#10202A !important;
  -webkit-text-fill-color:#10202A !important;
}
html[data-kisure-design="865"] body [data-kisure-solid-hero="stadium"][data-kisure-hero-tone="dark"] .ks-stadium-hero__body :is(h1,p,strong,small,.ks-stadium-kicker,i) {
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
}

/* 2. Web-push modal: explicit, high-contrast ownership ------------------------- */
html[data-kisure-design="865"] body .notification-subscribe-modal[data-notification-subscribe-modal] {
  position:fixed !important;
  inset:0 !important;
  z-index:2147483647 !important;
  display:grid !important;
  place-items:center !important;
  padding:18px !important;
  isolation:isolate !important;
  background:rgba(3,9,10,.84) !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal[data-notification-subscribe-modal][hidden] { display:none !important; }
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__card {
  position:relative !important;
  z-index:2 !important;
  background:#F9FFFF !important;
  color:#13292B !important;
  border:1px solid #A8CCCC !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-subscribe-modal__content {
  background:#F9FFFF !important;
  color:#13292B !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-topic {
  background:#FFFFFF !important;
  color:#13292B !important;
  border:1px solid #B6D2D2 !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-topic > strong {
  color:#13292B !important;
  -webkit-text-fill-color:#13292B !important;
  opacity:1 !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-topic > span {
  background:#0B9CA0 !important;
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal .notification-topic > span i {
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
}
html[data-kisure-design="865"] body .notification-subscribe-modal :is(.notification-select-all-button,.notification-link-button) {
  color:#087C78 !important;
  -webkit-text-fill-color:#087C78 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-subscribe-modal__card,
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-subscribe-modal__content {
  background:#171D1E !important;
  color:#F5FFFF !important;
  border-color:#385052 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-subscribe-modal__hero {
  background:#103537 !important;
  color:#F8FFFF !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-subscribe-modal__hero :is(h2,p,.notification-subscribe-modal__brand,.notification-subscribe-modal__brand span) {
  color:#F8FFFF !important;
  -webkit-text-fill-color:#F8FFFF !important;
  opacity:1 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-topic {
  background:#20292A !important;
  color:#F8FFFF !important;
  border-color:#385052 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-topic > strong {
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
  opacity:1 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal :is(.notification-select-all-button,.notification-link-button) {
  color:#8BE9E6 !important;
  -webkit-text-fill-color:#8BE9E6 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-select-all-button {
  background:#103537 !important;
  border-color:#386163 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal [data-notification-subscribe] {
  background:#0B9CA0 !important;
  border-color:#0B9CA0 !important;
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .notification-subscribe-modal .notification-subscribe-modal__close {
  background:#263133 !important;
  border-color:#4A6264 !important;
  color:#FFFFFF !important;
}

/* 3. Public feedback popup ----------------------------------------------------- */
.ks-site-feedback {
  position:fixed;
  top:86px;
  right:20px;
  z-index:2147483600;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 32px;
  align-items:center;
  gap:10px;
  width:min(440px,calc(100vw - 32px));
  padding:13px 12px;
  border:1px solid #88BDBD;
  border-radius:14px;
  background:#F8FFFF;
  color:#112A2C;
  box-shadow:0 18px 48px rgba(0,0,0,.24);
  opacity:1;
  transform:translateY(0);
  transition:opacity .2s ease,transform .2s ease;
}
.ks-site-feedback.is-leaving { opacity:0; transform:translateY(-8px); pointer-events:none; }
.ks-site-feedback__icon { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:#E8F7F7; color:#087C78; }
.ks-site-feedback__copy { font-weight:750; line-height:1.35; color:inherit; }
.ks-site-feedback__close { display:grid; place-items:center; width:32px; height:32px; border:0; border-radius:9px; background:transparent; color:inherit; cursor:pointer; }
.ks-site-feedback--success { border-color:#5AB8A8; }
.ks-site-feedback--warning { border-color:#D6A84F; }
.ks-site-feedback--warning .ks-site-feedback__icon { background:#FFF4D6; color:#9A6512; }
.ks-site-feedback--error { border-color:#DE7C7C; }
.ks-site-feedback--error .ks-site-feedback__icon { background:#FDE7E7; color:#A52E2E; }
html[data-theme="dark"] .ks-site-feedback { background:#1C2526; color:#F7FFFF; border-color:#496768; box-shadow:0 18px 48px rgba(0,0,0,.5); }
html[data-theme="dark"] .ks-site-feedback__icon { background:#12383A; color:#88E5E2; }
html[data-theme="dark"] .ks-site-feedback--warning .ks-site-feedback__icon { background:#44351A; color:#FFD983; }
html[data-theme="dark"] .ks-site-feedback--error .ks-site-feedback__icon { background:#482426; color:#FFB0B0; }

/* 4. Frontend member auth/recovery -------------------------------------------- */
.ks-member-auth--recovery .ks-member-auth__intro { align-self:stretch; }
.ks-member-auth__notice {
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:0 0 18px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid #BFDADA;
  background:#F2FBFB;
  color:#274245;
  line-height:1.5;
}
html[data-theme="dark"] .ks-member-auth__notice { background:#1B292A; color:#DDECEC; border-color:#3A5153; }

/* 5. Saved predictions --------------------------------------------------------- */
html[data-kisure-design="865"] body .ks-member-saved-predictions { padding-top:28px; padding-bottom:54px; }
html[data-kisure-design="865"] body .ks-saved-predictions-shell {
  border:1px solid var(--ks865-border,#D7E3E3);
  border-radius:20px;
  background:var(--ks865-surface,#FFFFFF);
  padding:clamp(18px,3vw,30px);
}
html[data-kisure-design="865"] body .ks-saved-predictions-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
html[data-kisure-design="865"] body .ks-saved-predictions-head h1 { margin:.25rem 0 .35rem; }
html[data-kisure-design="865"] body .ks-saved-predictions-head p { margin:0; max-width:760px; }
html[data-kisure-design="865"] body .ks-saved-predictions-count {
  flex:0 0 auto;
  min-width:96px;
  padding:11px 14px;
  border-radius:14px;
  background:#E8F7F7;
  border:1px solid #B9DADA;
  color:#087C78;
  text-align:center;
}
html[data-kisure-design="865"] body .ks-saved-predictions-count strong { display:block; font-size:1.45rem; line-height:1; }
html[data-kisure-design="865"] body .ks-saved-predictions-count small { font-size:.72rem; font-weight:850; text-transform:uppercase; letter-spacing:.06em; }
html[data-kisure-design="865"] body .ks-saved-prediction-list { display:grid; gap:16px; }
html[data-kisure-design="865"] body .ks-saved-prediction-card {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  gap:22px;
  padding:20px;
  border:1px solid var(--ks865-border,#D7E3E3);
  border-radius:17px;
  background:var(--ks865-card,#FFFFFF);
  box-shadow:none;
}
html[data-kisure-design="865"] body .ks-saved-prediction-card__league { margin:0 0 7px; color:#087C78; font-weight:850; font-size:.76rem; text-transform:uppercase; letter-spacing:.08em; }
html[data-kisure-design="865"] body .ks-saved-prediction-card h2 { margin:0 0 12px; font-size:clamp(1.35rem,2vw,1.85rem); }
html[data-kisure-design="865"] body .ks-saved-prediction-card h2 a { color:inherit; text-decoration:none; }
html[data-kisure-design="865"] body .ks-saved-prediction-pick {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin:0 0 12px;
}
html[data-kisure-design="865"] body .ks-saved-prediction-pick > span { padding:10px 11px; border-radius:11px; background:#F3F8F8; border:1px solid #D6E4E4; }
html[data-kisure-design="865"] body .ks-saved-prediction-pick small { display:block; margin-bottom:3px; color:#65797B; font-size:.67rem; text-transform:uppercase; letter-spacing:.05em; font-weight:800; }
html[data-kisure-design="865"] body .ks-saved-prediction-pick strong { display:block; color:#172728; }
html[data-kisure-design="865"] body .ks-saved-prediction-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; color:#65797B; font-size:.86rem; }
html[data-kisure-design="865"] body .ks-saved-prediction-status { display:inline-flex; align-items:center; gap:6px; padding:5px 9px; border-radius:999px; background:#E8F7F7; color:#087C78; font-size:.75rem; font-weight:850; }
html[data-kisure-design="865"] body .ks-saved-prediction-card__review { display:flex; flex-direction:column; justify-content:center; gap:10px; }
html[data-kisure-design="865"] body .ks-saved-prediction-card__review label { display:block; font-weight:800; }
html[data-kisure-design="865"] body .ks-saved-prediction-card__review textarea { display:block; width:100%; min-height:86px; margin-top:7px; resize:vertical; border:1px solid #C9DBDB; border-radius:11px; background:#FFFFFF; color:#172728; padding:10px 12px; }
html[data-kisure-design="865"] body .ks-saved-prediction-actions { display:flex; flex-wrap:wrap; gap:8px; }
html[data-kisure-design="865"] body .ks-saved-prediction-actions .site-button { min-height:42px; }
html[data-kisure-design="865"] body .ks-saved-predictions-empty { padding:34px; text-align:center; border:1px dashed #BFD6D6; border-radius:15px; }

html[data-kisure-design="865"][data-theme="dark"] body .ks-saved-predictions-shell,
html[data-kisure-design="865"][data-theme="dark"] body .ks-saved-prediction-card {
  background:#171D1E !important;
  border-color:#334345 !important;
  color:#F3FAFA !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .ks-saved-predictions-head :is(h1,p),
html[data-kisure-design="865"][data-theme="dark"] body .ks-saved-prediction-card :is(h2,h2 a,label,strong) {
  color:#F7FFFF !important;
  -webkit-text-fill-color:#F7FFFF !important;
}
html[data-kisure-design="865"][data-theme="dark"] body .ks-saved-prediction-card__league { color:#81E0DD !important; }
html[data-kisure-design="865"][data-theme="dark"] body .ks-saved-prediction-pick > span { background:#222B2C !important; border-color:#3B4B4C !important; }
html[data-kisure-design="865"][data-theme="dark"] body .ks-saved-prediction-pick small,
html[data-kisure-design="865"][data-theme="dark"] body .ks-saved-prediction-meta { color:#B9CACA !important; }
html[data-kisure-design="865"][data-theme="dark"] body .ks-saved-prediction-card__review textarea { background:#20292A !important; border-color:#3B4B4C !important; color:#FFFFFF !important; }
html[data-kisure-design="865"][data-theme="dark"] body .ks-saved-predictions-count,
html[data-kisure-design="865"][data-theme="dark"] body .ks-saved-prediction-status { background:#103537 !important; border-color:#356062 !important; color:#89E9E5 !important; }

/* General dark-mode guard for profile/member cards that previously inherited
 * near-black text from light-mode component files. */
html[data-kisure-design="865"][data-theme="dark"] body :is(.football-player-identity-grid,.football-profile-card,.football-data-card,.ks-member-dashboard__panel,.ks-member-dashboard__card) {
  color:#EEF7F7 !important;
}
html[data-kisure-design="865"][data-theme="dark"] body :is(.football-player-identity-grid,.football-profile-card,.football-data-card,.ks-member-dashboard__panel,.ks-member-dashboard__card) :is(h1,h2,h3,h4,strong,label) {
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
}
html[data-kisure-design="865"][data-theme="dark"] body :is(.football-player-identity-grid,.football-profile-card,.football-data-card,.ks-member-dashboard__panel,.ks-member-dashboard__card) :is(p,small,span,time) {
  color:#C4D1D1 !important;
}

@media (max-width:820px) {
  .ks-site-feedback { top:72px; right:12px; width:calc(100vw - 24px); }
  html[data-kisure-design="865"] body .ks-saved-predictions-head { align-items:flex-start; flex-direction:column; }
  html[data-kisure-design="865"] body .ks-saved-prediction-card { grid-template-columns:1fr; gap:16px; }
}
@media (max-width:560px) {
  html[data-kisure-design="865"] body .ks-saved-prediction-pick { grid-template-columns:1fr; }
  html[data-kisure-design="865"] body .ks-saved-prediction-card { padding:15px; }
  html[data-kisure-design="865"] body .notification-subscribe-modal[data-notification-subscribe-modal] { padding:8px !important; }
}
/* ===== END kisure-v902-visibility-auth-predictions.css ===== */

/* ===== BEGIN kisure-v904-native-portrait-auth-isolation.css | sha256=3828375bd8581ec46c4604cc801d67f3867f2bf3c4ab456e3d09f8c703346808 ===== */
/* KISURE FE904 — native portrait quality + frontend/admin auth isolation stability.
 * No canvas trim, no white-background segmentation, no portrait transform/zoom.
 */

/* FotMob-style portrait placement: use the original provider image, preserve its
 * intrinsic aspect ratio, and anchor it cleanly to the bottom of the compact hero. */
html[data-kisure-design="865"] body [data-kisure-native-portrait="1"].ks-compact-profile-hero {
  grid-template-columns:132px minmax(220px,.82fr) minmax(420px,1.55fr) !important;
  padding:14px 22px 0 !important;
  min-height:150px !important;
}
html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media {
  display:flex !important;
  align-items:flex-end !important;
  justify-content:center !important;
  align-self:stretch !important;
  width:132px !important;
  height:150px !important;
  min-width:132px !important;
  max-width:132px !important;
  min-height:150px !important;
  max-height:150px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media > img.ks-player-face-img--hero {
  display:block !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:128px !important;
  max-height:148px !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:contain !important;
  object-position:center bottom !important;
  transform:none !important;
  transform-origin:center bottom !important;
  filter:none !important;
  image-rendering:auto !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

/* Keep text/facts vertically balanced while the portrait touches the bottom edge. */
html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__content,
html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .ks-compact-profile-hero__facts {
  align-self:center !important;
  margin-bottom:14px !important;
}

@media (max-width:1080px) {
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"].ks-compact-profile-hero {
    grid-template-columns:104px minmax(0,1fr) !important;
    padding:12px 16px 0 !important;
    min-height:124px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media {
    width:104px !important; height:124px !important; min-width:104px !important; max-width:104px !important; min-height:124px !important; max-height:124px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media > img.ks-player-face-img--hero {
    max-width:100px !important; max-height:122px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__content { margin-bottom:12px !important; }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .ks-compact-profile-hero__facts { margin-bottom:12px !important; }
}
@media (max-width:760px) {
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"].ks-compact-profile-hero {
    grid-template-columns:82px minmax(0,1fr) !important;
    padding:10px 12px 0 !important;
    min-height:104px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media {
    width:82px !important; height:104px !important; min-width:82px !important; max-width:82px !important; min-height:104px !important; max-height:104px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media > img.ks-player-face-img--hero {
    max-width:80px !important; max-height:102px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__content { margin-bottom:10px !important; }
}
@media (max-width:420px) {
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"].ks-compact-profile-hero { grid-template-columns:72px minmax(0,1fr) !important; }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media {
    width:72px !important; height:96px !important; min-width:72px !important; max-width:72px !important; min-height:96px !important; max-height:96px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media > img.ks-player-face-img--hero { max-width:70px !important; max-height:94px !important; }
}
/* ===== END kisure-v904-native-portrait-auth-isolation.css ===== */

/* ===== BEGIN kisure-v905-auth-throttle-portrait-card.css | sha256=d0cf641005242d2afcb7474941667266933a19b29ef20d6e89a484170148891d ===== */
/* KISURE FE905 — friendly auth throttling + player portrait media card.
 * The player image remains native/original media: no trim, segmentation, canvas
 * cleanup, transform zoom, sharpening or destructive image processing.
 */

/* Player portrait card: 30% smaller than the FE904 128x148 presentation. */
html[data-kisure-design="865"] body [data-kisure-native-portrait="1"].ks-compact-profile-hero {
  grid-template-columns:112px minmax(220px,.82fr) minmax(420px,1.55fr) !important;
  min-height:138px !important;
  padding:14px 22px !important;
  align-items:center !important;
}
html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media[data-kisure-player-media-card="1"] {
  display:flex !important;
  align-items:flex-end !important;
  justify-content:center !important;
  align-self:center !important;
  width:100px !important;
  height:114px !important;
  min-width:100px !important;
  max-width:100px !important;
  min-height:114px !important;
  max-height:114px !important;
  margin:0 !important;
  padding:5px 5px 0 !important;
  overflow:hidden !important;
  background:#ffffff !important;
  background-image:none !important;
  border:1px solid rgba(7,69,73,.14) !important;
  border-radius:18px !important;
  box-shadow:0 1px 0 rgba(0,0,0,.04) !important;
}
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media[data-kisure-player-media-card="1"] {
  background:#f7fbfb !important;
  border-color:rgba(255,255,255,.22) !important;
}
html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media[data-kisure-player-media-card="1"] > img.ks-player-face-img--hero {
  display:block !important;
  width:90px !important;
  height:104px !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:90px !important;
  max-height:104px !important;
  margin:0 auto !important;
  padding:0 !important;
  object-fit:contain !important;
  object-position:center bottom !important;
  aspect-ratio:auto !important;
  transform:none !important;
  filter:none !important;
  image-rendering:auto !important;
  background:transparent !important;
  border:0 !important;
  border-radius:13px 13px 0 0 !important;
  outline:0 !important;
  box-shadow:none !important;
}
html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__content,
html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .ks-compact-profile-hero__facts {
  align-self:center !important;
  margin-bottom:0 !important;
}

/* Throttle warnings stay on the branded forms instead of the generic 429 page. */
.auth-form__alert--warning,
.ks-member-auth__alert.is-warning {
  border:1px solid #d9aa3a !important;
  background:#fff7df !important;
  color:#6d4a00 !important;
}
html[data-theme="dark"] .auth-form__alert--warning,
html[data-theme="dark"] .ks-member-auth__alert.is-warning {
  border-color:#8f6b24 !important;
  background:#2b2415 !important;
  color:#ffe4a1 !important;
}

@media (max-width:1080px) {
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"].ks-compact-profile-hero {
    grid-template-columns:96px minmax(0,1fr) !important;
    min-height:126px !important;
    padding:12px 16px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media[data-kisure-player-media-card="1"] {
    width:88px !important; height:104px !important; min-width:88px !important; max-width:88px !important; min-height:104px !important; max-height:104px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media[data-kisure-player-media-card="1"] > img.ks-player-face-img--hero {
    width:78px !important; height:92px !important; max-width:78px !important; max-height:92px !important;
  }
}
@media (max-width:760px) {
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"].ks-compact-profile-hero {
    grid-template-columns:82px minmax(0,1fr) !important;
    min-height:112px !important;
    padding:10px 12px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media[data-kisure-player-media-card="1"] {
    width:74px !important; height:90px !important; min-width:74px !important; max-width:74px !important; min-height:90px !important; max-height:90px !important; border-radius:15px !important; padding:4px 4px 0 !important;
  }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media[data-kisure-player-media-card="1"] > img.ks-player-face-img--hero {
    width:66px !important; height:80px !important; max-width:66px !important; max-height:80px !important; border-radius:11px 11px 0 0 !important;
  }
}
/* ===== END kisure-v905-auth-throttle-portrait-card.css ===== */

/* ===== BEGIN kisure-v906-square-portrait-countdown.css | sha256=383de22f6ef7d21e4273661366202c5950fdbd0a65052d25f868c2f2393cf06f ===== */
/* KISURE FE906 — square native profile media + visible auth retry countdown.
 * Native player/coach media remains untouched. The browser only clips the
 * original image inside a square rounded card with object-fit: cover.
 */

/* FE906 owns the compact player + coach media geometry after FE905. */
html[data-kisure-design="865"] body [data-kisure-native-portrait="1"].ks-compact-profile-hero {
  grid-template-columns:92px minmax(220px,.82fr) minmax(420px,1.55fr) !important;
  min-height:124px !important;
  padding:12px 22px !important;
  align-items:center !important;
}
html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media[data-kisure-profile-media-card="1"] {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  align-self:center !important;
  width:80px !important;
  height:80px !important;
  min-width:80px !important;
  max-width:80px !important;
  min-height:80px !important;
  max-height:80px !important;
  aspect-ratio:1 / 1 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  background:#ffffff !important;
  background-image:none !important;
  border:1px solid rgba(7,69,73,.16) !important;
  border-radius:16px !important;
  box-shadow:0 1px 0 rgba(0,0,0,.05) !important;
}
html[data-theme="dark"][data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media[data-kisure-profile-media-card="1"] {
  background:#f7fbfb !important;
  border-color:rgba(255,255,255,.24) !important;
}
html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media[data-kisure-profile-media-card="1"] > img.ks-player-face-img--hero {
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:cover !important;
  object-position:center 12% !important;
  aspect-ratio:1 / 1 !important;
  transform:none !important;
  filter:none !important;
  image-rendering:auto !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

/* Coach hero: current team appears once, as the linked club chip below facts.
 * The facts row therefore contains only nationality, career teams and honours. */
html[data-kisure-design="865"] body .football-coach-hero .football-coach-hero__quick {
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}
html[data-kisure-design="865"] body .football-coach-hero .football-player-team-link img {
  width:28px !important;
  height:28px !important;
  min-width:28px !important;
  max-width:28px !important;
  object-fit:contain !important;
  border-radius:50% !important;
  background:#fff !important;
  padding:2px !important;
}

/* Visible countdown used by branded login warnings and the 429 fallback page. */
.kisure-auth-retry-countdown {
  display:flex;
  align-items:baseline;
  gap:6px;
  margin-top:8px;
  font-weight:800;
}
.kisure-auth-retry-countdown strong {
  display:inline-grid;
  min-width:2.4ch;
  font-variant-numeric:tabular-nums;
  color:#087c78;
}
html[data-theme="dark"] .kisure-auth-retry-countdown strong { color:#8be9e6; }
.kisure-auth-retry-countdown.is-ready strong { color:#0b9ca0; }

@media (max-width:1080px) {
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"].ks-compact-profile-hero {
    grid-template-columns:80px minmax(0,1fr) !important;
    min-height:112px !important;
    padding:10px 16px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media[data-kisure-profile-media-card="1"] {
    width:70px !important;
    height:70px !important;
    min-width:70px !important;
    max-width:70px !important;
    min-height:70px !important;
    max-height:70px !important;
    border-radius:14px !important;
  }
}
@media (max-width:760px) {
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"].ks-compact-profile-hero {
    grid-template-columns:68px minmax(0,1fr) !important;
    min-height:100px !important;
    padding:9px 12px !important;
  }
  html[data-kisure-design="865"] body [data-kisure-native-portrait="1"] > .football-player-hero__media[data-kisure-profile-media-card="1"] {
    width:60px !important;
    height:60px !important;
    min-width:60px !important;
    max-width:60px !important;
    min-height:60px !important;
    max-height:60px !important;
    border-radius:12px !important;
  }
  html[data-kisure-design="865"] body .football-coach-hero .football-coach-hero__quick {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
/* ===== END kisure-v906-square-portrait-countdown.css ===== */

/* ===== BEGIN kisure-v908-follow-notifications-standings.css | sha256=e6bcdddf41e55a51babe7ef64f1f095c4bf0493d19ad9ea9b54b3c60787faec1 ===== */
/* KISURE FE908 — async Follow menus, live header notifications, compact standings, logo/form fixes. */

/* Automatic browser-push subscription modal is intentionally retired in FE908. */
.notification-subscribe-modal[data-notification-subscribe-modal] { display:none !important; }

/* Follow control: FotMob-like Following pill + dropdown, no page navigation required. */
.ks-follow-control{position:relative;display:inline-flex;align-items:center;z-index:8}
.ks-follow-control .ks-member-follow-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.48rem!important;min-height:42px!important;padding:.62rem .92rem!important;border-radius:999px!important;white-space:nowrap!important}
.ks-follow-control.is-following .ks-member-follow-button{border-color:currentColor!important}
.ks-follow-button__bell{font-size:.9em}.ks-follow-button__chevron{font-size:.72em;margin-left:.12rem}
.ks-follow-menu{position:absolute;top:calc(100% + 9px);right:0;z-index:2147483000;width:max-content;min-width:250px;padding:4px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;box-shadow:0 18px 48px rgba(15,23,42,.18);overflow:hidden}
.ks-follow-menu[hidden]{display:none!important}
.ks-follow-menu__item{width:100%;min-height:50px;border:0;background:transparent;color:#111827;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 16px;font:inherit;font-weight:700;text-align:left;cursor:pointer}
.ks-follow-menu__item+ .ks-follow-menu__item{border-top:1px solid rgba(15,23,42,.08)}
.ks-follow-menu__item:hover,.ks-follow-menu__item:focus-visible{background:#f2f8f8;outline:none}
.ks-follow-menu__item i{font-size:1rem}.ks-follow-menu__item--danger i{color:#252525}
html[data-theme="dark"] .ks-follow-menu{background:#172729;border-color:#315054;box-shadow:0 20px 52px rgba(0,0,0,.42)}
html[data-theme="dark"] .ks-follow-menu__item{color:#f4fbfb}
html[data-theme="dark"] .ks-follow-menu__item+ .ks-follow-menu__item{border-color:#315054}
html[data-theme="dark"] .ks-follow-menu__item:hover,html[data-theme="dark"] .ks-follow-menu__item:focus-visible{background:#20383b}
html[data-theme="dark"] .ks-follow-menu__item--danger i{color:#fff}

/* Header notification bell + live account panel. */
.ks-header-notifications{position:relative;display:inline-flex;align-items:center}
.ks-ref-notification{position:relative}
.ks-ref-notification__dot{position:absolute;right:7px;top:7px;width:9px;height:9px;border-radius:999px;background:#0B9CA0;border:2px solid var(--surface,#fff)}
.ks-header-notifications__panel{position:absolute;right:0;top:calc(100% + 12px);width:min(380px,calc(100vw - 24px));z-index:2147482500;background:#fff;color:#142d30;border:1px solid #cfe1e2;border-radius:20px;box-shadow:0 24px 64px rgba(15,23,42,.20);overflow:hidden}
.ks-header-notifications__panel[hidden]{display:none!important}
.ks-header-notifications__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:16px 16px 12px;border-bottom:1px solid #e2eeee}
.ks-header-notifications__head>div{display:grid;gap:2px}.ks-header-notifications__head strong{font-size:1.04rem}.ks-header-notifications__head small{color:#6b7f82;font-weight:650}
.ks-header-notifications__head button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:10px;background:#eef8f8;color:#17393c;cursor:pointer}
.ks-header-notifications__list{max-height:min(520px,65vh);overflow:auto;padding:6px}
.ks-header-notification-item{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;padding:11px 10px;border-radius:14px;color:inherit;text-decoration:none}
.ks-header-notification-item:hover,.ks-header-notification-item:focus-visible{background:#eef8f8;outline:none}
.ks-header-notification-item__icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#e3f6f5;color:#087c78}
.ks-header-notification-item__copy{display:grid;gap:2px;min-width:0}.ks-header-notification-item__copy strong{font-size:.92rem;line-height:1.2}.ks-header-notification-item__copy span{font-size:.82rem;color:#61777a;line-height:1.35}.ks-header-notification-item__copy time{font-size:.7rem;color:#84979a;font-weight:700}
.ks-header-notifications__empty{padding:28px 20px;text-align:center;color:#647b7e;font-weight:700}
html[data-theme="dark"] .ks-header-notifications__panel{background:#172729;color:#f3fbfb;border-color:#315054;box-shadow:0 26px 72px rgba(0,0,0,.48)}
html[data-theme="dark"] .ks-header-notifications__head{border-color:#315054}html[data-theme="dark"] .ks-header-notifications__head small,html[data-theme="dark"] .ks-header-notification-item__copy span,html[data-theme="dark"] .ks-header-notification-item__copy time,html[data-theme="dark"] .ks-header-notifications__empty{color:#b8cbcd}
html[data-theme="dark"] .ks-header-notifications__head button,html[data-theme="dark"] .ks-header-notification-item__icon{background:#203d40;color:#8be9e6}
html[data-theme="dark"] .ks-header-notification-item:hover,html[data-theme="dark"] .ks-header-notification-item:focus-visible{background:#20383b}

/* Match line-up crests: logo itself, no framed/outlined box. */
#lineups .football-lineup-card__crest,.football-lineup-card__crest{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;padding:0!important;overflow:visible!important}
#lineups .football-lineup-card__crest img,.football-lineup-card__crest img{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;object-fit:contain!important}

/* Standings hero: roughly one-third of the previous vertical footprint on desktop. */
html[data-kisure-design="865"] body .football-page .football-standings-hero{min-height:0!important;padding:9px 14px!important;gap:10px!important;align-items:center!important;border-radius:18px!important}
html[data-kisure-design="865"] body .football-page .football-standings-hero__title{gap:9px!important;align-items:center!important}
html[data-kisure-design="865"] body .football-page .football-standings-hero__title>img{width:42px!important;height:42px!important;min-width:42px!important;padding:4px!important;border-radius:11px!important;object-fit:contain!important;box-shadow:none!important}
html[data-kisure-design="865"] body .football-page .football-standings-hero .site-kicker{font-size:.67rem!important;margin-bottom:1px!important}
html[data-kisure-design="865"] body .football-page .football-standings-hero h1{font-size:clamp(1.12rem,1.6vw,1.45rem)!important;line-height:1.08!important;margin:0!important}
html[data-kisure-design="865"] body .football-page .football-standings-hero p{font-size:.76rem!important;line-height:1.22!important;margin:2px 0 0!important;max-width:720px!important}
html[data-kisure-design="865"] body .football-page .football-standings-hero .football-season-switcher{gap:4px!important;padding:0!important;margin:0!important}
html[data-kisure-design="865"] body .football-page .football-standings-hero .football-season-switcher label{font-size:.68rem!important}
html[data-kisure-design="865"] body .football-page .football-standings-hero .football-season-switcher select{min-height:36px!important;padding:5px 28px 5px 9px!important}
html[data-kisure-design="865"] body .football-page .football-standings-hero__league-link{min-height:36px!important;padding:.48rem .72rem!important;font-size:.78rem!important}

/* Standings team crests always show the complete logo; never cover/crop. */
.football-table-team img,.football-standings-card__team img{display:block!important;width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;min-height:34px!important;max-height:34px!important;object-fit:contain!important;object-position:center!important;padding:2px!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;clip-path:none!important;transform:none!important;box-shadow:none!important}

/* Form chips remain vivid/readable in both themes. */
.football-form-chips{align-items:center!important;gap:6px!important;white-space:nowrap!important}
.football-form-chips span,.football-form-chips a{width:32px!important;height:32px!important;min-width:32px!important;border-radius:999px!important;border:1px solid rgba(0,0,0,.07)!important;font-size:.73rem!important;font-weight:900!important;line-height:1!important;box-shadow:none!important;text-shadow:none!important}
.football-form-chips .is-w{background:#10b981!important;color:#062c20!important;border-color:#10b981!important}
.football-form-chips .is-d{background:#f97316!important;color:#231000!important;border-color:#f97316!important}
.football-form-chips .is-l{background:#ef4444!important;color:#fff!important;border-color:#ef4444!important}
.football-form-chips .is-n{background:#718096!important;color:#fff!important;border-color:#718096!important}
.football-form-chips--interactive a:hover,.football-form-chips--interactive a:focus-visible{transform:translateY(-1px);outline:2px solid #0B9CA0!important;outline-offset:2px!important}
html[data-theme="dark"] .football-form-chips span,html[data-theme="dark"] .football-form-chips a{border-color:rgba(255,255,255,.14)!important}
html[data-theme="dark"] .football-form-chips .is-w{color:#05251c!important}html[data-theme="dark"] .football-form-chips .is-d{color:#1f0d00!important}

.ks-inline-member-feedback{display:flex;align-items:center;gap:.55rem;margin-top:14px;padding:10px 13px;border:1px solid #8bd6d3;border-radius:12px;background:#eefafa;color:#086d6a;font-weight:800}
html[data-theme="dark"] .ks-inline-member-feedback{background:#173638;color:#9cf2ee;border-color:#326e70}

@media(max-width:760px){
  .ks-follow-menu{left:0;right:auto;min-width:230px}
  .ks-header-notifications__panel{position:fixed;top:74px;right:12px;left:12px;width:auto;max-height:calc(100vh - 92px)}
  html[data-kisure-design="865"] body .football-page .football-standings-hero{padding:9px 10px!important;grid-template-columns:minmax(0,1fr)!important}
  html[data-kisure-design="865"] body .football-page .football-standings-hero p{display:none!important}
  html[data-kisure-design="865"] body .football-page .football-standings-hero__title>img{width:36px!important;height:36px!important;min-width:36px!important}
  .football-form-chips span,.football-form-chips a{width:28px!important;height:28px!important;min-width:28px!important;font-size:.68rem!important}
}
/* ===== END kisure-v908-follow-notifications-standings.css ===== */

/* ===== BEGIN kisure-v910-member-current-club.css | sha256=cefaf4802c250cdd873a718245bd66a05fc2bfda44a604e4f8f0a02e4e710e5d ===== */
/* KISURE FE909 — follow menu portal, standings/logo spacing, lineup crest cleanup. */

/* Follow menus are portaled to <body> by FE909 JS so rounded/themed heroes cannot clip them. */
.ks-follow-control{position:relative;z-index:40!important}
.ks-follow-menu[data-kisure-portaled="1"]{
    position:fixed!important;
    top:0;
    left:0;
    right:auto!important;
    margin:0!important;
    z-index:2147483640!important;
    max-width:min(320px,calc(100vw - 24px));
}
.ks-follow-menu[data-kisure-portaled="1"][hidden]{display:none!important}

/* My Kisure uses the exact same async Following control as entity pages. */
.ks-member-follow-row .ks-follow-control{justify-self:end;z-index:45!important}
.ks-member-follow-row .ks-follow-control .ks-member-follow-button{
    min-height:38px!important;
    padding:.48rem .72rem!important;
    font-size:.86rem!important;
}
@media(max-width:640px){
    .ks-member-follow-row .ks-follow-control .ks-member-follow-button{padding:.46rem .58rem!important}
    .ks-member-follow-row .ks-follow-button__bell{display:none}
}

/* Match line-up team crest: a plain transparent logo holder with no legacy frame selectors. */
#lineups .football-lineup-card__crest-plain,
.football-lineup-card__crest-plain{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 56px!important;
    width:56px!important;
    height:56px!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    background-image:none!important;
    border:0!important;
    outline:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    clip-path:none!important;
}
#lineups .football-lineup-card__crest-image,
.football-lineup-card__crest-image{
    display:block!important;
    width:52px!important;
    height:52px!important;
    max-width:52px!important;
    max-height:52px!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important;
    object-position:center!important;
    background:transparent!important;
    background-image:none!important;
    border:0!important;
    outline:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    clip-path:none!important;
}

/* Standings competition crest stays transparent but gets a hairline edge around opaque PNG pixels. */
html[data-kisure-design="865"] body .football-page .football-standings-hero__title>img{
    background:transparent!important;
    background-image:none!important;
    border:0!important;
    box-shadow:none!important;
    object-fit:contain!important;
    filter:
        drop-shadow(.35px 0 0 rgba(15,23,42,.24))
        drop-shadow(-.35px 0 0 rgba(15,23,42,.24))
        drop-shadow(0 .35px 0 rgba(15,23,42,.24))
        drop-shadow(0 -.35px 0 rgba(15,23,42,.24))!important;
}
html[data-theme="dark"][data-kisure-design="865"] body .football-page .football-standings-hero__title>img{
    filter:
        drop-shadow(.4px 0 0 rgba(255,255,255,.94))
        drop-shadow(-.4px 0 0 rgba(255,255,255,.94))
        drop-shadow(0 .4px 0 rgba(255,255,255,.94))
        drop-shadow(0 -.4px 0 rgba(255,255,255,.94))!important;
}

/* Season selector: give both label and selected value real breathing room from the pill edges. */
html[data-kisure-design="865"] body .football-page .football-standings-hero .football-season-switcher--dropdown{
    display:inline-flex!important;
    align-items:center!important;
    gap:8px!important;
    min-height:44px!important;
    padding:4px 5px 4px 14px!important;
    margin:0!important;
    border-radius:16px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
}
html[data-kisure-design="865"] body .football-page .football-standings-hero .football-season-switcher--dropdown label{
    flex:0 0 auto!important;
    margin:0!important;
    padding:0 3px 0 0!important;
    line-height:1!important;
    white-space:nowrap!important;
}
html[data-kisure-design="865"] body .football-page .football-standings-hero .football-season-switcher--dropdown select{
    box-sizing:border-box!important;
    min-width:164px!important;
    min-height:36px!important;
    margin:0!important;
    padding:7px 36px 7px 14px!important;
    border-radius:12px!important;
    line-height:1.2!important;
    text-overflow:ellipsis!important;
}

/* Keep complete team logos visible in standings, including transparent/dark crests. */
.football-table-team img,.football-standings-card__team img{
    object-fit:contain!important;
    object-position:center!important;
    clip-path:none!important;
    overflow:visible!important;
}
html[data-theme="dark"] .football-table-team img,
html[data-theme="dark"] .football-standings-card__team img{
    filter:drop-shadow(0 0 .45px rgba(255,255,255,.78))!important;
}

@media(max-width:760px){
    html[data-kisure-design="865"] body .football-page .football-standings-hero .football-season-switcher--dropdown{
        width:100%!important;
        min-width:0!important;
        padding:4px 5px 4px 12px!important;
    }
    html[data-kisure-design="865"] body .football-page .football-standings-hero .football-season-switcher--dropdown select{
        min-width:0!important;
        flex:1 1 auto!important;
    }
    #lineups .football-lineup-card__crest-plain,.football-lineup-card__crest-plain{width:48px!important;height:48px!important;flex-basis:48px!important}
    #lineups .football-lineup-card__crest-image,.football-lineup-card__crest-image{width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important}
}

/* FE910 — smooth Follow/Following state transitions and notification-state parity. */
.ks-follow-control,
.ks-follow-control .ks-member-follow-button,
.ks-follow-control .ks-follow-button__bell,
.ks-follow-control .ks-follow-button__chevron,
.ks-follow-control [data-follow-leading-icon],
.ks-follow-menu__item,
.ks-follow-menu__item [data-follow-notification-icon]{
    transition:
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease,
        opacity .18s ease,
        transform .18s ease,
        box-shadow .18s ease!important;
}
.ks-follow-control.is-state-changing .ks-member-follow-button{transform:scale(.985)}
.ks-follow-control.is-state-changing [data-follow-leading-icon],
.ks-follow-control.is-state-changing .ks-follow-button__bell{transform:scale(.88);opacity:.78}
.ks-follow-control.is-busy .ks-member-follow-button{cursor:progress;opacity:.86}
.ks-follow-control.is-busy .ks-follow-menu__item{cursor:progress}
.ks-follow-control.notifications-disabled .ks-follow-button__bell,
.ks-member-follow-button.notifications-disabled .ks-follow-button__bell{opacity:.88}
.ks-follow-menu[data-kisure-portaled="1"]{transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;transform-origin:top right}
.ks-follow-menu[data-kisure-portaled="1"]:not([hidden]){animation:kisure-follow-menu-in .16s ease-out both}
@keyframes kisure-follow-menu-in{from{opacity:0;transform:translateY(-4px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){
    .ks-follow-control,.ks-follow-control *, .ks-follow-menu[data-kisure-portaled="1"]{transition:none!important;animation:none!important}
}
/* ===== END kisure-v910-member-current-club.css ===== */

/* ===== BEGIN kisure-v911-personalized-follow-predictions.css | sha256=cc04d97de208ebfa8934025edde3a9e0a33c9121af0c4bde05f62301a653a98d ===== */
/* Kisure FE911 — personalized follow delivery + no-reload saved predictions */

.ks-follow-menu__item--notifications{align-items:center!important;gap:.8rem!important}
.ks-follow-menu__item-copy{display:grid;gap:.18rem;min-width:0;text-align:left}
.ks-follow-menu__item-copy strong{font:inherit;font-weight:800;color:inherit}
.ks-follow-menu__item-copy small{display:block;max-width:250px;font-size:.72rem;line-height:1.35;font-weight:650;color:#687b82;white-space:normal}
html[data-theme="dark"] .ks-follow-menu__item-copy small{color:#b8c8cc}

.football-prediction-actions{display:flex;align-items:center;gap:.72rem;flex-wrap:wrap}
.football-prediction-actions form{margin:0;display:inline-flex}
.football-prediction-actions .site-button{min-height:46px;border-radius:14px;border-width:1px!important;box-shadow:none!important;transition:transform .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease,opacity .18s ease!important}
.football-prediction-actions .site-button--ghost,
.football-prediction-actions .ks-saved-predictions-link{background:#fff!important;color:#10272b!important;border-color:#cbdfe1!important}
.football-prediction-actions .site-button--ghost:hover,
.football-prediction-actions .ks-saved-predictions-link:hover{background:#eef8f8!important;border-color:#8dc9ca!important;color:#087C78!important}

.ks-prediction-save-form{display:inline-flex;position:relative}
.ks-saved-prediction-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.52rem!important;background:#0B9CA0!important;color:#fff!important;border-color:#0B9CA0!important;font-weight:850!important;min-width:182px;position:relative;overflow:hidden}
.ks-saved-prediction-action:hover{background:#07878B!important;border-color:#07878B!important;color:#fff!important}
.ks-saved-prediction-action.is-saved{background:#E8F7F7!important;color:#087C78!important;border-color:#8bd1d2!important}
.ks-saved-prediction-action.is-saved:hover{background:#dcf2f2!important;color:#066d6a!important;border-color:#65bfc1!important}
.ks-saved-prediction-action.is-busy{cursor:progress;opacity:.88}
.ks-prediction-save-form.is-state-changing .ks-saved-prediction-action{animation:ksPredictionSavePulse .28s ease}
@keyframes ksPredictionSavePulse{0%{transform:scale(1)}45%{transform:scale(.975)}100%{transform:scale(1)}}

html[data-theme="dark"] .football-prediction-actions .site-button--ghost,
html[data-theme="dark"] .football-prediction-actions .ks-saved-predictions-link{background:#172629!important;color:#f7ffff!important;border-color:#355158!important}
html[data-theme="dark"] .football-prediction-actions .site-button--ghost:hover,
html[data-theme="dark"] .football-prediction-actions .ks-saved-predictions-link:hover{background:#20383b!important;color:#c8ffff!important;border-color:#4f8588!important}
html[data-theme="dark"] .ks-saved-prediction-action{background:#0B9CA0!important;color:#fff!important;border-color:#32c2c6!important}
html[data-theme="dark"] .ks-saved-prediction-action:hover{background:#07878B!important;color:#fff!important}
html[data-theme="dark"] .ks-saved-prediction-action.is-saved{background:#143638!important;color:#baf4f2!important;border-color:#3f8f91!important}
html[data-theme="dark"] .ks-saved-prediction-action.is-saved:hover{background:#194548!important;color:#d9fffd!important;border-color:#5aaeb0!important}

.ks-header-notification-item__icon{overflow:hidden}
.ks-header-notification-item__icon img{width:100%;height:100%;object-fit:contain}

@media (max-width:720px){
  .football-prediction-actions{gap:.55rem}
  .football-prediction-actions .site-button,.ks-prediction-save-form{width:100%}
  .ks-saved-prediction-action{width:100%;min-width:0}
  .ks-follow-menu__item-copy small{max-width:210px}
}

/* Prediction header readability ownership in both themes. */
.football-prediction-detail-page .football-prediction-match-hero__copy :is(h1,p,.football-prediction-updated){color:#0e2227!important}
.football-prediction-detail-page .football-prediction-updated i{color:#087C78!important}
html[data-theme="dark"] .football-prediction-detail-page .football-prediction-match-hero__copy :is(h1,p,.football-prediction-updated){color:#f5ffff!important}
html[data-theme="dark"] .football-prediction-detail-page .football-prediction-updated i{color:#62d6d8!important}
html[data-theme="dark"] .football-prediction-detail-page .football-prediction-match-hero{background:#111d20!important;border-color:#294247!important}
html[data-theme="dark"] .football-prediction-detail-page .football-prediction-hero-badge{background:#17282b!important;color:#f5ffff!important;border-color:#35565c!important}
/* ===== END kisure-v911-personalized-follow-predictions.css ===== */

/* ===== BEGIN kisure-v912-prediction-avatar-repair.css | sha256=585d0025e6de41aa39d4ad5d4fa1909d66f1b9098a8cc51f83495f7d8e4a26dd ===== */
/* KISURE FE912 - prediction Blade hardening + member profile avatar */

.ks-ref-avatar {
    overflow: hidden;
    padding: 0;
    isolation: isolate;
}

.ks-ref-avatar.has-image {
    background: var(--ks-surface, #fff);
    border: 1px solid color-mix(in srgb, var(--ks-primary, #0B9CA0) 35%, transparent);
}

.ks-ref-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: inherit;
    background: transparent;
}

.ks-ref-avatar > span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.ks-member-profile-form {
    display: grid;
    gap: 12px;
}

.ks-member-profile-photo {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(11, 156, 160, .18);
    border-radius: 16px;
    background: rgba(232, 247, 247, .52);
}

.ks-member-profile-photo__preview {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid rgba(11, 156, 160, .30);
    background: #0B9CA0;
    color: #fff;
    font-size: 28px;
    font-weight: 850;
}

.ks-member-profile-photo__preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: inherit;
}

.ks-member-profile-photo__copy {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.ks-member-profile-photo__copy > label:first-child {
    font-weight: 800;
    color: var(--ks-text, #132f33);
}

.ks-member-profile-photo__copy p,
.ks-member-profile-photo__copy small {
    margin: 0;
    color: var(--ks-muted, #65767d);
    line-height: 1.4;
}

.ks-member-profile-photo__pick {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid rgba(11, 156, 160, .34);
    border-radius: 999px;
    background: #fff;
    color: #087C78;
    font-weight: 800;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.ks-member-profile-photo__pick:hover,
.ks-member-profile-photo__pick:focus-within {
    transform: translateY(-1px);
    border-color: #0B9CA0;
    background: #E8F7F7;
}

.ks-member-profile-photo__copy input[type="file"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ks-member-profile-error {
    color: #b42318;
    font-weight: 700;
}

html[data-theme="dark"] .ks-ref-avatar.has-image {
    background: #10282b;
    border-color: rgba(110, 224, 224, .38);
}

html[data-theme="dark"] .ks-member-profile-photo {
    background: rgba(11, 156, 160, .10);
    border-color: rgba(110, 224, 224, .22);
}

html[data-theme="dark"] .ks-member-profile-photo__preview {
    border-color: rgba(232, 247, 247, .38);
}

html[data-theme="dark"] .ks-member-profile-photo__copy > label:first-child {
    color: #f1fbfb;
}

html[data-theme="dark"] .ks-member-profile-photo__copy p,
html[data-theme="dark"] .ks-member-profile-photo__copy small {
    color: #b6c7ca;
}

html[data-theme="dark"] .ks-member-profile-photo__pick {
    background: #112729;
    border-color: rgba(110, 224, 224, .30);
    color: #e8f7f7;
}

html[data-theme="dark"] .ks-member-profile-photo__pick:hover,
html[data-theme="dark"] .ks-member-profile-photo__pick:focus-within {
    background: #16383a;
    border-color: #0B9CA0;
}

@media (max-width: 560px) {
    .ks-member-profile-photo {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 11px;
        padding: 12px;
    }

    .ks-member-profile-photo__preview {
        width: 72px;
        height: 72px;
        font-size: 23px;
    }
}
/* ===== END kisure-v912-prediction-avatar-repair.css ===== */

/* ===== BEGIN kisure-v917-availability-transfer-compact.css | sha256=7143640d58842a7f102dd71b214fe3e982e59faa18315c48183d6fdf25394235 ===== */
/* KISURE FE917 — availability hero, balanced Transfer Centre filters, compact generic page heroes. */

/* Current player availability: compact, unmistakable and readable on every team hero tone. */
.football-player-hero__content .football-player-availability-badge{
  display:inline-flex!important;align-items:center!important;gap:8px!important;width:max-content!important;max-width:100%!important;
  margin-top:8px!important;padding:6px 9px!important;border:1px solid color-mix(in srgb,var(--ks-hero-on-color,#fff) 38%,transparent)!important;
  border-radius:10px!important;background:color-mix(in srgb,var(--ks-hero-panel,rgba(0,0,0,.18)) 88%,transparent)!important;color:var(--ks-hero-on-color,#fff)!important;
  box-shadow:none!important;white-space:normal!important;
}
.football-player-availability-badge__copy{display:flex!important;align-items:baseline!important;gap:6px!important;min-width:0!important;flex-wrap:wrap!important}
.football-player-availability-badge__copy strong{color:inherit!important;font-size:.76rem!important;line-height:1.1!important}
.football-player-availability-badge__copy>span{color:inherit!important;font-size:.75rem!important;font-weight:750!important;opacity:.96!important;overflow:visible!important;text-overflow:clip!important}
.football-player-availability-badge__copy small{color:inherit!important;font-size:.68rem!important;font-weight:700!important;opacity:.78!important}
.football-player-availability-badge.is-injury>i{color:#ffd65a!important}.football-player-availability-badge.is-suspension>i{color:#ff947c!important}
html[data-theme="light"] .football-player-hero__content .football-player-availability-badge{box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)!important}
html[data-theme="dark"] .football-player-hero__content .football-player-availability-badge{background:rgba(4,18,20,.42)!important}

/* Transfer filter card: equal rhythm from first field through Apply filters. */
.ks-transfer-centre-page .ks-transfer-filters form{display:grid!important;gap:16px!important;padding:18px!important;box-sizing:border-box!important}
.ks-transfer-centre-page .ks-transfer-filter-group{display:grid!important;gap:8px!important;margin:0!important;padding:0 0 16px!important;border:0!important;border-bottom:1px solid var(--kt-border)!important;min-width:0!important}
.ks-transfer-centre-page .ks-transfer-filter-group:last-of-type{padding-bottom:16px!important}
.ks-transfer-centre-page .ks-transfer-filter-group--fee{padding:13px!important;border:1px solid var(--kt-border)!important;border-radius:12px!important;background:var(--kt-card-soft)!important}
.ks-transfer-centre-page .ks-transfer-fee-values{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0!important}
.ks-transfer-centre-page .ks-transfer-filter-note{display:block!important;margin:0!important;line-height:1.45!important}
.ks-transfer-centre-page .ks-transfer-range{position:relative!important;width:100%!important;height:38px!important;min-height:38px!important;margin:1px 0 0!important;overflow:visible!important;touch-action:none!important}
.ks-transfer-centre-page .ks-transfer-range__rail,.ks-transfer-centre-page .ks-transfer-range__fill{position:absolute!important;top:16px!important;height:6px!important;border-radius:999px!important;pointer-events:none!important}
.ks-transfer-centre-page .ks-transfer-range__rail{left:4px!important;right:4px!important;background:var(--kt-border)!important}
.ks-transfer-centre-page .ks-transfer-range__fill{background:var(--kt-primary)!important}
.ks-transfer-centre-page .ks-transfer-range input[type="range"]{
  position:absolute!important;inset:0!important;width:100%!important;height:38px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;
  appearance:none!important;-webkit-appearance:none!important;pointer-events:none!important;outline:0!important;
}
.ks-transfer-centre-page .ks-transfer-range input[type="range"]::-webkit-slider-runnable-track{height:6px!important;background:transparent!important;border:0!important}
.ks-transfer-centre-page .ks-transfer-range input[type="range"]::-webkit-slider-thumb{
  appearance:none!important;-webkit-appearance:none!important;width:20px!important;height:20px!important;margin-top:-7px!important;border:3px solid var(--kt-card)!important;border-radius:50%!important;
  background:var(--kt-primary)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--kt-primary) 65%,var(--kt-border)),0 2px 7px rgba(0,0,0,.12)!important;pointer-events:auto!important;cursor:grab!important;
}
.ks-transfer-centre-page .ks-transfer-range input[type="range"]:active::-webkit-slider-thumb{cursor:grabbing!important;transform:scale(1.06)}
.ks-transfer-centre-page .ks-transfer-range input[type="range"]::-moz-range-track{height:6px!important;background:transparent!important;border:0!important}
.ks-transfer-centre-page .ks-transfer-range input[type="range"]::-moz-range-thumb{
  width:16px!important;height:16px!important;border:3px solid var(--kt-card)!important;border-radius:50%!important;background:var(--kt-primary)!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--kt-primary) 65%,var(--kt-border)),0 2px 7px rgba(0,0,0,.12)!important;pointer-events:auto!important;cursor:grab!important;
}
.ks-transfer-centre-page .ks-transfer-filter-submit{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:48px!important;margin:0!important;padding:0 18px!important;
  box-sizing:border-box!important;border-radius:12px!important;font-size:14px!important;letter-spacing:0!important;line-height:1!important;
}
.ks-transfer-centre-page .ks-transfer-filter-submit:focus-visible{outline:3px solid color-mix(in srgb,var(--kt-primary) 28%,transparent)!important;outline-offset:2px!important}

/* Generic editorial/category/archive hero: roughly 40% of the former vertical footprint. */
.site-panel.site-panel--hero.page-hero{
  gap:5px!important;padding:10px 16px!important;border-top-width:3px!important;min-height:0!important;
}
.site-panel.site-panel--hero.page-hero .site-kicker{margin:0!important;font-size:.7rem!important;line-height:1.15!important}
.site-panel.site-panel--hero.page-hero .page-hero__title{margin:1px 0!important;font-size:clamp(24px,2.5vw,34px)!important;line-height:1.05!important}
.site-panel.site-panel--hero.page-hero .page-hero__summary{margin:0!important;max-width:900px!important;font-size:.88rem!important;line-height:1.4!important}
.site-panel.site-panel--hero.page-hero .chip-row{gap:5px!important;margin-top:4px!important}
.site-panel.site-panel--hero.page-hero .chip{min-height:29px!important;padding:4px 10px!important;font-size:.72rem!important;line-height:1!important}

@media(max-width:900px){
  .ks-transfer-centre-page .ks-transfer-filters form{padding:15px!important;gap:14px!important}
  .ks-transfer-centre-page .ks-transfer-filter-group--fee{padding:12px!important}
}
@media(max-width:680px){
  .football-player-availability-badge__copy{gap:4px 6px!important}
  .site-panel.site-panel--hero.page-hero{padding:9px 12px!important}
  .site-panel.site-panel--hero.page-hero .page-hero__title{font-size:clamp(22px,7vw,30px)!important}
  .site-panel.site-panel--hero.page-hero .page-hero__summary{font-size:.82rem!important}
}
/* ===== END kisure-v917-availability-transfer-compact.css ===== */
