/* roulang page: index */
:root {
  --bg: #14110E;
  --bg-2: #1C1814;
  --surface: #26211C;
  --line: #3A332C;
  --ink: #F3EEE6;
  --muted: #B7AA9C;
  --primary: #E39B2B;
  --primary-deep: #C4841F;
  --moss: #6F8F62;
  --kiln: #D4654A;
  --ink-btn: #1A120B;
  --radius-card: 10px;
  --radius-btn: 6px;
  --shadow: 0 10px 28px rgba(72, 36, 12, 0.22);
  --side: 15rem;
  --font: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.8;
  color-scheme: dark;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: #F2C36A; }
p { margin: 0 0 0.95em; }
h1, h2, h3 { line-height: 1.25; font-weight: 650; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(1.75rem, 2.4vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 1.7vw, 1.75rem); }
h3 { font-size: clamp(1.05rem, 1.2vw, 1.25rem); }
.side-nav {
  width: var(--side);
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  z-index: 40;
}
.content-wrap { margin-left: var(--side); min-width: 0; }
.nav-link {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.4rem 0.85rem;
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.nav-link:hover { color: var(--ink); background: rgba(38, 33, 28, .85); }
.nav-link.is-active {
  color: var(--primary);
  background: var(--surface);
  border-left-color: var(--primary);
}
.band { padding: 2.75rem 0; border-top: 1px solid var(--line); }
.band-a { background: var(--bg); }
.band-b { background: var(--bg-2); }
.wrap { width: min(72rem, calc(100% - 2rem)); margin: 0 auto; }
.metric-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: #6A5844; transform: translateY(-1px); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, border-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(0); }
.btn-main { background: var(--primary); color: var(--ink-btn); }
.btn-main:hover { background: var(--primary-deep); color: var(--ink-btn); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); transform: translateY(-1px); }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.05rem 0.55rem;
  font-size: 0.75rem;
  line-height: 1.6;
  border: 1px solid transparent;
}
.badge-age { background: rgba(212, 101, 74, .16); color: #F0B2A4; border-color: rgba(212, 101, 74, .45); }
.badge-moss { background: rgba(111, 143, 98, .16); color: #D5E4CC; border-color: rgba(111, 143, 98, .45); }
.badge-hot { background: rgba(212, 101, 74, .18); color: #F3C2B6; border-color: rgba(212, 101, 74, .5); }
.poster {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #2A2118;
  border: 1px solid var(--line);
}
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-cap {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.45rem;
  color: var(--ink);
  font-size: 0.92rem;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.gauge {
  background-color: #201B16;
  background-image:
    linear-gradient(to right, rgba(58, 51, 44, .7) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(58, 51, 44, .7) 1px, transparent 1px);
  background-size: 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.track { height: 8px; background: #1A1613; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.track i { display: block; height: 100%; background: var(--primary); }
.track.is-old i { background: #6E6256; }
.tick { font-variant-numeric: tabular-nums; color: var(--primary); font-size: 0.78rem; }
.field {
  width: 100%;
  background: #14110E;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  min-height: 2.7rem;
  padding: 0.45rem 0.75rem;
}
.field:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
:focus-visible { outline: 2px solid var(--kiln); outline-offset: 2px; }
.qa, .faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.qa summary, .faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.qa summary::-webkit-details-marker,
.faq summary::-webkit-details-marker { display: none; }
.qa summary::after, .faq summary::after { content: "+"; color: var(--primary); font-variant-numeric: tabular-nums; }
.qa[open] summary::after, .faq[open] summary::after { content: "–"; }
.timeline { display: grid; gap: 0.85rem; }
.timeline li { list-style: none; border-left: 2px solid var(--primary); padding: 0 0 0.2rem 0.85rem; }
.chip {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 0.75rem 0.9rem;
  min-width: 9.5rem;
}
.chip:hover { border-color: var(--primary); color: var(--ink); transform: translateY(-1px); }
.row-link { color: var(--ink); text-decoration: none; }
.row-link:hover { color: #F2C36A; }
.list-row { border-bottom: 1px solid var(--line); }
.bar-row {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.85rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.bar-row:hover { border-color: #6A5844; color: inherit; transform: translateY(-1px); }
@media (min-width: 1024px) {
  .side-nav { position: fixed; inset: 0 auto 0 0; height: 100vh; overflow: auto; }
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .timeline li { border-left: 0; border-top: 2px solid var(--primary); padding: 0.8rem 0.45rem 0 0; }
}
@media (max-width: 1023px) {
  .side-nav { position: sticky; top: 0; width: 100%; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .content-wrap { margin-left: 0; }
  .nav-list { display: flex; gap: 0.25rem; overflow-x: auto; padding-bottom: 0.4rem; }
  .nav-link { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
  .nav-link.is-active { border-left-color: transparent; border-bottom-color: var(--primary); }
  .bar-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { width: min(72rem, calc(100% - 1.25rem)); }
  .band { padding: 2.1rem 0; }
  h1 { font-size: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category2 */
:root {
 --bg: #14110E;
 --bg-2: #1C1814;
 --surface: #26211C;
 --line: #3A332C;
 --ink: #F3EEE6;
 --muted: #B7AA9C;
 --primary: #E39B2B;
 --primary-deep: #C4841F;
 --moss: #6F8F62;
 --kiln: #D4654A;
 --ink-btn: #1A120B;
 --radius-card: 10px;
 --radius-btn: 6px;
 --shadow: 0 10px 28px rgba(72, 36, 12, 0.22);
 --side: 15rem;
 --font: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
/* roulang page: index */
:root {
 --bg: #14110E;
 --bg-2: #1C1814;
 --surface: #26211C;
 --line: #3A332C;
 --ink: #F3EEE6;
 --muted: #B7AA9C;
 --primary: #E39B2B;
 --primary-deep: #C4841F;
 --moss: #6F8F62;
 --kiln: #D4654A;
 --ink-btn: #1A120B;
 --radius-card: 10px;
 --radius-btn: 6px;
 --shadow: 0 10px 28px rgba(72, 36, 12, 0.22);
 --side: 15rem;
 --font: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: var(--font);
 font-size: 1rem;
 line-height: 1.8;
 color-scheme: dark;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: #F2C36A; }
.side-nav {
 width: var(--side);
 background: var(--bg-2);
 border-right: 1px solid var(--line);
 z-index: 40;
}
.nav-link {
 display: flex;
 align-items: center;
 min-height: 2.5rem;
 padding: 0.4rem 0.85rem;
 color: var(--muted);
 text-decoration: none;
 border-left: 2px solid transparent;
 transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.nav-link:hover { color: var(--ink); background: rgba(38, 33, 28, .85); }
.nav-link.is-active {
 color: var(--primary);
 background: var(--surface);
 border-left-color: var(--primary);
}
.band-a { background: var(--bg); }
.card {
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: #6A5844; transform: translateY(-1px); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 2.5rem;
 padding: 0.45rem 1rem;
 border-radius: var(--radius-btn);
 border: 1px solid transparent;
 text-decoration: none;
 cursor: pointer;
 transition: background .18s ease, transform .18s ease, border-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(0); }
.btn-main { background: var(--primary); color: var(--ink-btn); }
.btn-main:hover { background: var(--primary-deep); color: var(--ink-btn); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); transform: translateY(-1px); }
.badge {
 display: inline-flex;
 align-items: center;
 border-radius: 999px;
 padding: 0.05rem 0.55rem;
 font-size: 0.75rem;
 line-height: 1.6;
 border: 1px solid transparent;
}
.badge-age { background: rgba(212, 101, 74, .16); color: #F0B2A4; border-color: rgba(212, 101, 74, .45); }
.badge-moss { background: rgba(111, 143, 98, .16); color: #D5E4CC; border-color: rgba(111, 143, 98, .45); }
.badge-hot { background: rgba(212, 101, 74, .18); color: #F3C2B6; border-color: rgba(212, 101, 74, .5); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.qa, .faq {
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 background: var(--surface);
}
.qa summary, .faq summary {
 cursor: pointer;
 list-style: none;
 display: flex;
 justify-content: space-between;
 gap: 1rem;
 align-items: center;
}
.qa summary::-webkit-details-marker,
.faq summary::-webkit-details-marker { display: none; }
.qa summary::after, .faq summary::after { content: "+"; color: var(--primary); font-variant-numeric: tabular-nums; }
.qa[open] summary::after, .faq[open] summary::after { content: "–"; }
.chip {
 display: flex;
 flex-direction: column;
 gap: 0.15rem;
 text-decoration: none;
 color: var(--ink);
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 padding: 0.75rem 0.9rem;
 min-width: 9.5rem;
}
.chip:hover { border-color: var(--primary); color: var(--ink); transform: translateY(-1px); }
.row-link { color: var(--ink); text-decoration: none; }
.row-link:hover { color: #F2C36A; }
.list-row { border-bottom: 1px solid var(--line); }
.bar-row {
 display: grid;
 grid-template-columns: 9.5rem 1fr;
 gap: 0.85rem;
 align-items: center;
 text-decoration: none;
 color: inherit;
 padding: 0.55rem;
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 background: var(--surface);
}
.bar-row:hover { border-color: #6A5844; color: inherit; transform: translateY(-1px); }
.side-nav { position: fixed; inset: 0 auto 0 0; height: 100vh; overflow: auto; }
.side-nav { position: sticky; top: 0; width: 100%; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
.nav-list { display: flex; gap: 0.25rem; overflow-x: auto; padding-bottom: 0.4rem; }
.nav-link { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-link.is-active { border-left-color: transparent; border-bottom-color: var(--primary); }
.bar-row { grid-template-columns: 1fr; }
html { scroll-behavior: auto; }
@media (min-width: 1024px) {
 .side-nav { position: fixed; inset: 0 auto 0 0; height: 100vh; overflow: auto; }
 .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); }
 .timeline li { border-left: 0; border-top: 2px solid var(--primary); padding: 0.8rem 0.45rem 0 0; }
}
@media (max-width: 1023px) {
 .side-nav { position: sticky; top: 0; width: 100%; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
 .content-wrap { margin-left: 0; }
 .nav-list { display: flex; gap: 0.25rem; overflow-x: auto; padding-bottom: 0.4rem; }
 .nav-link { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
 .nav-link.is-active { border-left-color: transparent; border-bottom-color: var(--primary); }
 .bar-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
 .wrap { width: min(72rem, calc(100% - 1.25rem)); }
 .band { padding: 2.1rem 0; }
 h1 { font-size: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; }
}
/* roulang page: category-short */
*, *::before, *::after { box-sizing: border-box; }
::selection { background: rgba(227, 155, 43, .35); color: var(--ink); }
.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.band { padding: 2.75rem 0; }
.band-b { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.content-wrap { min-width: 0; }
h1 { font-size: 2rem; line-height: 1.25; margin: 0 0 0.45rem; font-weight: 700; letter-spacing: 0; }
h2 { font-size: 1.55rem; line-height: 1.35; margin: 0 0 0.45rem; font-weight: 700; }
h3 { font-size: 1.125rem; line-height: 1.45; margin: 0; font-weight: 650; }
p { margin: 0 0 1em; }
.lead, .sub { color: var(--muted); margin: 0; }
.brand-lock {
 display: flex;
 flex-direction: column;
 align-items: flex-start;
 gap: 0.45rem;
 padding: 1.15rem 0.95rem 0.75rem;
 text-decoration: none;
}
.brand-name {
 color: var(--ink);
 font-weight: 700;
 font-size: 1.02rem;
 line-height: 1.45;
 text-decoration: none;
}
.brand-name:hover { color: var(--primary); }
.title-rail {
 display: flex;
 align-items: flex-start;
 justify-content: space-between;
 gap: 1rem;
 border-left: 3px solid var(--primary);
 padding: 0.15rem 0 0.15rem 1rem;
}
.day-block { margin: 0 0 1.15rem; padding-left: 0.95rem; border-left: 1px solid var(--line); }
.day-block h3 { color: var(--primary); font-variant-numeric: tabular-nums; font-size: 0.95rem; margin-bottom: 0.25rem; }
.day-block h3::before {
 content: "";
 display: inline-block;
 width: 0.42rem;
 height: 0.42rem;
 margin-right: 0.4rem;
 border: 2px solid var(--primary);
 border-radius: 50%;
 vertical-align: 0.05rem;
}
.entry {
 display: grid;
 grid-template-columns: minmax(0, 1fr) 4.8rem 3.2rem auto;
 gap: 0.75rem;
 align-items: center;
 padding: 0.72rem 0.15rem;
 border-bottom: 1px solid var(--line);
 color: inherit;
 text-decoration: none;
}
.entry:hover { color: inherit; }
.entry:hover .row-link { color: #F2C36A; }
.dur, .clarity, time.news-date { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.92rem; }
.more-row { display: flex; justify-content: flex-end; margin-top: 0.9rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.stat { padding: 0.75rem 0.9rem 0.8rem; }
.stat:hover { transform: none; }
.tick {
 height: 8px;
 margin-bottom: 0.4rem;
 background: repeating-linear-gradient(90deg, var(--primary) 0 1px, transparent 1px 7px);
 opacity: 0.75;
}
.metric-num {
 font-variant-numeric: tabular-nums;
 font-size: 1.55rem;
 line-height: 1.1;
 color: var(--primary);
 font-weight: 700;
 margin: 0;
}
.stat-label { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.92rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
 display: inline-flex;
 align-items: center;
 min-height: 2rem;
 padding: 0.15rem 0.75rem;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: var(--surface);
 color: var(--ink);
 text-decoration: none;
 font-size: 0.92rem;
 transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.tag:hover { border-color: var(--primary); color: var(--ink); transform: translateY(-1px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.step { padding: 0.9rem 1rem 1rem; }
.step:hover { transform: translateY(-1px); }
.step-no { display: block; color: var(--kiln); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.35rem; }
.step p { margin: 0.35rem 0 0; color: var(--muted); }
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 0.85rem; align-items: baseline; padding: 0.8rem 0; }
.qa { padding: 0.55rem 0.9rem; }
.qa + .qa { margin-top: 0.6rem; }
.qa summary { font-size: 0.98rem; }
.qa p { margin: 0.45rem 0 0.2rem; color: var(--muted); }
.search-panel {
 display: grid;
 grid-template-columns: 7.5rem minmax(0, 1fr) auto;
 gap: 0.7rem;
 align-items: center;
 padding: 0.9rem;
}
.search-panel label { color: var(--muted); font-size: 0.95rem; }
.field {
 width: 100%;
 min-height: 2.6rem;
 padding: 0.4rem 0.75rem;
 background: #14110E;
 color: var(--ink);
 border: 1px solid var(--line);
 border-radius: var(--radius-btn);
}
.field::placeholder { color: #8C8074; }
.field:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.btn:focus-visible, .nav-link:focus-visible, .tag:focus-visible, .row-link:focus-visible, .field:focus-visible {
 outline: 2px solid var(--kiln);
 outline-offset: 2px;
}
.hint { color: var(--muted); font-size: 0.92rem; margin: 0.75rem 0 0; }
@media (min-width: 1024px) {
 .side-nav { width: var(--side); border-right: 1px solid var(--line); border-bottom: 0; }
 .content-wrap { margin-left: var(--side); }
 .nav-list { display: grid; gap: 0.25rem; overflow: visible; padding-bottom: 0; }
 .nav-link { border-left: 2px solid transparent; border-bottom: 0; white-space: normal; }
 .nav-link.is-active { border-left-color: var(--primary); border-bottom-color: transparent; }
 h1 { font-size: 2.45rem; }
 h2 { font-size: 1.7rem; }
}
@media (max-width: 1023px) {
 .brand-lock { flex-direction: row; align-items: center; gap: 0.6rem; padding-bottom: 0.35rem; }
}
@media (max-width: 768px) {
 .entry { grid-template-columns: minmax(0, 1fr) auto; }
 .dur, .clarity { grid-column: 1; }
 .entry .badge { grid-column: 2; grid-row: 1; }
 .steps, .stat-grid, .search-panel { grid-template-columns: 1fr; }
 .search-panel .btn { width: 100%; }
}
@media (max-width: 520px) {
 .title-rail { flex-direction: column; }
 .news li { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* roulang page: category1 */
:root {
 --bg: #14110E;
 --bg-2: #1C1814;
 --surface: #26211C;
 --line: #3A332C;
 --ink: #F3EEE6;
 --muted: #B7AA9C;
 --primary: #E39B2B;
 --primary-deep: #C4841F;
 --moss: #6F8F62;
 --kiln: #D4654A;
 --ink-btn: #1A120B;
 --radius-card: 10px;
 --radius-btn: 6px;
 --shadow: 0 10px 28px rgba(72, 36, 12, 0.22);
 --side: 15rem;
 --font: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
/* roulang page: index */
:root {
 --bg: #14110E;
 --bg-2: #1C1814;
 --surface: #26211C;
 --line: #3A332C;
 --ink: #F3EEE6;
 --muted: #B7AA9C;
 --primary: #E39B2B;
 --primary-deep: #C4841F;
 --moss: #6F8F62;
 --kiln: #D4654A;
 --ink-btn: #1A120B;
 --radius-card: 10px;
 --radius-btn: 6px;
 --shadow: 0 10px 28px rgba(72, 36, 12, 0.22);
 --side: 15rem;
 --font: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: var(--font);
 font-size: 1rem;
 line-height: 1.8;
 color-scheme: dark;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: #F2C36A; }
.side-nav {
 width: var(--side);
 background: var(--bg-2);
 border-right: 1px solid var(--line);
 z-index: 40;
}
.nav-link {
 display: flex;
 align-items: center;
 min-height: 2.5rem;
 padding: 0.4rem 0.85rem;
 color: var(--muted);
 text-decoration: none;
 border-left: 2px solid transparent;
 transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.nav-link:hover { color: var(--ink); background: rgba(38, 33, 28, .85); }
.nav-link.is-active {
 color: var(--primary);
 background: var(--surface);
 border-left-color: var(--primary);
}
.band-a { background: var(--bg); }
.card {
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: #6A5844; transform: translateY(-1px); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 2.5rem;
 padding: 0.45rem 1rem;
 border-radius: var(--radius-btn);
 border: 1px solid transparent;
 text-decoration: none;
 cursor: pointer;
 transition: background .18s ease, transform .18s ease, border-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(0); }
.btn-main { background: var(--primary); color: var(--ink-btn); }
.btn-main:hover { background: var(--primary-deep); color: var(--ink-btn); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); transform: translateY(-1px); }
.badge {
 display: inline-flex;
 align-items: center;
 border-radius: 999px;
 padding: 0.05rem 0.55rem;
 font-size: 0.75rem;
 line-height: 1.6;
 border: 1px solid transparent;
}
.badge-age { background: rgba(212, 101, 74, .16); color: #F0B2A4; border-color: rgba(212, 101, 74, .45); }
.badge-moss { background: rgba(111, 143, 98, .16); color: #D5E4CC; border-color: rgba(111, 143, 98, .45); }
.badge-hot { background: rgba(212, 101, 74, .18); color: #F3C2B6; border-color: rgba(212, 101, 74, .5); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.qa, .faq {
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 background: var(--surface);
}
.qa summary, .faq summary {
 cursor: pointer;
 list-style: none;
 display: flex;
 justify-content: space-between;
 gap: 1rem;
 align-items: center;
}
.qa summary::-webkit-details-marker,
.faq summary::-webkit-details-marker { display: none; }
.qa summary::after, .faq summary::after { content: "+"; color: var(--primary); font-variant-numeric: tabular-nums; }
.qa[open] summary::after, .faq[open] summary::after { content: "–"; }
.chip {
 display: flex;
 flex-direction: column;
 gap: 0.15rem;
 text-decoration: none;
 color: var(--ink);
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 padding: 0.75rem 0.9rem;
 min-width: 9.5rem;
}
.chip:hover { border-color: var(--primary); color: var(--ink); transform: translateY(-1px); }
.row-link { color: var(--ink); text-decoration: none; }
.row-link:hover { color: #F2C36A; }
.list-row { border-bottom: 1px solid var(--line); }
.bar-row {
 display: grid;
 grid-template-columns: 9.5rem 1fr;
 gap: 0.85rem;
 align-items: center;
 text-decoration: none;
 color: inherit;
 padding: 0.55rem;
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 background: var(--surface);
}
.bar-row:hover { border-color: #6A5844; color: inherit; transform: translateY(-1px); }
.side-nav { position: fixed; inset: 0 auto 0 0; height: 100vh; overflow: auto; }
.side-nav { position: sticky; top: 0; width: 100%; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
.nav-list { display: flex; gap: 0.25rem; overflow-x: auto; padding-bottom: 0.4rem; }
.nav-link { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-link.is-active { border-left-color: transparent; border-bottom-color: var(--primary); }
.bar-row { grid-template-columns: 1fr; }
html { scroll-behavior: auto; }
@media (min-width: 1024px) {
 .side-nav { position: fixed; inset: 0 auto 0 0; height: 100vh; overflow: auto; }
 .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); }
 .timeline li { border-left: 0; border-top: 2px solid var(--primary); padding: 0.8rem 0.45rem 0 0; }
}
@media (max-width: 1023px) {
 .side-nav { position: sticky; top: 0; width: 100%; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
 .content-wrap { margin-left: 0; }
 .nav-list { display: flex; gap: 0.25rem; overflow-x: auto; padding-bottom: 0.4rem; }
 .nav-link { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
 .nav-link.is-active { border-left-color: transparent; border-bottom-color: var(--primary); }
 .bar-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
 .wrap { width: min(72rem, calc(100% - 1.25rem)); }
 .band { padding: 2.1rem 0; }
 h1 { font-size: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; }
}
/* roulang page: category-long */
*, *::before, *::after { box-sizing: border-box; }
body { overflow-x: hidden; }
h1, h2, h3 { font-weight: 700; letter-spacing: 0; }
h1 { font-size: clamp(1.7rem, 2.5vw, 2.5rem); line-height: 1.25; margin: 0 0 0.45rem; }
h2 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); line-height: 1.35; margin: 0 0 0.7rem; }
h3 { font-size: 1.125rem; line-height: 1.45; margin: 0 0 0.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.band { padding: 2.75rem 0; }
.band-b { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.text-ink { color: var(--ink); }
.text-mute { color: var(--muted); }
.lead { color: var(--muted); margin: 0; max-width: 42rem; }
.brand-block { padding: 1.05rem 0.9rem 0.85rem; border-bottom: 1px solid var(--line); }
.brand-name { display: block; color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.35; font-size: 1.02rem; }
.brand-name:hover { color: var(--primary); }
.content-wrap { margin-left: 0; }
.nums { font-variant-numeric: tabular-nums; }
.btn:focus-visible, .nav-link:focus-visible, a:focus-visible, summary:focus-visible {
 outline: 2px solid var(--kiln);
 outline-offset: 2px;
}
.btn.is-on { border-color: var(--primary); color: var(--primary); background: rgba(227, 155, 43, 0.1); }
.filter-label { color: var(--muted); font-size: 0.875rem; min-width: 4.5rem; padding-top: 0.45rem; }
.poster {
 position: relative;
 aspect-ratio: 16 / 9;
 border-radius: 8px;
 overflow: hidden;
 border: 1px solid var(--line);
 background:
  linear-gradient(145deg, rgba(227, 155, 43, 0.38), transparent 46%),
  repeating-linear-gradient(90deg, rgba(243, 238, 230, 0.06) 0 1px, transparent 1px 16px),
  linear-gradient(165deg, #4A3424, #1C1814 72%);
}
.poster-cap { position: absolute; top: 0.5rem; right: 0.5rem; }
.poster-name {
 position: absolute;
 left: 0.65rem;
 bottom: 0.45rem;
 color: var(--ink);
 font-size: 0.75rem;
 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.meta-line { color: var(--muted); font-size: 0.875rem; margin: 0; }
.scale-no {
 font-variant-numeric: tabular-nums;
 color: var(--primary);
 font-size: 1.35rem;
 line-height: 1;
 font-weight: 700;
}
.note-card { padding: 1rem 1.05rem 0.35rem; }
.split-note {
 display: grid;
 gap: 0.85rem;
}
.qa summary, .faq summary { padding: 0.85rem 1rem; color: var(--ink); }
.qa p, .faq p { padding: 0 1rem 0.9rem; color: var(--muted); margin: 0; }
.anchor-row a { text-decoration: none; }
.anchor-row a:hover { text-decoration: underline; }
@media (min-width: 768px) {
 .split-note { grid-template-columns: 1.15fr 0.85fr; }
}
@media (min-width: 1024px) {
 aside.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--side);
  height: 100vh;
  overflow: auto;
  border-right: 1px solid var(--line);
  border-bottom: 0;
 }
 .content-wrap { margin-left: var(--side); min-height: 100vh; }
 .nav-list { display: grid; gap: 0.25rem; overflow: visible; padding-bottom: 0; }
 .nav-link { border-left: 2px solid transparent; border-bottom: 0; white-space: normal; }
 .nav-link.is-active { border-left-color: var(--primary); border-bottom-color: transparent; background: var(--surface); }
}
