/* roulang page: index */
:root {
  --ink: #14170F;
  --paper: #F3F0E6;
  --card: #F7F4EC;
  --text: #1C1A16;
  --muted: #6E6256;
  --muted-dark: #D2C6B6;
  --lime: #D6F25C;
  --magenta: #D63D7A;
  --line: #2A2E24;
  --light: #F3F0E6;
  --shadow: 0 8px 24px rgba(20, 23, 15, .12);
  --r-score: 4px;
  --r-card: 12px;
  --r-pill: 999px;
  --pad: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16.5px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
a { color: var(--muted); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 38px; line-height: 1.28; font-weight: 700; letter-spacing: 0; }
h2 { font-size: 26px; line-height: 1.35; font-weight: 700; margin-bottom: 12px; }
h3 { font-size: 18px; line-height: 1.45; font-weight: 700; margin-bottom: 8px; }
p { margin-bottom: 0; }
.num { font-family: "Roboto Condensed", "Noto Sans SC", sans-serif; font-variant-numeric: tabular-nums; font-weight: 700; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }
.site-header {
  background: var(--ink);
  color: var(--light);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .grid-container { padding-top: 10px; padding-bottom: 10px; }
.site-header .title-bar,
.site-header .top-bar {
  background: transparent;
  color: var(--light);
  padding: 0;
}
.site-header .title-bar { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-header .menu-icon { margin: 0; }
.site-header .menu-icon::after { background: var(--lime); box-shadow: 0 7px 0 var(--lime), 0 14px 0 var(--lime); }
.nav-row { display: flex; align-items: center; gap: 22px; width: 100%; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--light);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none;
  max-width: 280px;
}
.logo:hover { color: var(--lime); text-decoration: none; }
.logo::before {
  content: "";
  width: 10px;
  height: 28px;
  background: var(--lime);
  border-radius: 2px;
  flex: none;
}
.age {
  display: inline-flex;
  align-items: center;
  background: var(--magenta);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 12px;
  line-height: 1;
  padding: 4px 7px;
  letter-spacing: 0;
}
.site-header .menu { background: transparent; flex: 1; margin: 0; }
.site-header .menu a {
  color: var(--light);
  font-size: 15px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  text-decoration: none;
}
.site-header .menu a:hover { color: var(--lime); background: transparent; }
.site-header .menu a.is-active,
.site-header .menu .is-active > a {
  color: var(--ink);
  background: var(--lime);
}
.chip-row { display: flex; gap: 8px; align-items: center; }
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--lime);
  color: var(--lime);
  background: transparent;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.chip:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; text-decoration: none; }
