/* roulang page: index */
:root {
  --bg-0: #4A2048;
  --bg-1: #1A101C;
  --bg-2: #2A1620;
  --surface: #241620;
  --inset: #1A101C;
  --line: rgba(232,168,150,0.18);
  --line-strong: rgba(232,168,150,0.38);
  --berry: #C7367A;
  --clay: #D4846A;
  --pine: #2FBF9B;
  --text: #F6F1F3;
  --muted: #CDBBC4;
  --ink: #1A101C;
  --radius: 24px;
  --shadow: 0 10px 28px rgba(74, 32, 40, 0.28);
  --pad: 24px;
  --side: 260px;
  --top: 76px;
  --gap: 18px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: linear-gradient(165deg, var(--bg-0) 0%, var(--bg-1) 48%, var(--bg-2) 100%);
  background-attachment: fixed;
  padding-bottom: 96px;
}
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, summary { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--berry); color: #fff; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
}
.skip:focus { top: 12px; }
.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--top);
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  min-height: var(--top);
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
}
.logo {
  flex: 0 1 auto;
  max-width: 16em;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  color: var(--text);
}
.logo:hover { color: var(--clay); }
.search-wrap {
  flex: 1 1 240px;
  max-width: 460px;
  position: relative;
}
.search {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--inset);
  color: var(--text);
  padding: 0 16px 0 42px;
  line-height: 1.4;
}
.search::placeholder { color: var(--muted); }
.search-glyph {
  position: absolute;
  left: 16px;
  top: 13px;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.head-tools, .icon-row { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.ver-chip, .lang summary, .icon-btn, .chip, .btn, .text-btn, .toc-link, .region, .acc-btn {
  min-height: 44px;
}
.ver-chip, .lang summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(47, 191, 155, 0.35);
  background: #13241f;
  color: var(--pine);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1;
}
.ver-chip { cursor: pointer; }
.ver-chip.is-on { box-shadow: inset 0 0 0 1px var(--pine); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; }
.lang summary::-webkit-details-marker { display: none; }
.lang p {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 8px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--pine);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
}
.icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}
.icon-btn svg { width: 18px; height: 18px; }
.search-empty {
  display: none;
  margin: 8px 12px 0;
  color: var(--muted);
  font-size: 14px;
}
.doc-side {
  position: fixed;
  left: 0;
  top: var(--top);
  width: var(--side);
  height: calc(100vh - var(--top));
  overflow: auto;
  padding: 18px 12px 48px;
  background: var(--bg-1);
  border-right: 1px solid var(--line);
  z-index: 20;
}
.side-label, .toc-label {
  margin: 8px 12px;
  color: var(--muted);
  font-size: 13px;
}
.side-nav a, .toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 14px;
  color: var(--muted);
}
.side-nav a { min-height: 44px; margin-bottom: 4px; }
.side-nav a:hover, .toc-link:hover { background: rgba(199, 54, 122, 0.14); color: var(--text); }
.side-nav a.is-active, .toc-link.is-active {
  background: rgba(199, 54, 122, 0.2);
  color: var(--text);
}
.idx {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--pine);
  font-size: 12px;
  min-width: 1.8em;
}
main { display: block; }
.section { padding: 64px 0; }
.section.alt {
  background: rgba(36, 22, 32, 0.72);
  box-shadow: inset 0 1px 0 rgba(232,168,150,0.08), inset 0 -1px 0 rgba(232,168,150,0.08);
}
.section-head { margin-bottom: 22px; }
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}
h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
  font-weight: 700;
  max-width: 12em;
}
h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
  font-weight: 700;
}
h3 { font-size: 20px; line-height: 1.45; font-weight: 700; }
.sub, .desc { max-width: 36em; }
.sub { margin-top: 12px; color: var(--text); font-size: 18px; }
.desc { margin-top: 12px; color: var(--muted); }
.sheet {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
a.sheet:hover, .sheet.hoverable:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--gap);
  align-items: stretch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, filter .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); filter: brightness(0.98); }
