/* roulang page: index */
:root {
  --paper: #F4EFE6;
  --paper-deep: #E7E0D2;
  --card: #FBF8F3;
  --ink: #241C22;
  --wine: #6E2E45;
  --wine-deep: #4C1E30;
  --amber: #D9894A;
  --olive: #3E5348;
  --caption: #2C3330;
  --line: rgba(36,28,34,.14);
  --shadow: 0 12px 28px rgba(76,30,48,.08);
  --radius: 14px;
  --muted: rgba(36,28,34,.72);
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16.5px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 .45em;
  color: var(--ink);
}
p { margin: 0 0 .8em; }
a { color: var(--wine); text-decoration: none; transition: color .2s ease; }
a:hover { text-decoration: underline; color: var(--wine-deep); }
a:active { color: #3d1828; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
::selection { background: rgba(217,137,74,.35); color: var(--ink); }
[hidden] { display: none !important; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  background: rgba(244,239,230,.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(36,28,34,.12);
  box-shadow: 0 8px 24px rgba(76,30,48,.05);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-solid {
  background: #F3EBDD;
  box-shadow: 0 10px 28px rgba(76,30,48,.14);
  backdrop-filter: none;
}
.nav-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { text-decoration: none; color: var(--wine-deep); }
.brand-name {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand-chap { font-size: 12px; color: var(--olive); letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: 18px; margin: 0 auto; }
.nav-links a {
  color: var(--ink);
  font-size: 15px;
  padding: 6px 2px;
  text-decoration: none;
}
.nav-links a:hover { color: var(--wine); text-decoration: underline; }
.nav-links a.is-active {
  color: var(--wine);
  text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--amber);
}
.nav-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-size: 12px;
  letter-spacing: .04em;
}
.nav-search { display: flex; align-items: center; background: rgba(251,248,243,.78); border: 1px solid var(--line); border-radius: 999px; padding: 0 4px 0 12px; }
.nav-search input {
  width: 168px;
  border: 0;
  background: transparent;
  height: 36px;
  padding: 0;
  outline: none;
}
.nav-search button {
  border: 0;
  background: transparent;
  color: var(--wine);
  height: 32px;
  padding: 0 10px;
  cursor: pointer;
  border-radius: 999px;
}
.nav-search button:hover { background: rgba(110,46,69,.08); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(251,248,243,.7);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary:hover { background: var(--wine-deep); color: #fff; transform: translateY(-1px); }
.btn-primary:active { background: #3d1828; transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--amber); }
.btn-ghost:hover { background: rgba(217,137,74,.12); color: var(--wine-deep); text-decoration: none; transform: translateY(-1px); }
.btn-ghost:active { background: rgba(217,137,74,.22); }
.btn-tiny { min-height: 34px; padding: 0 12px; font-size: 14px; }
.hero { padding: calc(var(--header-h) + 28px) 0 36px; }
.section-paper, .hero {
  background-color: var(--paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(36,28,34,.1) 28px);
}
.section-deep {
  background-color: var(--paper-deep);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(36,28,34,.08) 28px);
}
.section { padding: 72px 0; }
.bento {
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  grid-template-areas: "main note" "mini1 note" "mini2 note" "cta cta";
  gap: 16px;
}
.bento-main { grid-area: main; padding: 8px 8px 0 0; }
.bento-note { grid-area: note; }
.bento-mini { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.bento-mini:nth-of-type(1) { grid-area: mini1; }
.mini-a { grid-area: mini1; }
.mini-b { grid-area: mini2; }
.bento-cta {
  grid-area: cta;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
}
h1 { font-size: 44px; letter-spacing: .01em; }
.subhead { font-size: 18px; color: var(--wine-deep); margin-bottom: 12px; }
.lead { max-width: 640px; color: var(--ink); }
.kicker { font-size: 13px; letter-spacing: .16em; color: var(--olive); margin-bottom: 8px; }
.mini-label { font-size: 13px; color: var(--olive); display: block; margin-bottom: 4px; }
.mini-strong { font-family: "Noto Serif SC", serif; font-size: 22px; }
.hero-metrics { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.hero-metrics span { padding-left: 10px; border-left: 2px solid var(--amber); }
.note-float { position: relative; height: 100%; }
.margin-note {
  position: absolute;
  right: -6px;
  top: 18px;
  z-index: 2;
  font-family: "KaiTi", "STKaiti", cursive;
  color: var(--wine);
  background: rgba(217,137,74,.18);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 14px;
  transform: rotate(3deg);
}
.still {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 100%;
}
.still-scene { height: 280px; position: relative; }
.scene-dusk { background: linear-gradient(160deg, #6E2E45 0%, #3E5348 55%, #241C22 100%); }
.scene-lamp { background: linear-gradient(165deg, #8C4A3A 0%, #D9894A 42%, #4C1E30 100%); }
.scene-olive { background: linear-gradient(180deg, #3E5348, #241C22 70%); }
.scene-ink { background: linear-gradient(200deg, #4C1E30, #2C3330 60%, #241C22); }
.still-scene::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(244,239,230,.28);
  border-radius: 10px;
}
.chap-no {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 1;
  font-family: "Noto Serif SC", serif;
  color: #F4EFE6;
  font-size: 13px;
  letter-spacing: .14em;
}
.caption-bar {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--caption);
  color: #F4EFE6;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.6;
}
.caption-bar .tc { color: #E7C39A; flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.section-head { margin-bottom: 28px; max-width: 760px; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; }
.section-title { font-size: 28px; }
.section-desc { margin: 0; color: var(--ink); max-width: 720px; }
.side-note { margin: 0; max-width: 240px; font-size: 13px; color: var(--muted); border-left: 2px solid var(--amber); padding-left: 12px; }
.stamp-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stamp {
  background: rgba(251,248,243,.86);
  border: 1.5px dashed var(--amber);
  border-radius: 18px;
  padding: 20px 14px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stamp b {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 36px;
  color: var(--wine);
  line-height: 1.1;
  font-weight: 700;
}
.stamp span { display: block; margin-top: 6px; font-size: 14px; }
.matrix-card, .scene-card, .pick, .toc-card, .qa-item, .promise-item, .news-item, .proof-row, .tl-item, .screen-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.matrix-card { padding: 22px 22px 18px; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.matrix-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(76,30,48,.12); }
.matrix-card h3 { font-size: 24px; }
.cell + .cell { }
.grid-x { margin-bottom: 16px; }
.grid-x:last-child { margin-bottom: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(217,137,74,.18);
  color: var(--wine-deep);
  font-size: 13px;
  padding: 2px 10px;
  line-height: 1.7;
}
.scene-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.scene-card { min-width: 270px; scroll-snap-align: start; padding: 18px; }
.scene-card h3 { font-size: 20px; }
.scene-card p { font-size: 15px; min-height: 4.8em; }
.text-link { font-weight: 500; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-col { padding: 22px; }
.compare-col h3 { font-size: 24px; }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { padding: 12px 0; border-top: 1px solid var(--line); }
.compare li strong { display: block; font-size: 14px; color: var(--olive); font-weight: 500; }
.compare-col.mute { background: #EFE8DC; }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pick { overflow: hidden; }
.pick-body { padding: 16px 16px 18px; }
.pick h3 { font-size: 22px; }
.pick-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr .85fr; }
.pick-wide .still-scene { height: 100%; min-height: 220px; }
.more-row { margin-top: 18px; }
.section-wine {
  background: var(--wine-deep);
  color: #F4EFE6;
  padding: 72px 0;
}
.section-wine h2, .section-wine p, .section-wine li { color: #F4EFE6; }
.timeline { list-style: none; margin: 0; padding: 0; }
.tl-item {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  border-left: 2px solid rgba(244,239,230,.4);
  margin-left: 10px;
  padding: 0 0 22px 22px;
  position: relative;
}
.tl-item::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  position: absolute;
  left: -7px;
  top: 6px;
}
.tl-item time { font-size: 13px; color: #E7C39A; }
.proof-list { display: flex; flex-direction: column; gap: 12px; }
.proof-row { display: grid; grid-template-columns: 92px 1.1fr 1.1fr auto; gap: 12px; align-items: center; padding: 14px 16px; }
.proof-row .tc { font-variant-numeric: tabular-nums; color: var(--olive); font-size: 13px; }
.col-label { display: block; font-size: 13px; color: var(--muted); }
.hi { font-size: 13px; }
.news-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.news-item {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  box-shadow: none;
  background: transparent;
  display: grid;
  grid-template-columns: 110px 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.news-item time, .news-item .meta { font-size: 13px; color: var(--muted); }
.news-item a { font-size: 17px; }
.toc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.toc-card {
  display: block;
  padding: 28px 24px;
  min-height: 230px;
  color: var(--ink);
  position: relative;
}
.toc-card:hover { text-decoration: none; transform: translateY(-2px); color: var(--ink); box-shadow: 0 16px 32px rgba(76,30,48,.12); }
.toc-no { font-family: "Noto Serif SC", serif; color: var(--amber); letter-spacing: .14em; font-size: 13px; }
.toc-card h3 { font-size: 30px; margin-top: 18px; }
.promise-list { border-top: 1px solid var(--line); }
.promise-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 28px 160px 1fr;
  gap: 12px;
  padding: 16px 0;
  align-items: start;
}
.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(62,83,72,.12);
  color: var(--olive);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.stage { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; align-items: center; }
.screen-card { padding: 18px; }
.phone {
  width: min(250px, 100%);
  margin: 0 auto;
  background: var(--ink);
  border-radius: 28px;
  padding: 12px;
}
.phone-screen { background: var(--card); border-radius: 18px; overflow: hidden; }
.phone-screen .still-scene { height: 220px; }
.desk { display: grid; grid-template-columns: 1.3fr .7fr; gap: 10px; }
.side-notes { font-size: 13px; border-left: 2px solid var(--amber); padding-left: 10px; }
.side-notes p { margin-bottom: 8px; }
.qa-list { display: flex; flex-direction: column; gap: 12px; }
.qa-item { padding: 16px 18px; }
.qa-item h3 { font-size: 18px; }
.accordion { background: transparent; border: 0; margin: 0; }
.accordion-item { border-bottom: 1px solid var(--line); background: transparent; }
.accordion-title {
  font-size: 17px;
  color: var(--ink) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 16px 28px 16px 0 !important;
  font-family: "Noto Serif SC", serif;
}
.accordion-title:hover, .accordion-title:focus { background: rgba(217,137,74,.12) !important; color: var(--wine-deep) !important; }
.accordion-content { border: 0 !important; background: transparent !important; color: var(--ink); padding: 0 0 16px !important; }
.accordion-title::before { color: var(--olive) !important; }
.sheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: 14px; }
input[type="text"], input[type="search"], select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  min-height: 44px;
  padding: 8px 12px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--olive); box-shadow: 0 0 0 2px rgba(62,83,72,.2); }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.done-note { margin: 0; color: var(--olive); }
.site-footer { background: #241C22; color: #F4EFE6; padding: 42px 0 28px; }
.site-footer a { color: #F4EFE6; }
.foot-brand { font-family: "Noto Serif SC", serif; font-size: 24px; margin-bottom: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 14px 0; padding: 0; list-style: none; }
.foot-meta { font-size: 13px; color: rgba(244,239,230,.78); }
.age-line { margin-top: 8px; font-size: 13px; }
.off-canvas { background: rgba(244,239,230,.96); color: var(--ink); width: 280px; }
.off-canvas a { color: var(--ink); display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.off-canvas a:hover { color: var(--wine); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer-search { margin: 12px 0 18px; }
.drawer-search input { width: 100%; border-radius: 10px; }
@media (max-width: 1023px) {
  .nav-links, .nav-search, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "main" "note" "mini1" "mini2" "cta"; }
  h1 { font-size: 32px; }
  .section, .section-wine { padding: 40px 0; }
  .stamp-row, .compare, .toc-grid, .stage, .pick-wide, .form-grid { grid-template-columns: 1fr; }
  .pick-wide { grid-column: auto; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .proof-row, .news-item, .promise-item { grid-template-columns: 1fr; }
  .still-scene { height: 200px; }
  .desk { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .stamp-row { grid-template-columns: 1fr 1fr; }
  .pick-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 16px; }
  .container { width: calc(100% - 28px); }
}
@media (max-width: 520px) {
  h1 { font-size: 30px; }
  .section-title { font-size: 26px; }
  .cta-row .btn, .nav-tools .btn { width: 100%; }
  .bento-cta { align-items: stretch; }
  .hero-metrics { flex-direction: column; gap: 6px; }
  .stamp b { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category2 */
:root {
  --paper: #F4EFE6;
  --paper-deep: #E7E0D2;
  --card: #FBF8F3;
  --ink: #241C22;
  --wine: #6E2E45;
  --wine-deep: #4C1E30;
  --amber: #D9894A;
  --olive: #3E5348;
  --caption: #2C3330;
  --line: rgba(36,28,34,.14);
  --shadow: 0 12px 28px rgba(76,30,48,.08);
  --radius: 14px;
  --muted: rgba(36,28,34,.72);
  --header-h: 76px;
}
/* roulang page: category2 */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16.5px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--wine); text-decoration: none; transition: color .2s ease; }
a:hover { text-decoration: underline; color: var(--wine-deep); }
a:active { color: #3d1828; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}
h1, h2, h3, .brand-name, .stamp-num, .chap-no {
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
h1 { font-size: 42px; margin: 0 0 10px; }
h2 { font-size: 28px; margin: 0 0 10px; }
h3 { font-size: 20px; margin: 0 0 8px; }
p { margin: 0 0 10px; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  background: rgba(244,239,230,.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(36,28,34,.12);
  box-shadow: 0 8px 24px rgba(76,30,48,.05);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-solid {
  background: #F3EBDD;
  box-shadow: 0 10px 28px rgba(76,30,48,.14);
  backdrop-filter: none;
}
.nav-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { text-decoration: none; color: var(--wine-deep); }
.brand-name {
  font-size: 20px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand-chap { font-size: 12px; color: var(--olive); letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: 18px; margin: 0 auto; }
.nav-links a {
  color: var(--ink);
  font-size: 15px;
  padding: 6px 2px;
  text-decoration: none;
}
.nav-links a:hover { color: var(--wine); text-decoration: underline; }
.nav-links a.is-active {
  color: var(--wine);
  text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--amber);
}
.nav-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-size: 12px;
  letter-spacing: .04em;
}
.nav-search {
  display: flex;
  align-items: center;
  background: rgba(251,248,243,.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 4px 0 12px;
}
.nav-search input {
  width: 148px;
  border: 0;
  background: transparent;
  height: 36px;
  padding: 0;
  outline: none;
  box-shadow: none;
  margin: 0;
}
.nav-search button {
  border: 0;
  background: transparent;
  color: var(--wine);
  height: 32px;
  padding: 0 10px;
  cursor: pointer;
  border-radius: 999px;
}
.nav-search button:hover { background: rgba(110,46,69,.08); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(251,248,243,.7);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary:hover { background: var(--wine-deep); color: #fff; transform: translateY(-1px); }
.btn-primary:active { background: #3d1828; transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--amber); }
.btn-ghost:hover { background: rgba(217,137,74,.12); color: var(--wine-deep); text-decoration: none; transform: translateY(-1px); }
.btn-ghost:active { background: rgba(217,137,74,.22); }
.btn-tiny { min-height: 34px; padding: 0 12px; font-size: 14px; }
.section-paper {
  background-color: var(--paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(36,28,34,.1) 28px);
}
.section-deep {
  background-color: var(--paper-deep);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(36,28,34,.08) 28px);
}
.section { padding: 72px 0; }
.section-compact { padding: 42px 0 48px; }
.lead { max-width: 640px; color: var(--ink); margin-bottom: 0; }
.section-head { margin-bottom: 22px; max-width: 760px; }
.section-desc { margin: 0; color: var(--ink); max-width: 720px; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(217,137,74,.18);
  color: var(--wine-deep);
  font-size: 13px;
  padding: 2px 10px;
  line-height: 1.7;
}
.page-mast { padding: calc(var(--header-h) + 22px) 0 28px; }
.mast-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, .72fr);
  gap: 28px;
  align-items: end;
}
.mast-kicker {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--olive);
}
.mast-title { display: flex; gap: 16px; align-items: flex-start; }
.chap-no {
  font-size: 42px;
  line-height: 1;
  color: var(--wine);
  margin: 4px 0 0;
}
.mast-toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 16px 12px;
}
.mast-toc h2 { font-size: 18px; margin-bottom: 8px; }
.mast-toc ol { margin: 0; padding-left: 1.15em; }
.mast-toc li { margin: 4px 0; font-size: 14px; }
.mast-toc a { color: var(--ink); text-decoration: none; }
.mast-toc a:hover { color: var(--wine); text-decoration: underline; }
.mini-stamp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-stamp {
  background: var(--card);
  border: 1px solid var(--amber);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 12px 14px 10px;
  min-height: 0;
}
.mini-stamp .stamp-num {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  color: var(--wine);
}
.mini-stamp .stamp-name { display: block; margin-top: 4px; font-size: 14px; }
.mini-stamp .stamp-note { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.proof-card, .margin-card, .diff-cell, .log-board, .prefer-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.proof-stack { display: flex; flex-direction: column; gap: 14px; }
.proof-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.proof-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(76,30,48,.12); }
.proof-still {
  position: relative;
  min-height: 168px;
  background-color: #E6D8CB;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(76,30,48,.07) 28px);
}
.still-note {
  position: absolute;
  top: 12px;
  left: 12px;
  transform: rotate(-2deg);
  background: rgba(217,137,74,.28);
  color: var(--wine-deep);
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 8px;
}
.time-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 13px;
  color: var(--paper);
  background: var(--caption);
  border-radius: 999px;
  padding: 2px 8px;
}
.cap-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--caption);
  color: #F4EFE6;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.55;
}
.proof-body { padding: 16px 16px 14px; }
.proof-body h3 { font-size: 22px; }
.proof-body h3 a { color: var(--ink); text-decoration: none; }
.proof-body h3 a:hover { color: var(--wine); text-decoration: underline; }
.line-label {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--olive);
  letter-spacing: .06em;
}
.proof-meta { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.text-link { font-size: 14px; }
.margin-card { padding: 18px 16px 8px; }
.margin-card h2 { font-size: 22px; }
.term-list { list-style: none; margin: 0; padding: 0; }
.term-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.term-list strong { display: block; color: var(--wine); font-weight: 700; }
.term-list span { display: block; font-size: 15px; }
.margin-sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.diff-cell { padding: 18px 18px 14px; min-height: 160px; }
.diff-cell .diff-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--olive);
}
.diff-cell p { font-family: "Noto Serif SC", serif; font-size: 20px; line-height: 1.6; margin: 0; }
.diff-cell + .diff-cell { box-shadow: inset 3px 0 0 rgba(217,137,74,.7), var(--shadow); }
.badge-wall { display: flex; flex-wrap: wrap; gap: 12px; }
.badge-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(217,137,74,.18);
  color: var(--wine-deep);
  border: 1px solid rgba(217,137,74,.45);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.badge-link:hover { background: rgba(217,137,74,.32); color: var(--wine-deep); text-decoration: none; transform: translateY(-1px); }
.badge-link:active { transform: translateY(0); }
.badge-link small { margin-left: 8px; font-size: 12px; color: var(--olive); }
.log-board { padding: 6px 18px; }
.log-list { list-style: none; margin: 0; padding: 0; }
.log-list li {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.log-list li:last-child { border-bottom: 0; }
.log-date { font-size: 13px; color: var(--muted); }
.log-list a { color: var(--ink); }
.log-list a:hover { color: var(--wine); }
.accordion { background: transparent; border: 0; margin: 0; }
.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.accordion-title {
  color: var(--ink);
  font-size: 16.5px;
  padding: 14px 42px 14px 18px;
  border: 0;
  background: var(--card);
  text-decoration: none;
}
.accordion-title:hover, .accordion-title:focus {
  color: var(--wine);
  background: rgba(217,137,74,.12);
  text-decoration: none;
}
.accordion-title::before { color: var(--wine); }
.accordion-content {
  border: 0;
  border-top: 1px solid var(--line);
  background: rgba(244,239,230,.65);
  color: var(--ink);
  padding: 12px 18px 16px;
}
.prefer-card { padding: 22px 22px 18px; max-width: 640px; }
.prefer-card label { display: block; font-size: 14px; margin-bottom: 8px; }
.prefer-card select {
  width: 100%;
  height: 46px;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0 12px;
  box-shadow: none;
}
.form-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(62,83,72,.1);
  color: var(--olive);
}
.off-canvas {
  background: rgba(244,239,230,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ink);
  width: 280px;
}
.off-canvas .drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 14px 8px;
  font-family: "Noto Serif SC", serif;
}
.drawer-links { list-style: none; margin: 0; padding: 8px 10px 16px; }
.drawer-links a {
  display: block;
  padding: 12px 8px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.drawer-links a.is-active { color: var(--wine); box-shadow: inset 3px 0 0 var(--amber); }
.close-button { color: var(--ink); font-size: 1.6rem; }
.site-footer {
  background: #241C22;
  color: var(--paper);
  padding: 48px 0 36px;
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: #fff; }
.foot-brand {
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  margin-bottom: 8px;
}
.foot-links { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.age-line { color: #E3B07A; font-size: 13px; }
.foot-meta { font-size: 13px; color: rgba(244,239,230,.78); margin: 0; }
@media (max-width: 1023px) {
  .nav-links, .nav-search, .nav-tools .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .mast-grid { grid-template-columns: 1fr; }
  .proof-card { grid-template-columns: 1fr; }
  .cap-bar { position: static; }
  .proof-still { min-height: 120px; }
  .margin-sticky { position: static; }
  h1 { font-size: 32px; }
  .chap-no { font-size: 32px; }
}
@media (max-width: 768px) {
  .section { padding: 40px 0; }
  .section-compact { padding: 28px 0 32px; }
  h2 { font-size: 26px; }
  .mini-stamp-row, .diff-grid { grid-template-columns: 1fr; }
  .diff-cell + .diff-cell { box-shadow: var(--shadow); }
  .log-list li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 520px) {
  .container { width: min(1120px, calc(100% - 24px)); }
  .brand-name { font-size: 15px; }
  .brand-chap { display: none; }
  h1 { font-size: 30px; }
  .mast-title { gap: 10px; }
  .page-mast { padding-top: calc(var(--header-h) + 16px); }
}

/* roulang page: category1 */
:root {
  --paper: #F4EFE6;
  --paper-deep: #E7E0D2;
  --card: #FBF8F3;
  --ink: #241C22;
  --wine: #6E2E45;
  --wine-deep: #4C1E30;
  --amber: #D9894A;
  --olive: #3E5348;
  --caption: #2C3330;
  --line: rgba(36,28,34,.14);
  --shadow: 0 12px 28px rgba(76,30,48,.08);
  --radius: 14px;
  --muted: rgba(36,28,34,.72);
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16.5px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--wine); text-decoration: none; transition: color .2s ease; }
a:hover { text-decoration: underline; color: var(--wine-deep); }
a:active { color: #3d1828; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  background: rgba(244,239,230,.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(36,28,34,.12);
  box-shadow: 0 8px 24px rgba(76,30,48,.05);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-solid {
  background: #F3EBDD;
  box-shadow: 0 10px 28px rgba(76,30,48,.14);
  backdrop-filter: none;
}
.nav-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { text-decoration: none; color: var(--wine-deep); }
.brand-name {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand-chap { font-size: 12px; color: var(--olive); letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: 18px; margin: 0 auto; }
.nav-links a {
  color: var(--ink);
  font-size: 15px;
  padding: 6px 2px;
  text-decoration: none;
}
.nav-links a:hover { color: var(--wine); text-decoration: underline; }
.nav-links a.is-active {
  color: var(--wine);
  text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--amber);
}
.nav-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-size: 12px;
  letter-spacing: .04em;
}
.nav-search {
  display: flex;
  align-items: center;
  background: rgba(251,248,243,.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 4px 0 12px;
}
.nav-search input {
  width: 148px;
  border: 0;
  background: transparent;
  height: 36px;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
}
.nav-search button {
  border: 0;
  background: transparent;
  color: var(--wine);
  height: 32px;
  padding: 0 10px;
  margin: 0;
  cursor: pointer;
  border-radius: 999px;
}
.nav-search button:hover { background: rgba(110,46,69,.08); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(251,248,243,.7);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
  line-height: 1.2;
  margin: 0;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary:hover { background: var(--wine-deep); color: #fff; transform: translateY(-1px); }
.btn-primary:active { background: #3d1828; transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--amber); }
.btn-ghost:hover { background: rgba(217,137,74,.12); color: var(--wine-deep); text-decoration: none; transform: translateY(-1px); }
.btn-ghost:active { background: rgba(217,137,74,.22); }
.btn-tiny { min-height: 34px; padding: 0 12px; font-size: 14px; }
.section-paper, .page-head {
  background-color: var(--paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(36,28,34,.1) 28px);
}
.section-deep {
  background-color: var(--paper-deep);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(36,28,34,.08) 28px);
}
.section { padding: 72px 0; }
.page-head { padding: calc(var(--header-h) + 22px) 0 32px; }
.head-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .7fr); gap: 28px; align-items: start; }
.page-kicker { font-size: 13px; letter-spacing: .14em; color: var(--olive); margin-bottom: 8px; }
.page-title { font-size: 42px; margin-bottom: 10px; }
.page-lead { max-width: 36em; color: var(--ink); }
.toc {
  background: rgba(251,248,243,.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 16px 10px;
}
.toc-label { font-size: 13px; color: var(--olive); letter-spacing: .12em; margin-bottom: 8px; }
.toc ol { margin: 0; padding: 0 0 0 18px; }
.toc li { margin: 0 0 6px; font-size: 14px; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--wine); }
.filter-wrap { padding: 22px 0; }
.filter-bar {
  display: grid;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-label { font-size: 13px; color: var(--olive); min-width: 84px; }
.filter-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  min-height: 32px;
  padding: 0 12px;
  margin: 0;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.filter-chip:hover { border-color: var(--amber); background: rgba(217,137,74,.12); }
.filter-chip:active { transform: translateY(1px); }
.filter-chip.is-on { background: var(--amber); border-color: var(--amber); color: #241C22; }
.section-head { margin-bottom: 22px; max-width: 760px; }
.section-title { font-size: 28px; margin-bottom: 6px; }
.section-desc { color: var(--ink); }
.note-list { display: flex; flex-direction: column; gap: 16px; }
.note-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.note-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(76,30,48,.12); }
.note-card[hidden] { display: none !important; }
.still {
  position: relative;
  min-height: 168px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(110,46,69,.28), rgba(62,83,72,.38)),
    repeating-linear-gradient(to bottom, rgba(244,239,230,.35) 0 27px, rgba(36,28,34,.08) 28px);
}
.still-b { background: linear-gradient(160deg, rgba(76,30,48,.45), rgba(217,137,74,.28)), repeating-linear-gradient(to bottom, rgba(244,239,230,.3) 0 27px, rgba(36,28,34,.08) 28px); }
.still-c { background: linear-gradient(160deg, rgba(62,83,72,.5), rgba(110,46,69,.22)), repeating-linear-gradient(to bottom, rgba(244,239,230,.28) 0 27px, rgba(36,28,34,.08) 28px); }
.still-d { background: linear-gradient(150deg, rgba(36,28,34,.35), rgba(217,137,74,.32)), repeating-linear-gradient(to bottom, rgba(244,239,230,.32) 0 27px, rgba(36,28,34,.08) 28px); }
.chap-no {
  position: absolute;
  left: 12px;
  top: 12px;
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  color: var(--paper);
  letter-spacing: .08em;
}
.margin-note {
  position: absolute;
  right: 10px;
  top: 36px;
  max-width: 92px;
  padding: 4px 8px;
  background: rgba(217,137,74,.38);
  color: var(--ink);
  font-family: "KaiTi", "STKaiti", "Noto Serif SC", serif;
  font-size: 13px;
  line-height: 1.4;
  transform: rotate(2deg);
}
.caption-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--caption);
  color: #F4EFE6;
  font-size: 13px;
  line-height: 1.55;
  padding: 8px 12px;
}
.note-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 6px 6px 4px 0; }
.note-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(217,137,74,.18);
  color: var(--wine-deep);
  font-size: 13px;
  padding: 2px 10px;
  line-height: 1.7;
}
.note-body h3 { font-size: 22px; }
.note-body h3 a { color: var(--ink); text-decoration: none; }
.note-body h3 a:hover { color: var(--wine); text-decoration: underline; }
.note-body p { color: var(--ink); }
.note-link { margin-top: auto; font-size: 14px; }
.more-row { display: flex; justify-content: flex-end; margin-top: 18px; }
.empty-hint { margin-top: 12px; font-size: 15px; color: var(--muted); }
.clue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.clue-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 8px;
}
.clue-col h3 { font-size: 22px; margin-bottom: 8px; }
.clue-col ul { margin: 0; padding: 0; list-style: none; }
.clue-col li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.beat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.beat {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.beat:hover { transform: translateY(-2px); text-decoration: none; color: var(--ink); box-shadow: 0 16px 32px rgba(76,30,48,.12); }
.beat-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--amber);
  color: var(--wine);
  font-family: "Noto Serif SC", serif;
  margin-bottom: 10px;
}
.beat h3 { font-size: 20px; margin-bottom: 6px; }
.beat p { font-size: 15px; color: var(--muted); }
.related-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.related-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.related-card h3 { font-size: 18px; margin: 8px 0; }
.related-card p { font-size: 14px; color: var(--muted); min-height: 4.5em; }
.qa-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.qa-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.qa-item h3 { font-size: 18px; margin-bottom: 4px; }
.qa-item p { color: var(--ink); }
.return-bar { padding: 18px 0 22px; background: var(--paper-deep); border-top: 1px solid var(--line); }
.return-inner { display: flex; gap: 22px; align-items: center; }
.return-inner a { font-size: 15px; }
.site-footer { background: #241C22; color: var(--paper); padding: 48px 0 32px; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: #fff; }
.foot-brand { font-family: "Noto Serif SC", serif; font-size: 24px; margin-bottom: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0; padding: 0; list-style: none; }
.foot-links a { font-size: 14px; }
.age-line { font-size: 13px; color: rgba(244,239,230,.82); margin-top: 8px; }
.foot-meta { font-size: 13px; color: rgba(244,239,230,.72); margin-top: 10px; }
.off-canvas {
  background: rgba(243,235,221,.97);
  color: var(--ink);
  border-left: 1px solid var(--line);
}
.off-canvas .menu { margin-top: 28px; }
.off-canvas .menu a {
  color: var(--ink);
  padding: 12px 16px;
  font-size: 16px;
}
.off-canvas .menu a.is-active { color: var(--wine); box-shadow: inset 3px 0 0 var(--amber); }
.close-button { color: var(--ink); }
.mobile-search { margin: 18px 16px 0; }
.mobile-search input { width: 100%; }
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .page-title { font-size: 34px; }
  .head-grid, .clue-grid, .beat-row { grid-template-columns: 1fr; }
  .note-card { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .container { width: min(1120px, calc(100% - 28px)); }
  .section { padding: 40px 0; }
  .page-head { padding: calc(var(--header-h) + 16px) 0 24px; }
  .page-title { font-size: 30px; }
  .section-title { font-size: 24px; }
  .brand-name { font-size: 16px; }
  .brand-chap, .nav-search, .nav-cta { display: none; }
  .note-card { grid-template-columns: 1fr; }
  .still { min-height: 150px; }
  .caption-bar { position: relative; }
  .filter-label { min-width: 100%; }
  .return-inner { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .page-title { font-size: 28px; }
  .note-body h3 { font-size: 20px; }
  .related-card { flex-basis: 82%; }
}
