/* roulang page: index */
:root {
  --bg: #14110F;
  --bg-2: #221C18;
  --panel: #2A2420;
  --line: #3E342C;
  --text: #F4EDE6;
  --muted: #B7A89C;
  --accent: #FF4FA3;
  --data: #D6FF4A;
  --status: #FFB020;
  --radius: 4px;
  --shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  --font: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--data);
  outline-offset: 2px;
}
h1, h2, h3, p { margin: 0; text-align: left; }
h1 { font-size: clamp(2rem, 4.4vw, 3.45rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.25; font-weight: 760; }
h3 { font-size: 1.08rem; line-height: 1.4; font-weight: 720; }
p + p { margin-top: 0.75rem; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.muted { color: var(--muted); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--data); letter-spacing: 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--status);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.kicker i, .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.15);
}
.section { padding: 76px 0; border-top: 1px solid var(--line); }
.bg-a { background: var(--bg); }
.bg-b { background: var(--bg-2); }
.lede { max-width: 760px; color: var(--muted); margin-top: 12px; font-size: 15.5px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 17, 15, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}
.nav-main { min-height: 72px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 10px 0; }
.logo { font-weight: 850; font-size: 18px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; white-space: nowrap; }
.logo:hover { color: var(--accent); text-decoration: none; }
.logo small { display: block; color: var(--data); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav-links a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
}
.nav-links a:hover { color: var(--text); background: var(--panel); text-decoration: none; }
.nav-links a.active { color: var(--data); border-color: var(--line); background: #1c1815; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
}
.city-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 10px 7px 8px;
  min-width: 210px;
  box-shadow: var(--shadow);
}
.city-chip:hover { border-color: var(--data); color: var(--text); }
.pin {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  background: #1b1714;
  border: 1px solid var(--line);
  position: relative;
  flex: 0 0 auto;
}
.pin::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 7px 0 -1px var(--accent);
}
.city-meta { display: flex; flex-direction: column; line-height: 1.2; text-align: left; min-width: 0; }
.city-meta small { color: var(--muted); font-size: 11px; }
.city-meta strong { font-size: 13px; font-weight: 720; white-space: nowrap; }
.switch-label { margin-left: auto; color: var(--data); font-family: var(--mono); font-size: 12px; }
.hero { padding: 54px 0 64px; background:
  linear-gradient(90deg, rgba(62, 52, 44, 0.22) 1px, transparent 1px),
  linear-gradient(rgba(62, 52, 44, 0.22) 1px, transparent 1px),
  var(--bg-2);
  background-size: 14px 14px, 14px 14px, auto;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: 36px; align-items: center; }
