:root {
  color-scheme: dark;
  --paper: #06060c;
  --panel: #0d0d18;
  --panel-alt: #121222;
  --ink: #e9e7ff;
  --ink-soft: #b6b2d6;
  --muted: #7b76a6;
  --line: #23234a;
  --line-strong: #3b3b72;
  --link: #38e8ff;
  --link-hover: #ff3fd8;
  --accent: #ff2bd6;
  --gold: #b7ff3c;
  --cyan: #38e8ff;
  --radius: 2px;
  --shadow: 0 0 18px rgba(56, 232, 255, 0.08);
  --glow-cyan: 0 0 12px rgba(56, 232, 255, 0.45);
  --glow-magenta: 0 0 14px rgba(255, 43, 214, 0.4);
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(900px 520px at 10% -12%, rgba(255, 43, 214, 0.16), transparent 62%),
    radial-gradient(820px 520px at 92% -4%, rgba(56, 232, 255, 0.13), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: auto, auto, 34px 34px, 34px 34px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* 原先这里是全屏 CRT 扫描线（body::after, z-index 9999）。
   它盖在所有内容上，女优头像/封面这些图片也会被划上横线，已去掉。
   背景的网格保留，赛博朋克感不靠这层扫描线。 */

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; text-shadow: var(--glow-magenta); }

img { max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

p { margin: 0 0 0.9em; }
ul, ol { margin: 0; padding-left: 1.4em; }

::selection { background: rgba(255, 43, 214, 0.35); color: #fff; }

/* ---------- 溢出防护 ---------- */
img, svg, video, iframe { max-width: 100%; }
body { overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }
.table-wrap { max-width: 100%; }
.entry-layout > * { min-width: 0; }
.entry-layout > .infobox, .entry-layout > .side-box { min-width: 0; }
.entity-sources a, .work-full-title, .entity-summary { overflow-wrap: anywhere; }
.entry-body pre, .entry-body table { max-width: 100%; overflow-x: auto; }
.pager { max-width: 100%; }

/* ---------- header ---------- */
.site-header {
  background: rgba(6, 6, 12, 0.86);
  border-bottom: 1px solid var(--line);
  /* logo 与搜索框跟着页面滚走，只让下面的导航条吸顶 */
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--ink); }

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 8px rgba(56, 232, 255, 0.55)) drop-shadow(0 0 14px rgba(255, 43, 214, 0.35));
}

.brand-mark img { display: block; width: 100%; height: 100%; }

.brand-text { display: flex; align-items: center; line-height: 1.2; }

/* 站点名：渐变字 + 霓虹光晕 + 扫描线，悬停时来一下故障闪 */
.brand-title {
  position: relative;
  display: inline-block;
  padding: 2px 0 5px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.05;
  background: linear-gradient(96deg, #38e8ff 0%, #9b8cff 44%, #ff2bd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(56, 232, 255, 0.6)) drop-shadow(0 0 20px rgba(255, 43, 214, 0.32));
  animation: brand-pulse 5.5s ease-in-out infinite;
}
/* 底部扫描线：右端切角，像终端里的进度条 */
.brand-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(155, 140, 255, 0.6) 55%, transparent 78%, var(--accent));
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  opacity: 0.8;
}
/* 故障副本：青色 + 品红错位，平时隐藏 */
.brand-title::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  padding: inherit;
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
  background: none;
  text-shadow: 2px 0 var(--accent);
  opacity: 0;
  pointer-events: none;
}
.brand:hover .brand-title::before { animation: brand-glitch 0.7s steps(1, end) 1; }
.brand:hover .brand-title { filter: drop-shadow(0 0 9px rgba(56, 232, 255, 0.85)) drop-shadow(0 0 26px rgba(255, 43, 214, 0.5)); }

@keyframes brand-pulse {
  0%, 100% { opacity: 1; }
  48% { opacity: 1; }
  50% { opacity: 0.86; }
  52% { opacity: 1; }
  78% { opacity: 0.94; }
}

