/* =========================================================
   嘉硕体育官网 · 赛事实况直播页专属样式
   ========================================================= */

.live-hero {
  position: relative; overflow: hidden; color: #fff; padding: 56px 0 68px;
  background: linear-gradient(115deg, #071529 0%, #0d2a52 55%, #14396f 100%);
}
.live-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 8%, rgba(255, 106, 43, .28), transparent 40%),
              radial-gradient(circle at 4% 96%, rgba(47, 106, 224, .32), transparent 45%);
}
.live-hero .container { position: relative; z-index: 2; }
.live-hero .breadcrumb { color: rgba(255, 255, 255, .6); }
.live-hero h1 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: 3px; margin: 10px 0 12px; }
.live-hero .lead { color: rgba(255, 255, 255, .8); font-size: 15.5px; max-width: 660px; }

.demo-chip {
  display: inline-block; font-size: 12px; letter-spacing: 1.5px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 106, 43, .16); border: 1px solid rgba(255, 106, 43, .4); color: #ffb187; margin-left: 10px;
  vertical-align: middle;
}

/* ---------- 直播主区：类别整行，列表与播放器同高 ---------- */
.live-stage {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.live-stage > .cat-bar { margin-top: 0; }
.live-stage-body {
  display: flex;
  align-items: stretch;
  gap: 18px;
  min-width: 0;
}
.live-stage-player { flex: 1; min-width: 0; }

.player {
  position: relative; border-radius: 16px; overflow: hidden; background: #040d1a;
  aspect-ratio: 16 / 9; box-shadow: 0 26px 60px rgba(0, 0, 0, .45);
}
.player-poster { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.player-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 24, .78) 0%, rgba(4, 12, 24, .12) 38%, rgba(4, 12, 24, .88) 100%);
}
.player-top {
  position: absolute; top: 16px; left: 18px; right: 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
}
.live-badge {
  display: inline-flex; align-items: center; gap: 7px; background: #e8352c; color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; padding: 5px 13px; border-radius: 6px;
}
.live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: livePulse 1.4s infinite; }
@keyframes livePulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(.65); }
  100% { opacity: 1; transform: scale(1); }
}
.chip-glass {
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26);
  backdrop-filter: blur(6px); font-size: 12.5px; padding: 5px 12px; border-radius: 6px;
  color: rgba(255, 255, 255, .92);
}

.play-btn {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .06); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 0 2px rgba(255, 106, 43, .7),
    0 0 0 6px rgba(255, 106, 43, .18),
    0 16px 40px rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, background .28s;
  animation: play-pulse 2.6s ease-in-out infinite;
}
@keyframes play-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 106, 43, .7), 0 0 0 6px rgba(255, 106, 43, .18), 0 16px 40px rgba(0, 0, 0, .45); }
  50%      { box-shadow: 0 0 0 2px rgba(255, 106, 43, .9), 0 0 0 12px rgba(255, 106, 43, .08), 0 18px 44px rgba(0, 0, 0, .5); }
}
.play-btn::after {
  content: ""; position: absolute; inset: 12px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff9261 0%, #ff5a1a 62%, #d83a00 100%);
  box-shadow: inset 0 -3px 8px rgba(0,0,0,.25), inset 0 2px 4px rgba(255,255,255,.2);
  z-index: -1;
}
.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow:
    0 0 0 2.5px rgba(255, 106, 43, 1),
    0 0 0 10px rgba(255, 106, 43, .22),
    0 20px 50px rgba(0, 0, 0, .55);
  animation: none;
}
.play-btn:active { transform: translate(-50%, -50%) scale(.95); }
.play-btn svg { width: 30px; height: 30px; margin-left: 5px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }

