/* roulang page: index */
:root {
  --paper: #F3EEE6;
  --ink: #241C19;
  --persimmon: #D4532A;
  --persimmon-deep: #b84422;
  --plum: #5C3A4E;
  --amber: #E2A15C;
  --card: #FFF9F3;
  --muted: #8C7D74;
  --line: #E4D8CC;
  --plum-soft: rgba(92, 58, 78, 0.08);
  --shadow: 0 8px 24px rgba(36, 28, 25, 0.08);
  --shadow-strong: 0 12px 28px rgba(36, 28, 25, 0.16);
  --radius-nav: 24px;
  --radius-card: 18px;
  --radius-btn: 12px;
  --radius-pill: 999px;
  --container: 1120px;
  --focus: 0 0 0 4px rgba(92, 58, 78, 0.28);
  --step: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body.nav-stuck { scroll-padding-top: 120px; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .18s ease, background .18s ease, transform .18s ease, opacity .18s ease, box-shadow .18s ease; }
a:hover { color: var(--persimmon); }
a:active { opacity: .88; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
  box-shadow: var(--focus);
}
::selection { background: var(--amber); color: var(--ink); }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.nav-wrap { width: min(var(--container), calc(100% - 48px)); margin: 16px auto 0; }
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-nav);
  box-shadow: var(--shadow);
}
.nav-shell.is-stuck {
  position: fixed;
  top: 0;
  left: 12px;
  right: 12px;
  width: auto;
  margin: 0;
  z-index: 40;
  border-radius: 0 0 22px 22px;
  box-shadow: var(--shadow-strong);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(145deg, var(--plum), var(--persimmon) 70%);
  border: 1px solid rgba(36, 28, 25, 0.12);
}
.brand-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 460px;
}
.brand-status { font-size: 12px; font-weight: 500; color: var(--persimmon); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { background: rgba(212, 83, 42, 0.1); color: var(--persimmon); }
.nav-links a:active { transform: none; opacity: .88; }
.nav-links a[aria-current="page"] { background: var(--persimmon); color: #fff; }
.nav-links a[aria-current="page"]:hover { background: var(--persimmon-deep); color: #fff; }
.section { padding: var(--step) 0; scroll-margin-top: 112px; }
.section-tight { padding: 48px 0; }
.section-slim { padding: 36px 0; }
.bg-paper { background: var(--paper); }
.bg-plum { background: var(--plum-soft); }
.bg-card { background: #fffdf9; }
.section-head { margin-bottom: 22px; max-width: 760px; }
.section-desc { max-width: 48em; color: var(--ink); }
.kicker { margin-bottom: 6px; color: var(--plum); font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.hero { padding: 28px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; align-items: center; }
.hero-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hero-sub { margin: 12px 0; font-size: 18px; font-weight: 700; color: var(--plum); line-height: 1.5; }
.hero-lead { max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.adult-flag { display: inline-flex; margin-top: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.btn-primary { background: var(--persimmon); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--persimmon-deep); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: none; opacity: .88; }
.btn-secondary { background: #fff; color: var(--persimmon); border-color: var(--persimmon); }
.btn-secondary:hover { background: #fff4ee; color: var(--persimmon-deep); transform: translateY(-1px); }
.btn-secondary:active { transform: none; opacity: .88; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 249, 243, .92);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}
.badge-solid { background: var(--persimmon); color: #fff; border-color: transparent; }
.badge-plum { background: var(--plum); color: #fff; border-color: transparent; }
.badge-amber { background: var(--amber); color: var(--ink); border-color: transparent; }
.cover {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,249,243,.35), transparent 28%),
    linear-gradient(145deg, #5C3A4E 0%, #D4532A 58%, #E2A15C 100%);
  box-shadow: var(--shadow);
  min-height: 120px;
}
.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(36,28,25,.12) 18px 19px);
  pointer-events: none;
}
.cover-16 { aspect-ratio: 16 / 9; }
.cover-34 { aspect-ratio: 3 / 4; }
.cover-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; }
.cover-top, .cover-bottom { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cover-caption { color: #fff; font-weight: 700; font-size: 20px; text-shadow: 0 1px 8px rgba(36,28,25,.25); max-width: 16em; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(36, 28, 25, .72);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.pill b { font-size: 16px; color: var(--amber); }
.pain-grid { display: grid; grid-template-columns: 1.3fr .9fr 1.15fr .95fr; gap: 14px; align-items: start; }
.pain-card, .voice, .topic-card, .scene-card, .archive-card, .pick, .faq-item, .closing-inner, .solution-panel, .stat-row, .people-item, .news-row, .metric {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.pain-card { padding: 16px 16px 18px; }
.pain-card:nth-child(2) { margin-top: 28px; }
.pain-card:nth-child(3) { margin-top: 10px; }
.pain-card:nth-child(4) { margin-top: 34px; }
.pain-card h3 { margin-bottom: 8px; }
.pain-card p, .topic-card p, .scene-card p, .pick p, .voice p { color: var(--ink); font-size: 15px; line-height: 1.75; }
.mark {
  display: inline-block;
  width: 28px;
  height: 4px;
  margin-bottom: 10px;
  border-radius: var(--radius-pill);
  background: var(--persimmon);
}
.solution-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: stretch; }
.solution-panel { padding: 18px; background: var(--plum); color: #fff9f3; }
.solution-steps { display: grid; gap: 12px; }
.solution-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: start; padding-bottom: 12px; border-bottom: 1px solid rgba(255,249,243,.2); }
.solution-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.solution-steps strong { color: var(--amber); font-size: 18px; }
.solution-steps span { line-height: 1.7; }
.timeline { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step-index { font-size: 20px; font-weight: 700; color: var(--persimmon); }
.step p { margin-top: 4px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.stat { padding: 22px 18px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 40px; line-height: 1.1; color: var(--persimmon); }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 500; }
.voice-grid { display: grid; grid-template-columns: 1.15fr 1.15fr .72fr; gap: 14px; align-items: start; }
.voice { padding: 18px; }
.voice-narrow { margin-top: 36px; background: var(--plum); color: #fff9f3; }
.voice-narrow p, .voice-narrow .who { color: #fff9f3; }
.who { margin-top: 14px; color: var(--muted); font-size: 13px; font-weight: 500; }
.people-list { display: grid; gap: 10px; }
.people-item { display: grid; grid-template-columns: 148px 1fr; gap: 16px; align-items: center; padding: 14px 16px; }
.people-tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--radius-pill); background: rgba(212,83,42,.12); color: var(--persimmon-deep); font-weight: 700; }
.news-list { display: grid; gap: 10px; }
.news-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.news-row:hover { transform: translateY(-1px); color: var(--ink); border-color: var(--persimmon); }
.news-row:active { transform: none; opacity: .9; }
.news-date { color: var(--plum); font-weight: 700; font-size: 14px; }
.news-row h3 { font-size: 18px; }
.metric-list { display: grid; gap: 12px; }
.metric { padding: 14px 16px; }
.metric-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; margin-bottom: 8px; }
.meter { display: block; height: 8px; border-radius: var(--radius-pill); background: #f0e4d8; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--plum), var(--persimmon)); }
.w70 { width: 70%; }
.w54 { width: 54%; }
.w82 { width: 82%; }
.topic-grid { display: grid; grid-template-columns: 1.35fr .82fr .82fr; grid-template-areas: "big a b" "big c d"; gap: 14px; }
.topic-big { grid-area: big; }
.topic-a { grid-area: a; }
.topic-b { grid-area: b; }
.topic-c { grid-area: c; }
.topic-d { grid-area: d; }
.topic-card { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); text-decoration: none; height: 100%; }
.topic-card:hover { transform: translateY(-2px); color: var(--ink); border-color: var(--amber); }
.topic-card:active { transform: none; opacity: .92; }
.topic-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.topic-card h3 { font-size: 20px; }
.scene-rail { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.scene-card { min-width: 250px; max-width: 280px; scroll-snap-align: start; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.scene-card h3 { font-size: 18px; }
.entry-layout { display: grid; grid-template-columns: 1.4fr .7fr; gap: 16px; align-items: stretch; }
.archive-card { display: grid; grid-template-columns: 220px 1fr; gap: 0; overflow: hidden; color: var(--ink); text-decoration: none; }
.archive-card:hover { color: var(--ink); border-color: var(--persimmon); transform: translateY(-1px); }
.archive-card:active { transform: none; opacity: .92; }
.archive-copy { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.archive-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.entry-notes { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 4px; }
.pick-stack { display: grid; gap: 12px; }
.pick-wide { display: grid; grid-template-columns: 280px minmax(0, 1fr); overflow: hidden; }
.pick-compact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pick-compact { display: grid; grid-template-columns: 132px minmax(0, 1fr); overflow: hidden; }
.pick-copy { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.pick h3 a { color: var(--ink); text-decoration: none; }
.pick h3 a:hover { color: var(--persimmon); }
.more-row { margin-top: 14px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 0 16px; }
.faq-item summary { cursor: pointer; list-style: none; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--persimmon); border-bottom: 2px solid var(--persimmon); transform: rotate(45deg); flex: 0 0 auto; }
.faq-item[open] { box-shadow: inset 3px 0 0 var(--persimmon), var(--shadow); }
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
.faq-item p { min-height: 3.5em; padding: 0 0 16px; max-width: 48em; }
.closing-inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px; max-width: 860px; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer { background: #2a211e; color: #f6efe8; padding: 28px 0 18px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 22px; }
.site-footer h2 { font-size: 16px; margin-bottom: 8px; }
.site-footer p, .site-footer a { color: #f0e4da; font-size: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-links { display: grid; gap: 6px; }
.footer-base { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(228,216,204,.25); color: #cbbdb3; font-size: 13px; }
.note { color: var(--muted); font-size: 13px; font-weight: 500; }
@media (max-width: 1024px) {
  .nav-shell { flex-direction: column; align-items: stretch; }
  .nav-links { justify-content: flex-start; }
  .hero-grid, .solution-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .pain-card:nth-child(n) { margin-top: 0; }
  .voice-grid { grid-template-columns: 1fr 1fr; }
  .voice-narrow { grid-column: 1 / -1; margin-top: 0; }
  .topic-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "big big" "a b" "c d"; }
  .entry-layout { grid-template-columns: 1fr; }
  .stat strong { font-size: 34px; }
}
@media (max-width: 768px) {
  .container, .nav-wrap { width: min(var(--container), calc(100% - 32px)); }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  .section { padding: 48px 0; }
  .section-tight { padding: 36px 0; }
  .hero { padding-top: 20px; }
  .pain-grid, .voice-grid, .stat-row, .pick-compact-wrap, .footer-grid { grid-template-columns: 1fr; }
  .topic-grid { display: grid; grid-template-columns: 1fr; grid-template-areas: "big" "a" "b" "c" "d"; }
  .topic-small .cover, .cover-34 { aspect-ratio: 16 / 9; }
  .timeline { margin-left: 8px; border-left: 2px solid var(--line); }
  .step { grid-template-columns: 1fr; padding: 12px 0 12px 14px; border-top: 0; }
  .people-item, .news-row, .archive-card, .pick-wide, .pick-compact, .closing-inner { grid-template-columns: 1fr; display: grid; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .solution-steps li { grid-template-columns: 72px 1fr; }
}
@media (max-width: 520px) {
  .brand-name { max-width: 52vw; }
  .nav-links a { padding: 0 10px; }
  .pick-wide, .archive-card { grid-template-columns: 1fr; }
  .cover-caption { font-size: 18px; }
}
@media (max-width: 480px) {
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  h3 { font-size: 16px; }
  body { font-size: 15px; }
  .hero-sub { font-size: 16px; }
  .brand-status { display: none; }
  .brand-name { display: block; max-width: 46vw; white-space: nowrap; }
  .hero-actions, .closing-actions { width: 100%; }
  .hero-actions .btn, .closing-actions .btn, .more-row .btn { width: 100%; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 30px; }
  .faq-item summary { font-size: 16px; align-items: flex-start; padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
 --paper: #F3EEE6;
 --ink: #241C19;
 --persimmon: #D4532A;
 --persimmon-deep: #b84422;
 --plum: #5C3A4E;
 --amber: #E2A15C;
 --card: #FFF9F3;
 --muted: #8C7D74;
 --line: #E4D8CC;
 --plum-soft: rgba(92, 58, 78, 0.08);
 --shadow: 0 8px 24px rgba(36, 28, 25, 0.08);
 --shadow-strong: 0 12px 28px rgba(36, 28, 25, 0.16);
 --radius-nav: 24px;
 --radius-card: 18px;
 --radius-btn: 12px;
 --radius-pill: 999px;
 --container: 1120px;
 --focus: 0 0 0 4px rgba(92, 58, 78, 0.28);
 --step: 64px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
 margin: 0;
 color: var(--ink);
 background: var(--paper);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 font-size: 16px;
 font-weight: 400;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
body.nav-stuck { scroll-padding-top: 120px; padding-top: 86px; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .18s ease, background .18s ease, transform .18s ease, opacity .18s ease, box-shadow .18s ease, border-color .18s ease; }
a:hover { color: var(--persimmon); }
a:active { opacity: .88; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
 outline: 2px solid var(--plum);
 outline-offset: 3px;
 box-shadow: var(--focus);
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { font-size: 40px; font-weight: 700; line-height: 1.25; margin: 0 0 10px; letter-spacing: 0; }
h2 { font-size: 28px; font-weight: 700; line-height: 1.35; margin: 0 0 12px; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.4; margin: 0 0 8px; }
p { margin: 0 0 10px; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.nav-wrap { width: min(var(--container), calc(100% - 48px)); margin: 16px auto 0; }
.nav-shell {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 18px;
 padding: 10px 12px 10px 10px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-nav);
 box-shadow: var(--shadow);
}
.nav-shell.is-stuck {
 position: fixed;
 top: 0;
 left: 12px;
 right: 12px;
 width: auto;
 margin: 0;
 z-index: 40;
 border-radius: 0 0 22px 22px;
 box-shadow: var(--shadow-strong);
}
.brand {
 display: flex;
 align-items: center;
 gap: 10px;
 min-width: 0;
 color: var(--ink);
 text-decoration: none;
}
.brand:hover { color: var(--ink); }
.avatar {
 width: 44px;
 height: 44px;
 border-radius: 50%;
 background: var(--plum);
 color: #fff;
 display: grid;
 place-items: center;
 font-weight: 700;
 font-size: 16px;
 flex: none;
}
.brand-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
 font-size: 14px;
 font-weight: 700;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
 max-width: 460px;
}
.brand-status { font-size: 12px; font-weight: 500; color: var(--persimmon); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.nav-links a {
 display: inline-flex;
 align-items: center;
 min-height: 36px;
 padding: 0 14px;
 border-radius: var(--radius-pill);
 color: var(--ink);
 text-decoration: none;
 font-size: 14px;
 font-weight: 500;
}
.nav-links a:hover { background: rgba(212, 83, 42, 0.1); color: var(--persimmon); }
.nav-links a:active { transform: none; opacity: .88; }
.nav-links a[aria-current="page"] { background: var(--persimmon); color: #fff; }
.nav-links a[aria-current="page"]:hover { background: var(--persimmon-deep); color: #fff; }
.section { padding: var(--step) 0; scroll-margin-top: 112px; }
.section-tight { padding: 48px 0; }
.section-slim { padding: 36px 0; }
.bg-card { background: #fffdf9; }
.bg-plum { background: var(--plum-soft); }
.bg-return { background: rgba(226, 161, 92, 0.18); }
.section-head { margin-bottom: 22px; max-width: 760px; }
.section-desc { max-width: 48em; color: var(--ink); }
.note { font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.6; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 16px;
 border-radius: var(--radius-btn);
 border: 1px solid transparent;
 text-decoration: none;
 font-weight: 700;
 line-height: 1;
 cursor: pointer;
}
.btn-primary { background: var(--persimmon); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--persimmon-deep); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: none; opacity: .88; }
.btn-secondary { background: #fff; color: var(--persimmon); border-color: var(--persimmon); }
.btn-secondary:hover { background: #fff4ee; color: var(--persimmon-deep); transform: translateY(-1px); }
.btn-secondary:active { transform: none; opacity: .88; }
.badge {
 display: inline-flex;
 align-items: center;
 min-height: 26px;
 padding: 0 10px;
 border-radius: var(--radius-pill);
 background: rgba(255, 249, 243, .92);
 color: var(--ink);
 border: 1px solid var(--line);
 font-size: 13px;
 font-weight: 500;
 line-height: 1;
}
.badge-solid { background: var(--persimmon); color: #fff; border-color: transparent; }
.badge-plum { background: var(--plum); color: #fff; border-color: transparent; }
.badge-amber { background: var(--amber); color: var(--ink); border-color: transparent; }
.archive-sec { padding: 28px 0 36px; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; font-size: 13px; font-weight: 500; color: var(--muted); }
.crumb a { color: var(--plum); text-decoration: none; }
.crumb a:hover { color: var(--persimmon); }
.crumb span[aria-current="page"] { color: var(--ink); }
.archive-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); gap: 22px; align-items: end; }
.archive-sub { margin: 0; font-size: 18px; font-weight: 700; color: var(--plum); line-height: 1.5; }
.archive-lead { margin: 12px 0 0; max-width: 40em; }
.filter-box {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 padding: 14px;
}
.filter-label { margin: 0 0 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
 border: 1px solid var(--line);
 background: #fff;
 color: var(--ink);
 border-radius: var(--radius-pill);
 min-height: 36px;
 padding: 0 14px;
 font-size: 14px;
 font-weight: 500;
 transition: color .18s ease, border-color .18s ease, transform .18s ease, opacity .18s ease, background .18s ease;
}
.filter-btn:hover { color: var(--persimmon); border-color: var(--persimmon); transform: translateY(-1px); }
.filter-btn:active { transform: none; opacity: .88; }
.filter-btn.is-on {
 color: var(--persimmon);
 border-color: var(--persimmon);
 background: #fff4ee;
 box-shadow: inset 0 -2px 0 var(--persimmon);
}
.result-bar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 12px;
 padding: 12px 16px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: 14px;
 box-shadow: var(--shadow);
 font-size: 14px;
 font-weight: 500;
}
.result-bar strong { font-weight: 700; }
.result-sort { color: var(--muted); white-space: nowrap; }
.entry-list { display: grid; gap: 14px; }
.entry-card {
 display: grid;
 grid-template-columns: 280px minmax(0, 1fr);
 gap: 16px;
 align-items: center;
 padding: 14px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.entry-card[hidden] { display: none !important; }
.entry-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-strong); border-color: rgba(212, 83, 42, 0.45); }
.cover {
 position: relative;
 aspect-ratio: 16 / 9;
 border-radius: 14px;
 overflow: hidden;
 border: 1px solid var(--line);
}
.cover-a { background: linear-gradient(145deg, #5C3A4E 0%, #D4532A 78%); }
.cover-b { background: linear-gradient(160deg, #8A4B32 0%, #E2A15C 80%); }
.cover-c { background: linear-gradient(150deg, #241C19 10%, #7A3E55 70%, #E2A15C 140%); }
.cover-d { background: linear-gradient(135deg, #6B3A2E 0%, #F3EEE6 130%); }
.cover-e { background: linear-gradient(155deg, #3A2A32 0%, #D4532A 120%); }
.cover-f { background: linear-gradient(150deg, #5C3A4E 0%, #E2A15C 100%); }
.cover-mark {
 position: absolute;
 left: 12px;
 right: 12px;
 bottom: 12px;
 display: flex;
 justify-content: space-between;
 align-items: flex-end;
 gap: 8px;
}
.cover-frame {
 position: absolute;
 inset: 10px;
 border: 1px solid rgba(255, 249, 243, 0.35);
 border-radius: 10px;
}
.entry-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--persimmon); }
.entry-card h3 a { color: var(--ink); text-decoration: none; }
.entry-card h3 a:hover { color: var(--persimmon); }
.entry-card p { margin: 0; font-size: 15px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.timeline { display: grid; gap: 0; position: relative; }
.time-row {
 display: grid;
 grid-template-columns: 148px minmax(0, 1fr);
 gap: 18px;
 padding: 16px 0 16px 18px;
 border-left: 2px solid var(--line);
 position: relative;
}
.time-row::before {
 content: "";
 width: 10px;
 height: 10px;
 border-radius: 50%;
 background: var(--persimmon);
 position: absolute;
 left: -6px;
 top: 24px;
 box-shadow: 0 0 0 4px rgba(212, 83, 42, 0.15);
}
.time-row h3 { margin-bottom: 4px; }
.time-row p { margin: 0; }
.time-when { font-size: 13px; font-weight: 700; color: var(--plum); padding-top: 4px; }
.scene-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scene-card, .note-row, .relate-list li, .return-inner {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
}
.scene-card { padding: 18px 18px 16px; }
.scene-card p { margin: 0; font-size: 15px; }
.note-list { display: grid; gap: 10px; }
.note-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; }
.note-ico {
 width: 48px;
 height: 48px;
 border-radius: 14px;
 display: grid;
 place-items: center;
 background: rgba(92, 58, 78, 0.1);
 color: var(--plum);
}
.note-ico svg { width: 26px; height: 26px; display: block; }
.note-row h3 { margin-bottom: 4px; }
.note-row p { margin: 0; font-size: 15px; }
.relate-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.relate-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.relate-list a { font-weight: 700; text-decoration: none; color: var(--ink); }
.relate-list a:hover { color: var(--persimmon); }
.relate-meta { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.return-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 18px; border-left: 4px solid var(--persimmon); }
.return-inner p { margin: 0; max-width: 40em; }
.return-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer { background: #2a211e; color: #f3eee6; padding: 36px 0 16px; }
.site-footer h2 { color: #fff9f3; font-size: 18px; margin: 0 0 10px; }
.site-footer p { color: #e4d8cc; font-size: 14px; margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr; gap: 28px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: #f3eee6; text-decoration: none; font-weight: 500; }
.site-footer a:hover { color: var(--amber); }
.footer-base { margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(228, 216, 204, 0.28); color: #cbb8ac; font-size: 13px; }
@media (max-width: 1024px) {
 .nav-shell { flex-direction: column; align-items: stretch; gap: 8px; }
 .nav-links { justify-content: flex-start; }
 .brand-name { max-width: 100%; }
 .archive-grid { grid-template-columns: 1fr; align-items: start; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
 h1 { font-size: 32px; }
 h2 { font-size: 24px; }
 .entry-card { grid-template-columns: 1fr; }
 .scene-grid { grid-template-columns: 1fr; }
 .time-row { grid-template-columns: 1fr; gap: 4px; }
 .return-inner { flex-direction: column; align-items: flex-start; }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-grid > :first-child { grid-column: auto; }
}
@media (max-width: 520px) {
 .container, .nav-wrap { width: calc(100% - 32px); }
 .result-bar { flex-direction: column; align-items: flex-start; }
 .relate-list li { flex-direction: column; align-items: flex-start; }
 .note-row { grid-template-columns: 40px minmax(0, 1fr); }
}
@media (max-width: 480px) {
 h1 { font-size: 30px; }
 h2 { font-size: 22px; }
 h3 { font-size: 18px; }
 body { font-size: 15px; }
 .brand-status { display: none; }
 .brand-name { max-width: 58vw; }
 .btn, .return-actions .btn { width: 100%; }
 .return-actions { width: 100%; }
 .nav-links a { padding: 0 10px; }
 .archive-sub { font-size: 16px; }
}
