/* roulang page: index */
:root {
  --persimmon: #8E3D4E;
  --ink: #2A171C;
  --paper: #F4EFE8;
  --ivory: #FFFBF7;
  --copper: #C56A3E;
  --blush: #E7C9C4;
  --olive: #5E6B45;
  --ink-soft: rgba(42, 23, 28, .72);
  --line: rgba(42, 23, 28, .08);
  --shadow: 0 10px 30px rgba(42, 23, 28, .08);
  --shadow-hover: 0 16px 36px rgba(42, 23, 28, .14);
  --radius-lg: 28px;
  --radius: 20px;
  --pill: 999px;
  --grad: linear-gradient(135deg, #8E3D4E 0%, #C56A3E 100%);
  --max: 1120px;
  --header: 72px;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
button, input { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--persimmon); text-decoration: underline; }
a:active { color: #6d2d3b; }
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}
::selection { background: var(--blush); color: var(--ink); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.35;
  color: inherit;
  letter-spacing: 0;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.off-canvas-wrapper,
.off-canvas-content { overflow: visible; background: var(--paper); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: var(--ivory);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(42, 23, 28, .06);
  box-shadow: 0 8px 24px rgba(42, 23, 28, .08);
}
.bar {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover { color: var(--persimmon); text-decoration: none; }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  flex: none;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.primary-nav a:hover { color: var(--persimmon); text-decoration: none; }
.primary-nav a[aria-current="page"]::after,
.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 2px;
  background: var(--persimmon);
  border-radius: 2px;
}
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-toggle {
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-toggle:hover { border-color: rgba(42, 23, 28, .2); background: #fff; }
.lang-toggle:active { filter: brightness(.96); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 148px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 50;
}
.lang-menu.is-open { display: block; }
.lang-menu button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  padding: 0 12px;
  color: var(--ink);
}
.lang-menu button:hover { background: var(--paper); }
.lang-menu button.is-active { color: var(--persimmon); font-weight: 700; }
.menu-toggle-wrap { display: none; }
.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0 14px;
  font-weight: 700;
}
.menu-toggle:hover { border-color: var(--persimmon); color: var(--persimmon); }
#mobileMenu.off-canvas {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 22px 28px;
  width: min(86vw, 320px);
}
.drawer-brand {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 18px;
  color: #fff;
}
.drawer-nav { list-style: none; margin: 0; }
.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--paper);
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 239, 232, .12);
}
.drawer-nav a:hover { color: var(--blush); text-decoration: none; }
.drawer-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--persimmon); }
.drawer-note { margin-top: 22px; color: rgba(244, 239, 232, .72); font-size: 13px; }
#mobileMenu .close-button {
  color: #fff;
  top: 16px;
  right: 16px;
}
#mobileMenu .lang { margin-top: 22px; }
#mobileMenu .lang-toggle { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
#mobileMenu .lang-menu { left: 0; right: auto; }
.hero {
  background: var(--grad);
  color: #fff;
  padding: 88px 0;
}
.hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  color: #fff;
  max-width: 12em;
}
.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, .35);
  font-size: 13px;
  letter-spacing: .04em;
}
.sub {
  margin: 0 0 14px;
  font-size: 18px;
  color: #fff;
}
.hero-copy { max-width: 40em; color: rgba(255, 251, 247, .92); margin-bottom: 22px; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.poster {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background:
    linear-gradient(180deg, rgba(42, 23, 28, 0) 42%, rgba(42, 23, 28, .78) 100%),
    linear-gradient(160deg, #a24b5c 0%, #8E3D4E 42%, #C56A3E 100%);
  min-height: 280px;
}
.poster::before,
.poster::after {
  content: "";
  position: absolute;
  border-radius: 18px;
  border: 1px solid rgba(255, 251, 247, .28);
}
.poster::before { inset: 18px 18px auto 18px; height: 46%; }
.poster::after { width: 42%; height: 18%; right: 22px; top: 28px; background: rgba(255, 251, 247, .12); }
.poster-tag, .poster-meta {
  position: absolute;
  left: 22px;
  z-index: 1;
  color: #fff;
}
.poster-tag { bottom: 58px; font-family: var(--serif); font-size: 28px; }
.poster-meta { bottom: 24px; font-size: 14px; color: rgba(255,251,247,.88); }
.block { padding: 88px 0; }
.block-ivory { background: var(--ivory); }
.block-paper { background: var(--paper); }
.block h2, .cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 32px);
}
.lead { max-width: 46em; color: var(--ink-soft); margin-bottom: 28px; }
.panel {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
}
.panel:hover { box-shadow: var(--shadow-hover); }
.side-rail {
  background: #f7ece7;
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  border: 1px solid var(--line);
  height: 100%;
}
.point { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.point:last-child { border-bottom: 0; }
.point strong { display: block; font-size: 16px; }
.point p { color: var(--ink-soft); font-size: 15px; }
.idx {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--persimmon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  flex: none;
}
.text-link { color: var(--persimmon); font-weight: 700; }
.text-link:hover { color: var(--ink); }
.steps { display: flex; gap: 14px; }
.step {
  flex: 1;
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 20px;
  box-shadow: var(--shadow);
  min-height: 180px;
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.step-no {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--persimmon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.step h3 { margin: 0 0 8px; font-size: 22px; }
.step p { color: var(--ink-soft); font-size: 15px; }
.stats { align-items: stretch; }
.stat {
  height: 100%;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px 22px;
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 48px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}
.stat span { display: block; margin-top: 10px; color: var(--ink-soft); }
.stat-hot {
  background: var(--grad);
  color: #fff;
  border: 0;
}
.stat-hot span { color: rgba(255,251,247,.88); }
.scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 16px;
}
.scroller::-webkit-scrollbar { height: 8px; }
.scroller::-webkit-scrollbar-thumb { background: var(--blush); border-radius: var(--pill); }
.quote, .shelf-card {
  scroll-snap-align: start;
  flex: 0 0 320px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
}
.quote:hover, .shelf-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.quote header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
}
.quote p { font-size: 16px; }
.who { font-weight: 700; }
.audience-bar {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px 18px;
  align-items: center;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
}
.audience-bar b {
  font-family: var(--mono);
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}
.audience-bar h3 { margin: 0; font-size: 22px; }
.audience-bar p { margin: 4px 0 0; color: var(--ink-soft); }
.bar-a { background: #f3ddd8; }
.bar-b { background: #f6e4d6; }
.bar-c { background: #e7eadc; }
.news-list, .edit-list { list-style: none; }
.news-list li, .edit-list li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
}
.news-list time, .edit-list time {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--persimmon);
  padding-top: 2px;
}
.news-list a, .edit-list a { font-weight: 700; color: var(--ink); text-decoration: none; }
.news-list a:hover, .edit-list a:hover { color: var(--persimmon); text-decoration: underline; }
.news-list p, .edit-list p { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }
.list-more { margin: 16px 0 0; }
.list-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--pill);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.list-more a:hover { background: var(--ink); color: #fff; text-decoration: none; }
.meter { margin-bottom: 18px; }
.meter-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.meter-top span { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.meter-track {
  height: 10px;
  border-radius: var(--pill);
  background: rgba(42, 23, 28, .08);
  margin-top: 8px;
  overflow: hidden;
}
.meter-fill { display: block; height: 100%; border-radius: inherit; background: var(--persimmon); }
.meter-fill.copper { background: var(--copper); }
.shelf-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.shelf-card:hover { color: inherit; text-decoration: none; }
.media {
  position: relative;
  display: block;
  background: linear-gradient(145deg, #8E3D4E, #C56A3E 70%, #E7C9C4);
}
.media.r34 { aspect-ratio: 3 / 4; }
.media.r169 { aspect-ratio: 16 / 9; }
.media span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: rgba(42, 23, 28, .35);
}
.shelf-card .txt, .mini-card .txt, .main-card .txt { padding: 16px 18px 18px; }
.badge, .chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--pill);
  background: var(--blush);
  color: var(--persimmon);
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
}
.badge-olive { background: #e4ead6; color: var(--olive); }
.badge-ink { background: rgba(42, 23, 28, .06); color: var(--ink); }
.main-card, .mini-card, .tier, .entry {
  display: block;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.main-card:hover, .mini-card:hover, .tier:hover, .entry:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
  color: inherit;
}
.stack { display: grid; gap: 16px; height: 100%; }
.main-card h3, .mini-card h3, .tier h3, .entry h3 { margin: 8px 0; font-size: 26px; }
.tier { padding: 24px; }
.tier-main { background: #2A171C; color: #fff; }
.tier-main p { color: rgba(255,251,247,.82); }
.badge-wall {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 16px;
}
.timeline { list-style: none; margin: 8px 0 0; padding: 0 0 0 6px; border-left: 2px solid rgba(142, 61, 78, .35); }
.timeline li { position: relative; padding: 0 0 22px 28px; }
.timeline li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--persimmon);
  box-shadow: 0 0 0 4px var(--blush);
  position: absolute;
  left: -8px;
  top: 8px;
}
.timeline a { display: block; text-decoration: none; color: inherit; }
.timeline a:hover h3 { color: var(--persimmon); }
.timeline time { font-family: var(--mono); color: var(--copper); font-weight: 700; }
.timeline h3 { margin: 2px 0 4px; font-size: 22px; }
.entry { padding: 28px; min-height: 220px; }
.entry strong {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 64px;
  line-height: .9;
  font-variant-numeric: tabular-nums;
}
.entry em { font-style: normal; color: var(--ink-soft); }
.entry-b { background: #f8efe8; }
.edit-list li { grid-template-columns: 92px 1fr auto; align-items: center; }
.edit-list .meta { color: var(--ink-soft); font-size: 14px; white-space: nowrap; }
.faq details {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 20px;
  margin-bottom: 12px;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--persimmon); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--ink-soft); }