.scoreboard {
  position: absolute; left: 50%; bottom: 78px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; white-space: nowrap;
  background: rgba(6, 18, 34, .8); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px; padding: 10px 22px; backdrop-filter: blur(8px);
}
.scoreboard .team { font-size: 14px; letter-spacing: 1px; color: rgba(255, 255, 255, .9); }
.scoreboard .score { font-size: 25px; font-weight: 800; color: #fff; letter-spacing: 3px; }
.scoreboard .clock { font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: 1px; }

.player-ctl {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px 14px;
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(0deg, rgba(4, 12, 24, .92), transparent);
}
.player-ctl .ctl { color: #fff; opacity: .82; display: flex; align-items: center; cursor: pointer; }
.player-ctl .ctl svg { width: 19px; height: 19px; }
.progress { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); position: relative; }
.progress i { position: absolute; inset: 0 6% 0 0; background: var(--orange); border-radius: 2px; }
.progress i::after {
  content: ""; position: absolute; right: -5px; top: -3px; width: 10px; height: 10px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 106, 43, .35);
}
.player-toast {
  position: absolute; left: 50%; top: 64px; transform: translate(-50%, -12px);
  background: rgba(255, 255, 255, .96); color: var(--navy); font-size: 13.5px; line-height: 1.5;
  padding: 12px 20px; border-radius: 10px; max-width: 78%; text-align: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: all .3s ease;
}
.player-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 直播源嵌入层（由 live-config.js 配置后启用） ---------- */
.live-embed { position: absolute; inset: 0; z-index: 8; background: transparent; display: flex; }
.live-embed.is-on-air { background: #04101f; }
.live-embed[hidden] { display: none; }
.embed-iframe, .embed-video { width: 100%; height: 100%; border: 0; display: block; background: transparent; }
.embed-video { opacity: 0; transition: opacity .28s ease; }
.embed-video.is-visible { opacity: 1; background: #000; }
.embed-iframe { background: #04101f; }
.embed-iframe[hidden], .embed-video[hidden] { display: none; }

/* 直播控件：无进度条，仅暂停 / 声音 / 全屏 */
.live-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 9;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(4, 12, 24, .92), transparent);
  color: #fff;
}
.live-bar[hidden] { display: none; }
.live-bar-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 0; border-radius: 8px;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  font-family: inherit; flex: none; overflow: hidden;
}
.live-bar-btn:hover { background: rgba(255,255,255,.22); }
.live-bar-btn .bar-ico {
  display: none;
  width: 18px; height: 18px;
  font-style: normal;
}
.live-bar-btn .bar-ico svg {
  width: 18px; height: 18px;
  display: block;
}
#live-toggle .ico-pause,
#live-unmute .ico-vol,
#live-fs .bar-ico { display: block; }
#live-toggle.is-paused .ico-pause,
#live-unmute.is-muted .ico-vol { display: none; }
#live-toggle.is-paused .ico-play,
#live-unmute.is-muted .ico-muted { display: block; }
#live-unmute { margin-left: auto; }
.live-bar-title {
  flex: 1; min-width: 0; font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: .92;
}
.player.is-playing .play-btn,
.player.is-playing .scoreboard { display: none; }

/* 无直播时：只留一张干净的背景海报 */
.player.idle .play-btn,
.player.idle .player-top,
.player.idle .player-toast,
.player.idle .player-ctl,
.player.idle .scoreboard { display: none !important; }
.player.idle .player-grad { opacity: 0 !important; }
.player.idle .player-poster { opacity: 1; }

.player.await-stream .play-btn,
.player.await-stream .player-top,
.player.await-stream .player-toast,
.player.await-stream .player-ctl,
.player.await-stream .scoreboard { display: none !important; }
.player.await-stream .player-grad { opacity: 0 !important; }
.player.await-stream .player-poster { opacity: 1; }
.player.stream-ready .player-poster { opacity: 0; }
.player.stream-ready .player-grad { opacity: 0 !important; }

