/* ============================================================
   inner.css —— 内页公共样式（8 个内页共用；首页除外）
   内容：平板端导航网格 / 面包屑 hero 区 / 右侧栏 .rt-*
   说明：各页 hero 背景图不同，.page-hero::before 的 background 在各自页面 css 中单独设置
   ============================================================ */

/* ---------- 平板端导航网格（赛程页除外——该页在 ≤860px 才切换，见 zhibo-list.css） ---------- */
@media(max-width:900px){
  body:not(.Yshiyunyuanlin-page-zhibolist) .Yshiyunyuanlin-nav-bar{display:none;grid-template-columns:repeat(5,1fr);gap:0;min-width:0}
  body:not(.Yshiyunyuanlin-page-zhibolist) .Yshiyunyuanlin-nav-item{min-width:0;overflow:hidden}
  body:not(.Yshiyunyuanlin-page-zhibolist) .Yshiyunyuanlin-nav-item::after{display:none!important}
  body:not(.Yshiyunyuanlin-page-zhibolist) .Yshiyunyuanlin-nav-link{padding:9px 4px;font-size:13px}
  body:not(.Yshiyunyuanlin-page-zhibolist) .Yshiyunyuanlin-nav-drop{min-width:130px}
}

/* ---------- 面包屑 hero 区 ---------- */
.Yshiyunyuanlin-page-hero{background:linear-gradient(160deg,rgba(11,26,66,.97) 0%,rgba(22,50,122,.88) 40%,rgba(11,26,66,.95) 100%);padding:28px 0 24px;position:relative;overflow:hidden}
.Yshiyunyuanlin-page-hero::before{content:'';position:absolute;inset:0;opacity:.06;pointer-events:none}
.Yshiyunyuanlin-ph-inner{position:relative;z-index:2}
.Yshiyunyuanlin-ph-breadcrumb{font-size:13px;color:#506078;margin-bottom:14px;display:flex;align-items:center;gap:6px}
.Yshiyunyuanlin-ph-breadcrumb a{color:#7a8ba8}
.Yshiyunyuanlin-ph-breadcrumb a:hover{color:#93c5fd}
.Yshiyunyuanlin-ph-breadcrumb .Yshiyunyuanlin-sep{color:#3a4a6a}
.Yshiyunyuanlin-ph-top{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:8px}
.Yshiyunyuanlin-ph-title h1{font-size:30px;font-weight:900;color:#fff;line-height:1.2}
.Yshiyunyuanlin-ph-tag{font-size:13px;font-weight:700;background:rgba(96,165,250,.15);color:#93c5fd;padding:5px 14px;border-radius:10px;display:inline-flex;align-items:center;gap:6px}
.Yshiyunyuanlin-ph-sub{font-size:15px;color:#7a8ba8;line-height:1.6}
@media(max-width:900px){
  body:not(.Yshiyunyuanlin-page-zhibolist) .Yshiyunyuanlin-page-hero{padding:18px 0 16px}
  body:not(.Yshiyunyuanlin-page-zhibolist) .Yshiyunyuanlin-ph-title h1{font-size:24px}
}
@media(max-width:640px){
  .Yshiyunyuanlin-page-hero{padding:12px 0 12px}
  .Yshiyunyuanlin-ph-title h1{font-size:20px}
  .Yshiyunyuanlin-ph-sub{font-size:13px}
}

/* ---------- 右侧栏容器（列表页 .hl-right / 详情页 .detail-right 共用） ---------- */
.Yshiyunyuanlin-hl-right,.Yshiyunyuanlin-detail-right{width:400px;flex-shrink:0;display:flex;flex-direction:column;gap:16px;position:sticky;top:78px}

/* ---------- 右侧栏卡片 ---------- */
.Yshiyunyuanlin-rt-card{background:var(--sw);border:1px solid var(--bdl);border-radius:var(--rl);overflow:hidden;box-shadow:var(--sh)}
.Yshiyunyuanlin-rt-hd{background:linear-gradient(135deg,#0b1a42 0%,#16327a 100%);padding:14px 18px;display:flex;align-items:center;justify-content:space-between}
.Yshiyunyuanlin-rt-hd-left{display:flex;align-items:center;gap:10px}
.Yshiyunyuanlin-rt-hd-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.Yshiyunyuanlin-rt-hd-dot.live{background:#f87171;animation:pulse 1.5s ease-in-out infinite}
.Yshiyunyuanlin-rt-hd-dot.Yshiyunyuanlin-news{background:#60a5fa}
.Yshiyunyuanlin-rt-hd-dot.Yshiyunyuanlin-replay{background:#22c55e}
.Yshiyunyuanlin-rt-hd strong{color:#fff;font-size:15px;font-weight:700}
.Yshiyunyuanlin-rt-hd small{color:#64748b;font-size:12px}
.Yshiyunyuanlin-rt-hd a.Yshiyunyuanlin-more-link{font-size:12px;font-weight:600;color:#64748b;display:flex;align-items:center;gap:3px;transition:.2s}
.Yshiyunyuanlin-rt-hd a.Yshiyunyuanlin-more-link::after{content:'›';font-weight:800}
.Yshiyunyuanlin-rt-hd a.Yshiyunyuanlin-more-link:hover{color:#93c5fd}
.Yshiyunyuanlin-rt-body{padding:6px 8px 10px}

/* 直播赛程列表 */
.Yshiyunyuanlin-rt-match{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;cursor:pointer;transition:.25s;margin-bottom:2px}
.Yshiyunyuanlin-rt-match:last-child{margin-bottom:0}
.Yshiyunyuanlin-rt-match:hover{background:var(--acg);transform:translateX(3px)}
.Yshiyunyuanlin-rt-match-league{width:44px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:3px}
.Yshiyunyuanlin-rt-match-league img{width:26px;height:26px;border-radius:5px;object-fit:contain}
.Yshiyunyuanlin-rt-match-league span{font-size:9px;color:var(--tm);font-weight:600;white-space:nowrap}
.Yshiyunyuanlin-rt-match-teams{flex:1;min-width:0}
.Yshiyunyuanlin-rt-match-row{display:flex;align-items:center;gap:6px}
.Yshiyunyuanlin-rt-match-row span{font-size:13px;font-weight:600;color:var(--t1);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.Yshiyunyuanlin-rt-match-row .Yshiyunyuanlin-badge-t-sm{width:20px;height:20px}
.Yshiyunyuanlin-rt-match-score{font-family:'Orbitron',monospace;font-size:14px;font-weight:700;color:var(--ac);flex-shrink:0;min-width:30px;text-align:center}
.Yshiyunyuanlin-rt-match-time{width:58px;flex-shrink:0;text-align:center}
.Yshiyunyuanlin-rt-match-time .Yshiyunyuanlin-t{font-family:'Orbitron',monospace;font-size:13px;font-weight:700;color:var(--t1);display:block}
.Yshiyunyuanlin-rt-match-time .Yshiyunyuanlin-t.Yshiyunyuanlin-live-t{color:#f87171;animation:pulse 1.5s ease-in-out infinite}
.Yshiyunyuanlin-rt-match-time .Yshiyunyuanlin-st{font-size:9px;font-weight:800;padding:2px 7px;border-radius:4px;display:inline-block;margin-top:2px}

/* 状态角标（全局通用） */
.st-live{background:rgba(220,38,38,.12);color:#f87171}
.st-wait{background:rgba(96,165,250,.1);color:#3b82f6}
.st-end{background:rgba(34,197,94,.1);color:#22c55e}

/* 赛事回放列表 */
.Yshiyunyuanlin-rt-replay{display:flex;gap:12px;padding:10px 12px;border-radius:10px;cursor:pointer;transition:.25s;margin-bottom:2px}
.Yshiyunyuanlin-rt-replay:last-child{margin-bottom:0}
.Yshiyunyuanlin-rt-replay:hover{background:var(--acg);transform:translateX(3px)}
.Yshiyunyuanlin-rt-replay-thumb{width:100px;height:56px;border-radius:8px;overflow:hidden;flex-shrink:0;position:relative}
.Yshiyunyuanlin-rt-replay-thumb img{width:100%;height:100%;object-fit:cover}
.Yshiyunyuanlin-rt-replay-thumb .Yshiyunyuanlin-dur{position:absolute;bottom:4px;right:4px;background:rgba(0,0,0,.72);color:#fff;font-family:'Orbitron',monospace;font-size:9px;font-weight:700;padding:2px 5px;border-radius:3px}
.Yshiyunyuanlin-rt-replay-info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:4px}
.Yshiyunyuanlin-rt-replay-info h4{font-size:13px;font-weight:600;color:var(--t1);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.Yshiyunyuanlin-rt-replay-meta{display:flex;align-items:center;gap:8px}
.Yshiyunyuanlin-rt-replay-meta span{font-size:11px;color:var(--tm)}
.Yshiyunyuanlin-rt-replay-meta .Yshiyunyuanlin-league-tag{font-size:10px;font-weight:700;color:var(--ac);background:var(--acp);padding:2px 8px;border-radius:4px}

/* ---------- 右侧栏响应式 ---------- */
@media(max-width:1100px){
  .Yshiyunyuanlin-hl-right,.Yshiyunyuanlin-detail-right{width:340px}
}
@media(max-width:900px){
  .Yshiyunyuanlin-hl-right,.Yshiyunyuanlin-detail-right{width:100%;position:static}
}
@media(max-width:640px){
  .Yshiyunyuanlin-rt-match{gap:8px;padding:8px 10px}
  .Yshiyunyuanlin-rt-match-time .Yshiyunyuanlin-t{font-size:12px}
  .Yshiyunyuanlin-rt-replay-thumb{width:82px;height:48px}
}
