/* STREAM0 全站样式 —— 暗色 youku 风 */

:root {
  --bg: #070b14;
  --bg-2: #0c1322;
  --bg-3: #141d30;
  --line: #22304a;
  --text: #e9efff;
  --text-2: #93a4c3;
  --accent: #4f7cff;
  --accent-2: #22d3ee;
  --accent-soft: rgba(79, 124, 255, .14);
  --gold: #ffc65c;
  --green: #34d399;
  --red: #f25f6b;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(2, 6, 18, .55);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { color-scheme: dark; }

body {
  background:
    radial-gradient(1100px 520px at 50% -260px, rgba(79, 124, 255, .20), transparent 65%),
    radial-gradient(900px 420px at 100% -120px, rgba(34, 211, 238, .10), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

.muted { color: var(--text-2); font-size: 14px; }
.button {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--text);
  transition: all .15s;
}
.button:hover { border-color: var(--accent); color: #fff; }
.button--primary {
  background: linear-gradient(120deg, #4f7cff, #3aa8f0);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(79, 124, 255, .28);
}
.button--primary:hover { filter: brightness(1.08); color: #fff; }

.spinner {
  display: inline-block;
  width: 22px; height: 22px;
  border: 2.5px solid rgba(255,255,255,.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  vertical-align: -6px;
  margin-right: 10px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 顶栏 ---------- */

.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,11,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px; height: 60px;
  display: flex; align-items: center; gap: 22px;
}
.brand__mark {
  font-weight: 900; font-size: 21px; letter-spacing: 1px;
  background: linear-gradient(120deg, #6a8dff, #22d3ee);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 7px 13px; border-radius: 8px;
  font-size: 14.5px; color: var(--text-2); font-weight: 500;
  transition: all .15s;
}
.nav a:hover { color: var(--text); background: var(--bg-3); }

.searchbox {
  flex: 1; max-width: 430px;
  display: flex; align-items: center;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .15s;
}
.searchbox:focus-within { border-color: var(--accent); }
.searchbox input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); padding: 8px 16px; font-size: 14px;
}
.searchbox input::placeholder { color: #5c5c68; }
.searchbox button {
  padding: 6px 14px; font-size: 17px; color: var(--text-2);
}
.searchbox button:hover { color: var(--accent); }

.topbar__tools { display: flex; gap: 10px; }
.tool-link {
  font-size: 14px; color: var(--text-2); padding: 6px 10px; border-radius: 8px;
}
.tool-link:hover { color: var(--text); background: var(--bg-3); }

@media (max-width: 920px) {
  .nav { display: none; }
  .topbar__inner { gap: 12px; }
}
@media (max-width: 560px) {
  .topbar__tools { display: none; }
}

/* ---------- 首页 hero ---------- */

.hero {
  text-align: center;
  padding: 64px 20px 40px;
}
.hero__title { font-size: clamp(24px, 4vw, 38px); font-weight: 800; letter-spacing: .5px; }
.hero__sub { color: var(--text-2); margin: 12px 0 26px; font-size: 15.5px; }
.hero-search {
  display: flex; gap: 10px; justify-content: center;
  max-width: 620px; margin: 0 auto;
}
.hero-search input {
  flex: 1; padding: 13px 20px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-3);
  color: var(--text); font-size: 15px; outline: none;
}
.hero-search input:focus { border-color: var(--accent); }

.hot-searches { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hot-searches__label { color: var(--text-2); font-size: 13px; align-self: center; margin-right: 4px; }
.hot-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 14px;
  background: var(--bg-3); border: 1px solid var(--line);
  font-size: 13px; color: var(--text-2);
}
.hot-chip:hover { color: var(--text); border-color: var(--accent); }
.hot-chip i { font-style: normal; font-size: 11px; color: var(--accent); font-weight: 700; }

.home-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; margin: 40px 0;
}
.feature {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.feature h3 { font-size: 16.5px; margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 14px; }

/* ---------- 滚动栏 ---------- */

.rail { margin: 30px 0; }
.rail__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rail__title { font-size: 19px; font-weight: 700; }
.rail__nav { display: flex; gap: 6px; align-items: center; }
.rail__btn {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--bg-3); border: 1px solid var(--line);
  font-size: 18px; line-height: 1; color: var(--text-2);
}
.rail__btn:hover { color: var(--text); border-color: var(--accent); }
.rail__more { font-size: 13.5px; color: var(--text-2); margin-left: 10px; }
.rail__more:hover { color: var(--accent); }
.rail__body {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: 152px;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.rail__body::-webkit-scrollbar { height: 6px; }
.rail__body::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 3px; }
.rail__body--rooms { grid-auto-columns: 220px; }

/* ---------- 海报卡片 ---------- */

.vcard { display: block; }
.vcard__poster {
  position: relative; aspect-ratio: 2/3;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.vcard__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.vcard:hover .vcard__poster img { transform: scale(1.05); }
.vcard__ph {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1c1c22, #101014);
}
.vcard__badge {
  position: absolute; right: 0; bottom: 0;
  background: rgba(0,0,0,.72);
  padding: 3px 8px; font-size: 12px;
  border-top-left-radius: 8px;
  color: var(--gold);
}
.vcard__sources {
  position: absolute; left: 8px; top: 8px;
  background: rgba(79,124,255,.92); color: #fff;
  padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 700;
}
.vcard__title {
  margin-top: 9px; font-size: 14.5px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vcard__meta { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  gap: 16px 14px;
  margin: 24px 0;
}

/* ---------- 直链广告横幅（zip0 同款） ---------- */

.direct-link-ad-banner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 10px auto 0; padding: 0 20px;
}
.direct-link-ad-banner {
  gap: 14px; text-decoration: none;
  border: 1px dashed #3a3a44;
  background: linear-gradient(100deg, rgba(79,124,255,.12), rgba(34,211,238,.06));
  border-radius: 12px; padding: 12px 18px;
  transition: border-color .15s;
}
.direct-link-ad-banner:hover { border-color: var(--accent); }
.direct-link-ad-banner__content { display: flex; flex-direction: column; gap: 2px; }
.direct-link-ad-banner__eyebrow { font-size: 11px; letter-spacing: 2px; color: var(--accent); font-weight: 700; }
.direct-link-ad-banner__title { font-size: 14px; color: var(--text-2); }
.direct-link-ad-banner__button {
  flex-shrink: 0;
  background: var(--accent); color: #fff;
  padding: 8px 16px; border-radius: 20px; font-size: 13.5px; font-weight: 600;
}

/* ---------- 广告位 ---------- */

.ad-slot {
  display: flex; align-items: center; justify-content: center;
  min-height: 90px; margin: 20px 0;
  border: 1px dashed #2c2c34; border-radius: var(--radius);
  color: #55555f; font-size: 12px; letter-spacing: 2px;
  overflow: hidden;
}
.ad-slot ins { width: 100%; }

/* ---------- 搜索页 ---------- */

.search-head { padding: 26px 0 8px; }
.search-head__title { font-size: 24px; font-weight: 800; }
.search-head__sources { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 4px; }
.src-badge {
  font-size: 12px; padding: 3px 10px; border-radius: 12px;
  background: var(--bg-3); border: 1px solid var(--line);
}
.src-badge.ok::after { content: ' ✓'; color: var(--green); }
.src-badge.down { color: #6a6a76; }


.search-results { display: flex; flex-direction: column; gap: 16px; margin: 20px 0 40px; }

.sgrp {
  display: flex; gap: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color .15s;
}
.sgrp:hover { border-color: #3a3a44; }
.sgrp__poster {
  position: relative; flex-shrink: 0;
  width: 128px; aspect-ratio: 2/3;
  border-radius: 8px; overflow: hidden; background: var(--bg-3);
}
.sgrp__poster img { width: 100%; height: 100%; object-fit: cover; }
.sgrp__score {
  position: absolute; left: 0; bottom: 0;
  background: rgba(255,176,32,.92); color: #241a02;
  font-size: 12.5px; font-weight: 800;
  padding: 2px 8px; border-top-right-radius: 8px;
}
.sgrp__info { flex: 1; min-width: 0; }
.sgrp__title { font-size: 17.5px; font-weight: 700; margin-bottom: 5px; }
.sgrp__title a:hover { color: var(--accent-2); }
.sgrp__meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--text-2); font-size: 13px; margin-bottom: 12px; }
.sgrp__count { color: var(--accent); font-weight: 600; }
.sgrp__entries { display: flex; flex-direction: column; gap: 4px; }
.sgrp__entry {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px; border-radius: 8px;
  background: var(--bg-3);
  font-size: 13.5px;
  transition: background .12s;
}
.sgrp__entry:hover { background: #24242b; }
.sgrp__src { font-weight: 700; color: var(--text); min-width: 64px; }
.sgrp__remark { color: var(--gold); flex: 1; }
.sgrp__time { color: var(--text-2); font-size: 12px; }

.empty { text-align: center; padding: 80px 0; }
.empty h2 { font-size: 20px; margin-bottom: 8px; }
.empty p { color: var(--text-2); margin-bottom: 18px; }

/* ---------- 分页 ---------- */

.pager { display: flex; justify-content: center; gap: 8px; margin: 30px 0 50px; }
.pager__btn {
  padding: 8px 14px; border-radius: 8px;
  background: var(--bg-3); border: 1px solid var(--line);
  font-size: 14px; color: var(--text-2);
}
.pager__btn:hover { color: var(--text); border-color: var(--accent); }
.pager__btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 播放页 ---------- */

.watch-layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; padding-top: 20px; }
@media (max-width: 1000px) { .watch-layout { grid-template-columns: 1fr; } }

.player-zone { margin-bottom: 18px; }
#player-mount, #tv-player-mount {
  aspect-ratio: 16/9; width: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}
#player-mount video, #tv-player-mount video { width: 100%; height: 100%; }
.player-loading {
  display: flex; align-items: center; justify-content: center;
  height: 100%; color: var(--text-2); font-size: 14.5px;
}

.watch-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 6px 0 18px; }
.watch-title { font-size: 22px; font-weight: 800; flex: 1; min-width: 200px; }
.watch-chip {
  background: var(--bg-3); border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 6px; font-size: 12.5px; color: var(--gold);
}
.watch-score { color: var(--gold); font-weight: 700; font-size: 15px; }
.watch-actions { display: flex; gap: 8px; }
.act-btn {
  padding: 7px 14px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg-3);
  font-size: 13.5px; color: var(--text-2);
  transition: all .12s;
}
.act-btn:hover { color: var(--text); border-color: var(--accent); }
.act-btn.on { color: var(--accent); border-color: var(--accent); }

.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 18px;
}
.panel__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.panel__head h2 { font-size: 16.5px; font-weight: 700; }
.panel__sub { font-size: 12.5px; color: var(--text-2); }

.route-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.route-tab {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 8px 16px; border-radius: 8px;
  background: var(--bg-3); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600;
}
.route-tab:hover { border-color: var(--accent); }
.route-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.route-tab__count { font-size: 11px; font-weight: 400; color: var(--text-2); }
.route-tab.active .route-tab__count { color: rgba(255,255,255,.75); }

.ep-list__head { font-size: 13.5px; color: var(--text-2); margin-bottom: 10px; }
.ep-list__body {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 8px; max-height: 260px; overflow-y: auto;
}
.ep-chip {
  display: flex; align-items: center; justify-content: center;
  padding: 9px 6px; border-radius: 8px;
  background: var(--bg-3); border: 1px solid var(--line);
  font-size: 13.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ep-chip:hover { border-color: var(--accent); }
.ep-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.watch-side .info-block { display: flex; gap: 14px; }
.info-poster { width: 96px; aspect-ratio: 2/3; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--bg-3); }
.info-poster img { width: 100%; height: 100%; object-fit: cover; }
.info-meta { flex: 1; display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.info-meta > div { display: flex; gap: 8px; }
.info-meta dt { color: var(--text-2); flex-shrink: 0; }
.info-meta dd { word-break: break-all; }
.info-desc { color: var(--text-2); font-size: 13.5px; margin-top: 14px; line-height: 1.7; text-align: justify; }
.info-actors { margin-top: 12px; font-size: 13px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag { background: var(--bg-3); padding: 3px 9px; border-radius: 6px; color: var(--text); }

.watch-related { padding-bottom: 30px; }

/* ---------- 评论区 ---------- */

.comment-form { display: flex; gap: 10px; margin-bottom: 18px; }
.comment-form input {
  flex: 1; padding: 10px 14px;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 8px; color: var(--text); font-size: 14px; outline: none;
}
.comment-form input:focus { border-color: var(--accent); }
.comment-list { display: flex; flex-direction: column; gap: 2px; }
.comment-item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.comment-item__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #4f7cff, #22d3ee);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.comment-item__body { flex: 1; }
.comment-item__name { font-size: 13px; font-weight: 700; color: var(--text-2); }
.comment-item__time { font-size: 11.5px; color: #55555f; margin-left: 8px; }
.comment-item__text { font-size: 14.5px; margin-top: 3px; word-break: break-word; }

/* ---------- 浏览 / 排行 / 电视 ---------- */

.page-title { font-size: 26px; font-weight: 800; padding: 28px 0 6px; }
.browse-head { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 26px 0 4px; }
.browse-head h1 { font-size: 26px; font-weight: 800; }
.browse-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 0 4px; }
.chan-tab {
  padding: 7px 16px; border-radius: 18px;
  background: var(--bg-3); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--text-2);
}
.chan-tab:hover { color: var(--text); border-color: var(--accent); }
.chan-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.browse-sorts { display: flex; gap: 8px; margin-left: auto; }
.sort-tab { font-size: 13px; color: var(--text-2); padding: 5px 10px; border-radius: 6px; }
.sort-tab:hover, .sort-tab.active { color: var(--accent); }

.rank-layout {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px; padding-bottom: 40px;
}
.rank-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 10px; border-radius: 8px;
  transition: background .12s;
}
.rank-row:hover { background: var(--bg-3); }
.rank-row__no {
  width: 26px; font-size: 16px; font-weight: 900;
  color: var(--text-2); font-style: italic; text-align: center;
}
.rank-row__no.top1 { color: #ff4444; }
.rank-row__no.top2 { color: #ff8a4c; }
.rank-row__no.top3 { color: var(--gold); }
.rank-row__title { flex: 1; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-row__meta { font-size: 12.5px; color: var(--text-2); flex-shrink: 0; }

.player-zone--tv { margin: 16px 0 8px; }
.tvgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px; padding: 20px 0 50px;
}
.tvcard {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 14px;
  text-align: left; transition: border-color .12s;
}
.tvcard:hover { border-color: var(--accent); }
.tvcard__logo { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--bg-3); flex-shrink: 0; }
.tvcard__name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvcard__group { display: block; font-size: 11px; color: var(--text-2); font-weight: 400; }

/* ---------- 历史 / 收藏 ---------- */

.ccard { display: block; position: relative; }
.ccard__poster {
  position: relative; aspect-ratio: 16/10; border-radius: var(--radius);
  overflow: hidden; background: var(--bg-3); border: 1px solid var(--line);
}
.ccard__poster img { width: 100%; height: 100%; object-fit: cover; }
.ccard__ep {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  font-size: 12px; color: #fff; padding: 14px 8px 5px;
}
.ccard__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.2); }
.ccard__progress i { display: block; height: 100%; background: var(--accent); }
.ccard__title { margin-top: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard__meta { font-size: 12px; color: var(--text-2); }

/* ---------- 热播房间 ---------- */

.roomcard {
  display: flex; flex-direction: column; gap: 5px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px;
}
.roomcard:hover { border-color: var(--accent); }
.roomcard__live {
  align-self: flex-start;
  font-size: 10.5px; font-weight: 900; letter-spacing: 1.5px;
  color: #fff; background: var(--accent);
  padding: 2px 8px; border-radius: 5px;
}
.roomcard__title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roomcard__count { font-size: 12px; color: var(--text-2); }

/* ---------- 关于 / 页脚 ---------- */

.about-body p { color: var(--text-2); font-size: 14.5px; margin-bottom: 14px; line-height: 1.8; }

.footer {
  border-top: 1px solid var(--line);
  margin-top: 60px; padding: 34px 0 44px;
  background: #070708;
}
.footer__brand { font-weight: 800; font-size: 17px; margin-bottom: 10px; }
.footer__note { color: #6c6c78; font-size: 12.5px; max-width: 720px; line-height: 1.7; }
.footer__links { display: flex; gap: 18px; margin-top: 14px; }
.footer__links a { color: var(--text-2); font-size: 13px; }
.footer__links a:hover { color: var(--accent); }
.footer__icp { margin-top: 12px; color: #55555f; font-size: 12px; }

/* ---------- 移动端 ---------- */

@media (max-width: 640px) {
  .vgrid { grid-template-columns: repeat(3, 1fr); gap: 12px 10px; }
  .rail__body { grid-auto-columns: 126px; }
  .sgrp { flex-direction: column; }
  .sgrp__poster { width: 100%; }
  .hero { padding: 40px 0 28px; }
  .watch-layout { gap: 14px; }
  .browse-sorts { margin-left: 0; }
}

/* ---------- ArtPlayer 播放器微调 ---------- */

.art-video-player { border-radius: var(--radius) !important; }
.art-control-layers, .art-settings { font-family: var(--font); }
.art-danmuku { font-family: var(--font); }

/* ---------- 跳过片头/片尾按钮 ---------- */
.skip-btn {
  position: absolute;
  right: 16px;
  bottom: 86px;
  z-index: 20;
  padding: 8px 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, .72);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(6px);
  transition: all .15s;
}
.skip-btn:hover { border-color: var(--accent); color: var(--accent); }
.skip-btn[hidden] { display: none; }

/* ---------- 源展示：编号线路（不暴露源站名） ---------- */
.vcard__lines { margin-left: 6px; color: #6c6c78; font-size: 11.5px; }
.sgrp__line { font-weight: 700; color: var(--text); min-width: 64px; }
.search-head__stats { color: var(--text-2); font-size: 13px; margin: 6px 0 2px; }
.route-tab__ms { font-size: 10.5px; font-weight: 400; color: var(--text-2); }
.route-tab.active .route-tab__ms { color: rgba(255, 255, 255, .82); }
.route-tab__ms[data-ok="0"] { color: var(--gold); }


/* ---------- 顶栏用户区 / 会员标识 ---------- */
.tool-link--login { color: var(--accent-2); font-weight: 600; }
.tool-link--user { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; }
.vip-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #1a1200;
  background: linear-gradient(120deg, #ffd479, #ffb020);
  box-shadow: 0 2px 8px rgba(255, 176, 32, .35);
}
.vip-badge--lg { font-size: 14px; padding: 4px 12px; border-radius: 8px; }

/* ---------- 筛选条（类型/地区/年份/排序） ---------- */
.filter-bar {
  margin: 16px 0 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 29, 48, .9), rgba(12, 19, 34, .65));
}
.filter-row { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; }
.filter-row__label { flex-shrink: 0; width: 44px; padding-top: 5px; font-size: 13px; color: var(--text-2); }
.filter-row__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 13px;
  color: var(--text-2);
  background: transparent;
  border: 1px solid transparent;
  transition: all .12s;
}
.filter-chip:hover { color: var(--text); background: var(--accent-soft); }
.filter-chip.active {
  color: #0b1220;
  font-weight: 700;
  background: linear-gradient(120deg, #8fb0ff, #67e8f9);
  border-color: transparent;
}
.filter-row--sort { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; align-items: center; }
.filter-count { margin-left: auto; font-size: 12.5px; color: var(--text-2); }

/* ---------- 登录 / 注册 ---------- */
.auth-wrap { display: flex; justify-content: center; padding: 60px 10px 80px; }
.auth-card {
  width: 100%;
  max-width: 380px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20, 29, 48, .95), rgba(10, 16, 28, .95));
  box-shadow: var(--shadow);
}
.auth-tabs { display: flex; gap: 6px; margin-bottom: 18px; background: var(--bg-3); padding: 4px; border-radius: 10px; }
.auth-tab {
  flex: 1;
  padding: 9px 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}
