/* KISURE FE935 — exact-order shared late CSS segment. Source declarations unchanged. */

/* ===== 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 ===== */
