/* roulang page: index */
:root {
  --wine: #7A2E45;
  --ink: #3E2433;
  --clay: #C4894A;
  --sage: #5E6B58;
  --paper: #F3EBDD;
  --sand: #E7DCC8;
  --card: #FFF9F2;
  --text: #241816;
  --muted: #6B5C53;
  --line: #D9CBB6;
  --shadow: 0 8px 24px rgba(62, 36, 51, .08);
  --radius: 4px;
  --badge-radius: 2px;
  --max: 1120px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 124px; scroll-padding-bottom: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  padding-bottom: 72px;
}
h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:active { color: var(--wine); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
h1, h2, h3, .brand-name, .entry-no, .step-no, .spec-no { font-family: var(--serif); color: var(--ink); }
h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.28; font-weight: 700; letter-spacing: 0; }
h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; font-weight: 700; margin-bottom: 12px; }
h3 { font-size: 18px; line-height: 1.45; font-weight: 700; }
p { margin: 0 0 .85em; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.kicker { color: var(--wine); font-size: 13px; letter-spacing: .08em; margin-bottom: 10px; }
.lede { font-size: 16px; max-width: 42em; }
.subhead { font-size: 18px; color: var(--ink); margin: 10px 0 14px; line-height: 1.7; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 235, 221, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.brand-row, .channel-row, .brand-name, .head-cta, .brand-badges {
  transition: padding .24s ease, font-size .24s ease, min-height .24s ease, border-color .24s ease, gap .24s ease;
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--wine); }
.brand-name { font-size: 20px; line-height: 1.35; font-weight: 700; text-decoration: none; }
.brand-badges { display: flex; gap: 4px; flex-shrink: 0; }
.channel-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.channel-row a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 15px;
}
.channel-row a:hover { color: var(--wine); background: rgba(255, 249, 242, .7); }
.channel-row a.is-active {
  box-shadow: inset 3px 0 0 var(--wine);
  background: var(--card);
  color: var(--wine);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--clay);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 6px 12px;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--sand); }
.nav-toggle:active { transform: translateY(1px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.4;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--wine); color: #fff9f2; }
.btn-primary:hover, .btn-primary:active { background: var(--ink); color: #fff9f2; transform: translateY(1px); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--clay); }
.btn-ghost:hover, .btn-ghost:active { background: var(--sand); color: var(--ink); transform: translateY(1px); }
.head-cta { flex-shrink: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--badge-radius);
  padding: 1px 6px;
  font-size: 12px;
  line-height: 1.6;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--card);
}
.badge-meta { color: var(--sage); border-color: var(--sage); background: transparent; }
.badge-wine { color: var(--wine); border-color: var(--wine); background: transparent; }
.badge-clay { color: #6d4a22; border-color: var(--clay); background: transparent; }

.section { padding: 60px 0; }
.band-paper { background: var(--paper); }
.band-sand { background: var(--sand); }
.band-mist { background: #efe4d2; }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink h2, .band-ink h3 { color: #f3ebdd; }
.section-head { margin-bottom: 22px; max-width: 46em; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 28px; align-items: stretch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.archive-card { padding: 14px 14px 16px; }
.archive-lines { display: grid; gap: 8px; margin-top: 12px; }
.archive-lines div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.archive-lines dt { color: var(--muted); }
.archive-lines dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.shot-block {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--wine);
  color: #f3ebdd;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-family: var(--serif);
  font-size: 22px;
}
.shot-block.z2 { background: var(--clay); color: var(--text); }
.shot-block.z3 { background: var(--ink); }
.shot-block.z4 { background: var(--sage); }
.shot-block.ratio-32 { aspect-ratio: 3 / 2; }
figcaption { font-size: 12px; color: var(--muted); line-height: 1.6; padding-top: 6px; }
figcaption em { font-style: normal; color: var(--sage); margin-left: 8px; }

.spec-list, .proof-list, .log-list, .entry-list, .alias-list, .toc-list, .start-list { display: grid; gap: 12px; }
.spec-row, .proof-row, .log-item, .start-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.spec-no, .step-no {
  font-size: 28px;
  color: var(--wine);
  min-width: 52px;
  line-height: 1;
}
.spec-row h3, .proof-row h3, .start-item h3 { flex: 1; }
.spec-row p, .proof-row p { margin: 0; color: var(--muted); font-size: 14px; }
.proof-num { font-family: var(--serif); font-size: 28px; color: var(--wine); min-width: 92px; }

.steps { display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.step-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 280px); gap: 16px; align-items: center; }
.step figure { margin: 0; }

.compare { display: grid; gap: 14px; }
.compare-item { padding: 8px 16px 14px; }
.compare-item h3 { padding-top: 10px; }
details { border-top: 1px solid var(--line); padding: 10px 0 0; }
summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; color: var(--clay); font-weight: 500; }
details[open] summary::after { content: "－"; }
details p { margin-top: 8px; color: var(--text); }
.faq details { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--wine); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); }
.faq details + details { margin-top: 10px; }
.faq summary { border: 0; }
.band-ink details { background: transparent; border: 0; box-shadow: none; color: var(--paper); }
.faq .band-ink summary { color: var(--paper); }

