/* 短剧网页版视觉层：移动优先、深色影院感。零框架。
   设计取向：大图开场 + 横滑片单 + 封面底部渐变压字，靠留白和字重拉层次，
   而不是靠边框和分割线堆信息。 */
:root {
  --bg: #0a0a0d;
  --bg-soft: #101015;
  --card: #16161d;
  --line: rgba(255, 255, 255, .07);
  --fg: #f2f2f5;
  --dim: #8b8b99;
  --dim2: #5f5f6d;
  --brand: #ff5e00;
  --brand2: #ffa033;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(0, 0, 0, .5);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { height: 0; width: 0; }

/* ---------- 顶栏：只留品牌和两个图标，搜索单独一行，别挤 ---------- */
.top {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 10px;
  background: linear-gradient(180deg, rgba(10,10,13,.98) 60%, rgba(10,10,13,0));
  backdrop-filter: blur(12px);
}
.logo {
  font-size: 19px; font-weight: 800; letter-spacing: .5px;
  background: linear-gradient(92deg, var(--brand2), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.top .spacer { flex: 1; }
.iconbtn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06); font-size: 15px; color: var(--dim);
}
.userbtn {
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.07); color: var(--fg); white-space: nowrap;
  max-width: 116px; overflow: hidden; text-overflow: ellipsis;
}
.userbtn.vip { background: linear-gradient(92deg, var(--brand2), var(--brand)); color: #fff; }

.searchbar { padding: 0 16px 10px; }
.searchbar form { display: flex; gap: 8px; }
.searchbar input {
  flex: 1; min-width: 0; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.05);
  color: var(--fg); font-size: 14px;
}
.searchbar input::placeholder { color: var(--dim2); }
.searchbar button {
  padding: 10px 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(92deg, var(--brand2), var(--brand));
  color: #fff; font-size: 14px; font-weight: 700;
}

/* ---------- 标签条 ---------- */
.tags { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 14px; }
.tags a {
  flex: none; padding: 7px 15px; border-radius: 999px; font-size: 13px;
  background: rgba(255,255,255,.05); color: var(--dim); white-space: nowrap;
  border: 1px solid transparent; transition: .18s;
}
.tags a.on {
  background: linear-gradient(92deg, var(--brand2), var(--brand));
  color: #fff; font-weight: 700;
}

main { padding-bottom: 46px; }
.wrap { padding: 0 16px; max-width: 1180px; margin: 0 auto; }

/* ---------- Hero：首页开场大图 ---------- */
.hero {
  position: relative; margin: 0 0 24px; overflow: hidden;
  min-height: 380px; display: flex; align-items: flex-end;
}
.hero .bg { position: absolute; inset: 0; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
/* 双层渐变：底部压黑给文字留位置，顶部压一点让顶栏不糊 */
.hero .bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,13,.55) 0%, rgba(10,10,13,0) 30%,
              rgba(10,10,13,.75) 72%, var(--bg) 100%);
}
.hero .inner { position: relative; padding: 0 16px 22px; width: 100%; max-width: 1180px; margin: 0 auto; }
.hero h1, .hero .hero-h {
  font-size: 27px; font-weight: 800; margin: 0 0 8px; line-height: 1.25;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.hero .meta span {
  font-size: 12px; color: var(--fg); padding: 3px 9px; border-radius: 6px;
  background: rgba(255,255,255,.13); backdrop-filter: blur(4px);
}
.hero .meta .hot { background: linear-gradient(92deg, var(--brand2), var(--brand)); font-weight: 700; }
.hero p.intro {
  color: rgba(255,255,255,.72); font-size: 13.5px; margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero .acts { display: flex; gap: 10px; }
.btn-main, .btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 26px; border-radius: 10px; font-size: 15px; font-weight: 700;
}
.btn-main {
  background: linear-gradient(92deg, var(--brand2), var(--brand)); color: #fff;
  box-shadow: 0 6px 20px rgba(255,94,0,.32);
}
.btn-ghost { background: rgba(255,255,255,.13); color: var(--fg); backdrop-filter: blur(6px); }

/* ---------- 分区标题 ---------- */
.sec { margin: 26px 0 0; }
.sec-hd {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0 16px; margin-bottom: 12px; max-width: 1180px; margin-left: auto; margin-right: auto;
}
.sec-hd h2 { font-size: 18px; font-weight: 800; margin: 0; letter-spacing: .3px; }
.sec-hd h2::before {
  content: ''; display: inline-block; width: 3px; height: 15px; margin-right: 8px;
  border-radius: 2px; background: linear-gradient(180deg, var(--brand2), var(--brand));
  vertical-align: -2px;
}
.sec-hd a { font-size: 13px; color: var(--dim); }

/* ---------- 横滑片单：手机上一屏能瞥见下一张，暗示可滑 ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 31%;
  gap: 11px; overflow-x: auto; padding: 2px 16px 4px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.rail > * { scroll-snap-align: start; }
@media (min-width: 560px) { .rail { grid-auto-columns: 22%; } }
@media (min-width: 900px) { .rail { grid-auto-columns: 15%; max-width: 1180px; margin: 0 auto; } }

/* ---------- 网格 ---------- */
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 11px;
  padding: 0 16px; max-width: 1180px; margin: 0 auto;
}
@media (min-width: 560px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(6, 1fr); gap: 22px 14px; } }