.cta-band { background: var(--grad); color: #fff; padding: 72px 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { max-width: 38em; margin: 0; color: rgba(255,251,247,.92); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--pill);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow-hover); }
.btn:active { transform: translateY(0); filter: brightness(.92); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { color: #fff; }
.hero .btn-primary, .cta-band .btn-primary { background: #fff; color: var(--persimmon); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { color: var(--ink); background: rgba(255,255,255,.28); }
.hero .btn-ghost, .cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.72); }
.site-footer { background: var(--ink); color: var(--paper); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 28px; }
.site-footer h2 { color: #fff; font-size: 28px; margin: 0 0 10px; }
.site-footer p, .site-footer li { color: rgba(244, 239, 232, .78); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--blush); text-decoration: underline; }
.footer-links { list-style: none; }
.footer-links a { display: inline-flex; min-height: 36px; align-items: center; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 239, 232, .12);
  font-size: 14px;
}
@media (max-width: 1023px) {
  .primary-nav { display: none; }
  .menu-toggle-wrap { display: block; }
  .badge-wall, .footer-grid, .cta-inner { grid-template-columns: 1fr; display: grid; }
  .cta-inner { display: grid; }
  .poster { max-width: 420px; margin: 28px auto 0; }
}
@media (max-width: 767px) {
  .steps { flex-direction: column; }
  .edit-list li { grid-template-columns: 72px 1fr; }
  .edit-list .meta { grid-column: 2; white-space: normal; }
  .stat strong { font-size: 40px; }
  .entry strong { font-size: 52px; }
}
@media (max-width: 639px) {
  .header-tools .lang { display: none; }
  .logo { font-size: 15px; }
  .quote, .shelf-card { flex-basis: 84%; }
  .news-list li { grid-template-columns: 68px 1fr; }
  .audience-bar { grid-template-columns: 64px 1fr; padding: 18px; }
}
@media (max-width: 519px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .hero, .block, .cta-band { padding: 48px 0; }
  .hero h1 { font-size: 30px; }
  .panel { padding: 22px; }
  .poster-tag { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .step, .stat, .quote, .shelf-card, .entry { transition: none; }
}

/* roulang page: category2 */
:root {
  --persimmon: #8E3D4E;
  --ink: #2A171C;
  --paper: #F4EFE8;
  --ivory: #FFFBF7;
  --copper: #C56A3E;
  --blush: #E7C9C4;
  --olive: #5E6B45;
  --ink-soft: rgba(42, 23, 28, .72);
  --line: rgba(42, 23, 28, .08);
  --shadow: 0 10px 30px rgba(42, 23, 28, .08);
  --shadow-hover: 0 16px 36px rgba(42, 23, 28, .14);
  --radius-lg: 28px;
  --radius: 20px;
  --pill: 999px;
  --grad: linear-gradient(135deg, #8E3D4E 0%, #C56A3E 100%);
  --max: 1120px;
  --header: 72px;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
button, input { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--persimmon); text-decoration: underline; }
a:active { color: #6d2d3b; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.3; font-weight: 700; }
.off-canvas-wrapper, .off-canvas-content { overflow: visible; background: var(--paper); }
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: var(--ivory);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(42, 23, 28, .06);
  box-shadow: 0 8px 24px rgba(42, 23, 28, .08);
}
.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover { color: var(--persimmon); text-decoration: none; }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  flex: none;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.primary-nav a:hover { color: var(--persimmon); text-decoration: none; }
.primary-nav a[aria-current="page"]::after,
.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 2px;
  background: var(--persimmon);
  border-radius: 2px;
}
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-toggle {
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}
.lang-toggle:hover { border-color: var(--persimmon); color: var(--persimmon); }
.lang-toggle:active { filter: brightness(.96); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 148px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 50;
}
.lang-menu.is-open { display: block; }
.lang-menu button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  padding: 0 12px;
  color: var(--ink);
}
.lang-menu button:hover { background: var(--paper); }
.lang-menu button.is-active { color: var(--persimmon); font-weight: 700; }
.menu-toggle-wrap { display: none; }
.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0 14px;
  font-weight: 700;
}
.menu-toggle:hover { border-color: var(--persimmon); color: var(--persimmon); }
.menu-toggle:active { filter: brightness(.96); }
#mobileMenu.off-canvas {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 22px 28px;
  width: min(86vw, 320px);
}
.drawer-brand {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 18px;
  color: #fff;
}
.drawer-nav { list-style: none; margin: 0; padding: 0; }
.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--paper);
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 239, 232, .12);
}
.drawer-nav a:hover { color: var(--blush); text-decoration: none; }
.drawer-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--persimmon); }
.drawer-note { margin-top: 22px; color: rgba(244, 239, 232, .72); font-size: 13px; }
#mobileMenu .close-button { color: #fff; top: 16px; right: 16px; }
#mobileMenu .lang { margin-top: 22px; }
#mobileMenu .lang-toggle { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
#mobileMenu .lang-menu { left: 0; right: auto; }
.block { padding: 84px 0; }
.block h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 32px);
}
.lead { max-width: 42em; color: var(--ink-soft); margin: 0 0 22px; }
.page-head {
  background: var(--ivory);
  padding: 36px 0 32px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 44px);
  max-width: 12em;
}
.page-kicker {
  margin: 0 0 8px;
  color: var(--persimmon);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
}
.badge-row, .index-row, .meta-row, .hero-actions, .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--pill);
  background: var(--blush);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
}
.badge-olive { background: var(--olive); color: #fff; }
.badge-solid { background: var(--persimmon); color: #fff; }
.badge-copper { background: var(--copper); color: #fff; }
.badge-line { background: transparent; border-color: var(--line); }
.index-block {
  position: sticky;
  top: var(--header);
  z-index: 30;
  background: var(--paper);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.index-block h2 { font-size: 18px; margin: 0 16px 0 0; }
.index-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.index-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--pill);
  background: var(--ivory);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.index-row a:hover {
  color: #fff;
  background: var(--persimmon);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.index-row a:active { filter: brightness(.95); }
.list-block { background: var(--ivory); }
.feature-card, .side-panel, .tier, .article-card, .order-card, .related-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.feature-card { padding: 18px; background: var(--ivory); }
.list-block .feature-card { background: #fff; }
.feature-card:hover, .article-card:hover, .side-item:hover, .tier:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.scene-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,251,247,.28), transparent 36%),
    linear-gradient(145deg, #8E3D4E 0%, #2A171C 58%, #C56A3E 140%);
}
.scene-frame span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-family: var(--serif);
  font-size: 28px;
}
.feature-body { padding: 16px 6px 6px; }
.feature-body h3 { margin: 0 0 8px; font-size: 26px; }
.feature-body p { margin: 0; color: var(--ink-soft); }
.side-panel { padding: 8px; background: var(--paper); }
.side-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  min-height: 72px;
}
.side-item:hover { background: var(--ivory); text-decoration: none; color: inherit; }
.side-thumb {
  border-radius: 14px;
  background: linear-gradient(160deg, var(--blush), #c56a3e);
}
.side-item h3 { margin: 0; font-size: 16px; font-family: var(--sans); }
.side-item p { margin: 2px 0 0; color: var(--ink-soft); font-size: 13px; }
.more-row { padding: 8px 12px 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn:active { transform: translateY(0); filter: brightness(.95); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { color: var(--persimmon); border-color: var(--persimmon); }
.quality-block { background: var(--paper); }
.badge-wall {
  display: grid;
  grid-template-columns: 1.35fr .85fr .85fr;
  gap: 16px;
  align-items: stretch;
}
.tier { padding: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.tier-lg { background: #fff; padding: 28px; }
.tier h3 { margin: 12px 0 8px; font-size: 24px; }
.tier p { margin: 0; color: var(--ink-soft); }
.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  font-weight: 700;
  color: var(--persimmon);
}
.article-block { background: var(--ivory); }
.article-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; background: #fff; }
.article-card .scene-frame { border-radius: 0; aspect-ratio: 16 / 8; }
.article-card .pad { padding: 18px 20px 22px; }
.article-card h3 { margin: 8px 0; font-size: 22px; }
.article-card p { margin: 0 0 14px; color: var(--ink-soft); }
.article-card time {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--persimmon);
  font-size: 13px;
}
.text-link { color: var(--persimmon); font-weight: 700; }
.text-link:hover { color: var(--ink); }
.order-block { background: var(--paper); }
.order-card { padding: 28px; background: #fff; }
.order-list { list-style: none; margin: 18px 0 0; padding: 0; }
.order-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.order-list span {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.order-list h3 { margin: 0 0 4px; font-size: 20px; }
.order-list p { margin: 0; color: var(--ink-soft); }
.related-block { background: var(--ivory); }
.related-card { background: #fff; padding: 8px 22px; }
.related-list { list-style: none; margin: 0; padding: 0; }
.related-list li { border-bottom: 1px solid var(--line); }
.related-list li:last-child { border-bottom: 0; }
.related-list a {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
}
.related-list a:hover { color: var(--persimmon); text-decoration: none; }
.related-list time {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
.related-list em { font-style: normal; color: var(--persimmon); font-weight: 700; }
.thin-cta {
  background: var(--grad);
  color: #fff;
  padding: 28px 0;
}
.thin-cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.thin-cta h2 { margin: 0; color: #fff; font-size: 28px; }
.thin-cta p { margin: 4px 0 0; color: rgba(255,251,247,.9); }
.thin-cta .btn-ghost { color: #fff; border-color: rgba(255,251,247,.8); }
.thin-cta .btn-ghost:hover { color: var(--ink); background: #fff; border-color: #fff; }
.site-footer {
  background: var(--ink);
  color: rgba(244, 239, 232, .88);
  padding: 56px 0 28px;
}
.site-footer h2, .site-footer h3 { color: #fff; margin: 0 0 10px; }
.site-footer h3 { font-size: 18px; }
.site-footer p { margin: 0 0 10px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--blush); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr 1fr;
  gap: 28px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; min-height: 36px; align-items: center; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(244, 239, 232, .12);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 14px;
}
.footer-bottom p { margin: 0; }
@media (max-width: 1023px) {
  .primary-nav { display: none; }
  .menu-toggle-wrap { display: block; }
  .badge-wall { grid-template-columns: 1fr 1fr; }
  .tier-lg { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .block { padding: 64px 0; }
}
@media (max-width: 767px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .logo { font-size: 15px; }
  .page-head { padding: 28px 0 22px; }
  .page-head h1 { font-size: 32px; }
  .block { padding: 48px 0; }
  .badge-wall, .footer-grid, .related-list a, .side-item { grid-template-columns: 1fr; }
  .related-list a { gap: 4px; }
  .thin-cta .wrap, .footer-bottom, .index-line { align-items: flex-start; flex-direction: column; }
  .scene-frame span { font-size: 22px; }
  .order-list { }
  .order-card, .tier, .feature-card { border-radius: 20px; }
}
@media (max-width: 520px) {
  .header-bar { gap: 8px; }
  .logo-mark { width: 32px; height: 32px; }
  .badge { font-size: 12px; }
  .thin-cta h2 { font-size: 24px; }
}

/* roulang page: category1 */
:root {
 --persimmon: #8E3D4E;
 --ink: #2A171C;
 --paper: #F4EFE8;
 --ivory: #FFFBF7;
 --copper: #C56A3E;
 --blush: #E7C9C4;
 --olive: #5E6B45;
 --ink-soft: rgba(42, 23, 28, .72);
 --line: rgba(42, 23, 28, .08);
 --shadow: 0 10px 30px rgba(42, 23, 28, .08);
 --shadow-hover: 0 16px 36px rgba(42, 23, 28, .14);
 --radius-lg: 28px;
 --radius: 20px;
 --pill: 999px;
 --grad: linear-gradient(135deg, #8E3D4E 0%, #C56A3E 100%);
 --max: 1120px;
 --header: 72px;
 --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
 --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
 --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
/* roulang page: category1 */
:root {
 --persimmon: #8E3D4E;
 --ink: #2A171C;
 --paper: #F4EFE8;
 --ivory: #FFFBF7;
 --copper: #C56A3E;
 --blush: #E7C9C4;
 --olive: #5E6B45;
 --ink-soft: rgba(42, 23, 28, .72);
 --line: rgba(42, 23, 28, .08);
 --shadow: 0 10px 30px rgba(42, 23, 28, .08);
 --shadow-hover: 0 16px 36px rgba(42, 23, 28, .14);
 --radius-lg: 28px;
 --radius: 20px;
 --pill: 999px;
 --grad: linear-gradient(135deg, #8E3D4E 0%, #C56A3E 100%);
 --max: 1120px;
 --header: 72px;
 --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
 --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
 --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--paper);
 color: var(--ink);
 font-family: var(--sans);
 font-size: 16.5px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
button, input { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--persimmon); text-decoration: underline; }
a:active { color: #6d2d3b; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
[hidden] { display: none !important; }
.off-canvas-wrapper, .off-canvas-content { overflow: visible; background: var(--paper); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.3; color: var(--ink); }
h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); }
.block h2, .end-cta h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 32px); }
p { margin: 0 0 12px; }
.lead { max-width: 40em; color: var(--ink-soft); margin: 10px 0 0; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 height: var(--header);
 background: var(--ivory);
 border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
 border-bottom-color: rgba(42, 23, 28, .06);
 box-shadow: 0 8px 24px rgba(42, 23, 28, .08);
}
.header-inner { height: var(--header); display: flex; align-items: center; gap: 18px; }
.logo {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 min-height: 44px;
 color: var(--ink);
 font-family: var(--serif);
 font-size: 18px;
 font-weight: 700;
 text-decoration: none;
 white-space: nowrap;
}
.logo:hover { color: var(--persimmon); text-decoration: none; }
.logo-mark {
 width: 36px;
 height: 36px;
 border-radius: 12px;
 background: var(--grad);
 color: #fff;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 font-family: var(--serif);
 font-size: 16px;
 flex: none;
}
.primary-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.primary-nav a {
 position: relative;
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 padding: 0 14px;
 color: var(--ink);
 font-weight: 500;
 text-decoration: none;
}
.primary-nav a:hover { color: var(--persimmon); text-decoration: none; }
.primary-nav a[aria-current="page"]::after,
.primary-nav a.is-active::after {
 content: "";
 position: absolute;
 left: 14px;
 right: 14px;
 bottom: 12px;
 height: 2px;
 background: var(--persimmon);
 border-radius: 2px;
}
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-toggle {
 min-height: 36px;
 padding: 0 14px;
 border-radius: var(--pill);
 border: 1px solid var(--line);
 background: var(--paper);
 color: var(--ink);
 font-size: 13px;
 font-weight: 500;
}
.lang-toggle:hover { border-color: rgba(42, 23, 28, .2); }
.lang-menu {
 position: absolute;
 right: 0;
 top: calc(100% + 8px);
 min-width: 148px;
 margin: 0;
 padding: 6px;
 list-style: none;
 background: var(--ivory);
 border: 1px solid var(--line);
 border-radius: 16px;
 box-shadow: var(--shadow);
 display: none;
 z-index: 50;
}
.lang-menu.is-open { display: block; }
.lang-menu button {
 width: 100%;
 min-height: 44px;
 border: 0;
 border-radius: 12px;
 background: transparent;
 text-align: left;
 padding: 0 12px;
 color: var(--ink);
}
.lang-menu button:hover { background: var(--paper); }
.lang-menu button.is-active { color: var(--persimmon); font-weight: 700; }
.menu-toggle-wrap { display: none; }
.menu-toggle {
 min-width: 44px;
 min-height: 44px;
 border-radius: var(--pill);
 border: 1px solid var(--line);
 background: var(--paper);
 color: var(--ink);
 padding: 0 14px;
 font-weight: 700;
}
.menu-toggle:hover { border-color: var(--persimmon); color: var(--persimmon); }
#mobileMenu.off-canvas {
 background: var(--ink);
 color: var(--paper);
 padding: 72px 22px 28px;
 width: min(86vw, 320px);
}
.drawer-brand { font-family: var(--serif); font-size: 22px; margin: 0 0 18px; color: #fff; }
.drawer-nav { list-style: none; margin: 0; }
.drawer-nav a {
 display: flex;
 align-items: center;
 min-height: 48px;
 color: var(--paper);
 font-size: 18px;
 text-decoration: none;
 border-bottom: 1px solid rgba(244, 239, 232, .12);
}
.drawer-nav a:hover { color: var(--blush); text-decoration: none; }
.drawer-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--persimmon); }
.drawer-note { margin-top: 22px; color: rgba(244, 239, 232, .72); font-size: 13px; }
#mobileMenu .close-button { color: #fff; top: 16px; right: 16px; font-size: 28px; }
#mobileMenu .lang { margin-top: 22px; }
#mobileMenu .lang-toggle { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
#mobileMenu .lang-menu { left: 0; right: auto; }
.block { padding: 88px 0; }
.cat-head { background: var(--ivory); padding: 32px 0 28px; border-bottom: 1px solid var(--line); }
.cat-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.kicker {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 padding: 0 10px;
 border-radius: var(--pill);
 background: var(--blush);
 color: var(--persimmon);
 font-size: 13px;
 font-weight: 700;
 margin-bottom: 8px;
}
.head-badges { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: flex-end; }
.head-badges li {
 min-width: 108px;
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: 18px;
 padding: 10px 14px;
 box-shadow: var(--shadow);
}
.head-badges strong {
 display: block;
 font-family: var(--mono);
 font-variant-numeric: tabular-nums;
 font-size: 22px;
 line-height: 1.2;
}
.head-badges span { color: var(--ink-soft); font-size: 13px; }
.filter-block { background: var(--paper); padding-top: 56px; padding-bottom: 36px; }
.filter-panel {
 background: var(--ivory);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow);
 padding: 22px 22px 10px;
}
.filter-line { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.filter-label { flex: none; width: 72px; min-height: 44px; display: flex; align-items: center; font-weight: 700; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
 min-height: 44px;
 padding: 0 16px;
 border-radius: var(--pill);
 border: 1px solid var(--line);
 background: var(--paper);
 color: var(--ink);
 font-weight: 500;
 transition: background .2s ease, color .2s ease, transform .2s ease;
}
.pill:hover { transform: translateY(-2px); border-color: rgba(142, 61, 78, .35); }
.pill[aria-pressed="true"] { background: var(--persimmon); color: #fff; border-color: var(--persimmon); }
.series-block { background: var(--ivory); }
.series-card {
 display: grid;
 grid-template-columns: 112px 1fr;
 gap: 16px;
 height: 100%;
 margin-bottom: 28px;
 padding: 16px;
 background: var(--ivory);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow);
 transition: transform .2s ease, box-shadow .2s ease;
}
.series-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.poster {
 position: relative;
 aspect-ratio: 3 / 4;
 border-radius: 16px;
 overflow: hidden;
 color: #fff;
}
.poster span {
 position: absolute;
 left: 10px;
 bottom: 10px;
 font-family: var(--serif);
 font-size: 18px;
}
.poster-a { background: linear-gradient(160deg, #8E3D4E, #C56A3E); }
.poster-b { background: linear-gradient(160deg, #2A171C, #8E3D4E); }
.poster-c { background: linear-gradient(160deg, #C56A3E, #E7C9C4); color: var(--ink); }
.poster-d { background: linear-gradient(160deg, #5E6B45, #8E3D4E); }
.poster-e { background: linear-gradient(160deg, #6d2d3b, #C56A3E); }
.poster-f { background: linear-gradient(160deg, #2A171C, #C56A3E); }
.series-body h3 { margin: 2px 0 6px; font-size: 24px; }
.series-body h3 a { color: inherit; text-decoration: none; }
.series-body h3 a:hover { color: var(--persimmon); }
.series-body p { color: var(--ink-soft); margin-bottom: 12px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 padding: 0 10px;
 border-radius: var(--pill);
 background: var(--blush);
 color: var(--ink);
 font-size: 13px;
 font-weight: 700;
 font-variant-numeric: tabular-nums;
}
.badge-olive { background: rgba(94, 107, 69, .16); color: var(--olive); }
.badge-ink { background: var(--ink); color: #fff; }
.more-row { margin: 4px 0 0; }
.list-empty {
 margin: 0;
 padding: 18px 20px;
 border-radius: var(--radius);
 background: var(--paper);
 color: var(--ink-soft);
}
.read-block { background: var(--paper); }
.read-stack { display: flex; flex-direction: column; gap: 14px; }
.read-item {
 display: grid;
 grid-template-columns: 72px 1fr auto;
 gap: 16px;
 align-items: center;
 padding: 18px 20px;
 background: var(--ivory);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow);
 text-decoration: none;
 color: inherit;
 transition: transform .2s ease, box-shadow .2s ease;
}
.read-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); text-decoration: none; color: inherit; }
.read-no {
 width: 56px;
 height: 56px;
 border-radius: 18px;
 background: var(--grad);
 color: #fff;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 font-family: var(--mono);
 font-size: 20px;
 font-weight: 700;
}
.read-item h3 { margin: 0 0 4px; font-size: 22px; }
.read-item p { margin: 0; color: var(--ink-soft); }
.read-go { color: var(--persimmon); font-weight: 700; white-space: nowrap; }
.complete-block { background: var(--ivory); }
.meter-panel {
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 padding: 8px 22px 18px;
 box-shadow: var(--shadow);
}
.meter { padding-top: 16px; }
.meter-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.meter-top b { font-family: var(--serif); font-size: 18px; }
.meter-top .num { margin-left: auto; font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700; }
.track { height: 10px; border-radius: var(--pill); background: rgba(42, 23, 28, .08); overflow: hidden; }
.track span { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.articles-block { background: var(--paper); }
.article-list { list-style: none; margin: 0; padding: 8px 8px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article-list li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: start; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.article-list li:last-child { border-bottom: 0; }
.article-list time { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--persimmon); font-weight: 700; }
.article-list a { font-weight: 700; color: var(--ink); text-decoration: none; }
.article-list a:hover { color: var(--persimmon); text-decoration: underline; }
.article-list p { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }
.rhythm-block { background: var(--ivory); }
.rhythm-panel { background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 22px 18px; }
.rhythm-row { display: grid; grid-template-columns: 120px 72px 1fr; gap: 12px; align-items: center; padding-top: 16px; }
.rhythm-row b { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 22px; }
.rhythm-row span:first-child { font-weight: 700; }
.end-cta { background: var(--grad); color: #fff; padding: 48px 0; }
.end-cta h2, .end-cta p { color: #fff; }
.end-cta p { margin: 0; color: rgba(255, 251, 247, .9); }
.end-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border-radius: var(--pill);
 border: 1px solid transparent;
 font-weight: 700;
 text-decoration: none;
 transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn:active { filter: brightness(.92); transform: translateY(0); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover, .btn-primary:active { color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { color: var(--persimmon); border-color: var(--persimmon); }
.end-cta .btn-primary { background: #fff; color: var(--persimmon); }
.end-cta .btn-primary:hover { color: var(--ink); }
.end-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.75); }
.end-cta .btn-ghost:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-footer { background: var(--ink); color: rgba(255, 251, 247, .86); padding: 56px 0 28px; }
.site-footer h2, .site-footer h3 { color: #fff; margin: 0 0 10px; }
.site-footer h3 { font-size: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 28px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; min-height: 36px; align-items: center; color: rgba(255,251,247,.86); text-decoration: none; }
.footer-links a:hover { color: var(--blush); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,251,247,.12); font-size: 14px; }
@media (max-width: 1023px) {
 .primary-nav { display: none; }
 .menu-toggle-wrap { display: block; }
 .logo { font-size: 16px; }
 .block { padding: 64px 0; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
 .cat-head-row, .end-cta-row, .read-item, .rhythm-row { display: block; }
 .head-badges { justify-content: flex-start; margin-top: 16px; }
 .filter-line { display: block; }
 .read-item { padding: 16px; }
 .read-go { display: inline-block; margin-top: 8px; }
 .rhythm-row { padding-top: 18px; }
 .rhythm-row b { display: inline-block; margin-right: 8px; }
 .footer-grid, .footer-bottom { display: block; }
 .footer-grid > div { margin-bottom: 22px; }
}
@media (max-width: 639px) {
 .wrap { width: min(var(--max), calc(100% - 28px)); }
 .block { padding: 48px 0; }
 .cat-head { padding: 24px 0 20px; }
 .series-card { grid-template-columns: 92px 1fr; gap: 12px; margin-bottom: 16px; }
 .header-inner { gap: 8px; }
 .logo span:last-child { max-width: 9em; overflow: hidden; }
}
@media (min-width: 1024px) {
 .menu-toggle-wrap { display: none !important; }
 .primary-nav { display: flex !important; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 * { transition: none !important; }
}