@keyframes brand-glitch {
  0% { opacity: 0; transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  12% { opacity: 0.9; transform: translate(-2px, -1px); clip-path: inset(0 0 58% 0); }
  22% { opacity: 0; }
  38% { opacity: 0.85; transform: translate(2px, 1px); clip-path: inset(54% 0 0 0); }
  50% { opacity: 0; }
  68% { opacity: 0.75; transform: translate(-1px, 0); clip-path: inset(26% 0 44% 0); }
  80%, 100% { opacity: 0; transform: translate(0, 0); clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-title, .brand:hover .brand-title::before { animation: none; }
  .brand-title::before { display: none; }
}

.header-search { display: flex; align-items: stretch; }
.header-search input {
  width: 260px;
  border: 1px solid var(--line-strong);
  border-right: 0;
  background: #0a0a14;
  padding: 8px 10px;
  font: inherit;
  color: var(--ink);
  border-radius: var(--radius) 0 0 var(--radius);
}
.header-search input:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.header-search button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #06060c;
  padding: 0 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.header-search button:hover { background: var(--cyan); border-color: var(--cyan); box-shadow: var(--glow-cyan); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10001;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(56, 232, 255, 0.28);
  background: rgba(6, 6, 12, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 18px rgba(56, 232, 255, 0.1);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 2px;
  overflow-x: auto;
}
/* 导航项均分整条导航的宽度 */
.nav-inner .nav-link { flex: 1 1 0; min-width: 0; text-align: center; }
.nav-inner .nav-search { flex: 0 0 44px; display: grid; place-items: center; }
.nav-search svg { width: 15px; height: 15px; display: block; }
.nav-link {
  display: block;
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--cyan); text-decoration: none; background: rgba(56, 232, 255, 0.07); text-shadow: var(--glow-cyan); }
.nav-link.is-active { color: var(--cyan); border-bottom-color: var(--cyan); font-weight: 700; text-shadow: var(--glow-cyan); }
.nav-admin { color: var(--gold); }

/* ---------- layout ---------- */
.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.sidebar { position: sticky; top: 54px; display: flex; flex-direction: column; gap: 14px; }

.side-box {
  background: rgba(13, 13, 24, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.side-box h2 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line-strong);
}
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li + li { border-top: 1px dotted var(--line); }
.side-list a { display: block; padding: 5px 0; font-size: 13px; }

.kana-mini { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.kana-mini a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 26px;
  border: 1px solid var(--line);
  background: var(--panel-alt);
  font-size: 12px;
  border-radius: 2px;
}
.kana-mini a:hover { border-color: var(--cyan); color: var(--cyan); text-decoration: none; box-shadow: var(--glow-cyan); }

.side-note p { font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }
.side-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); border-top: 1px dotted var(--line); padding-top: 8px; }

