/* roulang page: index */
:root {
  --bg: #12100E;
  --raise: #1C1815;
  --soft: #26201C;
  --line: rgba(236,226,216,.12);
  --text: #F3EEE8;
  --muted: #A8988C;
  --accent: #D4654A;
  --accent-deep: #C4563C;
  --olive: #8F9A84;
  --blush: #E6C7B8;
  --ink: #12100E;
  --radius: 8px;
  --poster-radius: 2px;
  --space: 72px;
  --shadow: none;
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--ink); }
:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.lead, .body, .prose, .qa p, .row p, .step p, .matrix p, .scene-copy p { max-width: 34em; }
.lead { color: var(--muted); margin-top: 12px; }
.body { margin-top: 16px; color: var(--text); }
.idx {
  color: var(--olive);
  font-size: 13px;
  letter-spacing: .14em;
  margin-bottom: 10px;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: .01em;
}
h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.3;
  font-weight: 600;
}
h3 { font-size: 1.05rem; line-height: 1.45; font-weight: 600; }
.section { padding: var(--space) 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--raise); }
.section.soft { background: var(--soft); }
.hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 18px;
  background: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18,16,14,.96);
  border-bottom: 1px solid var(--line);
}
.bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-lock {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.logo {
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.35;
  box-shadow: inset 0 -1px 0 var(--olive);
  padding-bottom: 2px;
}
.logo:hover { color: var(--blush); }
.age-mini, .age-mark {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(230,199,184,.45);
  border-radius: var(--poster-radius);
  color: var(--blush);
  font-size: 12px;
  letter-spacing: .04em;
}
.desk { display: flex; align-items: center; gap: 2px; }
.desk > a, .drop > a.trigger {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 14px;
  color: var(--text);
}
.desk > a:hover, .drop > a.trigger:hover { color: var(--blush); }
.desk > a:active, .drop > a.trigger:active { color: var(--accent); }
.drop { position: relative; }
.panel {
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  width: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  padding: 16px 16px 18px;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 50;
}
.drop:hover .panel, .drop:focus-within .panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.panel .col-title {
  grid-column: span 1;
  color: var(--olive);
  font-size: 12px;
  letter-spacing: .08em;
  margin: 0 0 4px;
}
.panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.panel a:hover { color: var(--blush); }
.panel a:active { color: var(--accent); }
.mob { display: none; }
.mob > summary, .subfold > summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mob > summary::-webkit-details-marker, .subfold > summary::-webkit-details-marker { display: none; }
.mob > summary {
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.mob-panel { padding: 8px 0 12px; }
.mob-panel > a, .subfold > summary, .subfold a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
}
.subfold .panel {
  position: static;
  width: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  border: 0;
  padding: 0 0 8px 12px;
  background: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, opacity 200ms ease;
}
.btn-primary { background: var(--accent); color: var(--ink); font-weight: 600; }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(243,238,232,.45); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-ghost:active { transform: translateY(0); }
.btn:disabled, .btn[disabled] { opacity: .4; transform: none; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tag, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 6px;
  border-radius: var(--poster-radius);
  font-size: 12px;
  line-height: 1;
}
.tag { color: var(--blush); border: 1px solid rgba(230,199,184,.4); }
.badge { position: absolute; top: 8px; left: 8px; color: var(--blush); background: rgba(18,16,14,.72); border: 1px solid rgba(230,199,184,.35); }
.badge.hot { background: var(--accent); color: var(--ink); border-color: transparent; }

.hero { border-top: 0; padding: 28px 0 72px; }
.hero-frame {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: end;
  padding: 36px 8px 20px;
  border-top: 14px solid #0C0B0A;
  border-bottom: 14px solid #0C0B0A;
}
.kicker { color: var(--blush); font-size: 13px; letter-spacing: .08em; margin-bottom: 14px; }
.hero-stack { position: relative; min-height: 520px; }
.poster {
  position: relative;
  display: block;
  border-radius: var(--poster-radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 2 / 3;
}
.art {
  position: absolute;
  inset: 0;
  transition: transform 220ms ease;
}
.poster:hover .art { transform: scale(1.03); }
.p1 .art { background: linear-gradient(165deg, #3A2A24 0%, #D4654A 130%); }
.p2 .art { background: linear-gradient(180deg, #2A2420 0%, #8F9A84 140%); }
.p3 .art { background: linear-gradient(200deg, #1C1815 10%, #E6C7B8 150%); }
.p4 .art { background: linear-gradient(150deg, #3C2E28, #6E4A3E 70%, #C9A394); }
.p5 .art { background: linear-gradient(190deg, #241C18, #A8988C 120%); }
.p6 .art { background: linear-gradient(170deg, #2C211C, #D4654A 40%, #26201C 78%); }
.p7 .art { background: linear-gradient(180deg, #3A332C, #8F9A84 60%, #1C1815); }
.p8 .art { background: linear-gradient(160deg, #4A332C, #E6C7B8 130%); }
.hero-stack .poster { position: absolute; width: 46%; }
.hero-stack .back { right: 0; top: 36px; }
.hero-stack .mid { right: 24%; top: 0; }
.hero-stack .front { right: 46%; top: 78px; width: 42%; }

.head-row { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.matrix {
  display: grid;
  grid-template-columns: 1.45fr .85fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.matrix a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 200ms ease, border-color 200ms ease;
}
.matrix .big { grid-row: 1 / span 2; min-height: 100%; background: #231C18; }
.matrix a:hover { transform: translateY(-2px); border-color: rgba(212,101,74,.55); }
.matrix a:active { transform: translateY(0); }
.matrix h3 { font-size: 1.35rem; }
.matrix .big h3 { font-size: 1.8rem; }
.split {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 24px;
  align-items: end;
}
.text-entry {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  font-size: 1.15rem;
}
.text-entry:hover { color: var(--blush); }
.text-entry:active { color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.stat { padding: 22px 18px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}
.stat span { color: var(--olive); font-size: 14px; }
.note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.rail-wrap { position: relative; }
.rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.tile {
  flex: 0 0 196px;
  scroll-snap-align: start;
  color: inherit;
  transition: transform 200ms ease;
}
.tile:hover { transform: translateY(-2px); }
.tile:active { transform: translateY(0); }
.tile-title { display: block; margin-top: 10px; line-height: 1.45; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step {
  padding: 18px 16px 20px;
  border-top: 1px solid var(--olive);
  background: var(--bg);
  min-height: 180px;
}
.step em { display: block; color: var(--olive); font-style: normal; font-size: 13px; letter-spacing: .08em; margin-bottom: 10px; }
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wall .lg { grid-column: span 2; }
.wall a { display: block; color: inherit; transition: transform 200ms ease; }
.wall a:hover { transform: translateY(-2px); }
.wall a:active { transform: translateY(0); }
.cap { display: block; margin-top: 8px; }
.scene-row {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  min-height: 44px;
  transition: opacity 200ms ease;
}
.scene-row:last-child { border-bottom: 1px solid var(--line); }
.scene-row:hover { color: var(--blush); }
.scene-row:active { color: var(--accent); }
.scene-name { color: var(--olive); }
.scene-go { color: var(--blush); }
.news { display: flex; flex-direction: column; }
.row { border-bottom: 1px solid var(--line); }
.row a {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  min-height: 44px;
  transition: transform 200ms ease;
}
.row a:hover { transform: translateY(-2px); }
.row a:active { transform: translateY(0); }
.mini { width: 92px; }
.row h3 { margin: 6px 0; }
.row p { color: var(--muted); }
.more { margin-top: 18px; }
.more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--accent);
}
.more a:hover { color: var(--blush); }
.essay { display: flex; flex-direction: column; gap: 22px; max-width: 40em; }
.essay article { padding-top: 8px; border-top: 1px solid var(--line); }
.essay h3 { margin-bottom: 8px; }
.marks {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marks li {
  flex: 1 1 160px;
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--text);
  letter-spacing: .08em;
  border-right: 1px solid var(--line);
}
.qa + .qa { border-top: 1px solid var(--line); }
.qa { padding: 6px 0; }
.qa summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 600;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-right: 1px solid var(--olive);
  border-bottom: 1px solid var(--olive);
  transform: rotate(45deg);
  transition: transform 200ms ease;
}
.qa[open] summary::before { transform: rotate(225deg); }
.qa p { color: var(--muted); padding: 0 0 14px 18px; }
.guard {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.age-mark.lg { min-height: 44px; padding: 0 12px; font-size: 14px; }
.contact {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
  align-items: start;
}
form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 14px; }
input, textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-height: 44px;
  transition: border-color 200ms ease;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--accent); }
::placeholder { color: var(--muted); opacity: 1; }
.site-footer { background: var(--raise); border-top: 1px solid var(--line); padding: 48px 0 28px; }
.ft {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 28px;
}
.ft .brand { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.ft p { color: var(--muted); }
.ft a { display: flex; align-items: center; min-height: 44px; color: var(--text); border-bottom: 1px solid transparent; }
.ft a:hover { color: var(--blush); border-bottom-color: var(--line); }
.ft a:active { color: var(--accent); }
.copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1024px) {
  :root { --space: 48px; }
  .desk { display: none; }
  .mob { display: block; }
  .hero-frame { grid-template-columns: 1fr; min-height: 0; }
  .hero-stack { min-height: 0; display: flex; gap: 12px; }
  .hero-stack .poster { position: static; width: 32%; }
  .matrix { grid-template-columns: 1fr 1fr; }
  .matrix .big { grid-row: auto; grid-column: 1 / span 2; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .wall { grid-template-columns: 1fr 1fr; }
  .wall .lg { grid-column: span 1; }
  .contact, .split, .guard, .ft { grid-template-columns: 1fr; }
  .text-entry { justify-self: start; }
}
@media (max-width: 768px) {
  :root { --space: 32px; }
  .container { width: min(var(--max), calc(100% - 28px)); }
  .head-row, .guard, .copy { display: block; }
  .scene-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .matrix { grid-template-columns: 1fr; }
  .matrix .big { grid-column: auto; }
  .age-mark.lg { margin-bottom: 12px; }
}
@media (max-width: 480px) {
  .logo { font-size: 14px; }
  .hero-stack { flex-direction: column; }
  .hero-stack .poster { width: 70%; }
  .stats, .steps, .wall { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .row a { grid-template-columns: 72px 1fr; }
  .mini { width: 72px; }
  .marks li { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .poster:hover .art, .tile:hover, .matrix a:hover, .wall a:hover, .row a:hover, .btn-primary:hover {
    transform: none !important;
  }
}

/* roulang page: category1 */
:root {
  --bg: #12100E;
  --raise: #1C1815;
  --soft: #26201C;
  --line: rgba(236,226,216,.12);
  --text: #F3EEE8;
  --muted: #A8988C;
  --accent: #D4654A;
  --accent-deep: #C4563C;
  --olive: #8F9A84;
  --blush: #E6C7B8;
  --ink: #12100E;
  --radius: 8px;
  --poster-radius: 2px;
  --space: 72px;
  --shadow: none;
  --max: 1200px;
}
/* roulang page: zhutimulu */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}
::selection { background: rgba(212,101,74,.35); color: var(--text); }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.lead, .body, .prose, .qa p, .scene-copy p { max-width: 34em; }
.lead { color: var(--muted); margin: 10px 0 0; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: .01em;
}
h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 18px;
  background: var(--accent);
}
h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.3;
  font-weight: 600;
}
h3 { margin: 0; font-size: 1.05rem; line-height: 1.45; font-weight: 600; }
.section { padding: var(--space) 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--raise); }
.section.soft { background: var(--soft); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18,16,14,.96);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
}
.brand-lock {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex: 0 1 auto;
}
.logo {
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.35;
  box-shadow: inset 0 -1px 0 var(--olive);
  padding-bottom: 2px;
}
.logo:hover { color: var(--blush); }
.logo:active { color: var(--accent); }
.age-mini, .age-mark {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 6px;
  border: 1px solid var(--olive);
  border-radius: var(--poster-radius);
  color: var(--olive);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.desk {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex: 1 1 auto;
}
.desk > a, .drop > a.trigger {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 14px;
  color: var(--text);
}
.desk > a:hover, .drop > a.trigger:hover { color: var(--blush); }
.desk > a:active, .drop > a.trigger:active { color: var(--accent); }
.desk > a.is-current, .drop > a.trigger.is-current, summary.is-current {
  box-shadow: inset 0 -1px 0 var(--olive);
  color: var(--text);
}
.drop { position: relative; }
.drop > .panel {
  display: none;
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 50;
  width: min(440px, 72vw);
  padding: 12px 16px 8px;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
}
.desk .drop:nth-child(3) > .panel { left: auto; right: 0; }
.drop:hover > .panel, .drop:focus-within > .panel { display: grid; }
.panel .col-title {
  color: var(--olive);
  font-size: 12px;
  letter-spacing: .08em;
  margin: 0 0 4px;
}
.panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.panel a:hover { color: var(--blush); }
.panel a:active { color: var(--accent); }
.mob { display: none; }
.mob > summary, .subfold > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.mob > summary::-webkit-details-marker, .subfold > summary::-webkit-details-marker { display: none; }
.mob-panel {
  border-top: 1px solid var(--line);
  padding-bottom: 8px;
}
.mob-panel > a, .subfold > summary, .subfold a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
}
.mob .panel, .subfold .panel {
  display: block;
  position: static;
  width: auto;
  padding: 0 0 0 10px;
  border: 0;
  background: transparent;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, opacity 200ms ease, color 200ms ease;
}
.btn-primary { background: var(--accent); color: var(--ink); font-weight: 600; }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(243,238,232,.45); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-ghost:active { transform: translateY(0); }
.btn:disabled, .btn[disabled] { opacity: .4; transform: none; cursor: not-allowed; }
.tag, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 6px;
  border-radius: var(--poster-radius);
  font-size: 12px;
  line-height: 1;
}
.tag { color: var(--blush); border: 1px solid rgba(230,199,184,.4); background: transparent; }
.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  color: var(--blush);
  background: rgba(18,16,14,.72);
  border: 1px solid rgba(230,199,184,.35);
}
.badge.hot { background: var(--accent); color: var(--ink); border-color: transparent; }
.page-head { border-top: 0; padding: 28px 0 40px; }
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.crumb a { min-height: 44px; display: inline-flex; align-items: center; }
.crumb a:hover { color: var(--blush); }
.crumb a:active { color: var(--accent); }
.crumb .sep { color: var(--olive); }
.idx {
  display: inline-block;
  margin: 18px 10px 0 0;
  color: var(--olive);
  font-size: 13px;
  letter-spacing: .12em;
  font-weight: 500;
}
h2 .idx { margin: 0 10px 0 0; }
.scope { margin: 14px 0 0; color: var(--text); }
.head-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.filter {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  min-height: 120px;
}
.filter-label {
  margin: 0 0 12px;
  color: var(--olive);
  font-size: 13px;
  letter-spacing: .08em;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  display: block;
  color: inherit;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 200ms ease, border-color 200ms ease;
}
.alt .card, .soft .card { background: var(--raise); }
.card:hover { transform: translateY(-2px); border-color: rgba(212,101,74,.55); }
.card:active { transform: translateY(0); }
.poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: var(--poster-radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #2C2622;
}
.skin {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: transform 200ms ease;
  border-bottom: 2px solid rgba(230,199,184,.35);
}
.card:hover .skin { transform: scale(1.03); }
.card:active .skin { transform: scale(1); }
.glyph {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 28px;
  line-height: 1;
  color: var(--blush);
}
.skin-1 { background: #3C2A24; }
.skin-2 { background: #4E342C; }
.skin-3 { background: #3A3328; }
.skin-4 { background: #5A4034; }
.skin-5 { background: #2F2A24; }
.skin-6 { background: #4A3A30; }
.skin-7 { background: #3E2E2A; }
.skin-8 { background: #59493C; }
.skin-9 { background: #332824; }
.skin-10 { background: #46362E; }
.skin-11 { background: #3A3028; }
.skin-12 { background: #2C2622; }
.tile-title { display: block; margin-top: 10px; line-height: 1.45; }
.meta { display: block; margin-top: 4px; color: var(--olive); font-size: 13px; }
.excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 6px 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}
.rail .card { scroll-snap-align: start; min-width: 0; }
.scene-list { border-top: 0; }
.scene-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  min-height: 44px;
}
.scene-row:last-child { border-bottom: 1px solid var(--line); }
.scene-row a {
  color: var(--blush);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.scene-row a:hover { color: var(--text); }
.scene-row a:active { color: var(--accent); }
.kicker { margin: 0; color: var(--olive); font-size: 14px; }
.scene-copy p { margin: 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat {
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--raise);
}
.num {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  font-weight: 600;
}
.stat .label { margin: 8px 0 0; color: var(--text); }
.stat .note { margin: 4px 0 0; color: var(--olive); font-size: 13px; }
.faq-list { max-width: 760px; }
.qa { padding: 6px 0 12px; }
.qa + .qa { border-top: 1px solid var(--line); }
.qa summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 600;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blush); }
.qa summary:active { color: var(--accent); }
.qa p { margin: 0 0 10px; color: var(--muted); }
.end-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: end;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 28px; background: #0C0B0A; }
.ft {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 24px;
}
.ft .brand { margin: 0 0 8px; font-weight: 600; font-size: 1.05rem; }
.ft p { margin: 0; color: var(--muted); }
.ft a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  border-bottom: 1px solid transparent;
}
.ft a:hover { color: var(--blush); }
.ft a:active { color: var(--accent); }
.copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
input, textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--accent); }
label { display: block; margin-bottom: 6px; color: var(--muted); }
@media (max-width: 1024px) {
  :root { --space: 48px; }
  .desk { display: none; }
  .mob { display: block; }
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
  .rail { grid-auto-columns: minmax(240px, 72%); }
  .ft { grid-template-columns: 1fr 1fr; }
  .ft div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --space: 32px; }
  .head-row, .end-grid, .scene-row, .filters, .stats { grid-template-columns: 1fr; }
  .end-grid, .head-row { display: grid; }
  .actions { justify-content: flex-start; }
  .stats { grid-template-columns: 1fr 1fr; }
  .page-head { padding-top: 20px; }
}
@media (max-width: 520px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .logo { font-size: 14px; }
  .copy { flex-direction: column; }
}
@media (max-width: 480px) {
  .poster-grid, .stats, .filters { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 86%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .card:hover, .btn-primary:hover, .card:hover .skin { transform: none !important; }
}
