/* roulang page: index */
:root {
  --magenta: #ff3d8a;
  --magenta-soft: rgba(255, 61, 138, .35);
  --lime: #d6ff4a;
  --violet: #7c5cff;
  --violet-soft: rgba(124, 92, 255, .2);
  --bg: #100e12;
  --panel: #1a1520;
  --alt: #241826;
  --ink: #f6f1ea;
  --muted: #b7a8b4;
  --line: rgba(255, 61, 138, .35);
  --radius: 14px;
  --shadow: 0 12px 32px rgba(0, 0, 0, .35);
  --side: 232px;
  --max: 1180px;
  --pad: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color-scheme: dark;
}
img, svg { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
a {
  color: var(--magenta);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--lime); }
a:active { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}
.side {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side);
  height: 100vh;
  background: #120910;
  border-right: 1px solid var(--magenta);
  z-index: 40;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.brand {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .04em;
}
.brand b { display: block; font-size: 20px; font-weight: 900; }
.brand b + b { color: var(--lime); font-size: 18px; margin-top: 4px; }
.brand:hover { color: var(--ink); }
.nav { display: flex; flex-direction: column; gap: 8px; }
.nav a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 12px 12px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
}
.nav a:hover { border-color: var(--magenta); color: var(--ink); }
.nav a:active { transform: translateY(1px); }
.nav a.active {
  background: var(--violet-soft);
  box-shadow: inset 3px 0 0 var(--lime);
  border-color: transparent;
}
.side-note {
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.topbar, .mask { display: none; }
.shell { margin-left: var(--side); min-height: 100vh; }
.agebar {
  background: #160f18;
  color: var(--lime);
  text-align: center;
  font-size: 13px;
  letter-spacing: .08em;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
}
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.block { padding: var(--pad) 0; }
main .block:nth-child(even) { background: var(--alt); }
main .block:nth-child(odd) { background: var(--bg); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-size: 12px;
  letter-spacing: .14em;
  margin: 0 0 10px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(214, 255, 74, .7);
  animation: pulse 1.8s infinite;
  flex: none;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(214, 255, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 255, 74, 0); }
}
h1, h2, h3 { line-height: 1.3; font-weight: 800; margin: 0 0 12px; }
h1 { font-size: 46px; font-weight: 900; letter-spacing: .02em; }
h2 { font-size: 30px; }
h3 { font-size: 18px; }
.desc { color: var(--muted); margin: 0 0 22px; max-width: 760px; }
.lead { font-size: 18px; margin: 0 0 12px; color: var(--ink); }
.board-grid, .split, .news-grid, .guard, .entry-grid, .qa article, .form-grid {
  display: grid;
  gap: 18px;
}
.board-grid { grid-template-columns: 1.25fr .9fr; align-items: stretch; }
.scoreboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.score {
  background: #120f16;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.score b {
  display: block;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, "Sarasa Mono", "PingFang SC", monospace;
  font-size: 34px;
  color: var(--lime);
  line-height: 1;
}
.score span { color: var(--muted); font-size: 13px; }
.meter { margin-top: 10px; height: 4px; background: var(--magenta-soft); border-radius: 99px; overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w); background: var(--lime); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid var(--magenta);
  background: #120c14;
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); color: var(--lime); }
.btn:active { transform: translateY(1px); color: var(--ink); }
.btn.lime { border-color: var(--lime); }
.rail-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}
.rail-row::-webkit-scrollbar { height: 8px; }
.rail-row::-webkit-scrollbar-thumb { background: var(--magenta); border-radius: 99px; }
.strip {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.strip:hover { transform: translateY(-2px); border-color: var(--lime); color: var(--ink); }
.strip:active { transform: translateY(1px); }
.frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #24131e;
  border-bottom: 1px solid var(--line);
}
.frame::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 12%;
  height: 16%;
  border-radius: 6px;
  background: rgba(16, 14, 18, .78);
  border: 1px solid var(--magenta-soft);
}
.frame::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 28%;
  bottom: 16%;
  height: 6px;
  border-radius: 99px;
  background: rgba(246, 241, 234, .75);
}
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 1; }
.badge {
  background: #100e12;
  color: var(--lime);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.6;
}
.badge.hot { color: var(--magenta); }
.strip .meta, .card p, .scene p, .entry-card p, .news-main p, .side-news p { color: var(--muted); }
.strip .meta { padding: 12px 14px 14px; }
.strip strong, .card strong { display: block; color: var(--ink); margin-bottom: 4px; }
.matrix {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 14px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card:hover { border-color: var(--magenta); }
.g-sub { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.g-q { grid-column: 8 / span 5; }
.g-u { grid-column: 8 / span 3; }
.g-t { grid-column: 11 / span 2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  border: 1px solid var(--line);
  background: #120c14;
  color: var(--lime);
  border-radius: 99px;
  padding: 6px 12px;
  text-decoration: none;
}
.chip:hover { transform: translateY(-2px); color: var(--ink); border-color: var(--lime); }
.chip:active { transform: translateY(1px); }
.ruler {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 8px;
  padding-top: 18px;
}
.ruler::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 6px;
  height: 2px;
  background: var(--magenta-soft);
}
.ruler a {
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 12px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.ruler a:hover { border-color: var(--lime); color: var(--lime); }
.ruler a b { display: block; font-variant-numeric: tabular-nums; color: var(--lime); }
.compare {
  display: grid;
  grid-template-columns: 1fr 92px 1fr;
  gap: 16px;
  align-items: center;
}
.orb {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid var(--magenta);
  display: grid;
  place-items: center;
  color: var(--lime);
  background: var(--panel);
  box-shadow: var(--shadow);
  font-weight: 800;
}
dl { margin: 0; }
dl div { display: grid; grid-template-columns: 88px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--lime); }
dd { margin: 0; color: var(--ink); }
.layers { display: grid; gap: 12px; }
.layer {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.layer b { color: var(--lime); }
.timeline { list-style: none; display: flex; gap: 12px; margin: 0; padding: 18px 0 0; }
.timeline li {
  flex: 1;
  border-top: 2px solid var(--magenta);
  padding-top: 14px;
  position: relative;
}
.timeline li::before {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lime);
  position: absolute; left: 0; top: -6px;
}
.timeline time { display: block; color: var(--lime); font-variant-numeric: tabular-nums; font-size: 13px; }
.news-grid { grid-template-columns: 1.45fr .8fr; align-items: start; }
.news-main, .side-news a, .scene, .entry-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
}
.news-main { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; }
.news-main .copy, .side-news a, .scene, .entry-card { padding: 16px; }
.side-news { display: flex; flex-direction: column; gap: 12px; }
.side-news a:hover, .news-main:hover, .scene:hover, .entry-card:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}
.side-news a:active, .entry-card:active { transform: translateY(1px); }
.more-row { display: flex; justify-content: flex-end; margin-top: 14px; }
.scenes { display: grid; grid-template-columns: 1.4fr 1fr .85fr; gap: 14px; align-items: start; }
.scenes .scene:nth-child(1) { min-height: 280px; }
.scenes .scene:nth-child(2) { min-height: 230px; margin-top: 28px; }
.scenes .scene:nth-child(3) { min-height: 190px; margin-top: 64px; }
.guard { grid-template-columns: repeat(4, 1fr); }
.guard article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.ico {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--lime);
  display: grid; place-items: center;
  color: var(--lime);
  margin-bottom: 8px;
}
.entry-grid { grid-template-columns: 1fr 1fr; }
.entry-card { min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; }
.entry-card .wideframe { margin: -16px -16px 16px; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--line); }
.qa { display: grid; gap: 10px; }
.qa article {
  grid-template-columns: 240px 1fr;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  align-items: center;
}
.qa h3 { margin: 0; font-size: 17px; }
.acc { position: relative; padding: 0 0 0 14px; margin-bottom: 10px; }
.acc::before {
  content: "";
  position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px;
  background: var(--magenta);
}
.acc button {
  width: 100%;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.acc button:hover { border-color: var(--magenta); color: var(--lime); }
.acc button:active { transform: translateY(1px); }
.acc button span { flex: 1; }
.chev {
  width: 10px; height: 10px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex: none;
}
.acc button[aria-expanded="true"] .chev { transform: rotate(225deg); }
.panel {
  background: #140f18;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0 16px 14px;
  color: var(--muted);
}
.panel[hidden] { display: none; }
.form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.form-grid { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; }
label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
input, select {
  width: 100%;
  background: #100e12;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 46px;
  padding: 0 12px;
}
input:hover, select:hover { border-color: var(--magenta); }
input:focus, select:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(255, 61, 138, .35);
}
.note { margin-top: 12px; border-radius: var(--radius); padding: 10px 12px; display: none; }
.note.show { display: block; }
.note.ok { background: rgba(214, 255, 74, .12); color: var(--lime); border: 1px solid var(--lime); }
.note.err { background: rgba(255, 61, 138, .12); color: #ffd0e2; border: 1px solid var(--magenta); }
.field.bad input, .field.bad select { border-color: var(--magenta); }
footer {
  background: #0c0a0e;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--lime); }
.copy { font-size: 13px; margin: 8px 0 0; }
@media (max-width: 1200px) {
  h1 { font-size: 38px; }
  .g-sub { grid-column: 1 / span 12; grid-row: auto; }
  .g-q, .g-u, .g-t { grid-column: span 4; }
  .scenes { grid-template-columns: 1fr 1fr; }
  .scenes .scene:nth-child(3) { margin-top: 0; }
}
@media (max-width: 960px) {
  .topbar {
    display: flex;
    position: fixed;
    inset: 0 0 auto 0;
    height: 56px;
    z-index: 50;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px;
    background: #120910;
    border-bottom: 1px solid var(--magenta);
  }
  .topbar .brand { flex-direction: row; align-items: baseline; gap: 6px; }
  .topbar .brand b { font-size: 14px; }
  .age-pill {
    color: var(--lime);
    border: 1px solid var(--lime);
    border-radius: 99px;
    padding: 2px 8px;
    font-size: 12px;
  }
  .menu-btn {
    background: #120c14;
    border: 1px solid var(--magenta);
    color: var(--ink);
    border-radius: 12px;
    min-height: 36px;
    padding: 0 10px;
  }
  .menu-btn:hover { color: var(--lime); }
  .menu-btn:active { transform: translateY(1px); }
  .side { transform: translateX(-110%); transition: transform .2s ease; width: min(280px, 86vw); }
  .side.is-open { transform: none; }
  .mask.show { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 30; }
  .shell { margin-left: 0; padding-top: 56px; }
  .board-grid, .news-grid, .news-main, .guard, .entry-grid, .form-grid, .compare { grid-template-columns: 1fr; }
  .orb { margin: 0 auto; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .scoreboard, .matrix, .ruler, .scenes, .qa article, .layer { grid-template-columns: 1fr; }
  .g-q, .g-u, .g-t, .g-sub { grid-column: 1 / -1; }
  .scenes .scene { margin-top: 0; min-height: 0; }
  .timeline { flex-direction: column; }
  .timeline li { border-top: 0; border-left: 2px solid var(--magenta); padding: 0 0 16px 14px; }
  .timeline li::before { left: -6px; top: 4px; }
  .layer { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .strip { flex-basis: 240px; }
  .actions .btn { width: 100%; }
  .foot { flex-direction: column; align-items: flex-start; }
}

/* roulang page: category2 */
:root {
  --magenta: #ff3d8a;
  --magenta-soft: rgba(255, 61, 138, .35);
  --lime: #d6ff4a;
  --violet: #7c5cff;
  --violet-soft: rgba(124, 92, 255, .2);
  --bg: #100e12;
  --panel: #1a1520;
  --alt: #241826;
  --ink: #f6f1ea;
  --muted: #b7a8b4;
  --line: rgba(255, 61, 138, .35);
  --radius: 14px;
  --shadow: 0 12px 32px rgba(0, 0, 0, .35);
  --side: 232px;
  --max: 1180px;
  --pad: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color-scheme: dark;
}
img, svg { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
a {
  color: var(--magenta);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--lime); }
a:active { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.3; font-weight: 800; }
h1 { margin: 0 0 10px; font-size: 40px; font-weight: 900; letter-spacing: .02em; }
h2 { margin: 0 0 16px; font-size: 28px; }
h3 { margin: 0 0 8px; font-size: 18px; }
p { margin: 0; }
.brand {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .04em;
}
.brand b { display: block; font-size: 20px; font-weight: 900; }
.brand b + b { color: var(--lime); font-size: 18px; margin-top: 4px; }
.brand:hover, .brand:active { color: var(--ink); }
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--side);
  height: 100vh;
  background: #120910;
  border-right: 1px solid var(--magenta);
  z-index: 40;
  padding: 22px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.nav { display: flex; flex-direction: column; gap: 8px; }
.nav a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 12px 12px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.nav a:hover { border-color: var(--magenta); color: var(--ink); }
.nav a:active { transform: translateY(1px); }
.nav a.active {
  background: var(--violet-soft);
  box-shadow: inset 3px 0 0 var(--lime);
  border-color: transparent;
}
.side-note {
  margin-top: auto;
  color: var(--lime);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 10px;
  font-size: 13px;
  text-align: center;
}
.topbar, .mask { display: none; }
.content { margin-left: var(--side); min-height: 100vh; }
.agebar {
  background: #160f18;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.agebar p { max-width: var(--max); margin: 0 auto; padding: 8px 24px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
main .block { padding: var(--pad) 0; }
main .block:nth-child(odd) { background: var(--bg); }
main .block:nth-child(even) { background: var(--alt); }
.lead { font-size: 18px; margin: 0 0 18px; color: var(--ink); max-width: 760px; }
.switch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #120c14;
  box-shadow: var(--shadow);
}
.switch button {
  appearance: none;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--line);
  min-height: 54px;
  padding: 8px 10px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.switch button:last-child { border-right: 0; }
.switch button:hover { color: var(--lime); background: rgba(214, 255, 74, .06); }
.switch button:active { transform: translateY(1px); }
.switch button.is-on {
  background: var(--violet-soft);
  color: var(--lime);
  box-shadow: inset 0 -3px 0 var(--lime);
}
.switch small { display: block; color: var(--muted); font-size: 12px; }
.switch button.is-on small { color: var(--ink); }
.qstack { display: grid; gap: 18px; }
.qcard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.qcard:hover { border-color: var(--magenta); transform: translateY(-2px); }
.frame {
  position: relative;
  height: 220px;
  background: #0c0a10;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.frame-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(180deg, rgba(16, 14, 18, 0) 58%, rgba(16, 14, 18, .88) 100%),
    repeating-linear-gradient(90deg, #221828 0 14px, #1a1320 14px 15px);
}
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 1; }
.badge {
  background: #100e12;
  color: var(--lime);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.6;
  font-style: normal;
}
.badge.hot { color: var(--magenta); }
.subbar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .04em;
}
.spec-copy, .fit { padding: 16px 18px 18px; }
.kicker { color: var(--lime); font-size: 13px; letter-spacing: .08em; margin-bottom: 6px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 12px 0 0;
}
.stats div {
  background: #120c14;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.stats dt { color: var(--muted); font-size: 13px; }
.stats dd {
  margin: 2px 0 0;
  color: var(--lime);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.fit {
  background: #201422;
  border-top: 1px solid var(--line);
}
.fit p { color: var(--muted); }
.wide {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.wide:hover { border-color: var(--lime); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 10px;
  margin-bottom: 12px;
  background: #120c14;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(214, 255, 74, .55);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(214, 255, 74, 0); }
}
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li {
  padding: 12px 14px;
  border-left: 3px solid var(--magenta);
  background: #120c14;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
}
.vaxis { list-style: none; margin: 0; padding: 0 0 0 8px; }
.vaxis li {
  position: relative;
  margin-left: 14px;
  padding: 0 0 26px 26px;
  border-left: 1px solid var(--line);
}
.vaxis li:last-child { border-left-color: transparent; padding-bottom: 0; }
.vaxis li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid #120c14;
  box-shadow: 0 0 0 4px rgba(214, 255, 74, .16);
  position: absolute;
  left: -7px;
  top: 6px;
}
.vaxis b {
  display: inline-block;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.vaxis p { color: var(--muted); max-width: 640px; }
.nlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 820px; }
.nlist a {
  display: block;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  color: var(--ink);
  transition: border-color .18s ease, transform .18s ease, color .18s ease;
}
.nlist a:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.nlist a:active { transform: translateY(1px); color: var(--ink); }
.nlist strong { display: block; font-weight: 800; }
.nlist span { display: block; color: var(--muted); font-size: 14px; }
.nlist a:hover span { color: var(--ink); }
.back { margin-top: 14px; }
.acc { display: grid; gap: 10px; }
.acc-item { position: relative; }
.acc-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: var(--magenta);
  box-shadow: 0 0 0 3px rgba(255, 61, 138, .12);
}
.acc button {
  width: 100%;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 14px 16px 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.acc button:hover { border-color: var(--magenta); color: var(--lime); }
.acc button:active { transform: translateY(1px); }
.acc button span { flex: 1; }
.chev {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(45deg);
  transition: transform .18s ease;
  flex: 0 0 auto;
}
.acc button[aria-expanded="true"] { border-color: var(--lime); }
.acc button[aria-expanded="true"] .chev { transform: rotate(225deg); }
.acc .panel {
  color: var(--muted);
  padding: 0 16px 14px 18px;
}
.acc .panel[hidden] { display: none; }
.form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  max-width: 920px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 14px; }
input, select {
  width: 100%;
  min-height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #120c14;
  color: var(--ink);
  padding: 0 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input:hover, select:hover { border-color: var(--magenta); }
input:focus, select:focus { border-color: var(--magenta); box-shadow: 0 0 0 3px var(--magenta-soft); }
input.is-bad, select.is-bad { border-color: var(--magenta); }
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--magenta);
  background: #120c14;
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); color: var(--lime); border-color: var(--lime); }
.btn:active { transform: translateY(1px); color: var(--ink); }
.form-msg { min-height: 1.75em; margin-top: 10px; color: var(--muted); }
.form.is-ok .form-msg { color: var(--lime); }
.form.is-error .form-msg { color: var(--magenta); }
.foot {
  background: #0d0b10;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
}
.foot-grid { display: grid; gap: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.foot a { color: var(--magenta); text-decoration: none; }
.foot a:hover { color: var(--lime); }
.foot a:active { color: var(--ink); }
.foot small { color: var(--muted); }
.menu-btn {
  width: 44px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--magenta);
  background: #120c14;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}
.menu-btn i {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--lime);
}
.menu-btn:hover { border-color: var(--lime); }
.menu-btn:active { transform: translateY(1px); }
.top-tools { display: flex; align-items: center; gap: 8px; }
.age-pill {
  color: var(--lime);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.6;
}
@media (max-width: 1200px) {
  h1 { font-size: 34px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --pad: 40px; }
  .sidebar {
    transform: translateX(-105%);
    transition: transform .2s ease;
    width: min(86vw, 320px);
  }
  .sidebar.open { transform: none; }
  .mask {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    pointer-events: none;
    z-index: 35;
    transition: opacity .2s ease;
  }
  .mask.show { opacity: 1; pointer-events: auto; }
  .content { margin-left: 0; }
  .topbar {
    display: flex;
    height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background: #120910;
    border-bottom: 1px solid var(--magenta);
    position: sticky;
    top: 0;
    z-index: 30;
  }
  .topbar .brand b { font-size: 14px; }
  .topbar .brand b + b { font-size: 12px; margin-top: 0; }
  .menu-btn { display: inline-flex; }
  .switch { grid-template-columns: 1fr 1fr; }
  .switch button:nth-child(2) { border-right: 0; }
  .switch button:nth-child(1),
  .switch button:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 768px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .form-grid, .stats { grid-template-columns: 1fr; }
  .wrap, .agebar p { padding-left: 16px; padding-right: 16px; }
  .frame { height: 180px; }
}
@media (max-width: 520px) {
  h1 { font-size: 26px; }
  .lead { font-size: 16px; }
  .btn { width: 100%; }
  .nlist a { padding: 12px; }
}
@media (max-width: 480px) {
  .topbar .age-pill { display: none; }
  .ticks li { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  .qcard, .nlist a, .btn, .switch button { transition: none; }
}

/* roulang page: category1 */
:root {
 --magenta: #ff3d8a;
 --magenta-soft: rgba(255, 61, 138, .35);
 --lime: #d6ff4a;
 --violet: #7c5cff;
 --violet-soft: rgba(124, 92, 255, .2);
 --bg: #100e12;
 --panel: #1a1520;
 --alt: #241826;
 --ink: #f6f1ea;
 --muted: #b7a8b4;
 --line: rgba(255, 61, 138, .35);
 --radius: 14px;
 --shadow: 0 12px 32px rgba(0, 0, 0, .35);
 --side: 232px;
 --max: 1180px;
 --pad: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.75;
 color-scheme: dark;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, ul { margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.3; font-weight: 800; }
h1 { font-size: 40px; font-weight: 900; letter-spacing: .02em; }
h2 { font-size: 28px; font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
ul { padding: 0; list-style: none; }
button, input, select { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
a {
 color: var(--magenta);
 text-decoration-thickness: 1px;
 text-underline-offset: 3px;
}
a:hover { color: var(--lime); }
a:active { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
 outline: 2px solid var(--violet);
 outline-offset: 2px;
}
::selection { background: var(--magenta); color: #fff; }
.side {
 position: fixed;
 top: 0;
 left: 0;
 width: var(--side);
 height: 100vh;
 background: #120910;
 border-right: 1px solid #ff3d8a;
 padding: 22px 16px;
 z-index: 40;
 overflow: auto;
}
.brand {
 display: flex;
 flex-direction: column;
 color: var(--ink);
 text-decoration: none;
 line-height: 1.25;
 font-weight: 800;
 letter-spacing: .04em;
 margin-bottom: 28px;
}
.brand b { display: block; font-size: 20px; font-weight: 900; }
.brand b + b { color: var(--lime); font-size: 18px; margin-top: 4px; }
.brand:hover, .brand:active { color: var(--ink); }
.nav { display: flex; flex-direction: column; gap: 8px; }
.nav a {
 display: block;
 color: var(--ink);
 text-decoration: none;
 padding: 12px 12px 12px 14px;
 border-radius: var(--radius);
 border: 1px solid transparent;
 background: transparent;
 transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.nav a:hover { border-color: var(--magenta); color: var(--ink); }
.nav a:active { transform: translateY(1px); }
.nav a.active {
 background: var(--violet-soft);
 box-shadow: inset 3px 0 0 var(--lime);
 border-color: transparent;
}
.topbar, .mask { display: none; }
.mainwrap { margin-left: var(--side); min-height: 100vh; }
.agebar {
 background: #120910;
 color: var(--lime);
 border-bottom: 1px solid var(--line);
 padding: 8px 24px;
 font-size: 13px;
 letter-spacing: .04em;
}
main .block:nth-child(odd) { background: var(--bg); }
main .block:nth-child(even) { background: var(--alt); }
.block { padding: var(--pad) 24px; }
.inner { max-width: var(--max); margin: 0 auto; }
.lead { font-size: 18px; margin: 0 0 16px; color: var(--ink); }
.muted, .meta, .dim p, .art p, .pinfo p, .step p, .qa p { color: var(--muted); }
.pagehead {
 display: grid;
 grid-template-columns: 1.4fr .6fr;
 gap: 24px;
 align-items: end;
}
.count {
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px 18px;
}
.count b {
 display: block;
 font-size: 40px;
 font-weight: 900;
 color: var(--lime);
 font-variant-numeric: tabular-nums;
 line-height: 1;
}
.count span { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 16px; }
.btn, button.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 16px;
 border-radius: var(--radius);
 border: 1px solid var(--magenta);
 background: #120c14;
 color: var(--ink);
 text-decoration: none;
 transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); color: var(--lime); }
.btn:active { transform: translateY(1px); color: var(--ink); }
.btn.lime { border-color: var(--lime); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
 border: 1px solid var(--line);
 background: #120c14;
 color: var(--lime);
 border-radius: 99px;
 padding: 6px 12px;
 text-decoration: none;
 transition: transform .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { transform: translateY(-2px); color: var(--ink); border-color: var(--lime); }
.chip:active { transform: translateY(1px); }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.pager a {
 min-width: 44px;
 height: 44px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 border: 1px solid var(--magenta);
 border-radius: var(--radius);
 background: #120c14;
 color: var(--ink);
 text-decoration: none;
 font-variant-numeric: tabular-nums;
 transition: transform .18s ease, color .18s ease, border-color .18s ease;
}
.pager a:hover { color: var(--lime); transform: translateY(-2px); }
.pager a:active { transform: translateY(1px); }
.pager a[aria-current="page"] {
 background: var(--violet-soft);
 color: var(--lime);
 box-shadow: inset 3px 0 0 var(--lime);
}
.pagemark {
 color: var(--lime);
 font-variant-numeric: tabular-nums;
 font-weight: 800;
 margin: 8px 0;
}
.sheet { display: grid; gap: 14px; margin-bottom: 18px; }
.row {
 display: flex;
 gap: 16px;
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 12px;
 transition: transform .18s ease, border-color .18s ease;
}
.row:hover { border-color: var(--lime); transform: translateY(-2px); }
.row:active { transform: translateY(1px); }
.frame {
 position: relative;
 display: block;
 width: 280px;
 flex: 0 0 280px;
 aspect-ratio: 16 / 9;
 border-radius: var(--radius);
 overflow: hidden;
 background: #241826;
 border: 1px solid var(--line);
 text-decoration: none;
}
.frame::before {
 content: "";
 position: absolute;
 left: 12px;
 right: 12px;
 top: 42%;
 height: 8px;
 background: var(--magenta);
 opacity: .85;
}
.frame::after {
 content: "";
 position: absolute;
 left: 12px;
 width: 36%;
 top: calc(42% + 16px);
 height: 6px;
 background: var(--lime);
 opacity: .8;
}
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 1; flex-wrap: wrap; }
.badge {
 background: #100e12;
 color: var(--lime);
 border: 1px solid var(--line);
 border-radius: 99px;
 padding: 2px 8px;
 font-size: 12px;
 line-height: 1.6;
}
.badge.hot { color: var(--magenta); }
.cap {
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 padding: 6px 10px;
 background: rgba(16, 14, 18, .92);
 border-top: 1px solid #ff3d8a;
 color: var(--ink);
 font-size: 13px;
}
.frame:hover .cap { color: var(--lime); }
.pinfo { flex: 1; min-width: 0; padding: 6px 6px 0 0; }
.pinfo h3 { margin-bottom: 6px; }
.pinfo h3 a { color: var(--ink); text-decoration: none; }
.pinfo h3 a:hover { color: var(--lime); }
.pinfo h3 a:active { color: var(--ink); }
.meta { margin: 0; font-variant-numeric: tabular-nums; }
.states { display: grid; gap: 12px; }
.state {
 display: grid;
 grid-template-columns: 108px 1fr auto;
 gap: 14px;
 align-items: center;
 background: var(--panel);
 border: 1px solid var(--line);
 border-left: 3px solid var(--lime);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px;
}
.state.rev { border-left-color: var(--violet); }
.state.miss { border-left-color: var(--magenta); }
.state strong { display: block; font-size: 18px; }
.state a { text-decoration: none; }
.dot {
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: var(--lime);
 box-shadow: 0 0 0 4px rgba(214, 255, 74, .16);
 display: inline-block;
 margin-right: 6px;
}
.state.rev .dot { background: var(--violet); box-shadow: 0 0 0 4px rgba(124, 92, 255, .2); }
.state.miss .dot { background: var(--magenta); box-shadow: 0 0 0 4px rgba(255, 61, 138, .18); }
.dims { display: grid; grid-template-columns: 1.15fr .95fr .8fr; gap: 16px; }
.dim {
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px 16px 8px;
}
.dim:hover { border-color: var(--magenta); }
.dim li + li { border-top: 1px solid var(--line); }
.dim a {
 display: flex;
 justify-content: space-between;
 gap: 8px;
 padding: 9px 0;
 text-decoration: none;
 color: var(--ink);
}
.dim a:hover { color: var(--lime); }
.dim a:active { color: var(--magenta); }
.dim em { font-style: normal; color: var(--lime); font-variant-numeric: tabular-nums; }
.arts { display: grid; gap: 10px; }
.art {
 display: grid;
 grid-template-columns: 1fr auto;
 gap: 16px;
 align-items: center;
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 14px 16px;
 text-decoration: none;
 color: var(--ink);
 transition: transform .18s ease, border-color .18s ease;
}
.art:hover { border-color: var(--lime); transform: translateY(-2px); color: var(--ink); }
.art:active { transform: translateY(1px); }
.art b { display: block; font-size: 18px; }
.art span { color: var(--lime); font-variant-numeric: tabular-nums; white-space: nowrap; }
.searchline {
 display: grid;
 grid-template-columns: 1.1fr .9fr .8fr;
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 overflow: hidden;
 margin-bottom: 14px;
}
.step { padding: 18px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step b { display: block; color: var(--lime); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.qa { display: grid; gap: 10px; }
.qa article {
 display: grid;
 grid-template-columns: 240px 1fr;
 gap: 16px;
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 14px 16px;
 align-items: center;
}
.qa h3 { margin: 0; }
.qa p { margin: 0; }
.subscribe {
 display: grid;
 grid-template-columns: 280px 1fr;
 gap: 22px;
 align-items: end;
}
.form {
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { color: var(--muted); font-size: 14px; }
input, select {
 width: 100%;
 min-height: 44px;
 background: #120c14;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 8px 12px;
}
input:hover, select:hover { border-color: var(--magenta); }
input:focus, select:focus {
 border-color: var(--magenta);
 box-shadow: 0 0 0 3px rgba(255, 61, 138, .35);
 outline: 2px solid var(--magenta);
 outline-offset: 1px;
}
.msg { display: none; margin: 10px 0 0; }
.form.bad .msg.bad { display: block; color: var(--magenta); }
.form.ok .msg.ok { display: block; color: var(--lime); }
.footer {
 background: #0d0b10;
 color: var(--muted);
 border-top: 1px solid var(--line);
 padding: 28px 24px 40px;
}
.foot-inner { max-width: var(--max); margin: 0 auto; }
.footer .brand { margin-bottom: 12px; }
.footer .brand b { font-size: 16px; }
.footer .brand b + b { font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer a:active { color: var(--ink); }
.copy { margin: 12px 0 0; font-size: 13px; }
.menu-btn, .agetag {
 border: 1px solid var(--line);
 background: #120c14;
 color: var(--lime);
 border-radius: 999px;
 min-height: 36px;
}
.menu-btn { padding: 0 12px; }
.menu-btn:hover { color: var(--ink); border-color: var(--lime); }
.menu-btn:active { transform: translateY(1px); }
@media (max-width: 1200px) {
 h1 { font-size: 34px; }
 .frame { width: 240px; flex-basis: 240px; }
}
@media (max-width: 1024px) {
 .dims { grid-template-columns: 1fr 1fr; }
 .searchline { grid-template-columns: 1fr; }
 .step { border-right: 0; border-bottom: 1px solid var(--line); }
 .step:last-child { border-bottom: 0; }
 .qa article { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
 :root { --pad: 40px; }
 .topbar {
 display: flex;
 align-items: center;
 gap: 10px;
 height: 56px;
 padding: 0 12px;
 position: sticky;
 top: 0;
 z-index: 45;
 background: #120910;
 border-bottom: 1px solid #ff3d8a;
 }
 .topbar .brand { margin: 0; flex: 1; }
 .topbar .brand b { font-size: 13px; line-height: 1.15; }
 .topbar .brand b + b { font-size: 12px; margin-top: 1px; }
 .agetag { padding: 0 8px; font-size: 12px; }
 .side {
 transform: translateX(-105%);
 transition: transform .2s ease;
 top: 56px;
 height: calc(100vh - 56px);
 width: min(232px, 86vw);
 }
 .side.open { transform: translateX(0); }
 .mask.show {
 display: block;
 position: fixed;
 inset: 56px 0 0 0;
 background: rgba(0, 0, 0, .55);
 z-index: 35;
 }
 .mainwrap { margin-left: 0; }
 .pagehead, .subscribe, .form-grid, .dims { grid-template-columns: 1fr; }
 .state { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
 .row { flex-direction: column; }
 .frame { width: 100%; flex-basis: auto; }
 .art { grid-template-columns: 1fr; }
 .block { padding: 40px 16px; }
 .agebar { padding: 8px 16px; }
}
@media (max-width: 520px) {
 h1 { font-size: 28px; }
 h2 { font-size: 22px; }
 .count b { font-size: 32px; }
 .btn { width: 100%; }
}
@media (max-width: 480px) {
 .chips { gap: 6px; }
 .chip { padding: 5px 10px; }
 .footer { padding: 24px 16px 32px; }
}
@media (min-width: 961px) {
 .mask { display: none !important; }
 .side { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; }
}