.btn-primary {
  background: linear-gradient(100deg, var(--berry), var(--clay));
  color: #fff8f6;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(212, 132, 106, 0.65);
}
.btn-dark { background: var(--ink); color: var(--text); border-color: var(--line); }
.text-btn {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-weight: 700;
  border-bottom: 1px solid var(--clay);
}
.text-btn:hover { color: var(--clay); }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #13241f;
  color: var(--pine);
  border: 1px solid rgba(47, 191, 155, 0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1;
}
.hero-kicker { display: flex; gap: 8px; margin-bottom: 12px; }
.player {
  background: var(--inset);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}
.player-top, .player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.player-stage {
  position: relative;
  min-height: 230px;
  border-radius: 16px;
  overflow: hidden;
  background: #140d14;
}
.poster, .gate-note { min-height: 230px; }
.poster {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px;
  padding: 8px;
  height: 100%;
}
.swatch {
  border-radius: 14px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-weight: 700;
  min-height: 96px;
}
.swatch.eu { grid-row: span 2; background: linear-gradient(160deg, #C7367A, #4A2048); }
.swatch.jp { background: linear-gradient(160deg, #D4846A, #4A2048); }
.swatch.kr { background: linear-gradient(160deg, #8C3A55, #2A1620); }
.gate-note {
  display: none;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--text);
}
body.is-gated .gated-visual { display: none !important; }
body.is-gated .gate-note { display: grid; }
.scrub {
  height: 8px;
  border-radius: 999px;
  background: rgba(232,168,150,0.16);
  overflow: hidden;
}
.scrub span {
  display: block;
  width: 34%;
  height: 100%;
  background: linear-gradient(90deg, var(--berry), var(--clay));
}
.stat-rail, .mini-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.mini-stats { grid-template-columns: 1fr; }
.stat-item {
  padding: 20px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--pine);
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
}
.cap { color: var(--muted); }
.rail {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--gap);
}
.stack { display: grid; gap: var(--gap); }
.point-card h3 { margin-bottom: 8px; }
.console {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: var(--gap);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--inset);
  color: var(--text);
}
.chip.is-on {
  background: linear-gradient(100deg, var(--berry), var(--clay));
  border-color: transparent;
  color: #fff8f6;
}
.preview {
  background: var(--inset);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 16px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.preview-visual {
  flex: 1;
  min-height: 120px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(199,54,122,0.85), rgba(74,32,72,0.2) 42%, rgba(212,132,106,0.8));
}
.preview-copy { color: var(--text); max-width: 36em; }
.region-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 18px;
}
.region {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: var(--inset);
  border: 1px solid var(--line);
  min-height: 180px;
}
.region:hover { border-color: var(--line-strong); transform: translateY(-2px); transition: .2s ease; }
.region strong { font-size: 20px; }
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 0 18px 18px;
  border-left: 1px solid var(--line);
  position: relative;
}
.step .idx { font-size: 20px; }
.voice {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: var(--gap);
}
blockquote {
  margin: 0;
  padding: 8px 0 8px 16px;
  border-left: 3px solid var(--berry);
  font-size: 22px;
  line-height: 1.7;
  max-width: 20em;
}
.who { margin-top: 14px; color: var(--muted); }
.cmp { display: grid; gap: 8px; }
.cmp-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 1.3fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.cmp-head { background: transparent; color: var(--muted); border-style: dashed; }
.cmp-row strong { font-weight: 700; }
.timeline { display: grid; gap: 12px; }
.log-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: inherit;
}
.log-item small { display: block; color: var(--muted); margin-top: 4px; }
.log-item:hover { border-color: var(--line-strong); }
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: var(--gap);
}
.tile-lg { grid-row: span 2; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; }
.tile-lg .swatch-line {
  margin-top: 18px;
  height: 120px;
  border-radius: 16px;
  background: linear-gradient(120deg, #4A2048, #C7367A 55%, #D4846A);
}
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  background: transparent;
  border: 0;
  text-align: left;
}
.acc-btn h3 { font-size: 18px; }
.mark { width: 14px; height: 14px; position: relative; flex: 0 0 auto; }
.mark::before, .mark::after {
  content: "";
  position: absolute;
  background: var(--clay);
  border-radius: 2px;
}
.mark::before { left: 0; right: 0; top: 6px; height: 2px; }
.mark::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.acc-btn[aria-expanded="true"] .mark::after { display: none; }
.acc-panel { padding: 0 0 16px; color: var(--muted); max-width: 36em; }
.acc-panel[hidden] { display: none; }
.pref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.pref-col h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pref-col li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  min-height: 44px;
}
.face-now { margin-top: 14px; color: var(--pine); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.guard {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.guard li { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pine); flex: 0 0 auto; }
.close-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 18px;
  align-items: center;
  border-radius: var(--radius);
  padding: 32px var(--pad);
  background: linear-gradient(100deg, #4A2048 0%, #C7367A 62%, #D4846A 100%);
  box-shadow: var(--shadow);
}
.close-card .desc { color: #fff8f6; }
.site-foot {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(26, 16, 28, 0.92);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 28px 40px;
}
.foot-brand p, .foot-note { color: var(--muted); margin-top: 10px; max-width: 36em; }
.foot-toc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.foot-toc a { min-height: 36px; display: flex; align-items: center; color: var(--muted); }
.foot-toc a:hover { color: var(--text); }
.copy {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(26, 16, 28, 0.96);
  border-top: 1px solid var(--line);
  transition: transform .25s ease;
}
.dock.is-hidden { transform: translateY(110%); }
body.is-gated .dock { display: none; }
.dock-label { font-weight: 700; }
.noscript-note {
  margin: 0;
  padding: 10px 16px;
  background: #3a1828;
  color: var(--text);
  text-align: center;
}
#ageReveal {
  width: min(480px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
#ageReveal .close-button { display: none; }
.dialog-title { font-size: 24px; font-weight: 700; line-height: 1.35; }
.dialog-actions { display: flex; gap: 12px; margin-top: 18px; }
.dialog-actions .btn { flex: 1; }
.off-canvas.position-left {
  width: var(--side);
  background: var(--bg-1);
  color: var(--text);
  padding: 88px 12px 24px;
  border-right: 1px solid var(--line);
}
@media (min-width: 1024px) {
  main, .site-foot { margin-left: var(--side); }
  .dock { left: var(--side); }
  .menu-btn { display: none !important; }
}
@media (max-width: 1023px) {
  .doc-side { display: none; }
  main, .site-foot, .dock { margin-left: 0; left: 0; }
  .menu-btn { display: inline-flex; }
  .hero-card, .rail, .console, .voice, .bento { grid-template-columns: 1fr; }
  .tile-lg { grid-row: auto; min-height: 0; }
}
@media (max-width: 768px) {
  .stat-rail, .region-row, .pref-grid, .cmp-row, .log-item, .foot-grid { grid-template-columns: 1fr; }
  .cmp-head { display: none; }
  .cmp-row span:nth-child(2)::before { content: "欧美日韩在线成人专区 · "; color: var(--clay); }
  .cmp-row span:nth-child(3)::before { content: "杂乱聚合 · "; color: var(--muted); }
  .poster { grid-template-columns: 1fr; }
  .swatch.eu { grid-row: auto; min-height: 120px; }
}
@media (max-width: 640px) {
  .section { padding: 32px 0; }
  .container { width: min(1120px, calc(100% - 28px)); }
  .search-wrap { display: none; }
  .site-head.search-open .search-wrap {
    display: block;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 100%;
    max-width: none;
    padding-bottom: 10px;
    background: var(--bg-1);
  }
  .search-toggle { display: inline-flex; }
  .head-tools { display: none; }
  .logo { font-size: 14px; max-width: 9.2em; }
  .stat-rail, .guard { grid-template-columns: 1fr; }
  .guard { flex-direction: column; align-items: flex-start; border-radius: var(--radius); padding: 8px 16px; }
  .close-card, .step { grid-template-columns: 1fr; }
  .dock-label { display: none; }
  .dock .btn { width: 100%; }
  .foot-toc { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
}
@media (max-width: 520px) {
  .dialog-actions { flex-direction: column; }
  .hero-actions .btn, .dialog-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* roulang page: category1 */
:root {
 --bg-0: #4A2048;
 --bg-1: #1A101C;
 --bg-2: #2A1620;
 --surface: #241620;
 --inset: #1A101C;
 --line: rgba(232,168,150,0.18);
 --line-strong: rgba(232,168,150,0.38);
 --berry: #C7367A;
 --clay: #D4846A;
 --pine: #2FBF9B;
 --text: #F6F1F3;
 --muted: #CDBBC4;
 --ink: #1A101C;
 --radius: 24px;
 --shadow: 0 10px 28px rgba(74, 32, 40, 0.28);
 --pad: 24px;
 --side: 260px;
 --top: 76px;
 --gap: 18px;
 color-scheme: dark;
}
/* roulang page: category1 */
html { scroll-padding-top: 92px; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 min-height: 100vh;
 font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.75;
 color: var(--text);
 background: linear-gradient(165deg, var(--bg-0) 0%, var(--bg-1) 48%, var(--bg-2) 100%);
 background-attachment: fixed;
 padding-bottom: 32px;
}
a { color: inherit; text-decoration: none; }
button, input, summary { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; display: block; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
::selection { background: rgba(199, 54, 122, 0.45); color: #fff8f6; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.logo {
 flex: 0 1 auto;
 max-width: 16em;
 font-weight: 700;
 font-size: 16px;
 line-height: 1.35;
 color: var(--text);
}
.logo:hover { color: var(--clay); }
.search-wrap { flex: 1 1 240px; max-width: 460px; position: relative; }
.search {
 width: 100%;
 height: 44px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: var(--inset);
 color: var(--text);
 padding: 0 16px 0 42px;
 line-height: 1.4;
}
.search::placeholder { color: var(--muted); }
.search:focus {
 border-color: var(--clay);
 outline: none;
 box-shadow: 0 0 0 3px rgba(212, 132, 106, 0.25);
}
.search-glyph {
 position: absolute;
 left: 16px;
 top: 13px;
 width: 18px;
 height: 18px;
 pointer-events: none;
}
.head-tools, .icon-row { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.ver-chip, .lang summary, .icon-btn, .chip, .btn, .text-btn, .toc-link, .region, .acc-btn { min-height: 44px; }
.ver-chip, .lang summary {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 0 14px;
 border-radius: 999px;
 border: 1px solid rgba(47, 191, 155, 0.35);
 background: #13241f;
 color: var(--pine);
 font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
 font-size: 13px;
 line-height: 1;
}
.ver-chip { cursor: pointer; }
.ver-chip.is-on { box-shadow: inset 0 0 0 1px var(--pine); }
.icon-btn {
 display: none;
 align-items: center;
 justify-content: center;
 gap: 6px;
 padding: 0 12px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: var(--surface);
 color: var(--text);
}
.icon-btn svg { width: 18px; height: 18px; }
.search-empty { display: none; margin: 8px 12px 0; color: var(--muted); font-size: 14px; }
.search-empty.is-show { display: block; }
.side-nav a, .toc-link {
 display: flex;
 align-items: center;
 gap: 10px;
 padding: 0 12px;
 border-radius: 14px;
 color: var(--muted);
}
.side-nav a { min-height: 44px; margin-bottom: 4px; }
.side-nav a:hover, .toc-link:hover { background: rgba(199, 54, 122, 0.14); color: var(--text); }
.side-nav a.is-active, .toc-link.is-active { background: rgba(199, 54, 122, 0.2); color: var(--text); }
.site-head {
 position: sticky;
 top: 0;
 z-index: 40;
 height: var(--top);
 background: #1A101C;
 border-bottom: 1px solid var(--line);
 padding: 0;
}
.site-head.top-bar { background: #1A101C; }
.head-inner {
 height: var(--top);
 display: flex;
 align-items: center;
 gap: 16px;
 width: min(1440px, calc(100% - 32px));
 margin-inline: auto;
}
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; }
.lang summary::-webkit-details-marker { display: none; }
.lang-menu {
 position: absolute;
 right: 0;
 top: 50px;
 margin: 0;
 padding: 8px;
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: 16px;
 box-shadow: var(--shadow);
 min-width: 96px;
}
.lang-menu button {
 width: 100%;
 min-height: 44px;
 border: 0;
 border-radius: 12px;
 background: #13241f;
 color: var(--pine);
 font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.side-dock {
 position: fixed;
 top: var(--top);
 left: 0;
 width: var(--side);
 height: calc(100vh - var(--top));
 overflow: auto;
 padding: 18px 14px 32px;
 border-right: 1px solid var(--line);
 background: #1A101C;
 z-index: 30;
}
.toc-label {
 margin: 16px 12px 8px;
 color: var(--muted);
 font-size: 13px;
}
.page-main { margin-left: var(--side); display: block; }
.section { padding: 64px 0; }
.section.alt {
 background: rgba(36, 22, 32, 0.72);
 box-shadow: inset 0 1px 0 rgba(232,168,150,0.08), inset 0 -1px 0 rgba(232,168,150,0.08);
}
.section-head { margin-bottom: 22px; max-width: 36em; }
.section-head h2 { font-size: 28px; }
.section-head p, .prose { max-width: 36em; color: var(--muted); }
.sheet {
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: var(--pad);
}
a.sheet:hover, .sheet.hoverable:hover {
 transform: translateY(-2px);
 border-color: var(--line-strong);
}
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 22px;
 border-radius: 999px;
 border: 1px solid transparent;
 font-weight: 700;
 line-height: 1;
 transition: transform .2s ease, filter .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); filter: brightness(0.98); }
.btn-primary { background: linear-gradient(100deg, var(--berry), var(--clay)); color: #fff8f6; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(212, 132, 106, 0.65); }
.btn-dark { background: var(--ink); color: var(--text); border-color: var(--line); }
.text-btn {
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 color: var(--text);
 font-weight: 700;
 border: 0;
 border-bottom: 1px solid var(--clay);
 background: transparent;
 padding: 0 2px;
}
.text-btn:hover, .text-btn.is-on { color: var(--clay); }
.pill {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 padding: 0 10px;
 border-radius: 999px;
 background: #13241f;
 color: var(--pine);
 border: 1px solid rgba(47, 191, 155, 0.35);
 font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
 font-size: 12px;
 line-height: 1;
 white-space: nowrap;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
 padding: 0 16px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: var(--inset);
 color: var(--text);
 transition: filter .2s ease, transform .2s ease, background .2s ease;
}
.chip:hover { border-color: var(--line-strong); }
.chip.is-on {
 background: linear-gradient(100deg, var(--berry), var(--clay));
 border-color: transparent;
 color: #fff8f6;
}
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); margin-bottom: 14px; }
.crumb a { min-height: 44px; display: inline-flex; align-items: center; }
.crumb a:hover { color: var(--clay); }
.title-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
h1 { font-size: 40px; margin-bottom: 10px; }
.lead { max-width: 36em; color: var(--muted); }
.filter-line { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-bottom: 12px; }
.filter-line:last-child { margin-bottom: 0; }
.filter-name { color: var(--muted); min-width: 3em; }
.sort-row { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; }
.entry-list { display: flex; flex-direction: column; gap: 14px; }
.entry {
 display: grid;
 grid-template-columns: 72px minmax(0, 1fr) auto;
 gap: 16px;
 align-items: center;
 padding: 20px 24px;
 border-radius: 24px;
 background: var(--surface);
 border: 1px solid var(--line);
 box-shadow: var(--shadow);
 transition: transform .2s ease, border-color .2s ease;
}
.entry:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.entry-no {
 font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
 color: var(--pine);
 font-size: 20px;
 font-weight: 700;
}
.entry h3 { font-size: 20px; margin-bottom: 4px; }
.entry p { color: var(--muted); max-width: 36em; }
.poster {
 margin-top: 10px;
 height: 72px;
 border-radius: 16px;
 border: 1px solid var(--line);
 background:
  linear-gradient(120deg, rgba(199,54,122,0.35), rgba(212,132,106,0.18)),
  repeating-linear-gradient(135deg, #2A1620 0 12px, #1A101C 12px 24px);
}
body.is-gated .gated-visual { display: none !important; }
.more-row { margin-top: 18px; }
.stat-card { min-height: 132px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.stat-card strong {
 font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
 color: var(--pine);
 font-size: 32px;
 line-height: 1;
 font-weight: 700;
}
.stat-card span { color: var(--muted); }
.callout-line { border-left: 3px solid var(--clay); padding-left: 16px; }
.related-card h3 { margin: 10px 0 8px; font-size: 20px; }
.related-card p { color: var(--muted); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:first-child { border-top: 1px solid var(--line); }
.acc-btn {
 width: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 padding: 8px 0;
 background: transparent;
 border: 0;
 text-align: left;
 font-weight: 700;
}
.acc-btn:hover { color: var(--clay); }
.acc-mark {
 font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
 color: var(--pine);
}
.acc-panel { padding: 0 0 14px; color: var(--muted); max-width: 36em; }
.close-row {
 display: flex;
 justify-content: space-between;
 gap: 16px;
 align-items: center;
 background: linear-gradient(100deg, rgba(199,54,122,0.18), rgba(212,132,106,0.12));
}
.site-foot {
 border-top: 1px solid var(--line);
 padding: 36px 0 28px;
 background: #160d16;
 margin-top: 8px;
}
.foot-grid { display: grid; gap: 16px; }
.foot-brand p, .foot-note, .copy { color: var(--muted); }
.foot-toc { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.foot-toc a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.foot-toc a:hover { color: var(--text); }
.off-canvas { background: #1A101C; color: var(--text); width: var(--side); padding: 16px; }
.off-canvas .icon-btn { display: inline-flex; margin-bottom: 12px; }
.reveal {
 background: var(--surface);
 color: var(--text);
 border: 1px solid var(--line);
 border-radius: 24px;
 padding: 28px;
 box-shadow: var(--shadow);
}
.reveal-overlay { background: rgba(26, 16, 28, 0.78); }
.gate-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.blocked-panel { display: none; padding: 80px 0; }
body.is-blocked .blocked-panel { display: block; }
body.is-blocked .page-main,
body.is-blocked .site-foot,
body.is-blocked .side-dock { display: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
 outline: 2px solid var(--clay);
 outline-offset: 2px;
}
@media (max-width: 1023px) {
 .side-dock { display: none; }
 .page-main { margin-left: 0; }
 .head-tools .icon-btn { display: inline-flex; }
 h1 { font-size: 34px; }
}
@media (max-width: 768px) {
 .title-badges { justify-content: flex-start; margin-top: 16px; }
 .entry { grid-template-columns: 56px minmax(0, 1fr); }
 .entry .pill { grid-column: 2; justify-self: start; }
 .close-row { flex-direction: column; align-items: flex-start; }
 .section-head h2 { font-size: 24px; }
}
@media (max-width: 640px) {
 .section { padding: 32px 0; }
 .container { width: min(1120px, calc(100% - 28px)); }
 h1 { font-size: 30px; }
 .head-tools .ver-chip, .head-tools .lang { display: none; }
 .search-wrap { display: none; position: absolute; left: 0; right: 0; top: 68px; max-width: none; z-index: 50; }
 .head-inner { position: relative; }
 .search-wrap.is-open { display: block; }
 .sort-row { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
 * { transition: none !important; }
}