/* ---------- 卡片 ---------- */
.card { display: block; transition: transform .22s ease; }
.card:active { transform: scale(.97); }
@media (hover: hover) { .card:hover { transform: translateY(-4px); } }
.card .cover {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius);
  overflow: hidden; background: var(--card); box-shadow: var(--shadow);
}
.card .cover img { width: 100%; height: 100%; object-fit: cover; }
/* 封面底部渐变，让压在上面的角标和标题永远可读 */
.card .cover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
  pointer-events: none;
}
.card .ph, .poster.ph { width: 100%; height: 100%; background: linear-gradient(135deg, #1a1a22, #262630); }
.card h3 {
  font-size: 13.5px; font-weight: 600; margin: 9px 2px 3px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .meta { font-size: 11.5px; color: var(--dim2); margin: 0 2px; }
.b {
  position: absolute; right: 7px; bottom: 7px; z-index: 2;
  padding: 3px 7px; border-radius: 6px; font-size: 10.5px; font-weight: 600;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px); color: #fff;
}
.b.done { background: rgba(32,140,86,.85); }
.b.vip {
  left: 7px; right: auto; top: 7px; bottom: auto;
  background: linear-gradient(92deg, #ffc24a, #ff7a00); color: #3a1d00; font-weight: 800;
}

/* ---------- 分页 ---------- */
.pager { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin: 30px 16px 0; }
.pager a, .pager .cur {
  min-width: 40px; text-align: center; padding: 9px 13px; border-radius: 10px;
  background: rgba(255,255,255,.05); font-size: 14px; color: var(--dim);
}
.pager .cur {
  background: linear-gradient(92deg, var(--brand2), var(--brand)); color: #fff; font-weight: 700;
}

h1.page-t { font-size: 21px; font-weight: 800; margin: 20px 16px 4px; max-width: 1180px; }
.sub { color: var(--dim); font-size: 13px; margin: 0 16px 16px; }
.empty { color: var(--dim); padding: 60px 16px; text-align: center; }

/* ---------- 详情页：顶部大背景图 + 海报浮起 ---------- */
.dt-hero { position: relative; margin-bottom: 6px; }
.dt-hero .bg { position: absolute; inset: 0; overflow: hidden; }
.dt-hero .bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(18px) saturate(1.2); transform: scale(1.15); opacity: .5; }
.dt-hero .bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,13,.45), rgba(10,10,13,.9) 65%, var(--bg));
}
.dt-hero .inner {
  position: relative; display: flex; gap: 15px; padding: 18px 16px 20px;
  max-width: 1180px; margin: 0 auto;
}
.poster {
  width: 118px; flex: none; aspect-ratio: 3/4; border-radius: 12px;
  object-fit: cover; background: var(--card); box-shadow: 0 10px 30px rgba(0,0,0,.6);
}
.dt-info { min-width: 0; flex: 1; }
.dt-info h1 { font-size: 20px; font-weight: 800; margin: 2px 0 10px; line-height: 1.3; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chips span {
  font-size: 11.5px; padding: 3px 9px; border-radius: 6px;
  background: rgba(255,255,255,.09); color: var(--fg);
}
.chips .k { background: linear-gradient(92deg, var(--brand2), var(--brand)); font-weight: 700; }
.tag {
  display: inline-block; margin: 0 6px 6px 0; padding: 4px 11px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  font-size: 12px; color: var(--dim);
}
.desc { padding: 0 16px; max-width: 1180px; margin: 0 auto 4px; }
.desc h2, .eplist h2, .related h2 { font-size: 16px; font-weight: 700; margin: 22px 0 10px; }
.desc p { color: var(--dim); font-size: 14px; margin: 0; line-height: 1.75; }

/* ---------- 选集 ---------- */
.eplist { padding: 0 16px; max-width: 1180px; margin: 0 auto; }
.eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 9px; }
.ep {
  display: flex; align-items: center; justify-content: center; padding: 11px 0;
  border-radius: 10px; background: rgba(255,255,255,.05); font-size: 14px;
  color: var(--fg); transition: .16s;
}
.ep.on { background: linear-gradient(92deg, var(--brand2), var(--brand)); color: #fff; font-weight: 800; }
.ep.off { color: var(--dim2); background: rgba(255,255,255,.02); }
.ep.lock i { font-style: normal; font-size: 10px; margin-left: 3px; opacity: .85; }
.related { padding: 0 16px; max-width: 1180px; margin: 0 auto; }
.related .grid { padding: 0; }

/* ---------- 播放页 ---------- */
.player-wrap { position: relative; background: #000; margin-bottom: 14px; }
#player { width: 100%; aspect-ratio: 16/9; display: block; background: #000; }
.pmask {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.78); color: var(--fg); font-size: 14px; text-align: center; padding: 22px;
  backdrop-filter: blur(3px);
}
.pmask.hide { display: none; }
.pmask a { color: var(--brand2); font-weight: 700; }
.play-title { font-size: 18px; font-weight: 800; margin: 0 16px 5px; }
.epnav { display: flex; gap: 10px; padding: 0 16px; margin: 14px 0; max-width: 1180px; }
.epnav a, .epnav span {
  flex: 1; text-align: center; padding: 11px; border-radius: 10px;
  background: rgba(255,255,255,.05); font-size: 14px;
}
.epnav span.off { color: var(--dim2); }

/* ---------- 表单 / 账号 / 会员 ---------- */
.authbox { max-width: 430px; margin: 24px auto; padding: 0 16px; }
.authbox h1 { font-size: 21px; font-weight: 800; margin: 0 0 16px; }
.authtab { display: flex; gap: 8px; margin-bottom: 18px; }
.authtab a {
  flex: 1; text-align: center; padding: 11px; border-radius: 10px;
  background: rgba(255,255,255,.05); color: var(--dim); font-size: 14px;
}
.authtab a.on { background: linear-gradient(92deg, var(--brand2), var(--brand)); color: #fff; font-weight: 700; }
.authbox label { display: block; margin: 14px 0; font-size: 13px; color: var(--dim); }
.authbox input, .paych select {
  display: block; width: 100%; margin-top: 7px; padding: 12px 14px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--fg); font-size: 15px;
}
.authbox form > button {
  width: 100%; margin-top: 10px; padding: 13px; border: 0; border-radius: 11px; cursor: pointer;
  background: linear-gradient(92deg, var(--brand2), var(--brand));
  color: #fff; font-size: 16px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(255,94,0,.28);
}
.row { margin: 6px 0; font-size: 13.5px; color: var(--dim); }
.row b { color: var(--fg); font-weight: 600; margin-right: 10px; }
.err {
  background: rgba(220,50,50,.13); border: 1px solid rgba(220,50,50,.35);
  color: #ff9d9d; padding: 11px 13px; border-radius: 10px; font-size: 13px; margin: 0 0 14px;
}
.warn {
  background: rgba(255,160,50,.1); border: 1px solid rgba(255,160,50,.3);
  color: #ffcb8f; padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.75;
}
.code {
  margin: 16px 0; padding: 18px; border-radius: 12px; background: rgba(255,255,255,.05);
  border: 1px dashed var(--brand); font-size: 19px; letter-spacing: 3px;
  text-align: center; word-break: break-all; font-weight: 800; color: var(--brand2);
}
.play-btn {
  display: inline-block; margin-top: 14px; padding: 12px 30px; border-radius: 11px;
  background: linear-gradient(92deg, var(--brand2), var(--brand)); color: #fff; font-weight: 700;
  box-shadow: 0 6px 20px rgba(255,94,0,.28);
}
.play-btn.off { background: rgba(255,255,255,.06); color: var(--dim2); box-shadow: none; }
.logout { margin-top: 22px; }
.logout button {
  width: 100%; padding: 12px; border-radius: 11px; border: 1px solid var(--line);
  background: transparent; color: var(--dim); font-size: 14px; cursor: pointer;
}
.plans { display: grid; gap: 11px; margin: 10px 0 18px; }
.plan {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 11px; padding: 15px; border-radius: 12px; background: rgba(255,255,255,.05);
  border: 1.5px solid transparent; cursor: pointer;
}
.plan:has(input:checked) { border-color: var(--brand); background: rgba(255,94,0,.09); }
.plan .pname { font-weight: 700; }
.plan .pprice { color: var(--brand2); font-size: 21px; font-weight: 800; }
.plan .pdur { grid-column: 2; grid-row: 2; font-size: 12px; color: var(--dim2); }
.plan .ptag {
  position: absolute; top: -9px; right: 12px; padding: 2px 9px; border-radius: 6px;
  background: linear-gradient(92deg, var(--brand2), var(--brand)); color: #fff;
  font-size: 11px; font-weight: 700;
}
.taglist { display: flex; flex-wrap: wrap; gap: 9px; padding: 0 16px; max-width: 1180px; margin: 0 auto; }
.taglist .tag { margin: 0; padding: 8px 15px; font-size: 13px; }
.taglist .tag b { color: var(--dim2); font-weight: 400; font-size: 11px; margin-left: 4px; }

/* ---------- 底部 ---------- */
.foot {
  border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 16px 36px;
  text-align: center; color: var(--dim2); font-size: 12px;
}
.foot .links { margin-top: 10px; }
.foot .links a { margin: 0 10px; color: var(--dim); }

/* ---------- Hero 修正：短剧封面是 3:4 竖图，横向铺满会拉糊变形，
   且封面上本来就印着片名，跟标题重复。改成「强模糊背景当氛围 + 清晰小海报」。 ---------- */
.hero { min-height: 0; display: block; padding: 18px 0 24px; margin-bottom: 4px; }
.hero .bg img { filter: blur(30px) brightness(.42) saturate(1.45); transform: scale(1.35); }
.hero .bg::after {
  background: linear-gradient(180deg, rgba(10,10,13,.5) 0%, rgba(10,10,13,.72) 55%, var(--bg) 100%);
}
.hero .inner { display: flex; gap: 15px; align-items: flex-start; padding: 0 16px; }
.hero-poster {
  width: 122px; flex: none; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.7);
}
.hero-txt { flex: 1; min-width: 0; }
.hero h1, .hero .hero-h { font-size: 20px; margin: 2px 0 9px; }
.hero p.intro { -webkit-line-clamp: 3; font-size: 13px; margin-bottom: 14px; }
.hero .acts { flex-wrap: wrap; }
.hero .btn-main, .hero .btn-ghost { padding: 10px 20px; font-size: 14px; }
/* 详情页背景让氛围透出来一点，别糊成纯黑 */
.dt-hero .bg img { filter: blur(26px) saturate(1.35); opacity: .38; }

