/* roulang page: index */
:root {
  --plum: #6B2D45;
  --ink: #241812;
  --persimmon: #E07A4C;
  --paper: #F6F0E8;
  --card: #FFFCF8;
  --line: #E6D9CC;
  --muted: #7A6558;
  --tint: #F3E9E4;
  --shadow: 0 10px 24px rgba(36, 24, 18, .06);
  --shadow-hover: 0 16px 32px rgba(36, 24, 18, .1);
  --radius: 18px;
  --radius-sm: 16px;
  --radius-lg: 20px;
  --max: 1160px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ring: 0 0 0 3px rgba(224, 122, 76, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
a { color: var(--plum); text-decoration: none; }
a:hover { color: var(--persimmon); }
p { margin: 0 0 1.15em; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .6em;
  color: var(--ink);
}
h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: .01em; }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 20px; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--plum);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  z-index: 80;
}
.skip:focus { top: 8px; color: #fff; }
.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(36, 24, 18, .05);
}
.header-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-width: 0;
}
.brand:hover { color: var(--plum); }
.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--plum);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 700;
}
.brand-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
}
.center-cluster {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-form:focus-within {
  border-color: var(--plum);
  box-shadow: var(--ring);
  background: var(--card);
}
.search-icon { width: 20px; height: 20px; color: var(--muted); flex: 0 0 auto; }
.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}
.search-form input::placeholder { color: var(--muted); }
.pill, .head-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: var(--ink);
  background: transparent;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.pill:hover, .head-link:hover { color: var(--persimmon); background: rgba(224, 122, 76, .08); }