.hero-copy { max-width: 680px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.badge, .tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 12px;
  line-height: 1.6;
}
.tag.data { color: #172000; background: var(--data); border-color: var(--data); font-weight: 720; }
.tag.hot { color: #2a1020; background: var(--accent); border-color: var(--accent); font-weight: 720; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #1a0c12;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover, .btn:focus-visible {
  background: #221C18;
  color: var(--data);
  border-color: var(--data);
  text-decoration: none;
  transform: none;
}
.btn:active { background: #14110F; color: var(--data); border-color: var(--data); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: #221C18; color: var(--data); border-color: var(--data); }
.console, .panel, .card, .review, .topic, .plan, .news-row, .case-row, .track, .step, .scene, .article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.console { padding: 14px; background-image:
  linear-gradient(rgba(62, 52, 44, 0.35) 1px, transparent 1px),
  linear-gradient(90deg, rgba(62, 52, 44, 0.35) 1px, transparent 1px);
  background-size: 12px 12px;
  background-color: #241f1b;
}
.console-top, .browser-top, .row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.console-top span, .mini { color: var(--muted); font-size: 12px; font-family: var(--mono); }
.screen {
  margin-top: 12px;
  background: #181411;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 168px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 8px;
}
.swatch { border-radius: 3px; min-height: 72px; position: relative; }
.swatch span, .poster span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text);
  background: rgba(20, 17, 15, 0.72);
  padding: 2px 6px;
  border-radius: 2px;
}
.s1 { background: #ff4fa3; }
.s2 { background: #d6ff4a; }
.s3 { background: #ffb020; }
.s4 { background: #3e342c; }
.meter { margin-top: 12px; }
.meter b { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); }
.bar, .ratio { height: 8px; background: #181411; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.bar > i, .ratio > i { display: block; height: 100%; background: var(--data); width: 46%; }
.control-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.chip, .qbtn, .switch {
  border: 1px solid var(--line);
  background: #1b1714;
  color: var(--text);
  border-radius: 3px;
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
}
.qbtn.on, .switch.on { border-color: var(--data); color: var(--data); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.stat {
  background: #241f1b;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 14px 14px;
  background-image: linear-gradient(rgba(62, 52, 44, 0.45) 1px, transparent 1px);
  background-size: 100% 9px;
}
.stat em { display: block; color: var(--muted); font-style: normal; font-size: 13px; margin-bottom: 8px; }
.stat strong { font-family: var(--mono); font-size: 32px; color: var(--data); line-height: 1; font-weight: 680; }
.stat small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.bento { display: grid; grid-template-columns: 1.45fr 0.8fr; grid-template-rows: auto auto; gap: 12px; margin-top: 22px; }
.feature-main { grid-row: span 2; padding: 22px; }
.feature-side { padding: 16px 16px 18px; }
.feature-main ul, .plain-list { margin: 14px 0 0; padding: 0; list-style: none; }
.feature-main li, .plain-list li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
}
.track-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(460px, 1fr); gap: 12px; overflow-x: auto; margin-top: 22px; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.track { scroll-snap-align: start; padding: 18px; min-height: 230px; }
.track header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.split { display: grid; grid-template-columns: 240px 1fr; gap: 22px; margin-top: 22px; }
.time-col { border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.time-item { padding-left: 14px; position: relative; }
.time-item::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--data);
  position: absolute;
  left: -6px;
  top: 6px;
}
.time-item strong { font-family: var(--mono); color: var(--data); display: block; }
.scene-col { display: flex; flex-direction: column; gap: 12px; }
.scene { padding: 14px 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.step { padding: 16px; min-height: 180px; }
.step .idx { font-family: var(--mono); color: var(--accent); font-size: 13px; }
.browser { margin-top: 22px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #1b1714; box-shadow: var(--shadow); }
.browser-top { padding: 10px 12px; background: #241f1b; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--status); display: block; }
.dots i:nth-child(2) { background: var(--muted); }
.dots i:nth-child(3) { background: var(--accent); }
.addr { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.poster { display: grid; grid-template-columns: 1.4fr 0.8fr 0.6fr; grid-template-rows: 120px 90px; gap: 8px; padding: 12px; position: relative; }
.poster .swatch:first-child { grid-row: span 2; }
.player-bar { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 0 12px 14px; align-items: center; }
.table-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.case-table { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--panel); }
.case-table th, .case-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.case-table th { color: var(--muted); font-weight: 650; font-size: 12px; letter-spacing: 0.06em; background: #241f1b; }
.case-table tr:last-child td { border-bottom: 0; }
.ratio { width: 120px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.plan-main { margin-top: 22px; padding: 20px; display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 16px; align-items: center; background-image: linear-gradient(90deg, rgba(214, 255, 74, 0.05), transparent 30%); }
.plan-side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.plan { padding: 16px; }
.plan .price { font-family: var(--mono); color: var(--data); font-size: 28px; line-height: 1.1; }
.form-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1.2fr auto; gap: 10px; margin-top: 14px; align-items: end; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
input[type="text"], select, textarea {
  width: 100%;
  background: #181411;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  outline: none;
}
textarea { min-height: 42px; resize: vertical; }
.checkline { flex-direction: row; align-items: center; gap: 8px; color: var(--text); min-height: 42px; }
.note { margin-top: 10px; color: var(--data); font-size: 14px; }
.review-wall { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: stretch; }
.review { padding: 14px 14px 16px; }
.review:nth-child(1) { width: calc(38% - 8px); }
.review:nth-child(2) { width: calc(27% - 8px); }
.review:nth-child(3) { width: calc(35% - 8px); }
.review:nth-child(4) { width: calc(48% - 8px); }
.review:nth-child(5) { width: calc(32% - 8px); }
.review:hover { border-color: var(--accent); }
.who { color: var(--muted); font-family: var(--mono); font-size: 12px; margin-bottom: 6px; }
.reputation { margin-top: 22px; display: grid; grid-template-columns: 1.5fr 0.7fr; gap: 12px; }
.quote { padding: 22px; }
.quote p { font-size: 18px; line-height: 1.7; }
.stat-pair { display: grid; gap: 12px; }
.news-list { margin-top: 18px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.news-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.news-row time { font-family: var(--mono); color: var(--data); font-size: 13px; }
.articles { margin-top: 16px; display: grid; gap: 10px; }
.article { padding: 14px 16px; box-shadow: none; }
.topic-row { display: flex; gap: 12px; margin-top: 22px; align-items: stretch; }
.topic { padding: 18px; }
.topic:nth-child(1) { flex: 1.45; }
.topic:nth-child(2) { flex: 0.82; }
.topic:nth-child(3) { flex: 1.05; }
.library {
  margin-top: 8px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(rgba(62, 52, 44, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 52, 44, 0.35) 1px, transparent 1px),
    #241f1b;
  background-size: 12px 12px, 12px 12px, auto;
}
.cta-bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #241f1b;
}
.faq-list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.faq-list details { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; }
.faq-list summary { cursor: pointer; font-weight: 740; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--data); font-family: var(--mono); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { color: var(--muted); margin-top: 8px; }
.age-note { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--accent); color: var(--text); background: #241016; }
.site-footer { border-top: 1px solid var(--line); background: #100e0c; padding: 36px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 22px; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-links a { color: var(--muted); }
.copy { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.overlay, .age-gate {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 7, 0.72);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.age-gate { z-index: 70; }
.sheet, .age-panel {
  width: min(560px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.city-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.city-list button { text-align: left; }
[hidden] { display: none !important; }
@media (max-width: 1280px) {
  .wrap { width: min(1100px, calc(100% - 36px)); }
}
@media (max-width: 1024px) {
  .hero-grid, .split, .reputation, .plan-main, .library, .foot-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .feature-main { grid-row: auto; grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .topic-row { flex-direction: column; }
  .review:nth-child(n) { width: calc(50% - 8px); }
}
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .nav-links.open { display: flex; }
  .city-chip { order: 5; width: 100%; }
  .logo { flex: 1; }
  .steps, .plan-side, .player-bar, .news-row { grid-template-columns: 1fr; }
  .news-row { align-items: start; }
  .cta-bar { flex-direction: column; align-items: stretch; }
  .screen, .poster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .stat-grid, .bento, .city-list, .form-grid { grid-template-columns: 1fr; }
  .review:nth-child(n) { width: 100%; }
  .track-scroll { grid-auto-columns: 86%; }
  h1 { font-size: 2rem; }
}
@media (max-width: 520px) {
  .badge-row .badge { width: 100%; }
  .btn { width: 100%; }
  .hero { padding-top: 32px; }
  .stat strong { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --bg: #14110F;
  --bg-2: #221C18;
  --panel: #2A2420;
  --line: #3E342C;
  --text: #F4EDE6;
  --muted: #B7A89C;
  --accent: #FF4FA3;
  --data: #D6FF4A;
  --status: #FFB020;
  --radius: 4px;
  --shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  --font: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body:has(.age-check:not(:checked)) { overflow: hidden; }
img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--data);
  outline-offset: 2px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-align: left; letter-spacing: -0.02em; font-weight: 780; }
h1 { font-size: 34px; line-height: 1.25; }
h2 { font-size: 26px; line-height: 1.3; margin-bottom: 14px; }
h3 { font-size: 18px; line-height: 1.4; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 76px 0; border-top: 1px solid var(--line); }
.bg-a { background: var(--bg); }
.bg-b { background: var(--bg-2); }
[hidden] { display: none !important; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 17, 15, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}
.nav-main { min-height: 72px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 10px 0; }
.logo { font-weight: 850; font-size: 18px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; white-space: nowrap; }
.logo:hover { color: var(--accent); text-decoration: none; }
.logo small { display: block; color: var(--data); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav-links a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--panel); text-decoration: none; }
.nav-links a.active { color: var(--data); border-color: var(--line); background: #1c1815; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
}
.city-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 10px 7px 8px;
  min-width: 210px;
  box-shadow: var(--shadow);
  color: var(--text);
}
.city-chip:hover { border-color: var(--data); color: var(--text); }
.city-meta { display: flex; flex-direction: column; line-height: 1.2; text-align: left; min-width: 0; }
.city-meta small { color: var(--muted); font-size: 11px; }
.city-meta strong { font-size: 13px; font-weight: 720; white-space: nowrap; }
.pin {
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  transform: rotate(-45deg);
  box-shadow: inset 0 0 0 3px #1b1714;
  flex: none;
}
.switch-label { color: var(--data); font-size: 12px; font-family: var(--mono); }
.page-head {
  padding: 22px 0 20px;
  background:
    linear-gradient(90deg, rgba(62, 52, 44, 0.22) 1px, transparent 1px),
    linear-gradient(rgba(62, 52, 44, 0.22) 1px, transparent 1px),
    var(--bg-2);
  background-size: 14px 14px, 14px 14px, auto;
  border-bottom: 1px solid var(--line);
}
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.crumbs span[aria-hidden="true"] { color: var(--line); }
.page-head-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
.lead { color: var(--muted); margin-top: 8px; max-width: 640px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.badge, .tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 12px;
  line-height: 1.6;
}
.tag.data { color: #172000; background: var(--data); border-color: var(--data); font-weight: 720; }
.tag.hot { color: #2a1020; background: var(--accent); border-color: var(--accent); font-weight: 720; }
.sort-box { min-width: 240px; }
.sort-box p { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.count-line { font-family: var(--mono); color: var(--data); font-size: 20px; line-height: 1.2; }
.count-line small { color: var(--muted); font-size: 12px; margin-left: 6px; }
.chip-line, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #1a0c12;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover, .btn:focus-visible {
  background: #221C18;
  color: var(--data);
  border-color: var(--data);
  text-decoration: none;
  transform: none;
}
.btn:active { background: #14110F; color: var(--data); border-color: var(--data); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: #221C18; color: var(--data); border-color: var(--data); }
.qbtn, .chip, .switch {
  border: 1px solid var(--line);
  background: #1b1714;
  color: var(--text);
  border-radius: 3px;
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.qbtn:hover, .chip:hover { border-color: var(--status); color: var(--text); }
.qbtn.on, .switch.on { border-color: var(--data); color: var(--data); }
.filter-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 14px;
  background-image:
    linear-gradient(rgba(62, 52, 44, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 52, 44, 0.45) 1px, transparent 1px);
  background-size: 12px 12px;
  background-color: var(--panel);
}
.filter-group { min-width: 0; }
.filter-group > span {
  display: block;
  color: var(--status);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.film-list { display: flex; flex-direction: column; gap: 10px; }
.film-row, .panel, .review, .news-row, .faq, .age-card, .city-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.film-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background-image:
    linear-gradient(rgba(62, 52, 44, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 52, 44, 0.35) 1px, transparent 1px);
  background-size: 12px 12px;
  background-color: #241f1b;
}
.film-row:hover { border-color: var(--data); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.film-row p { margin-top: 4px; font-size: 14px; }
.poster {
  width: 148px;
  min-width: 148px;
  height: 96px;
  border-radius: 4px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.poster span {
  position: absolute;
  left: 8px;
  bottom: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--data);
  letter-spacing: 0.08em;
}
.p1 { background: linear-gradient(135deg, #3a2418 0%, #ff4fa3 140%); }
.p2 { background: linear-gradient(160deg, #1d2414 0%, #d6ff4a 150%); }
.p3 { background: linear-gradient(120deg, #2a2118, #ffb020 160%); }
.p4 { background: linear-gradient(200deg, #241820, #ff4fa3 120%); }
.p5 { background: linear-gradient(90deg, #1b1714, #6d5a2a); }
.p6 { background: linear-gradient(45deg, #2a2420, #8ea83a); }
.p7 { background: linear-gradient(180deg, #3a2a24, #ffb020); }
.p8 { background: linear-gradient(135deg, #241c22, #d6ff4a); }
.meter {
  height: 6px;
  width: 128px;
  margin-top: 8px;
  background: #1b1714;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.meter > span { display: block; height: 100%; background: var(--data); }
.empty-note {
  border: 1px dashed var(--line);
  border-radius: 4px;
  padding: 16px;
  color: var(--muted);
}
.strip {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
}
.strip strong { font-family: var(--mono); color: var(--data); font-size: 13px; letter-spacing: 0.04em; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr); gap: 12px; }
.review { padding: 16px 16px 18px; }
.review header { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.review a { color: var(--data); font-size: 13px; }
.news-list { display: flex; flex-direction: column; }
.news-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  margin-top: 8px;
}
.news-row time { font-family: var(--mono); color: var(--data); font-size: 13px; }
.news-row p { color: var(--muted); font-size: 14px; }
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #1c1815;
}
.faq { margin-top: 8px; }
.faq summary {
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 720;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { padding: 0 14px 14px; color: var(--muted); }
.faq[open] { border-color: var(--status); }
.site-footer { border-top: 1px solid var(--line); background: #100e0c; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 22px; padding: 28px 0; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--accent); }
.copy { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 14px 0 22px; }
.age-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.age-layer, .city-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(12, 10, 9, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.age-check:checked ~ .age-layer { display: none; }
.age-card, .city-panel { width: min(560px, 100%); padding: 18px; background: var(--bg-2); }
.layer-title { font-size: 22px; font-weight: 780; margin: 8px 0; }
.city-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.city-node { text-align: left; min-height: 42px; }
.node-line { margin-top: 8px; color: var(--muted); font-size: 13px; }
@media (max-width: 1280px) {
  h1 { font-size: 32px; }
}
@media (max-width: 1024px) {
  .filter-board { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .logo { order: 1; }
  .nav-toggle { order: 2; }
  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .city-chip { order: 4; width: 100%; }
  .page-head-grid { flex-direction: column; align-items: stretch; }
  .section { padding: 52px 0; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .film-row { flex-direction: column; align-items: stretch; }
  .poster { width: 100%; min-width: 0; height: 120px; }
  .news-row { grid-template-columns: 1fr; }
  .pager { flex-direction: column; align-items: stretch; }
  .city-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { width: min(var(--wrap), calc(100% - 20px)); }
  h1 { font-size: 24px; }
  .filter-board { grid-template-columns: 1fr; padding: 10px; }
  .count-line { font-size: 18px; }
  .btn, .qbtn { width: auto; }
  .row-between { align-items: flex-start; flex-direction: column; }
}
