/* roulang page: index */
:root {
  --bg: #140E13;
  --bg-lift: #241820;
  --line: #3A2A33;
  --z1: #FF2E88;
  --z2: #FF8A3D;
  --grad: linear-gradient(120deg, #FF2E88 0%, #FF8A3D 100%);
  --lilac: #C9B8FF;
  --text: #F4EAF0;
  --muted: #B7A3AD;
  --focus: #FF8A3D;
  --ink: #140E13;
  --radius: 26px;
  --radius-sm: 14px;
  --shadow: 0 18px 42px rgba(42, 8, 24, 0.46);
  --shadow-soft: 0 10px 28px rgba(255, 46, 136, 0.12);
  --space: 72px;
  --max: 1180px;
  --header: 76px;
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
*, *::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.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.28; font-weight: 700; }
p + p { margin-top: 0.85em; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: rgba(255, 46, 136, 0.35); color: #fff; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--z2);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 14, 19, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent;
  border-image: var(--grad) 1;
}
.nav-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex: 0 1 auto;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0;
}
.logo-text {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0;
}
.desk-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.desk-nav a, .drawer-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  border-radius: 10px;
}
.desk-nav a:hover, .drawer-nav a:hover { color: var(--text); }
.desk-nav a[aria-current="page"], .drawer-nav a[aria-current="page"] {
  color: var(--text);
  text-shadow: 0 0 12px rgba(255, 46, 136, 0.55);
}
.desk-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.nav-cta { margin-left: 8px; }
.nav-toggle, .drawer-close, .dock-close {
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-lift);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle { display: none; margin-left: auto; }
.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 19, 0.96);
  z-index: 70;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 28px;
  gap: 18px;
}
.nav-drawer[hidden] { display: none !important; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-nav { display: flex; flex-direction: column; gap: 6px; }
.drawer-nav a { font-size: 20px; padding: 8px 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform .18s ease, filter .18s ease, border-color .18s ease, background .18s ease;
}
.btn-primary { background: var(--grad); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--z2); }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { filter: brightness(0.92); transform: none; }
.btn-text {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  border-bottom: 1px solid transparent;
}
.btn-text:hover { border-bottom-color: var(--z2); color: #fff; }

.section { padding: var(--space) 0; position: relative; }
.band-base { background: var(--bg); }
.band-lift { background: var(--bg-lift); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head h2 { font-size: 32px; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 16px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lilac);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.grad-text {
  color: var(--z2);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero {
  padding: 42px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(900px 280px at 80% 0%, rgba(255, 46, 136, 0.18), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: center;
  position: relative;
}
.hero-grid::before {
  content: "";
  position: absolute;
  right: -6%;
  top: -30px;
  bottom: -30px;
  width: 48%;
  background: linear-gradient(120deg, rgba(255, 46, 136, 0.08), rgba(255, 138, 61, 0.08));
  transform: skewX(-10deg);
  border-radius: 40px;
  z-index: 0;
}
.hero-copy, .hero-visual { position: relative; z-index: 1; }
h1 { font-size: 52px; }
.h1-rest { display: block; margin-top: 8px; font-size: 28px; color: var(--text); font-weight: 650; }
.subhead { margin-top: 16px; font-size: 18px; color: var(--text); }
.hero-copy .lead { margin-top: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stat {
  min-width: 108px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(36, 24, 32, 0.72);
}
.stat b { display: block; font-size: 20px; line-height: 1.2; }
.stat span { color: var(--muted); font-size: 13px; }

.frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    linear-gradient(160deg, rgba(20, 14, 19, 0.1), rgba(20, 14, 19, 0.72)),
    linear-gradient(135deg, #4a1830 0%, #241820 42%, #3d2416 100%);
  clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
}
.frame-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 58%, rgba(20, 14, 19, 0.88) 100%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 234, 240, 0.05) 46px 47px);
}
.frame-block {
  position: absolute;
  border-radius: 18px;
  border: 1px solid rgba(244, 234, 240, 0.14);
}
.frame-block.a { width: 38%; height: 42%; left: 12%; top: 16%; background: rgba(255, 46, 136, 0.28); }
.frame-block.b { width: 28%; height: 26%; right: 12%; top: 22%; background: rgba(255, 138, 61, 0.32); }
.frame-block.c { width: 46%; height: 10%; left: 12%; bottom: 28%; background: rgba(201, 184, 255, 0.2); }
.corner {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 8px;
  left: 10%;
  top: 14px;
}
.series-strip {
  position: absolute;
  z-index: 2;
  left: 8%;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.series-strip a {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 14, 19, 0.72);
  border: 1px solid rgba(244, 234, 240, 0.16);
  font-size: 13px;
}
.series-strip a:hover { border-color: var(--z2); }

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.badge-z1 { background: var(--z1); color: #1a0610; }
.badge-z2 { background: var(--z2); color: #2a1206; }
.badge-neutral { background: transparent; color: var(--lilac); border: 1px solid var(--lilac); }
.badge-lg { min-height: 36px; padding: 0 14px; font-size: 14px; }

.tracks { display: flex; flex-direction: column; gap: 16px; }
.track {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #1b1318;
  box-shadow: var(--shadow-soft);
}
.track:nth-child(1) { width: 100%; }
.track:nth-child(2) { width: 92%; margin-left: 8%; background: #22161d; }
.track:nth-child(3) { width: 84%; margin-left: 16%; background: #2a1b22; }
.track h3 { font-size: 20px; margin-bottom: 4px; }
.track p { color: var(--muted); font-size: 14px; }
.track-no {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(255, 46, 136, 0.12);
  color: var(--lilac);
}
.track:hover { border-color: var(--z1); }
.track:hover .badge { filter: brightness(1.08); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 36px;
  height: 2px;
  background: var(--grad);
  opacity: 0.7;
}
.step {
  position: relative;
  padding: 22px;
  border-radius: 24px;
  background: #1c1419;
  border: 1px solid var(--line);
}
.step-no {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

.voice-wall { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 18px; }
.quotes { display: grid; gap: 14px; }
.quote, .score-wall, .mega, .note, .clip, .scene-card, .meter-card, .entry-card, .close-card, .acc-item, .score-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1b1318;
  box-shadow: var(--shadow);
}
.quote { padding: 22px 24px; }
.quote:hover { border-color: rgba(255, 138, 61, 0.7); }
.quote p { font-size: 16px; }
.quote footer { margin-top: 12px; color: var(--muted); font-size: 13px; }
.score-wall { padding: 22px; display: grid; gap: 12px; align-content: start; }
.score-wall h3 { font-size: 18px; }
.score-line { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.score-line:last-child { border-bottom: 0; }
.score-line b { color: var(--lilac); font-size: 22px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mega { padding: 28px; min-height: 420px; display: flex; flex-direction: column; gap: 14px; }
.mega.z1 { background: linear-gradient(180deg, rgba(255, 46, 136, 0.16), #1b1318 42%); }
.mega.z2 { background: linear-gradient(180deg, rgba(255, 138, 61, 0.16), #1b1318 42%); }
.mega h3 { font-size: 28px; }
.mega .points { display: grid; gap: 8px; color: var(--text); }
.mega .points li { padding-left: 14px; position: relative; }
.mega .points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lilac); position: absolute; left: 0; top: 0.7em; }
.scale { display: grid; gap: 10px; margin-top: auto; }
.scale-row span { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.bar { height: 8px; border-radius: 99px; background: #3a2a33; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--grad); border-radius: inherit; }
.diff { display: flex; flex-wrap: wrap; gap: 8px; }

.notes { display: grid; gap: 12px; }
.note {
  display: grid;
  grid-template-columns: 92px 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  box-shadow: none;
}
.note:hover { border-color: var(--z2); }
.note time, .note .zone-name { color: var(--muted); font-size: 14px; }
.note h3 { font-size: 17px; }
.note p { color: var(--muted); font-size: 14px; }
.note a { color: var(--lilac); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

.acc { display: grid; gap: 12px; }
.acc-item { overflow: hidden; box-shadow: none; background: #1b1318; }
.acc-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  min-height: 64px;
  padding: 16px 18px 16px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  position: relative;
}
.acc-item.z1 .acc-btn { box-shadow: inset 4px 0 0 var(--z1); }
.acc-item.z2 .acc-btn { box-shadow: inset 4px 0 0 var(--z2); }
.acc-btn:hover { color: #fff; }
.acc-panel { padding: 0 22px 18px 22px; color: var(--muted); }
.acc-panel[hidden] { display: none !important; }

.guarantee {
  padding: 28px 0;
  background: #1a1217;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.g-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.g-row h2 { font-size: 22px; margin-right: 8px; }
.g-copy { flex: 1 1 320px; color: var(--muted); }

.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.entry-card { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 220px; }
.entry-card h3 { font-size: 26px; }
.entry-card p { color: var(--muted); }
.entry-card.a { background: linear-gradient(160deg, rgba(255, 46, 136, 0.2), #1b1318 55%); }
.entry-card.b { background: linear-gradient(200deg, rgba(255, 138, 61, 0.2), #1b1318 55%); }

.list-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 22px; }
.mix {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: start;
}
.clip { padding: 16px; box-shadow: var(--shadow-soft); }
.clip:hover { border-color: var(--z1); }
.clip:hover .badge { filter: brightness(1.08); }
.clip .ph {
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.ph.p1 { background: linear-gradient(145deg, #5a2040, #241820 60%, #3a2218); }
.ph.p2 { background: linear-gradient(160deg, #3d2418, #241820 50%, #4a2040); }
.ph.p3 { background: linear-gradient(180deg, #6a2450, #2a1822); }
.ph.p4 { background: linear-gradient(135deg, #8a4a28, #241820); }
.ph.p5 { background: linear-gradient(200deg, #4a1834, #2c2030); }
.ph.p6 { background: linear-gradient(120deg, #3a2018, #5a2848); }
.ph span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 12px;
  color: var(--text);
}
.clip h3 { font-size: 18px; margin: 8px 0; }
.clip p { color: var(--muted); font-size: 14px; }
.clip .more { margin-top: 10px; color: var(--lilac); font-weight: 700; display: inline-flex; min-height: 36px; align-items: center; }
.s7 { grid-column: span 7; }
.s5 { grid-column: span 5; }
.s4 { grid-column: span 4; }
.s6 { grid-column: span 6; }
.s8 { grid-column: span 8; }

.meter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.meter-card { padding: 22px; box-shadow: none; }
.meter-card:hover { border-color: var(--lilac); }
.meter-card b { display: block; font-size: 32px; line-height: 1.1; margin: 8px 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.meter-card p { color: var(--muted); font-size: 14px; }

.scene-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.scene-card { padding: 28px; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.scene-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(20, 14, 19, 0.2) 30%, #1b1318 78%);
}
.scene-card .inner { position: relative; z-index: 1; }
.scene-card.night { background: radial-gradient(500px 180px at 20% 20%, rgba(255, 46, 136, 0.35), transparent 60%), #241820; }
.scene-card.short { background: radial-gradient(420px 180px at 80% 10%, rgba(255, 138, 61, 0.35), transparent 60%), #241820; }
.scene-card h3 { font-size: 26px; margin: 8px 0; }

.week-wrap { overflow-x: auto; }
.week { display: grid; grid-template-columns: repeat(7, minmax(44px, 1fr)); gap: 8px; min-width: 640px; }
.day {
  min-height: 128px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #1b1318;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 44px;
}
.day:hover { border-color: var(--z2); }
.day strong { font-size: 14px; }
.day em { font-style: normal; color: var(--muted); font-size: 13px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  background: #1b1318;
}
.tag:hover { border-color: var(--z1); color: #fff; }
.tag:active { background: #2a1b22; }

.score-layout { display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: center; }
.radar-card {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #1b1318;
  padding: 16px;
}
.radar-card svg { width: 100%; height: auto; display: block; }
.dim { display: grid; gap: 14px; }
.dim h3 { font-size: 16px; margin-bottom: 4px; }
.dim p { color: var(--muted); font-size: 14px; }

.close-card {
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(255, 46, 136, 0.16), rgba(255, 138, 61, 0.1)),
    #1b1318;
}
.close-card h2 { font-size: 30px; margin-bottom: 10px; }
.close-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer {
  background: #100b0e;
  border-top: 2px solid transparent;
  border-image: var(--grad) 1;
  padding: 36px 0 28px;
}
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.legal { margin-top: 18px; color: var(--muted); font-size: 13px; }
.age {
  display: inline-flex;
  min-width: 36px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--z2);
  border-radius: 6px;
  color: var(--z2);
  font-size: 12px;
  margin-right: 8px;
  padding: 0 6px;
}

.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: #241820;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(140%);
  transition: transform .2s ease;
}
.dock.is-on { transform: none; }
.dock-label { font-weight: 700; }
.dock-actions { display: flex; gap: 8px; align-items: center; }

@media (max-width: 1200px) {
  h1 { font-size: 46px; }
  .track:nth-child(2), .track:nth-child(3) { width: 100%; margin-left: 0; }
}
@media (max-width: 1024px) {
  .hero-grid, .voice-wall, .score-layout, .scene-grid, .compare, .entries { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .meter-grid { grid-template-columns: 1fr 1fr; }
  .note { grid-template-columns: 1fr; gap: 6px; }
  .s7, .s5, .s4, .s6, .s8 { grid-column: span 6; }
}
@media (max-width: 960px) {
  .section { padding: 56px 0; }
  .mix { grid-template-columns: 1fr 1fr; }
  .s7, .s5, .s4, .s6, .s8 { grid-column: auto; }
}
@media (max-width: 768px) {
  :root { --space: 48px; --header: 64px; }
  .container { width: min(var(--max), calc(100% - 32px)); }
  .desk-nav, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  h1 { font-size: 32px; }
  .h1-rest, .section-head h2, .close-card h2 { font-size: 24px; }
  .mega h3, .entry-card h3, .scene-card h3 { font-size: 22px; }
  .hero { padding-top: 28px; }
  .frame { clip-path: none; }
  .steps, .meter-grid, .mix, .entries { grid-template-columns: 1fr; }
  .close-card { flex-direction: column; align-items: flex-start; padding: 24px; }
  .list-head { flex-direction: column; align-items: flex-start; }
  .dock-label { display: none; }
  .logo-text { font-size: 14px; }
}
@media (max-width: 520px) {
  .hero-actions, .close-actions, .dock-actions .btn { width: 100%; }
  .stat { flex: 1 1 46%; }
  .track { grid-template-columns: 1fr; }
  .week { min-width: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .dock { transition: none; }
}

/* roulang page: category1 */
:root {
  --bg: #140E13;
  --bg-lift: #241820;
  --line: #3A2A33;
  --z1: #FF2E88;
  --z2: #FF8A3D;
  --grad: linear-gradient(120deg, #FF2E88 0%, #FF8A3D 100%);
  --lilac: #C9B8FF;
  --text: #F4EAF0;
  --muted: #B7A3AD;
  --focus: #FF8A3D;
  --ink: #140E13;
  --radius: 26px;
  --radius-sm: 14px;
  --shadow: 0 18px 42px rgba(42, 8, 24, 0.46);
  --shadow-soft: 0 10px 28px rgba(255, 46, 136, 0.12);
  --space: 72px;
  --max: 1180px;
  --header: 76px;
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
/* roulang page: category1 */
*, *::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;
  padding-bottom: 84px;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, summary { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 12px; font-weight: 750; }
h1 { font-size: clamp(32px, 4vw, 52px); letter-spacing: 0; }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 20px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.grad-text { color: var(--z1); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 14, 19, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent;
  border-image: var(--grad) 1;
}
.nav-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex: 0 1 auto;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  flex: 0 0 auto;
}
.logo-text { font-size: 16px; font-weight: 750; }
.desk-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.desk-nav a, .drawer-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  border-radius: 10px;
}
.desk-nav a:hover, .drawer-nav a:hover { color: var(--text); }
.desk-nav a[aria-current="page"], .drawer-nav a[aria-current="page"] {
  color: var(--text);
  text-shadow: 0 0 12px rgba(255, 46, 136, 0.55);
}
.desk-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.nav-cta { margin-left: 8px; }
.nav-toggle, .drawer-close, .dock-close {
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-lift);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle { display: none; margin-left: auto; }
.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 19, 0.96);
  z-index: 70;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 28px;
  gap: 18px;
}
.nav-drawer[hidden] { display: none !important; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-nav { display: flex; flex-direction: column; gap: 6px; }
.drawer-nav a { font-size: 20px; padding: 8px 4px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform .18s ease, filter .18s ease, border-color .18s ease, background .18s ease;
}
.btn-primary { background: var(--grad); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--z2); }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { filter: brightness(0.92); transform: none; }
.section { padding: var(--space) 0; position: relative; }
.section-lift { background: var(--bg-lift); }
.section-plain { background: var(--bg); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.lead { color: var(--muted); font-size: 16px; margin: 0; }
.zone-top {
  padding: 42px 0 64px;
  background:
    radial-gradient(820px 260px at 88% 0%, rgba(255, 46, 136, 0.16), transparent 62%),
    var(--bg);
}
.zone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
}
.zone-copy .lead { margin-top: 8px; max-width: 40em; }
.zone-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.bound-line { margin-top: 18px; color: var(--muted); font-size: 14px; }
.badge-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #1b1318;
  box-shadow: var(--shadow);
}
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.badge-z1 { background: var(--z1); color: #1a0610; }
.badge-z2 { background: var(--z2); color: #2a1206; }
.badge-neutral { background: transparent; color: var(--lilac); border: 1px solid var(--lilac); }
.badge-lg { min-height: 36px; padding: 0 14px; font-size: 14px; }
.frame {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #1b1318;
}
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.frame-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.chip {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.chip:hover { border-color: var(--z1); transform: translateY(-1px); }
.chip:active { transform: none; }
.chip[aria-pressed="true"] {
  background: var(--grad);
  color: var(--ink);
  border-color: transparent;
}
.v-list { display: flex; flex-direction: column; gap: 18px; }
.v-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1b1318;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.v-card:hover { border-color: var(--z1); box-shadow: var(--shadow-soft); }
.v-card:hover .badge-z1 { filter: brightness(1.08); }
.v-card[hidden] { display: none !important; }
.v-media { position: relative; min-height: 180px; background: #241018; }
.v-media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.v-media .badge { position: absolute; left: 14px; top: 14px; }
.v-body { padding: 24px 26px 22px; display: flex; flex-direction: column; gap: 8px; }
.meta-line { color: var(--muted); font-size: 13px; margin: 0; }
.v-body p { color: var(--text); margin: 0; }
.card-link {
  margin-top: 8px;
  align-self: flex-start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--z2);
  font-weight: 700;
  border-bottom: 1px solid transparent;
}
.card-link:hover { border-bottom-color: var(--z2); color: #fff; }
.empty-note {
  margin: 8px 0 0;
  color: var(--muted);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line);
}
.day-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.day {
  min-height: 92px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #1b1318;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--muted);
  transition: border-color .18s ease, transform .18s ease;
}
.day span { font-size: 14px; }
.day em { font-style: normal; font-size: 13px; font-weight: 700; }
.day.is-on { border-color: rgba(255, 46, 136, 0.7); color: var(--text); box-shadow: var(--shadow-soft); }
.day.is-on em { color: var(--z1); }
.day:hover { border-color: var(--z2); transform: translateY(-1px); }
.day:active { transform: none; }
.point-row {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.point {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #1b1318;
  box-shadow: var(--shadow);
  padding: 26px 24px;
}
.point:nth-child(2) { margin-top: 28px; }
.point:nth-child(3) { margin-top: 12px; }
.point strong {
  display: block;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--lilac);
}
.point p { margin: 0; color: var(--muted); }
.scene-row {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 16px;
}
.scene-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #1b1318;
  box-shadow: var(--shadow);
  padding: 28px 26px;
  min-height: 220px;
}
.scene-card:first-child { background: linear-gradient(180deg, rgba(255, 46, 136, 0.16), #1b1318 48%); }
.scene-card:last-child { background: linear-gradient(200deg, rgba(255, 138, 61, 0.14), #1b1318 46%); }
.scene-card p { margin: 0; color: var(--muted); }
.acc { display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #1b1318;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.acc-item summary {
  min-height: 58px;
  padding: 16px 20px 16px 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: var(--z1);
  flex: 0 0 auto;
}
.acc-item[open] { border-color: rgba(255, 46, 136, 0.65); }
.acc-item[open] summary { color: #fff; }
.acc-body { padding: 0 20px 18px 34px; color: var(--muted); }
.note-list { display: flex; flex-direction: column; gap: 12px; }
.note {
  display: grid;
  grid-template-columns: 140px 88px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #1b1318;
}
.note time, .note .note-zone { color: var(--muted); font-size: 14px; }
.note p { margin: 0; }
.note a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--z2);
  font-weight: 700;
  white-space: nowrap;
}
.note a:hover { color: #fff; }
.more-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 46, 136, 0.12), rgba(255, 138, 61, 0.08)),
    #1b1318;
  box-shadow: var(--shadow);
}
.more-bar p { margin: 0; color: var(--muted); }
.site-footer {
  padding: 36px 0 28px;
  background: #100b0e;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.legal { margin-top: 18px; color: var(--muted); font-size: 13px; }
.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 24px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--z1);
  color: #1a0610;
  font-weight: 800;
  font-size: 12px;
}
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(20, 14, 19, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px rgba(42, 8, 24, 0.35);
}
.dock[hidden] { display: none !important; }
.dock-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dock-label { font-weight: 750; }
.dock .btn { margin-left: auto; }
@media (max-width: 1200px) {
  .point-row { grid-template-columns: 1fr 1fr; }
  .point:nth-child(3) { grid-column: 1 / -1; margin-top: 0; }
}
@media (max-width: 1024px) {
  .zone-grid, .scene-row { grid-template-columns: 1fr; }
  .point:nth-child(2) { margin-top: 0; }
  .note { grid-template-columns: 1fr 1fr; }
  .note p, .note a { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .logo-text { font-size: 14px; }
  .v-card { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --space: 48px; --header: 64px; }
  .desk-nav, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .day-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .point-row, .scene-row { grid-template-columns: 1fr; }
  .more-bar { flex-direction: column; align-items: flex-start; padding: 22px; }
  .dock-label { display: none; }
  .container { width: min(var(--max), calc(100% - 28px)); }
}
@media (max-width: 520px) {
  .day-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badge-stack, .v-body, .scene-card, .point { padding: 18px; }
  .note { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .footer-grid { align-items: flex-start; }
}

/* roulang page: category2 */
:root {
  --bg: #140E13;
  --bg-lift: #241820;
  --bg-deep: #100b0e;
  --line: #3A2A33;
  --z1: #FF2E88;
  --z2: #FF8A3D;
  --grad: linear-gradient(120deg, #FF2E88 0%, #FF8A3D 100%);
  --lilac: #C9B8FF;
  --text: #F4EAF0;
  --muted: #B7A3AD;
  --focus: #FF8A3D;
  --ink: #140E13;
  --radius: 26px;
  --radius-sm: 14px;
  --shadow: 0 18px 42px rgba(42, 8, 24, 0.46);
  --shadow-soft: 0 10px 28px rgba(255, 46, 136, 0.12);
  --space: 72px;
  --max: 1180px;
  --header: 76px;
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
/* roulang page: category2 */
*, *::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.nav-open { overflow: hidden; }
body.dock-on { padding-bottom: 88px; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(255, 46, 136, 0.35); color: #fff; }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 14, 19, 0.94);
  backdrop-filter: blur(10px);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--grad);
}
.nav-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex: 0 1 auto;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  flex: 0 0 auto;
}
.logo-text { font-size: 16px; font-weight: 700; }
.desk-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.desk-nav a, .drawer-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  border-radius: 10px;
}
.desk-nav a:hover, .drawer-nav a:hover { color: var(--text); }
.desk-nav a[aria-current="page"], .drawer-nav a[aria-current="page"] {
  color: var(--text);
  text-shadow: 0 0 12px rgba(255, 138, 61, 0.55);
}
.desk-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.nav-cta { margin-left: 8px; }
.nav-toggle, .drawer-close, .dock-close {
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-lift);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle { display: none; margin-left: auto; }
.nav-toggle:hover, .drawer-close:hover, .dock-close:hover { border-color: var(--z2); }
.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 19, 0.96);
  z-index: 70;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 28px;
  gap: 18px;
}
.nav-drawer[hidden] { display: none !important; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-nav { display: flex; flex-direction: column; gap: 6px; }
.drawer-nav a { font-size: 20px; padding: 8px 4px; }
.drawer-cta { align-self: flex-start; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform .18s ease, filter .18s ease, border-color .18s ease, background .18s ease;
}
.btn-primary { background: var(--grad); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--z2); }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { filter: brightness(0.92); transform: none; }
.section { padding: var(--space) 0; position: relative; }
.section-alt { background: #1a1217; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head h2, .split-head h2, .zone-copy h1 { margin: 0; }
h1 { font-size: 46px; line-height: 1.25; font-weight: 800; letter-spacing: 0; }
h2 { font-size: 32px; line-height: 1.35; font-weight: 750; margin: 0 0 12px; }
h3 { font-size: 20px; line-height: 1.45; margin: 0; font-weight: 700; }
p { margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 16px; margin-top: 14px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--z2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.badge-z1 { background: var(--z1); color: #1a0610; }
.badge-z2 { background: var(--z2); color: #2a1206; }
.badge-neutral { background: transparent; color: var(--lilac); border: 1px solid var(--lilac); }
.badge-lg { min-height: 36px; padding: 0 14px; font-size: 14px; }
.zone-head {
  padding: 36px 0 56px;
  background:
    radial-gradient(820px 240px at 88% 0%, rgba(255, 138, 61, 0.16), transparent 62%),
    var(--bg);
}
.zone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
}
.zone-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.score-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1b1318;
  box-shadow: var(--shadow);
  padding: 22px 22px 10px;
}
.score-panel h2 { font-size: 16px; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.meter { margin-bottom: 14px; }
.meter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.meter-top strong { color: var(--lilac); font-size: 18px; }
.meter-track {
  margin-top: 6px;
  height: 8px;
  border-radius: 999px;
  background: #3a2a33;
  overflow: hidden;
}
.meter-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad);
}
.dual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 18px;
  align-items: stretch;
}
.stack { display: flex; flex-direction: column; gap: 18px; }
.entry-card, .quote, .slice-card, .scene-card, .note, .acc-item, .toc-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1b1318;
  box-shadow: var(--shadow);
}
.entry-card { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 12px; transition: border-color .18s ease; }
.entry-card:hover { border-color: rgba(255, 138, 61, 0.72); }
.entry-card:hover .badge { filter: brightness(1.08); }
.entry-card p, .scene-card p, .note p, .quote p { color: var(--muted); margin: 0; }
.meta-row, .chip-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 138, 61, 0.55), rgba(20, 14, 19, 0.1) 42%),
    repeating-linear-gradient(90deg, #2a1c24 0 18px, #241820 18px 36px);
}
.frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(20, 14, 19, 0.88));
}
.frame-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.frame-caption {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  background: rgba(20, 14, 19, 0.55);
  border: 1px solid rgba(244, 234, 240, 0.14);
  border-radius: 999px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
}
.split-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}
.split-head p { margin: 0; color: var(--muted); max-width: 460px; }
.slice-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.slice-row::-webkit-scrollbar { height: 8px; }
.slice-row::-webkit-scrollbar-thumb { background: #3A2A33; border-radius: 999px; }
.slice-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  padding: 22px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.slice-card strong { font-size: 28px; color: var(--z2); line-height: 1; }
.slice-card:hover { border-color: rgba(255, 138, 61, 0.72); }
.voice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 18px;
}
.quote-col { display: flex; flex-direction: column; gap: 16px; }
.quote { padding: 22px 24px; }
.quote p { font-size: 17px; color: var(--text); }
.quote footer { margin-top: 12px; color: var(--muted); font-size: 13px; }
.badge-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1b1318;
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.badge-stat { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid var(--line); }
.badge-stat:last-child { border-bottom: 0; }
.badge-stat b { font-size: 22px; color: var(--lilac); }
.acc-list { display: flex; flex-direction: column; gap: 12px; }
.acc-item { padding: 0 18px; border-left: 4px solid transparent; }
.acc-item[open] { border-left-color: var(--z2); }
.acc-item summary {
  cursor: pointer;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  list-style: none;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: "+"; color: var(--z2); font-size: 22px; }
.acc-item[open] summary::after { content: "–"; }
.acc-item p { color: var(--muted); padding-bottom: 14px; }
.bound-line {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}
.scene-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 18px;
}
.scene-card { padding: 28px; min-height: 280px; display: flex; flex-direction: column; gap: 14px; }
.scene-card.night { background: linear-gradient(180deg, rgba(255, 138, 61, 0.16), #1b1318 46%); }
.scene-card.short { background: linear-gradient(200deg, rgba(201, 184, 255, 0.12), #1b1318 50%); }
.scene-card:hover { border-color: rgba(255, 138, 61, 0.72); }
.time-flag { font-size: 13px; color: var(--z2); font-weight: 700; }
.toc-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.toc-card { padding: 18px 8px; }
.toc-card a, .note-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 12px;
  color: var(--text);
}
.toc-card a:hover, .note-link:hover { background: rgba(255, 138, 61, 0.1); color: #fff; }
.note-list { display: flex; flex-direction: column; gap: 14px; }
.note { padding: 20px 22px; }
.note header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.note time { color: var(--muted); font-size: 13px; }
.site-footer {
  padding: 36px 0 28px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.legal {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--z1);
  color: #1a0610;
  font-weight: 800;
  font-size: 12px;
}
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(20, 14, 19, 0.96);
  border-top: 2px solid transparent;
  box-shadow: 0 -12px 32px rgba(42, 8, 24, 0.45);
}
.dock::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--grad);
}
.dock[hidden] { display: none !important; }
.dock-inner { min-height: 72px; display: flex; align-items: center; gap: 14px; }
.dock-label { font-weight: 800; }
.dock-inner .btn { margin-left: auto; }
@media (max-width: 1200px) {
  h1 { font-size: 40px; }
}
@media (max-width: 1024px) {
  .zone-grid, .dual-grid, .voice-grid, .scene-grid, .toc-layout { gap: 16px; }
  .slice-card { flex-basis: 250px; }
}
@media (max-width: 960px) {
  .zone-grid, .dual-grid, .voice-grid, .scene-grid, .toc-layout { grid-template-columns: 1fr; }
  .scene-card { min-height: 0; }
}
@media (max-width: 768px) {
  :root { --space: 48px; --header: 64px; }
  .desk-nav, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .split-head { flex-direction: column; align-items: flex-start; }
  .dock-label { display: none; }
  .dock-inner { min-height: 64px; }
  .dock-inner .btn { width: 100%; }
}
@media (max-width: 520px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .logo-text { font-size: 14px; }
  .entry-card, .scene-card, .quote, .note { padding: 16px; }
  .score-panel { padding: 16px 16px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .entry-card, .slice-card { transition: none; }
}