.pill:focus-visible, .head-link:focus-visible, .btn:focus-visible, summary:focus-visible, .topic-card:focus-visible, .news-item a:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.pill.is-current {
  border-bottom: 2px solid var(--plum);
  border-radius: 16px 16px 6px 6px;
  color: var(--plum);
  font-weight: 700;
}
.header-links { display: flex; gap: 6px; }
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.band-plain { background: var(--paper); }
.band-tint { background: var(--tint); }
.band-white { background: var(--card); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink h2, .band-ink h3 { color: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.lead { color: var(--muted); font-size: 16px; margin-bottom: 0; }
.band-ink .lead { color: #E6D9CC; }
.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(107, 45, 69, .08);
  color: var(--plum);
  font-size: 13px;
  font-weight: 700;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.search-note { color: var(--muted); min-height: 1.75em; margin-bottom: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--plum);
  background: var(--plum);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:hover { background: var(--persimmon); border-color: var(--persimmon); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-line { background: transparent; color: var(--plum); }
.btn-line:hover { color: var(--ink); }
.metrics, .bento, .compare, .faq-grid, .form-grid, .scene-grid, .cal {
  display: grid;
  gap: 16px;
}
.metrics { grid-template-columns: repeat(4, 1fr); }
.metric, .bento-item, .topic-card, .panel, .step, .faq-item, .day, .voice, .news-item, .assure-item, .slot, .scene-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.metric, .bento-item, .topic-card, .step, .day, .voice, .scene-card, .panel {
  transition: box-shadow .2s ease, border-color .2s ease;
}
.metric:hover, .bento-item:hover, .topic-card:hover, .step:hover, .day:hover, .voice:hover, .scene-card:hover, .panel:hover, .assure-item:hover {
  border-color: var(--plum);
  box-shadow: var(--shadow-hover);
}
.metric { padding: 18px; }
.metric b {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.1;
  color: var(--plum);
  font-variant-numeric: tabular-nums;
}
.kicker { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.metric p, .bento-item p, .topic-card p, .step p, .day p, .voice p, .slot p, .scene-copy p { color: var(--muted); margin: 8px 0 0; }
.topic-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
}
.topic-rail::-webkit-scrollbar { height: 8px; }
.topic-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 16px; }
.topic-card {
  min-width: 250px;
  max-width: 280px;
  padding: 18px;
  scroll-snap-align: start;
  color: var(--ink);
}
.topic-card strong { font-family: var(--serif); font-size: 20px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  background: rgba(107, 45, 69, .1);
  color: var(--plum);
  font-size: 12px;
  font-weight: 700;
}
.bento { grid-template-columns: repeat(6, 1fr); }
.bento-item { padding: 20px; }
.bento-item:nth-child(1) { grid-column: span 4; }
.bento-item:nth-child(2) { grid-column: span 2; }
.bento-item:nth-child(3), .bento-item:nth-child(4), .bento-item:nth-child(5) { grid-column: span 2; }
.bento-item:nth-child(6) { grid-column: span 6; }
.bento-item h3 { margin-top: 12px; }
.bento-item .btn, .step .btn { margin-top: 16px; }
.scene-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.scene-block { min-width: 0; }
.scene-label {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 22px;
}
.scene-list { display: flex; flex-direction: column; gap: 12px; }
.scene-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 12px;
}
.scene-wide { display: flex; flex-direction: column; gap: 12px; }
.wide-card { display: grid; grid-template-columns: 180px 1fr; gap: 14px; padding: 12px; }
.poster {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  min-height: 92px;
  border: 1px solid var(--line);
}
.poster-a { background: #6B2D45; }
.poster-b { background: #3E2A32; }
.poster-c { background: #8C4A3A; }
.poster-d { background: #A35B6A; }
.poster-e { background: #24555a; background: #5C3A45; }
.poster::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  background: var(--persimmon);
}
.play-btn {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--persimmon);
  display: grid;
  place-items: center;
}
.play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}
.scene-copy h3 { font-size: 18px; margin-bottom: 4px; }
.meta { color: var(--muted); font-size: 14px; }
.scene-slots { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.slot { padding: 16px; }
.slot time { display: block; color: var(--plum); font-weight: 700; }
.compare { grid-template-columns: 1fr 1fr; }
.panel { padding: 20px; }
.panel h3 { margin-bottom: 8px; }
.bar { display: grid; grid-template-columns: 88px 1fr 48px; gap: 10px; align-items: center; margin: 12px 0; }
.bar-track { height: 10px; background: var(--tint); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.bar-fill { display: block; height: 100%; background: var(--plum); }
.panel-hot .bar-fill { background: var(--persimmon); }
.bar em { font-style: normal; color: var(--muted); font-size: 13px; }
.timeline { display: flex; gap: 16px; position: relative; padding-top: 18px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 28px;
  height: 1px;
  background: var(--line);
}
.node { position: relative; flex: 1; padding: 28px 14px 8px; }
.node::before {
  content: "";
  position: absolute;
  top: 4px; left: 14px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--persimmon);
  border: 2px solid var(--card);
  box-shadow: 0 0 0 1px var(--plum);
}
.node strong { display: block; font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}
.news-item time { color: var(--plum); font-weight: 700; }
.news-item a { color: var(--ink); font-family: var(--serif); font-size: 20px; line-height: 1.25; }
.news-item a:hover { color: var(--plum); }
.more-row { margin-top: 18px; }
.entry {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 248, .04);
  border: 1px solid rgba(230, 217, 204, .35);
}
.entry .poster { min-height: 180px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.step { padding: 20px; }
.step:nth-child(2) { margin-top: 36px; }
.step:nth-child(3) { margin-top: 12px; }
.step span { color: var(--persimmon); font-weight: 700; font-size: 13px; }
.assure { display: flex; flex-direction: column; gap: 12px; }
.assure-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 18px;
  box-shadow: none;
}
.assure-item strong { font-family: var(--serif); }
.quick-list details, .faq-item {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
}
.quick-list { display: flex; flex-direction: column; gap: 10px; }
.quick-list details { border-left: 4px solid var(--plum); box-shadow: none; }
.quick-list summary, .faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--ink);
}
.quick-list summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.quick-list details p, .faq-item p { padding: 0 18px 16px; color: var(--muted); margin: 0; }
.faq-grid { grid-template-columns: 1fr 1fr; }
.faq-item summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.plus {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--plum);
  background: var(--paper);
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] .plus { transform: rotate(45deg); background: var(--persimmon); color: var(--ink); }
.cal { grid-template-columns: repeat(7, 1fr); }
.day { padding: 14px; min-height: 148px; }
.day b { display: block; color: var(--plum); margin-bottom: 8px; }
.boundary {
  max-width: 860px;
  padding: 18px 20px;
  border-left: 4px solid var(--plum);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.boundary p { margin: 8px 0 0; color: var(--muted); }
.voice-wall { columns: 2; column-gap: 16px; }
.voice {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  padding: 18px;
}
.voice:nth-child(2n) { min-height: 150px; }
.voice:nth-child(3n) { min-height: 120px; }
.voice cite { display: block; margin-top: 10px; color: var(--plum); font-style: normal; font-size: 13px; }
.form-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}
.form-grid { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field span { font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.6;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: var(--ring);
  background: #fff;
}
.sub-done {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--plum);
  border: 1px solid var(--line);
}
.site-footer {
  background: var(--ink);
  color: #E6D9CC;
  padding: 42px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; }
.site-footer .brand-text, .site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--persimmon); }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.copy { margin-top: 22px; color: #cbb8a8; font-size: 14px; }
.is-hidden { display: none !important; }
@media (max-width: 1024px) {
  .header-bar { grid-template-columns: 1fr auto; min-height: 0; padding: 12px 0; }
  .center-cluster { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .pill-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
  .metrics, .cal { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-item, .bento-item:nth-child(n) { grid-column: auto; }
  .bento-item:nth-child(6) { grid-column: 1 / -1; }
  .wide-card { grid-template-columns: 120px 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .metrics, .compare, .faq-grid, .steps, .scene-grid, .scene-slots, .footer-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .cal { grid-template-columns: 1fr 1fr; }
  .step:nth-child(n) { margin-top: 0; }
  .entry, .wide-card, .assure-item { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; padding-top: 0; }
  .timeline::before { left: 18px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .node { padding: 0 0 16px 36px; }
  .node::before { left: 12px; top: 6px; }
  .voice-wall { columns: 1; }
  .brand-text { font-size: 16px; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 24px)); }
  .header-links { gap: 0; }
  .head-link { padding: 0 8px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .bento, .form-grid { grid-template-columns: 1fr; }
  .bento-item:nth-child(6) { grid-column: auto; }
  .scene-card { grid-template-columns: 76px 1fr; }
  .news-item { grid-template-columns: 72px 1fr; }
  .hero-actions .btn, .more-row .btn, .form-card .btn { width: 100%; }
}
@media (max-width: 520px) {
  h1 { font-size: 30px; }
  .cal, .scene-slots { grid-template-columns: 1fr; }
  .metric b { font-size: 30px; }
  .bar { grid-template-columns: 72px 1fr 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
 --plum: #6B2D45;
 --ink: #241812;
 --persimmon: #E07A4C;
 --paper: #F6F0E8;
 --card: #FFFCF8;
 --line: #E6D9CC;
 --muted: #7A6558;
 --tint: #F3E9E4;
 --shadow: 0 10px 24px rgba(36, 24, 18, .06);
 --shadow-hover: 0 16px 32px rgba(36, 24, 18, .1);
 --radius: 18px;
 --radius-sm: 16px;
 --radius-lg: 20px;
 --max: 1160px;
 --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
 --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
 --ring: 0 0 0 3px rgba(224, 122, 76, .45);
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 color: var(--ink);
 background: var(--paper);
 font-family: var(--sans);
 font-size: 16px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; color: inherit; }
a { color: var(--plum); text-decoration: none; }
a:hover { color: var(--persimmon); }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 {
 font-family: var(--serif);
 line-height: 1.25;
 font-weight: 700;
 margin: 0 0 12px;
 color: var(--ink);
}
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; margin-bottom: 8px; }
.wrap {
 width: min(var(--max), calc(100% - 32px));
 margin: 0 auto;
}
.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 overflow: hidden;
 clip: rect(0 0 0 0);
}
.site-header {
 position: sticky;
 top: 0;
 z-index: 50;
 background: var(--card);
 border-bottom: 1px solid var(--line);
 box-shadow: 0 8px 20px rgba(36, 24, 18, .05);
}
.header-bar {
 display: grid;
 grid-template-columns: auto minmax(0, 1fr) auto;
 gap: 18px;
 align-items: center;
 min-height: 78px;
}
.brand {
 display: flex;
 align-items: center;
 gap: 10px;
 color: var(--ink);
 min-width: 0;
}
.brand:hover { color: var(--plum); }
.brand-mark {
 width: 42px;
 height: 42px;
 flex: 0 0 42px;
 display: grid;
 place-items: center;
 border-radius: var(--radius-sm);
 background: var(--plum);
 color: var(--paper);
 font-family: var(--serif);
 font-weight: 700;
}
.brand-text {
 font-family: var(--serif);
 font-weight: 700;
 font-size: 18px;
 line-height: 1.25;
}
.center-cluster {
 display: flex;
 align-items: center;
 gap: 10px;
 min-width: 0;
}
.center-cluster .search-form { flex: 1; }
.search-form {
 display: flex;
 align-items: center;
 gap: 8px;
 min-width: 0;
 height: 52px;
 padding: 0 16px;
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.search-form:focus-within {
 border-color: var(--plum);
 box-shadow: var(--ring);
 background: var(--card);
}
.search-icon { width: 20px; height: 20px; color: var(--muted); flex: 0 0 auto; }
.search-form input {
 width: 100%;
 min-width: 0;
 border: 0;
 outline: 0;
 background: transparent;
 color: var(--ink);
 font-size: 16px;
 line-height: 1.4;
}
.search-form input::placeholder { color: var(--muted); }
.pill, .head-link {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 36px;
 padding: 0 14px;
 border-radius: var(--radius-sm);
 border: 1px solid transparent;
 color: var(--ink);
 background: transparent;
 white-space: nowrap;
 transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.pill:hover, .head-link:hover { color: var(--persimmon); background: rgba(224, 122, 76, .08); }
.pill:focus-visible, .head-link:focus-visible, .btn:focus-visible, summary:focus-visible, .entry:focus-within, .article-card:focus-within, .seg button:focus-visible, input:focus-visible, textarea:focus-visible {
 outline: none;
 box-shadow: var(--ring);
}
.pill.is-current {
 border-bottom: 2px solid var(--plum);
 border-radius: 16px 16px 6px 6px;
 color: var(--plum);
 font-weight: 700;
}
.header-links { display: flex; gap: 6px; }
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-tight { padding: 42px 0 28px; }
.section-tint { background: var(--tint); }
.section-card { background: rgba(107, 45, 69, .04); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.lead { color: var(--muted); font-size: 16px; margin-bottom: 0; }
.band-ink { background: var(--ink); color: #F6F0E8; border-top: 0; }
.band-ink h2, .band-ink .brand { color: #F6F0E8; }
.band-ink .lead { color: #E6D9CC; }
.eyebrow {
 display: inline-flex;
 margin-bottom: 14px;
 padding: 4px 12px;
 border: 1px solid var(--line);
 border-radius: var(--radius-sm);
 background: rgba(107, 45, 69, .08);
 color: var(--plum);
 font-size: 13px;
 font-weight: 700;
}
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 46px;
 padding: 0 22px;
 border-radius: var(--radius-sm);
 border: 1px solid var(--plum);
 background: var(--plum);
 color: #fff;
 font-weight: 700;
 cursor: pointer;
 transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:hover { background: var(--persimmon); border-color: var(--persimmon); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-line { background: transparent; color: var(--plum); }
.btn-line:hover { color: var(--ink); }
.badge {
 display: inline-flex;
 align-items: center;
 min-height: 26px;
 padding: 0 10px;
 border-radius: var(--radius-sm);
 background: rgba(107, 45, 69, .1);
 color: var(--plum);
 font-size: 12px;
 font-weight: 700;
}
.cat-head {
 display: grid;
 grid-template-columns: minmax(0, 1fr) 280px;
 gap: 28px;
 align-items: end;
}
.filter-card, .entry, .article-card, .node, .faq-item, .scope-card {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.filter-card { padding: 18px 18px 14px; }
.filter-card dl { margin: 12px 0 0; }
.filter-card div {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 padding: 8px 0;
 border-top: 1px solid var(--line);
 font-size: 14px;
}
.filter-card dt { color: var(--muted); }
.filter-card dd { margin: 0; font-weight: 700; }
.entry, .article-card, .node, .scope-card {
 transition: box-shadow .2s ease, border-color .2s ease;
}
.entry:hover, .article-card:hover, .node:hover, .scope-card:hover, .filter-card:hover {
 border-color: var(--plum);
 box-shadow: var(--shadow-hover);
}
.filter-bar {
 display: flex;
 flex-wrap: wrap;
 gap: 16px 22px;
 align-items: flex-end;
}
.filter-group { min-width: 0; }
.filter-label {
 display: block;
 margin-bottom: 8px;
 color: var(--muted);
 font-size: 13px;
 font-weight: 700;
}
.seg {
 display: inline-flex;
 flex-wrap: wrap;
 border: 1px solid var(--line);
 border-radius: var(--radius-sm);
 overflow: hidden;
 background: var(--card);
}
.seg button {
 border: 0;
 border-right: 1px solid var(--line);
 background: transparent;
 color: var(--ink);
 min-height: 40px;
 padding: 0 14px;
 cursor: pointer;
 transition: background .2s ease, color .2s ease;
}
.seg button:last-child { border-right: 0; }
.seg button:hover { color: var(--persimmon); background: rgba(224, 122, 76, .08); }
.seg button[aria-pressed="true"] {
 background: var(--plum);
 color: #fff;
}
.seg button[aria-pressed="true"]:hover { color: #fff; background: var(--plum); }
.catalog-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 16px 18px;
 align-items: start;
 padding-bottom: 28px;
}
.catalog-grid .entry:nth-child(2n) { margin-top: 28px; }
.entry {
 display: grid;
 grid-template-columns: 112px minmax(0, 1fr);
 gap: 14px;
 padding: 12px;
}
.entry.is-hidden { display: none; }
.poster {
 position: relative;
 min-height: 148px;
 border-radius: var(--radius-sm);
 display: grid;
 place-items: center;
 overflow: hidden;
}
.poster span {
 position: absolute;
 left: 10px;
 bottom: 10px;
 font-size: 12px;
 letter-spacing: .08em;
}
.play-btn {
 width: 42px;
 height: 42px;
 border-radius: 50%;
 border: 1px solid rgba(246, 240, 232, .75);
 display: grid;
 place-items: center;
 background: rgba(36, 24, 18, .28);
 color: #F6F0E8;
}
.play-btn svg { width: 14px; height: 14px; margin-left: 2px; }
.poster.p1 { background: #6B2D45; color: #F6F0E8; }
.poster.p2 { background: #8C4638; color: #F6F0E8; }
.poster.p3 { background: #E07A4C; color: #241812; }
.poster.p3 .play-btn { color: #241812; border-color: rgba(36, 24, 18, .35); background: rgba(255, 252, 248, .45); }
.poster.p4 { background: #241812; color: #F6F0E8; }
.poster.p5 { background: #4E2A38; color: #F6F0E8; }
.poster.p6 { background: #A85A3A; color: #F6F0E8; }
.entry-body { min-width: 0; padding: 4px 4px 4px 0; }
.entry-body h3 { font-size: 22px; }
.entry-body a { color: var(--ink); }
.entry-body a:hover { color: var(--persimmon); }
.meta-line { color: var(--muted); font-size: 14px; margin: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.empty-note {
 display: none;
 margin-top: 8px;
 padding: 18px;
 border: 1px dashed var(--line);
 border-radius: var(--radius);
 color: var(--muted);
 background: var(--card);
}
.empty-note.show { display: block; }
.scope-layout {
 display: grid;
 grid-template-columns: 8px minmax(0, 720px);
 gap: 18px;
}
.scope-rail { background: var(--plum); border-radius: 8px; }
.scope-card { padding: 22px 24px; }
.article-layout {
 display: grid;
 grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr);
 gap: 16px;
 align-items: start;
}
.article-card { padding: 18px; color: var(--ink); display: block; }
.article-card strong {
 display: block;
 font-family: var(--serif);
 font-size: 22px;
 line-height: 1.25;
 margin: 10px 0 8px;
}
.article-stack { display: flex; flex-direction: column; gap: 12px; }
.article-stack .article-card strong { font-size: 18px; }
.feature-poster {
 height: 120px;
 border-radius: var(--radius-sm);
 background: #6B2D45;
}
.timeline {
 display: grid;
 grid-template-columns: repeat(4, minmax(0, 1fr));
 gap: 14px;
 position: relative;
}
.timeline::before {
 content: "";
 position: absolute;
 left: 24px;
 right: 24px;
 top: 28px;
 height: 1px;
 background: var(--line);
}
.node { padding: 16px; position: relative; }
.node time {
 display: inline-flex;
 min-height: 28px;
 align-items: center;
 padding: 0 10px;
 border-radius: var(--radius-sm);
 background: rgba(107, 45, 69, .1);
 color: var(--plum);
 font-size: 13px;
 font-weight: 700;
}
.node h3 { margin-top: 14px; }
.node p { color: var(--muted); }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
 list-style: none;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 min-height: 64px;
 padding: 14px 18px;
 cursor: pointer;
 font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.plus {
 width: 32px;
 height: 32px;
 flex: 0 0 32px;
 border-radius: 16px;
 border: 1px solid var(--line);
 display: grid;
 place-items: center;
 color: var(--plum);
 font-style: normal;
 transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faq-item[open] .plus {
 transform: rotate(45deg);
 background: var(--plum);
 color: #fff;
 border-color: var(--plum);
}
.faq-item p { padding: 0 18px 16px; color: var(--muted); }
.form-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 14px 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: 14px; font-weight: 700; color: #F6F0E8; }
.field input, .field textarea {
 width: 100%;
 border: 1px solid var(--line);
 background: var(--card);
 color: var(--ink);
 border-radius: var(--radius-sm);
 padding: 12px 14px;
 font-size: 16px;
 line-height: 1.5;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus {
 border-color: var(--plum);
 box-shadow: var(--ring);
 outline: none;
}
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.form-note { color: #E6D9CC; min-height: 1.75em; }
.site-footer {
 background: var(--ink);
 color: #E6D9CC;
 padding: 48px 0 28px;
}
.site-footer .brand, .site-footer .brand-text { color: #F6F0E8; }
.footer-grid {
 display: grid;
 grid-template-columns: minmax(0, 1.4fr) minmax(180px, .6fr);
 gap: 28px;
}
.foot-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-links a { color: #E6D9CC; }
.foot-links a:hover { color: var(--persimmon); }
.copy {
 margin-top: 28px;
 padding-top: 16px;
 border-top: 1px solid rgba(230, 217, 204, .25);
 color: #CDB9AA;
 font-size: 14px;
}
@media (max-width: 1024px) {
 h1 { font-size: 34px; }
 h2 { font-size: 26px; }
 .cat-head, .article-layout, .timeline { grid-template-columns: 1fr 1fr; }
 .timeline::before { display: none; }
 .catalog-grid .entry:nth-child(2n) { margin-top: 0; }
 .article-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
 .header-bar {
 display: flex;
 flex-direction: column;
 align-items: stretch;
 gap: 10px;
 padding: 12px 0;
 }
 .center-cluster { flex-wrap: wrap; }
 .search-form { flex: 1 0 100%; width: 100%; order: -1; }
 .header-links { justify-content: flex-end; }
 .section { padding: 52px 0; }
 .cat-head, .catalog-grid, .timeline, .form-grid, .footer-grid, .scope-layout {
 grid-template-columns: 1fr;
 }
 .scope-rail { height: 8px; }
 .catalog-grid { padding-bottom: 0; }
 .entry { grid-template-columns: 96px minmax(0, 1fr); }
 h1 { font-size: 30px; }
}
@media (max-width: 520px) {
 .wrap { width: min(var(--max), calc(100% - 24px)); }
 .brand-text { font-size: 16px; }
 .seg { display: flex; width: 100%; }
 .seg button { flex: 1; padding: 0 8px; }
 .entry { grid-template-columns: 84px minmax(0, 1fr); }
 .poster { min-height: 120px; }
 h1 { font-size: 28px; }
 h2 { font-size: 24px; }
}
