.fi-home {
  --bg: #0f172a;
  --card: #1e2937;
  --card2: #162032;
  --primary: #00d4ff;
  --accent: #ff2e63;
  --green: #00ff9f;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.fi-home img { max-width: 100%; display: block; object-fit: cover; }
.fi-home a { color: inherit; text-decoration: none; }

.fi-home .strip-wrap {
  background: var(--card2);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  position: relative;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: 16px;
}

.fi-home .strip-wrap::-webkit-scrollbar { display: none; }
.fi-home .strip-wrap.fi-overflow::before,
.fi-home .strip-wrap.fi-overflow::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  pointer-events: none;
  z-index: 2;
}
.fi-home .strip-wrap.fi-overflow::before {
  left: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0));
}
.fi-home .strip-wrap.fi-overflow::after {
  right: 0;
  background: linear-gradient(270deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0));
}
.fi-home .fi-strip-hint {
  position: absolute;
  right: 10px;
  top: 8px;
  z-index: 3;
  font-size: 10px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: .3px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 8px;
  pointer-events: none;
}
.fi-home .strip { display: flex; min-width: max-content; padding: 0 16px; }
.fi-home .sc { padding: 10px 18px; border-right: 1px solid var(--border); min-width: 200px; cursor: pointer; transition: 0.2s; scroll-margin-inline: 16px; }
.fi-home .sc:first-child { border-left: 1px solid var(--border); }
.fi-home .sc:hover { background: rgba(0, 212, 255, 0.06); }
.fi-home .sc-series { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi-home .sc-teams { display: flex; flex-direction: column; gap: 4px; }
.fi-home .sc-team { display: flex; align-items: center; gap: 6px; }
.fi-home .sc-team img { width: 20px; height: 20px; border-radius: 50%; background: var(--card); }
.fi-home .sc-tname { font-size: 13px; font-weight: 600; }
.fi-home .sc-score { font-size: 11px; color: var(--muted); margin-left: auto; }
.fi-home .sc-time { font-size: 11px; color: var(--primary); font-weight: 600; margin-top: 4px; }
.fi-home .live-badge { background: var(--accent); color: #fff; font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 3px; margin-right: 4px; vertical-align: middle; }
.fi-home .blink { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: fi-bl 1s infinite; vertical-align: middle; margin-right: 3px; }

.fi-home .stabs-wrap { background: var(--card2); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.fi-home .stabs-wrap::-webkit-scrollbar { display: none; }
.fi-home .stabs { display: flex; gap: 6px; padding: 8px 16px; max-width: 1280px; margin: auto; }
.fi-home .stab { padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--muted); transition: 0.2s; white-space: nowrap; }
.fi-home .stab.on,
.fi-home .stab:hover,
.fi-home .ftab.on { background: var(--primary); color: #070e1a; border-color: var(--primary); }

.fi-home .main { max-width: 1280px; margin: 20px auto; padding: 0 16px; display: grid; grid-template-columns: 236px 1fr 272px; gap: 18px; }
@media (max-width: 1080px) {
  .fi-home .main { grid-template-columns: 200px 1fr; }
  .fi-home .sr { display: none; }
}
@media (max-width: 700px) {
  .fi-home .main { grid-template-columns: 1fr; }
  .fi-home .sl { display: none; }
  .fi-home .strip { padding: 0 12px; }
  .fi-home .sc { min-width: 188px; scroll-margin-inline: 12px; }
}


.fi-home .box,
.fi-home .ssec,
.fi-home .prow,
.fi-home .feat { background: var(--card); border-radius: 10px; border: 1px solid var(--border); overflow: hidden; }
.fi-home .box { margin-bottom: 14px; }
.fi-home .box-hd { padding: 9px 14px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.fi-home .box-hd a { font-size: 11px; color: var(--primary); font-weight: 600; text-transform: none; letter-spacing: 0; }

.fi-home .sg-list { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.fi-home .sg-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 6px 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
  transition: 0.2s;
}
.fi-home .sg-item:hover { border-color: rgba(0, 212, 255, 0.35); background: rgba(0, 212, 255, 0.05); }
.fi-home .sg-num { font-size: 11px; color: var(--muted); font-weight: 700; }
.fi-home .sg-name { font-size: 12px; line-height: 1.45; color: var(--text); font-weight: 600; }
.fi-home .sg-meta { grid-column: 2; font-size: 10px; color: var(--muted); line-height: 1.3; }
.fi-home .sg-more {
  display: block;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.fi-home .rtabs { display: flex; border-bottom: 1px solid var(--border); }
.fi-home .rtab { flex: 1; text-align: center; padding: 7px; font-size: 11px; font-weight: 600; cursor: pointer; color: var(--muted); transition: 0.2s; border-bottom: 2px solid transparent; }
.fi-home .rtab.on { color: var(--primary); border-bottom-color: var(--primary); }
.fi-home .rstabs { display: flex; border-bottom: 1px solid var(--border); background: rgba(0, 0, 0, 0.15); }
.fi-home .rstab { flex: 1; text-align: center; padding: 5px 2px; font-size: 10px; font-weight: 600; cursor: pointer; color: var(--muted); transition: 0.2s; }
.fi-home .rstab.on { color: var(--primary); }
.fi-home .rrow { display: flex; align-items: center; padding: 6px 14px; gap: 8px; border-bottom: 1px solid var(--border); }
.fi-home .rrow:last-child { border-bottom: none; }
.fi-home .rnum { font-size: 11px; color: var(--muted); width: 16px; flex-shrink: 0; }
.fi-home .rteam { flex: 1; font-size: 12px; font-weight: 500; }
.fi-home .rpts { font-size: 12px; font-weight: 600; color: var(--muted); }

.fi-home .feat { position: relative; margin-bottom: 14px; cursor: pointer; min-height: 280px; border-radius: 12px; }
.fi-home .feat img { width: 100%; height: 320px; object-fit: cover; }
.fi-home .feat-ov { position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.93)); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 16px 16px; }
.fi-home .feat-cat { font-size: 10px; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 3px; font-weight: 700; text-transform: uppercase; display: inline-block; margin-bottom: 8px; }
.fi-home .feat-title { font-family: Rajdhani, sans-serif; font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.fi-home .feat-meta { font-size: 11px; color: var(--muted); }

.fi-home .ftabs { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; flex-wrap: wrap; }
.fi-home .ftab { padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--muted); transition: 0.2s; }
.fi-home .va { font-size: 12px; color: var(--primary); font-weight: 600; margin-left: auto; }

.fi-home .plist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.fi-home .prow { display: flex; gap: 12px; cursor: pointer; transition: 0.2s; }
.fi-home .prow:hover { border-color: rgba(0, 212, 255, 0.3); transform: translateY(-1px); }
.fi-home .prow img { width: 120px; height: 78px; flex-shrink: 0; background: var(--card2); }
.fi-home .prow-body { padding: 8px 12px 8px 0; display: flex; flex-direction: column; justify-content: center; }
.fi-home .prow-cat { font-size: 10px; color: var(--accent); font-weight: 700; text-transform: uppercase; margin-bottom: 3px; }
.fi-home .prow-title { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fi-home .prow-date { font-size: 11px; color: var(--muted); }

.fi-home .ls-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fi-home .ls-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: 0.2s;
}
.fi-home .ls-card:hover { border-color: rgba(0, 212, 255, 0.35); transform: translateY(-1px); }
.fi-home .ls-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fi-home .ls-series { font-size: 10px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--muted); }
.fi-home .ls-title { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--text); }
.fi-home .ls-team-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fi-home .ls-team { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text); }
.fi-home .ls-team img { width: 24px; height: 24px; border-radius: 50%; background: var(--card2); }
.fi-home .ls-score { font-size: 12px; color: var(--primary); font-weight: 700; }
.fi-home .ls-state { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.fi-home .ls-state.upcoming { color: #070e1a; background: var(--primary); }
.fi-home .ls-state.done { color: var(--green); background: rgba(0, 255, 159, 0.12); }
.fi-home .ls-footer { font-size: 11px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 7px; }
@media (max-width: 760px) {
  .fi-home .ls-grid { grid-template-columns: 1fr; }
}

.fi-home .ssec { margin-bottom: 16px; }
.fi-home .ssec-hd { padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.fi-home .ssec-title { font-family: Rajdhani, sans-serif; font-size: 16px; font-weight: 700; color: var(--primary); }
.fi-home .ssec-va { font-size: 12px; color: var(--primary); }
.fi-home .smatch { padding: 12px 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.fi-home .smatch-teams { flex: 1; }
.fi-home .smatch-team { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.fi-home .smatch-team img { width: 28px; height: 28px; border-radius: 50%; background: var(--card2); }
.fi-home .smatch-name { font-size: 13px; font-weight: 600; }
.fi-home .smatch-score { font-size: 11px; color: var(--muted); margin-left: auto; }
.fi-home .smatch-status { font-size: 11px; color: var(--green); padding: 4px 14px; border-top: 1px solid var(--border); }
.fi-home .spost { display: flex; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--border); cursor: pointer; transition: 0.2s; }
.fi-home .spost:last-child { border-bottom: none; }
.fi-home .spost:hover { background: rgba(0, 212, 255, 0.04); }
.fi-home .spost img { width: 80px; height: 54px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--card2); }
.fi-home .spost-title { font-size: 12px; font-weight: 600; line-height: 1.4; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fi-home .spost-date { font-size: 10px; color: var(--muted); margin-top: 4px; }

.fi-home .arow { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); cursor: pointer; transition: 0.2s; }
.fi-home .arow:last-child { border-bottom: none; }
.fi-home .arow:hover { background: rgba(0, 212, 255, 0.04); }
.fi-home .arow img { width: 64px; height: 44px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--card2); }
.fi-home .arow-title { font-size: 12px; font-weight: 600; line-height: 1.4; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fi-home .arow-date { font-size: 10px; color: var(--muted); margin-top: 3px; }
.fi-home .about-p { padding: 12px 14px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.fi-home .social-btns { padding: 10px 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.fi-home .sbtn { padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; color: #fff; transition: 0.2s; }
.fi-home .sbtn:hover { opacity: 0.85; }

.fi-home .footer { background: #070e1a; border-top: 1px solid var(--border); margin-top: 40px; padding: 30px 16px 20px; }
.fi-home .fg { max-width: 1280px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 700px) {
  .fi-home .fg { grid-template-columns: 1fr 1fr; }
}
.fi-home .fc-title { font-family: Rajdhani, sans-serif; font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.fi-home .fc a { display: block; font-size: 12px; color: var(--muted); padding: 3px 0; transition: 0.2s; }
.fi-home .fc a:hover { color: var(--primary); }
.fi-home .fb { max-width: 1280px; margin: 20px auto 0; padding-top: 14px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); flex-wrap: wrap; gap: 6px; }

.fi-home .tg { position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px; background: #0088cc; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 9999; box-shadow: 0 4px 20px rgba(0, 136, 204, 0.5); transition: 0.2s; }
.fi-home .tg:hover { transform: scale(1.1); }
.fi-home .tg svg { width: 28px; height: 28px; fill: #fff; }

.fi-home .sk { background: linear-gradient(90deg, var(--card) 25%, #243040 50%, var(--card) 75%); background-size: 200% 100%; animation: fi-sh 1.4s infinite; border-radius: 6px; }
.fi-home .empty { padding: 16px; text-align: center; color: var(--muted); font-size: 13px; }

@keyframes fi-bl { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
@keyframes fi-sh { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
