/* KISURE FE908 — async Follow menus, live header notifications, compact standings, logo/form fixes. */

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

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

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

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

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

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

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

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

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