/* ---------- 收尾打磨 ---------- */
/* 简介压到 2 行：3 行会把按钮顶得离海报太远 */
.hero p.intro { -webkit-line-clamp: 2; margin-bottom: 13px; }
.hero .meta { gap: 6px; margin-bottom: 9px; }
.hero .meta span { font-size: 11.5px; padding: 3px 8px; }
/* 标题固定两行高度，否则一行/两行混排时下面的播放量高低参差 */
.card h3 { min-height: 2.8em; }
/* 顶栏用户名太长时截断得体面些 */
.userbtn { max-width: 132px; }

/* ================= 桌面端（≥900px）=================
   之前整套是移动优先做的，宽屏下顶栏/搜索框/标签条全部拉满屏幕、
   Hero 文字一行排到 1011px 宽没法读。这里统一收进 1180 栅格并放大 Hero。 */
@media (min-width: 900px) {
  .top {
    max-width: 1180px; margin: 0 auto; padding: 18px 16px 8px; gap: 20px;
  }
  .logo { font-size: 22px; }
  /* 桌面有横向空间，搜索框收回顶栏区域并限宽，不再横跨整屏 */
  .searchbar { max-width: 1180px; margin: 0 auto; padding: 0 16px 14px; }
  .searchbar form { max-width: 440px; }
  .tags { max-width: 1180px; margin: 0 auto; padding: 2px 16px 18px; }
  .tags a { padding: 8px 17px; font-size: 13.5px; }

  /* Hero 放大成真正的开场：海报 210px，文字限宽 620 保证行长可读 */
  .hero { padding: 44px 0 48px; }
  .hero .inner { max-width: 1180px; margin: 0 auto; gap: 30px; align-items: center; }
  .hero-poster { width: 210px; border-radius: 14px; }
  .hero-txt { flex: 0 1 620px; max-width: 620px; }
  .hero h1, .hero .hero-h { font-size: 32px; margin-bottom: 13px; }
  .hero .meta span { font-size: 12.5px; padding: 4px 11px; }
  .hero p.intro { font-size: 14.5px; -webkit-line-clamp: 3; margin-bottom: 20px; }
  .hero .btn-main, .hero .btn-ghost { padding: 13px 34px; font-size: 15px; }

  .sec { margin-top: 38px; }
  .sec-hd h2 { font-size: 20px; }
  h1.page-t { font-size: 26px; max-width: 1180px; margin: 28px auto 6px; padding: 0 16px; }
  .sub { max-width: 1180px; margin: 0 auto 20px; padding: 0 16px; }

  /* 详情页：海报放大，信息不再挤在窄栏里 */
  .dt-hero .inner { padding: 34px 16px 30px; gap: 26px; }
  .poster { width: 200px; }
  .dt-info h1 { font-size: 27px; margin-bottom: 14px; }
  .desc, .eplist, .related, .taglist { padding-left: 16px; padding-right: 16px; }

  /* 播放器：短剧是 720x1280 竖片，铺满 1180 宽的 16:9 容器会剩两条大黑边 */
  .player-wrap { max-width: 880px; margin: 0 auto 18px; border-radius: var(--radius); overflow: hidden; }
  .play-title { max-width: 880px; margin: 0 auto 6px; padding: 0 16px; font-size: 21px; }
  .epnav { max-width: 880px; margin: 16px auto; }
  .foot { max-width: 1180px; margin: 46px auto 0; }
}

