/* Football Live Core Premium V4 — opt-in presentation polish only.
   Scoped to the existing flc-premium-preview toggle. No scores/API/routes changed. */
body.flc-premium-preview .flc-premium-footer {
  background:linear-gradient(126deg,#101722 0%,#1a1c29 60%,#301b2a 100%)!important;
  border-top:2px solid #a95669!important;
}
body.flc-premium-preview .flc-premium-footer .flc-footer-inner {
  max-width:1160px!important;
  padding:clamp(27px,3.5vw,46px) 20px 18px!important;
}
body.flc-premium-preview .flc-premium-footer .flc-footer-top {
  gap:clamp(16px,3vw,46px)!important;
  align-items:start!important;
}
body.flc-premium-preview .flc-premium-footer .flc-footer-logo {
  letter-spacing:0!important;
  text-decoration:none!important;
  font-size:clamp(21px,2.2vw,26px)!important;
}
body.flc-premium-preview .flc-premium-footer .flc-footer-about p {
  max-width:43ch!important;
  line-height:1.95!important;
  color:#c8cbd6!important;
  font-size:13px!important;
}
body.flc-premium-preview .flc-premium-footer nav h2 {
  color:#fff!important;font-size:14px!important;font-weight:900!important;
  margin:0 0 12px!important;
}
body.flc-premium-preview .flc-premium-footer nav li {min-width:0!important;margin:0!important}
body.flc-premium-preview .flc-premium-footer nav a,
body.flc-premium-preview .flc-premium-footer .flc-footer-option-links a {
  display:inline-flex!important;align-items:center!important;
  padding:5px 0!important;min-height:34px!important;
  line-height:1.65!important;color:#d3d7e0!important;
  text-decoration:none!important;transition:color .15s ease!important;
}
body.flc-premium-preview .flc-premium-footer a:hover {color:#ffdbad!important}
body.flc-premium-preview .flc-premium-footer a:focus-visible {
  outline:2px solid #e1b36c!important;outline-offset:4px!important;border-radius:3px!important;
}
body.flc-premium-preview .flc-premium-footer .flc-footer-option-links {
  border-top:1px solid rgba(255,255,255,.13)!important;
  gap:20px!important;
}
body.flc-premium-preview .flc-premium-footer .flc-footer-bottom {
  margin-top:24px!important;padding-top:17px!important;
  border-top:1px solid rgba(255,255,255,.14)!important;
  line-height:1.9!important;
}
/* Broken logo fallback is rendered client-side only when the image fails.
   It never modifies the stored fixture or a valid logo URL. */
body.flc-premium-preview .flc-v4-crest-placeholder {
  display:inline-flex;align-items:center;justify-content:center;
  inline-size:100%;block-size:100%;min-block-size:37px;
  border-radius:inherit;background:linear-gradient(135deg,#f7e5e9,#f6f7fb);
  color:#79263b;font-weight:900;font-size:clamp(14px,2vw,20px);
  text-align:center;line-height:1;
}
body.flc-premium-preview.Night .flc-v4-crest-placeholder {
  background:linear-gradient(135deg,#342732,#273045);color:#fce4ed;
}
@media(max-width:700px) {
  body.flc-premium-preview .flc-mc .flc-mc-crumb {max-width:100%!important;min-width:0!important}
  body.flc-premium-preview .flc-mc .flc-mc-crumb [aria-current="page"] {
    min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  }
  body.flc-premium-preview .flc-mc .flc-mc-head {padding-inline:13px!important}
  body.flc-premium-preview .flc-mc .flc-mc-team-name {
    font-size:clamp(12px,3.4vw,15px)!important;line-height:1.5!important;
    overflow-wrap:anywhere!important;hyphens:auto!important;
  }
  body.flc-premium-preview .flc-mc .flc-mc-score {
    font-variant-numeric:tabular-nums!important;white-space:nowrap!important;
  }
  body.flc-premium-preview .flc-mc .flc-mc-tabs {
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;padding:6px!important;
    max-width:100%!important;min-width:0!important;
  }
  body.flc-premium-preview .flc-mc .flc-mc-tab {
    min-width:0!important;min-height:44px!important;
    font-size:clamp(10px,2.8vw,12px)!important;padding:8px 3px!important;
    white-space:normal!important;text-align:center!important;line-height:1.35!important;
  }
  body.flc-premium-preview .flc-mc .flc-mc-panel {padding:16px 11px!important;min-width:0!important}
  body.flc-premium-preview .flc-mc .flc-mc-facts {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.flc-premium-preview .flc-mc .flc-mc-facts>div {padding:11px!important;min-height:75px!important}
  body.flc-premium-preview .flc-mc .flc-mc-facts dd {font-size:12px!important}
  body.flc-premium-preview .flc-mc .flc-mc-compare-row {
    grid-template-columns:minmax(35px,47px) minmax(0,1fr) minmax(35px,47px)!important;
    gap:6px!important;padding:10px 6px!important;min-height:62px!important;
  }
  body.flc-premium-preview .flc-mc .flc-mc-compare-row>strong {font-size:14px!important}
  body.flc-premium-preview .flc-mc .flc-mc-stat-label>span {font-size:11px!important}
  body.flc-premium-preview .flc-mc .flc-mc-pitch {max-width:100%!important;min-width:0!important}
  body.flc-premium-preview .flc-mc .flc-mc-pitch-player {max-width:100%!important;min-width:0!important}
  body.flc-premium-preview .flc-mc .flc-mc-pitch-avatar {width:36px!important;height:36px!important}
  body.flc-premium-preview .flc-mc .flc-mc-event {grid-template-columns:39px 26px minmax(0,1fr)!important;gap:6px!important}
  body.flc-premium-preview .flc-mc .flc-mc-event-body {padding:10px 9px!important;overflow-wrap:anywhere!important}
  body.flc-premium-preview .flc-mc .flc-mc-event time {font-size:12px!important}
  body.flc-premium-preview .flc-premium-footer .flc-footer-inner {padding:27px 18px 15px!important}
  body.flc-premium-preview .flc-premium-footer .flc-footer-top {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:23px 16px!important;
  }
  body.flc-premium-preview .flc-premium-footer .flc-footer-about {grid-column:1/-1!important;max-width:100%!important}
  body.flc-premium-preview .flc-premium-footer .flc-footer-about p {max-width:48ch!important}
  body.flc-premium-preview .flc-premium-footer nav a {min-height:42px!important;font-size:12.5px!important}
  body.flc-premium-preview .flc-premium-footer .flc-footer-option-links {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.flc-premium-preview .flc-premium-footer .flc-footer-bottom {align-items:flex-start!important;gap:5px!important;text-align:start!important}
}
@media(max-width:360px) {
  body.flc-premium-preview .flc-mc .flc-mc-tabs {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.flc-premium-preview .flc-mc .flc-mc-tab {min-height:42px!important;font-size:12px!important}
  body.flc-premium-preview .flc-premium-footer .flc-footer-top {gap:18px 10px!important}
}
@media(prefers-reduced-motion:reduce) {
  body.flc-premium-preview .flc-premium-footer a {transition:none!important}
}


/* Premium V4.1: a longer, gently traveling gold accent above match listings.
   Decorative CSS only: no layout shifts, no JS, no interactions. */
body.flc-premium-preview .STING-web-Container-Matches .STING-web-Container-Matches-Top::after {
  content:""!important;
  position:absolute!important;
  inset-block-start:0!important;
  inset-inline-start:18px;
  inline-size:clamp(90px,13vw,150px)!important;
  block-size:3px!important;
  background:linear-gradient(90deg,rgba(214,169,96,0),#c38a43 22%,#ffe1a5 52%,#c38a43 79%,rgba(214,169,96,0))!important;
  border-radius:999px!important;
  box-shadow:0 0 11px rgba(210,159,80,.4)!important;
  pointer-events:none!important;
  animation:flc-v41-gold-track 7s ease-in-out infinite alternate!important;
  will-change:auto;
}
@keyframes flc-v41-gold-track {
  0% { inset-inline-start:18px; opacity:.78; }
  100% { inset-inline-start:calc(100% - 168px); opacity:1; }
}
@media (max-width:480px) {
  body.flc-premium-preview .STING-web-Container-Matches .STING-web-Container-Matches-Top::after {
    inline-size:105px!important;
    animation-name:flc-v41-gold-track-mobile!important;
  }
  @keyframes flc-v41-gold-track-mobile {
    0% { inset-inline-start:14px; opacity:.85; }
    100% { inset-inline-start:calc(100% - 119px); opacity:1; }
  }
}
@media (prefers-reduced-motion:reduce) {
  body.flc-premium-preview .STING-web-Container-Matches .STING-web-Container-Matches-Top::after {
    animation:none!important;
    inset-inline-start:18px;
  }
}
body.flc-premium-preview .flc-v41-lineup-ready {
  grid-column:1 / -1;padding:9px 13px;margin:0 0 12px;
  color:#175d40;background:#eaf7f0;border:1px solid #b6dec9;border-radius:11px;
  font-weight:800;font-size:13px;text-align:center;
}
body.flc-premium-preview.Night .flc-v41-lineup-ready {
  color:#b6f1d3;background:#183229;border-color:#32614b;
}
