/* roulang page: index */
:root {
  --plum: #4C2348;
  --plum-deep: #3a1a38;
  --amber: #C9854A;
  --amber-hot: #B8733A;
  --mist: #7E9A96;
  --paper: #F3EEE6;
  --paper-2: #E8E1D6;
  --card: #FFFBF6;
  --ink: #1C1A1B;
  --muted: #5e5658;
  --line: rgba(76, 35, 72, .16);
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 16px 40px rgba(58, 29, 58, .12);
  --grad: linear-gradient(128deg, #4C2348 0%, #6B3A3A 52%, #C9854A 100%);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::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: 16px;
  font-weight: 400;
  line-height: 1.85;
}
h1, h2, h3, p, ul, ol { margin: 0; }
img { max-width: 100%; display: block; }
a { color: #6E2E4A; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
::selection { background: var(--plum); color: var(--paper); }
.grid-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.masthead { background: var(--ink); color: var(--paper); }
.mast-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 28px 0 18px;
  border-bottom: 1px solid rgba(243, 238, 230, .28);
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.2;
  color: var(--paper);
  letter-spacing: .02em;
  text-decoration: none;
}
.logo:hover { color: #fff; text-decoration: none; }
.issue { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: #d9cfc4; font-size: 13px; letter-spacing: .14em; white-space: nowrap; }
.channels {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.channels a {
  flex: 0 0 auto;
  color: #efe8df;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .12em;
  padding: 14px 20px;
  border-left: 1px solid rgba(243, 238, 230, .2);
}
.channels a:first-child { border-left: 0; padding-left: 0; }
.channels a:hover { color: var(--amber); text-decoration: none; }
.channels a.is-active { color: var(--amber); box-shadow: inset 0 -2px 0 var(--amber); }
main { display: block; }
.band { padding: 88px 0; background: var(--paper); }
.band-alt { background: var(--paper-2); }
.band-first { padding-top: 32px; }
.sec-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.35;
  letter-spacing: .02em;
}
.lead { margin-top: 14px; max-width: 48rem; color: var(--muted); font-size: 1.02rem; }
.board {
  background: var(--grad);
  color: #fffbf6;
  border-radius: var(--radius);
  padding: 36px 36px 28px;
  box-shadow: var(--shadow);
}
.board h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.22;
  color: #fffbf6;
}
.sub { margin-top: 10px; color: rgba(255, 251, 246, .9); font-size: 1.05rem; }
.intro { margin-top: 18px; max-width: 52rem; color: rgba(255, 251, 246, .92); }
.stat-note { margin: 22px 0 10px; font-size: 13px; letter-spacing: .16em; color: rgba(255, 251, 246, .78); }
.stat {
  background: rgba(255, 251, 246, .08);
  border: 1px solid rgba(255, 251, 246, .16);
  border-radius: var(--radius-sm);
  padding: 16px 14px 14px;
  min-height: 112px;
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.stat span { display: block; margin-top: 6px; color: rgba(255, 251, 246, .86); font-size: .95rem; }
.card, .node-card, .assure, .filter-card, .form-card, .qa, .gate-card, .compare-miss, .compare-hit {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card, .node-card, .qa, .form-card, .filter-card, .assure, .gate-card {
  background: var(--card);
}
.card { position: relative; padding: 26px 24px 22px; height: 100%; }
.card h3, .node-card h3, .qa h3, .gate-card h3, .cover h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.4;
  padding-right: 92px;
}
.card p, .node-card p, .cover p, .scene p, .assure p, .qa p, .gate-card p { margin-top: 10px; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.stack .card { flex: 1; }
.card-slim { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 16px; }
.card-slim h3 { padding-right: 0; }
.badge, .badge-ghost {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.badge { background: var(--amber); color: var(--ink); }
.badge-ghost { background: transparent; color: var(--ink); border: 1px solid var(--mist); }
.corner { position: absolute; top: 18px; right: 18px; }
.compare-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-miss, .compare-hit { padding: 28px 26px; min-height: 100%; box-shadow: none; border-radius: 0; }
.compare-miss { background: #e4ddd4; }
.compare-hit { background: var(--grad); color: #fffbf6; }
.compare-hit p, .compare-hit span { color: rgba(255, 251, 246, .88); }
.compare-kicker { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; margin-bottom: 8px; }
.compare-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(28, 26, 27, .12);
}
.compare-hit .compare-row { border-top-color: rgba(255, 251, 246, .22); }
.compare-row strong { margin-left: auto; font-weight: 700; }
@media (min-width: 640px) {
  .compare-hit { box-shadow: inset 1px 0 0 rgba(255, 251, 246, .45); }
}
.timeline { position: relative; list-style: none; margin: 28px 0 0; padding: 8px 0 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--plum);
}
.node { position: relative; width: 50%; padding-bottom: 22px; }
.node:nth-child(odd) { padding-right: 36px; }
.node:nth-child(even) { margin-left: 50%; padding-left: 36px; }
.node::before {
  content: "";
  position: absolute;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--paper-2);
}
.node:nth-child(odd)::before { right: -6px; }
.node:nth-child(even)::before { left: -6px; }
.node-card { padding: 20px 22px; }
.node-card h3 { padding-right: 0; }
.cover {
  display: block;
  color: inherit;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  text-decoration: none;
}
.cover:hover { transform: translateY(-2px); text-decoration: none; color: inherit; }
.frame { height: 190px; border-radius: 0; position: relative; }
.frame-a { background: linear-gradient(160deg, #4C2348, #6B3A3A 60%, #C9854A); }
.frame-b { background: linear-gradient(200deg, #2a2426, #4C2348 55%, #7E9A96); }
.frame-c { background: linear-gradient(145deg, #6B3A3A, #4C2348 40%, #C9854A); }
.frame i {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-style: normal;
}
.cover-body { padding: 16px 18px 20px; }
.cover h3 { padding-right: 0; font-size: 1.25rem; }
.news-main { padding: 28px 26px; }
.news-main h3 { font-size: 1.7rem; padding-right: 0; }
.news-side { padding: 8px 8px 0 12px; }
.news-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-item a { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.news-item a:hover { color: #6E2E4A; text-decoration: underline; text-decoration-thickness: 1px; }
.news-item small { display: block; color: var(--muted); }
.more-link { display: inline-block; margin-top: 16px; font-weight: 700; }
.scene {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  height: 100%;
}
.scene h3 { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; }
.assure { padding: 26px 22px 10px; }
.assure h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; margin-top: 12px; }
.filter-card, .form-card { padding: 28px 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.chip {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--mist);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--plum); color: var(--paper); border-color: var(--plum); }
.entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.entry strong { font-family: var(--serif); font-size: 1.08rem; }
.entry p { grid-column: 1 / -1; color: var(--muted); }
.entry[hidden], .acc-panel[hidden], #emptyNote[hidden] { display: none !important; }
.qa { padding: 20px 20px 16px; height: 100%; }
.qa h3 { font-size: 1.12rem; padding-right: 0; }
.qa p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deep-copy h3 { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; margin-top: 22px; }
.deep-copy p { margin-top: 8px; color: var(--muted); }
.pull {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--amber);
}
.pull q { font-family: var(--serif); font-size: 1.35rem; line-height: 1.6; display: block; }
.pull .badge { margin-top: 18px; }
.mini-note { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; letter-spacing: .12em; }
.acc + .acc { border-top: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 4px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
}
.acc-btn::after { content: "＋"; color: var(--amber); }
.acc-btn[aria-expanded="true"]::after { content: "－"; }
.acc-panel { padding: 0 4px 16px; color: var(--muted); }
.gate-card {
  display: block;
  padding: 32px 28px;
  min-height: 210px;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.gate-card:hover { transform: translateY(-2px); text-decoration: none; color: inherit; box-shadow: 0 18px 42px rgba(58, 29, 58, .18); }
.gate-card h3 { padding-right: 0; font-size: 1.8rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #e4d8cc;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: none;
  margin: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--plum); background: #fff; }
.btn, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn { background: var(--amber); color: var(--ink); border: 0; }
.btn:hover { background: var(--amber-hot); color: var(--ink); text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(58, 29, 58, .18); }
.btn-line { background: transparent; color: var(--plum); border: 1px solid var(--plum); }
.btn-line:hover { background: rgba(76, 35, 72, .08); color: var(--plum); text-decoration: none; transform: translateY(-2px); }
.notice {
  background: rgba(126, 154, 150, .16);
  border: 1px solid var(--mist);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.site-footer { background: var(--ink); color: #efe8df; padding: 42px 0 32px; }
.foot-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.8rem;
  color: #fffbf6;
  text-decoration: none;
}
.foot-logo:hover { color: #fff; text-decoration: none; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 16px 0; }
.foot-nav a {
  color: #efe8df;
  text-decoration: none;
  padding: 0 16px;
  border-left: 1px solid rgba(243, 238, 230, .25);
  letter-spacing: .08em;
  font-size: 14px;
}
.foot-nav a:first-child { border-left: 0; padding-left: 0; }
.foot-nav a:hover { color: var(--amber); text-decoration: none; }
.fine { color: #cfc4b8; font-size: 13px; }
.card, .cover, .scene, .gate-card, .btn, .chip { transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
@media (max-width: 1023px) {
  .logo { font-size: 36px; }
  .band { padding: 64px 0; }
  .card-slim { align-items: flex-start; }
}
@media (max-width: 767px) {
  .mast-top { align-items: flex-start; }
  .logo { font-size: 32px; }
  .board { padding: 26px 20px 20px; }
  .card-slim { flex-direction: column; }
  .news-side { padding-left: 0; }
}
@media (max-width: 639px) {
  .band, .band-first { padding: 44px 0; }
  .logo { font-size: 30px; }
  .issue { letter-spacing: .06em; }
  .timeline::before { left: 8px; }
  .node, .node:nth-child(odd), .node:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 16px 28px;
  }
  .node:nth-child(odd)::before, .node:nth-child(even)::before { left: 2px; right: auto; }
  .compare-hit { box-shadow: inset 0 1px 0 rgba(255, 251, 246, .45); }
}
@media (max-width: 520px) {
  .grid-container { width: min(1180px, calc(100% - 24px)); }
  .channels a { padding: 12px 14px; letter-spacing: .06em; }
  .stat b { font-size: 1.5rem; }
  .form-actions .btn, .form-actions .btn-line { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category2 */
:root {
 --plum: #4C2348;
 --plum-deep: #3a1a38;
 --amber: #C9854A;
 --amber-hot: #B8733A;
 --mist: #7E9A96;
 --paper: #F3EEE6;
 --paper-2: #E8E1D6;
 --card: #FFFBF6;
 --ink: #1C1A1B;
 --muted: #5e5658;
 --line: rgba(76, 35, 72, .16);
 --radius: 24px;
 --radius-sm: 14px;
 --shadow: 0 16px 40px rgba(58, 29, 58, .12);
 --grad: linear-gradient(128deg, #4C2348 0%, #6B3A3A 52%, #C9854A 100%);
 --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
 --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::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: 16px;
 font-weight: 400;
 line-height: 1.85;
}
img { max-width: 100%; display: block; }
a { color: #6E2E4A; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible {
 outline: 2px solid var(--amber);
 outline-offset: 3px;
}
.grid-container {
 width: min(1180px, calc(100% - 32px));
 max-width: 1180px;
 margin: 0 auto;
 padding: 0;
}
.masthead {
 background: #1C1A1B;
 color: var(--paper);
 padding: 28px 0 0;
}
.mast-top {
 display: flex;
 justify-content: space-between;
 align-items: flex-end;
 gap: 24px;
 padding-bottom: 16px;
 border-bottom: 1px solid rgba(243, 238, 230, .35);
}
.logo {
 font-family: var(--serif);
 font-weight: 700;
 font-size: 46px;
 line-height: 1.2;
 color: var(--paper);
 letter-spacing: .02em;
 text-decoration: none;
}
.logo:hover { color: #fff; text-decoration: none; }
.issue {
 display: flex;
 flex-direction: column;
 align-items: flex-end;
 gap: 2px;
 color: #efe8df;
 font-size: 13px;
 letter-spacing: .16em;
 line-height: 1.6;
 white-space: nowrap;
}
.channels {
 display: flex;
 align-items: stretch;
 overflow-x: auto;
 -webkit-overflow-scrolling: touch;
}
.channels a {
 flex: 0 0 auto;
 color: #efe8df;
 text-decoration: none;
 font-size: 13px;
 letter-spacing: .12em;
 padding: 14px 20px;
 border-left: 1px solid rgba(243, 238, 230, .2);
}
.channels a:first-child { border-left: 0; padding-left: 0; }
.channels a:hover { color: var(--amber); text-decoration: none; }
.channels a.is-active { color: var(--amber); box-shadow: inset 0 -2px 0 var(--amber); }
main { display: block; }
.sec { padding: 84px 0; }
.sec-paper { background: var(--paper); }
.sec-sand { background: var(--paper-2); }
.sec-card { background: #f7f2ea; }
.sec-title {
 margin: 0;
 font-family: var(--serif);
 font-weight: 700;
 font-size: clamp(1.7rem, 3vw, 2.35rem);
 line-height: 1.35;
 letter-spacing: .02em;
}
.lead { margin: 14px 0 0; max-width: 46rem; color: var(--muted); font-size: 1.02rem; }
.toc-head { padding-top: 56px; padding-bottom: 28px; background: var(--card); }
.toc-head-row {
 display: flex;
 align-items: stretch;
 justify-content: space-between;
 gap: 28px;
}
.toc-head h1 {
 margin: 0;
 font-family: var(--serif);
 font-weight: 700;
 font-size: clamp(3rem, 7vw, 5.2rem);
 line-height: 1.08;
 letter-spacing: .04em;
}
.issue-vert {
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 writing-mode: vertical-rl;
 letter-spacing: .28em;
 font-size: 13px;
 color: var(--plum);
 border-left: 1px solid var(--line);
 padding-left: 14px;
 min-height: 140px;
}
.toc-rule {
 height: 1px;
 margin-top: 22px;
 background: linear-gradient(90deg, var(--plum), var(--amber) 42%, transparent 88%);
}
.toc-board {
 margin-top: 28px;
 background: var(--card);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 8px 28px 18px;
}
.toc-row {
 display: grid;
 grid-template-columns: minmax(180px, 34%) 1fr;
 gap: 28px;
 padding: 18px 0;
 border-bottom: 1px solid var(--line);
 align-items: start;
}
.toc-row h3 {
 margin: 0;
 font-family: var(--serif);
 font-weight: 700;
 font-size: 1.28rem;
 line-height: 1.45;
}
.toc-row h3 a { color: var(--ink); text-decoration: none; }
.toc-row h3 a:hover { color: #6E2E4A; text-decoration: underline; text-decoration-thickness: 1px; }
.toc-sum p { margin: 0; color: var(--muted); }
.toc-sum p + p { margin-top: 4px; }
.toc-more {
 display: flex;
 justify-content: flex-end;
 padding: 18px 0 8px;
}
.badge, .badge-ghost {
 display: inline-flex;
 align-items: center;
 height: 30px;
 padding: 0 12px;
 border-radius: 999px;
 font-size: 13px;
 font-weight: 700;
 line-height: 1;
 white-space: nowrap;
}
.badge { background: var(--amber); color: var(--ink); }
.badge-ghost { background: transparent; color: var(--ink); border: 1px solid var(--mist); }
.stat-note { margin: 16px 0 0; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.badge-card {
 background: var(--card);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 28px 26px 22px;
 height: 100%;
}
.badge-card strong {
 display: block;
 font-family: var(--serif);
 font-size: 1.45rem;
 font-weight: 700;
 margin: 14px 0 8px;
}
.badge-card p { margin: 0; color: var(--muted); }
.serial-list { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.serial {
 display: grid;
 grid-template-columns: 72px 1fr;
 gap: 16px;
 align-items: center;
 background: var(--card);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 18px 22px;
 color: inherit;
 text-decoration: none;
 transition: transform .18s ease, box-shadow .18s ease;
}
.serial:hover {
 transform: translateY(-2px);
 text-decoration: none;
 box-shadow: 0 18px 42px rgba(58, 29, 58, .18);
 color: inherit;
}
.pn {
 font-family: var(--serif);
 font-weight: 700;
 font-size: 1.8rem;
 color: var(--amber-hot);
 letter-spacing: .04em;
}
.serial-body strong {
 display: block;
 font-family: var(--serif);
 font-size: 1.25rem;
 font-weight: 700;
}
.serial-body em {
 display: block;
 margin-top: 4px;
 font-style: normal;
 color: var(--muted);
}
.diff-pair {
 display: grid;
 grid-template-columns: 1fr 1fr;
 background: var(--card);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 overflow: hidden;
 margin-top: 16px;
}
.diff-side { padding: 22px 24px; }
.diff-side + .diff-side { border-left: 1px solid var(--line); }
.diff-miss { background: #f6f1ea; }
.diff-hit { background: var(--card); }
.diff-side span {
 display: inline-flex;
 height: 28px;
 align-items: center;
 padding: 0 12px;
 border-radius: 999px;
 font-size: 12px;
 font-weight: 700;
 letter-spacing: .06em;
}
.diff-hit span { background: var(--amber); color: var(--ink); }
.diff-miss span { border: 1px solid var(--mist); color: var(--muted); }
.diff-side h3 {
 margin: 12px 0 0;
 font-family: var(--serif);
 font-size: 1.2rem;
 font-weight: 700;
}
.diff-side p { margin: 8px 0 0; color: var(--muted); }
.log {
 list-style: none;
 margin: 22px 0 0;
 padding: 6px 8px;
 background: var(--card);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.log li {
 display: grid;
 grid-template-columns: 92px 1fr;
 gap: 16px;
 align-items: baseline;
 padding: 13px 18px;
 border-bottom: 1px solid var(--line);
}
.log li:last-child { border-bottom: 0; }
.log time { color: var(--plum); font-weight: 700; letter-spacing: .04em; }
.log a { color: var(--ink); font-family: var(--serif); font-weight: 700; }
.log a:hover { color: #6E2E4A; }
.path-end { padding-top: 36px; padding-bottom: 48px; }
.path-line {
 display: flex;
 justify-content: space-between;
 gap: 16px;
 align-items: center;
 padding-top: 18px;
 border-top: 1px solid var(--line);
}
.path-line a { font-weight: 700; letter-spacing: .06em; }
.btn, .btn-line {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 22px;
 border-radius: 999px;
 font-weight: 700;
 text-decoration: none;
 transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn { background: var(--amber); color: var(--ink); border: 0; }
.btn:hover { background: var(--amber-hot); color: var(--ink); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-line { background: transparent; color: var(--plum); border: 1px solid var(--plum); }
.btn-line:hover { background: rgba(76, 35, 72, .08); color: var(--plum); text-decoration: none; transform: translateY(-2px); }
.site-footer {
 background: #1C1A1B;
 color: #efe8df;
 padding: 48px 0 36px;
}
.foot-logo {
 font-family: var(--serif);
 font-weight: 700;
 font-size: 28px;
 color: var(--paper);
 text-decoration: none;
 line-height: 1.3;
}
.foot-logo:hover { color: #fff; text-decoration: none; }
.foot-nav {
 display: flex;
 flex-wrap: wrap;
 margin: 18px 0 12px;
}
.foot-nav a {
 color: #efe8df;
 text-decoration: none;
 font-size: 13px;
 letter-spacing: .1em;
 padding: 8px 16px;
 border-left: 1px solid rgba(243, 238, 230, .2);
}
.foot-nav a:first-child { border-left: 0; padding-left: 0; }
.foot-nav a:hover { color: var(--amber); text-decoration: none; }
.fine { margin: 0; color: #cfc6bc; font-size: 13px; line-height: 1.7; }
@media (max-width: 1023px) {
 .sec { padding: 64px 0; }
 .logo { font-size: 36px; }
}
@media (max-width: 767px) {
 .sec { padding: 44px 0; }
 .logo { font-size: 30px; }
 .mast-top { align-items: flex-start; }
 .issue { letter-spacing: .08em; }
 .toc-head { padding-top: 36px; }
 .toc-row, .diff-pair, .log li, .serial { grid-template-columns: 1fr; }
 .diff-side + .diff-side { border-left: 0; border-top: 1px solid var(--line); }
 .issue-vert { min-height: 96px; }
 .path-line { flex-direction: column; align-items: flex-start; }
 .toc-board { padding: 4px 16px 12px; }
}

/* roulang page: category1 */
:root {
 --plum: #4C2348;
 --plum-deep: #3a1a38;
 --amber: #C9854A;
 --amber-hot: #B8733A;
 --mist: #7E9A96;
 --paper: #F3EEE6;
 --paper-2: #E8E1D6;
 --card: #FFFBF6;
 --ink: #1C1A1B;
 --muted: #5e5658;
 --line: rgba(76, 35, 72, .16);
 --radius: 24px;
 --radius-sm: 14px;
 --shadow: 0 16px 40px rgba(58, 29, 58, .12);
 --grad: linear-gradient(128deg, #4C2348 0%, #6B3A3A 52%, #C9854A 100%);
 --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
 --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
/* roulang page: cate-hd */
*, *::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: 16px;
 font-weight: 400;
 line-height: 1.85;
}
img { max-width: 100%; display: block; }
a { color: #6E2E4A; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.grid-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.masthead { background: #1C1A1B; color: var(--paper); }
.mast-top {
 display: flex;
 justify-content: space-between;
 align-items: flex-end;
 gap: 18px;
 padding: 28px 0 12px;
}
.logo {
 font-family: var(--serif);
 font-weight: 700;
 font-size: 46px;
 line-height: 1.2;
 color: var(--paper);
 letter-spacing: .02em;
 text-decoration: none;
}
.logo:hover { color: #fff; text-decoration: none; }
.issue {
 display: flex;
 flex-direction: column;
 align-items: flex-end;
 gap: 2px;
 color: #efe8df;
 font-size: 13px;
 letter-spacing: .14em;
 white-space: nowrap;
}
.channels {
 display: flex;
 border-top: 1px solid rgba(243, 238, 230, .35);
 overflow-x: auto;
 scrollbar-width: thin;
}
.channels a {
 flex: 0 0 auto;
 color: #efe8df;
 text-decoration: none;
 font-size: 13px;
 letter-spacing: .12em;
 padding: 14px 20px;
 border-left: 1px solid rgba(243, 238, 230, .2);
}
.channels a:first-child { border-left: 0; padding-left: 0; }
.channels a:hover { color: var(--amber); text-decoration: none; }
.channels a.is-active { color: var(--amber); box-shadow: inset 0 -2px 0 var(--amber); }
main { display: block; }
.band { padding: 84px 0; }
.band-paper { background: var(--paper); }
.band-soft { background: var(--paper-2); }
.band-card { background: #fffaf4; }
.kicker {
 background: var(--card);
 padding: 72px 0 28px;
 border-bottom: 1px solid var(--line);
}
.kicker-row {
 display: flex;
 justify-content: space-between;
 align-items: flex-end;
 gap: 28px;
}
.kicker h1 {
 margin: 0;
 font-family: var(--serif);
 font-weight: 700;
 font-size: clamp(2.4rem, 5vw, 4.2rem);
 line-height: 1.2;
 letter-spacing: .03em;
}
.kicker-side {
 display: flex;
 flex-direction: column;
 align-items: flex-end;
 gap: 8px;
 min-width: 180px;
 color: var(--muted);
 font-size: 14px;
 letter-spacing: .08em;
}
.kicker-side strong {
 font-family: var(--serif);
 color: var(--ink);
 font-size: 1.05rem;
 font-weight: 700;
 letter-spacing: 0;
}
.stat-line { display: inline-flex; align-items: center; gap: 8px; }
.stat-note { font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.sec-head { margin-bottom: 22px; max-width: 46rem; }
.sec-title {
 margin: 0;
 font-family: var(--serif);
 font-weight: 700;
 font-size: clamp(1.7rem, 3vw, 2.35rem);
 line-height: 1.35;
 letter-spacing: .02em;
}
.lead { margin: 12px 0 0; color: var(--muted); font-size: 1.02rem; }
.card {
 position: relative;
 background: var(--card);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 26px 24px 22px;
 height: 100%;
}
.card h3, .note-card h3, .rel h3, .mini-node h3 {
 margin: 0;
 font-family: var(--serif);
 font-weight: 700;
 font-size: 1.35rem;
 line-height: 1.4;
 padding-right: 84px;
}
.card p, .note-card p, .rel p, .mini-node p { margin: 10px 0 0; color: var(--muted); }
.badge, .badge-ghost {
 display: inline-flex;
 align-items: center;
 height: 30px;
 padding: 0 12px;
 border-radius: 999px;
 font-size: 13px;
 font-weight: 700;
 line-height: 1;
 white-space: nowrap;
}
.badge { background: var(--amber); color: var(--ink); }
.badge-ghost { background: transparent; color: var(--ink); border: 1px solid var(--mist); }
.card > .badge, .entry-copy > .badge {
 position: absolute;
 top: 18px;
 right: 18px;
}
.filter-sticky { position: static; }
.filter-card {
 background: var(--card);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 22px 24px 18px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip {
 height: 32px;
 padding: 0 14px;
 border-radius: 999px;
 border: 1px solid var(--mist);
 background: transparent;
 color: var(--ink);
 font-weight: 700;
 transition: background .18s ease, color .18s ease, transform .18s ease;
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--plum); color: var(--paper); border-color: var(--plum); }
.empty-note { display: none; margin: 14px 0 0; color: var(--muted); }
.empty-note.is-on { display: block; }
.entry { overflow: hidden; }
.entry-layout { display: flex; gap: 22px; align-items: stretch; }
.frame {
 border-radius: var(--radius-sm);
 color: #fffaf4;
 display: flex;
 align-items: flex-end;
 padding: 16px;
 font-family: var(--serif);
 font-weight: 700;
 font-size: 40px;
 line-height: 1;
 letter-spacing: .04em;
}
.entry-wide .frame { width: 220px; min-height: 168px; flex: 0 0 220px; }
.entry-narrow .frame { height: 112px; margin: -4px 0 16px; }
.frame-a { background: linear-gradient(160deg, #4C2348, #6B3A3A 60%, #C9854A); }
.frame-b { background: linear-gradient(160deg, #1C1A1B, #4C2348 68%, #7E9A96); }
.frame-c { background: linear-gradient(145deg, #6B3A3A, #C9854A); }
.entry-copy { position: relative; flex: 1; min-width: 0; padding-top: 8px; }
.entry-narrow { padding-top: 22px; }
.list-gap { margin-bottom: 18px; }
.more-row { margin: 8px 0 0; }
.btn, .btn-line {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 22px;
 border-radius: 999px;
 font-weight: 700;
 text-decoration: none;
 border: 0;
 transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn { background: var(--amber); color: var(--ink); box-shadow: 0 8px 18px rgba(201, 133, 74, .28); }
.btn:hover { background: var(--amber-hot); color: var(--ink); text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(58, 29, 58, .18); }
.btn:active { transform: translateY(0); }
.btn-line { background: transparent; color: var(--plum); border: 1px solid var(--plum); }
.btn-line:hover { background: rgba(76, 35, 72, .08); color: var(--plum); text-decoration: none; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.spec-item {
 background: var(--card);
 border-radius: 18px;
 border: 1px solid var(--line);
 padding: 16px 16px 14px;
 min-height: 108px;
}
.spec-item span { display: block; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.spec-item strong {
 display: block;
 margin-top: 6px;
 font-family: var(--serif);
 font-size: 1.35rem;
 font-weight: 700;
}
.mini-rail {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 16px;
 position: relative;
}
.mini-rail::before {
 content: "";
 position: absolute;
 top: 27px;
 left: 4%;
 right: 4%;
 height: 1px;
 background: var(--plum);
}
.mini-node {
 position: relative;
 background: var(--card);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 46px 18px 18px;
}
.mini-node i {
 position: absolute;
 top: 18px;
 left: 18px;
 width: 18px;
 height: 18px;
 border-radius: 999px;
 background: var(--amber);
 box-shadow: 0 0 0 6px rgba(201, 133, 74, .2);
}
.mini-node h3 { padding-right: 0; font-size: 1.15rem; }
.note-card { height: 100%; }
.note-card h3 { padding-right: 0; }
.note-card .btn { margin-top: 18px; }
.pull {
 margin-top: 16px;
 padding-top: 12px;
 border-top: 1px solid var(--line);
 font-family: var(--serif);
 font-size: 1.2rem;
 line-height: 1.6;
 color: var(--plum);
}
.h-scroll {
 display: flex;
 gap: 16px;
 overflow-x: auto;
 padding-bottom: 8px;
 scroll-snap-type: x mandatory;
}
.rel {
 flex: 0 0 280px;
 scroll-snap-align: start;
 background: var(--card);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 20px 18px 18px;
 color: inherit;
 text-decoration: none;
 transition: transform .18s ease, box-shadow .18s ease;
}
.rel:hover { transform: translateY(-2px); text-decoration: none; color: inherit; box-shadow: 0 18px 42px rgba(58, 29, 58, .18); }
.rel em {
 display: block;
 font-style: normal;
 font-weight: 700;
 color: var(--amber-hot);
 letter-spacing: .08em;
 font-size: 13px;
}
.rel h3 { margin-top: 8px; padding-right: 0; font-size: 1.2rem; color: var(--ink); }
.faq-list { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
 width: 100%;
 text-align: left;
 background: transparent;
 border: 0;
 padding: 18px 4px;
 display: flex;
 justify-content: space-between;
 gap: 12px;
 font-family: var(--serif);
 font-weight: 700;
 font-size: 1.15rem;
}
.acc-btn::after { content: "＋"; color: var(--amber); }
.acc-btn[aria-expanded="true"]::after { content: "－"; }
.acc-panel { padding: 0 4px 16px; color: var(--muted); }
.site-footer { background: #1C1A1B; color: #efe8df; padding: 48px 0 36px; }
.foot-logo {
 font-family: var(--serif);
 font-weight: 700;
 font-size: 28px;
 line-height: 1.3;
 color: var(--paper);
 text-decoration: none;
}
.foot-logo:hover { color: #fff; text-decoration: none; }
.foot-nav { display: flex; flex-wrap: wrap; margin: 18px 0 12px; }
.foot-nav a {
 color: #efe8df;
 text-decoration: none;
 font-size: 13px;
 letter-spacing: .08em;
 padding: 8px 16px;
 border-left: 1px solid rgba(243, 238, 230, .2);
}
.foot-nav a:first-child { border-left: 0; padding-left: 0; }
.foot-nav a:hover { color: var(--amber); text-decoration: none; }
.fine { margin: 0; color: #cfc6bc; font-size: 13px; line-height: 1.7; }
@media (min-width: 640px) {
 .filter-sticky { position: sticky; top: 12px; z-index: 6; }
}
@media (max-width: 1023px) {
 .band { padding: 56px 0; }
 .logo { font-size: 36px; }
 .entry-wide .frame { width: 160px; flex-basis: 160px; font-size: 32px; }
 .mini-rail::before { display: none; }
}
@media (max-width: 767px) {
 .kicker { padding: 40px 0 20px; }
 .kicker-row, .mast-top { flex-direction: column; align-items: flex-start; }
 .kicker-side, .issue { align-items: flex-start; }
 .spec-grid { grid-template-columns: repeat(2, 1fr); }
 .entry-layout { flex-direction: column; }
 .entry-wide .frame { width: 100%; flex-basis: auto; min-height: 120px; }
}
@media (max-width: 639px) {
 .band { padding: 44px 0; }
 .logo { font-size: 30px; }
 .channels a { padding: 12px 14px; }
 .mini-rail { display: flex; overflow-x: auto; }
 .mini-node { min-width: 200px; }
 .rel { flex-basis: 240px; }
}
@media (max-width: 520px) {
 .grid-container { width: min(1180px, calc(100% - 20px)); }
 .card, .filter-card { padding: 18px 16px; }
 .spec-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
 .sec-title { font-size: 1.55rem; }
}