/* 超宽屏别把栅格拉散 */
@media (min-width: 1400px) {
  .top, .searchbar, .tags, .grid, .rail, .sec-hd, .hero .inner,
  .dt-hero .inner, .desc, .eplist, .related, .taglist, h1.page-t, .sub, .foot {
    max-width: 1280px;
  }
}

/* ---------- 顶栏结构合并后的排布 ----------
   一套 HTML 两端用：手机上搜索框换行占满，桌面上收进顶栏同一行居中。 */
.top { flex-wrap: wrap; }
.top .searchbar { order: 3; width: 100%; padding: 10px 0 2px; }
.top .searchbar form { display: flex; gap: 8px; }
.logo { margin-right: auto; }

@media (min-width: 900px) {
  .top { flex-wrap: nowrap; padding: 18px 16px 14px; }
  .logo { margin-right: 0; }
  .top .searchbar {
    order: 2; width: auto; flex: 1; max-width: 440px; padding: 0;
    margin: 0 auto;
  }
  .top .userbtn { order: 3; }
  /* 桌面有横向空间，标签直接铺开换行，不用横滑（右侧半截标签很难看） */
  .tags { flex-wrap: wrap; overflow: visible; }
}

/* 播放页正文区：原来整页几乎只有导航，正文薄到 907 字节 */
.play-meta { padding: 0 16px; max-width: 880px; margin: 0 auto; }
.play-meta .chips { margin: 12px 0 10px; }
.ptags { margin-bottom: 4px; }
.pdesc h2 { font-size: 15px; font-weight: 700; margin: 16px 0 8px; }
.pdesc p { color: var(--dim); font-size: 14px; line-height: 1.8; margin: 0; }
@media (min-width: 900px) { .play-meta { max-width: 880px; } }