.content { min-width: 0; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-strong);
  background: #08080f;
  margin-top: 24px;
}
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 22px 20px 34px; }
.footer-inner p { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-meta { font-family: var(--mono); font-size: 11px; }

/* ---------- generic ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
  text-shadow: var(--glow-magenta);
}

.page-head { margin-bottom: 20px; }
.page-head h1 { font-size: 30px; text-shadow: 0 0 20px rgba(56, 232, 255, 0.28); }
.page-sub { color: var(--ink-soft); margin-top: 6px; }

.breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 4px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb .sep { color: var(--line-strong); }

.section { margin-top: 34px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-strong); }
.section-head h2 { font-size: 20px; }
.more { font-size: 12px; white-space: nowrap; }

.empty { color: var(--muted); font-size: 13px; padding: 14px; background: var(--panel-alt); border: 1px dashed var(--line-strong); }

.btn {
  display: inline-block;
  padding: 8px 18px;
  background: var(--accent);
  color: #06060c;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}
.btn:hover { background: var(--cyan); border-color: var(--cyan); color: #06060c; text-decoration: none; box-shadow: var(--glow-cyan); }
.btn-small { padding: 5px 12px; font-size: 12px; }
.btn-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(56, 232, 255, 0.07); box-shadow: none; }

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 999px;
  vertical-align: middle;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}
.badge-active { color: #6dffb0; border-color: rgba(109, 255, 176, 0.5); background: rgba(109, 255, 176, 0.09); }
.badge-retired { color: #ffb84d; border-color: rgba(255, 184, 77, 0.5); background: rgba(255, 184, 77, 0.09); }
.badge-hiatus { color: #b48cff; border-color: rgba(180, 140, 255, 0.5); background: rgba(180, 140, 255, 0.09); }

/* ---------- home ---------- */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 22px;
  background: rgba(13, 13, 24, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255, 43, 214, 0.1), inset 0 0 60px rgba(56, 232, 255, 0.04);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--link));
  box-shadow: 0 0 18px rgba(255, 43, 214, 0.6);
}
.hero-text h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; margin-bottom: 14px; letter-spacing: 0.02em; text-shadow: 0 0 24px rgba(56, 232, 255, 0.3); }
.hero-lead { color: var(--ink-soft); max-width: 46em; }
.hero-search { display: flex; max-width: 480px; margin: 18px 0 12px; }
.hero-search input {
  flex: 1;
  border: 1px solid var(--line-strong);
  border-right: 0;
  padding: 11px 13px;
  font: inherit;
  background: #0a0a14;
  color: var(--ink);
  border-radius: var(--radius) 0 0 var(--radius);
}
.hero-search input:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.hero-search button { border: 1px solid var(--accent); background: var(--accent); color: #06060c; padding: 0 20px; font: inherit; font-weight: 700; cursor: pointer; border-radius: 0 var(--radius) var(--radius) 0; }
.hero-search button:hover { background: var(--cyan); border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.hero-stats { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.hero-stats strong { color: var(--cyan); font-size: 16px; text-shadow: var(--glow-cyan); }

.hero-panel { border-left: 1px solid var(--line); padding-left: 22px; }
.hero-panel h2 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.hero-list { list-style: none; padding: 0; }
.hero-list li + li { border-top: 1px dotted var(--line); }
.hero-list a { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 8px 0; font-size: 12px; color: var(--ink-soft); }
.hero-list a:hover { color: var(--cyan); text-decoration: none; }
.hero-code { font-family: var(--mono); font-size: 11px; color: var(--accent); }

.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.work-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.work-card:hover { border-color: rgba(56, 232, 255, 0.5); box-shadow: 0 0 20px rgba(56, 232, 255, 0.14); transform: translateY(-1px); }
.work-code { display: block; font-family: var(--mono); font-size: 11px; color: var(--cyan); margin-bottom: 4px; }
.work-title { display: block; color: var(--ink); font-size: 13px; line-height: 1.5; min-height: 58px; }
.work-card .work-title:hover { color: var(--link-hover); text-decoration: none; }
.work-meta { margin: 6px 0 0; font-family: var(--mono); font-size: 10px; color: var(--muted); }

.actor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.actor-grid-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.actor-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; transition: border-color 0.15s, box-shadow 0.15s; }
.actor-card:hover { border-color: rgba(255, 43, 214, 0.45); box-shadow: 0 0 22px rgba(255, 43, 214, 0.12); }
.actor-card-link { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.actor-card-link:hover { text-decoration: none; color: var(--ink); }
.actor-avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(56, 232, 255, 0.06);
  border-radius: 2px;
  font-size: 21px;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
}
/* 管理员在列表里看到的头像：和女优页同一个来源，游客仍然是 46px 首字占位块 */
.actor-avatar.has-photo {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-color: rgba(56, 232, 255, 0.55);
  background: #000;
  box-shadow: 0 0 10px rgba(56, 232, 255, 0.25);
}
.actor-avatar.has-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-avatar {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #000;
}
.admin-avatar.is-empty { border-style: dashed; opacity: 0.35; }
.admin-avatar-cell { width: 54px; }
.actor-body { display: flex; flex-direction: column; min-width: 0; }
/* 长艺名/读音/事务所各占一行，超出省略，避免单张卡片把整行撑高 */
.actor-name,
.actor-kana,
.actor-meta,
.actor-agency { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.actor-name { font-size: 15px; font-weight: 600; }
.actor-kana { font-size: 11px; color: var(--muted); }
.actor-meta { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.actor-agency { font-size: 10px; color: var(--gold); }
/* 有头像的卡片（仅管理员）按 100px 头像定高，同排卡片高度一致 */
.actor-card:has(.actor-avatar.has-photo) .actor-card-link { min-height: 100px; }
/* 有头像时整卡定高：头像 100 + 内边距 28，长名字不会再把卡片撑高 */
.actor-card:has(.actor-avatar.has-photo) { min-height: 128px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.kana-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kana-grid a { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; padding: 8px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.kana-grid a:hover { border-color: var(--cyan); text-decoration: none; box-shadow: var(--glow-cyan); }
.kana-grid span { font-size: 16px; color: var(--ink); }
.kana-grid em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--muted); }

.link-list { list-style: none; padding: 0; }
.link-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted var(--line); font-size: 13px; }
.link-list span { font-family: var(--mono); font-size: 11px; color: var(--muted); }

.notice-box { background: var(--panel-alt); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 18px 20px; border-radius: var(--radius); }
.notice-box h2 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.notice-box p { font-size: 12px; color: var(--ink-soft); }

/* ---------- list filters ---------- */
.filter-bar { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 12px; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filter-group + .filter-group { margin-top: 9px; }
.filter-empty { font-size: 12px; color: var(--muted); }
.chip-more { border-style: dashed; }
.tag-list em { font-style: normal; font-family: var(--mono); font-size: 10px; opacity: 0.6; }
.filter-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-right: 6px; min-width: 44px; }
.chip { display: inline-block; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--ink-soft); background: var(--panel-alt); }
.chip:hover { border-color: var(--cyan); color: var(--cyan); text-decoration: none; }
.chip.is-active { background: var(--cyan); border-color: var(--cyan); color: #06060c; font-weight: 700; box-shadow: var(--glow-cyan); }
.chip em { font-style: normal; font-family: var(--mono); font-size: 10px; opacity: 0.7; }

/* ---------- entity pages ---------- */
.entity-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--accent), var(--link) 55%, transparent) 1;
  margin-bottom: 20px;
}
.entity-head h1 { font-size: 36px; line-height: 1.15; text-shadow: 0 0 22px rgba(56, 232, 255, 0.3); }
.entity-kana { color: var(--muted); font-size: 13px; margin-top: 4px; font-family: var(--mono); }
.entity-socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.entity-socials .social-icon {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--ink-soft); background: rgba(13, 13, 24, 0.72);
  transition: color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.entity-socials .social-icon:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: var(--glow-cyan); text-decoration: none; }
