/* ============================================================
   TySoLive BongDaVN - Dark Modern Sports Portal Theme
   Overrides for vnfootball-new portal (vf-* classes)
   ============================================================ */
:root{
  --bg:#0a0e17;
  --bg-2:#0d1320;
  --surface:#141c2b;
  --surface-2:#1a2436;
  --surface-3:#212d42;
  --border:#263248;
  --border-soft:#1d2738;
  --text:#e8eef7;
  --text-muted:#97a4ba;
  --text-dim:#6b7790;
  --accent:#1fd65f;        /* football green */
  --accent-2:#19c3ff;      /* electric cyan */
  --accent-3:#ffb020;      /* gold */
  --danger:#ff4d5e;
  --live:#ff3b4e;
  --radius:14px;
  --radius-sm:9px;
  --shadow:0 8px 30px rgba(0,0,0,.45);
  --maxw:1500px;
  --font:'Inter','Be Vietnam Pro','Segoe UI',system-ui,-apple-system,Arial,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(31,214,95,.10), transparent 60%),
    radial-gradient(1000px 500px at -10% 10%, rgba(25,195,255,.08), transparent 55%),
    var(--bg);
  color:var(--text);
  font-family:var(--font);
  font-size:15px;line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--accent-2);text-decoration:none;transition:color .15s}
