/* X短剧 —— 冷黑底 + 玫红强调，无衬线；和黄果（暖棕 + 金色 + 衬线）刻意区分 */
:root {
  --bg: #0b0b0f;
  --panel: #15151c;
  --panel-2: #1e1e28;
  --line: #2a2a36;
  --fg: #ededf2;
  --muted: #8b8b99;
  --accent: #ff3b5c;
  --accent-2: #ff7a45;
  --vip: #c9a7ff;
  --radius: 10px;
  --wrap: 1200px;
}
* { 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", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

main.wrap { padding-top: 20px; padding-bottom: 48px; min-height: 60vh; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs i { font-style: normal; margin: 0 6px; opacity: .5; }
.h1 { font-size: 24px; font-weight: 800; line-height: 1.35; }
.lead { color: var(--muted); margin-top: 8px; }
.lead a { color: var(--accent); }

/* 区块 */
.sec { margin-top: 28px; }
.sec h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.sec h2 small { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 8px; }
.sec-hd { display: flex; align-items: baseline; justify-content: space-between; }
.sec-hd a { font-size: 13px; color: var(--muted); }

/* 卡片网格 */
.grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px 12px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; } }
.card .cover { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card a:hover img { transform: scale(1.04); }
.card .name { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card .eps { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 12px; font-style: normal; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.tag { position: absolute; top: 6px; right: 6px; padding: 1px 6px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.tag-vip { background: var(--vip); color: #1a1030; }

/* 分类 chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.chips small { color: var(--muted); font-size: 12px; }
.chips-lg { margin-top: 20px; }
.chips-lg a { padding: 10px 18px; font-size: 16px; }

.btn { align-self: flex-start; margin-top: 4px; padding: 10px 22px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; }
.btn:hover { color: #fff; filter: brightness(1.08); }
.prose { color: #cfcfd8; max-width: 760px; }
@media (max-width: 640px) {
  .h1 { font-size: 20px; }
}

/* 选集 */
.eps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; }
.eps-grid a { display: block; padding: 8px 0; text-align: center; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); }
.eps-grid a.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* 分集页：片源是竖屏（9:16），桌面上按高度限宽居中 */
.player {
  position: relative; margin: 16px auto 0; width: 100%; max-width: calc(78vh * 9 / 16);
  aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #000;
  --plyr-color-main: var(--accent);
}
.player video, .player .plyr { width: 100%; height: 100%; }
.player video { object-fit: contain; background: #000; }
.player .plyr__video-wrapper { height: 100%; }
.player-err, .player-next {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5;
  padding: 10px 16px; border-radius: 8px; background: rgba(0, 0, 0, .75); color: var(--fg); font-size: 14px; text-align: center;
}
.player-next { display: flex; gap: 12px; align-items: center; }
.player-next button { border: 0; border-radius: 999px; padding: 4px 12px; background: var(--panel-2); color: var(--fg); cursor: pointer; }
@media (max-width: 640px) {
  .player { max-width: none; margin-left: -16px; margin-right: -16px; width: calc(100% + 32px); border-radius: 0; max-height: 82vh; }
}

/* 分页 */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 36px; }
.pager a, .pager span { min-width: 40px; padding: 8px 14px; text-align: center; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--accent); color: var(--fg); }
.pager .on { background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff; font-weight: 700; }
.pager .pager-info { flex-basis: 100%; padding: 0; margin-top: 2px; border: 0; background: none; font-size: 12px; color: var(--muted); }

/* 表单 */
.auth-card { max-width: 400px; margin: 24px auto; padding: 28px 24px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.auth-card .h1 { margin-bottom: 20px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.form label.check { flex-direction: row; align-items: center; gap: 8px; }
.form input[type=text], .form input[type=email], .form input[type=password] {
  height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--fg); font: inherit; outline: none;
}
.form input:focus { border-color: var(--accent); }
.form-inline { flex-direction: row; flex-wrap: wrap; align-items: center; }
.form-inline input { flex: 1; min-width: 160px; }
.form-inline .form-msg { flex-basis: 100%; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; letter-spacing: 4px; }
.code-row input::placeholder { letter-spacing: 0; }
.code-row .btn-ghost { flex-shrink: 0; }
.form-msg { min-height: 1em; margin: 0; font-size: 13px; color: #ff6b81; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #4cd38a; }
.btn { border: 0; cursor: pointer; font: inherit; text-align: center; }
.btn:disabled, .btn-ghost:disabled { opacity: .6; cursor: default; }
.btn-block { display: block; width: 100%; align-self: stretch; }
.btn-ghost {
  display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--fg); font: inherit; font-size: 14px; cursor: pointer; text-align: center; white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--fg); }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-links { display: flex; justify-content: space-between; margin-top: 18px; font-size: 14px; color: var(--muted); }
.auth-links a:hover { color: var(--accent); }

/* 账号设置 */
.panel { margin-top: 16px; padding: 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.panel h2 { font-size: 16px; margin-bottom: 12px; }
.panel > p { margin-bottom: 12px; }
.muted { color: var(--muted); font-size: 14px; }
.pill { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 4px; background: var(--panel-2); color: var(--muted); font-size: 12px; }
.pill.ok { background: rgba(76, 211, 138, .15); color: #4cd38a; }
.notice { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: rgba(76, 211, 138, .12); color: #4cd38a; font-size: 14px; }

/* 会员 */
.vip-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.vip-plan input { position: absolute; opacity: 0; pointer-events: none; }
.vip-plan-in { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 12px; border-radius: 12px; background: var(--panel); border: 2px solid var(--line); cursor: pointer; text-align: center; }
.vip-plan-in .muted { font-size: 12px; }
.vip-plan input:checked + .vip-plan-in { border-color: var(--vip); background: rgba(201, 167, 255, .08); }
.vip-plan input:focus-visible + .vip-plan-in { outline: 2px solid var(--vip); outline-offset: 2px; }
.vip-price { font-size: 28px; font-weight: 800; }
.vip-price small { font-size: 15px; margin-right: 2px; }
.vip-order { display: flex; flex-direction: column; gap: 12px; }
.vip-order-act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vip-order-act .btn { margin: 0; }
@media (max-width: 640px) {
  .vip-plans { grid-template-columns: 1fr 1fr; }
}
/* 选集格子：锁着的集标 VIP（会员也显示） */
.eps-grid a { position: relative; }
.eps-grid a.lock::after { content: "VIP"; position: absolute; top: -6px; right: -4px; padding: 0 4px; border-radius: 4px; background: var(--vip); color: #1a1030; font-size: 10px; font-weight: 800; line-height: 15px; }
.vip-note { margin-top: 10px; padding: 10px 14px; border-radius: 10px; background: rgba(201, 167, 255, .1); color: var(--vip); font-size: 14px; }
.vip-note a { text-decoration: underline; }
/* 播放器：试看角标、试看结束 */
.player-badge { position: absolute; left: 10px; top: 10px; z-index: 4; padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: var(--vip); font-size: 12px; pointer-events: none; }
.player-end { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; background: rgba(0, 0, 0, .82); text-align: center; }
.player-end p { color: var(--fg); }
.player-end .btn { align-self: center; }
.player-end button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }

/* ============ 首页 hero（通栏主推） ============ */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #07070a; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.hero-bgs { position: absolute; inset: 0; z-index: -2; }
.hero-bg {
  position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover;
  filter: blur(46px) saturate(1.35) brightness(.5); transform: scale(1.08);
  opacity: 0; transition: opacity .9s ease;
}
.hero-bg.on { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 70% at 80% 18%, rgba(255, 59, 92, .30), transparent 70%),
    radial-gradient(35% 60% at 8% 100%, rgba(255, 122, 69, .14), transparent 70%),
    linear-gradient(90deg, rgba(11, 11, 15, .94) 0%, rgba(11, 11, 15, .72) 42%, rgba(11, 11, 15, .25) 100%),
    linear-gradient(180deg, rgba(11, 11, 15, .2) 0%, transparent 30%, rgba(11, 11, 15, .6) 78%, var(--bg) 100%);
}
.hero-in { max-width: var(--wrap); margin: 0 auto; padding: 22px 16px 26px; }

.hero-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hero-h1 { display: flex; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 500; color: rgba(237, 237, 242, .72); }
.hero-h1 b { font-size: 15px; font-weight: 900; color: var(--fg); letter-spacing: .5px; }
.hero-h1 b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); vertical-align: middle; }
.hero-stats { display: flex; gap: 16px; font-size: 13px; color: rgba(237, 237, 242, .62); }
.hero-stats b { color: var(--fg); font-weight: 700; font-variant-numeric: tabular-nums; }

.hero-stage { position: relative; margin-top: 18px; display: grid; min-height: 420px; }
.hero-slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "copy poster";
  align-items: center; gap: 56px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease, visibility 0s linear .55s;
}
.hero-slide.on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease, transform .55s ease, visibility 0s; }