/* 视频号：官方不提供网页内嵌播放，改为「跳转 + 扫码」面板 */
.embed-wx {
  margin: auto; padding: 26px 34px; max-width: 540px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.embed-wx[hidden] { display: none; }
.embed-wx .wx-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(34, 197, 94, .14); border: 1px solid rgba(34, 197, 94, .45);
  color: #4ade80; font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  padding: 5px 13px; border-radius: 999px;
}
.embed-wx .wx-tag i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: livePulse 1.4s infinite; }
.embed-wx h3 { color: #fff; font-size: 19px; letter-spacing: 1px; margin: 14px 0 8px; line-height: 1.5; }
.embed-wx .wx-desc { color: rgba(255, 255, 255, .62); font-size: 13.5px; line-height: 1.75; margin-bottom: 20px; }
.embed-wx .wx-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.embed-wx .wx-actions .btn { padding: 12px 24px; font-size: 14px; border-radius: 10px; }
.embed-wx .wx-qr {
  margin-top: 22px; padding: 14px; border-radius: 12px; background: #fff;
  display: flex; align-items: center; gap: 14px; text-align: left;
}
.embed-wx .wx-qr[hidden] { display: none; }
.embed-wx .wx-qr img { border-radius: 6px; display: block; }
.embed-wx .wx-qr span { font-size: 12.5px; color: var(--muted); line-height: 1.7; max-width: 132px; }

/* 赛事类别筛选（默认在深色直播区；.cat-bar-light 用于浅色赛程区） */
.cat-bar { margin-top: 22px; }
.cat-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 13px; }
.cat-label {
  font-size: 13px; color: rgba(255, 255, 255, .62); letter-spacing: 2px;
  padding-left: 11px; border-left: 3px solid var(--orange); line-height: 1.2;
}
.cat-hint { font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.cat-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px; white-space: nowrap; cursor: pointer;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .82); font-family: inherit; font-size: 13.5px;
  transition: all .2s ease;
}
.cat-chip svg { width: 16px; height: 16px; flex: none; }
.cat-chip:hover { border-color: rgba(255, 255, 255, .45); color: #fff; transform: translateY(-2px); }
.cat-chip.active,
.cat-chip[aria-selected="true"] {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark)) !important;
  border-color: transparent !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(255, 106, 43, .34);
}

.cat-bar-light {
  margin: 0 0 18px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  overflow: hidden;
}
.cat-bar-light .cat-label {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 1px;
}
.cat-bar-light .cat-hint { color: var(--muted); }
.cat-bar-light .cat-chip {
  background: #f4f7fb;
  border-color: #d7e0ec;
  color: #3c4b60;
}
.cat-bar-light .cat-chip:hover {
  border-color: #b7c6da;
  color: var(--navy);
  background: #eef3fb;
}

/* 空状态提示 */
.cat-empty {
  display: none; margin-top: 18px; padding: 32px 24px; text-align: center;
  font-size: 14px; color: var(--muted); background: #fff;
  border: 1px dashed #cfdaea; border-radius: 14px;
}
.cat-empty.show { display: block; }

/* 侧栏卡片 */
.side-card {
  background: #fff; border-radius: 14px; padding: 24px; box-shadow: var(--shadow-md);
}
.side-card + .side-card { margin-top: 18px; }
.side-card h3 {
  font-size: 16px; color: var(--navy); letter-spacing: 1.5px; margin-bottom: 6px;
  display: flex; align-items: center; gap: 9px;
}
.side-card h3 svg { width: 18px; height: 18px; color: var(--orange); }
.side-card .side-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.side-list li {
  display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
}
.side-list li:last-child { border-bottom: none; }
.side-list li span:first-child { color: var(--muted); flex: none; }
.side-list li span:last-child { color: var(--text); font-weight: 600; text-align: right; }

/* 往期回顾卡片 */
.side-card .past-badge {
  margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .5px;
  color: var(--muted); background: #f1f4f9; border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 9px;
}
.past-score {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: linear-gradient(135deg, #f5f8fd, #edf3fb);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; margin: 2px 0 4px;
}
.past-score .team { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.past-score .team:last-child { text-align: right; }
.past-score .team.home::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); margin-right: 6px; vertical-align: middle;
}
.past-score strong {
  font-size: 20px; color: var(--orange-dark); letter-spacing: 1px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.past-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 13.5px; font-weight: 600; color: var(--orange-dark);
}
.past-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.past-link:hover svg { transform: translateX(4px); }

.platform-list { display: grid; gap: 10px; }
.platform-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 14px; font-weight: 600; color: var(--navy); font-family: inherit;
  cursor: pointer; transition: all .2s ease; width: 100%; text-align: left;
}
.platform-btn:hover { border-color: var(--orange); color: var(--orange); transform: translateX(3px); }
.platform-btn small { font-size: 11.5px; font-weight: 500; color: var(--muted); }

