/* roulang page: index */
:root {
  --ink: #171A16;
  --porcelain: #F3F0E8;
  --panel: #FFFCF7;
  --lime: #D6F25C;
  --lime-deep: #B6D63A;
  --copper: #C47A45;
  --line: #D9D3C7;
  --muted: #5E655C;
  --on-ink: #F3F0E8;
  --on-ink-soft: #C9C6BC;
  --shadow: 0 12px 28px rgba(23, 26, 22, .08);
  --radius: 14px;
  --dock: 999px;
  --max: 1180px;
  --pad: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
button, input, textarea, select { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .45em; font-weight: 700; letter-spacing: 0; }
h1 { font-size: clamp(1.85rem, 3.4vw, 3.15rem); }
h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
h3 { font-size: 1.12rem; }
::selection { background: var(--lime); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.num, .metric-num, .day b, .mile-index { font-variant-numeric: tabular-nums; font-family: ui-monospace, "Sarasa Mono SC", "Cascadia Mono", monospace; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.dock-wrap {
  position: sticky; top: 16px; z-index: 40;
  display: flex; justify-content: center; padding: 0 16px; margin-top: 16px;
}
.dock {
  display: flex; align-items: center; gap: 8px;
  width: min(var(--max), 100%);
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--dock);
  background: rgba(255, 252, 247, .9);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}
.dock.is-stuck { background: rgba(255, 252, 247, .97); border-color: #cfc8ba; }
.logo {
  flex: 0 0 auto; font-weight: 700; font-size: 15px; line-height: 1.2;
  padding: 8px 4px; white-space: nowrap;
}
.dock-nav {
  display: flex; align-items: center; gap: 4px; min-width: 0;
  overflow-x: auto; scrollbar-width: none;
}
.dock-nav::-webkit-scrollbar { display: none; }
.dock-link {
  flex: 0 0 auto; border: 1px solid transparent; border-radius: var(--dock);
  padding: 8px 14px; color: var(--muted); font-size: 14px; line-height: 1.3; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.dock-link:hover { color: var(--ink); background: rgba(214, 242, 92, .45); border-color: var(--line); transform: translateY(-2px); }
.dock-link:active { transform: translateY(1px); }
.dock-link.is-active { background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.dock-search { flex: 1 1 180px; min-width: 140px; }
.dock-search input {
  width: 100%; height: 40px; border-radius: var(--dock); border: 1px solid var(--line);
  background: var(--porcelain); padding: 0 14px; font-size: 14px;
}
.dock-search input::placeholder { color: var(--muted); }
.dock-search input:hover { border-color: #c9c2b4; }
.dock-search input:focus { border-color: var(--copper); background: var(--panel); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: var(--dock);
  border: 1px solid var(--ink); background: var(--lime); color: var(--ink);
  font-weight: 700; font-size: 14px; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--lime-deep); border-color: #11140f; box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-line { background: transparent; color: var(--on-ink); border-color: rgba(243,240,232,.45); }
.btn-line:hover { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.btn-copper { background: transparent; color: var(--ink); border-color: var(--copper); }
.btn-copper:hover { background: var(--copper); color: var(--panel); border-color: var(--copper); }
.band { padding: var(--pad) 0; border-top: 1px solid var(--line); }
.band:first-child { border-top: 0; }
.band-paper { background: var(--porcelain); }
.band-panel { background: var(--panel); }
.band-ink {
  background-color: var(--ink); color: var(--on-ink);
  background-image:
    linear-gradient(transparent 96%, rgba(217,211,199,.16) 96%),
    linear-gradient(90deg, transparent 96%, rgba(217,211,199,.16) 96%);
  background-size: 32px 32px;
  border-top-color: #171A16;
}
.band-airy { padding: 96px 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid currentColor; border-radius: var(--dock);
  padding: 3px 10px; font-size: 12px; letter-spacing: .08em; margin-bottom: 14px;
}
.lead { max-width: 68ch; color: var(--muted); font-size: 16px; }
.band-ink .lead { color: var(--on-ink-soft); }
.subhead { font-size: 1.05rem; margin: 0 0 .8em; color: var(--lime); font-weight: 700; }
.board {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 28px; align-items: stretch;
}
.intro { font-size: 16px; color: var(--on-ink); max-width: 68ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric {
  border: 1px solid rgba(243,240,232,.2); border-radius: var(--radius);
  padding: 16px 16px 14px; background: rgba(255,252,247,.04); min-height: 124px;
}
.metric-label { color: var(--lime); font-size: 13px; margin: 0 0 8px; }
.metric-num { font-size: 40px; line-height: 1; margin: 0; color: var(--on-ink); }
.metric-num span { font-size: 14px; margin-left: 4px; color: var(--on-ink-soft); font-family: inherit; }
.metric-sub { margin: 8px 0 0; color: var(--on-ink-soft); font-size: 13px; }
.ruler-wrap { grid-column: 1 / -1; margin-top: 8px; }
.ruler-cap { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--on-ink-soft); margin-bottom: 8px; }
.ruler-cap strong { color: var(--lime); font-weight: 700; }
.ruler {
  position: relative; height: 28px; border-top: 1px solid rgba(243,240,232,.35); border-bottom: 1px solid rgba(243,240,232,.35);
  background-image: repeating-linear-gradient(90deg, rgba(214,242,92,.9) 0 1px, transparent 1px 28px);
}
.ruler-pin {
  position: absolute; top: -6px; width: 2px; height: 40px; background: var(--copper);
}
.ruler-pin::after {
  content: ""; position: absolute; left: -5px; top: -4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--lime); border: 1px solid var(--ink);
}
.step-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.step {
  display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  padding: 18px 16px 16px; min-height: 168px; box-shadow: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-2px); border-color: var(--copper); box-shadow: var(--shadow); }
.step:active { transform: translateY(1px); }
.step i { display: block; font-style: normal; color: var(--copper); font-size: 13px; margin-bottom: 10px; }
.matrix { display: grid; grid-template-columns: 1.25fr 1fr .82fr .82fr; grid-template-areas: "a a b c" "a a b d" "e e f f"; gap: 14px; margin-top: 28px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--panel);
  min-height: 150px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-2px); border-color: #b9b2a4; box-shadow: var(--shadow); }
.tile:active { transform: translateY(1px); }
.tile-a { grid-area: a; background: var(--ink); color: var(--on-ink); border-color: #2a2e26; min-height: 340px; }
.tile-b { grid-area: b; background: var(--lime); color: var(--ink); border-color: var(--lime-deep); }
.tile-c { grid-area: c; } .tile-d { grid-area: d; } .tile-e { grid-area: e; } .tile-f { grid-area: f; }
.tile p { color: var(--muted); font-size: 14px; }
.tile-a p { color: var(--on-ink-soft); }
.tile-b p { color: #2c3318; }
.plate { width: 100%; border-radius: 12px; border: 1px solid rgba(217,211,199,.4); margin-top: 8px; }
.badge, .tag {
  display: inline-flex; align-items: center; border-radius: var(--dock); border: 1px solid var(--line);
  padding: 2px 10px; font-size: 12px; line-height: 1.6; background: rgba(214,242,92,.35); color: var(--ink);
}
.tile-a .badge { background: transparent; color: var(--lime); border-color: rgba(214,242,92,.5); }
.entry-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; margin-top: 28px; }
.entry {
  display: block; border-radius: var(--radius); border: 1px solid var(--line); padding: 28px 24px; min-height: 240px;
  background: var(--panel); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.entry:hover { transform: translateY(-2px); border-color: var(--copper); box-shadow: var(--shadow); }
.entry:active { transform: translateY(1px); }
.entry-b { background: var(--ink); color: var(--on-ink); border-color: #2c3128; }
.entry-b p { color: var(--on-ink-soft); }
.entry-b .badge { color: var(--lime); background: transparent; border-color: rgba(214,242,92,.45); }
.scene-grid { display: grid; grid-template-columns: 1.45fr 1fr .78fr; gap: 14px; margin-top: 28px; }
.scene { border-radius: var(--radius); border: 1px solid var(--line); padding: 22px 20px; min-height: 250px; }
.scene-a { background: var(--ink); color: var(--on-ink); }
.scene-a p { color: var(--on-ink-soft); }
.scene-b { background: var(--lime); color: var(--ink); }
.scene-c { background: var(--porcelain); }
.scene p, .compare-card p, .mile-item p, .rail-card p, .assure p, .flow-item p { font-size: 14px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.compare-card { border: 1px solid rgba(243,240,232,.2); border-radius: var(--radius); padding: 22px; background: #22261f; }
.compare-card.is-hot { border-color: var(--lime); }
.meter { margin: 14px 0 18px; }
.meter span { display: block; height: 8px; border-radius: var(--dock); background: rgba(243,240,232,.12); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--copper); }
.compare-card.is-hot .meter i { background: var(--lime); }
.meter em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--on-ink-soft); }
.mile { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 0; margin-top: 34px; overflow-x: auto; padding-top: 18px; }
.mile::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--copper); }
.mile-item { position: relative; padding: 28px 16px 0 0; }
.mile-dot { position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); border: 1px solid var(--ink); }
.mile-index { color: var(--copper); font-size: 13px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 28%); gap: 14px; overflow-x: auto; margin-top: 28px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rail-card {
  scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius); background: var(--porcelain);
  padding: 18px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rail-card:hover { transform: translateY(-2px); border-color: var(--copper); box-shadow: var(--shadow); }
.rail-card:active { transform: translateY(1px); }
.news-list { margin-top: 22px; border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 16px; align-items: start;
  padding: 18px 8px; border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.news-item:hover { background: rgba(255,252,247,.8); }
.news-item time { color: var(--copper); font-size: 14px; }
.news-item h3 { margin: 0 0 4px; font-size: 1.08rem; }
.news-item p { color: var(--muted); font-size: 14px; }
.more-row { display: flex; justify-content: flex-end; margin-top: 18px; }
.filter-note { min-height: 1.8em; color: var(--copper); font-size: 14px; margin-top: 10px; }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 28px; }
.day { border: 1px solid var(--line); border-radius: var(--radius); background: var(--porcelain); padding: 14px 12px; min-height: 168px; }
.day.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.day b { display: block; font-size: 20px; line-height: 1.2; }
.day span { display: block; color: var(--copper); font-size: 12px; margin: 6px 0; }
.day.on span { color: var(--lime); }
.day p { font-size: 13px; color: var(--muted); }
.day.on p { color: var(--on-ink-soft); }
.assure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.assure { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 18px; min-height: 210px; }
.assure strong { display: block; font-size: 1.15rem; margin: 8px 0; }
.mark { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--copper); color: var(--copper); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid rgba(214,242,92,.4); }
.flow-item { padding: 22px 18px 0 0; border-left: 1px solid rgba(214,242,92,.35); min-height: 180px; }
.flow-item em { font-style: normal; color: var(--lime); font-size: 13px; }
.qa-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-top: 12px; }
.qa { padding-top: 12px; border-top: 1px solid var(--line); }
.qa h3 { font-size: 1.05rem; }
.qa p { color: var(--muted); }
.faq-list { display: grid; gap: 10px; margin-top: 22px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--porcelain); padding: 0 16px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--copper); font-weight: 700; }
.faq[open] summary::after { content: "–"; }
.faq[open] { border-color: var(--copper); }
.faq p { color: var(--muted); padding-bottom: 16px; }
.form-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--porcelain); padding: 12px 12px; font-size: 15px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #c9c2b4; }
.field input:focus, .field textarea:focus { border-color: var(--copper); background: #fff; }
.form-note { margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lime-deep); background: rgba(214,242,92,.35); }
.site-footer { background: var(--ink); color: var(--on-ink); padding: 48px 0 36px; border-top: 1px solid #171A16; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; }
.site-footer a { color: var(--on-ink-soft); }
.site-footer a:hover { color: var(--lime); }
.foot-links { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(243,240,232,.16); color: var(--on-ink-soft); font-size: 13px; }
@media (max-width: 1280px) {
  .container { width: min(var(--max), calc(100% - 40px)); }
}
@media (max-width: 1024px) {
  .board, .entry-split, .compare-grid, .form-card, .foot-grid { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b c" "b d" "e f"; }
  .scene-grid, .assure-grid, .step-rail { grid-template-columns: 1fr 1fr; }
  .week-grid { grid-template-columns: repeat(4, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --pad: 48px; }
  .band-airy { padding: 56px 0; }
  body { padding-bottom: 112px; }
  .dock-wrap { position: fixed; top: auto; bottom: 10px; left: 0; right: 0; margin: 0; padding: 0 10px; }
  .dock { border-radius: 22px; max-width: calc(100vw - 20px); overflow-x: auto; scrollbar-width: none; }
  .dock::-webkit-scrollbar { display: none; }
  .scene-grid, .assure-grid, .step-rail, .qa-list, .matrix, .week-grid, .flow { grid-template-columns: 1fr; grid-template-areas: none; }
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e, .tile-f { grid-area: auto; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  h1 { font-size: 1.7rem; }
  .logo { font-size: 13px; }
  .metric-num { font-size: 32px; }
  .btn { padding: 0 12px; }
}
@media (max-width: 520px) {
  .dock { gap: 6px; padding: 8px; }
  .metric { min-height: 108px; padding: 12px; }
  .scene, .entry, .tile-a { min-height: 0; }
}

/* roulang page: category1 */
:root {
  --ink: #171A16;
  --porcelain: #F3F0E8;
  --panel: #FFFCF7;
  --lime: #D6F25C;
  --lime-deep: #B6D63A;
  --copper: #C47A45;
  --line: #D9D3C7;
  --muted: #5E655C;
  --on-ink: #F3F0E8;
  --on-ink-soft: #C9C6BC;
  --shadow: 0 12px 28px rgba(23, 26, 22, .08);
  --radius: 14px;
  --dock: 999px;
  --max: 1180px;
  --pad: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; height: auto; }
button, input, textarea, select { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 0.9em; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 0.45em; font-weight: 700; letter-spacing: 0; }
h1 { font-size: clamp(2.05rem, 4vw, 3.35rem); }
h2 { font-size: clamp(1.42rem, 2.3vw, 2rem); }
h3 { font-size: 1.12rem; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.num, time, .slip b, .day em, .step em { font-variant-numeric: tabular-nums; }
.dock-wrap {
  position: sticky; top: 16px; z-index: 40;
  display: flex; justify-content: center;
  padding: 0 16px; margin-top: 16px;
}
.dock {
  display: flex; align-items: center; gap: 12px;
  width: min(var(--max), 100%);
  padding: 8px 10px 8px 16px;
  border-radius: var(--dock);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.dock.is-scrolled { border-color: #cfc8ba; box-shadow: 0 14px 30px rgba(23, 26, 22, .12); }
.logo {
  flex: 0 0 auto; font-weight: 700; font-size: 15px; line-height: 1.2;
  padding: 8px 4px; white-space: nowrap;
}
.dock-nav {
  display: flex; align-items: center; gap: 4px; min-width: 0;
  overflow-x: auto; scrollbar-width: none;
}
.dock-nav::-webkit-scrollbar { display: none; }
.dock-link {
  display: inline-flex; align-items: center; min-height: 36px;
  padding: 0 12px; border-radius: var(--dock);
  font-size: 14px; white-space: nowrap;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.dock-link:hover { background: rgba(214, 242, 92, .45); }
.dock-link:active { transform: translateY(1px); }
.dock-link.is-active { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.dock-search { flex: 1 1 180px; min-width: 140px; }
.dock-search input {
  width: 100%; height: 40px; border-radius: var(--dock);
  border: 1px solid var(--line); background: var(--porcelain);
  padding: 0 14px; font-size: 14px; outline: none;
  -webkit-appearance: none; appearance: none;
}
.dock-search input::placeholder { color: var(--muted); }
.dock-search input:hover { border-color: #c9c2b4; }
.dock-search input:focus { border-color: var(--copper); background: var(--panel); }
.btn, .btn-lime {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: var(--dock);
  border: 1px solid var(--ink); background: var(--lime); color: var(--ink);
  font-weight: 700; font-size: 14px; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover, .btn-lime:hover { transform: translateY(-2px); background: var(--lime-deep); border-color: #11140f; box-shadow: var(--shadow); }
.btn:active, .btn-lime:active { transform: translateY(1px); box-shadow: none; }
.btn-line { background: transparent; color: var(--on-ink); border-color: rgba(243,240,232,.45); }
.btn-line:hover { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.btn-copper { background: transparent; color: var(--ink); border-color: var(--copper); }
.btn-copper:hover { background: var(--copper); color: var(--panel); border-color: var(--copper); }
.lead { max-width: 68ch; color: var(--muted); font-size: 16px; margin-bottom: 0; }
.band-ink .lead, .band-ink p { color: var(--on-ink-soft); }
.band-ink h2, .band-ink h3, .band-ink strong { color: var(--on-ink); }
.badge, .tag {
  display: inline-flex; align-items: center; border-radius: var(--dock);
  border: 1px solid var(--line); padding: 2px 10px; font-size: 12px; line-height: 1.6;
  background: rgba(214, 242, 92, .35); color: var(--ink); white-space: nowrap;
}
.tag-copper { background: transparent; border-color: var(--copper); color: var(--copper); }
.sec { padding: var(--pad) 0; border-top: 1px solid var(--line); }
.sec:first-child { border-top: 0; }
.sec-panel { background: var(--panel); }
.band-ink { background: var(--ink); color: var(--on-ink); border-top-color: #2a2e26; }
.sec-kicker {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 22px;
}
.sec-kicker p { margin: 0; color: var(--muted); max-width: 42ch; }
.head-grid {
  display: grid; grid-template-columns: 1.35fr .72fr; gap: 40px; align-items: end;
}
.note-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.note-bar span {
  border: 1px solid var(--line); border-radius: var(--dock);
  background: var(--panel); padding: 4px 12px; font-size: 13px;
}
.slip {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow); padding: 16px 16px 8px;
}
.slip > p { margin: 0 0 8px; font-size: 13px; color: var(--copper); font-weight: 700; }
.slip a {
  display: grid; grid-template-columns: 72px 1fr; gap: 8px;
  padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px;
}
.slip a:hover { color: var(--copper); }
.slip time { color: var(--copper); }
.catalog-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.piece {
  grid-column: span 2;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.piece.is-wide { grid-column: span 4; display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; align-items: stretch; }
.piece.is-half { grid-column: span 3; }
.piece p { color: var(--muted); font-size: 14px; margin: 0; }
.piece h3 { margin: 8px 0; }
.piece h3 a:hover { color: var(--copper); }
.piece:hover { transform: translateY(-2px); border-color: var(--copper); box-shadow: var(--shadow); }
.piece:active { transform: translateY(1px); }
.piece[hidden] { display: none !important; }
.meta { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; }
.meta time { color: var(--copper); font-size: 13px; }
.slip-svg { width: 100%; height: 100%; min-height: 140px; border-radius: 12px; background: var(--ink); }
.empty-note {
  margin: 16px 0 0; padding: 14px 16px; border: 1px dashed var(--copper);
  border-radius: var(--radius); color: var(--muted);
}
.dim-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  margin-top: 8px; background: rgba(243,240,232,.16);
  border: 1px solid rgba(243,240,232,.16); border-radius: var(--radius); overflow: hidden;
}
.dim { background: #22261f; padding: 22px 22px 18px; min-height: 168px; }
.dim em { font-style: normal; color: var(--lime); font-size: 13px; letter-spacing: .08em; }
.dim h3 { margin: 8px 0; font-size: 1.2rem; }
.dim p { margin: 0 0 10px; font-size: 14px; }
.dim a { color: var(--lime); border-bottom: 1px solid rgba(214,242,92,.45); }
.dim a:hover { color: var(--panel); border-bottom-color: var(--panel); }
.path-rail {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 8px; position: relative;
}
.path-rail::before {
  content: ""; position: absolute; left: 8px; right: 8px; top: 18px; height: 1px; background: var(--line);
}
.step { position: relative; padding: 46px 16px 0 0; min-height: 180px; }
.step i {
  position: absolute; top: 10px; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--lime); border: 1px solid var(--ink); display: block;
}
.step em { font-style: normal; color: var(--copper); font-size: 13px; }
.step h3 { margin: 6px 0; }
.step p { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.step a { color: var(--ink); border-bottom: 1px solid var(--copper); }
.step a:hover { color: var(--copper); }
.week-scroll { overflow-x: auto; padding-bottom: 6px; }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(112px, 1fr)); gap: 10px; min-width: 760px; }
.day {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--porcelain);
  min-height: 168px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between;
}
.day em { font-style: normal; color: var(--muted); font-size: 13px; }
.day strong { display: block; font-size: 1rem; line-height: 1.4; margin: 8px 0; }
.day span { font-size: 13px; color: var(--muted); }
.day.is-marked { background: var(--ink); color: var(--on-ink); border-color: #2a2e26; }
.day.is-marked em, .day.is-marked span { color: var(--lime); }
.day.is-marked strong { color: var(--on-ink); }
.cluster { margin-top: 8px; border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 108px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  transition: background .2s ease, color .2s ease;
}
.row:hover { background: rgba(255,252,247,.72); color: var(--copper); }
.row time { color: var(--copper); font-size: 14px; }
.row strong { display: block; color: var(--ink); font-size: 1.05rem; }
.row:hover strong { color: var(--copper); }
.row small { display: block; color: var(--muted); font-size: 13px; }
.more-band {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.more-band h2 { margin-bottom: 8px; }
.more-band p { margin: 0; max-width: 46ch; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; }
.qa { padding-top: 12px; border-top: 1px solid var(--line); }
.qa h3 { font-size: 1.06rem; }
.qa p { color: var(--muted); margin: 0; }
.convert {
  margin-top: 34px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 18px 18px 22px; border-radius: var(--radius); background: var(--ink); color: var(--on-ink);
}
.convert p { margin: 0; color: var(--on-ink-soft); }
.site-footer { background: var(--ink); color: var(--on-ink); padding: 56px 0 32px; border-top: 1px solid #2a2e26; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; }
.site-footer .logo { color: var(--lime); display: inline-block; margin-bottom: 8px; }
.site-footer p { color: var(--on-ink-soft); }
.foot-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-links a { border-bottom: 1px solid transparent; }
.foot-links a:hover { color: var(--lime); border-bottom-color: var(--lime); }
.copy { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid rgba(243,240,232,.16); font-size: 13px; }
.copy a { color: var(--copper); }
.copy a:hover { color: var(--lime); }
@media (max-width: 1280px) {
  :root { --pad: 80px; }
}
@media (max-width: 1024px) {
  :root { --pad: 64px; }
  .head-grid { grid-template-columns: 1fr; gap: 22px; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .piece, .piece.is-wide, .piece.is-half { grid-column: auto; display: flex; }
  .piece.is-wide { grid-column: 1 / -1; }
  .path-rail { grid-template-columns: 1fr 1fr; }
  .path-rail::before { display: none; }
  .logo { font-size: 13px; }
  .dock-link { padding: 0 8px; font-size: 13px; }
}
@media (max-width: 768px) {
  :root { --pad: 48px; }
  body { padding-bottom: 148px; }
  .dock-wrap { position: fixed; top: auto; bottom: 10px; left: 0; right: 0; margin: 0; }
  .dock {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo cta" "nav nav" "search search";
    gap: 8px; border-radius: 22px; padding: 10px;
  }
  .logo { grid-area: logo; }
  .dock .btn { grid-area: cta; }
  .dock-nav { grid-area: nav; }
  .dock-search { grid-area: search; min-width: 0; }
  .dim-grid, .qa-grid, .foot-grid { grid-template-columns: 1fr; }
  .more-band, .convert { flex-direction: column; align-items: flex-start; }
  .row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .catalog-grid { grid-template-columns: 1fr; }
  .piece.is-wide { grid-column: auto; }
  .path-rail { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  :root { --pad: 40px; }
  h1 { font-size: 1.85rem; }
  .note-bar span { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category2 */
:root {
 --ink: #171A16;
 --porcelain: #F3F0E8;
 --panel: #FFFCF7;
 --lime: #D6F25C;
 --lime-deep: #B6D63A;
 --copper: #C47A45;
 --line: #D9D3C7;
 --muted: #5E655C;
 --on-ink: #F3F0E8;
 --on-ink-soft: #C9C6BC;
 --shadow: 0 12px 28px rgba(23, 26, 22, .08);
 --radius: 14px;
 --dock: 999px;
 --max: 1180px;
 --pad: 88px;
}
/* roulang page: category2 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--porcelain);
 color: var(--ink);
 font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.8;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
button, input, textarea, select { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 0.9em; }
h1, h2, h3 { line-height: 1.3; font-weight: 700; margin: 0 0 0.4em; }
h1 { font-size: 42px; }
h2 { font-size: 30px; }
h3 { font-size: 18px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only {
 position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
 overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.num, time, .ch-no, .fact b, .mile i {
 font-variant-numeric: tabular-nums;
 font-feature-settings: "tnum" 1;
}
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.dock-wrap {
 position: sticky; top: 14px; z-index: 40;
 display: flex; justify-content: center;
 padding: 14px 16px 0; pointer-events: none;
}
.dock {
 pointer-events: auto;
 display: flex; align-items: center; gap: 10px;
 width: min(var(--max), calc(100% - 8px));
 padding: 8px 10px 8px 16px;
 border-radius: var(--dock);
 background: rgba(255, 252, 247, .92);
 border: 1px solid var(--line);
 box-shadow: var(--shadow);
}
.dock.is-scrolled {
 background: rgba(255, 252, 247, .97);
 box-shadow: 0 16px 34px rgba(23, 26, 22, .12);
}
.logo {
 flex: 0 0 auto; font-weight: 700; font-size: 15px; line-height: 1.2;
 padding: 8px 4px; white-space: nowrap; color: var(--ink);
}
.dock-nav {
 display: flex; align-items: center; gap: 4px; min-width: 0;
 flex: 1 1 auto; overflow-x: auto; scrollbar-width: none;
}
.dock-nav::-webkit-scrollbar { display: none; }
.dock-link {
 display: inline-flex; align-items: center; height: 36px; padding: 0 12px;
 border-radius: var(--dock); font-size: 14px; color: var(--ink); white-space: nowrap;
 border: 1px solid transparent;
 transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.dock-link:hover { background: rgba(214, 242, 92, .45); }
.dock-link:active { transform: translateY(1px); }
.dock-link.is-active { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.dock-search { flex: 0 1 220px; min-width: 140px; }
.dock-search input {
 width: 100%; height: 40px; border-radius: var(--dock); border: 1px solid var(--line);
 background: var(--porcelain); padding: 0 14px; font-size: 14px;
 transition: border-color .2s ease, background .2s ease;
}
.dock-search input::placeholder { color: var(--muted); }
.dock-search input:hover { border-color: #c9c2b4; }
.dock-search input:focus { border-color: var(--copper); background: var(--panel); outline: none; }
.btn {
 display: inline-flex; align-items: center; justify-content: center; gap: 8px;
 min-height: 42px; padding: 0 18px; border-radius: var(--dock);
 border: 1px solid var(--ink); background: var(--lime); color: var(--ink);
 font-weight: 700; font-size: 14px; line-height: 1; white-space: nowrap; cursor: pointer;
 transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--lime-deep); border-color: #11140f; box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-lime { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.btn-line { background: transparent; color: var(--on-ink); border-color: rgba(243, 240, 232, .45); }
.btn-line:hover { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.btn-copper { background: transparent; color: var(--ink); border-color: var(--copper); }
.btn-copper:hover { background: var(--copper); color: var(--panel); border-color: var(--copper); }
.section { padding: var(--pad) 0; border-top: 1px solid var(--line); }
.serial-top { border-top: 0; padding-top: 36px; }
.band-paper { background: var(--panel); }
.band-ink { background: var(--ink); color: var(--on-ink); border-top-color: #2a2e26; }
.band-lime { background: var(--lime); border-top: 0; }
.lead, .sub { max-width: 68ch; color: var(--muted); font-size: 16px; }
.band-ink .lead, .band-ink .sub { color: var(--on-ink-soft); }
.sub { margin: 0; }
.crumb { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.crumb a { border-bottom: 1px solid transparent; }
.crumb a:hover { color: var(--ink); border-bottom-color: var(--copper); }
.crumb span[aria-hidden="true"] { color: var(--line); }
.serial-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) 132px; gap: 28px; align-items: end; }
.mark-img { width: 120px; height: 72px; max-width: 120px; border-radius: 10px; border: 1px solid var(--line); }
.band-ink .mark-img { border-color: rgba(243, 240, 232, .25); }
.serial-strip {
 display: grid; grid-template-columns: repeat(4, 1fr);
 margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius);
 background: var(--panel); overflow: hidden; box-shadow: var(--shadow);
}
.fact { padding: 16px 18px; min-width: 0; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact span { display: block; color: var(--muted); font-size: 13px; }
.fact b { display: block; margin-top: 4px; font-size: 28px; line-height: 1.2; font-weight: 700; }
.fact em { font-style: normal; color: var(--copper); font-size: 13px; }
.scale { margin-top: 14px; height: 10px; border-radius: var(--dock); background: #e7e1d6; border: 1px solid var(--line); }
.scale i { display: block; width: 78%; height: 100%; background: var(--lime); border-radius: inherit; position: relative; }
.scale i::after {
 content: ""; position: absolute; right: -6px; top: -4px; width: 16px; height: 16px;
 border-radius: 50%; background: var(--copper); border: 2px solid var(--panel);
}
.scale-cap { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 22px; }
.sec-side { margin: 0; color: var(--copper); font-weight: 700; white-space: nowrap; }
.chapter-list { position: relative; display: flex; flex-direction: column; gap: 12px; }
.chapter-list::before {
 content: ""; position: absolute; left: 46px; top: 18px; bottom: 18px; width: 1px; background: var(--line);
}
.chapter {
 position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto;
 gap: 16px; align-items: center;
 border: 1px solid var(--line); border-radius: var(--radius); background: var(--porcelain);
 padding: 16px 16px 16px 8px;
 transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.chapter:hover { transform: translateY(-2px); border-color: var(--copper); box-shadow: var(--shadow); background: var(--panel); }
.chapter:active { transform: translateY(1px); }
.ch-no { text-align: center; font-size: 22px; font-weight: 700; color: var(--copper); line-height: 1; }
.ch-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.ch-meta time { color: var(--copper); font-size: 13px; }
.chapter h3 { font-size: 1.12rem; margin: 0 0 4px; }
.chapter p { color: var(--muted); font-size: 14px; margin: 0; }
.badge, .tag {
 display: inline-flex; align-items: center; border-radius: var(--dock); border: 1px solid var(--line);
 padding: 2px 10px; font-size: 12px; line-height: 1.6; background: rgba(214, 242, 92, .35); color: var(--ink);
}
.none-hit { margin-top: 14px; color: var(--muted); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.compare-card {
 border: 1px solid rgba(243, 240, 232, .2); border-radius: var(--radius);
 padding: 22px; background: #22261f;
}
.compare-card.is-hot { border-color: var(--lime); }
.compare-card h3 { font-size: 1.35rem; }
.compare-card p { color: var(--on-ink-soft); font-size: 14px; }
.eyebrow { margin: 0 0 8px; color: var(--copper); font-size: 13px; font-weight: 700; }
.band-ink .eyebrow { color: var(--lime); }
.meter-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--on-ink-soft); margin-top: 12px; }
.meter-row b { color: var(--lime); font-weight: 700; }
.meter { height: 8px; margin-top: 6px; border-radius: var(--dock); background: rgba(243, 240, 232, .12); border: 1px solid rgba(243, 240, 232, .2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--on-ink-soft); }
.compare-card.is-hot .meter i { background: var(--lime); }
.mile {
 display: flex; gap: 0; overflow-x: auto; padding-bottom: 6px;
 scrollbar-width: thin;
}
.mile li {
 position: relative; flex: 1 0 160px; min-height: 168px;
 padding: 28px 18px 0 0;
}
.mile li::before {
 content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line);
}
.mile i {
 position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
 width: 16px; height: 16px; margin-bottom: 14px; border-radius: 50%;
 background: var(--lime); border: 1px solid var(--ink); font-size: 0; color: transparent;
}
.mile strong { display: block; font-size: 18px; }
.mile time { display: block; color: var(--copper); font-size: 13px; }
.mile p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.relate { display: grid; grid-template-columns: 1.35fr .85fr; gap: 14px; align-items: stretch; }
.relate-main, .side-link {
 display: block; border: 1px solid var(--line); border-radius: var(--radius);
 background: var(--porcelain); padding: 20px;
 transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.relate-main { min-height: 100%; }
.relate-main:hover, .side-link:hover { transform: translateY(-2px); border-color: var(--copper); box-shadow: var(--shadow); }
.relate-main:active, .side-link:active { transform: translateY(1px); }
.relate-main h3 { font-size: 1.45rem; margin-top: 10px; }
.relate-main p { color: var(--muted); }
.relate-side { display: flex; flex-direction: column; gap: 14px; }
.side-link { display: flex; flex-direction: column; justify-content: center; min-height: 92px; }
.side-link time { color: var(--copper); font-size: 13px; }
.side-link strong { display: block; font-size: 16px; line-height: 1.45; margin-top: 4px; }
.more-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.more-inner h2 { max-width: 16em; }
.band-lime .sub { color: var(--ink); }
.band-lime .btn { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.band-lime .btn:hover { background: #11140f; color: var(--lime); border-color: #11140f; }
.faq-list { display: grid; gap: 10px; margin-top: 8px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 0 16px; }
.faq summary {
 cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none;
 display: flex; justify-content: space-between; gap: 12px; line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--copper); font-weight: 700; flex: 0 0 auto; }
.faq[open] summary::after { content: "–"; }
.faq[open] { border-color: var(--copper); background: var(--panel); }
.faq p { color: var(--muted); padding-bottom: 16px; }
.form-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.form-card h2 { max-width: 10em; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: 13px; font-weight: 700; }
.field input, .field textarea, .field select {
 width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--porcelain);
 padding: 12px; font-size: 15px;
 transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #c9c2b4; }
.field input:focus, .field textarea:focus, .field select:focus {
 border-color: var(--copper); background: var(--panel); outline: none;
 box-shadow: 0 0 0 2px rgba(196, 122, 69, .25);
}
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.tip { margin: 0; color: var(--ink); background: rgba(214, 242, 92, .45); border: 1px solid var(--lime-deep); border-radius: 12px; padding: 10px 12px; }
.site-footer { background: var(--ink); color: var(--on-ink); padding: 56px 0 32px; border-top: 1px solid #2a2e26; }
.site-footer .logo { color: var(--lime); display: inline-block; padding-left: 0; }
.site-footer p { color: var(--on-ink-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links a { color: var(--on-ink-soft); border-bottom: 1px solid transparent; width: fit-content; }
.foot-links a:hover { color: var(--lime); border-bottom-color: var(--lime); }
.copy { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid rgba(243, 240, 232, .15); color: var(--on-ink-soft); font-size: 13px; }
.copy a { color: var(--lime); }
.copy a:hover { border-bottom: 1px solid var(--lime); }
@media (max-width: 1280px) {
 .container { width: min(var(--max), calc(100% - 40px)); }
}
@media (max-width: 1024px) {
 :root { --pad: 72px; }
 h1 { font-size: 36px; }
 h2 { font-size: 26px; }
 .relate, .form-card, .compare-grid { grid-template-columns: 1fr; }
 .serial-layout { grid-template-columns: 1fr; }
 .mark-img { display: none; }
}
@media (max-width: 768px) {
 :root { --pad: 48px; }
 body { padding-bottom: 104px; }
 .dock-wrap {
  position: fixed; top: auto; left: 0; right: 0;
  bottom: calc(10px + env(safe-area-inset-bottom));
  padding: 0 10px;
 }
 .dock { width: 100%; overflow: hidden; }
 .dock-search { flex-basis: 108px; min-width: 88px; }
 .serial-strip { grid-template-columns: 1fr 1fr; }
 .fact + .fact { border-left: 0; }
 .fact { border-top: 1px solid var(--line); }
 .serial-strip .fact:nth-child(odd) { border-right: 1px solid var(--line); }
 .serial-strip .fact:nth-child(-n+2) { border-top: 0; }
 .chapter { grid-template-columns: 72px minmax(0, 1fr); }
 .chapter .btn { grid-column: 2; justify-self: start; }
 .chapter-list::before { left: 36px; }
 .fields, .foot-grid, .more-inner, .sec-head { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
 .sec-side { white-space: normal; }
}
@media (max-width: 640px) {
 .container { width: min(var(--max), calc(100% - 32px)); }
 h1 { font-size: 30px; }
 h2 { font-size: 24px; }
 .logo { font-size: 12px; white-space: normal; max-width: 7.5em; line-height: 1.25; }
 .dock { gap: 6px; padding: 6px 8px; }
 .dock-link { padding: 0 8px; font-size: 12px; height: 34px; }
 .dock-search { min-width: 72px; flex-basis: 76px; }
 .dock-search input { height: 34px; padding: 0 8px; font-size: 12px; }
 .btn { min-height: 36px; padding: 0 10px; font-size: 12px; }
 .chapter { grid-template-columns: 1fr; padding: 14px; }
 .chapter .btn { grid-column: auto; }
 .chapter-list::before { display: none; }
 .ch-no { text-align: left; }
 .fact b { font-size: 22px; }
}