.hero-copy { grid-area: copy; min-width: 0; max-width: 620px; }
.hero-kicker { display: flex; align-items: baseline; gap: 6px; font-size: 13px; letter-spacing: 3px; color: var(--accent); font-weight: 700; }
.hero-kicker i { font-style: normal; margin-left: 6px; font-size: 22px; letter-spacing: 0; color: var(--fg); font-variant-numeric: tabular-nums; }
.hero-kicker em { font-style: normal; letter-spacing: 0; color: rgba(237, 237, 242, .45); font-weight: 500; }
.hero-title { margin-top: 10px; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.12; font-weight: 900; letter-spacing: .5px; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.hero-title a:hover { color: var(--fg); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; font-size: 14px; color: rgba(237, 237, 242, .8); }
.hero-pill { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .12); color: var(--fg); }
.hero-pill.live { background: rgba(255, 59, 92, .18); color: #ff8aa0; }
.hero-pill.live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--accent); vertical-align: 1px; animation: hero-pulse 1.6s ease-in-out infinite; }
.hero-pill.vip { background: var(--vip); color: #1a1030; }
.hero-tag { color: rgba(237, 237, 242, .7); }
.hero-tag::before { content: "#"; margin-right: 2px; opacity: .5; }
.hero-desc {
  margin-top: 16px; color: rgba(237, 237, 242, .78); font-size: 15px; line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-btn { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 12px 28px; font-size: 16px; box-shadow: 0 10px 30px -8px rgba(255, 59, 92, .65); }
.hero-btn-ghost {
  display: inline-flex; align-items: center; padding: 12px 24px; border-radius: 999px; font-size: 15px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px);
}
.hero-btn-ghost:hover { color: var(--fg); background: rgba(255, 255, 255, .14); }

.hero-poster { grid-area: poster; position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 16px; transform: perspective(1400px) rotateY(-9deg) rotateX(2deg); transform-origin: left center; transition: transform .5s ease; }
.hero-poster::before, .hero-poster::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(160deg, rgba(255, 59, 92, .35), rgba(201, 167, 255, .15));
  transform: translate(18px, 14px) scale(.96); opacity: .55;
}
.hero-poster::after { transform: translate(34px, 26px) scale(.92); opacity: .25; }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1); background: var(--panel); }
.hero-poster:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.hero-play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; padding-left: 4px; color: #fff;
  background: rgba(255, 59, 92, .9); box-shadow: 0 0 0 10px rgba(255, 59, 92, .2);
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s;
}
.hero-poster:hover .hero-play { opacity: 1; transform: none; }