.entity-socials svg { width: 15px; height: 15px; display: block; }

.entity-summary { color: var(--ink-soft); margin-top: 10px; max-width: 60em; }
.entity-actions { display: flex; gap: 8px; flex-wrap: wrap; flex: 0 0 auto; }
.entity-head-main { flex: 1 1 auto; min-width: 0; }
.entity-title-row { display: flex; align-items: center; gap: 18px; min-width: 0; }
.entity-title-text { min-width: 0; flex: 1 1 auto; }

/* 管理员可见的 DMM 头像：赛博朋克切角边框，游客页面不渲染 */
.actress-avatar {
  margin: 0;
  position: relative;
  z-index: 10000;
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  padding: 2px;
  background: linear-gradient(135deg, var(--cyan), var(--accent) 55%, #7a2bff);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  filter: drop-shadow(0 0 10px rgba(56, 232, 255, 0.45)) drop-shadow(0 0 22px rgba(255, 43, 214, 0.22));
  overflow: hidden;
}
.actress-avatar::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(56, 232, 255, 0.35);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  pointer-events: none;
}
.actress-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  filter: saturate(1.08) contrast(1.04);
}

.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; }
.entry-main { min-width: 0; }
.entry-aside { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 54px; }

.entry-section { margin-top: 28px; }
.entry-section h2 { font-size: 19px; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); }
.count { font-family: var(--mono); font-size: 11px; color: var(--accent); font-weight: 400; }