.chip:active { filter: brightness(.92); }
.band { padding: var(--pad) 0; }
.band-dark { background: var(--ink); color: var(--light); }
.band-paper { background: var(--paper); color: var(--text); }
.band-card { background: var(--card); color: var(--text); }
.band-dark h2, .band-dark h3 { color: var(--light); }
.section-head { margin-bottom: 28px; max-width: 760px; }
.section-lead { color: var(--muted); font-size: 16.5px; line-height: 1.8; }
.band-dark .section-lead { color: var(--muted-dark); }
.score-top { margin-bottom: 28px; }
.subline { color: var(--lime); font-size: 16px; margin: 10px 0 14px; }
.intro { max-width: 820px; color: var(--muted-dark); margin-bottom: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--ink); color: var(--lime); border-color: var(--lime); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--light); border-color: var(--muted-dark); }
.btn-ghost:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); filter: brightness(.95); }
.metric-grid { margin-top: 8px; }
.metric {
  background: #1C2116;
  border: 1px solid var(--line);
  border-radius: var(--r-score);
  padding: 16px 14px 14px;
  min-height: 108px;
  box-shadow: none;
}
.metric .num { display: block; color: var(--lime); font-size: 34px; line-height: 1; margin-bottom: 8px; }
.metric span { color: var(--muted-dark); font-size: 14px; }
.matrix-card, .scene, .quote, .form-card, .entry-card, .g-card, .qa article, .day, .node, .lane {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.matrix-card, .g-card, .qa article, .lane, .day, .node { padding: 18px 18px 16px; }
.matrix-card, .scene, .quote, .entry-card, .g-card {
  transition: transform .2s ease, border-color .2s ease;
}
.matrix-card:hover, .scene:hover, .quote:hover, .entry-card:hover, .g-card:hover {
  transform: translateY(-2px);
  border-color: var(--magenta);
}
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.matrix-card p, .g-card p, .lane p, .scene p, .qa p, .day p, .node p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-pill);
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.4;
  border: 1px solid var(--magenta);
  color: var(--magenta);
  background: transparent;
  white-space: nowrap;
}
.badge-lime { border-color: var(--ink); background: var(--lime); color: var(--ink); }
.stack-gap > * + * { margin-top: 12px; }
.compare-row { margin-bottom: 22px; }
.compare-row h3 { font-size: 16px; margin-bottom: 8px; }
.bar-line { display: grid; grid-template-columns: 92px 1fr 52px; gap: 10px; align-items: center; margin: 8px 0; font-size: 14px; }
.track { height: 12px; background: #E4DECF; border-radius: var(--r-pill); overflow: hidden; border: 1px solid var(--line); }
.track i { display: block; height: 100%; background: var(--lime); border-radius: var(--r-pill); }
.track i.alt { background: var(--magenta); }
.bar-line b { font-weight: 500; color: var(--text); }
.bar-line em { font-style: normal; color: var(--muted); }
.timeline { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.node { min-width: 220px; flex: 1; position: relative; }
.node .num { color: var(--magenta); font-size: 20px; display: block; margin-bottom: 6px; }
.lanes { display: grid; grid-template-columns: 1.2fr .9fr 1fr; gap: 14px; }
.lane { position: relative; overflow: hidden; padding-top: 22px; }
.lane::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; }
.lane-hard::before { background: var(--lime); }
.lane-soft::before { background: var(--magenta); }
.lane-axis::before { background: var(--muted); }
.lane .badge { margin-bottom: 8px; }
.scene-grid .scene { height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 14px; background: var(--card); }
.scene.tall { min-height: 320px; }
.scene.mid { min-height: 240px; }
.scene.short { min-height: 180px; }
.poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: linear-gradient(var(--lime), var(--lime)) 0 0 / 100% 8px no-repeat, #1C2116;
  color: var(--light);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  overflow: hidden;
}
.poster strong { font-size: 18px; position: relative; z-index: 1; }
.corner {
  position: absolute;
  top: 16px;
  left: 12px;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-size: 12px;
  padding: 2px 8px;
}
.corner.alt { left: auto; right: 12px; background: var(--magenta); color: #fff; }
.week { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.day { min-width: 148px; flex: 1; background: #1C2116; color: var(--light); box-shadow: none; }
.day p { color: var(--muted-dark); }
.day .num { color: var(--lime); font-size: 22px; }
.news-list { border-top: 1px solid var(--line); }
.news-list a {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.news-list a:hover { color: var(--magenta); }
.news-list time { color: var(--muted); font-size: 14px; }
.news-list strong { font-weight: 700; }
.entry-pair { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.entry-card { padding: 22px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.entry-card p { color: var(--muted); margin: 8px 0 14px; }
.wide-list { list-style: none; margin: 0; padding: 0; }
.wide-list li {
  display: grid;
  grid-template-columns: 72px 1.4fr .7fr .6fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.bib {
  width: 48px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--r-score);
  font-family: "Roboto Condensed", "Noto Sans SC", sans-serif;
  font-weight: 700;
}
.band-dark .wide-list li { border-color: #34392C; }
.g-card.span-wide { min-height: 180px; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qa h3 { font-size: 17px; }
.faq-item { border-bottom: 1px solid #34392C; }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--light);
  border: 0;
  padding: 16px 4px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  line-height: 1.5;
}
.faq-q::after { content: "+"; color: var(--lime); font-size: 22px; }
.faq-q[aria-expanded="true"]::after { content: "–"; }
.faq-q:hover { color: var(--lime); }
.faq-a { color: var(--muted-dark); padding: 0 4px 16px; }
.quote-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.quote { margin: 0; padding: 22px; }
.quote p { font-size: 17px; line-height: 1.8; }
.quote footer { margin-top: 14px; color: var(--muted); font-size: 14px; }
.form-card { padding: 28px 24px; background: var(--card); }
.form-card label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.field { margin-bottom: 16px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 8px;
  padding: 12px 12px;
  margin: 0;
  box-shadow: none;
}
.form-card textarea { min-height: 120px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  border-color: var(--magenta);
  box-shadow: none;
}
.is-error { border-color: var(--magenta) !important; background: #fff6f9 !important; }
.error-text { color: var(--magenta); font-size: 13px; min-height: 1.2em; margin-top: 4px; }
.form-ok { display: none; margin-top: 12px; color: var(--ink); background: var(--lime); border-radius: 8px; padding: 10px 12px; }
.form-ok.show { display: block; }
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 42px 0 28px; border-top: 1px solid var(--line); }
.footer-brand { color: var(--light); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0; }
.footer-links a { color: var(--lime); }
.legal { border-top: 1px solid #34392C; margin-top: 18px; padding-top: 14px; font-size: 14px; }
.legal h2 { font-size: 16px; color: var(--light); margin: 16px 0 6px; }
.copy { margin-top: 16px; font-size: 13px; color: var(--muted); }
@media (max-width: 1023px) {
  :root { --pad: 64px; }
  h1 { font-size: 32px; }
  .lanes { grid-template-columns: 1fr; }
  .entry-pair, .quote-grid { grid-template-columns: 1fr; }
  .wide-list li { grid-template-columns: 56px 1fr; }
  .wide-list li span:nth-child(n+3) { grid-column: 2; }
}
@media (max-width: 767px) {
  .nav-row { flex-wrap: wrap; align-items: flex-start; }
  .chip-row { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .news-list a { grid-template-columns: 1fr; gap: 4px; }
  .qa-grid { grid-template-columns: 1fr; }
  .bar-line { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 639px) {
  :root { --pad: 46px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  body { font-size: 16px; }
  .site-header .top-bar { padding-top: 8px; }
  .logo { font-size: 14px; }
  .scene.tall, .scene.mid, .scene.short { min-height: 0; }
}
@media (max-width: 520px) {
  .cta-row .btn { width: 100%; }
  .metric .num { font-size: 28px; }
  .form-card { padding: 18px 14px; }
}

/* roulang page: category2 */
:root {
 --ink: #14170F;
 --paper: #F3F0E6;
 --card: #F7F4EC;
 --text: #1C1A16;
 --muted: #6E6256;
 --muted-dark: #D2C6B6;
 --lime: #D6F25C;
 --magenta: #D63D7A;
 --line: #2A2E24;
 --light: #F3F0E6;
 --shadow: 0 8px 24px rgba(20, 23, 15, .12);
 --r-score: 4px;
 --r-card: 12px;
 --r-pill: 999px;
 --pad: 84px;
}
/* roulang page: category2 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--paper);
 color: var(--text);
 font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16.5px;
 line-height: 1.8;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
a { color: var(--muted); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
 outline: 2px solid var(--magenta);
 outline-offset: 2px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; }
h1 { font-size: 38px; margin-bottom: 12px; }
h2 { font-size: 26px; margin-bottom: 14px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin-bottom: 0; }
.num { font-family: "Roboto Condensed", "Noto Sans SC", sans-serif; font-variant-numeric: tabular-nums; font-weight: 700; }
.site-header {
 background: var(--ink);
 color: var(--light);
 border-bottom: 1px solid var(--line);
 position: sticky;
 top: 0;
 z-index: 40;
}
.site-header .grid-container { padding-top: 10px; padding-bottom: 10px; }
.site-header .title-bar, .site-header .top-bar { background: transparent; color: var(--light); padding: 0; }
.site-header .title-bar { align-items: center; justify-content: space-between; width: 100%; }
.site-header .menu-icon { margin: 0; }
.site-header .menu-icon::after { background: var(--lime); box-shadow: 0 7px 0 var(--lime), 0 14px 0 var(--lime); }
.nav-row { display: flex; align-items: center; gap: 22px; width: 100%; }
.logo {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 color: var(--light);
 font-weight: 700;
 font-size: 16px;
 line-height: 1.35;
 text-decoration: none;
 max-width: 320px;
}
.logo:hover { color: var(--lime); text-decoration: none; }
.logo::before { content: ""; width: 10px; height: 28px; background: var(--lime); border-radius: 2px; flex: none; }
.age {
 display: inline-flex;
 align-items: center;
 background: var(--magenta);
 color: #fff;
 border-radius: var(--r-pill);
 padding: 0 8px;
 font-size: 12px;
 line-height: 1.7;
 font-weight: 700;
}
.site-header .menu { background: transparent; flex: 1; margin: 0; }
.site-header .menu a {
 color: var(--light);
 font-size: 15px;
 padding: 8px 12px;
 border-radius: var(--r-pill);
 text-decoration: none;
}
.site-header .menu a:hover { color: var(--lime); background: transparent; }
.site-header .menu a.is-active, .site-header .menu .is-active > a { color: var(--ink); background: var(--lime); }
.chip-row { display: flex; gap: 8px; align-items: center; }
.chip {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 34px;
 padding: 0 14px;
 border-radius: var(--r-pill);
 border: 1px solid var(--lime);
 color: var(--lime);
 background: transparent;
 font-size: 13px;
 text-decoration: none;
 white-space: nowrap;
}
.chip:hover, .chip:active { background: var(--magenta); border-color: var(--magenta); color: #fff; text-decoration: none; }
.chip.is-active { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.band { padding: var(--pad) 0; }
.band-paper { background: var(--paper); color: var(--text); }
.band-card { background: var(--card); color: var(--text); }
.band-ink { background: var(--ink); color: var(--light); }
.band-paper h1, .band-paper h2, .band-paper h3, .band-card h2, .band-card h3 { color: var(--text); }
.band-ink h2, .band-ink h3 { color: var(--light); }
.section-lead { color: var(--muted); font-size: 16.5px; line-height: 1.8; max-width: 760px; }
.band-ink .section-lead { color: var(--muted-dark); }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.crumb a { color: var(--magenta); }
.crumb span[aria-current="page"] { color: var(--text); }
.head-grid { align-items: stretch; }
.date-panel {
 background: var(--ink);
 color: var(--light);
 border-radius: var(--r-card);
 border: 1px solid var(--line);
 padding: 22px;
 box-shadow: var(--shadow);
 height: 100%;
}
.date-panel .label { color: var(--muted-dark); font-size: 14px; margin-bottom: 6px; }
.date-panel strong { display: block; color: var(--lime); font-size: 34px; letter-spacing: 0; line-height: 1.1; margin-bottom: 10px; }
.date-panel p { color: var(--light); }
.legend-card, .step, .path-card, .form-card {
 background: var(--card);
 color: var(--text);
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 box-shadow: var(--shadow);
}
.legend-card, .step, .path-card { padding: 18px; height: 100%; }
.legend-card p, .step p, .path-card p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.legend-card .num, .step .num { color: var(--ink); font-size: 28px; display: block; margin: 8px 0; }
.badge {
 display: inline-flex;
 align-items: center;
 border-radius: var(--r-pill);
 padding: 3px 10px;
 font-size: 12px;
 line-height: 1.5;
 border: 1px solid var(--magenta);
 color: var(--magenta);
 background: transparent;
 white-space: nowrap;
}
.st-done { border-color: var(--ink); background: var(--lime); color: var(--ink); }
.st-doing { color: var(--magenta); border-color: var(--magenta); background: transparent; }
.st-wait { color: var(--muted); border-color: var(--line); background: transparent; }
.notice-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.notice-list li {
 display: grid;
 grid-template-columns: 64px 168px minmax(0, 1fr) 108px;
 gap: 14px;
 align-items: center;
 padding: 16px 4px;
 border-bottom: 1px solid var(--line);
 transition: border-color .2s ease, transform .2s ease;
}
.notice-list li:hover { border-color: var(--magenta); transform: translateY(-2px); }
.bib {
 width: 52px;
 height: 36px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 background: var(--lime);
 color: var(--ink);
 border-radius: var(--r-score);
 font-size: 18px;
}
.thumb {
 position: relative;
 width: 100%;
 aspect-ratio: 16 / 9;
 border-radius: var(--r-score);
 border: 1px solid var(--line);
 background:
 linear-gradient(90deg, var(--lime) 0 8px, transparent 8px),
 linear-gradient(180deg, #2A2E24 0 46%, #14170F 46% 100%);
 overflow: hidden;
}
.thumb i, .thumb b {
 position: absolute;
 top: 8px;
 border-radius: var(--r-pill);
 font-style: normal;
 font-size: 12px;
 line-height: 1.4;
 padding: 2px 8px;
 font-weight: 700;
}
.thumb i { left: 14px; background: var(--lime); color: var(--ink); }
.thumb b { right: 8px; background: var(--magenta); color: #fff; font-weight: 700; }
.notice-main h3 { font-size: 17px; margin-bottom: 4px; }
.notice-main p { color: var(--muted); font-size: 14px; }
.more-wrap { margin-top: 18px; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 46px;
 padding: 0 22px;
 border-radius: var(--r-pill);
 border: 1px solid transparent;
 font-weight: 700;
 text-decoration: none;
 cursor: pointer;
 transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); filter: brightness(.95); }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--ink); color: var(--lime); border-color: var(--lime); text-decoration: none; }
.btn-line { background: transparent; color: var(--text); border-color: var(--line); }
.btn-line:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; text-decoration: none; }
.step { position: relative; overflow: hidden; }
.step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--lime); }
.step:nth-child(2)::before { background: var(--magenta); }
.step:nth-child(3)::before { background: var(--lime); }
.step:nth-child(4)::before { background: var(--magenta); }
.step .kicker { color: var(--magenta); font-size: 13px; font-weight: 700; }
.compare-row { margin-bottom: 22px; }
.compare-row header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.compare-row header span { color: var(--muted); }
.compare-row strong { color: var(--ink); font-size: 28px; }
.meter { height: 14px; background: #E4DFD2; border-radius: var(--r-pill); border: 1px solid var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--lime); }
.meter span.alt { background: var(--magenta); }
.path-card { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; transition: transform .2s ease, border-color .2s ease; }
.path-card:hover { transform: translateY(-2px); border-color: var(--magenta); }
.path-card a { color: var(--magenta); font-weight: 700; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
 cursor: pointer;
 list-style: none;
 padding: 16px 4px;
 font-weight: 700;
 color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--magenta); font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--magenta); }
.faq-item p { color: var(--muted); padding: 0 4px 16px; }
.form-card { padding: 22px; max-width: 720px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.field input, .field textarea {
 width: 100%;
 border: 1px solid var(--line);
 background: #fff;
 color: var(--text);
 border-radius: 12px;
 padding: 12px 14px;
 line-height: 1.6;
}
.field textarea { min-height: 120px; resize: vertical; }
.field.is-error input, .field.is-error textarea { border-color: var(--magenta); background: #fff7fa; }
.err { display: none; color: var(--magenta); font-size: 13px; margin-top: 6px; }
.field.is-error .err { display: block; }
.ok { margin-top: 12px; color: var(--ink); font-weight: 700; }
.site-footer { background: var(--ink); color: var(--light); padding: 48px 0 36px; border-top: 1px solid var(--line); }
.footer-brand { font-weight: 700; font-size: 18px; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.site-footer p { color: var(--muted-dark); }
.footer-links { display: flex; gap: 16px; margin: 14px 0; }
.footer-links a { color: var(--lime); }
.legal { border-top: 1px solid #34392C; padding-top: 14px; margin-top: 14px; }
.legal h2 { font-size: 18px; color: var(--light); }
.copy { margin-top: 16px; font-size: 14px; }
@media (max-width: 1023px) {
 h1 { font-size: 32px; }
 .notice-list li { grid-template-columns: 56px 120px minmax(0, 1fr); }
 .notice-list li .badge { grid-column: 2 / -1; justify-self: start; }
}
@media (max-width: 639px) {
 :root { --pad: 46px; }
 h1 { font-size: 28px; }
 h2 { font-size: 22px; }
 .nav-row { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 12px; }
 .site-header .menu { width: 100%; display: block; }
 .chip-row { width: 100%; flex-wrap: wrap; }
 .date-panel { margin-top: 16px; }
 .date-panel strong { font-size: 28px; }
 .notice-list li { grid-template-columns: 52px minmax(0, 1fr); }
 .thumb { grid-column: 1 / -1; max-width: 220px; }
 .notice-list li .badge { grid-column: 2; }
}

/* roulang page: category1 */
:root {
  --ink: #14170F;
  --paper: #F3F0E6;
  --card: #F7F4EC;
  --text: #1C1A16;
  --muted: #6E6256;
  --muted-dark: #D2C6B6;
  --lime: #D6F25C;
  --magenta: #D63D7A;
  --line: #2A2E24;
  --light: #F3F0E6;
  --shadow: 0 8px 24px rgba(20, 23, 15, .12);
  --r-score: 4px;
  --r-card: 12px;
  --r-pill: 999px;
  --pad: 88px;
}
@media (max-width: 1023px) {
  :root { --pad: 64px; }
}
@media (max-width: 639px) {
  :root { --pad: 46px; }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16.5px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--muted); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }
::selection { background: var(--lime); color: var(--ink); }
.site-header {
  background: var(--ink);
  color: var(--light);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .grid-container { padding-top: 10px; padding-bottom: 10px; }
.site-header .title-bar,
.site-header .top-bar {
  background: transparent;
  color: var(--light);
  padding: 0;
}
.site-header .title-bar { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-header .menu-icon { margin: 0; }
.site-header .menu-icon::after { background: var(--lime); box-shadow: 0 7px 0 var(--lime), 0 14px 0 var(--lime); }
.nav-row { display: flex; align-items: center; gap: 22px; width: 100%; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--light);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none;
  max-width: 360px;
}
.logo:hover { color: var(--lime); text-decoration: none; }
.logo::before {
  content: "";
  width: 10px;
  height: 28px;
  background: var(--lime);
  border-radius: 2px;
  flex: none;
}
.age {
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-pill);
  background: var(--magenta);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  padding: 2px 8px;
  font-family: "Roboto Condensed", "Noto Sans SC", sans-serif;
}
.site-header .menu { background: transparent; flex: 1; margin: 0; display: flex; }
.site-header .menu a {
  color: var(--light);
  font-size: 15px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  text-decoration: none;
}
.site-header .menu a:hover { color: var(--lime); background: transparent; }
.site-header .menu a.is-active,
.site-header .menu .is-active > a {
  color: var(--ink);
  background: var(--lime);
}
.chip-row { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.chip, .filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--lime);
  color: var(--lime);
  background: transparent;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.chip:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; text-decoration: none; }
.chip:active, .filter-chip:active { filter: brightness(.92); }
@media (min-width: 40em) {
  .logo.show-for-medium { display: inline-flex !important; }
}
.band { padding: var(--pad) 0; }
.band-paper { background: var(--paper); }
.band-card { background: var(--card); color: var(--text); }
.band-dark { background: var(--ink); color: var(--light); }
.band + .band { border-top: 1px solid transparent; }
.section-head { margin-bottom: 22px; max-width: 760px; }
.section-head h2, .archive-copy h1 { font-weight: 700; letter-spacing: 0; }
h1 { font-size: 38px; line-height: 1.35; margin-bottom: 12px; }
h2 { font-size: 26px; line-height: 1.4; margin-bottom: 10px; }
h3 { font-size: 18px; line-height: 1.5; font-weight: 700; }
.section-lead, .archive-copy p { color: var(--muted); font-size: 16.5px; line-height: 1.8; }
.archive-copy p + p { margin-top: 10px; }
.band-dark .section-lead, .band-dark h2 { color: var(--light); }
.band-dark .section-lead { color: var(--muted-dark); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--magenta); }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--text); }
.filter-board {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 18px 18px 8px;
}
.filter-board h2 { font-size: 18px; margin-bottom: 8px; }
.filter-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.filter-line span { color: var(--muted); }
.filter-line strong { font-weight: 700; color: var(--text); }
.filter-group { margin-bottom: 16px; }
.filter-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.filter-chip { color: var(--text); border-color: var(--line); background: var(--paper); }
.filter-chip:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.filter-chip.is-on { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.card-box { display: flex; flex-direction: column; gap: 14px; }
.archive-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 12px;
  transition: transform .2s ease, border-color .2s ease;
}
.archive-card:hover { transform: translateY(-2px); border-color: var(--magenta); }
.archive-card[hidden], #empty-note[hidden], .more-wrap[hidden], .faq-a[hidden] { display: none !important; }
.poster {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  aspect-ratio: 16 / 9;
}
.poster img { width: 100%; height: 100%; object-fit: cover; }
.bib {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 36px;
  text-align: center;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--r-score);
  font-family: "Roboto Condensed", sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  padding: 2px 6px;
}
.tag-abs {
  position: absolute;
  right: 8px;
  border-radius: var(--r-pill);
  font-size: 12px;
  line-height: 1.4;
  padding: 2px 8px;
  border: 1px solid var(--magenta);
}
.tag-origin { top: 8px; background: var(--lime); color: var(--ink); border-color: var(--ink); }
.tag-sub { top: 34px; background: var(--ink); color: var(--magenta); }
.archive-body { padding: 6px 6px 4px 0; }
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.archive-body p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.meta-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.meta-pills li {
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 2px 10px;
  font-size: 12px;
  color: var(--muted);
  background: var(--paper);
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-pill);
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.4;
  border: 1px solid var(--magenta);
  color: var(--magenta);
  background: transparent;
  white-space: nowrap;
}
.badge-lime { border-color: var(--ink); background: var(--lime); color: var(--ink); }
.badge-wait { border-color: var(--line); color: var(--text); background: var(--paper); }
.more-wrap { margin-top: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--ink); color: var(--lime); border-color: var(--lime); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--light); border-color: var(--muted-dark); }
.btn-ghost:hover, .btn-line:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; text-decoration: none; }
.btn-line { background: transparent; color: var(--text); border-color: var(--line); }
.btn:active { transform: translateY(1px); filter: brightness(.95); }
#empty-note { margin-top: 12px; color: var(--muted); }
.narrow-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px 16px;
  align-items: center;
  padding: 14px 0 14px 12px;
  border-left: 8px solid var(--lime);
  border-bottom: 1px solid #34392C;
}
.narrow-row.soft { border-left-color: var(--magenta); }
.narrow-row p { grid-column: 2; color: var(--muted-dark); font-size: 15px; }
.bar { grid-column: 1 / -1; height: 8px; background: #2A2E24; border-radius: var(--r-pill); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--lime); border-radius: var(--r-pill); }
.narrow-row.soft .bar i { background: var(--magenta); }
.score-row { margin-top: 8px; }
.score {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-score);
  padding: 18px 16px 14px;
  min-height: 132px;
}
.score b {
  display: block;
  color: var(--lime);
  font-family: "Roboto Condensed", sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 8px;
}
.score span { color: var(--light); font-size: 15px; }
.news-list { border-top: 1px solid var(--line); }
.news-list a {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.news-list a:hover { color: var(--magenta); }
.news-list time {
  color: var(--muted);
  font-family: "Roboto Condensed", sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 18px;
}
.news-list strong { font-weight: 700; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item.is-open { border-color: var(--magenta); }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text);
  border: 0;
  padding: 16px 18px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}
.faq-q:hover { color: var(--magenta); }
.faq-a { padding: 0 18px 16px; color: var(--muted); }
.form-card {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 18px;
  max-width: 760px;
}
.form-card p { color: var(--muted); margin: 8px 0 14px; }
.narrow-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 14px; color: var(--muted); }
.mail-input {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text);
  padding: 0 14px;
}
.mail-input.is-invalid { border-color: var(--magenta); box-shadow: inset 0 0 0 1px var(--magenta); }
.form-msg { min-height: 1.8em; margin-top: 8px; font-size: 14px; }
.form-msg.is-error { color: var(--magenta); }
.form-msg.is-ok { color: #3d4a12; }
.site-footer {
  background: var(--ink);
  color: var(--light);
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
}
.footer-brand { font-weight: 700; font-size: 18px; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.site-footer p { color: var(--muted-dark); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0; }
.site-footer a { color: var(--lime); }
.site-footer a:hover { color: #fff; }
.legal { border-top: 1px solid #34392C; padding-top: 14px; margin-top: 14px; }
.legal h2 { font-size: 18px; color: var(--light); }
.copy { margin-top: 18px; font-size: 14px; }
@media (max-width: 1023px) {
  .nav-row { flex-wrap: wrap; align-items: flex-start; }
  .chip-row { width: 100%; margin-left: 0; }
  .archive-card { grid-template-columns: 220px 1fr; }
  h1 { font-size: 34px; }
}
@media (max-width: 639px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .nav-row { flex-direction: column; align-items: stretch; gap: 10px; padding-bottom: 8px; }
  .site-header .menu { flex-direction: column; width: 100%; }
  .site-header .menu a { display: block; }
  .logo { max-width: calc(100% - 52px); font-size: 15px; }
  .archive-card, .narrow-form, .news-list a, .narrow-row { grid-template-columns: 1fr; }
  .narrow-row p, .bar { grid-column: auto; }
  .news-list a { gap: 6px; }
  .card-top { flex-direction: column; }
  .score b { font-size: 34px; }
}