.hero-rail { display: flex; gap: 10px; margin-top: 26px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding-bottom: 2px; }
.hero-rail::-webkit-scrollbar { display: none; }
.hero-thumb {
  position: relative; flex: 0 0 168px; display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px;
  scroll-snap-align: start; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); overflow: hidden;
  opacity: .62; transition: opacity .3s, background .3s, border-color .3s;
}
.hero-thumb:hover { opacity: .9; color: var(--fg); }
.hero-thumb.on { opacity: 1; background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .14); }
.hero-thumb img { width: 42px; height: 56px; flex-shrink: 0; object-fit: cover; border-radius: 6px; }
.hero-thumb-name { font-size: 13px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hero-thumb-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.hero-thumb.on .hero-thumb-bar { animation: hero-progress var(--hero-ms, 6500ms) linear forwards; }
.hero.paused .hero-thumb.on .hero-thumb-bar, .hero.static .hero-thumb.on .hero-thumb-bar { animation-play-state: paused; }
.hero.static .hero-thumb.on .hero-thumb-bar { width: 100%; animation: none; }

.hero-tools { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; margin-top: 18px; }
.hero-mail, .hero-genres {
  display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(12px);
}
.hero-mail-ic { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: rgba(255, 59, 92, .14); }
.hero-mail-txt { flex: 1; min-width: 0; font-size: 13px; line-height: 1.55; color: rgba(237, 237, 242, .78); }
.hero-mail-txt b { color: var(--fg); margin-right: 4px; }
.hero-mail-txt code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: #ff8aa0; white-space: nowrap; }
.hero-mail-act { display: flex; gap: 6px; flex-shrink: 0; }
.hero-chip-btn {
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06);
  color: var(--fg); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.hero-chip-btn:hover { color: var(--fg); border-color: var(--accent); }
.hero-chip-btn.done { border-color: #4cd38a; color: #4cd38a; }
.hero-genres { overflow-x: auto; scrollbar-width: none; gap: 8px; }
.hero-genres::-webkit-scrollbar { display: none; }
.hero-genres-label { flex-shrink: 0; font-size: 12px; color: rgba(237, 237, 242, .5); letter-spacing: 2px; margin-right: 2px; }
.hero-genres a { flex-shrink: 0; padding: 5px 12px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, .07); white-space: nowrap; }
.hero-genres a:hover { background: rgba(255, 59, 92, .2); color: var(--fg); }
.hero-genres a.more { background: none; color: rgba(237, 237, 242, .6); }

.hero-rail.fade, .hero-genres.fade { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
@keyframes hero-progress { from { width: 0; } to { width: 100%; } }
@keyframes hero-pulse { 50% { opacity: .35; } }

/* 平板：缩窄封面 */
@media (max-width: 1024px) {
  .hero-slide { grid-template-columns: minmax(0, 1fr) 240px; gap: 36px; }
  .hero-stage { min-height: 360px; }
  .hero-tools { grid-template-columns: 1fr; }
}
/* 手机：封面在左、文字在右，按钮通栏；缩略图和题材横向滑 */
@media (max-width: 680px) {
  .hero-in { padding: 14px 16px 18px; }
  .hero-h1 { gap: 8px; font-size: 12px; }
  .hero-h1 b { font-size: 14px; }
  .hero-stats { font-size: 12px; }
  .hero-stats span + span { display: none; }
  .hero-stage { margin-top: 14px; min-height: 0; }
  .hero-slide {
    grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: none;
    align-items: start; gap: 8px 14px;
  }
  .hero-copy { display: contents; }
  .hero-copy > :not(.hero-actions) { grid-column: 2; }
  .hero-kicker, .hero-title, .hero-meta, .hero-desc { grid-area: auto; }
  .hero-poster { grid-area: auto; grid-column: 1; grid-row: 1 / span 4; transform: none; border-radius: 10px; align-self: start; }
  .hero-poster:hover { transform: none; }
  .hero-poster::before, .hero-poster::after { display: none; }
  .hero-play { width: 40px; height: 40px; margin: -20px 0 0 -20px; opacity: .92; transform: none; box-shadow: 0 0 0 6px rgba(255, 59, 92, .2); }
  .hero-kicker { font-size: 11px; letter-spacing: 2px; }
  .hero-kicker i { font-size: 16px; }
  .hero-title { margin-top: 0; font-size: 21px; line-height: 1.25; }
  .hero-meta { margin-top: 0; gap: 6px 8px; font-size: 12px; }
  .hero-meta .hero-tag { display: none; }
  .hero-desc { margin-top: 0; font-size: 13px; line-height: 1.6; -webkit-line-clamp: 3; }
  .hero-actions { grid-column: 1 / -1; grid-row: 5; margin-top: 8px; gap: 10px; }
  .hero-actions > a { flex: 1; justify-content: center; padding: 11px 0; font-size: 15px; }
  .hero-rail { margin: 16px -16px 0; padding: 0 16px; gap: 8px; scroll-padding: 0 16px; }
  .hero-thumb { flex-basis: 140px; padding: 5px; }
  .hero-thumb img { width: 34px; height: 46px; }
  .hero-thumb-name { font-size: 12px; }
  .hero-tools { margin-top: 12px; gap: 10px; }
  .hero-mail { flex-wrap: wrap; padding: 12px; }
  .hero-mail-ic { width: 34px; height: 34px; border-radius: 10px; }
  .hero-mail-txt { flex-basis: calc(100% - 46px); }
  .hero-mail-act { width: 100%; }
  .hero-mail-act > * { flex: 1; text-align: center; padding: 8px 0; }
  .hero-genres { margin: 0 -16px; padding: 10px 16px; border-radius: 0; border-left: 0; border-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-bg, .hero-poster { transition: none; }
  .hero-pill.live::before { animation: none; }
}
.home-first { margin-top: 8px; }

/* ============ 剧详情页 ============ */
.jd { position: relative; isolation: isolate; overflow: hidden; background: #07070a; }
.jd-bg {
  position: absolute; inset: -12%; z-index: -2; width: 124%; height: 124%; max-width: none; object-fit: cover;
  filter: blur(50px) saturate(1.3) brightness(.45); transform: scale(1.08);
}
.jd::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 80% at 85% 10%, rgba(255, 59, 92, .22), transparent 70%),
    linear-gradient(90deg, rgba(11, 11, 15, .9) 0%, rgba(11, 11, 15, .6) 55%, rgba(11, 11, 15, .35) 100%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}
.jd-in { max-width: var(--wrap); margin: 0 auto; padding: 18px 16px 34px; }
.jd .crumbs { color: rgba(237, 237, 242, .55); margin-bottom: 20px; }
.jd .crumbs a:hover { color: var(--fg); }
.jd-main { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }

.jd-poster { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--panel);
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1); }
.jd-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.jd-poster:hover img { transform: scale(1.04); }
.jd-poster .tag { top: 10px; right: 10px; font-size: 12px; padding: 2px 8px; }
.jd-poster-play {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  display: grid; place-items: center; padding-left: 3px; color: #fff; background: rgba(255, 59, 92, .9);
  box-shadow: 0 0 0 9px rgba(255, 59, 92, .2); opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s;
}
.jd-poster:hover .jd-poster-play { opacity: 1; transform: none; }

.jd-info { min-width: 0; padding-top: 4px; }
.jd-title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.18; font-weight: 900; letter-spacing: .5px; text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.jd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; font-size: 14px; color: rgba(237, 237, 242, .78); }
.jd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.jd-tags a { padding: 3px 12px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.jd-tags a:hover { color: var(--fg); background: rgba(255, 59, 92, .22); }
.jd-desc { position: relative; margin-top: 16px; max-width: 720px; }
.jd-desc p { color: rgba(237, 237, 242, .8); line-height: 1.8; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jd-desc.open p { display: block; }
.jd-more { margin-top: 4px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 13px; cursor: pointer; }
.jd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.jd-actions .hero-btn { margin: 0; }
.jd-vip {
  display: flex; align-items: center; gap: 14px; margin-top: 18px; max-width: 720px; padding: 12px 14px 12px 16px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(201, 167, 255, .16), rgba(201, 167, 255, .05)); border: 1px solid rgba(201, 167, 255, .28);
}
.jd-vip p { flex: 1; font-size: 13px; line-height: 1.6; color: rgba(237, 237, 242, .8); }
.jd-vip b { display: block; color: var(--vip); font-size: 14px; }
.jd-vip-btn { flex-shrink: 0; padding: 8px 18px; border-radius: 999px; background: var(--vip); color: #1a1030; font-size: 14px; font-weight: 700; }
.jd-vip-btn:hover { color: #1a1030; filter: brightness(1.08); }

/* 选集面板 */
.jd-eps { margin-top: 6px; padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.jd-eps-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.jd-eps-hd h2 { font-size: 18px; font-weight: 700; }
.jd-eps-hd small { margin-left: 8px; font-size: 13px; font-weight: 400; color: var(--muted); }
.jd-sort { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.jd-sort::after { content: " ↓"; }
.jd-sort.on::after { content: " ↑"; }
.jd-sort:hover { color: var(--fg); border-color: var(--accent); }
.jd-eps .eps-grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; }
.jd-eps .eps-grid a { padding: 10px 0; border-radius: 10px; background: var(--panel-2); border-color: transparent; font-variant-numeric: tabular-nums; transition: background .2s, border-color .2s; }
.jd-eps .eps-grid a:hover { border-color: var(--accent); color: var(--fg); }
.eps-grid li.last a { border-color: var(--accent); background: rgba(255, 59, 92, .12); }
.eps-grid li.last a::before { content: "上次"; position: absolute; left: -4px; top: -6px; padding: 0 4px; border-radius: 4px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; line-height: 15px; }

@media (max-width: 860px) {
  .jd-main { grid-template-columns: 200px minmax(0, 1fr); gap: 26px; }
}
/* 手机：封面在左、标题信息在右；简介、按钮、会员卡片通栏 */
@media (max-width: 640px) {
  .jd-in { padding: 12px 16px 22px; }
  .jd .crumbs { margin-bottom: 14px; }
  .jd-main { grid-template-columns: 118px minmax(0, 1fr); gap: 0 14px; }
  .jd-poster { border-radius: 10px; }
  .jd-poster-play { width: 40px; height: 40px; margin: -20px 0 0 -20px; opacity: .92; transform: none; box-shadow: 0 0 0 6px rgba(255, 59, 92, .2); }
  .jd-info { display: contents; }
  .jd-title, .jd-meta, .jd-tags { grid-column: 2; }
  .jd-title { grid-row: 1; align-self: start; font-size: 21px; }
  .jd-meta { grid-row: 2; margin-top: 8px; gap: 6px 10px; font-size: 12px; align-self: start; }
  .jd-tags { grid-row: 3; margin-top: 8px; gap: 6px; align-self: start; }
  .jd-tags a { padding: 2px 9px; font-size: 12px; }
  .jd-poster { grid-column: 1; grid-row: 1 / span 4; align-self: start; }
  .jd-desc, .jd-actions, .jd-vip { grid-column: 1 / -1; }
  .jd-desc { margin-top: 16px; }
  .jd-desc p { font-size: 14px; }
  .jd-actions { gap: 10px; margin-top: 16px; }
  .jd-actions > a { flex: 1; justify-content: center; padding: 11px 0; font-size: 15px; }
  .jd-vip { margin-top: 14px; padding: 10px 12px; }
  .jd-eps { margin: 4px -16px 0; padding: 16px; border-radius: 0; border-left: 0; border-right: 0; }
  .jd-eps .eps-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
}

/* ============ 分集播放页（影院布局） ============ */
.es { position: relative; isolation: isolate; overflow: hidden; background: #050507; }
.es::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 70% at 30% 40%, rgba(255, 59, 92, .16), transparent 70%),
    linear-gradient(180deg, rgba(5, 5, 7, .55) 0%, rgba(5, 5, 7, .75) 70%, var(--bg) 100%);
}
.es .jd-bg { filter: blur(60px) saturate(1.2) brightness(.32); }
/* --ph：播放器高度（一屏内放得下，最高 820） */
.es-in {
  --ph: max(480px, min(calc(100vh - 56px - 44px), 820px));
  max-width: var(--wrap); margin: 0 auto; padding: 22px 16px;
  display: grid; grid-template-columns: auto minmax(0, 520px); justify-content: center; gap: 28px; align-items: start;
}
.es .player { margin: 0; width: calc(var(--ph) * 9 / 16); max-width: none; height: var(--ph); border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .06); }

.es-side {
  display: flex; flex-direction: column; gap: 14px; height: var(--ph); min-width: 300px; padding: 18px; border-radius: 16px;
  background: rgba(21, 21, 28, .72); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(14px);
}
.es-single .es-side { height: auto; }
.es-side .crumbs { margin: 0; color: rgba(237, 237, 242, .5); font-size: 12px; }
.es-series { margin-bottom: -8px; font-size: 14px; color: rgba(237, 237, 242, .7); }
.es-series a:hover { color: var(--accent); }
.es-title { font-size: 26px; line-height: 1.25; font-weight: 900; }
.es-title small { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; color: rgba(237, 237, 242, .75); }
.es-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.es-side .jd-meta, .es-side .jd-tags { margin-top: 0; }
.es-side .jd-vip { margin-top: 0; }
.es-side .vip-note { margin: 0; }
.es-nav { display: flex; gap: 10px; }
.es-nav a, .es-nav span { flex: 1; padding: 10px 0; border-radius: 999px; text-align: center; font-size: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.es-nav a:hover { color: var(--fg); border-color: rgba(255, 255, 255, .3); }
.es-nav a.on { background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff; font-weight: 700; }
.es-nav span.off { opacity: .4; }

.es-eps { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.es-eps-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.es-eps-hd h2 { font-size: 16px; font-weight: 700; }
.es-eps-hd small { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--muted); }
.es-eps .eps-grid { flex: 1; min-height: 0; overflow-y: auto; align-content: start; padding: 8px 6px 4px 0; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 9px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.es-eps .eps-grid a { padding: 9px 0; border-radius: 10px; background: rgba(255, 255, 255, .07); border-color: transparent; font-variant-numeric: tabular-nums; }
.es-eps .eps-grid a:hover { border-color: var(--accent); color: var(--fg); }
.es-eps .eps-grid a.on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.es-eps .eps-grid a.on::before { content: ""; position: absolute; left: 50%; bottom: 4px; width: 14px; height: 2px; margin-left: -7px; border-radius: 2px; background: rgba(255, 255, 255, .8); }

/* 自动连播开关 */
.es-auto { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; user-select: none; }
.es-auto input { position: absolute; opacity: 0; pointer-events: none; }
.es-auto i { position: relative; width: 32px; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, .18); transition: background .2s; }
.es-auto i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.es-auto input:checked + i { background: var(--accent); }
.es-auto input:checked + i::after { transform: translateX(14px); }
.es-auto input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.player-next .btn { margin: 0; }
.es-desc { max-width: 860px; }

/* 平板：侧栏收窄 */
@media (max-width: 960px) {
  .es-in { grid-template-columns: auto minmax(0, 1fr); gap: 20px; --ph: max(440px, min(calc(100vh - 56px - 44px), 760px)); }
  .es-side { min-width: 0; padding: 16px; }
}
/* 手机：播放器紧贴页头、通栏；侧栏内容排在下面，选集横向滑 */
@media (max-width: 760px) {
  .es-in { display: block; padding: 0 0 6px; }
  .es .player { width: 100%; height: auto; aspect-ratio: 9 / 16; max-height: 74vh; margin: 0; border-radius: 0; box-shadow: none; }
  .es-side { height: auto; min-width: 0; padding: 14px 16px 0; gap: 12px; background: none; border: 0; border-radius: 0; backdrop-filter: none; }
  .es-title { font-size: 21px; }
  .es-eps { flex: none; }
  .es-eps .eps-grid { display: flex; overflow-x: auto; overflow-y: hidden; margin: 0 -16px; padding: 8px 16px 6px; gap: 8px; scrollbar-width: none; }
  .es-eps .eps-grid::-webkit-scrollbar { display: none; }
  .es-eps .eps-grid li { flex: 0 0 54px; }
}

/* ============ 列表类页面通栏头部（最新 / 完结 / 排行 / 分类） ============ */
.lh { position: relative; isolation: isolate; overflow: hidden; background: #07070a; }
.lh::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 90% at 85% 0%, rgba(255, 59, 92, .24), transparent 70%),
    linear-gradient(90deg, rgba(11, 11, 15, .92), rgba(11, 11, 15, .55)),
    linear-gradient(180deg, transparent 50%, var(--bg) 100%);
}
.lh .jd-bg { filter: blur(56px) saturate(1.3) brightness(.45); }
.lh-in { max-width: var(--wrap); margin: 0 auto; padding: 18px 16px 24px; }
.lh .crumbs { color: rgba(237, 237, 242, .55); margin-bottom: 14px; }
.lh-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.lh-text { min-width: 0; max-width: 760px; }
.lh-title { font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.2; letter-spacing: .5px; }
.lh-title small { margin-left: 12px; font-size: 14px; font-weight: 500; color: rgba(237, 237, 242, .6); letter-spacing: 0; }
.lh-lead { margin-top: 8px; font-size: 14px; line-height: 1.7; color: rgba(237, 237, 242, .72); }
.lh-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); }
.lh-tabs a { padding: 7px 20px; border-radius: 999px; font-size: 14px; color: rgba(237, 237, 242, .75); }
.lh-tabs a:hover { color: var(--fg); }
.lh-tabs a.on { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; box-shadow: 0 6px 18px -6px rgba(255, 59, 92, .7); }
.lh-genres { margin-top: 18px; }
.lh-genres a small { margin-left: 5px; font-size: 11px; opacity: .55; }
.lh-genres a.on { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; }
.lh-genres a.on small { opacity: .85; }
.lh-genres.fade { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
@media (max-width: 640px) {
  .lh-in { padding: 12px 16px 18px; }
  .lh-title small { display: block; margin: 4px 0 0; font-size: 12px; }
  .lh-lead { font-size: 13px; }
  .lh-tabs { width: 100%; }
  .lh-tabs a { flex: 1; text-align: center; padding: 8px 0; }
  .lh-genres { margin: 14px -16px 0; padding: 8px 16px; border-radius: 0; border-left: 0; border-right: 0; }
}

/* 卡片：名次、更新时间、分类 */
.card .rank {
  position: absolute; left: 0; top: 0; min-width: 30px; height: 30px; padding: 0 8px; display: grid; place-items: center;
  border-radius: var(--radius) 0 10px 0; font-style: normal; font-weight: 900; font-size: 15px; font-variant-numeric: tabular-nums;
  color: #fff; background: rgba(11, 11, 15, .72); backdrop-filter: blur(6px);
}
.card .rank.r1 { background: linear-gradient(135deg, #ffd56b, #f5a524); color: #3a2400; font-size: 18px; min-width: 38px; height: 38px; }
.card .rank.r2 { background: linear-gradient(135deg, #e9edf5, #a9b3c4); color: #222833; font-size: 17px; min-width: 35px; height: 35px; }
.card .rank.r3 { background: linear-gradient(135deg, #f0b48a, #c7743f); color: #3a1a05; font-size: 16px; min-width: 33px; height: 33px; }
.card-meta { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta b { font-weight: 500; }
.card-meta b.new { color: var(--accent); font-weight: 700; }


/* 分类大全：每个分类一张封面拼图卡 */
.fl-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fl-tile {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 80% at 50% 0%, rgba(255, 59, 92, .22), transparent 70%), var(--panel);
  border: 1px solid var(--line); transition: transform .3s, border-color .3s, box-shadow .3s;
}
.fl-tile:hover { transform: translateY(-3px); border-color: rgba(255, 59, 92, .5); box-shadow: 0 18px 40px -20px rgba(255, 59, 92, .55); color: var(--fg); }
.fl-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgba(11, 11, 15, .92) 100%); }
.fl-fan { position: absolute; left: 0; right: 0; top: 14px; height: 78%; }
.fl-fan img { position: absolute; top: 0; left: 50%; width: 40%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8); transition: transform .4s; }
.fl-fan .f0 { transform: translateX(-50%); z-index: 3; }
.fl-fan .f1 { transform: translateX(-108%) rotate(-9deg) scale(.86); transform-origin: bottom right; z-index: 2; filter: brightness(.7); }
.fl-fan .f2 { transform: translateX(8%) rotate(9deg) scale(.86); transform-origin: bottom left; z-index: 2; filter: brightness(.7); }
.fl-tile:hover .f1 { transform: translateX(-118%) rotate(-12deg) scale(.86); }
.fl-tile:hover .f2 { transform: translateX(18%) rotate(12deg) scale(.86); }
.fl-name { position: absolute; left: 16px; bottom: 12px; z-index: 2; font-size: 22px; font-weight: 900; letter-spacing: 1px; }
.fl-name small { margin-left: 4px; font-size: 13px; font-weight: 500; opacity: .6; }
.fl-count { position: absolute; right: 14px; bottom: 15px; z-index: 2; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: rgba(237, 237, 242, .8); }
@media (max-width: 1024px) { .fl-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .fl-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fl-tile { border-radius: 12px; }
  .fl-name { left: 10px; bottom: 8px; font-size: 17px; }
  .fl-name small { display: none; }
  .fl-count { right: 8px; bottom: 10px; font-size: 11px; padding: 1px 7px; }
}
main.wrap > .grid:first-child, main.wrap > .fl-grid:first-child { margin-top: 0; }

/* ============ 搜索页 ============ */
.ss-form {
  position: relative; display: flex; align-items: center; max-width: 720px; margin-top: 16px; padding: 6px 6px 6px 48px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(12px);
  transition: border-color .2s, box-shadow .2s;
}
.ss-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 59, 92, .18); }
.ss-form svg { position: absolute; left: 18px; color: rgba(237, 237, 242, .55); }
.ss-form input { flex: 1; min-width: 0; height: 42px; border: 0; background: none; color: var(--fg); font: inherit; font-size: 16px; outline: none; }
.ss-form input::-webkit-search-cancel-button { filter: invert(1) opacity(.6); }
.ss-form button { height: 42px; padding: 0 26px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ss-hot { margin-top: 14px; max-width: 720px; }
.ss-hot.fade { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.ss-genres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.ss-genre {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; min-width: 240px;
  background: linear-gradient(90deg, rgba(255, 59, 92, .16), rgba(255, 59, 92, .04)); border: 1px solid rgba(255, 59, 92, .3);
}
.ss-genre span { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: #fff; }
.ss-genre b { font-size: 16px; }
.ss-genre em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--muted); }
.ss-genre:hover { color: var(--fg); border-color: var(--accent); }
.card .name mark { background: none; color: var(--accent); font-weight: 700; }
.ss-tip { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }
.ss-empty { padding: 36px 16px 8px; text-align: center; }
.ss-empty-t { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.ss-empty-act { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
@media (max-width: 640px) {
  .ss-form { padding-left: 42px; }
  .ss-form svg { left: 15px; }
  .ss-form button { padding: 0 18px; }
  .ss-hot { margin: 12px -16px 0; padding: 8px 16px; border-radius: 0; border-left: 0; border-right: 0; }
  .ss-genre { min-width: 0; flex: 1 1 100%; }
}

/* ============ 账号页 ============ */
.ac-in { display: flex; align-items: center; gap: 18px; padding-top: 28px; padding-bottom: 30px; }
.ac-avatar {
  flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  font-size: 30px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px -10px rgba(255, 59, 92, .7);
}
.ac-avatar.vip { background: linear-gradient(135deg, #c9a7ff, #8b6cff); color: #1a1030; box-shadow: 0 0 0 3px rgba(201, 167, 255, .35), 0 10px 30px -10px rgba(201, 167, 255, .8); }
.ac-who { min-width: 0; flex: 1; }
.ac-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 26px; font-weight: 900; line-height: 1.2; }
.ac-badge { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .1); color: rgba(237, 237, 242, .75); }
.ac-badge.vip { background: var(--vip); color: #1a1030; }
.ac-mail { margin-top: 6px; font-size: 14px; color: rgba(237, 237, 242, .7); word-break: break-all; }
.ac-act { display: flex; align-items: flex-start; gap: 10px; flex-shrink: 0; }
.ac-act .hero-btn { margin: 0; padding: 11px 24px; font-size: 15px; }
.ac-act .hero-btn-ghost { padding: 11px 20px; font-size: 14px; }
.ac-act form .form-msg { margin-top: 6px; }
.ac-out { font: inherit; cursor: pointer; color: var(--fg); }
.ac-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ac-grid .panel { margin-top: 0; }
.ac-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ac-vip { border-color: rgba(201, 167, 255, .3); background: linear-gradient(160deg, rgba(201, 167, 255, .14), rgba(201, 167, 255, .03) 60%), var(--panel); }
.ac-vip h2 { color: var(--vip); }
.ac-vip-exp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; }
.ac-vip-exp b { font-size: 22px; }
.ac-perks { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ac-perks li { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); font-size: 13px; color: var(--muted); }
.ac-perks b { display: block; color: var(--fg); font-size: 14px; }
.ac-lost { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .14); }
.ac-lost p { flex: 1; font-size: 13px; line-height: 1.6; color: rgba(237, 237, 242, .78); }
.ac-lost code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #ff8aa0; white-space: nowrap; }
.ac-vip > .btn, .ac-vip > .btn-ghost { margin-top: 0; }
@media (max-width: 860px) {
  .ac-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ac-in { flex-wrap: wrap; gap: 14px; padding-top: 18px; padding-bottom: 20px; }
  .ac-avatar { width: 56px; height: 56px; font-size: 24px; }
  .ac-name { font-size: 21px; }
  .ac-act { width: 100%; }
  .ac-act > a, .ac-act > form { flex: 1; }
  .ac-act .hero-btn, .ac-act .hero-btn-ghost { width: 100%; justify-content: center; }
  .ac-lost { flex-wrap: wrap; }
  .ac-lost .hero-chip-btn { width: 100%; }
}

/* ============ 登录 / 注册 / 找回密码（封面墙舞台） ============ */
.au { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - 57px); display: flex; align-items: center; background: #07070a; }
.au-wall {
  position: absolute; z-index: -2; top: -20%; left: -10%; width: 120%; height: 140%;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; transform: rotate(-10deg); opacity: .85;
}
.au-col { display: flex; flex-direction: column; gap: 14px; animation: au-drift 60s linear infinite alternate; }
.au-col:nth-child(even) { animation-direction: alternate-reverse; margin-top: -120px; }
.au-col img { width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: 12px; }
.au::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 35%, rgba(255, 59, 92, .28), transparent 70%),
    linear-gradient(90deg, rgba(11, 11, 15, .95) 0%, rgba(11, 11, 15, .78) 40%, rgba(11, 11, 15, .35) 75%, rgba(11, 11, 15, .5) 100%),
    linear-gradient(180deg, rgba(11, 11, 15, .3) 0%, transparent 30%, transparent 70%, rgba(11, 11, 15, .8) 100%);
}
@keyframes au-drift { from { transform: translateY(0); } to { transform: translateY(-160px); } }
.au-in { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 40px 16px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: center; }
.au-brand { font-size: 28px; font-weight: 900; letter-spacing: 1px; }
.au-brand b { color: var(--accent); }
.au-head { margin-top: 10px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.2; font-weight: 900; letter-spacing: .5px; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.au-perks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.au-perks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(237, 237, 242, .82); }
.au-perks i { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.au .auth-card {
  margin: 0; max-width: none; padding: 30px 28px; border-radius: 20px;
  background: rgba(21, 21, 28, .78); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.au .auth-card .h1 { font-size: 26px; }
.au .form input[type=text], .au .form input[type=email], .au .form input[type=password] { height: 46px; border-radius: 12px; background: rgba(0, 0, 0, .35); }
.au .btn-block { padding: 13px 0; font-size: 16px; }
/* 显示 / 隐藏密码（auth.js 加的按钮） */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 46px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.pw-eye:hover { color: var(--fg); }
@media (max-width: 900px) {
  .au { display: block; min-height: 0; }
  .au-wall { top: -30px; height: 360px; opacity: .7; }
  .au-col:nth-child(even) { margin-top: -60px; }
  .au-in { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 26px 16px 36px; }
  .au-head { font-size: 26px; }
  .au-perks { display: none; }
  .au .auth-card { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) { .au-col { animation: none; } }
input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }

/* ============ 购买页 ============ */
.vp { position: relative; isolation: isolate; overflow: hidden; background: #0c0a14; }
.vp::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 80% at 85% 0%, rgba(201, 167, 255, .30), transparent 70%),
    radial-gradient(35% 70% at 0% 100%, rgba(255, 59, 92, .18), transparent 70%),
    linear-gradient(180deg, transparent 60%, var(--bg) 100%);
}
.vp-in { max-width: var(--wrap); margin: 0 auto; padding: 34px 16px 30px; }
.vp-kicker { font-size: 13px; font-weight: 800; letter-spacing: 4px; color: var(--vip); }
.vp-title { margin-top: 8px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; line-height: 1.2; }
.vp-state { margin-top: 10px; font-size: 15px; color: rgba(237, 237, 242, .72); }
.vp-state.on { color: var(--vip); }
.vp-perks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.vp-perks li { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(201, 167, 255, .18); backdrop-filter: blur(10px); }
.vp-perks i { display: block; font-style: normal; font-size: 22px; line-height: 1; }
.vp-perks b { display: block; margin-top: 10px; font-size: 15px; color: var(--fg); }
.vp-perks span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }

.vp-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.vp-h2 { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.vp-buy .vip-plans + .vp-h2 { margin-top: 24px; }
.vp-buy { display: block; margin: 0; }
.vip-plan-in { position: relative; padding: 22px 12px 16px; }
.vip-best { position: absolute; top: -1px; right: -1px; padding: 2px 10px; border-radius: 0 12px 0 10px; font-style: normal; font-size: 12px; font-weight: 800; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; }
.vip-per { font-size: 12px; color: var(--vip); }
.vp-pay { display: flex; gap: 10px; }
.vp-ch { flex: 1; position: relative; cursor: pointer; }
.vp-ch input { position: absolute; opacity: 0; pointer-events: none; }
.vp-ch span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 0; border-radius: 12px; background: var(--panel); border: 2px solid var(--line); font-weight: 700; transition: border-color .2s, background .2s; }
.vp-ch i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 12px; color: #fff; }
.vp-ch-wechat i { background: #07c160; }
.vp-ch-alipay i { background: #1677ff; }
.vp-ch input:checked + span { border-color: var(--vip); background: rgba(201, 167, 255, .08); }
.vp-ch input:focus-visible + span { outline: 2px solid var(--vip); outline-offset: 2px; }
.vp-ch.off { opacity: .4; cursor: not-allowed; }
.vp-paybtn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 18px; padding: 15px 0; font-size: 17px; box-shadow: 0 12px 30px -10px rgba(255, 59, 92, .7); }
.vp-paybtn b { font-size: 20px; }
.vp-buy .form-msg { margin-top: 10px; text-align: center; }
.vp-note { margin-top: 10px; font-size: 12px; text-align: center; color: var(--muted); }
.vp-note a { color: var(--accent); }
.vp-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.vp-side .panel { margin-top: 0; }
.vp-faq details { border-top: 1px solid var(--line); }
.vp-faq details:first-of-type { border-top: 0; }
.vp-faq summary { padding: 12px 0; cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.vp-faq summary::-webkit-details-marker { display: none; }
.vp-faq summary::after { content: "+"; color: var(--muted); }
.vp-faq details[open] summary::after { content: "−"; }
.vp-faq details p { padding: 0 0 12px; font-size: 13px; line-height: 1.7; color: var(--muted); overflow-wrap: anywhere; }
.vp-orders { list-style: none; margin: 0; padding: 0; }
.vp-orders li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.vp-orders li:first-child { border-top: 0; }
.vp-o-main { flex: 1; min-width: 0; font-size: 14px; }
.vp-o-main small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.vp-o-st { flex-shrink: 0; padding: 2px 10px; border-radius: 999px; font-size: 12px; background: var(--panel-2); color: var(--muted); }
.vp-o-st.s1 { background: rgba(76, 211, 138, .15); color: #4cd38a; }
.vp-o-st.pend { background: rgba(255, 59, 92, .15); color: var(--accent); }
@media (max-width: 960px) {
  .vp-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .vp-in { padding: 22px 16px 22px; }
  .vp-perks { gap: 8px; margin-top: 18px; }
  .vp-perks li { padding: 12px; }
  .vp-perks span { display: none; }
  .vp-perks b { margin-top: 6px; font-size: 14px; }
}

/* 订单页 */
.od { max-width: 520px; margin: 24px auto 0; }
.od-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 32px 24px; }
.od-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 900; }
.od-card[data-status="0"] .od-ic { border: 4px solid rgba(255, 59, 92, .2); border-top-color: var(--accent); animation: od-spin 1s linear infinite; }
.od-card[data-status="1"] .od-ic { background: rgba(76, 211, 138, .15); color: #4cd38a; }
.od-card[data-status="1"] .od-ic::after { content: "✓"; }
.od-card[data-status="2"] .od-ic, .od-card[data-status="3"] .od-ic { background: var(--panel-2); color: var(--muted); }
.od-card[data-status="2"] .od-ic::after { content: "!"; }
.od-card[data-status="3"] .od-ic::after { content: "↩"; }
.od-title { font-size: 22px; font-weight: 900; }
.od-info { width: 100%; margin: 6px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.od-info div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 13px; }
.od-info dt { color: var(--muted); }
.od-info dd { margin: 0; text-align: right; }
.od-no { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; word-break: break-all; }
.od-card .vip-order-act { justify-content: center; margin-top: 6px; }
@keyframes od-spin { to { transform: rotate(360deg); } }

/* ============ 页头 ============ */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 11, 15, .86); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .25s, background .25s; }
.top.scrolled { background: rgba(11, 11, 15, .94); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); }
.top-in { display: flex; align-items: center; gap: 22px; height: 56px; }
.logo { display: inline-flex; align-items: center; gap: 7px; font-size: 21px; font-weight: 900; letter-spacing: 1px; white-space: nowrap; }
.logo:hover { color: var(--fg); }
.logo-x { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 19px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 16px -6px rgba(255, 59, 92, .8); letter-spacing: 0; }
.nav { display: flex; gap: 2px; }
.nav a { position: relative; padding: 8px 14px; border-radius: 999px; color: rgba(237, 237, 242, .66); white-space: nowrap; font-size: 15px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--fg); background: rgba(255, 255, 255, .05); }
.nav a.on { color: var(--fg); font-weight: 700; }
.nav a.on::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.search { position: relative; margin-left: auto; display: flex; align-items: center; }
.search svg { position: absolute; left: 13px; color: rgba(237, 237, 242, .45); pointer-events: none; }
.search input {
  width: 220px; height: 36px; padding: 0 34px 0 36px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px;
  background: rgba(255, 255, 255, .05); color: var(--fg); font: inherit; font-size: 14px; outline: none; transition: width .25s, border-color .2s, background .2s;
}
.search input:focus { width: 280px; border-color: var(--accent); background: rgba(255, 255, 255, .08); }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { position: absolute; right: 10px; padding: 0 6px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, .15); font-family: inherit; font-size: 11px; line-height: 17px; color: rgba(237, 237, 242, .45); pointer-events: none; }
.search input:focus + kbd, .search input:not(:placeholder-shown) + kbd { display: none; }
.top-icon { display: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; color: var(--fg); cursor: pointer; place-items: center; }
.top-icon:hover { background: rgba(255, 255, 255, .08); }

