/**
 * Live scores – shared by football and cricket (page-livescore.php):
 * LIVE ONLY button, "Scores update every few minutes" bar, LIVE ONLY filter.
 * Loaded on the Live Score template only (functions.php).
 */
@keyframes lvpulse{0%,100%{opacity:1}50%{opacity:.3}}

/* LIVE ONLY button (filter bar #16231C) */
.live-score-header .btn-live-only{display:inline-flex;align-items:center;gap:8px;height:46px;margin:0;padding:0 16px;border:1px solid rgba(255,255,255,.28);border-radius:8px;background:transparent;color:#FFFFFF;font:600 13px/1 "Inter",sans-serif;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;cursor:pointer;box-shadow:none;transition:background .15s,border-color .15s}
.live-score-header .btn-live-only:hover,.live-score-header .btn-live-only:focus{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.45);color:#FFFFFF;outline:none}
.live-score-header .btn-live-only:focus-visible{outline:2px solid #FFFFFF;outline-offset:2px}
.live-score-header .btn-live-only.is-on{background:#A2FB28;border-color:#A2FB28}
.live-score-header .btn-live-only:disabled{opacity:.4;cursor:not-allowed;background:transparent;border-color:rgba(255,255,255,.28)}
.live-score-header .btn-live-only .lv-live-dot{width:8px;height:8px;border-radius:50%;background:#FF4D6D;animation:lvpulse 1.4s ease-in-out infinite}
.live-score-header .btn-live-only:disabled .lv-live-dot{animation:none}
.live-score-header .btn-live-only .lv-live-count{font-weight:400;opacity:.8}

/* update bar under the filter bar (today only) */
.lv-update-bar{display:flex;align-items:center;gap:8px;padding:10px 24px;background:#F6F9F8;border-bottom:1px solid #DAE3DF;font:400 12px/1.4 "Inter",sans-serif;color:#5E6F64}
.lv-update-bar[hidden]{display:none}

/* LIVE ONLY filter: leagues without a live match and finished / upcoming matches are hidden */
.data-live-score-ajax.lv-live-only > .accordion-item:not(.has-live){display:none}
.data-live-score-ajax.lv-live-only .list-item-team-sprot:not(.is-live),
.data-live-score-ajax.lv-live-only .lv-row:not(.is-live){display:none !important}

/* Tablet / mobile: "LIVE" only, 44px touch targets */
@media (max-width:1023px){
  .live-score-header .header-right{flex-wrap:wrap}
  .live-score-header .btn-live-only{height:44px;padding:0 12px;gap:6px;font-size:12px}
  .live-score-header .btn-live-only .lv-only{display:none}
  .lv-update-bar{padding:9px 20px}
}
@media (max-width:599px){
  .live-score-header .header-right{gap:12px}
  .lv-update-bar{padding:9px 14px;font-size:11px}
}

/* GoalBliz 2026-11-20: LIVE ONLY pressed = lime fill, dark text (spec: LIVE ONLY pressed #A2FB28 / #07140C) */
.live-score-header .btn-live-only:hover{border-color:#A2FB28}
.live-score-header .btn-live-only.is-on,.live-score-header .btn-live-only.is-on:hover,.live-score-header .btn-live-only.is-on:focus{background:#A2FB28;border-color:#A2FB28;color:#07140C}
.live-score-header .btn-live-only.is-on .lv-live-dot{background:#07140C}
/* Football league rows (desktop): fixed date column so dates stay on one line and line up (25/11/2026) */
@media (min-width:992px){
  .live-score-body-content .custom-accordion-head.d-grid.cols-3{grid-template-columns:max-content minmax(0,1fr) 190px;column-gap:0}
  .live-score-body-content .custom-accordion-head .league-sport{min-width:0}
  .live-score-body-content .custom-accordion-head .timeline-sport-pc{min-width:0;white-space:nowrap}
}