.subscribe { display: flex; gap: 8px; }
.subscribe input {
  flex: 1; min-width: 0; padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; font-size: 14px; font-family: inherit; outline: none;
  background: #fbfcfe; transition: border-color .2s, box-shadow .2s;
}
.subscribe input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 106, 43, .12); background: #fff; }
.subscribe .btn { padding: 11px 20px; font-size: 14px; }
.sub-tip { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.sub-tip.ok { color: #1a8f5a; font-weight: 600; }

/* 播放器下方：直播标题 + 介绍 */
.live-spot {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 24px;
}
.live-spot-title {
  margin: 0 0 10px; font-size: clamp(20px, 2.4vw, 26px);
  color: #fff; letter-spacing: 1px; font-weight: 800; line-height: 1.35;
}
.live-spot-intro {
  margin: 0; font-size: 14.5px; line-height: 1.85;
  color: rgba(255, 255, 255, .78); max-width: 920px;
}

/* ---------- 右侧直播选择 ---------- */
.live-pick {
  flex: 0 0 300px;
  width: 300px;
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  overflow: hidden;
}
.live-pick-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.live-pick-head {
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.live-pick-head h3 {
  margin: 0 0 12px; font-size: 16px; color: #fff; letter-spacing: 1px; font-weight: 800;
}
.live-pick .sch-filter {
  display: flex; gap: 6px; flex-wrap: nowrap; justify-content: stretch; margin: 0;
}
.sch-btn {
  flex: 1; min-width: 0; padding: 6px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .78);
  font-size: 12.5px; font-weight: 600; font-family: inherit; cursor: pointer;
  transition: all .2s ease; text-align: center; white-space: nowrap;
}
.sch-btn:hover { border-color: rgba(255, 255, 255, .45); color: #fff; }
.sch-btn.active { background: #fff; border-color: #fff; color: var(--navy); }
.live-pick-list {
  flex: 1; overflow-y: auto; padding: 10px;
  min-height: 0;
}
.live-pick-item {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px; text-align: left; margin: 0 0 8px; padding: 12px 12px 12px 16px;
  border: 1px solid transparent; border-radius: 12px;
  background: rgba(255, 255, 255, .05); color: #fff;
  font-family: inherit; cursor: default; position: relative;
}
.live-pick-item.has-stream,
.live-pick-item.has-replay { cursor: pointer; }
.live-pick-item:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
}
.live-pick-item.is-current {
  background: linear-gradient(90deg, rgba(255, 106, 26, .22) 0%, rgba(255, 255, 255, .08) 100%);
  border-color: rgba(255, 106, 26, .55);
  box-shadow: 0 4px 20px rgba(255, 106, 26, .18), inset 0 0 0 1px rgba(255, 106, 26, .25);
}
.live-pick-item.is-current::before {
  content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, #ff8a4a 0%, #ff4a00 100%);
  box-shadow: 0 0 8px rgba(255, 106, 26, .55);
}
.live-pick-item.is-current .live-pick-title { color: #ffd7bf; }
.live-pick-title {
  flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; line-height: 1.45;
  color: #fff;
}
.live-pick-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.live-pick .status { flex: none; }
.live-pick .cat-empty {
  margin: 0 10px 12px; background: transparent; border-color: rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .62);
}
.live-pick .cat-empty a { color: #ffb187; font-weight: 600; }

.status {
  display: inline-block; font-size: 12px; padding: 4px 12px; border-radius: 999px;
  font-weight: 700; letter-spacing: .5px; white-space: nowrap;
}
.status.live { background: rgba(232, 53, 44, .18); color: #ff8a82; }
.status.pending, .status.soon { background: rgba(255, 106, 43, .2); color: #ffb187; }
.status.ended, .status.replay { background: rgba(255, 255, 255, .12); color: #c5d4ea; }
.status.replay-count { background: rgba(23, 73, 179, .28); color: #9ec0ff; }

.row-hidden { display: none !important; }

/* ---------- 即将开播 ---------- */
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.preview-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.preview-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.preview-card .when { font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: 1px; }
.preview-card h3 { font-size: 17px; color: var(--navy); letter-spacing: .5px; margin: 10px 0 6px; }
.preview-card .meta { font-size: 13px; color: var(--muted); }
.countdown { display: flex; gap: 8px; margin: 18px 0 4px; }
.cd-unit { flex: 1; text-align: center; background: #f5f8fc; border-radius: 10px; padding: 10px 4px; }
.cd-unit b { display: block; font-size: 19px; font-weight: 800; color: var(--navy); }
.cd-unit span { font-size: 11px; color: var(--muted); }

/* ---------- 回放中心 ---------- */
.replay-filter-wrap { margin: 4px 0 28px; }
.replay-filter {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.replay-filter-btn {
  max-width: 240px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3;
  transition: all .2s ease;
}
.replay-filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.replay-filter-btn.active {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.replay-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.replay-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.replay-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px 10px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.replay-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(23, 73, 179, .28);
}
.replay-card.replay-row:hover { transform: translateY(-2px); }
.replay-row-thumb {
  position: relative;
  width: 128px;
  flex: none;
  border-radius: 10px;
  overflow: hidden;
  background: #0b1f3a;
}
.replay-row-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.replay-row .replay-play {
  left: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
}
.replay-row .replay-play svg { width: 12px; height: 12px; }
.replay-row-main { flex: 1; min-width: 0; padding: 4px 0; }
.replay-row-main h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: .3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.replay-row-main .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--muted);
}
.replay-row-go {
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .4px;
}
.replay-card {
  border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; display: block;
}
.replay-card.replay-row {
  display: flex;
  align-items: center;
  overflow: hidden;
}
#replay { scroll-margin-top: 96px; }
.replay-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.replay-thumb { position: relative; overflow: hidden; }
.replay-thumb img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .45s ease; }
.replay-card:hover .replay-thumb img { transform: scale(1.06); }
.replay-tag {
  position: absolute; top: 12px; right: 12px; background: rgba(6, 18, 34, .82); color: #fff;
  font-size: 12px; padding: 4px 10px; border-radius: 6px; letter-spacing: .5px;
}
.replay-play {
  position: absolute; left: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 106, 43, .92); color: #fff; display: flex; align-items: center; justify-content: center;
}
.replay-play svg { width: 15px; height: 15px; margin-left: 2px; }
.replay-body { padding: 16px 18px 18px; }
.replay-body h3 { font-size: 15px; color: var(--navy); margin-bottom: 8px; letter-spacing: .5px; }
.replay-body .meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .live-stage-body { flex-direction: column; }
  .live-pick { width: 100%; flex: none; position: static; }
  .live-pick-inner { position: static; max-height: 360px; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .replay-grid { grid-template-columns: repeat(2, 1fr); }
  .replay-filter { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .replay-filter-btn { flex: none; }
  .scoreboard { bottom: 70px; padding: 8px 16px; gap: 12px; }
  .scoreboard .score { font-size: 21px; }
}
@media (max-width: 620px) {
  .live-hero { padding: 40px 0 52px; }
  .live-spot { margin-top: 28px; padding-top: 20px; }
  .preview-grid, .replay-grid { grid-template-columns: 1fr; }
  .replay-row { gap: 12px; padding: 8px 12px 8px 8px; }
  .replay-row-thumb { width: 96px; }
  .replay-row-main h3 { font-size: 14.5px; white-space: normal; }
  .replay-row-go { display: none; }
  .scoreboard .team { font-size: 12px; }
  .scoreboard .score { font-size: 18px; letter-spacing: 2px; }
  .play-btn { width: 66px; height: 66px; top: 47%; }
  .play-btn svg { width: 24px; height: 24px; }
  .play-btn::after { inset: 9px; }
  .player-ctl { padding: 12px 14px 10px; }
  .player-toast { top: 56px; font-size: 12.5px; }
  .embed-wx { padding: 16px 18px; max-width: 100%; }
  .embed-wx .wx-tag { font-size: 11px; padding: 4px 11px; }
  .embed-wx h3 { font-size: 15.5px; margin: 10px 0 6px; }
  .embed-wx .wx-desc { font-size: 12.5px; line-height: 1.6; margin-bottom: 14px; }
  .embed-wx .wx-actions { gap: 9px; }
  .embed-wx .wx-actions .btn { padding: 10px 18px; font-size: 13px; }
  .embed-wx .wx-qr { flex-direction: column; text-align: center; gap: 8px; margin-top: 16px; padding: 12px; }
  .embed-wx .wx-qr img { width: 112px; height: 112px; }
  .embed-wx .wx-qr span { max-width: none; font-size: 12px; }
  .cat-bar { margin-top: 18px; }
  .cat-bar-light { padding: 14px; overflow: hidden; }
  .cat-row {
    flex-wrap: wrap;
    overflow: visible;
    margin-right: 0;
    padding-right: 0;
    padding-bottom: 0;
    gap: 8px;
  }
  .cat-chip { flex: none; padding: 7px 12px; font-size: 12.5px; }
}

.live-pick-item.has-stream .live-pick-title::after {
  content: " 新窗口";
  color: #ffb187;
  font-size: 11.5px;
  font-weight: 600;
  margin-left: 4px;
  opacity: .85;
}