.auth-tab.active { background: var(--accent-soft); color: var(--text); }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); }
.auth-form input {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--text);
  font-size: 14px;
  outline: none;
}
.auth-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.auth-error { min-height: 18px; margin: 0; font-size: 12.5px; color: var(--red); }
.auth-tip { margin-top: 14px; font-size: 12.5px; text-align: center; }
.button--block { width: 100%; text-align: center; }
.auth-actions { display: flex; gap: 10px; margin-top: 14px; }

/* ---------- 会员中心 ---------- */
.vip-wrap { max-width: 720px; margin: 40px auto 80px; padding: 0 16px; }
.vip-hero {
  padding: 34px 30px;
  border-radius: 18px;
  border: 1px solid rgba(255, 198, 92, .28);
  background:
    radial-gradient(600px 220px at 15% -20%, rgba(255, 198, 92, .16), transparent 70%),
    linear-gradient(180deg, rgba(20, 29, 48, .95), rgba(10, 16, 28, .95));
  box-shadow: var(--shadow);
}
.vip-hero h1 { font-size: 26px; margin: 12px 0 6px; }
.vip-status { color: var(--text-2); font-size: 14px; }
.vip-status--on { color: var(--gold); font-weight: 600; }
.vip-perks { margin: 18px 0; padding-left: 18px; color: var(--text-2); font-size: 14px; line-height: 2; }
.vip-redeem { margin-top: 18px; max-width: 380px; }

