:root {
  --bg: #0e1116;
  --panel: #171c24;
  --panel-2: #1f2630;
  --accent: #18d39b;
  --text: #e6edf3;
  --muted: #8b98a8;
  --line: #2a323d;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  background: var(--panel); border-bottom: 1px solid var(--line); }
.logo { font-weight: 700; color: var(--accent); }
.title { font-size: 16px; font-weight: 600; }
.live-count { margin-left: auto; color: var(--muted); font-size: 13px; }
.layout { display: flex; height: calc(100% - 49px); }
.session-list { width: 280px; border-right: 1px solid var(--line); overflow-y: auto;
  background: var(--panel); }
.session-list .empty { color: var(--muted); padding: 16px; font-size: 13px; }
.session-card { padding: 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.session-card:hover { background: var(--panel-2); }
.session-card.active { background: var(--panel-2); border-left: 3px solid var(--accent); }
.session-card .cover { width: 100%; height: 96px; object-fit: cover; border-radius: 6px;
  background: #000; }
.session-card .name { margin-top: 6px; font-size: 14px; font-weight: 600; }
.session-card .sub { margin-top: 4px; font-size: 12px; color: var(--muted); }
.stage { flex: 1; padding: 16px; overflow-y: auto; }
.player-wrap { position: relative; background: #000; border-radius: 10px; overflow: hidden;
  aspect-ratio: 16 / 9; max-height: 60vh; }
#player { width: 100%; height: 100%; display: block; background: #000; }
.score-overlay { position: absolute; top: 12px; left: 12px; display: flex; align-items: center;
  gap: 10px; padding: 8px 14px; background: rgba(0,0,0,.55); border-radius: 8px;
  backdrop-filter: blur(4px); }
.score-left, .score-right { font-size: 26px; font-weight: 800; min-width: 28px; text-align: center; }
.score-sep { font-size: 22px; color: var(--muted); }
.score-tip { font-size: 11px; color: var(--muted); margin-left: 6px; }
.meta-bar { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.session-title { font-size: 16px; font-weight: 600; }
.watch-stats { margin-left: auto; color: var(--muted); font-size: 13px; }
.channel-bar { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.channel-bar .ch { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; cursor: pointer; background: var(--panel); }
.channel-bar .ch.active { border-color: var(--accent); color: var(--accent); }
.hint { margin-top: 16px; padding: 12px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.hint code { background: var(--panel-2); padding: 1px 5px; border-radius: 4px; color: var(--text); }
@media (max-width: 720px) {
  .layout { flex-direction: column; }
  .session-list { width: 100%; height: 160px; border-right: none; border-bottom: 1px solid var(--line); }
}
