/* ============================================================
   index.css —— 首页独有样式（仅 index.html 加载）
   内容：左侧赛事面板 .lg-* / 直播中心 .hero-sch / 新闻模块 / 视频模块 / 友链
   ============================================================ */

/* ---------- 首页独有动画（原样式保留） ---------- */
@keyframes arrow{0%,100%{transform:translateX(0)}50%{transform:translateX(3px)}}

/* ---------- 左侧赛事面板（联赛导航） ---------- */
.Yshiyunyuanlin-lg-side{width:270px;flex-shrink:1;min-width:220px}
.Yshiyunyuanlin-lg-panel{position:sticky;top:74px;background:var(--sw);border:1px solid var(--bdl);border-radius:var(--rl);overflow:hidden;box-shadow:var(--sh)}
.Yshiyunyuanlin-lg-head{background:linear-gradient(135deg,#0b1a42 0%,#16327a 100%);padding:20px 18px}
.Yshiyunyuanlin-lg-head strong{display:block;color:#fff;font-size:18px;font-weight:700}
.Yshiyunyuanlin-lg-head small{font-size:13px;color:#94a3b8}
.Yshiyunyuanlin-lg-body{padding:6px 8px 10px}
.Yshiyunyuanlin-lg-sec-hd{display:flex;align-items:center;gap:10px;padding:14px 12px 8px;font-size:15px;font-weight:800;color:var(--t1);position:relative;margin:4px 0 2px}
.Yshiyunyuanlin-lg-sec-hd::after{content:'';position:absolute;bottom:0;left:12px;right:12px;height:1px;background:linear-gradient(90deg,var(--bd),transparent)}
.Yshiyunyuanlin-lg-sec-hd .Yshiyunyuanlin-ldot{width:4px;height:18px;border-radius:2px;flex-shrink:0}
.Yshiyunyuanlin-lg-item{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;transition:.2s;cursor:pointer;margin-bottom:1px}
.Yshiyunyuanlin-lg-item:hover{background:var(--acg);transform:translateX(2px)}
.Yshiyunyuanlin-lg-item.Yshiyunyuanlin-on{background:var(--acp);box-shadow:inset 3px 0 0 var(--ac)}
.Yshiyunyuanlin-lg-item.Yshiyunyuanlin-on .Yshiyunyuanlin-li-n{color:var(--ac);font-weight:600}
.Yshiyunyuanlin-li-n{flex:1;font-size:15px;font-weight:500;color:var(--t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.Yshiyunyuanlin-li-bdg{font-size:10px;font-weight:800;padding:2px 8px;border-radius:8px;flex-shrink:0;min-width:20px;text-align:center}
.Yshiyunyuanlin-li-bdg.live{background:var(--red);color:#fff;animation:breathe 2s ease-in-out infinite}
.Yshiyunyuanlin-li-bdg.Yshiyunyuanlin-cnt{background:var(--acp);color:var(--ac)}
.Yshiyunyuanlin-lg-extra{max-height:0;overflow:hidden;transition:max-height .4s ease}
#fc-more:checked ~ .Yshiyunyuanlin-lg-extra{max-height:600px}
#bc-more:checked ~ .Yshiyunyuanlin-lg-extra{max-height:200px}
.Yshiyunyuanlin-lg-toggle-btn{display:flex;align-items:center;justify-content:center;padding:10px;font-size:13px;font-weight:600;color:var(--ac);cursor:pointer;transition:.25s;margin:4px 0;border-radius:8px;user-select:none;-webkit-tap-highlight-color:transparent;background:var(--acg);border:1px dashed rgba(37,99,235,.2)}
.Yshiyunyuanlin-lg-toggle-btn:hover{background:var(--acp);border-color:var(--ac)}
.Yshiyunyuanlin-lt-less{display:none}
#fc-more:checked ~ .Yshiyunyuanlin-lg-toggle-btn .Yshiyunyuanlin-lt-more{display:none}
#fc-more:checked ~ .Yshiyunyuanlin-lg-toggle-btn .Yshiyunyuanlin-lt-less{display:inline}
#bc-more:checked ~ .Yshiyunyuanlin-lg-toggle-btn .Yshiyunyuanlin-lt-more{display:none}
#bc-more:checked ~ .Yshiyunyuanlin-lg-toggle-btn .Yshiyunyuanlin-lt-less{display:inline}

/* ---------- 直播中心（大图 hero） ---------- */
.Yshiyunyuanlin-hero-area{padding:16px 0 40px}
.Yshiyunyuanlin-ha-inner{display:flex;gap:14px;align-items:stretch}
.Yshiyunyuanlin-hero-sch{flex:1 1 0%;min-width:0;border-radius:var(--rl);position:relative;background:linear-gradient(160deg,rgba(11,26,66,.96) 0%,rgba(22,50,122,.88) 40%,rgba(11,26,66,.95) 100%),url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?w=1200&h=680&fit=crop&auto=format') center/cover no-repeat}
.Yshiyunyuanlin-hs-inner{position:relative;z-index:2;padding:24px 26px 20px;min-height:480px;display:flex;flex-direction:column}
.Yshiyunyuanlin-hs-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;flex-wrap:wrap;gap:8px}
.Yshiyunyuanlin-hs-title{display:flex;align-items:center;gap:12px}
.Yshiyunyuanlin-hs-title h2{font-size:22px;font-weight:700;color:#fff}
.Yshiyunyuanlin-hs-title span{font-size:14px;color:#64748b;font-family:'Orbitron',monospace;letter-spacing:1px}
.Yshiyunyuanlin-hs-count{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);color:#94a3b8;font-size:13px;padding:5px 14px;border-radius:12px}
.Yshiyunyuanlin-hs-feat{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:var(--rl);padding:26px;margin-bottom:16px;position:relative;overflow:hidden}
.Yshiyunyuanlin-hs-feat::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,#f87171,transparent)}
.Yshiyunyuanlin-hs-feat-hd{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.Yshiyunyuanlin-hs-feat-hd .Yshiyunyuanlin-lig{color:#94a3b8;font-size:14px}
.Yshiyunyuanlin-hs-feat-match{display:flex;align-items:center;justify-content:center;gap:28px}
.Yshiyunyuanlin-hs-fm-team{display:flex;flex-direction:column;align-items:center;gap:8px}
.Yshiyunyuanlin-hs-fm-team .Yshiyunyuanlin-badge-t-lg{border:2px solid rgba(255,255,255,.15)}
.Yshiyunyuanlin-hs-fm-team span{color:#fff;font-size:17px;font-weight:600;text-align:center}
.Yshiyunyuanlin-hs-fm-mid{text-align:center;min-width:100px}
.Yshiyunyuanlin-hs-fm-score{font-family:'Orbitron',monospace;font-size:48px;font-weight:900;color:#60a5fa;letter-spacing:6px;line-height:1}
.Yshiyunyuanlin-hs-fm-time{font-size:15px;color:#94a3b8;margin-top:10px}
.Yshiyunyuanlin-hs-fm-venue{color:#506078;font-size:13px;margin-top:4px}
.Yshiyunyuanlin-hs-feat-btns{display:flex;gap:12px;margin-top:18px;justify-content:center;flex-wrap:wrap}
.Yshiyunyuanlin-btn-p{display:inline-flex;align-items:center;gap:7px;padding:12px 26px;background:linear-gradient(135deg,#2563eb,#1e3a8a);color:#fff;border-radius:8px;font-size:15px;font-weight:600;transition:.25s}
.Yshiyunyuanlin-btn-p:hover{color:#fff;transform:translateY(-2px);box-shadow:0 8px 28px rgba(37,99,235,.4)}
.Yshiyunyuanlin-btn-p svg{width:16px;height:16px;fill:#fff;flex-shrink:0}
.Yshiyunyuanlin-btn-o{display:inline-flex;align-items:center;gap:7px;padding:12px 26px;background:rgba(255,255,255,.08);color:#cbd5e1;border:1px solid rgba(255,255,255,.12);border-radius:8px;font-size:15px;font-weight:500;transition:.25s}
.Yshiyunyuanlin-btn-o:hover{color:#fff;border-color:rgba(255,255,255,.3)}
.Yshiyunyuanlin-hs-filter{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap}
.Yshiyunyuanlin-hs-filter-btn{padding:7px 18px;border-radius:8px;font-size:15px;font-weight:700;cursor:default;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:#7a8ba8;white-space:nowrap;display:flex;align-items:center;gap:6px}
.Yshiyunyuanlin-hs-filter-btn .Yshiyunyuanlin-fdot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.Yshiyunyuanlin-hs-filter-btn .Yshiyunyuanlin-fcnt{font-size:12px;font-weight:600;background:rgba(255,255,255,.08);padding:1px 7px;border-radius:6px}
.Yshiyunyuanlin-hs-filter-btn.Yshiyunyuanlin-flive{border-color:rgba(220,38,38,.3);color:#f87171;background:rgba(220,38,38,.08)}
.Yshiyunyuanlin-hs-filter-btn.Yshiyunyuanlin-fend{border-color:rgba(34,197,94,.25);color:#4ade80}
.Yshiyunyuanlin-hs-filter-btn.Yshiyunyuanlin-fwait{border-color:rgba(96,165,250,.25);color:#93c5fd}
.Yshiyunyuanlin-hs-grid{display:flex;flex-direction:column;gap:6px;flex:1}
.Yshiyunyuanlin-hs-card{display:flex;align-items:center;gap:10px;padding:10px 14px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);border-radius:var(--r);transition:.25s;cursor:pointer;border-left:3px solid transparent}
.Yshiyunyuanlin-hs-card:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.15);transform:translateX(2px)}
.hs-card-live{border-left-color:#f87171}
.hs-card-end{border-left-color:#22c55e}
.hs-card-wait{border-left-color:#60a5fa}
.Yshiyunyuanlin-hs-c-time{font-family:'Orbitron',monospace;font-size:14px;font-weight:700;color:#7a8ba8;width:56px;text-align:center;flex-shrink:0}
.Yshiyunyuanlin-hs-c-time.Yshiyunyuanlin-lsc{color:#f87171;animation:pulse 1.5s ease-in-out infinite}
.Yshiyunyuanlin-hs-c-match{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;min-width:0}
.Yshiyunyuanlin-hs-c-side{display:flex;align-items:center;gap:8px;min-width:0}
.Yshiyunyuanlin-hs-c-side.Yshiyunyuanlin-right{flex-direction:row-reverse}
.Yshiyunyuanlin-hs-c-name{font-size:clamp(12px,1.2vw,15px);font-weight:600;color:#e2e8f0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.Yshiyunyuanlin-hs-c-vs{font-family:'Orbitron',monospace;font-size:15px;font-weight:700;color:#64748b;letter-spacing:1px;flex-shrink:0;width:34px;text-align:center}
.Yshiyunyuanlin-hs-c-vs.Yshiyunyuanlin-score{color:#60a5fa}
.Yshiyunyuanlin-hs-c-status{flex-shrink:0;width:70px;text-align:right}
.Yshiyunyuanlin-hs-c-status .Yshiyunyuanlin-st{font-size:11px;font-weight:800;padding:3px 10px;border-radius:6px;display:inline-block;white-space:nowrap}
.Yshiyunyuanlin-st.st-live{background:rgba(220,38,38,.25);color:#f87171}
.Yshiyunyuanlin-st.st-end{background:rgba(34,197,94,.2);color:#4ade80}
.Yshiyunyuanlin-st.st-wait{background:rgba(96,165,250,.2);color:#93c5fd}

/* ---------- 新闻模块 ---------- */
.Yshiyunyuanlin-news-wrap{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}
.Yshiyunyuanlin-nf-card{border-radius:var(--rl);overflow:hidden;position:relative;cursor:pointer;transition:.3s;background:#cbd5e1}
.Yshiyunyuanlin-nf-card:hover{box-shadow:var(--shl)}
.Yshiyunyuanlin-nf-card>img{width:100%;height:100%;object-fit:cover;min-height:360px;transition:transform .5s}
.Yshiyunyuanlin-nf-card:hover>img{transform:scale(1.03)}
.Yshiyunyuanlin-nfo{position:absolute;inset:0;background:linear-gradient(to top,rgba(15,23,42,.96) 0%,rgba(15,23,42,.4) 40%,transparent 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:28px 24px}
.Yshiyunyuanlin-nfo .Yshiyunyuanlin-nc{position:absolute;top:14px;left:14px;font-size:11px;font-weight:700;padding:4px 12px;border-radius:8px;background:var(--ac);color:#fff}
.Yshiyunyuanlin-nfo h3{font-size:22px;font-weight:700;color:#fff;line-height:1.4;margin-bottom:6px}
.Yshiyunyuanlin-nfo p{color:#94a3b8;font-size:14px;line-height:1.5;margin-bottom:8px}
.Yshiyunyuanlin-nfo-m{font-size:13px;color:#64748b}
.Yshiyunyuanlin-nl{display:flex;flex-direction:column}
.Yshiyunyuanlin-nli{display:flex;gap:14px;padding:13px 8px;border-radius:var(--r);transition:.25s;cursor:pointer}
.Yshiyunyuanlin-nli:hover{background:var(--acg)}
.Yshiyunyuanlin-nli+.Yshiyunyuanlin-nli{border-top:1px solid var(--bdl)}
.Yshiyunyuanlin-nli-img{width:115px;height:76px;flex-shrink:0;border-radius:8px;overflow:hidden;background:#cbd5e1}
.Yshiyunyuanlin-nli-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.Yshiyunyuanlin-nli:hover .Yshiyunyuanlin-nli-img img{transform:scale(1.06)}
.Yshiyunyuanlin-nli-bd{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}
.Yshiyunyuanlin-nli-cat{font-size:10px;font-weight:700;padding:2px 8px;border-radius:6px;background:var(--acp);color:var(--ac);width:fit-content;margin-bottom:5px}
.Yshiyunyuanlin-nli h4{font-size:16px;font-weight:600;line-height:1.45;color:var(--t1);margin-bottom:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.Yshiyunyuanlin-nli-m{font-size:13px;color:var(--tm)}

/* ---------- 视频模块 ---------- */
.Yshiyunyuanlin-vid-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.Yshiyunyuanlin-vid-card{background:var(--sw);border:1px solid var(--bdl);border-radius:var(--rl);overflow:hidden;transition:.3s;cursor:pointer}
.Yshiyunyuanlin-vid-card:hover{transform:translateY(-4px);box-shadow:var(--shm);border-color:var(--bd)}
.Yshiyunyuanlin-vid-thumb{position:relative;aspect-ratio:16/10;overflow:hidden;background:#cbd5e1}
.Yshiyunyuanlin-vid-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.Yshiyunyuanlin-vid-card:hover .Yshiyunyuanlin-vid-thumb img{transform:scale(1.06)}
.Yshiyunyuanlin-vid-thumb::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.5) 0%,transparent 55%)}
.Yshiyunyuanlin-vid-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:2;opacity:0;transition:.3s}
.Yshiyunyuanlin-vid-card:hover .Yshiyunyuanlin-vid-overlay{opacity:1}
.Yshiyunyuanlin-vid-play{width:50px;height:50px;background:rgba(37,99,235,.9);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:.25s}
.Yshiyunyuanlin-vid-play svg{width:20px;height:20px;fill:#fff;margin-left:3px}
.Yshiyunyuanlin-vid-card:hover .Yshiyunyuanlin-vid-play{transform:scale(1.1)}
.Yshiyunyuanlin-vid-dur{position:absolute;bottom:8px;right:8px;background:rgba(0,0,0,.78);color:#fff;font-size:12px;font-weight:600;padding:3px 8px;border-radius:4px;font-family:'Orbitron',monospace;z-index:2}
.Yshiyunyuanlin-vid-tag{position:absolute;top:8px;left:8px;z-index:2;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:600;color:#fff}
.Yshiyunyuanlin-vid-bd{padding:14px 16px}
.Yshiyunyuanlin-vid-bd h4{font-weight:600;font-size:16px;line-height:1.4;margin-bottom:5px;color:var(--t1);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.Yshiyunyuanlin-vid-meta{font-size:13px;color:var(--tm)}

/* ---------- 友链标签（仅首页使用） ---------- */
.Yshiyunyuanlin-fg{display:flex;flex-wrap:wrap;gap:8px}
.Yshiyunyuanlin-fl{padding:10px 22px;background:var(--sw);border:1px solid var(--bd);border-radius:var(--r);font-size:14px;color:var(--t2);font-weight:500;transition:.25s;white-space:nowrap}
.Yshiyunyuanlin-fl:hover{border-color:var(--ac);color:var(--ac);background:var(--acg);transform:translateY(-1px)}

/* ---------- 响应式 ---------- */
@media(min-width:861px){
  .Yshiyunyuanlin-lg-extra{max-height:none!important}
  .Yshiyunyuanlin-lg-toggle-btn{display:none!important}
}
@media(max-width:1024px){
  .Yshiyunyuanlin-nav-link{padding:9px 14px;font-size:14px}
  .Yshiyunyuanlin-nav-drop{min-width:140px}
  .Yshiyunyuanlin-news-wrap{grid-template-columns:1fr}
  .Yshiyunyuanlin-nf-card>img{min-height:240px}
  .Yshiyunyuanlin-vid-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:860px){
  .Yshiyunyuanlin-ha-inner{flex-direction:column}
  .Yshiyunyuanlin-lg-side{width:100%}
  .Yshiyunyuanlin-lg-panel{position:static}
  .Yshiyunyuanlin-lg-head{padding:14px 16px}
  .Yshiyunyuanlin-lg-body{max-height:340px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}
  .Yshiyunyuanlin-lg-body::-webkit-scrollbar{width:3px}
  .Yshiyunyuanlin-lg-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}
  .Yshiyunyuanlin-hs-inner{min-height:auto}
}
@media(max-width:640px){
  .Yshiyunyuanlin-hero-area{padding-top:10px;padding-bottom:24px}
  .Yshiyunyuanlin-ha-inner{gap:10px}
  .Yshiyunyuanlin-lg-head{padding:10px 14px}
  .Yshiyunyuanlin-lg-head strong{font-size:15px}
  .Yshiyunyuanlin-lg-head small{font-size:12px}
  .Yshiyunyuanlin-lg-sec-hd{font-size:14px;padding:10px 8px 6px}
  .Yshiyunyuanlin-lg-sec-hd .Yshiyunyuanlin-ldot{height:14px}
  .Yshiyunyuanlin-lg-item{padding:7px 8px;gap:7px}
  .Yshiyunyuanlin-li-n{font-size:14px}
  .Yshiyunyuanlin-hs-inner{padding:14px}
  .Yshiyunyuanlin-hs-feat{padding:14px}
  .Yshiyunyuanlin-hs-feat-hd{flex-wrap:wrap;gap:6px;margin-bottom:12px}
  .Yshiyunyuanlin-hs-feat-match{gap:12px}
  .Yshiyunyuanlin-hs-fm-score{font-size:32px;letter-spacing:3px}
  .Yshiyunyuanlin-hs-fm-team .Yshiyunyuanlin-badge-t-lg{width:42px;height:42px;font-size:12px}
  .Yshiyunyuanlin-hs-fm-team span{font-size:13px}
  .Yshiyunyuanlin-hs-card{flex-wrap:wrap;gap:6px;padding:9px 10px}
  .Yshiyunyuanlin-hs-c-match{flex-wrap:wrap;gap:6px}
  .Yshiyunyuanlin-hs-c-status{width:100%;text-align:left;padding-left:66px;margin-top:-2px}
  .Yshiyunyuanlin-btn-p,.Yshiyunyuanlin-btn-o{width:100%;justify-content:center;padding:11px 18px;font-size:14px}
  .Yshiyunyuanlin-hs-feat-btns{flex-direction:column;gap:8px}
  .Yshiyunyuanlin-vid-grid{grid-template-columns:1fr}
  .Yshiyunyuanlin-sec{padding:24px 0}
  .Yshiyunyuanlin-nfo h3{font-size:16px}
  .Yshiyunyuanlin-nfo p{font-size:13px}
  .Yshiyunyuanlin-nli-img{width:80px;height:56px}
  .Yshiyunyuanlin-nli h4{font-size:13px}
  .Yshiyunyuanlin-tagline-bar{padding:14px}
  .Yshiyunyuanlin-tagline-bar p{font-size:13px}
}