.assure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.assure-grid article { border-top: 2px solid var(--clay); padding-top: 10px; }
.assure-grid p { color: #f3ebdd; }

.folders { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.folder {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  position: relative;
  min-height: 180px;
}
.folder:hover { color: var(--text); transform: translateY(1px); }
.folder-tab {
  display: inline-block;
  background: var(--sand);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--badge-radius) var(--badge-radius) 0 0;
  padding: 2px 8px;
  font-size: 12px;
  margin-bottom: 10px;
}
.folder h3 { color: var(--ink); margin-bottom: 8px; }
.folder-go { display: inline-block; margin-top: 12px; color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }

.entry {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px 14px;
  padding: 14px 16px 14px 18px;
}
.entry-no { font-size: 24px; color: var(--wine); line-height: 1.2; }
.entry h3 a { text-decoration: underline; text-underline-offset: 3px; }
.meta { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.more-row { margin-top: 16px; }

.path { position: relative; display: grid; gap: 16px; }
.path::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 1px;
  background: var(--line);
}
.path-item { width: min(540px, 86%); position: relative; padding: 16px 16px 16px 18px; }
.path-item:nth-child(odd) { margin-right: auto; }
.path-item:nth-child(even) { margin-left: auto; }
.path-item h3 a { text-decoration: underline; text-underline-offset: 3px; }

.wall { display: grid; grid-template-columns: 1.35fr .9fr; grid-template-rows: auto auto; gap: 14px; }
.wall-main { grid-row: 1 / span 2; padding: 14px; }
.wall-sub { padding: 14px; }
.wall h3 a { text-decoration: underline; text-underline-offset: 3px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--badge-radius);
  padding: 4px 10px;
  cursor: pointer;
}
.chip:hover { border-color: var(--clay); color: var(--wine); }
.chip.is-on { border-color: var(--wine); color: var(--wine); box-shadow: inset 3px 0 0 var(--wine); }
.alias-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: var(--shadow);
}
.alias-list span { color: var(--sage); font-size: 12px; text-decoration: none; }

.toc-list { grid-template-columns: 1fr 1fr; }
.toc-list a {
  display: block;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--clay);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
}
.toc-list a:hover { color: var(--wine); }
.toc-list small { display: block; color: var(--muted); font-size: 13px; }

.log-item { align-items: flex-start; }
.log-date { min-width: 108px; }

