.fi-ls {
  --bg: #080f1d;
  --bg2: #0d1626;
  --card: #111827;
  --card2: #0d1626;
  --card-hov: #162032;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.12);
  --primary: #00d4ff;
  --accent: #ff2e63;
  --green: #00e676;
  --text: #eef2ff;
  --muted: #8896b3;
  --muted2: #5a6a85;
  --radius: 10px;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

.fi-ls *, .fi-ls *::before, .fi-ls *::after { box-sizing: border-box; }
.fi-ls img { display: block; max-width: 100%; object-fit: cover; }
.fi-ls button { cursor: pointer; border: none; background: none; font-family: inherit; }
.fi-ls a { color: inherit; text-decoration: none; }

.fi-ls .page-wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px 60px; }
.fi-ls .page-header { padding: 24px 0 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fi-ls .page-title { font-family: Rajdhani, sans-serif; font-size: clamp(22px, 4vw, 30px); font-weight: 700; line-height: 1.1; }
.fi-ls .page-title span { color: var(--primary); }
.fi-ls .live-count { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); background: var(--card); border: 1px solid var(--border); padding: 5px 12px; border-radius: 20px; }
.fi-ls .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: fi-ls-pulse 1.2s ease-in-out infinite; }

.fi-ls .tab-bar { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 4px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.fi-ls .tab-bar::-webkit-scrollbar { display: none; }
.fi-ls .tab-btn { flex: 1; min-width: 96px; padding: 9px 16px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; text-align: center; }
.fi-ls .tab-btn.active { background: var(--primary); color: #000; box-shadow: 0 2px 12px rgba(0, 212, 255, 0.3); }
.fi-ls .cnt { display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; margin-left: 5px; }
.fi-ls .tab-btn:not(.active) .cnt { background: var(--border2); color: var(--muted); }
.fi-ls .tab-btn.active .cnt { background: rgba(0, 0, 0, 0.2); color: #000; }

.fi-ls .filter-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
.fi-ls .filter-row::-webkit-scrollbar { display: none; }
.fi-ls .chip { padding: 5px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--border); background: var(--card); white-space: nowrap; }
.fi-ls .chip.active { background: rgba(0, 212, 255, 0.1); border-color: var(--primary); color: var(--primary); }

.fi-ls .refresh-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.fi-ls .refresh-info { font-size: 11px; color: var(--muted2); }
.fi-ls .refresh-info span { color: var(--primary); }
.fi-ls .refresh-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--primary); padding: 4px 10px; border: 1px solid rgba(0, 212, 255, 0.2); border-radius: 6px; }
.fi-ls .refresh-btn:hover { background: rgba(0, 212, 255, 0.08); }
.fi-ls .refresh-btn.spinning svg { animation: fi-ls-spin 0.6s linear infinite; }

.fi-ls .series-group { margin-bottom: 18px; }
.fi-ls .series-header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--card2); border: 1px solid var(--border); border-bottom: none; border-radius: var(--radius) var(--radius) 0 0; }
.fi-ls .series-name { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi-ls .series-match-count { font-size: 10px; font-weight: 700; background: rgba(0, 212, 255, 0.1); color: var(--primary); padding: 2px 8px; border-radius: 10px; }

.fi-ls .match-card { background: var(--card); border: 1px solid var(--border); border-top: none; cursor: pointer; position: relative; }
.fi-ls .match-card:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.fi-ls .match-card:hover { background: var(--card-hov); border-color: rgba(0, 212, 255, 0.18); }
.fi-ls .match-card.is-live::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.fi-ls .card-inner { padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.fi-ls .match-meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.fi-ls .match-num, .fi-ls .venue-name { font-size: 10px; color: var(--muted2); }
.fi-ls .venue-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }

.fi-ls .team-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.fi-ls .team-logo, .fi-ls .team-logo-fallback { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg2); flex-shrink: 0; }
.fi-ls .team-logo-fallback { display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--muted); }
.fi-ls .team-name { font-size: 13px; font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi-ls .team-score { font-family: Rajdhani, sans-serif; font-size: 15px; font-weight: 700; white-space: nowrap; }
.fi-ls .team-overs { font-size: 10px; color: var(--muted); margin-left: 3px; }

.fi-ls .status-block { text-align: right; min-width: 90px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.fi-ls .live-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 0.8px; padding: 3px 7px; border-radius: 4px; text-transform: uppercase; }
.fi-ls .upcoming-time { font-size: 12px; font-weight: 700; color: var(--primary); }
.fi-ls .upcoming-day { font-size: 10px; color: var(--muted); }
.fi-ls .result-label { font-size: 11px; font-weight: 600; color: var(--green); }
.fi-ls .match-status-strip { padding: 6px 14px; font-size: 11px; border-top: 1px solid var(--border); color: var(--muted); }
.fi-ls .match-status-strip.live-status { color: #ffd54f; }
.fi-ls .match-status-strip.ended-status { color: var(--green); }

.fi-ls .sk { background: linear-gradient(90deg, var(--card) 25%, #1a2540 50%, var(--card) 75%); background-size: 1200px 100%; animation: fi-ls-shimmer 1.6s ease-in-out infinite; border-radius: 6px; }
.fi-ls .sk-series { height: 44px; border-radius: var(--radius) var(--radius) 0 0; }
.fi-ls .sk-card { height: 100px; border-top: 1px solid var(--border); }
.fi-ls .sk-group { margin-bottom: 18px; }

.fi-ls .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; color: var(--muted); }
.fi-ls .empty-state .icon { width: 56px; height: 56px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px; }
.fi-ls .retry-btn { margin-top: 16px; padding: 9px 20px; background: var(--primary); color: #000; font-weight: 700; font-size: 12px; border-radius: 8px; }
.fi-ls .seo-block { margin-top: 32px; padding: 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.fi-ls .seo-block h2 { font-family: Rajdhani, sans-serif; font-size: 18px; margin-bottom: 10px; }
.fi-ls .seo-block p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 8px; }
.fi-ls .seo-block p:last-child { margin-bottom: 0; }

.fi-ls .progress-bar { position: sticky; top: 0; height: 2px; background: var(--primary); width: 0%; transition: width 0.3s ease; z-index: 10; box-shadow: 0 0 6px var(--primary); margin-bottom: 8px; }

@media (max-width: 600px) {
  .fi-ls .page-wrap { padding: 0 12px 60px; }
  .fi-ls .card-inner { grid-template-columns: 1fr; gap: 6px; }
  .fi-ls .status-block { flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; min-width: unset; width: 100%; padding-top: 4px; border-top: 1px solid var(--border); }
}

@keyframes fi-ls-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }
@keyframes fi-ls-spin { to { transform: rotate(360deg); } }
@keyframes fi-ls-shimmer { 0% { background-position: -600px 0; } 100% { background-position: 600px 0; } }