.entry-body { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; font-size: 14px; }
.entry-body h2 { font-size: 18px; margin: 22px 0 8px; }
.entry-body h3 { font-size: 15px; margin: 18px 0 6px; }
.entry-body p:last-child { margin-bottom: 0; }
.entry-body ul, .entry-body ol { margin-bottom: 0.9em; }
.entry-body code { font-family: var(--mono); font-size: 12px; background: var(--panel-alt); border: 1px solid var(--line); padding: 1px 4px; border-radius: 2px; color: var(--cyan); }
.entry-body .md-image { border: 1px solid var(--line); border-radius: var(--radius); }
.entry-body .body-sources { margin: 14px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 11px; color: var(--muted); }
.entry-body .body-sources a { border-bottom: 1px dotted var(--line-strong); }

.toc { background: var(--panel-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 12px; }
.toc h2 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: 13px; }
.toc li { padding: 2px 0; }
.toc-level-3 { margin-left: 1em; }

.infobox { background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 26px rgba(255, 43, 214, 0.09); }
.infobox-head { background: linear-gradient(90deg, var(--accent), #7a2bff 55%, var(--cyan)); color: #06060c; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; padding: 7px 12px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 12px; table-layout: fixed; }
.info-table th, .info-table td { padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.info-table th { width: 34%; background: var(--panel-alt); color: var(--muted); font-weight: 500; white-space: nowrap; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* CID 来源角标：DMM 占九成，压低存在感；MGS 是少数派，用青色点出来 */
.cid-source {
  display: inline-block;
  margin-left: 6px;
  padding: 0 5px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 0.12em;
  color: var(--muted);
  vertical-align: 1px;
  user-select: none;
}
.cid-source-mgs {
  border-color: rgba(56, 232, 255, 0.5);
  background: rgba(56, 232, 255, 0.08);
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(56, 232, 255, 0.45);
}

.data-table { width: 100%; border-collapse: collapse; background: var(--panel); font-size: 12.5px; }
.data-table th, .data-table td { padding: 7px 9px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th { background: #101024; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: #0b0b16; }
.data-table tbody tr:hover { background: rgba(56, 232, 255, 0.07); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.works-table .col-code { font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.works-table .col-code a { color: var(--cyan); }
/* 标题放最后一列并吃掉剩余宽度，长标题自己换行，前面几列不再被挤出屏幕 */
.works-table .col-title { width: 100%; min-width: 120px; overflow-wrap: anywhere; }
.works-table .col-title a { display: block; }
.works-table .col-date { font-family: var(--mono); font-size: 11px; white-space: nowrap; color: var(--muted); }
.works-table .col-studio, .works-table .col-cast { white-space: nowrap; }
.works-table .cell-clip { display: block; overflow: hidden; text-overflow: ellipsis; }
.works-table .col-studio .cell-clip { max-width: 170px; }
.works-table .col-cast .cell-clip { max-width: 190px; }
.cast-more { margin-left: 4px; padding: 1px 5px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 10px; color: var(--muted); }

.code-title { font-family: var(--mono); font-size: 30px; letter-spacing: 0.04em; color: var(--cyan); text-shadow: var(--glow-cyan); }
.work-full-title { font-size: 15px; color: var(--ink-soft); }

/* 管理员专用的封面 / 截图区块，游客页面不会渲染 */
.admin-media { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 14px; background: rgba(255, 43, 214, 0.045); }
.admin-media h2 { border-bottom-color: var(--accent); }
.admin-media .count { color: var(--accent); font-family: var(--sans); letter-spacing: 0.06em; }
.media-grid { position: relative; z-index: 10000; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.media-grid figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.media-grid figure:hover { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.media-grid a { display: block; cursor: zoom-in; }
.media-grid img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; }
.media-cover { grid-column: 1 / -1; }
.media-cover img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.media-grid figcaption { font-family: var(--mono); font-size: 10px; color: var(--muted); padding: 4px 7px; border-top: 1px solid var(--line); }
.admin-media-note { margin-top: 10px; font-size: 11px; color: var(--muted); }

/* 作品正文：游客可见，留空时整段不渲染 */
.work-body { margin-bottom: 4px; }
/* 作品备注：只在管理员登录后的页面渲染 */
.admin-note { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 14px; background: rgba(255, 43, 214, 0.045); }
.admin-note h2 { border-bottom-color: var(--accent); }
.admin-note .count { color: var(--accent); font-family: var(--sans); letter-spacing: 0.06em; }
.admin-note-text { margin: 0; font-size: 13px; color: var(--ink-soft); white-space: pre-wrap; overflow-wrap: anywhere; }

/* 管理员看图灯箱：点击缩略图在当前页放大，←/→ 切换，Esc 关闭 */
html.lightbox-open, html.lightbox-open body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 10002; display: flex; align-items: center; justify-content: center; padding: 28px 64px 48px; background: rgba(4, 4, 10, 0.94); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(94vw, 1400px); max-height: 86vh; object-fit: contain; background: #000; border: 1px solid var(--line-strong); box-shadow: 0 0 40px rgba(56, 232, 255, 0.2); cursor: default; }
.lightbox-caption { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); letter-spacing: 0.05em; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(13, 13, 24, 0.86);
  color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; transition: color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.lightbox-close { top: 14px; right: 16px; font-size: 16px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
  .lightbox { padding: 20px 12px 44px; }
  .lightbox-close { top: 8px; right: 8px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

.cast-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cast-list li { background: var(--panel); border: 1px solid var(--line); padding: 6px 10px; border-radius: var(--radius); }
.cast-list a { font-weight: 700; }
.cast-list span { display: block; font-size: 10px; color: var(--muted); }

.co-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.co-list li { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--line); padding: 3px 0; font-size: 13px; }
.co-list span { font-family: var(--mono); font-size: 10px; color: var(--muted); }

.tag-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list a { display: inline-block; padding: 3px 9px; border: 1px solid var(--line); background: var(--panel-alt); border-radius: 999px; font-size: 12px; }
.tag-list a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; box-shadow: var(--glow-magenta); }
.tag-list.name-list li { padding: 3px 9px; border: 1px solid var(--line); background: var(--panel-alt); border-radius: 999px; font-size: 12px; color: var(--ink-soft); }

.auto-note { margin-top: 10px; font-size: 11px; color: var(--muted); }
.entity-sources { margin-top: 8px; font-size: 12px; color: var(--muted); }
.entity-sources a { border-bottom: 1px dotted var(--line-strong); }
.entity-sources a:hover { border-color: var(--accent); }

.sources ul { font-size: 12px; }
.updated { margin-top: 22px; font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.08em; }

/* ---------- taxonomy / search ---------- */
.taxonomy-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.taxonomy-grid li a { display: flex; flex-direction: column; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); height: 100%; transition: border-color 0.15s, box-shadow 0.15s; }
.taxonomy-grid li a:hover { border-color: var(--cyan); text-decoration: none; box-shadow: 0 0 20px rgba(56, 232, 255, 0.12); }
.taxonomy-grid strong { font-size: 16px; font-weight: 700; }
.taxonomy-grid span { font-size: 12px; color: var(--ink-soft); }
.taxonomy-grid em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--accent); margin-top: auto; }

.search-page-form { display: flex; max-width: 620px; margin-bottom: 14px; }
.search-page-form input { flex: 1; border: 1px solid var(--line-strong); border-right: 0; padding: 10px 12px; font: inherit; background: #0a0a14; color: var(--ink); border-radius: var(--radius) 0 0 var(--radius); }
.search-page-form input:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.search-page-form button { border: 1px solid var(--accent); background: var(--accent); color: #06060c; padding: 0 18px; font: inherit; font-weight: 700; cursor: pointer; border-radius: 0 var(--radius) var(--radius) 0; }
.search-page-form button:hover { background: var(--cyan); border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.search-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }

.prose { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; max-width: 820px; }
.prose h2 { font-size: 19px; margin: 24px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.prose p, .prose li { color: var(--ink-soft); }
.prose code { font-family: var(--mono); font-size: 12px; background: var(--panel-alt); padding: 1px 4px; border: 1px solid var(--line); color: var(--cyan); }

.not-found { background: var(--panel); border: 1px solid var(--line); padding: 48px 32px; text-align: center; border-radius: var(--radius); }
.not-found h1 { font-size: 28px; margin-bottom: 8px; color: var(--accent); text-shadow: var(--glow-magenta); }

/* ---------- admin ---------- */
.admin-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.admin-stats { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.admin-stats li { display: flex; flex-direction: column; gap: 2px; min-width: 108px; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-stats strong { font-family: var(--mono); font-size: 20px; color: var(--cyan); }
.admin-stats span { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.admin-search { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.admin-search input { flex: 1 1 260px; min-width: 0; padding: 8px 12px; background: var(--panel-alt); border: 1px solid var(--line-strong); color: var(--ink); border-radius: var(--radius); }
.admin-search input:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.admin-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* 更新新作的运行日志：深色面板 + 等宽字体，别用浅色底（字是浅色的会看不清） */
.log-box {
  margin: 8px 0 0;
  padding: 12px;
  max-height: 420px;
  overflow: auto;
  background: var(--panel-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}
.inline { display: inline; margin: 0; }
.admin-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.admin-form.narrow { max-width: 360px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.field span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.field input, .field textarea, .field select { border: 1px solid var(--line-strong); background: #0a0a14; padding: 7px 9px; font: inherit; font-size: 13px; border-radius: var(--radius); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.check { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-soft); }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.form-actions { display: flex; gap: 8px; margin: 8px 0 0; }
.form-error { background: rgba(255, 43, 214, 0.12); border: 1px solid rgba(255, 43, 214, 0.55); color: #ff9be8; padding: 9px 12px; border-radius: var(--radius); font-size: 13px; }
.admin-row-actions { display: flex; gap: 10px; white-space: nowrap; }
.link-danger { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; color: var(--accent); cursor: pointer; }

/* 后台头像编辑：左侧预览，右侧直链 + 上传 */
.avatar-editor { display: flex; gap: 18px; align-items: flex-start; margin: 4px 0 18px; padding: 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--panel-alt); }
.avatar-editor-preview { flex: 0 0 auto; }
.avatar-editor .actress-avatar { width: 150px; height: 150px; }
.avatar-editor-fields { flex: 1 1 auto; min-width: 0; }
.avatar-source { margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.avatar-source strong { color: var(--cyan); font-weight: 500; }
.avatar-editor-fields .field { max-width: 520px; margin-bottom: 8px; }
.avatar-editor-fields .admin-hint { margin: 0 0 12px; }
.avatar-upload-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.avatar-upload-status { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.avatar-upload-status.is-ok { color: var(--cyan); }
.avatar-upload-status.is-error { color: var(--accent); }
.avatar-empty { display: flex; align-items: center; justify-content: center; width: 150px; height: 150px; margin: 0; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); font-size: 12px; }

@media (max-width: 720px) {
  .avatar-editor { flex-direction: column; }
}
.link-danger:hover { text-decoration: underline; }

/* ---------- adult gate ---------- */
.gate-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background-color: #04040a;
  background-image:
    radial-gradient(700px 420px at 20% 10%, rgba(255, 43, 214, 0.18), transparent 60%),
    radial-gradient(700px 420px at 85% 85%, rgba(56, 232, 255, 0.16), transparent 60%);
}
.gate-card {
  max-width: 520px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 34px;
  box-shadow: 0 0 50px rgba(56, 232, 255, 0.14), 10px 10px 0 rgba(255, 43, 214, 0.16);
}
.gate-card h1 { font-size: 28px; margin-bottom: 12px; text-shadow: 0 0 20px rgba(56, 232, 255, 0.3); }
.gate-card p { color: var(--ink-soft); }
.gate-note { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.gate-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  /* 单列时先正文后侧栏，避免手机上一进页面就是分类列表 */
  /* flex 列方向默认 align-items: start 会让子项按 max-content 铺开，宽表格会把页面撑出 100vw */
  .page-shell { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding-top: 16px; }
  .content { order: 1; min-width: 0; }
  .sidebar { order: 2; }
  .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar .side-box { flex: 1 1 200px; }
  .home-hero { grid-template-columns: 1fr; }
  .hero-panel { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 16px; }
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .actor-grid, .actor-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .entry-layout { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  /* 移动端把侧栏拆开，基本情报排在正文和作品列表之前 */
  .entry-aside { display: contents; position: static; }
  .entry-aside .infobox { order: 1; }
  .entry-main { order: 2; }
  .entry-aside .side-box { order: 3; }
  .two-col { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .header-inner { padding: 12px 14px 10px; }
  .nav-inner { flex-wrap: nowrap; gap: 0; padding: 0 8px; scrollbar-width: none; }
  .nav-inner::-webkit-scrollbar { display: none; }
  .nav-link { padding: 9px 8px; font-size: 11.5px; letter-spacing: 0.02em; }
  .nav-inner .nav-link { padding: 9px 4px; }
  .nav-inner .nav-search { flex: 0 0 36px; }
  .page-shell { padding: 14px 14px 36px; }
  /* 分类在导航里已经有了，手机上不再重复一块 */
  .side-categories { display: none; }
  .entry-body { padding: 14px 16px; }
  .entry-section { margin-top: 22px; }
  .info-table th { width: 30%; }
  .header-search { min-width: 0; }
  .header-search input { width: auto; flex: 1; min-width: 0; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actor-grid, .actor-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entity-head { flex-direction: column; }
  .entity-actions { align-self: flex-end; }
  .entity-head h1 { font-size: 30px; }
  .entity-title-row { gap: 12px; }
  .actress-avatar { width: 120px; height: 120px; }
  .taxonomy-grid { grid-template-columns: 1fr; }
  .kana-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .co-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  /* 窄屏放不下五列：厂牌可以先让位（作品详情页仍有），作品标题保持完整 */
  .works-table th.col-studio, .works-table td.col-studio { display: none; }
  .works-table .col-cast .cell-clip { max-width: 88px; }
}

@media (max-width: 560px) {
  /* 再窄就只留番号、发行日和标题 */
  .works-table th.col-cast, .works-table td.col-cast { display: none; }
  .works-table .col-title { min-width: 0; }
}

@media (max-width: 480px) {
  .work-grid, .actor-grid, .actor-grid-wide { grid-template-columns: 1fr; }
  .kana-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-mark { width: 38px; height: 38px; }
  .brand-title { font-size: 19px; letter-spacing: 0.1em; }
  .entity-head h1 { font-size: 26px; }
  .actress-avatar { width: 104px; height: 104px; }
  .page-head h1 { font-size: 25px; }
}

/* 分页 */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 22px 0 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.pager-top .pager { margin: 0 0 10px; }
.pager a, .pager-current, .pager-step.is-disabled { padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-soft); }
.pager a:hover { border-color: var(--cyan); color: var(--cyan); text-shadow: var(--glow-cyan); text-decoration: none; }
.pager-current { border-color: var(--accent); color: var(--accent); background: rgba(255, 43, 214, 0.1); box-shadow: var(--glow-magenta); }
.pager-step.is-disabled { opacity: 0.35; }
.pager-gap { color: var(--muted); padding: 0 2px; }
.pager-meta { margin-left: auto; color: var(--muted); font-size: 11px; }