.site-footer { background: var(--ink); color: #f3ebdd; padding: 42px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr .9fr; gap: 22px; }
.site-footer h2 { font-size: 18px; color: #f3ebdd; margin-bottom: 8px; }
.site-footer a { color: #e7c7a1; text-decoration: none; }
.site-footer a:hover { color: #fff9f2; }
.site-footer ul { display: grid; gap: 6px; }
.copyright { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(217, 203, 182, .35); color: #e7dcc8; font-size: 13px; }

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  height: 56px;
  background: var(--ink);
  color: #f3ebdd;
  border-top: 1px solid rgba(196, 137, 74, .45);
  transform: translateY(0);
  transition: transform .24s ease;
}
.dock.is-yield { transform: translateY(100%); }
.dock-inner { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dock-title { font-family: var(--serif); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .btn { min-height: 36px; padding: 6px 12px; }

@media (min-width: 1024px) {
  .site-header.is-compact .head-wrap { display: flex; align-items: center; gap: 18px; }
  .site-header.is-compact .brand-row { min-height: 0; padding: 8px 0; width: auto; flex: 0 1 auto; }
  .site-header.is-compact .brand-name { font-size: 16px; }
  .site-header.is-compact .brand-badges { display: none; }
  .site-header.is-compact .head-cta { min-height: 34px; padding: 4px 10px; font-size: 13px; }
  .site-header.is-compact .channel-row { flex: 1; border-top: 0; min-height: 0; justify-content: flex-end; }
}
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .head-cta { display: none; }
  .site-header { position: sticky; }
  .head-wrap { position: relative; }
  .channel-row {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 14px;
    flex-direction: column;
    align-items: stretch;
    z-index: 60;
  }
  .channel-row.is-open { display: flex; }
  .channel-row a { padding: 12px 10px; }
  .mobile-cta { display: inline-flex; margin: 6px 10px 8px; }
}
@media (min-width: 1024px) {
  .mobile-cta { display: none; }
}
@media (max-width: 1023px) and (min-width: 641px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .wall { grid-template-columns: 1fr 1fr; }
  .wall-main { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .step-body { grid-template-columns: 1fr; }
  .path::before { left: 18px; }
  .path-item { width: 100%; margin: 0 !important; }
  .assure-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .section { padding: 42px 0; }
  .hero-grid, .folders, .wall, .toc-list, .foot-grid { grid-template-columns: 1fr; }
  .wall-main { grid-row: auto; }
  .entry { grid-template-columns: 1fr; }
  .spec-row, .proof-row, .log-item, .start-item { flex-direction: column; align-items: flex-start; }
  .brand-name { font-size: 15px; }
  .dock-title { font-size: 13px; }
  .step { grid-template-columns: 48px minmax(0, 1fr); }
}
@media (min-width: 1280px) {
  .container { width: min(var(--max), calc(100% - 80px)); }
}

/* roulang page: category1 */
:root {
  --wine: #7A2E45;
  --ink: #3E2433;
  --clay: #C4894A;
  --sage: #5E6B58;
  --paper: #F3EBDD;
  --sand: #E7DCC8;
  --card: #FFF9F2;
  --text: #241816;
  --muted: #6B5C53;
  --line: #D9CBB6;
  --shadow: 0 8px 24px rgba(62, 36, 51, .08);
  --radius: 4px;
  --badge-radius: 2px;
  --max: 1120px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 124px; scroll-padding-bottom: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  padding-bottom: 72px;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
p { margin: 0 0 .85em; }
h1, h2, h3 { margin: 0 0 .45em; font-weight: 700; line-height: 1.35; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:active { color: var(--wine); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
h1, h2, h3, .brand-name, .entry-no, .step-no, .spec-no { font-family: var(--serif); color: var(--ink); }
.muted { color: var(--muted); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 235, 221, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.brand-row, .channel-row, .brand-name, .head-cta, .brand-badges, .head-wrap {
  transition: padding .24s ease, font-size .24s ease, min-height .24s ease, border-color .24s ease, gap .24s ease, background .24s ease;
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--wine); }
.brand-name { font-size: 20px; line-height: 1.35; font-weight: 700; text-decoration: none; }
.brand-badges { display: flex; gap: 4px; flex-shrink: 0; }
.channel-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.channel-row a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 15px;
}
.channel-row a:hover { color: var(--wine); background: rgba(255, 249, 242, .7); }
.channel-row a:active { color: var(--wine); }
.channel-row a.is-active {
  box-shadow: inset 3px 0 0 var(--wine);
  background: var(--card);
  color: var(--wine);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--clay);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 6px 12px;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--sand); }
.nav-toggle:active { transform: translateY(1px); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.4;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--wine); color: #fff9f2; }
.btn-primary:hover, .btn-primary:active { background: var(--ink); color: #fff9f2; transform: translateY(1px); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--clay); }
.btn-ghost:hover, .btn-ghost:active { background: var(--sand); color: var(--ink); transform: translateY(1px); }
.head-cta { flex-shrink: 0; }
.mobile-cta { display: none; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--badge-radius);
  padding: 1px 6px;
  font-size: 12px;
  line-height: 1.6;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--card);
  white-space: nowrap;
}
.badge-meta { color: var(--sage); border-color: var(--sage); background: transparent; }
.badge-wine { color: var(--wine); border-color: var(--wine); background: transparent; }
.badge-clay { color: #6d4a22; border-color: var(--clay); background: transparent; }
.section { padding: 60px 0; }
.section-sand { background: var(--sand); }
.section-paper { background: var(--paper); }
.section-card { background: #efe4d2; }
.section-head { margin-bottom: 22px; max-width: 46em; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.kicker {
  margin: 0 0 8px;
  color: var(--sage);
  font-size: 13px;
  letter-spacing: .08em;
}
.archive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  gap: 28px;
  align-items: center;
}
.lede { font-size: 18px; max-width: 38em; }
.mini-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}
.mini-meta div {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
  padding: 8px 12px;
}
.mini-meta dt { color: var(--muted); font-size: 12px; }
.mini-meta dd { margin: 0; font-family: var(--serif); color: var(--ink); }
.plate { margin: 0; }
.plate img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.plate figcaption, .fig-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.filter-groups { display: grid; gap: 14px; }
.filter-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-label {
  min-width: 3em;
  font-family: var(--serif);
  color: var(--ink);
}
.chip {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--badge-radius);
  padding: 4px 10px;
  cursor: pointer;
  line-height: 1.6;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.chip:hover { border-color: var(--clay); color: var(--wine); }
.chip:active { transform: translateY(1px); }
.chip.is-on { background: var(--wine); color: #fff9f2; border-color: var(--wine); }
.list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}
.entry-list { display: grid; gap: 12px; }
.entry-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.entry-row:hover { border-color: var(--clay); }
.entry-index { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.entry-no { font-size: 28px; line-height: 1; }
.entry-body h3 { font-size: 20px; }
.entry-body h3 a { text-decoration: underline; text-underline-offset: 3px; }
.meta { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.entry-body p:last-child { margin-bottom: 0; }
.side-note {
  position: sticky;
  top: 132px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--clay);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.side-note h2 { font-size: 22px; }
.field-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.field-list li {
  padding-left: 12px;
  border-left: 2px solid var(--line);
  color: var(--text);
}
.note-plate { margin-top: 14px; }
.compare-grid, .related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.define-card, .related-card, .log-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.define-card h3, .related-card h3 { font-size: 22px; }
.define-list { margin: 0; display: grid; gap: 10px; }
.define-list div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 8px; }
.define-list dt { color: var(--muted); }
.define-list dd { margin: 0; }
.log-list { display: grid; gap: 12px; }
.log-item { display: grid; grid-template-columns: 132px 72px minmax(0, 1fr); gap: 12px; align-items: start; }
.log-date { font-family: var(--serif); color: var(--ink); }
.more-band { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.more-band p { margin: 0; max-width: 40em; }
.related-card h3 a { text-decoration: underline; text-underline-offset: 3px; }
.related-card p { margin: 0; color: var(--muted); }
.zone3-line {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.empty-note {
  padding: 18px;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.site-footer {
  background: var(--ink);
  color: #f3ebdd;
  padding: 42px 0 24px;
}
.site-footer h2 { color: #fff9f2; font-size: 18px; }
.site-footer p, .site-footer li { color: #e7dcc8; }
.site-footer a { color: #f3ebdd; text-decoration: none; }
.site-footer a:hover { color: var(--clay); }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr .9fr; gap: 22px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.copyright {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(217, 203, 182, .35);
  color: #d9cbb6;
  font-size: 13px;
}
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  height: 56px;
  background: var(--ink);
  color: #f3ebdd;
  box-shadow: 0 -6px 18px rgba(62, 36, 51, .12);
  transition: transform .24s ease;
}
.dock.is-hidden { transform: translateY(110%); }
.dock-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dock-title {
  font-family: var(--serif);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dock .btn { min-height: 36px; }
[hidden] { display: none !important; }
.site-header.is-compact .head-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header.is-compact .brand-row { min-height: 56px; flex: 0 1 auto; }
.site-header.is-compact .brand-name { font-size: 16px; }
.site-header.is-compact .brand-badges { display: none; }
.site-header.is-compact .channel-row {
  border-top: 0;
  min-height: 56px;
  flex: 1;
  flex-wrap: nowrap;
}
.site-header.is-compact .head-cta { min-height: 34px; padding: 4px 10px; font-size: 14px; }
@media (max-width: 1279px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
}
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .head-cta { display: none; }
  .channel-row { display: none; border-top: 1px solid var(--line); }
  .site-header.is-open .channel-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 12px;
  }
  .site-header.is-compact .head-wrap { display: block; }
  .site-header.is-compact .channel-row { min-height: 0; flex-wrap: wrap; }
  .mobile-cta { display: inline-flex; width: fit-content; margin: 6px 12px 8px; }
  .list-layout, .archive-grid, .foot-grid { grid-template-columns: 1fr; }
  .side-note { position: static; }
  .log-item { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 767px) {
  .section { padding: 42px 0; }
  .mini-meta, .compare-grid, .related-grid { grid-template-columns: 1fr; }
  .more-band { flex-direction: column; align-items: flex-start; }
  .entry-row { grid-template-columns: 72px minmax(0, 1fr); }
  .lede { font-size: 16px; }
  h1 { font-size: 30px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .compare-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .mini-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .entry-row { grid-template-columns: 1fr; }
  .define-list div { grid-template-columns: 1fr; gap: 0; }
  .brand-name { font-size: 16px; }
  .dock-title { font-size: 14px; max-width: 58vw; }
}
@media (min-width: 1024px) {
  h1 { font-size: 40px; }
}

/* roulang page: category2 */
:root {
  --wine: #7A2E45;
  --ink: #3E2433;
  --clay: #C4894A;
  --sage: #5E6B58;
  --paper: #F3EBDD;
  --sand: #E7DCC8;
  --card: #FFF9F2;
  --text: #241816;
  --muted: #6B5C53;
  --line: #D9CBB6;
  --shadow: 0 8px 24px rgba(62, 36, 51, .08);
  --radius: 4px;
  --badge-radius: 2px;
  --max: 1120px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
/* roulang page: category2 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 124px; scroll-padding-bottom: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  padding-bottom: 72px;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
p { margin: 0 0 0.85em; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:active { color: var(--wine); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
h1, h2, h3, .brand-name, .entry-no, .step-no, .spec-no { font-family: var(--serif); color: var(--ink); font-weight: 700; }
h1 { font-size: 36px; line-height: 1.35; margin: 0 0 12px; }
h2 { font-size: 28px; line-height: 1.4; margin: 0 0 12px; }
h3 { font-size: 20px; line-height: 1.45; margin: 0 0 8px; }
.muted, .meta { color: var(--muted); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 235, 221, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.brand-row, .channel-row, .brand-name, .head-cta, .brand-badges {
  transition: padding .24s ease, font-size .24s ease, min-height .24s ease, border-color .24s ease, gap .24s ease, background .24s ease;
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--wine); }
.brand-name { font-size: 20px; line-height: 1.35; font-weight: 700; text-decoration: none; }
.brand-badges { display: flex; gap: 4px; flex-shrink: 0; }
.channel-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.channel-row a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 15px;
}
.channel-row a:hover { color: var(--wine); background: rgba(255, 249, 242, .7); }
.channel-row a:active { color: var(--wine); }
.channel-row a.is-active {
  box-shadow: inset 3px 0 0 var(--wine);
  background: var(--card);
  color: var(--wine);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--clay);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 6px 12px;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--sand); }
.nav-toggle:active { transform: translateY(1px); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.4;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--wine); color: #fff9f2; }
.btn-primary:hover, .btn-primary:active { background: var(--ink); color: #fff9f2; transform: translateY(1px); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--clay); }
.btn-ghost:hover, .btn-ghost:active { background: var(--sand); color: var(--ink); transform: translateY(1px); }
.head-cta { flex-shrink: 0; }
.mobile-cta { display: none; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--badge-radius);
  padding: 1px 6px;
  font-size: 12px;
  line-height: 1.6;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--card);
}
.badge-meta { color: var(--sage); border-color: var(--sage); background: transparent; }
.badge-wine { color: var(--wine); border-color: var(--wine); background: transparent; }
.badge-clay { color: #6d4a22; border-color: var(--clay); background: transparent; }
.section { padding: 60px 0; }
.band-sand { background: var(--sand); }
.band-paper { background: var(--paper); }
.band-ink { background: var(--ink); color: #f3ebdd; }
.band-ink h2, .band-ink h3, .band-ink .step-no { color: #fff9f2; }
.band-ink a { color: #f3ebdd; }
.band-ink a:hover { color: #fff; }
.section-head { margin-bottom: 22px; max-width: 46em; }
.section-head p:last-child { margin-bottom: 0; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.slip {
  max-width: 760px;
  padding: 18px 18px 6px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.kicker { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lead { font-size: 17px; max-width: 40em; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--badge-radius);
  padding: 4px 10px;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  transition: border-color .2s ease, color .2s ease, transform .2s ease, background .2s ease;
}
.chip:hover { border-color: var(--wine); color: var(--wine); background: #fff9f2; }
.chip:active { transform: translateY(1px); color: var(--ink); }
.scene-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.span-all { grid-column: 1 / -1; }
.scene-card { padding: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.scene-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(62, 36, 51, .1); }
.scene-main { display: block; }
.span-all .scene-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(0, .85fr);
  gap: 18px;
  align-items: center;
}
.shot { margin: 0; }
.shot img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--sand);
  border-radius: var(--badge-radius);
}
.span-all .shot img { aspect-ratio: 16 / 9; }
.shot figcaption { margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.meta { font-size: 13px; margin-bottom: 6px; }
.card h3 a, .rel h3 a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.card h3 a:hover, .rel h3 a:hover { color: var(--ink); }
.card p:last-child { margin-bottom: 0; }
.more-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.more-row p { margin: 0; max-width: 40em; }
.step-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step-card { padding: 16px 16px 14px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--clay); border-radius: var(--radius); box-shadow: var(--shadow); }
.step-no { display: block; font-size: 28px; color: var(--wine); line-height: 1; margin-bottom: 8px; }
.step-card p { margin: 0; color: var(--text); }
.quote-list { display: grid; gap: 12px; }
.quote {
  margin: 0;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--clay);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quote p { margin: 0 0 8px; font-family: var(--serif); font-size: 18px; line-height: 1.7; color: var(--ink); }
.quote footer { color: var(--sage); font-size: 13px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 18px; color: var(--ink); }
.faq details p { margin: 10px 0 4px; }
.rel-list { display: grid; gap: 12px; }
.rel { padding: 14px 16px; }
.rel .meta { margin-bottom: 2px; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  height: 56px;
  background: rgba(255, 249, 242, .96);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  transition: transform .24s ease;
}
.dock.is-hidden { transform: translateY(100%); }
.dock-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.dock-name { font-family: var(--serif); color: var(--ink); font-weight: 700; }
.dock .btn { min-height: 36px; padding: 4px 12px; }
.site-footer { background: var(--ink); color: #f3ebdd; padding: 48px 0 28px; }
.site-footer h2 { color: #fff9f2; font-size: 18px; }
.site-footer p { color: #f3ebdd; }
.site-footer a { color: #f3ebdd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 22px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 6px; }
.copyright { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(243, 235, 221, .2); color: #e7dcc8; font-size: 13px; }
.spec-list, .proof-list, .log-list, .entry-list, .alias-list, .toc-list, .start-list { display: grid; gap: 12px; }
.spec-row, .proof-row, .log-item, .start-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (min-width: 1024px) {
  .site-header.is-compact .head-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .site-header.is-compact .brand-row { min-height: 58px; width: auto; flex: 0 1 auto; }
  .site-header.is-compact .brand-name { font-size: 15px; }
  .site-header.is-compact .channel-row {
    flex: 1;
    border-top: 0;
    min-height: 58px;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
  .site-header.is-compact .head-cta { min-height: 34px; padding: 4px 10px; font-size: 13px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header.is-compact .brand-badges { display: none; }
  .site-header.is-compact .channel-row a { padding: 6px 8px; font-size: 14px; }
}
@media (min-width: 1280px) {
  .container { width: min(var(--max), calc(100% - 64px)); }
}
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .head-cta { display: none; }
  .channel-row {
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid var(--line);
    padding: 8px 0 12px;
    gap: 2px;
  }
  .channel-row.is-open { display: flex; }
  .channel-row a { padding: 10px 12px; }
  .mobile-cta { display: inline-flex; margin: 4px 12px 8px; }
  .brand-row { min-height: 64px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .scene-grid, .step-row, .span-all .scene-main { grid-template-columns: 1fr; }
  .span-all { grid-column: auto; }
  .section { padding: 48px 0; }
}
@media (max-width: 640px) {
  .brand-name { font-size: 15px; }
  .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
  .dock { height: 56px; }
  .dock-name { font-size: 14px; }
  .more-row { align-items: flex-start; }
}
@media (max-width: 520px) {
  h1 { font-size: 26px; }
  .container { width: min(var(--max), calc(100% - 24px)); }
  .slip { padding: 14px 12px 4px 14px; }
}
