/* SoccerMatchToday Premium Matchday Experience 3.7.0 */
.smt-fan-header-button{position:relative}
.smt-fan-count{position:absolute;top:-4px;right:-5px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border:2px solid var(--smt-surface,#fff);border-radius:999px;background:var(--smt-primary,#16c784);color:#041a12;font-size:9px;font-weight:900;line-height:1}
.smt-fan-backdrop{position:fixed;z-index:99996;inset:0;background:rgba(2,12,24,.58);opacity:0;backdrop-filter:blur(4px);transition:opacity .22s ease}
.smt-fan-backdrop.is-open{opacity:1}
.smt-fan-hub{position:fixed;z-index:99997;top:0;right:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;width:min(430px,100vw);height:100dvh;overflow:hidden;border-left:1px solid var(--smt-border,#dbe4ee);background:var(--smt-surface,#fff);color:var(--smt-text,#132037);box-shadow:-22px 0 70px rgba(2,12,24,.2);visibility:hidden;transform:translate3d(102%,0,0);transition:transform .28s cubic-bezier(.22,.8,.22,1),visibility 0s linear .28s}
.smt-fan-hub.is-open{visibility:visible;transform:translate3d(0,0,0);transition-delay:0s}
.smt-fan-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 22px 17px;border-bottom:1px solid var(--smt-border,#e0e7ef);background:linear-gradient(135deg,color-mix(in srgb,var(--smt-primary,#16c784) 12%,var(--smt-surface,#fff)),var(--smt-surface,#fff) 62%)}
.smt-fan-head h2{margin:2px 0 0;color:var(--smt-text,#132037);font-family:var(--smt-font-display,"Inter Tight",sans-serif);font-size:27px;line-height:1.08}
.smt-fan-kicker{color:var(--smt-primary-strong,#087d55);font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.smt-fan-connection{display:grid;grid-template-columns:8px 19px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:43px;padding:8px 22px;border-bottom:1px solid var(--smt-border,#e0e7ef);background:var(--smt-soft,#f5f8fb);font-size:11px}
.smt-fan-connection>span{width:8px;height:8px;border-radius:50%;background:var(--smt-primary,#16c784);box-shadow:0 0 0 4px color-mix(in srgb,var(--smt-primary,#16c784) 16%,transparent)}
.smt-fan-connection .smt-icon{width:16px;height:16px;color:var(--smt-muted,#6a788e)}
.smt-fan-connection strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.smt-fan-connection small{color:var(--smt-muted,#6a788e);font-size:10px;white-space:nowrap}
.smt-fan-connection.is-offline>span{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.16)}
.smt-fan-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--smt-border,#e0e7ef);background:var(--smt-surface,#fff)}
.smt-fan-tabs button{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;min-height:52px;padding:9px 7px;border:0;background:transparent;color:var(--smt-muted,#6a788e);font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.smt-fan-tabs button::after{content:"";position:absolute;right:15px;bottom:-1px;left:15px;height:3px;border-radius:3px 3px 0 0;background:var(--smt-primary,#16c784);opacity:0;transform:scaleX(.45);transition:.2s ease}
.smt-fan-tabs button.is-active{color:var(--smt-text,#132037)}
.smt-fan-tabs button.is-active::after{opacity:1;transform:none}
.smt-fan-tabs .smt-icon{width:15px;height:15px}
.smt-fan-scroll{min-height:0;overflow:auto;padding:18px 18px 28px;overscroll-behavior:contain}
.smt-fan-list{display:grid;gap:10px}
.smt-fan-empty{display:grid;place-items:center;min-height:220px;padding:28px;border:1px dashed var(--smt-border,#dbe4ee);border-radius:16px;background:var(--smt-soft,#f5f8fb);text-align:center}
.smt-fan-empty .smt-icon{width:31px;height:31px;margin-bottom:12px;color:var(--smt-primary,#16c784)}
.smt-fan-empty strong{display:block;margin-bottom:5px;font-size:14px}
.smt-fan-empty p{max-width:260px;margin:0;color:var(--smt-muted,#6a788e);font-size:11px;line-height:1.6}
.smt-fan-item{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:68px;padding:11px;border:1px solid var(--smt-border,#dbe4ee);border-radius:14px;background:var(--smt-surface,#fff);box-shadow:0 5px 16px rgba(7,20,38,.045)}
.smt-fan-item-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:color-mix(in srgb,var(--smt-primary,#16c784) 12%,var(--smt-soft,#f5f8fb));color:var(--smt-primary-strong,#087d55)}
.smt-fan-item-icon .smt-icon{width:20px;height:20px}
.smt-fan-item-copy{min-width:0}
.smt-fan-item-copy a,.smt-fan-item-copy strong{display:block;overflow:hidden;color:var(--smt-text,#132037);font-size:12px;font-weight:800;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}
.smt-fan-item-copy a:hover{text-decoration:underline}
.smt-fan-item-copy small{display:block;margin-top:4px;overflow:hidden;color:var(--smt-muted,#6a788e);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}
.smt-fan-item-actions{display:flex;align-items:center;gap:4px}
.smt-fan-item-actions button,.smt-fan-item-actions a{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid var(--smt-border,#dbe4ee);border-radius:10px;background:var(--smt-soft,#f5f8fb);color:var(--smt-text,#132037);cursor:pointer}
.smt-fan-item-actions button:hover,.smt-fan-item-actions a:hover{border-color:var(--smt-primary,#16c784);color:var(--smt-primary-strong,#087d55)}
.smt-fan-item-actions .smt-icon{width:15px;height:15px}
.smt-fan-settings{display:grid;overflow:hidden;border:1px solid var(--smt-border,#dbe4ee);border-radius:16px;background:var(--smt-surface,#fff)}
.smt-fan-settings label{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:70px;padding:13px 15px;border-bottom:1px solid var(--smt-border,#e0e7ef);cursor:pointer}
.smt-fan-settings label:last-child{border-bottom:0}
.smt-fan-settings label>span{display:grid;gap:3px}
.smt-fan-settings strong{font-size:12px}
.smt-fan-settings small{color:var(--smt-muted,#6a788e);font-size:9.5px;line-height:1.45}
.smt-fan-settings input{position:absolute;opacity:0;pointer-events:none}
.smt-fan-settings label>i{position:relative;width:42px;height:24px;flex:0 0 42px;border-radius:999px;background:#c8d1dc;transition:.2s ease}
.smt-fan-settings label>i::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.2);transition:.2s ease}
.smt-fan-settings input:checked+i{background:var(--smt-primary,#16c784)}
.smt-fan-settings input:checked+i::after{transform:translateX(18px)}
.smt-fan-settings input:focus-visible+i{outline:3px solid color-mix(in srgb,var(--smt-primary,#16c784) 34%,transparent);outline-offset:3px}
.smt-fan-install{display:flex!important;width:100%;margin-top:14px;align-items:center;justify-content:center;gap:8px}
.smt-fan-install[hidden]{display:none!important}
.smt-fan-install .smt-icon{width:16px;height:16px}
.smt-fan-reset{display:block;margin:18px auto 0;border:0;background:transparent;color:var(--smt-muted,#6a788e);font:inherit;font-size:10px;text-decoration:underline;cursor:pointer}
.smt-fan-hub>footer{padding:12px 20px;border-top:1px solid var(--smt-border,#e0e7ef);background:var(--smt-soft,#f5f8fb);text-align:center}
.smt-fan-hub>footer p{margin:0;color:var(--smt-muted,#6a788e);font-size:9px}
.smt-fan-toast{position:fixed;z-index:100000;right:22px;bottom:22px;max-width:min(360px,calc(100vw - 32px));padding:12px 15px;border:1px solid color-mix(in srgb,var(--smt-primary,#16c784) 50%,var(--smt-border,#dbe4ee));border-radius:12px;background:var(--smt-secondary,#071426);color:#fff;box-shadow:0 14px 40px rgba(2,12,24,.28);font-size:11px;font-weight:700;opacity:0;transform:translateY(10px);transition:.2s ease}
.smt-fan-toast.is-visible{opacity:1;transform:none}
.smt-match-row-actions{z-index:3}
.smt-match-alert-button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--smt-muted,#76849a);cursor:pointer}
.smt-match-alert-button:hover,.smt-match-alert-button.is-active{background:color-mix(in srgb,var(--smt-primary,#16c784) 13%,transparent);color:var(--smt-primary-strong,#087d55)}
.smt-match-alert-button.is-active .smt-icon{fill:currentColor}
.smt-match-alert-button .smt-icon{width:16px;height:16px}
.smt-match-centre-action[data-smt-match-alert].is-active{border-color:var(--smt-centre-green,var(--smt-primary,#16c784));background:color-mix(in srgb,var(--smt-centre-green,var(--smt-primary,#16c784)) 12%,var(--smt-centre-card,#fff));color:var(--smt-centre-green,var(--smt-primary,#16c784))}
body.smt-fan-density-compact .smt-match-row{min-height:60px}
body.smt-fan-density-compact .smt-match-row .smt-match-teams>div{min-height:25px}
body.smt-fan-density-compact .smt-match-row .smt-crest{width:25px;height:25px}
body.smt-fan-density-compact .smt-fixture-card{padding-block:7px}
html[data-smt-low-data="1"] *{backdrop-filter:none!important}
html[data-smt-low-data="1"] .smt-featured-card::before,html[data-smt-low-data="1"] .smt-section::before{display:none!important}
html[data-smt-low-data="1"] .smt-fan-backdrop{backdrop-filter:none}
html[data-smt-reduced-motion="1"]{scroll-behavior:auto!important}
html[data-smt-reduced-motion="1"] *,html[data-smt-reduced-motion="1"] *::before,html[data-smt-reduced-motion="1"] *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
html[data-theme="dark"] .smt-fan-hub{--smt-surface:#0d1b2c;--smt-soft:#122338;--smt-border:#26384e;--smt-text:#e8eef6;--smt-muted:#9aa9bc;--smt-primary-strong:#51dfa8}
html[data-theme="dark"] .smt-fan-head{background:linear-gradient(135deg,rgba(22,199,132,.13),#0d1b2c 62%)}
html[data-theme="dark"] .smt-fan-item{box-shadow:none}
html[data-theme="dark"] .smt-fan-count{border-color:#071426}
@media(max-width:1180px){.smt-fan-header-button{display:grid}.smt-match-row-actions{gap:1px}}
@media(max-width:760px){
  .smt-fan-hub{top:auto;bottom:0;width:100%;height:min(88dvh,760px);border-top:1px solid var(--smt-border,#dbe4ee);border-left:0;border-radius:22px 22px 0 0;transform:translate3d(0,104%,0)}
  .smt-fan-hub.is-open{transform:translate3d(0,0,0)}
  .smt-fan-head{padding:19px 17px 14px}
  .smt-fan-head::before{content:"";position:absolute;top:7px;left:50%;width:38px;height:4px;border-radius:999px;background:var(--smt-border,#dbe4ee);transform:translateX(-50%)}
  .smt-fan-head h2{font-size:23px}
  .smt-fan-connection{padding-inline:17px}
  .smt-fan-scroll{padding:14px 13px 22px}
  .smt-fan-toast{right:16px;bottom:88px;left:16px;max-width:none;text-align:center}
  .smt-match-alert-button{width:30px;height:30px}
}
@media(max-width:479px){
  .smt-header-actions .smt-icon-button.smt-fan-header-button{display:grid!important}
  .smt-header-actions [data-search-open]{display:none}
  .smt-match-row{grid-template-columns:52px minmax(0,1fr) 64px}
  .smt-match-row-actions{justify-content:flex-end}
  .smt-match-row-actions .smt-favourite-button,.smt-match-row-actions .smt-match-alert-button{width:30px;height:30px}
  .smt-fan-connection{grid-template-columns:8px 18px minmax(0,1fr)}
  .smt-fan-connection small{display:none}
  .smt-fan-tabs button{font-size:10px}
  .smt-fan-item{grid-template-columns:38px minmax(0,1fr) auto;padding:9px}
  .smt-fan-item-icon{width:38px;height:38px}
}
@media(prefers-reduced-motion:reduce){.smt-fan-hub,.smt-fan-backdrop,.smt-fan-toast{transition:none}}