/* ---------- 管理后台 ---------- */
.admin-body { background: #060a12; }
.admin-login { max-width: 380px; margin: 60px auto; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.admin-login h1 { font-size: 20px; margin-bottom: 16px; }
.admin-tabs { display: flex; gap: 8px; margin: 24px 0 16px; }
.admin-tab { padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text-2); font-size: 14px; }
.admin-tab.active { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 18px; }
.admin-card { padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 4px; }
.admin-card b { font-size: 22px; }
.admin-card span { font-size: 12.5px; color: var(--text-2); }
.admin-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 13.5px; }
.admin-table th, .admin-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.admin-table th { color: var(--text-2); font-weight: 500; font-size: 12.5px; }
.admin-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.admin-list { padding-left: 18px; color: var(--text-2); font-size: 13.5px; line-height: 1.9; margin-bottom: 18px; }
.ok-dot, .bad-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.ok-dot { background: var(--green); }
.bad-dot { background: var(--red); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.button--sm { padding: 5px 12px; font-size: 12.5px; border-radius: 8px; }

.route-tab--alt { text-decoration: none; }
.route-tab--alt .route-tab__ms--alt { color: var(--accent-2); }

/* ---------- 直播工具栏 ---------- */
.tv-toolbar { display: flex; align-items: center; gap: 14px; padding: 6px 0 10px; }
.tv-toolbar input {
  width: 240px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--text);
  font-size: 13.5px;
  outline: none;
}
.tv-toolbar input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