.acct-box { display: flex; align-items: center; gap: 10px; }
.acct-vip { white-space: nowrap; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(201, 167, 255, .55); color: var(--vip); font-size: 13px; font-weight: 600; background: rgba(201, 167, 255, .08); }
.acct-vip:hover { color: #1a1030; background: var(--vip); }
.acct { white-space: nowrap; padding: 7px 18px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font-size: 14px; font-weight: 700; }
.acct:hover { color: #fff; filter: brightness(1.08); }
.acct-me { position: relative; }
.acct-btn { display: flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--fg); font: inherit; font-size: 14px; cursor: pointer; }
.acct-btn:hover { background: rgba(255, 255, 255, .1); }
.acct-ava { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.acct-me.vip .acct-ava { background: linear-gradient(135deg, #c9a7ff, #8b6cff); color: #1a1030; box-shadow: 0 0 0 2px rgba(201, 167, 255, .45); }
.acct-name { max-width: 7em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 236px; padding: 6px; border-radius: 14px; z-index: 30;
  display: flex; flex-direction: column; background: rgba(24, 24, 32, .98); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .9);
}
.acct-menu[hidden] { display: none; }
.acct-menu-hd { padding: 10px 12px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); white-space: nowrap; }
.acct-me.vip .acct-menu-hd { color: var(--vip); }
.acct-menu a, .acct-menu button { padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--fg); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.acct-menu a:hover, .acct-menu button:hover { background: rgba(255, 255, 255, .07); color: var(--fg); }
.acct-menu [data-me-vip] { color: var(--vip); }
.acct-menu [data-logout] { color: var(--muted); }

/* 手机：一行页头（标志 · 搜索按钮 · 头像），导航放到底部标签栏 */
.tabbar { display: none; }
@media (max-width: 760px) {
  .top-in { height: 52px; gap: 6px; flex-wrap: wrap; }
  .logo { font-size: 19px; margin-right: auto; }
  .logo-x { width: 27px; height: 27px; font-size: 17px; }
  .nav { display: none; }
  .search { display: none; order: 5; width: 100%; margin: 0 0 10px; }
  .search input, .search input:focus { width: 100%; height: 40px; }
  .search kbd { display: none; }
  .top.searching .search { display: flex; }
  .top.searching .top-in { height: auto; padding-top: 6px; }
  .top-icon { display: grid; }
  .acct-vip { display: none; }
  .acct { padding: 6px 14px; font-size: 13px; }
  .acct-name, .acct-btn > svg { display: none; }
  .acct-btn { padding: 2px; border: 0; background: none; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    height: calc(56px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(11, 11, 15, .94); backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid rgba(255, 255, 255, .07);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: rgba(237, 237, 242, .55); }
  .tabbar a.on { color: var(--accent); }
  .tabbar a.on svg { filter: drop-shadow(0 0 6px rgba(255, 59, 92, .6)); }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ============ 页脚 ============ */
.foot { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .06); background: linear-gradient(180deg, #0d0d12, #08080b); color: var(--muted); font-size: 14px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.6fr) minmax(0, .8fr); gap: 32px; padding-top: 40px; padding-bottom: 28px; }
.foot-tag { margin-top: 12px; font-size: 13px; }
.foot-mail { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.foot-mail p { flex: 1; font-size: 12px; line-height: 1.6; }
.foot-mail b { color: var(--fg); margin-right: 4px; }
.foot-mail code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #ff8aa0; white-space: nowrap; }
.foot-mail .hero-chip-btn { flex-shrink: 0; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h3 { margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--fg); letter-spacing: 1px; }
.foot-col a { font-size: 13px; color: var(--muted); }
.foot-col a:hover { color: var(--fg); }
.foot-genres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px 12px; align-content: start; }
.foot-genres h3 { grid-column: 1 / -1; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 16px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 12px; }
.foot-18 { display: inline-block; margin-right: 8px; padding: 0 6px; border-radius: 4px; border: 1px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 11px; line-height: 16px; }
@media (max-width: 960px) {
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .foot-brand, .foot-genres { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .foot-in { padding-top: 28px; padding-bottom: 20px; }
  .foot-mail { flex-wrap: wrap; }
  .foot-mail .hero-chip-btn { width: 100%; }
  .foot-genres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-bottom { flex-direction: column; padding-bottom: 20px; }
}
.foot .logo { color: var(--fg); }
@media (max-width: 960px) { .foot-genres { order: 5; } }