a:hover{color:var(--accent)}
img{max-width:100%;display:block}
h1,h2,h3,h4{color:#fff;line-height:1.25;margin:0 0 .5em;font-weight:700}

/* ---------- layout ---------- */
.vf-new-portal{
  width:100%;padding:0;
}
.vf-page-wrapper,.vf-portal-container{
  width:100%;padding:0;
}
.vf-wrap{
  max-width:1500px;margin:0 auto;padding:0 16px;
}
.vf-main-content{padding:26px 0 50px}
.vf-two-col{display:grid;grid-template-columns:1fr;gap:24px}

/* ---------- header ---------- */
.vf-header{
  position:sticky;top:0;z-index:50;
  background:rgba(10,14,23,.85);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border-soft);
}
.vf-header-inner{
  max-width:1500px;margin:0 auto;padding:12px 16px;
  display:flex;align-items:center;gap:22px;
}
.vf-logo,.vf-logo-brand{display:flex;align-items:center;gap:10px}
.vf-logo-icon{
  width:38px;height:38px;border-radius:10px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  display:grid;place-items:center;color:#04130a;font-weight:800;font-size:18px;
}
.vf-logo-text{font-weight:800;font-size:19px;color:#fff;letter-spacing:.3px}
.vf-logo-subtitle,.vf-logo-brand-text{color:var(--text-muted);font-size:12px}
.vf-main-nav{display:flex;align-items:center;gap:6px;flex:1}
.vf-nav-link{
  padding:8px 13px;border-radius:9px;color:var(--text-muted);font-weight:600;font-size:14px;
}
.vf-nav-link:hover{background:var(--surface-2);color:#fff}
.vf-nav-live{color:var(--live)!important;display:inline-flex;align-items:center;gap:6px}
.vf-nav-live::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--live);box-shadow:0 0 0 4px rgba(255,59,78,.18);animation:pulse 1.4s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
.vf-header-search{margin-left:auto;display:flex;align-items:center;gap:8px}
.vf-header-search input{
  background:var(--surface);border:1px solid var(--border);color:var(--text);
  border-radius:9px;padding:8px 12px;width:200px;outline:none;
}
.vf-header-search input:focus{border-color:var(--accent)}
.vf-search-icon,.vf-search-label{color:var(--text-muted)}

/* mobile nav */
.vf-mobile-nav{display:none}
.vf-mobile-nav-icon{cursor:pointer;color:var(--text-muted);font-size:22px}

/* ---------- sections ---------- */
.vf-section{margin:34px 0}
.vf-section-header{
  display:flex;align-items:center;gap:12px;margin-bottom:16px;
  border-left:4px solid var(--accent);padding-left:12px;
}
.vf-section-icon{
  width:34px;height:34px;border-radius:9px;background:var(--surface-2);
  display:grid;place-items:center;color:var(--accent);font-size:17px;
}
.vf-section-title{font-size:20px;font-weight:800;color:#fff;margin:0}
.vf-section-link{
  margin-left:auto;font-size:13px;font-weight:700;color:var(--accent-2);
  padding:6px 12px;border:1px solid var(--border);border-radius:20px;
}
.vf-section-link:hover{background:var(--surface-2);color:#fff}

/* ---------- breadcrumb ---------- */
.vf-breadcrumb{
  font-size:13px;color:var(--text-muted);padding:14px 0 0;display:flex;flex-wrap:wrap;gap:6px;align-items:center;
}
.vf-breadcrumb a{color:var(--text-muted)}
.vf-breadcrumb a:hover{color:var(--accent-2)}

/* ---------- banner / hero ---------- */
.vf-banner{
  border-radius:var(--radius);overflow:hidden;background:var(--surface);
  border:1px solid var(--border-soft);box-shadow:var(--shadow);margin-bottom:8px;
}
.vf-banner-slider{position:relative}
.vf-banner-slide{
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:26px 30px;
  background:
    linear-gradient(90deg,rgba(31,214,95,.10),transparent 40%),
    linear-gradient(270deg,rgba(25,195,255,.10),transparent 40%),
    var(--surface);
}
.vf-banner-teams{display:flex;align-items:center;gap:18px;justify-content:center}
.vf-banner-team{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:120px}
.vf-banner-team-logo{width:64px;height:64px;object-fit:contain}
.vf-banner-team-name{font-weight:700;color:#fff;text-align:center}
.vf-banner-score{font-size:34px;font-weight:900;color:#fff;display:flex;align-items:center;gap:10px}
.vf-banner-score-sep{color:var(--accent)}
.vf-banner-time{color:var(--text-muted);font-size:13px;text-align:center}
.vf-banner-content{padding:20px 26px;color:var(--text-muted)}
.vf-banner-badge{
  display:inline-block;background:var(--accent);color:#04130a;font-weight:800;
  font-size:12px;padding:3px 10px;border-radius:20px;margin-bottom:8px;
}
.vf-banner-dots{display:flex;gap:8px;justify-content:center;padding:10px}
.vf-banner-dot{width:8px;height:8px;border-radius:50%;background:var(--border);cursor:pointer}
.vf-banner-dot.active{background:var(--accent);width:22px;border-radius:6px}

/* ---------- live ---------- */
.vf-live-header,.vf-fixture-header,.vf-standings-header,.vf-section-title{
  display:flex;align-items:center;gap:10px;
}
.vf-live-badge{
  background:var(--live);color:#fff;font-size:11px;font-weight:800;padding:3px 9px;border-radius:20px;
  display:inline-flex;align-items:center;gap:6px;
}
.vf-live-dot{width:7px;height:7px;border-radius:50%;background:#fff;animation:pulse 1.4s infinite}
.vf-live-scroll{display:flex;gap:14px;overflow-x:auto;padding:6px 2px 12px}
.vf-live-card,.vf-fixture-card,.vf-card,.vf-entity-card,.vf-league-card,.vf-news-card-page,.vf-video-card,.vf-scorer-card{
  background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-sm);
  padding:14px;transition:transform .15s,border-color .15s,background .15s;
}
.vf-live-card:hover,.vf-fixture-card:hover,.vf-card:hover,.vf-entity-card:hover,.vf-league-card:hover,.vf-news-card-page:hover,.vf-video-card:hover{
  transform:translateY(-3px);border-color:var(--accent);background:var(--surface-2);
}
.vf-live-teams,.vf-fixture-teams,.vf-match-teams{display:flex;align-items:center;justify-content:space-between;gap:10px}
.vf-live-team,.vf-fixture-team,.vf-match-team{display:flex;align-items:center;gap:8px;min-width:0}
.vf-live-team-icon,.vf-fixture-team-icon,.vf-match-team-logo,.vf-team-logo{width:30px;height:30px;object-fit:contain;border-radius:6px;background:var(--surface-3)}
.vf-live-team-name,.vf-fixture-team-name,.vf-match-team-name{font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vf-live-score,.vf-fixture-score,.vf-match-score{font-weight:900;color:#fff;font-size:17px}
.vf-live-league,.vf-fixture-league,.vf-match-league{font-size:12px;color:var(--text-muted);margin-top:8px;display:flex;align-items:center;gap:6px}
.vf-live-time,.vf-fixture-badge,.vf-match-time{font-size:12px;color:var(--accent-2)}

/* ---------- grids ---------- */
.vf-fixture-grid,.vf-entity-grid,.vf-league-grid,.vf-news-grid-page,.vf-video-grid,.vf-scorer-grid{
  display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
}
.vf-entity-grid-mobile-2{grid-template-columns:repeat(2,1fr)}
.vf-entity-card{display:flex;align-items:center;gap:12px}
.vf-entity-icon{width:46px;height:46px;border-radius:10px;background:var(--surface-3);display:grid;place-items:center;color:var(--accent);font-size:20px;overflow:hidden}
.vf-entity-icon img{width:100%;height:100%;object-fit:cover}
.vf-entity-name{font-weight:700;color:#fff}
.vf-entity-sub{font-size:12px;color:var(--text-muted)}

/* league */
.vf-league-card{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:18px}
.vf-league-icon{width:54px;height:54px;object-fit:contain}
.vf-league-name{font-weight:700;color:#fff}
.vf-league-tabs,.vf-date-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.vf-league-tab,.vf-date-tab{
  padding:7px 14px;border-radius:20px;background:var(--surface);border:1px solid var(--border);
  color:var(--text-muted);font-weight:600;font-size:13px;cursor:pointer;
}
.vf-league-tab.active,.vf-date-tab.active,.vf-league-filter-btn.active{background:var(--accent);color:#04130a;border-color:var(--accent)}

/* news */
.vf-news-grid-page{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.vf-news-card-page{display:flex;flex-direction:column;gap:10px;overflow:hidden;padding:0}
.vf-news-thumb-page{width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--surface-3)}
.vf-news-card-page .vf-news-thumb-page{aspect-ratio:16/9}
.vf-news-title-page{padding:0 14px;font-weight:700;color:#fff;font-size:15px}
.vf-news-excerpt-page,.vf-news-content{padding:0 14px;color:var(--text-muted);font-size:13px}
.vf-news-meta,.vf-news-date-page,.vf-news-cat{font-size:12px;color:var(--text-dim);padding:0 14px 14px}
.vf-news-cat{color:var(--accent-2)}
.vf-news-list{display:flex;flex-direction:column;gap:10px}
.vf-news-item{display:flex;gap:12px;padding:10px;border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border-soft)}
.vf-news-thumb{width:90px;height:64px;object-fit:cover;border-radius:8px;background:var(--surface-3)}
.vf-news-title{font-weight:600;color:var(--text)}
.vf-news-view-all{font-weight:700;color:var(--accent-2)}

/* video */
.vf-video-card{display:flex;flex-direction:column;gap:8px;overflow:hidden;padding:0}
.vf-video-comp,.vf-video-thumb{width:100%;aspect-ratio:16/9;background:var(--surface-3);position:relative}
.vf-video-info,.vf-video-info-page{padding:0 12px 12px;color:var(--text-muted);font-size:13px}
.vf-video-card-page .vf-video-info-page{color:#fff;font-weight:600}
.vf-modal-video,.vf-modal-content{background:var(--surface);border-radius:var(--radius);border:1px solid var(--border)}

/* scorers */
.vf-scorer-card{display:flex;align-items:center;gap:12px}
.vf-scorer-rank{width:30px;height:30px;border-radius:8px;background:var(--surface-3);display:grid;place-items:center;font-weight:800;color:var(--accent-3)}
.vf-scorer-photo,.vf-scorer-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;background:var(--surface-3)}
.vf-scorer-name{font-weight:700;color:#fff}
.vf-scorer-team{font-size:12px;color:var(--text-muted)}
.vf-scorer-goals{margin-left:auto;font-weight:900;color:var(--accent);font-size:18px}

/* ---------- tables / standings ---------- */
.vf-table,.vf-standings-table{width:100%;border-collapse:collapse;background:var(--surface);border-radius:var(--radius-sm);overflow:hidden;border:1px solid var(--border-soft)}
.vf-table th,.vf-th-rank,.vf-th-team,.vf-th-stat,.vf-th-points,.vf-th-team{
  background:var(--surface-2);color:var(--text-muted);font-size:12px;text-transform:uppercase;
  letter-spacing:.5px;padding:11px 12px;text-align:left;font-weight:700;
}
.vf-table td,.vf-td-rank,.vf-td-team,.vf-td-stat,.vf-td-points{
  padding:10px 12px;border-top:1px solid var(--border-soft);color:var(--text);
}
.vf-td-rank{font-weight:800;color:var(--accent-3);width:42px}
.vf-td-team{font-weight:600;color:#fff}
.vf-td-points{font-weight:800;color:#fff;text-align:right}
.vf-td-empty,.vf-empty-state{color:var(--text-muted);text-align:center;padding:30px}
.vf-empty-icon{font-size:40px;opacity:.4}

/* ---------- cards / misc ---------- */
.vf-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.vf-card-title{font-weight:800;color:#fff;font-size:16px}
.vf-badge,.vf-fixture-badge,.vf-match-live-badge{
  display:inline-block;background:var(--surface-3);color:var(--accent-2);font-size:11px;
  font-weight:700;padding:2px 8px;border-radius:6px;
}
.vf-match-live-badge{background:var(--live);color:#fff}
.vf-btn,.vf-footer-btn,.vf-filter-bar .vf-btn{
  display:inline-block;background:var(--accent);color:#04130a;font-weight:800;
  padding:9px 18px;border-radius:10px;cursor:pointer;border:none;
}
.vf-btn:hover{filter:brightness(1.08);color:#04130a}
.vf-filter-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:14px}
.vf-league-filter,.vf-date-tabs{display:flex;gap:8px;flex-wrap:wrap}
.vf-league-filter-btn{
  padding:7px 14px;border-radius:20px;background:var(--surface);border:1px solid var(--border);
  color:var(--text-muted);font-weight:600;font-size:13px;cursor:pointer;text-decoration:none;
}
.vf-league-filter-btn:hover{color:#fff;border-color:var(--accent)}

/* page header */
.vf-page-header{margin:18px 0 22px}
.vf-page-title{font-size:28px;font-weight:900;color:#fff;margin:0}
.vf-page-desc{color:var(--text-muted);margin-top:6px}

/* stats bar */
.vf-stats-bar{display:flex;gap:18px;flex-wrap:wrap;margin:18px 0}
.vf-stat-item{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-sm);padding:12px 16px}
.vf-stat-icon{width:34px;height:34px;border-radius:9px;background:var(--surface-3);display:grid;place-items:center;color:var(--accent)}
.vf-stat-value{font-weight:900;color:#fff;font-size:18px}
.vf-stat-label{font-size:12px;color:var(--text-muted)}
.vf-stat-divider{width:1px;background:var(--border)}

/* ilink / friend links */
.vf-ilink{color:var(--accent-2)}
.vf-footer-friend-links{display:flex;gap:10px;flex-wrap:wrap}

/* ---------- footer ---------- */
.vf-footer{margin-top:50px;background:linear-gradient(180deg,var(--bg-2),#070a11);border-top:1px solid var(--border-soft)}
.vf-footer-inner{max-width:1500px;margin:0 auto;padding:40px 16px 20px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}
.vf-footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.vf-footer-logo{width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,var(--accent),var(--accent-2));display:grid;place-items:center;color:#04130a;font-weight:800}
.vf-footer-name{font-weight:800;color:#fff;font-size:18px}
.vf-footer-subtitle,.vf-footer-brand-text{color:var(--text-muted);font-size:13px}
.vf-footer-heading{color:#fff;font-weight:800;margin-bottom:14px;font-size:15px}
.vf-footer-link-cloud,.vf-footer-league-list,.vf-footer-fl-list{display:flex;flex-direction:column;gap:8px}
.vf-footer-link-cloud a,.vf-footer-league-link,.vf-footer-fl-item a,.vf-footer-contact-link,.vf-footer-ext-link{color:var(--text-muted);font-size:13px}
.vf-footer-link-cloud a:hover,.vf-footer-league-link:hover,.vf-footer-fl-item a:hover{color:var(--accent-2)}
.vf-footer-contact{display:flex;flex-direction:column;gap:10px}
.vf-footer-contact-item{display:flex;align-items:center;gap:10px;color:var(--text-muted);font-size:13px}
.vf-footer-contact-icon{color:var(--accent)}
.vf-footer-social{display:flex;gap:10px;margin-top:14px}
.vf-footer-social-link{width:36px;height:36px;border-radius:9px;background:var(--surface-2);display:grid;place-items:center;color:var(--text)}
.vf-footer-social-link:hover{background:var(--accent);color:#04130a}
.vf-footer-bottom{border-top:1px solid var(--border-soft);margin-top:24px}
.vf-footer-bottom-inner{max-width:1500px;margin:0 auto;padding:18px 16px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;color:var(--text-dim);font-size:12px}
.vf-footer-copy{color:var(--text-dim)}
.vf-footer-top-link{color:var(--accent-2)}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .vf-footer-inner{grid-template-columns:1fr 1fr}
  .vf-main-nav{display:none}
  .vf-mobile-nav{display:block}
  .vf-header-search input{width:130px}
}
@media (max-width:640px){
  .vf-footer-inner{grid-template-columns:1fr}
  .vf-banner-slide{grid-template-columns:1fr;gap:10px;text-align:center}
  .vf-fixture-grid,.vf-entity-grid,.vf-league-grid,.vf-news-grid-page,.vf-video-grid,.vf-scorer-grid{grid-template-columns:1fr 1fr}
  body{font-size:14px}
}


/* ==========================================================================
   NEW HEADER DESIGN v2.1 (2026-09-18)
   - Topbar + Sticky main header + Quick league sub-bar
   - Skeleton placeholders for async section loading
   ========================================================================== */

:root {
    --topbar-h: 32px;
    --header-h: 64px;
    --subbar-h: 48px;
}

/* ---------- Topbar ---------- */
.vf-topbar {
    background: linear-gradient(90deg, #0a0e17 0%, #1a1f2e 50%, #0a0e17 100%);
    color: #b8c0d0;
    font-size: 12px;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.vf-topbar-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.vf-topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.vf-topbar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff3b3b;
    box-shadow: 0 0 8px #ff3b3b;
    animation: vfPulse 1.5s ease-in-out infinite;
}
.vf-topbar-text {
    font-weight: 500;
    letter-spacing: .3px;
}
.vf-topbar-date {
    color: #6b7591;
    font-variant-numeric: tabular-nums;
}
@keyframes vfPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .5; transform: scale(.85); }
}

/* ---------- Header (rebuilt) ---------- */
.vf-header {
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.vf-header-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-h);
}

/* Logo */
.vf-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.vf-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff3b3b, #d40000);
    box-shadow: 0 2px 10px rgba(255,59,59,.35);
}
.vf-logo-mark svg {
    display: block;
}
.vf-logo-brand {
    display: flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
}
.vf-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
    font-family: 'Rajdhani', sans-serif;
}
.vf-logo-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #ff3b3b;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* LIVE Pill */
.vf-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #ff3b3b, #d40000);
    color: #fff !important;
    font-weight: 700;
    font-size: 13px;
    border-radius: 100px;
    text-decoration: none;
    letter-spacing: 1px;
    box-shadow: 0 2px 12px rgba(255,59,59,.4);
    transition: transform .15s, box-shadow .15s;
    flex-shrink: 0;
}
.vf-live-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255,59,59,.55);
}
.vf-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px #fff;
    animation: vfPulse 1.5s ease-in-out infinite;
}

/* Main Nav */
.vf-main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    margin-left: 8px;
}
.vf-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    color: #b8c0d0 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.vf-nav-link:hover {
    background: rgba(255,255,255,.06);
    color: #fff !important;
}
.vf-nav-link.is-active {
    background: rgba(255,59,59,.12);
    color: #ff5555 !important;
}
.vf-nav-icon {
    font-size: 14px;
    opacity: .9;
}
.vf-nav-text {
    font-family: 'Be Vietnam Pro', sans-serif;
}

/* Header Search */
.vf-header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 100px;
    padding: 0 14px;
    height: 38px;
    min-width: 240px;
    flex-shrink: 0;
    transition: border-color .15s, background .15s;
}
.vf-header-search:focus-within {
    border-color: rgba(255,59,59,.5);
    background: rgba(255,255,255,.09);
}
.vf-search-icon {
    color: #6b7591;
    display: flex;
    align-items: center;
}
.vf-header-search input {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 14px;
    flex: 1;
    outline: 0;
    font-family: inherit;
}
.vf-header-search input::placeholder {
    color: #6b7591;
}

/* Quick League Sub-Bar */
.vf-header-sub {
    background: rgba(255,255,255,.02);
    border-bottom: 1px solid rgba(255,255,255,.05);
    overflow-x: auto;
    scrollbar-width: none;
}
.vf-header-sub::-webkit-scrollbar { display: none; }
.vf-header-sub-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 16px;
    height: var(--subbar-h);
    display: flex;
    align-items: center;
    justify-content: center;   /* 联赛导航条水平居中 */
    gap: 6px;
}
.vf-quick-league {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    color: #b8c0d0 !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    transition: background .15s, color .15s, border-color .15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.vf-quick-league:hover {
    background: rgba(255,255,255,.08);
    color: #fff !important;
    border-color: rgba(255,255,255,.12);
}
.vf-quick-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.vf-quick-name {
    font-family: 'Be Vietnam Pro', sans-serif;
}

/* ---------- Skeleton placeholders for async section loading ---------- */
.vf-section-skeleton .vf-section-body {
    min-height: 120px;
}
.vf-skel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.vf-skel-twocol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.vf-skel-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.vf-skel-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vf-skel-card,
.vf-skel-row-item,
.vf-skel-chip {
    background: linear-gradient(90deg,
        rgba(255,255,255,.04) 0%,
        rgba(255,255,255,.08) 50%,
        rgba(255,255,255,.04) 100%);
    background-size: 200% 100%;
    animation: vfShimmer 1.4s ease-in-out infinite;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.04);
}
.vf-skel-card { height: 120px; }
.vf-skel-row-item { height: 56px; }
.vf-skel-chip {
    width: 140px;
    height: 40px;
}
@keyframes vfShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.vf-section-error .vf-error-msg {
    padding: 24px;
    text-align: center;
    color: #ff7777;
    background: rgba(255,59,59,.08);
    border-radius: 8px;
    border: 1px solid rgba(255,59,59,.2);
}
.vf-section-error .vf-error-msg a {
    color: #fff;
    text-decoration: underline;
    margin-left: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .vf-main-nav .vf-nav-text {
        display: none;
    }
    .vf-nav-link {
        padding: 9px 10px;
    }
    .vf-header-search {
        min-width: 160px;
    }
}
@media (max-width: 900px) {
    .vf-topbar-text {
        display: none;
    }
    .vf-logo-subtitle {
        display: none;
    }
    .vf-header-inner {
        gap: 8px;
    }
    .vf-main-nav {
        display: none;
    }
    .vf-header-search {
        flex: 1;
        min-width: 0;
    }
    .vf-skel-grid {
        grid-template-columns: 1fr;
    }
    .vf-skel-twocol {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   FOOTER COMPACT v2.2 (2026-09-18)
   - Friend links: 横排换行（覆盖之前 flex-direction:column）
   - 整个 friend links 区域压扁
   ========================================================================== */

.vf-footer-friend-links {
    padding: 16px 0 !important;
    margin-top: 0 !important;
}

.vf-footer-fl-inner {
    padding: 0 16px !important;
}

.vf-footer-fl-heading {
    font-size: 13px !important;
    margin: 0 0 10px 0 !important;
    text-align: center !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    letter-spacing: .5px !important;
    text-transform: uppercase !important;
}

.vf-footer-fl-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    align-items: center !important;
}

.vf-footer-fl-item {
    display: inline-block !important;
    padding: 4px 12px !important;
    font-size: 12px !important;
    border-radius: 100px !important;
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all .15s !important;
}

.vf-footer-fl-item:hover {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.18) !important;
    color: #fff !important;
}

.vf-footer-bottom {
    margin-top: 8px !important;
    padding: 12px 0 !important;
}

.vf-footer-bottom-inner {
    padding: 0 16px !important;
}

.vf-footer-copy {
    margin: 0 !important;
    font-size: 12px !important;
    color: var(--text-muted) !important;
    text-align: center !important;
}

/* 响应式：移动端保持横排 */
@media (max-width: 600px) {
    .vf-footer-fl-list {
        gap: 6px !important;
    }
    .vf-footer-fl-item {
        padding: 3px 10px !important;
        font-size: 11px !important;
    }
}
/* ==========================================================================
   HOTFIX 2026-09-18 22:00
   - Teams: 强制 9 列一行，不 wrap（覆盖 vf-entity-grid-mobile-2 默认 wrap）
   - News: 项目高度增加，与视频区对齐
   - Hot Matches: 新板块样式（替换原 hero 区域）
   ========================================================================== */

/* Teams: 强制单行不换行（让长名球队也能塞进一格） */
body.vf-new-portal .vf-entity-grid-mobile-2 {
    grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
    flex-wrap: nowrap !important;
}
body.vf-new-portal .vf-entity-grid-mobile-2 .vf-entity-card {
    min-width: 0 !important;
    overflow: hidden !important;
}
body.vf-new-portal .vf-entity-grid-mobile-2 .vf-entity-name {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
}

/* News items: 增加高度，与视频区对齐 */
body.vf-new-portal .vf-news-list .vf-news-item,
body.vf-new-portal .vf-news-item {
    padding: 10px !important;
}
body.vf-new-portal .vf-news-item .vf-news-title {
    font-size: 14px !important;
    line-height: 1.45 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Hot Matches Section - 替换原 hero */
.vf-hot-matches-section {
    padding: 16px 0 !important;
}
.vf-hot-matches-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-top: 16px !important;
}
@media (max-width: 1100px) {
    .vf-hot-matches-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 640px) {
    .vf-hot-matches-grid {
        grid-template-columns: 1fr !important;
    }
}

.vf-hot-match-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 14px !important;
    background: linear-gradient(135deg, #1a2238 0%, #0f1626 100%) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform .15s, border-color .15s, box-shadow .15s !important;
    position: relative !important;
    overflow: hidden !important;
}
.vf-hot-match-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(255,77,77,.15) 0%, transparent 70%);
    pointer-events: none;
}
.vf-hot-match-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(255,77,77,.35) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.4) !important;
}
.vf-hot-match-league {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    color: var(--text-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
    font-weight: 600 !important;
}
.vf-hot-match-league img {
    width: 16px !important;
    height: 16px !important;
    object-fit: contain !important;
}
.vf-hot-match-time {
    text-align: center !important;
    padding: 8px 0 !important;
    background: rgba(255,77,77,.12) !important;
    border-radius: 8px !important;
    border: 1px dashed rgba(255,77,77,.3) !important;
}
.vf-hot-match-kickoff {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #ff7777 !important;
    font-family: 'Rajdhani', sans-serif !important;
    line-height: 1 !important;
}
.vf-hot-match-date {
    font-size: 10px !important;
    color: var(--text-muted) !important;
    margin-top: 4px !important;
}
.vf-hot-match-teams {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 8px !important;
}
.vf-hot-match-team {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    text-align: center !important;
}
.vf-hot-match-team img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
    background: rgba(255,255,255,.04) !important;
    border-radius: 50% !important;
    padding: 4px !important;
}
.vf-hot-match-team-name {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #e8eef5 !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.vf-hot-match-vs {
    font-size: 11px !important;
    color: var(--accent-2) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    padding: 0 4px !important;
}
.vf-hot-matches-empty {
    padding: 40px 20px !important;
    text-align: center !important;
    color: var(--text-muted) !important;
    background: rgba(255,255,255,.02) !important;
    border-radius: 12px !important;
    border: 1px dashed rgba(255,255,255,.1) !important;
}