/* ============================================================
   91jav 前台 · 设计系统（严格依据 设计稿/前台设计需求说明/CLAUDE.md
   与各 .dc.html 源稿 1:1 实现 · 方向 C 石墨）
   实现者注：颜色/间距/圆角/数值均取自源稿，未做"优化/再设计"。
   ============================================================ */

:root {
  /* 颜色（CLAUDE.md 视觉方向） */
  --bg:        #15171a;
  --nav:       #1b1e22;
  --surface:   #21262b;   /* 卡面 */
  --surface-2: #23272c;   /* 输入框/次级 */
  --card:      #1e2228;   /* hover 预览卡 */
  --footer:    #101215;
  --accent:    #4f8fcf;   /* 冷蓝 */
  --accent-2:  #8fbce8;
  --text:      #e6e8ea;
  --text-2:    #c4c8cd;
  --text-3:    #d6d9dd;
  --muted:     #8a9099;
  --muted-2:   #7e848c;
  --faint:     #6b717a;
  --line:      rgba(255,255,255,.07);
  --line-2:    rgba(255,255,255,.12);
  --chip-bg:   rgba(79,143,207,.16);
  --chip-bd:   rgba(79,143,207,.4);
  --chip-fg:   #cfe0f2;

  /* 统一 gutter：小屏随屏宽流动，大屏内容封顶 1200 居中（CLAUDE.md） */
  --gut: max(clamp(24px, 6vw, 160px), (100% - 1200px) / 2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea { font-family: inherit; }

::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: rgba(128,128,128,.35); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }
.srail { scrollbar-width: none; }
.srail::-webkit-scrollbar { display: none; }

/* gutter 工具类 */
.gut  { padding-inline: var(--gut); }
.gutm { margin-inline: var(--gut); }
/* 自带 gutter 的"楼层级"组件若被放进 .gut 容器，取消其自带 gutter，避免双重缩进（与同级区块对齐） */
.gut .floor-head, .gut .ad-floor, .gut .iconwall { padding-inline: 0; }

/* 占位条纹 */
.ph-cover   { background: repeating-linear-gradient(135deg,#21262b 0 8px,#272c31 8px 16px); }
.ph-hover   { background: repeating-linear-gradient(135deg,#23272c 0 10px,#2a2f34 10px 20px); }
.ph-hero    { background: repeating-linear-gradient(135deg,#23272c 0 12px,#2a2f34 12px 24px); }
.ph-avatar  { background: repeating-linear-gradient(135deg,#21262b 0 8px,#272c31 8px 16px); }
.ph-ad      { background: repeating-linear-gradient(135deg,#1a1d21 0 10px,#1d2125 10px 20px); }

/* ===================== 导航 ===================== */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; padding-inline: var(--gut); }
.logo { font-weight: 700; font-size: 18px; letter-spacing: .04em; color: #fff; white-space: nowrap; }
.logo span { color: var(--accent); }
.nav__menu { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav__menu a { color: var(--text-2); white-space: nowrap; transition: color .12s; }
.nav__menu a:hover, .nav__menu a.active { color: #fff; font-weight: 500; }
.nav__reserve { border: 1px dashed rgba(255,255,255,.22); border-radius: 3px; padding: 2px 9px; font-size: 11.5px; color: #9aa0a8; }
.nav__spacer { flex: 1; }
.search { display: flex; align-items: center; gap: 9px; width: 300px; background: var(--surface-2); border: 1px solid rgba(255,255,255,.08); border-radius: 6px; padding: 9px 15px; }
.search input { border: 0; background: transparent; outline: none; color: var(--text-3); font: 400 13px 'Noto Sans SC'; flex: 1; }
.nav__avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; border: 1px solid rgba(255,255,255,.1);
  background: repeating-linear-gradient(135deg,#272b30 0 6px,#2e3338 6px 12px); }
.nav__burger { display: none; flex-direction: column; gap: 3.5px; width: 18px; cursor: pointer; }
.nav__burger span { height: 1.6px; background: var(--text-2); }

/* ===================== 楼层标题 + 滑动进度细线 ===================== */
.floor-head { display: flex; align-items: center; justify-content: space-between; padding-block: 64px 24px; padding-inline: var(--gut); }
.floor-head.gap { gap: 12px; justify-content: flex-start; }
.floor-head h2 { font-size: 19px; font-weight: 700; margin: 0; color: #fff; letter-spacing: .01em; }
.floor-head h2.ops { color: var(--accent); }      /* 运营楼层（合集）蓝标 */
.floor-head .more { font-size: 13px; color: var(--muted); }
.floor-head .more:hover { color: var(--accent-2); }
.tag-sys { font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 3px; padding: 2px 8px; }
.prog { width: 56px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.14); position: relative; }
.prog > i { position: absolute; top: 0; bottom: 0; left: 0; width: 20px; border-radius: 2px; background: rgba(255,255,255,.55); transition: left .3s ease; }

/* ===================== 横滑卡带 ===================== */
.railwrap { position: relative; }
.gmask { position: absolute; top: 0; bottom: 0; width: var(--gut); background: var(--bg); z-index: 1; pointer-events: none; }
.gmask.l { left: 0; } .gmask.r { right: 0; }
.navbtn { position: absolute; top: 0; width: 74px; z-index: 20; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff; font-size: 42px; font-weight: 300; line-height: 1; opacity: 0; transition: opacity .2s ease; }
.railwrap:hover .navbtn { opacity: 1; }
.navbtn.navL { left: var(--gut); background: linear-gradient(to right,rgba(8,10,12,.92),rgba(8,10,12,0)); }
.navbtn.navR { right: var(--gut); background: linear-gradient(to left,rgba(8,10,12,.92),rgba(8,10,12,0)); }
.railwrap[data-at-start="1"] .navL { opacity: 0 !important; pointer-events: none; }
.railwrap[data-at-end="1"] .navR { opacity: 0 !important; pointer-events: none; }
.railwrap:has(.vcard:hover) .navbtn { opacity: 0 !important; pointer-events: none; }
.clipbox { margin-inline: var(--gut); overflow-x: clip; overflow-y: visible; overflow-clip-margin: 24px; }
.track { display: flex; gap: 16px; padding: 0; transform: translateX(0); transition: transform .45s ease; }
.track--girls { gap: 24px; }

/* 视频卡 */
.vcard { display: block; width: 240px; flex: none; position: relative; color: inherit; transition: transform .18s ease; }
.vcard:hover { z-index: 30; }
.vcard__cover { position: relative; aspect-ratio: 16/9; border-radius: 5px; overflow: hidden; border: 1px solid rgba(255,255,255,.05); }
.vcard__cover .dur { position: absolute; bottom: 7px; right: 7px; font: 400 11px 'Noto Sans SC'; color: #fff; background: rgba(0,0,0,.7); padding: 2px 6px; border-radius: 3px; }
.vcard__cover .prog-w { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.2); }
.vcard__cover .prog-w > i { display: block; height: 100%; background: var(--accent); }
.vcard__ct { margin-top: 8px; font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* hover 大图预览（双轴居中 + 边缘自适应） */
.vhover { position: absolute; top: 50%; left: 50%; width: 312px; z-index: 30; background: var(--card);
  border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 18px 44px rgba(0,0,0,.55); overflow: hidden;
  opacity: 0; transform: translate(-50%,-50%) scale(.94); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.vcard:hover .vhover { opacity: 1; transform: translate(-50%,-50%) scale(1); pointer-events: auto; transition-delay: .3s; }
.vcard.edgeL .vhover, .vcard:first-child .vhover { left: 0; right: auto; transform: translate(0,-50%) scale(.94); }
.vcard.edgeL:hover .vhover, .vcard:first-child:hover .vhover { transform: translate(0,-50%) scale(1); }
.vcard.edgeR .vhover, .vcard:last-child .vhover { left: auto; right: 0; transform: translate(0,-50%) scale(.94); }
.vcard.edgeR:hover .vhover, .vcard:last-child:hover .vhover { transform: translate(0,-50%) scale(1); }
.vhover__cover { position: relative; aspect-ratio: 16/9; }
.vhover__cover .ph { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font: 400 11px ui-monospace,monospace; color: #5b626b; }
.vhover__body { padding: 13px 15px 15px; }
.vhover__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.code { font-size: 11.5px; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 3px; }
.vhover__title { font-size: 13px; line-height: 1.5; color: var(--text); font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vhover__by { font-size: 11.5px; color: var(--accent-2); margin: 8px 0 7px; }
.vhover__by .dot { color: var(--muted); }
.attrs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.attr { font-size: 11px; color: var(--chip-fg); background: var(--chip-bg); border: 1px solid var(--chip-bd); border-radius: 4px; padding: 2px 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 12px; }
.tag { font-size: 10.5px; color: #9aa0a8; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 2px 8px; }
.vhover__cta { display: flex; gap: 9px; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 5px; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; transition: filter .12s, border-color .12s; }
.btn--primary { background: var(--accent); color: #fff; font-weight: 700; padding: 12px 24px; }
.btn--primary:hover { filter: brightness(1.08); }
.btn--ghost { border: 1px solid rgba(255,255,255,.26); color: var(--text); padding: 12px 20px; }
.btn--ghost:hover { border-color: rgba(255,255,255,.5); }
.btn--sm { padding: 9px 13px; font-size: 12.5px; }
.btn--block { width: 100%; }
.tri { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.heart { width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 50%; display: inline-block; }
.btn.is-on { background: var(--chip-bg); color: var(--accent-2); border-color: var(--chip-bd); }
.btn.is-on .heart { background: var(--accent-2); border-color: var(--accent-2); }

/* ===================== HERO（内收圆角影院卡） ===================== */
.hero { position: relative; margin-top: 24px; margin-inline: var(--gut); border-radius: 14px; overflow: hidden; }
.hero__fill { height: 600px; }
.hero__ph { position: absolute; top: 30%; right: 14%; font: 400 12px ui-monospace,monospace; color: #5b626b; }
.hero__scrim-l { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(15,17,20,.97) 0%,rgba(15,17,20,.93) 24%,rgba(15,17,20,.55) 48%,rgba(15,17,20,.1) 72%,rgba(15,17,20,0) 84%); }
.hero__scrim-b { position: absolute; left: 0; right: 0; bottom: 0; height: 300px; background: linear-gradient(to top,rgba(15,17,20,.97) 14%,rgba(15,17,20,.55) 52%,transparent); }
.hero__body { position: absolute; left: 48px; top: 64px; right: 48px; max-width: 600px; }
.hero__title { font-size: 38px; font-weight: 700; line-height: 1.26; color: #fff; letter-spacing: .01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero__tagline { font-size: 14px; color: var(--accent-2); margin-top: 18px; letter-spacing: .06em; }
.hero__desc { font-size: 14px; line-height: 1.75; color: #aab0b8; margin: 14px 0 24px; max-width: 520px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero__attrs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__attrs span { font-size: 12px; color: var(--text-2); border: 1px solid rgba(255,255,255,.2); border-radius: 4px; padding: 4px 12px; }
.hero__cta { display: flex; align-items: center; gap: 12px; }
.hero__thumbs { position: absolute; left: 48px; right: 0; bottom: 28px; }
.hero__thumbs .row { display: flex; gap: 16px; overflow-x: auto; padding-right: 48px; }
.hthumb { width: 200px; flex: none; cursor: pointer; }
.hthumb__c { position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: repeating-linear-gradient(135deg,#2a2f34 0 9px,#31363c 9px 18px); }
.hthumb__c .nm { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font: 600 14px 'Noto Sans SC'; color: rgba(255,255,255,.92); }
.hthumb__c .dur { position: absolute; bottom: 6px; right: 6px; font: 400 11px 'Noto Sans SC'; color: #fff; background: rgba(0,0,0,.7); padding: 2px 6px; border-radius: 3px; }
.hthumb__c .sel { position: absolute; inset: 0; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--accent); }
.hthumb__cap { margin-top: 8px; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===================== 热门女优（圆头像） ===================== */
.gcard { display: block; width: 112px; flex: none; color: inherit; text-align: center; }
.gcard__a { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; }
.gcard__a span { font: 400 11px ui-monospace,monospace; color: #5b626b; }
.gcard__name { margin-top: 8px; font-size: 13px; color: var(--text-3); font-weight: 500; }
.gcard__works { margin-top: 2px; font-size: 11.5px; color: var(--muted-2); }

/* ===================== 广告位 ===================== */
.ad { border: 1px dashed rgba(255,255,255,.18); border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font: 400 11px ui-monospace,monospace; color: var(--faint); background: repeating-linear-gradient(135deg,#1a1d21 0 10px,#1d2125 10px 20px); }
.ad--banner { height: 90px; }
.ad-floor { padding-block: 56px 0; padding-inline: var(--gut); }
.iconwall { padding-block: 64px 0; padding-inline: var(--gut); }
.iconwall__label { font-size: 11.5px; color: var(--muted-2); letter-spacing: .04em; margin-bottom: 12px; }
.iconwall__grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 12px; }
.iconwall__grid .ad { height: 92px; font-size: 10px; }

/* ===================== 聚光位（最近更新） ===================== */
.spot-wrap { padding-block: 0 8px; padding-inline: var(--gut); }
.spot { position: relative; padding-top: 28px; }
.splay { position: absolute; left: 80px; top: 0; width: 680px; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 48px rgba(0,0,0,.5); background: #0c0e11; cursor: pointer; z-index: 2; }
.splay .scover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: background .35s ease, opacity .22s ease; opacity: 1; }
.splay .scover .ph { font: 400 12px ui-monospace,monospace; }
.splay .scover .hint { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: #fff; background: rgba(12,14,17,.62); border: 1px solid rgba(255,255,255,.18); padding: 5px 11px; border-radius: 999px; }
.splay .sprev { position: absolute; inset: 0; background: #0c0e11; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .22s ease; }
.splay:hover .sprev { opacity: 1; } .splay:hover .scover { opacity: 0; }
.splay .sprev .ph { font: 400 12px ui-monospace,monospace; color: #4a525c; }
.splay .sbar { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: linear-gradient(to top,rgba(8,10,12,.9),transparent); }
.splay .sbar .track { height: 3px; border-radius: 2px; background: rgba(255,255,255,.22); position: relative; margin-bottom: 10px; display: block; }
.splay .sbar .track > i { position: absolute; left: 0; top: 0; bottom: 0; width: 24%; background: var(--accent); border-radius: 2px; }
.splay .sbar .row { display: flex; align-items: center; gap: 14px; color: var(--text); }
.spot__info { margin-left: 360px; min-height: 382px; padding: 32px 32px 28px 432px; display: flex; flex-direction: column; border-radius: 16px; }
.spot__code { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; font: 500 11.5px 'Noto Sans SC'; padding: 3px 10px; border-radius: 3px; letter-spacing: .04em; margin-bottom: 14px; }
.spot__title { font-size: 23px; font-weight: 700; line-height: 1.36; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot__attrs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.spot__attrs span { font-size: 12.5px; border-radius: 5px; padding: 4px 12px; }
.spot__cta { display: flex; align-items: center; gap: 12px; }
.spot__thumbs { display: flex; align-items: center; overflow: hidden; padding-top: 6px; }
.spot__thumbs .t { width: 150px; height: 84px; border-radius: 6px; flex: none; transition: all .35s ease; }
.spot__thumbs .t.behind { opacity: .5; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.spot__thumbs .t.active { position: relative; z-index: 2; margin-left: -120px; }
.spot__thumbs .t.rest { cursor: pointer; margin-left: 10px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }

/* ===================== 页脚 ===================== */
.footer { border-top: 1px solid var(--line); background: var(--footer); padding-block: 48px 0; padding-inline: var(--gut); margin-top: 64px; }
.footer__top { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.footer__brand { max-width: 320px; min-width: 260px; }
.footer__brand .desc { font-size: 12.5px; line-height: 1.8; color: var(--muted-2); margin-top: 12px; }
.footer__badges { display: flex; gap: 10px; margin-top: 16px; }
.footer__badges span { font-size: 11px; color: #aab0b8; border: 1px solid var(--line-2); border-radius: 4px; padding: 5px 12px; }
.footer__col { font-size: 12.5px; line-height: 2.1; color: var(--muted); }
.footer__col h4 { color: var(--text-2); font-weight: 500; margin: 0 0 8px; }
.footer__col a:hover { color: var(--text-2); }
.footer__bottom { margin-top: 34px; border-top: 1px solid var(--line); padding: 16px 0 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 11.5px; color: var(--faint); }

/* ===================== 通用页内容（面包屑/网格/筛选/分页/聚合） ===================== */
.page { padding-inline: var(--gut); }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12.5px; padding-block: 18px 0; }
.breadcrumb a:hover { color: var(--text-2); }
.breadcrumb .cur { color: var(--text-2); }
.listhead { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 8px 0; }
.listhead h1 { font-size: 24px; font-weight: 700; color: #fff; margin: 0; }
.listhead .count { font-size: 13px; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.sort__label { font-size: 12px; color: var(--muted-2); }
.chip { font-size: 12.5px; border-radius: 999px; padding: 5px 14px; cursor: pointer; transition: all .12s; background: var(--surface-2); color: var(--text-2); border: 1px solid rgba(255,255,255,.1); }
.chip:hover { border-color: rgba(255,255,255,.3); }
.chip.on { background: var(--accent); color: #fff; border-color: var(--accent); }

.filter { background: var(--nav); border-radius: 8px; padding: 6px 18px; margin-top: 24px; }
.filter__row { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.filter__row + .filter__row { border-top: 1px solid rgba(255,255,255,.05); }
.filter__label { font-size: 12.5px; color: var(--muted-2); width: 52px; flex: none; }
.filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter__summary { font-size: 12.5px; color: var(--chip-fg); }
.filter__reset { font-size: 12px; color: var(--muted); cursor: pointer; margin-left: auto; }
.filter__reset:hover { color: var(--text-2); }

.aggs-wrap { padding-top: 24px; }
.aggs-wrap .label { font-size: 12.5px; color: var(--muted-2); margin-bottom: 10px; }
.aggs { display: flex; flex-wrap: wrap; gap: 10px; }
.agg { display: inline-flex; align-items: center; gap: 8px; background: var(--nav); color: var(--text-2); font-size: 13px; border-radius: 8px; padding: 9px 14px; transition: background .12s; }
.agg:hover { background: #22262b; }
.agg .n { color: var(--faint); font-size: 12px; }
.agg .arr { color: var(--accent); }

.grid { display: grid; gap: 24px 16px; padding-top: 24px; grid-template-columns: repeat(5,1fr); }
/* 网格项必须 min-width:0：否则单行截断标题(nowrap)会把 1fr 轨道撑宽、整列溢出屏幕（源稿在卡片上写了 min-width:0） */
.grid > *, .review-grid > * { min-width: 0; }
.grid .vcard { width: auto; }
.grid--4 { grid-template-columns: repeat(4,1fr); }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.grid--actress { grid-template-columns: repeat(8,1fr); }
.grid--square { grid-template-columns: repeat(6,1fr); }

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 48px 0 12px; flex-wrap: wrap; }
.pager a { color: var(--text-2); font-size: 13px; min-width: 38px; height: 38px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; transition: background .12s; cursor: pointer; }
.pager a:hover { background: var(--surface-2); }
.pager a.on { background: var(--accent); color: #fff; }
.pager a.is-disabled { opacity: .4; pointer-events: none; }
.pager .dots { color: var(--faint); padding: 0 4px; }
.pager__note { text-align: center; color: var(--faint); font-size: 12px; }

/* 加载更多 */
.loadmore { display: flex; justify-content: center; padding: 40px 0 8px; }
.loadmore button { border: 1px solid var(--line-2); color: var(--text-2); border-radius: 8px; padding: 11px 28px; font-size: 13px; }
.loadmore button:hover { border-color: var(--accent); color: var(--accent-2); }

/* A-Z 索引 */
.az { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 24px; }
.az a { font-size: 12.5px; border-radius: 6px; padding: 5px 0; min-width: 30px; text-align: center; background: var(--nav); color: var(--text-2); transition: all .12s; cursor: pointer; }
.az a:hover, .az a.on { background: var(--accent); color: #fff; }
.az a.all { padding: 5px 11px; min-width: 0; }

/* 空状态 / 骨架 */
.empty { text-align: center; color: var(--muted); padding: 48px 20px; }
.empty .big { color: var(--text-2); font-size: 15px; margin-bottom: 8px; }

/* 年龄弹窗 */
.agegate { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(8,10,12,.85); backdrop-filter: blur(3px); }
.agegate.show { display: flex; }
.agegate__box { background: var(--nav); border: 1px solid var(--line-2); width: 460px; max-width: 100%; border-radius: 14px; padding: 40px 38px; text-align: center; }
.agegate__18 { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; color: var(--accent); font-size: 20px; font-weight: 700; border: 2px solid var(--accent); border-radius: 50%; margin: 18px 0 14px; }
.agegate__box h3 { color: #fff; font-size: 18px; font-weight: 600; margin: 0 0 12px; }
.agegate__box p { color: #aab0b8; font-size: 13px; line-height: 1.8; margin: 0 0 24px; }
.agegate__box .btn { width: 100%; margin-bottom: 10px; }
.agegate__leave { display: block; color: var(--text-2); font-size: 14px; border-radius: 8px; padding: 12px; }
.agegate__fine { color: var(--faint); font-size: 11px; line-height: 1.7; margin-top: 16px; }
.link { color: var(--accent-2); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 38px; transform: translateX(-50%) translateY(12px); background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; padding: 11px 20px; font-size: 13.5px; z-index: 300; opacity: 0; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===================== 响应式（≤640 对应 移动·390 帧） ===================== */
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(4,1fr); } .grid--actress { grid-template-columns: repeat(6,1fr); } }
@media (max-width: 820px) {
  .grid { grid-template-columns: repeat(3,1fr); }
  .grid--actress { grid-template-columns: repeat(4,1fr); }
  .grid--square { grid-template-columns: repeat(3,1fr); }
  .iconwall__grid { grid-template-columns: repeat(6,1fr); }
  .hero__fill { height: 420px; } .hero__title { font-size: 28px; }
  /* 聚光位降级为堆叠 */
  .spot { padding-top: 0; }
  .splay { position: static; width: auto; }
  .spot__info { margin-left: 0; padding: 24px; min-height: 0; }
  .spot__thumbs .t.active { margin-left: 0; }
  .spot__thumbs .t.behind { display: none; }
}
@media (max-width: 640px) {
  .nav__inner { height: 54px; gap: 12px; }
  .nav__menu, .nav__reserve, .nav__spacer { display: none; }
  .nav__burger { display: flex; }
  .search { width: auto; flex: 1; padding: 7px 12px; }
  .floor-head { padding-block: 24px 12px; }
  .floor-head h2 { font-size: 16px; }
  .prog { display: none; }
  /* 卡带在窄屏改原生横滑、隐藏箭头/遮罩 */
  .navbtn, .gmask { display: none; }
  .clipbox { overflow-x: auto; }
  .vcard { width: 158px; }
  .vhover { display: none; }
  .hero { margin-top: 0; border-radius: 0; }
  .hero__fill { height: 0; padding-bottom: 56.25%; }
  .hero__title { font-size: 19px; } .hero__body { left: 16px; right: 16px; top: auto; bottom: 70px; }
  .hero__thumbs { display: none; }
  .grid { grid-template-columns: repeat(2,1fr); gap: 14px 12px; }
  .grid--actress { grid-template-columns: repeat(3,1fr); }
  .grid--square { grid-template-columns: repeat(2,1fr); }
  .iconwall__grid { grid-template-columns: repeat(4,1fr); }
  .ad-floor { padding-block: 24px 0; }
}

/* ============================================================
   页面级样式（详情 / 女优详情 / 女优库方卡 / 用户 / 静态 / 404 / 影评）
   ============================================================ */

/* ---------- 详情页 ---------- */
.detail-top { display: flex; gap: 24px; padding-block: 6px 28px; }
.detail-main { flex: 1; min-width: 0; }
.detail-rail { width: 336px; flex: none; }
.ps-toggle { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ps-toggle .lbl { font-size: 11.5px; color: var(--muted-2); }
.ps-toggle .chip { padding: 5px 13px; }
.player { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; }
.player .ph { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font: 400 12px ui-monospace,monospace; color: #5b626b; }
.player__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(79,143,207,.92); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.player__play .tri { border-left-width: 18px; border-top-width: 12px; border-bottom-width: 12px; border-left-color: #fff; margin-left: 4px; }
.player__ctrl { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: linear-gradient(to top,rgba(8,10,12,.85),transparent); }
.player__bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.22); position: relative; }
.player__bar > i { position: absolute; left: 0; top: 0; bottom: 0; width: 34%; background: var(--accent); border-radius: 2px; }
.player__bar > b { position: absolute; left: 34%; top: 50%; transform: translate(-50%,-50%); width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.player__row { display: flex; align-items: center; gap: 16px; margin-top: 10px; color: var(--text); font-size: 12.5px; }
.player__row .t { color: var(--text-2); } .player__row .sp { flex: 1; }
.player__row .q { font-size: 12.5px; border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 8px; }
.badge-ad { background: #e8c45a; color: #0f1114; font-size: 11px; font-weight: 700; border-radius: 3px; padding: 2px 6px; }
.preroll { position: absolute; inset: 0; }
.preroll__skip { position: absolute; right: 14px; bottom: 46px; background: rgba(0,0,0,.5); color: var(--text); font-size: 12.5px; border-radius: 5px; padding: 6px 14px; cursor: pointer; }
.preroll__count { position: absolute; right: 14px; top: 14px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; border-radius: 999px; padding: 3px 11px; }
.preroll__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.18); }
.preroll__bar > i { display: block; height: 100%; width: 42%; background: #e8c45a; }
.pause-ov { position: absolute; inset: 0; background: rgba(10,12,14,.62); display: flex; align-items: center; justify-content: center; }
.pause-ov .box { background: rgba(20,22,25,.6); color: #9aa0a8; width: min(58%,460px); aspect-ratio: 16/6; border-radius: 8px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; padding: 12px; }
/* 角标浮条：源稿位于左下、压在控制条上方（left:16px;bottom:64px），带细边框 */
.float-ad { position: absolute; left: 16px; bottom: 64px; display: flex; align-items: center; gap: 11px; width: clamp(240px,30%,320px); background: rgba(20,22,25,.92); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 10px; }
.float-ad .c { width: 78px; height: 48px; border-radius: 4px; flex: none; background: repeating-linear-gradient(135deg,#2a2f34 0 7px,#31363c 7px 14px); }
.float-ad__txt { min-width: 0; flex: 1; }
.float-ad__head { display: flex; align-items: center; gap: 6px; }
.float-ad__badge { font-size: 9.5px; color: #0f1114; background: #e8c45a; font-weight: 700; padding: 1px 6px; border-radius: 2px; }
.float-ad__name { font-size: 12.5px; color: var(--text); font-weight: 500; }
.float-ad__sub { font-size: 11px; color: #9aa0a8; margin-top: 3px; }
.float-ad .x { color: var(--muted); cursor: pointer; align-self: flex-start; font-size: 13px; }
.detail-meta { margin-top: 18px; }
.detail-meta .code { font-size: 13px; padding: 4px 12px; border-radius: 4px; }
.detail-meta__top { display: flex; align-items: flex-start; gap: 20px; }
.detail-meta__top .l { flex: 1; min-width: 0; }
.detail-meta h1 { font-size: 22px; font-weight: 700; line-height: 1.45; color: #fff; margin: 10px 0 0; }
.detail-actions { display: flex; gap: 10px; flex: none; }
.detail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; color: var(--muted); font-size: 13px; }
.detail-row .lbl { font-size: 12px; color: var(--muted-2); }
.cast { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cast a { display: flex; align-items: center; gap: 9px; }
.cast .av { width: 32px; height: 32px; border-radius: 50%; }
.cast .nm { color: var(--text-3); font-size: 13.5px; }
.detail-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.detail-tags .lbl { color: var(--text-2); font-size: 13px; font-weight: 500; }
.detail-tags a { color: var(--text-3); font-size: 13px; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 14px; }
.detail-tags a:hover { border-color: var(--accent); color: var(--accent-2); }
.detail-intro { margin-top: 16px; }
.detail-intro h4 { color: var(--muted-2); font-size: 11.5px; margin: 0 0 6px; }
.detail-intro p { color: #aab0b8; font-size: 13.5px; line-height: 1.85; margin: 0; }
.rrail { display: flex; flex-direction: column; gap: 13px; margin-top: 12px; }
.rrail a { display: flex; gap: 11px; border-radius: 8px; padding: 6px; transition: background .12s; }
.rrail a:hover { background: var(--nav); }
.rrail .c { position: relative; width: 140px; flex: none; aspect-ratio: 16/9; border-radius: 5px; overflow: hidden; }
.rrail .c .dur { position: absolute; bottom: 4px; right: 4px; font-size: 11px; color: #fff; background: rgba(0,0,0,.7); padding: 1px 5px; border-radius: 3px; }
.rrail .ct { color: var(--text-3); font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rail-iconads { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 16px; }
.rail-iconads .ad { aspect-ratio: 1/1; height: auto; }
.detail-rail .ad-rect { height: 150px; margin-top: 16px; }
.shelf { padding-block: 26px 14px; }
.shelf h2 { font-size: 19px; font-weight: 700; color: #fff; margin: 0; }
.comments { padding-top: 36px; }
.comments > h2 { font-size: 19px; font-weight: 700; color: #fff; margin: 0; }
.comments > h2 span { font-size: 15px; font-weight: 400; color: var(--muted-2); }
.cbox { display: flex; gap: 12px; margin: 16px 0 26px; }
.cbox .av { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.cbox .field { flex: 1; }
.cbox textarea { width: 100%; background: #1a1d21; border: 1px solid var(--line); color: var(--text); font-size: 13px; border-radius: 8px; padding: 12px 14px; resize: vertical; min-height: 46px; outline: none; }
.cbox textarea::placeholder { color: var(--faint); }
.cbox .submit { display: flex; justify-content: flex-end; margin-top: 10px; }
.clist { display: flex; flex-direction: column; gap: 20px; }
.comment { display: flex; gap: 12px; }
.comment .av { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.comment .head { display: flex; align-items: center; gap: 10px; }
.comment .nm { color: var(--text-3); font-size: 13px; font-weight: 500; }
.comment .tm { color: var(--faint); font-size: 11.5px; }
.comment .tx { color: #aab0b8; font-size: 13.5px; line-height: 1.7; margin-top: 3px; }
.ph-av { background: repeating-linear-gradient(135deg,#21262b 0 6px,#272c31 6px 12px); }

/* ---------- 女优详情 头部 ---------- */
.ahero { position: relative; }
.ahero__bd { height: 200px; }
.ahero__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom,rgba(21,23,26,.2),var(--bg)); }
.ahero__body { position: relative; display: flex; align-items: flex-end; gap: 30px; margin-top: -70px; padding-bottom: 8px; flex-wrap: wrap; }
.ahero__avatar { width: 140px; height: 140px; border-radius: 50%; flex: none; border: 3px solid var(--bg); display: flex; align-items: center; justify-content: center; color: #5b626b; font-size: 12px; }
.ahero__main { flex: 1; min-width: 240px; padding-bottom: 6px; }
.ahero__name { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ahero__name h1 { color: #fff; font-size: 30px; font-weight: 700; margin: 0; }
.ahero__alias { color: var(--muted); font-size: 13px; }
.ahero__region { color: var(--text-2); font-size: 12px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 12px; }
.astats { display: flex; align-items: center; gap: 24px; margin: 14px 0 12px; flex-wrap: wrap; }
.astats .big { color: #fff; font-size: 22px; font-weight: 700; }
.astats .lbl { color: var(--muted); font-size: 12.5px; margin-left: 5px; }
.astats .vline { width: 1px; height: 26px; background: var(--line-2); }
.ainfo { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 12.5px; margin-bottom: 12px; }
.ainfo b { color: var(--text-2); font-weight: 400; }
.abio { color: #aab0b8; font-size: 13px; line-height: 1.7; max-width: 620px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ahero__actions { display: flex; gap: 10px; align-self: flex-start; margin-top: 10px; }

/* ---------- 女优库 头肩方卡 ---------- */
.scard { display: block; background: var(--nav); border-radius: 10px; overflow: hidden; transition: transform .12s; }
.scard:hover { transform: translateY(-2px); }
.scard .c { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; color: #5b626b; font-size: 12px; background: repeating-linear-gradient(135deg,#21262b 0 10px,#272c31 10px 20px); }
.scard__body { padding: 11px 13px 13px; }
.scard__name { color: #fff; font-size: 13.5px; font-weight: 600; }
.scard__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.scard__works { color: var(--muted-2); font-size: 11.5px; }
.scard__follow { color: var(--accent-2); font-size: 11px; border: 1px solid var(--chip-bd); border-radius: 999px; padding: 2px 9px; }
.scard__follow.is-on { background: var(--chip-bg); }

/* ---------- 用户中心 ---------- */
.user-layout { display: flex; gap: 30px; padding-block: 30px 40px; align-items: flex-start; flex-wrap: wrap; }
.user-side { width: 248px; flex: none; }
.user-card { background: var(--nav); border-radius: 12px; padding: 22px 20px; text-align: center; }
.user-card .av { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px; }
.user-card .nm { color: #fff; font-size: 16px; font-weight: 600; }
.user-card .id { color: var(--muted); font-size: 12px; margin-top: 4px; }
.user-menu { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.user-menu a { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; padding: 11px 14px; border-radius: 8px; color: var(--text-2); cursor: pointer; }
.user-menu a:hover { background: rgba(255,255,255,.04); }
.user-menu a.on { color: #fff; background: var(--chip-bg); }
.user-menu a .n { color: var(--faint); }
.user-logout { color: #d98a8a; font-size: 13px; display: block; border-radius: 8px; padding: 10px 14px; margin-top: 8px; cursor: pointer; }
.user-logout:hover { background: rgba(217,138,138,.1); }
.user-content { flex: 1; min-width: 0; }
.user-sec-head { display: flex; align-items: center; gap: 12px; margin: 6px 0 16px; }
.user-sec-head h2 { color: #fff; font-size: 20px; font-weight: 700; margin: 0; }
.user-sec-head .count { color: var(--muted); font-size: 13px; }
.user-sec-head .seg { margin-left: auto; display: flex; gap: 8px; }
.user-sec-head + .user-sec-head, .user-content .user-sec-head ~ .user-sec-head { margin-top: 34px; }

/* 登录 / 注册 */
.auth-wrap { display: flex; justify-content: center; padding-block: 56px 80px; }
.auth-box { background: var(--nav); width: 400px; max-width: 100%; border-radius: 14px; padding: 34px; }
.auth-tabs { display: flex; gap: 24px; margin-bottom: 24px; }
.auth-tabs span { font-size: 16px; font-weight: 500; color: var(--muted); cursor: pointer; }
.auth-tabs span.on { color: #fff; font-weight: 700; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 7px; }
.auth-input { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; }
.auth-input input { flex: 1; border: 0; background: transparent; outline: none; color: var(--text); font-size: 13px; }
.auth-forgot { text-align: right; margin-bottom: 16px; }
.auth-box .btn { width: 100%; font-size: 15px; padding: 12px; }
.auth-alt { color: var(--muted); font-size: 12.5px; text-align: center; margin-top: 16px; }
.auth-fine { color: var(--faint); font-size: 11px; line-height: 1.7; text-align: center; margin-top: 14px; }

/* ---------- 静态页 ---------- */
.doc-layout { display: flex; gap: 32px; padding-block: 22px 40px; align-items: flex-start; flex-wrap: wrap; }
.doc-side { width: 200px; flex: none; }
.doc-side .ttl { color: var(--muted-2); font-size: 12px; margin-bottom: 10px; }
.doc-side a { display: block; font-size: 13.5px; padding: 10px 14px; border-radius: 6px; color: var(--text-2); cursor: pointer; }
.doc-side a:hover { background: rgba(255,255,255,.04); }
.doc-side a.on { color: #fff; background: var(--chip-bg); border-left: 2px solid var(--accent); }
.doc-content { flex: 1; min-width: 0; max-width: 780px; }
.doc-content h1 { color: #fff; font-size: 24px; font-weight: 700; margin: 0; }
.doc-content .upd { color: var(--faint); font-size: 12.5px; margin: 6px 0 22px; }
.doc-content h2 { color: var(--text); font-size: 16px; font-weight: 600; margin: 24px 0 10px; }
.doc-content p { color: #aab0b8; font-size: 14px; line-height: 1.9; }
.doc-content ul { color: #aab0b8; font-size: 14px; line-height: 1.9; padding-left: 20px; margin: 10px 0; }
.doc-callout { background: var(--nav); color: #aab0b8; font-size: 13px; line-height: 1.8; border-radius: 8px; padding: 16px 18px; margin-top: 18px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 20px 90px; }
.notfound__code { color: var(--accent); font-size: 96px; font-weight: 700; line-height: 1; }
.notfound h2 { color: #fff; font-size: 19px; font-weight: 600; margin: 10px 0 0; }
.notfound p { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin: 8px 0 22px; }
.notfound .search { width: 420px; max-width: 100%; margin: 0 auto 22px; }
.notfound__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 影评列表 ---------- */
.ad-lead { padding-top: 24px; }
.ad-lead .ad { height: 90px; }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px 20px; padding-top: 24px; }
.ad-rowfull { grid-column: 1 / -1; }
.ad-rowfull .ad { height: 90px; }
.rcard { display: block; color: inherit; background: var(--nav); border-radius: 10px; overflow: hidden; transition: transform .12s; }
.rcard:hover { transform: translateY(-2px); }
.rcard__c { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; color: #5b626b; font: 400 12px ui-monospace,monospace; background: repeating-linear-gradient(135deg,#21262b 0 10px,#272c31 10px 20px); }
.rcard__b { padding: 14px 16px 16px; }
.rcard__t { color: var(--text); font-size: 14.5px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rcard__ex { color: var(--muted); font-size: 12.5px; line-height: 1.6; margin: 8px 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcard__meta { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; }
.rcard__rel { color: var(--accent-2); } .rcard__date { color: var(--faint); }

/* ---------- 影评详情 ---------- */
.article-layout { display: flex; gap: 28px; padding-block: 24px 40px; align-items: flex-start; }
.article-ad { width: 180px; flex: none; position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.article-ad .label { font-size: 11px; color: var(--muted-2); }
.article-ad .v { aspect-ratio: 1/2; } .article-ad .rect { aspect-ratio: 6/5; }
.article { flex: 1; min-width: 0; max-width: 720px; margin: 0 auto; }
.article h1 { color: #fff; font-size: 28px; font-weight: 700; line-height: 1.4; margin: 12px 0 0; }
.article__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 12.5px; margin: 14px 0 24px; }
.article__meta .who { display: flex; align-items: center; gap: 8px; }
.article__meta .who .av { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.article__body p { color: #c7ccd2; font-size: 15.5px; line-height: 1.95; margin: 0 0 20px; }
.article__body h2 { color: #fff; font-size: 19px; font-weight: 700; margin: 32px 0 14px; }
.article__fig { aspect-ratio: 16/9; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #5b626b; font: 400 12px ui-monospace,monospace; background: repeating-linear-gradient(135deg,#21262b 0 10px,#272c31 10px 20px); margin: 8px 0 6px; }
.article__figcap { color: var(--faint); font-size: 12px; text-align: center; margin-bottom: 24px; }
.article__ad { margin: 8px 0 28px; }

/* ---------- 详情页全宽关联卡带（同女优作品 / 同题材热门，源稿：横滑 + 圆箭头 + 内插赞助小卡） ---------- */
.dshelf-head { padding-block: 48px 16px; padding-inline: var(--gut); }
.dshelf-head h2 { font-size: 19px; font-weight: 700; margin: 0; color: #fff; }
.dshelf { position: relative; padding-block: 0 8px; padding-inline: var(--gut); }
.dshelf__nav { position: absolute; top: 36%; transform: translateY(-50%); z-index: 6; width: 36px; height: 36px; border-radius: 50%; background: rgba(20,22,25,.85); border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.dshelf__nav.l { left: calc(var(--gut) - 18px); } .dshelf__nav.r { right: calc(var(--gut) - 18px); }
.dshelf__scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 16px; overflow-x: auto; padding: 24px 0 210px; margin: -24px 0 -210px; scroll-behavior: smooth; }
.dshelf__scroll .vcard { width: 232px; }
.dshelf__scroll .vhover { width: 232px; }
.dshelf__ad { min-width: 0; border: 1px dashed rgba(255,255,255,.2); border-radius: 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 16/9; background: repeating-linear-gradient(135deg,#1a1d21 0 8px,#1d2125 8px 16px); color: var(--faint); font: 400 11px ui-monospace,monospace; }
.dshelf__ad span { font-size: 20px; }
@media (max-width:640px){ .dshelf__nav { display: none; } .dshelf__scroll { grid-auto-columns: 200px; padding-bottom: 24px; margin-bottom: 0; } .dshelf__scroll .vhover { display: none; } }

/* ---------- 列表页·头部变体（标签/合集/大分类/搜索/空状态） ---------- */
.lhead { padding-block: 8px 0; }
.lhead__kicker { font-size: 12px; color: var(--accent-2); letter-spacing: .04em; margin-bottom: 6px; }
.lhead__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.lhead__title h1 { font-size: 24px; font-weight: 700; color: #fff; margin: 0; }
.lhead__title .tagname { font-size: 24px; font-weight: 700; color: #fff; }
.lhead__sub { font-size: 13px; color: var(--muted); }
.lhead__intro { color: #aab0b8; font-size: 13.5px; line-height: 1.7; max-width: 760px; margin: 12px 0 0; }
.lhead__ops { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--accent-2); }
.headrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.headrow .label { font-size: 12.5px; color: var(--muted-2); margin-right: 4px; }
.headrow a { font-size: 12.5px; color: var(--text-2); background: var(--nav); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; }
.headrow a:hover, .headrow a.on { color: #fff; border-color: var(--accent); }
.restabs { display: flex; gap: 8px; margin-top: 12px; }
/* 搜索空状态兜底 */
.noresult { text-align: center; padding: 40px 20px 8px; }
.noresult__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--nav); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.noresult h3 { color: var(--text); font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.noresult p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 0 14px; }
.noresult .guess { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   搜索：常驻框 + 浮层联想(①②③) + 结果页(④⑤⑥) + 移动全屏(⑦)
   依据 设计稿/前台设计需求说明/搜索功能.html 1:1
   ============================================================ */
.search-wrap { position: relative; }
.search.focused { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,143,207,.16); }
.search.focused svg circle { stroke: var(--accent); }
.search.focused svg line { stroke: var(--accent); }
.search__clear { color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; padding-left: 4px; }
/* 背景压暗层（浮层态盖住当前页，不跳转） */
.search-dim { position: fixed; inset: 0; background: rgba(8,10,12,.55); z-index: 45; }
/* 下拉浮层（锚定在搜索框下方） */
.search-drop { position: absolute; top: calc(100% + 10px); right: 0; width: 420px; max-width: 90vw; background: var(--nav); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.55); overflow: hidden; z-index: 60; }
.search-sec { padding: 11px 0; }
.search-sec + .search-sec { border-top: 1px solid var(--line); }
.search-sec__head { display: flex; align-items: center; justify-content: space-between; padding: 3px 16px 8px; font-size: 12px; color: var(--muted-2); }
.search-sec__head .clear { color: var(--muted); cursor: pointer; }
.search-sec__head .badge2 { margin-left: 4px; font-size: 10px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 6px; }
.srow { display: flex; align-items: center; gap: 11px; padding: 8px 16px; cursor: pointer; }
.srow:hover, .srow.hl { background: #1e2228; }
.srow .ic { width: 24px; flex: none; text-align: center; color: var(--muted); }
.srow .av { width: 28px; height: 28px; border-radius: 50%; flex: none; background: linear-gradient(135deg,#3a4046,#262b30); }
.srow .tagic { width: 28px; height: 28px; border-radius: 7px; flex: none; display: flex; align-items: center; justify-content: center; background: #1e2a1e; color: #8fcf9a; font-size: 13px; }
.srow .codeic { width: 28px; height: 28px; border-radius: 7px; flex: none; display: flex; align-items: center; justify-content: center; background: #15212e; color: #6fa8dc; font-size: 9px; }
.srow .main { min-width: 0; flex: 1; }
.srow .t1 { font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow .t1 b { color: var(--accent-2); font-weight: 700; }
.srow .t2 { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.srow .hot { font-size: 10.5px; color: var(--accent-2); background: var(--chip-bg); border-radius: 4px; padding: 1px 6px; flex: none; }
.srow .n { font-size: 11.5px; color: var(--muted); flex: none; }
.srow .del { color: var(--faint); font-size: 13px; flex: none; }
.hotrow { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px; }
.hotchip { display: inline-flex; align-items: center; gap: 5px; background: var(--surface); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; color: var(--text-2); cursor: pointer; }
.hotchip .r { color: var(--accent-2); font-weight: 700; }

/* 结果页（④⑤⑥） */
.sres-head { padding-block: 8px 0; }
.sres-head h1 { font-size: 22px; font-weight: 700; color: #fff; margin: 0; }
.sres-head h1 b { color: var(--accent-2); }
.sres-head .sub { font-size: 13px; color: var(--muted); margin-top: 5px; }
.sres-sec { margin-top: 24px; }
.sres-sec__head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: #fff; }
.sres-sec__head .hit { font-size: 11px; font-weight: 400; color: #6fa8dc; background: #15212e; border-radius: 4px; padding: 1px 7px; }
.sres-sec__head .note { font-size: 12px; font-weight: 400; color: var(--muted); }
.actress-hit { display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 10px; padding: 11px 18px 11px 11px; }
.actress-hit .av { width: 52px; height: 52px; border-radius: 50%; flex: none; background: linear-gradient(135deg,#3a4046,#262b30); }
.actress-hit .nm { display: block; color: #fff; font-size: 15px; font-weight: 600; }
.actress-hit .meta { font-size: 12px; color: var(--muted); }
.actress-hit .meta .go { color: var(--accent-2); }
/* 空结果纠错 */
.sres-empty { text-align: center; padding: 32px 20px 8px; }
.sres-empty__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--nav); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.sres-empty h3 { color: var(--text); font-size: 16px; font-weight: 600; margin: 0; }
.sres-empty .didyou { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.sres-empty .didyou b { color: var(--accent-2); cursor: pointer; }

/* 移动全屏搜索（⑦） */
.msearch { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: none; flex-direction: column; }
.msearch.show { display: flex; }
.msearch__bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--nav); border-bottom: 1px solid var(--line); }
.msearch__back { font-size: 20px; color: var(--text-2); cursor: pointer; }
.msearch__box { flex: 1; display: flex; align-items: center; gap: 9px; background: var(--surface-2); border-radius: 10px; padding: 0 13px; height: 38px; }
.msearch__box input { flex: 1; border: 0; background: transparent; outline: none; color: var(--text); font-size: 14px; }
.msearch__go { color: var(--accent-2); font-size: 14px; cursor: pointer; }
.msearch__body { flex: 1; overflow-y: auto; }
@media (min-width: 641px) { .msearch { display: none !important; } }

/* ---------- 列表筛选·紧凑单行横条（更新版：排序+属性同行，可换行；移动收抽屉） ---------- */
.filterbar { margin-top: 16px; background: var(--nav); border: 1px solid rgba(255,255,255,.06); border-radius: 8px; padding: 10px 16px; }
.filterbar__row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.filterbar .lbl { font-size: 12px; color: var(--muted-2); flex: none; }
.filterbar .lbl.ml { margin-left: 2px; }
.filterbar .div { width: 1px; height: 18px; background: var(--line-2); flex: none; }
.filterbar .sp { flex: 1; min-width: 8px; }
.filterbar .summary { font-size: 12px; color: var(--chip-fg); flex: none; }
.filterbar .reset { font-size: 12px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; flex: none; }
.filterbar .reset:hover { color: var(--text-2); }
/* 移动端：横条收成 排序 + 「筛选」按钮 */
.fb-mob { display: none; align-items: center; gap: 8px; margin-top: 16px; }
.fb-mob .sp { flex: 1; }
.fb-filterbtn { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #fff; background: var(--surface-2); border: 1px solid var(--accent); border-radius: 999px; padding: 6px 14px; flex: none; cursor: pointer; }
.fb-filterbtn .cnt { font-size: 10px; color: #fff; background: var(--accent); border-radius: 999px; min-width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.fb-filterbtn .cnt:empty { display: none; }
/* 筛选抽屉（移动） */
.filter-drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.filter-drawer.show { display: block; }
.filter-drawer__dim { position: absolute; inset: 0; background: rgba(8,10,12,.6); }
.filter-drawer__sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--nav); border-radius: 16px 16px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 80vh; overflow-y: auto; }
.filter-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.filter-drawer__head h3 { font-size: 15px; font-weight: 700; color: #fff; margin: 0; }
.filter-drawer__head .x { color: var(--muted); font-size: 18px; cursor: pointer; }
.fd-group { padding: 10px 0; }
.fd-group + .fd-group { border-top: 1px solid rgba(255,255,255,.05); }
.fd-group .glbl { font-size: 12.5px; color: var(--muted-2); margin-bottom: 8px; }
.fd-group .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-drawer__foot { display: flex; gap: 12px; margin-top: 16px; }
.filter-drawer__foot .btn { flex: 1; justify-content: center; padding: 11px; }
@media (max-width: 640px) {
  .filterbar { display: none; }
  .fb-mob { display: flex; }
}
@media (min-width: 641px) {
  .fb-mob, .filter-drawer { display: none !important; }
}