/* /all 全剧索引页：给蜘蛛的枢纽页，也要能给人看 */
.pager .gap { color: var(--dim); padding: 0 2px; align-self: center; }
.allist { list-style: none; margin: 18px 16px 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 2px; }
.allist li { display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; padding: 9px 12px; border-radius: 8px; background: var(--card); }
.allist li:nth-child(odd) { background: transparent; }
.allist a { color: var(--fg); text-decoration: none; font-size: 14px; line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.allist a:hover { color: var(--brand); }
.allist .n { color: var(--dim); font-size: 12px; flex: none; }
@media (min-width: 640px) { .allist { grid-template-columns: repeat(2, 1fr); gap: 2px 14px; } }
@media (min-width: 1000px) { .allist { grid-template-columns: repeat(3, 1fr); } }

/* /tags 标签枢纽页：每个标签一块，下挂代表作 */
.tagblocks { margin: 18px 16px 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.tagblk { background: var(--card); border-radius: var(--radius); padding: 12px 14px; }
.tagblk h2 { margin: 0 0 8px; font-size: 15px; display: flex; align-items: baseline;
  justify-content: space-between; gap: 8px; }
.tagblk h2 a { color: var(--fg); text-decoration: none; }
.tagblk h2 a:hover { color: var(--brand); }
.tagblk h2 b { color: var(--dim); font-size: 12px; font-weight: 400; flex: none; }
.tagblk ul { list-style: none; margin: 0; padding: 0; }
.tagblk li { padding: 4px 0; }
.tagblk li a { color: var(--dim); text-decoration: none; font-size: 13px; line-height: 1.6;
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tagblk li a:hover { color: var(--brand); }
@media (min-width: 640px) { .tagblocks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tagblocks { grid-template-columns: repeat(3, 1fr); } }

/* ---- 品牌词落地：首页 h1 / 首页底部说明段 / 关于页 ---- */
.brand-h1 {
  font-size: 15px; font-weight: 800; margin: 12px 16px 6px; max-width: 1180px;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.brand-h1 small { font-size: 12px; font-weight: 500; color: var(--dim); }
.seo-blurb, .about { max-width: 820px; margin: 28px auto 8px; padding: 0 16px; }
.seo-blurb h2 { font-size: 16px; font-weight: 800; margin: 0 0 8px; }
.seo-blurb p, .about p, .about li { color: var(--dim); font-size: 13.5px; line-height: 1.75; margin: 0 0 8px; }
.seo-blurb a, .about a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.about h1 { font-size: 22px; font-weight: 800; margin: 20px 0 10px; }
.about h2 { font-size: 16px; font-weight: 800; margin: 24px 0 8px; }
.about .lead { color: var(--fg); font-size: 14.5px; }
.about ul { padding-left: 20px; margin: 0 0 8px; }
.about strong { color: var(--fg); }
.about .faq dt { color: var(--fg); font-weight: 700; font-size: 14px; margin: 14px 0 4px; }
.about .faq dd { margin: 0; color: var(--dim); font-size: 13.5px; line-height: 1.75; }
@media (min-width: 900px) {
  .brand-h1 { margin: 16px auto 8px; padding: 0 16px; font-size: 17px; }
  .about h1 { font-size: 28px; }
}


/* ---------------- 下载引导 (2026-09-24)：底部常驻条 + 弹窗 ---------------- */
body.has-dlbar { padding-bottom: 62px; }
.dlbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(10, 10, 13, .94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); }
.dlbar-in { display: flex; align-items: center; gap: 12px; height: 58px;
  max-width: 1100px; margin: 0 auto; padding: 0 14px; }
.dlbar-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.dlbar-txt b { font-size: 14.5px; font-weight: 700; color: var(--fg); }
.dlbar-txt span { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlbar-btn { margin-left: auto; flex: none; color: #fff; font-weight: 700; font-size: 14px;
  padding: 9px 20px; border-radius: 999px; text-decoration: none;
  background: linear-gradient(92deg, var(--brand2), var(--brand)); }
.dlbar-x { flex: none; background: transparent; border: 0; color: var(--dim);
  font-size: 22px; line-height: 1; padding: 4px 2px 6px; cursor: pointer; }
.dlbar-x:hover { color: var(--fg); }

.dlmask { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .62);
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.dlmask[hidden] { display: none; }
.dlcard { position: relative; width: 100%; max-width: 340px; text-align: center;
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.dlcard-x { position: absolute; right: 10px; top: 8px; background: transparent; border: 0;
  color: var(--dim); font-size: 24px; line-height: 1; cursor: pointer; }
.dlcard-x:hover { color: var(--fg); }
.dlcard-ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 900; color: #fff;
  background: linear-gradient(92deg, var(--brand2), var(--brand)); }
.dlcard h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: var(--fg); }
.dlcard p { margin: 0 0 20px; font-size: 13.5px; color: var(--dim); line-height: 1.7; }
.dlcard-btn { display: block; color: #fff; font-weight: 700; font-size: 15.5px;
  padding: 12px 0; border-radius: 999px; text-decoration: none;
  background: linear-gradient(92deg, var(--brand2), var(--brand)); }
.dlcard-later { display: block; width: 100%; margin-top: 10px; background: transparent;
  border: 0; color: var(--dim); font-size: 13px; padding: 8px 0; cursor: pointer; }
.dlcard-later:hover { color: var(--fg); }

/* 备用地址弹窗（10-02）：复用 dlcard 外壳，比下载弹窗高一层 */
.altmask { z-index: 81; }
.altcard { text-align: left; }
.altcard h3 { text-align: center; }
.altcard .alt-sub { margin: 0 0 12px; text-align: center; }
.alt-list { list-style: none; margin: 0 0 16px; padding: 0; }
.alt-list li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 8px;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.alt-list li.on { border-color: var(--brand); }
.alt-d { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; color: var(--fg);
  letter-spacing: .3px; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.alt-cur { display: none; flex: none; font-style: normal; font-size: 11px; color: var(--brand);
  border: 1px solid var(--brand); border-radius: 999px; padding: 1px 7px; }
.alt-list li.on .alt-cur { display: inline-block; }
.alt-cp { flex: none; background: transparent; border: 1px solid var(--line); color: var(--fg);
  font-size: 12.5px; border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.alt-cp:hover { border-color: var(--brand); }
.alt-fav { width: 100%; border: 0; cursor: pointer; }
.alt-tip { margin-top: 12px; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.7;
  background: rgba(255, 94, 0, .1); color: var(--fg); }
.alt-tip b { display: block; margin-bottom: 2px; }
.alt-tip span { color: var(--dim); }
.altcard .alt-note { margin: 12px 0 0; font-size: 12px; text-align: center; }

@media (max-width: 760px) {
  body.has-dlbar { padding-bottom: 58px; }
  .dlbar-in { height: 54px; gap: 9px; }
  .dlbar-btn { padding: 8px 16px; font-size: 13.5px; }
  .dlbar-txt b { font-size: 13.5px; }
}
