/* roulang page: index */
:root {
  --bg: #F3F1EC;
  --bg-alt: #E7E4DC;
  --ink: #1A1916;
  --muted: #6B6560;
  --accent: #0E6B62;
  --accent-deep: #0B574F;
  --copper: #C4A574;
  --copper-ink: #7A5E32;
  --card: #FFFCF8;
  --line: #D9D3C8;
  --warn: #8C3A32;
  --footer: #1A1916;
  --radius: 8px;
  --radius-input: 6px;
  --shadow: 0 1px 2px rgba(26, 25, 22, 0.05);
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Source Han Serif SC", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); transition: color 280ms ease, border-color 280ms ease; }
a:hover { color: var(--accent); border-bottom-color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
[id] { scroll-margin-top: 108px; }
.grid-container { max-width: 1120px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #F3F1EC;
  border-bottom: 1px solid var(--line);
}
.site-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  padding: 0;
}
.nav-toggle span { display: block; height: 1px; margin: 5px 11px; background: currentColor; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border-bottom: 0; color: var(--ink); line-height: 1.15; }
.brand:hover { color: var(--ink); border-bottom: 0; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 650; }
.brand-zone { font-size: 0.75rem; color: var(--copper-ink); letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.site-nav .menu { display: flex; align-items: center; gap: 1.35rem; margin: 0; background: transparent; }
.site-nav .menu > li > a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  background: transparent;
}
.site-nav .menu > li > a:hover { color: var(--accent); border-bottom-color: transparent; }
.site-nav .menu > li > a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.chip-wrap { padding-bottom: 12px; }
.chip-row { display: flex; justify-content: flex-end; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.82rem;
  line-height: 1.6;
  transition: transform 280ms ease, background 280ms ease;
}
.chip:hover { color: var(--ink); background: #F7F1E6; border-bottom-color: var(--line); }
.chip:active { transform: translateY(1px); }
.chip.is-on, .chip[aria-current="true"] { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.block { padding: 88px 0; background: var(--bg); }
.block:nth-of-type(even) { background: var(--bg-alt); }
.h-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.idx { color: var(--copper-ink); font-variant-numeric: tabular-nums; font-size: 0.92rem; font-weight: 650; }
h1, h2, h3 { font-family: var(--serif); font-weight: 650; line-height: 1.35; color: var(--ink); }
h1 { font-size: clamp(2rem, 4vw, 3.15rem); }
h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
h3 { font-size: 1.12rem; }
.sub { margin-top: 10px; color: var(--muted); }
.lead { max-width: 68ch; margin-top: 14px; color: var(--muted); }
.metric, .card, .qa, .form-panel, .form-success {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.metric, .card { height: 100%; padding: 22px; transition: transform 280ms ease; }
.metric:hover, .card:hover { transform: translateY(-2px); }
.metric-num { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-variant-numeric: tabular-nums; line-height: 1; margin-bottom: 10px; }
.metric-label, .muted, .sample p, .scene p, .step p, .guard p, .qa p, .ccard p, .faq-a { color: var(--muted); }
.metric-grid, .matrix, .scene-grid, .guard-grid, .qa-grid { margin-top: 28px; }
.compact { display: flex; margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compact li { flex: 1; padding: 16px 16px 16px 0; margin-right: 16px; border-right: 1px solid var(--line); }
.compact li:last-child { border-right: 0; margin-right: 0; }
.compact h3 { margin: 6px 0; }
.kicker { color: var(--copper-ink); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.matrix-main { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.matrix-side { display: grid; gap: 16px; }
.entry { display: inline-block; margin-top: 16px; }
.shot-16, .shot-43 { width: 100%; object-fit: cover; border-radius: var(--radius); background: var(--bg-alt); }
.shot-16 { aspect-ratio: 16 / 10; }
.shot-43 { aspect-ratio: 4 / 3; }
.scene h3 { margin: 12px 0 6px; }
.compare-board { margin-top: 28px; }
.compare-group + .compare-group { margin-top: 22px; }
.compare-k { font-family: var(--serif); margin-bottom: 8px; }
.compare-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; margin-top: 8px; }
.compare-name { color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { height: 36px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--accent); color: #fff; font-size: 0.82rem; line-height: 34px; padding: 0 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.compare-cards { display: none; }
.ccard h3 { margin-bottom: 8px; }
.ccard p { display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; margin-top: 6px; }
.ccard span { color: var(--ink); }
.sample-list, .news-list { margin-top: 18px; }
.sample, .news-item { display: grid; gap: 12px; align-items: center; padding: 16px 8px; border-bottom: 1px solid var(--line); transition: background 280ms ease; }
.sample { grid-template-columns: 1fr auto; }
.sample:hover, .news-item:hover { background: var(--card); }
.sample-meta, .news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.92rem; }
.zone-tag, .badge { display: inline-flex; align-items: center; border-radius: var(--radius); padding: 1px 8px; font-size: 12px; line-height: 1.7; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.badge { background: var(--copper); border-color: var(--copper); }
.timeline { position: relative; display: flex; gap: 18px; margin-top: 32px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 1px; background: var(--line); }
.tl-item { position: relative; flex: 1; padding-top: 32px; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.block:nth-of-type(even) .tl-item::before { box-shadow: 0 0 0 4px var(--bg-alt); }
.tl-item strong { display: block; font-family: var(--serif); }
.news-item { grid-template-columns: 116px 88px 1fr auto; }
.guard-icon { width: 36px; height: 36px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 12px; color: var(--accent); background: var(--bg); }
.guard h3, .qa h3 { margin-bottom: 6px; }
.catalog-row, .schedule-row { margin-top: 8px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.schedule-row .lead, .catalog-row .lead { margin-top: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  transition: background 280ms ease, transform 280ms ease;
}
.btn:hover { background: var(--accent-deep); color: #fff; border-bottom-color: var(--accent-deep); }
.btn:active { transform: translateY(1px); }
.qa { padding: 18px; }
.faq-list { margin-top: 18px; border-top: 1px solid var(--line); }
.faq-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 16px 28px 16px 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  position: relative;
  box-shadow: none;
}
.faq-btn::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
}
.faq-btn[aria-expanded="true"]::after { transform: translateY(-20%) rotate(225deg); }
.faq-btn:hover { color: var(--accent); }
.faq-a { padding: 4px 0 16px; max-width: 70ch; }
.form-panel, .form-success { max-width: 720px; margin-top: 22px; padding: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; }
.req { color: var(--muted); font-size: 0.82rem; margin-left: 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  background: #fff;
  padding: 10px 12px;
  font-size: 16px;
  margin: 0;
  box-shadow: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(14, 107, 98, 0.16); outline: none; }
.is-invalid { border-color: var(--warn); }
.field-error { margin-top: 6px; color: var(--warn); font-size: 0.86rem; }
.form-success strong { font-family: var(--serif); display: block; margin-bottom: 6px; }
.site-footer { background: var(--footer); color: #F3F1EC; padding: 48px 0 28px; }
.footer-brand { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 8px; }
.footer-nav, .footer-status { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 16px; }
.site-footer a { color: #F3F1EC; border-bottom-color: rgba(243, 241, 236, 0.45); }
.site-footer a:hover { color: var(--copper); border-bottom-color: var(--copper); }
.copy { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(243, 241, 236, 0.16); color: rgba(243, 241, 236, 0.78); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) {
  .nav-row { flex-direction: column; align-items: flex-start; min-height: 0; padding: 8px 0 14px; }
  .brand-desk { display: none; }
  .site-nav, .site-nav .menu { width: 100%; }
  .site-nav .menu { flex-direction: column; align-items: flex-start; gap: 0; }
  .site-nav .menu > li { width: 100%; }
  .site-nav .menu > li > a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .timeline { flex-direction: column; gap: 0; }
  .timeline::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .tl-item { padding: 0 0 22px 28px; }
  .tl-item::before { left: 0; top: 6px; }
  .news-item { grid-template-columns: 100px 72px 1fr; }
  .news-item a { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  .catalog-row, .schedule-row, .sample { flex-direction: column; align-items: flex-start; }
  .sample { grid-template-columns: 1fr; }
  .sample-meta { justify-content: flex-start; }
}
@media (max-width: 639px) {
  .block { padding: 48px 0; }
  .compact { flex-direction: column; }
  .compact li { border-right: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 14px 0; }
  .compact li:last-child { border-bottom: 0; }
  .compare-board { display: none; }
  .compare-cards { display: block; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .brand-name { font-size: 1.02rem; }
}
@media (min-width: 640px) {
  .compare-cards { display: none; }
  .compare-board { display: block; }
}
@media (max-width: 520px) {
  .metric, .card, .form-panel { padding: 16px; }
  .metric-num { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .metric:hover, .card:hover, .btn:active, .chip:active { transform: none; }
}

/* roulang page: category1 */
:root {
  --bg: #F3F1EC;
  --bg-alt: #E7E4DC;
  --ink: #1A1916;
  --muted: #6B6560;
  --accent: #0E6B62;
  --accent-deep: #0B574F;
  --copper: #C4A574;
  --copper-ink: #7A5E32;
  --card: #FFFCF8;
  --line: #D9D3C8;
  --warn: #8C3A32;
  --footer: #1A1916;
  --radius: 8px;
  --radius-input: 6px;
  --shadow: 0 1px 2px rgba(26, 25, 22, 0.05);
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Source Han Serif SC", serif;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); transition: color 280ms ease, border-color 280ms ease, background 280ms ease, transform 280ms ease; }
a:hover { color: var(--accent); border-bottom-color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
[hidden] { display: none !important; }
.grid-container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 650; line-height: 1.35; color: var(--ink); margin: 0; }
h1 { font-size: clamp(1.85rem, 3vw, 2.55rem); }
h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
h3 { font-size: 1.22rem; }
p { margin: 0; overflow-wrap: anywhere; }
.idx {
  font-variant-numeric: tabular-nums;
  color: var(--copper-ink);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.lead { max-width: 68ch; margin-top: 12px; color: var(--muted); }
.muted { color: var(--muted); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #F3F1EC;
  border-bottom: 1px solid var(--line);
}
.site-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  padding: 0;
}
.nav-toggle span { display: block; height: 1px; margin: 5px 11px; background: currentColor; }
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }
.nav-toggle:active { transform: translateY(1px); }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border-bottom: 0; color: var(--ink); line-height: 1.15; }
.brand:hover { color: var(--ink); border-bottom: 0; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 650; }
.brand-zone { font-size: 0.75rem; color: var(--copper-ink); letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.site-nav .menu { display: flex; align-items: center; gap: 1.35rem; margin: 0; background: transparent; list-style: none; }
.site-nav .menu > li > a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  background: transparent;
}
.site-nav .menu > li > a:hover { color: var(--accent); border-bottom-color: transparent; }
.site-nav .menu > li > a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.chip-wrap { padding-bottom: 12px; }
.chip-row { display: flex; justify-content: flex-end; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.82rem;
  line-height: 1.6;
  transition: transform 280ms ease, background 280ms ease;
}
.chip:hover { color: var(--ink); background: #F7F1E6; border-bottom-color: var(--line); }
.chip:active { transform: translateY(1px); }
.chip.is-on, .chip[aria-current="true"] { background: var(--copper); border-color: var(--copper); color: var(--ink); }
main > section { padding: 88px 0; background: var(--bg); }
main > section:nth-child(even) { background: var(--bg-alt); }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 0.875rem; margin-bottom: 18px; }
.crumb [aria-current="page"] { color: var(--ink); }
.head-row, .end-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.head-tools { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 220px; }
.result-count { font-variant-numeric: tabular-nums; color: var(--ink); }
.result-count strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 650; }
.sort-label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.92rem; }
.sort-label select, .field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  background: #fff;
  min-height: 44px;
  padding: 8px 12px;
  box-shadow: none;
  transition: border-color 200ms ease;
}
.sort-label select { width: 168px; margin: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover, .sort-label select:hover { border-color: #b7b0a4; }
.field input:focus, .field select:focus, .field textarea:focus, .sort-label select:focus { border-color: var(--accent); }
.filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; color: var(--muted); font-size: 0.875rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
button.choice {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  min-height: 36px;
  line-height: 1.6;
  font-size: 0.88rem;
  transition: background 280ms ease, transform 280ms ease, border-color 280ms ease;
}
button.choice:hover { background: #F7F1E6; }
button.choice:active { transform: translateY(1px); }
button.choice.is-on { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.entry-list { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 280ms ease, border-color 280ms ease;
}
.entry:hover { transform: translateY(-2px); border-color: #cfc6b8; }
.entry p + p { margin-top: 4px; }
.entry-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.zone-tag, .badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 1px 8px;
  font-size: 12px;
  line-height: 1.7;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
}
.badge { background: var(--copper); border-color: var(--copper); }
time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.92rem; }
.more { font-size: 0.92rem; }
.empty-note { margin-top: 16px; color: var(--muted); }
.end-row p { color: var(--muted); max-width: 46ch; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background 280ms ease, transform 280ms ease;
}
a.btn, button.btn { color: #fff; border-bottom-color: var(--accent); }
.btn:hover { background: var(--accent-deep); color: #fff; border-bottom-color: var(--accent-deep); }
.btn:active { transform: translateY(1px); }
.read-list { margin-top: 8px; }
.read-item {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.read-item:hover .shot { transform: translateY(-2px); }
.shot {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #E7E4DC;
  transition: transform 280ms ease;
}
.shot svg { width: 100%; height: 100%; object-fit: cover; }
.read-copy p { margin-top: 8px; color: var(--muted); }
.read-meta { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.ruler { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; padding-top: 8px; }
.ruler::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 74px;
  height: 1px;
  background: var(--ink);
}
.ruler-cell { text-align: center; position: relative; }
.ruler-cell b {
  display: block;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.stem { display: block; width: 1px; height: 28px; margin: 8px auto 16px; background: var(--copper); }
.ruler-cell .name { font-family: var(--serif); }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.qa {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}
.qa p { margin-top: 8px; color: var(--muted); }
.form-panel, .form-success {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 720px;
  padding: 28px;
  margin-top: 22px;
}
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; }
.field-error { color: var(--warn); font-size: 0.875rem; margin-top: 6px; }
.is-invalid { border-color: var(--warn) !important; }
.form-success { color: var(--ink); }
.site-footer { background: var(--footer); color: #E7E4DC; padding: 56px 0 36px; }
.site-footer a { color: #E7E4DC; border-bottom-color: transparent; }
.site-footer a:hover { color: var(--copper); border-bottom-color: var(--copper); }
.footer-brand { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin-bottom: 8px; }
.footer-nav, .footer-status { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 16px; }
.copy { color: #B7B1A8; font-size: 0.875rem; margin-top: 26px; }
@media (max-width: 1023px) {
  main > section { padding: 72px 0; }
  .brand-desk { display: none; }
  .nav-row { flex-direction: column; align-items: flex-start; min-height: 0; padding: 8px 0 16px; }
  .site-nav, .site-nav .menu { width: 100%; }
  .site-nav .menu { flex-direction: column; align-items: flex-start; gap: 0; }
  .site-nav .menu > li { width: 100%; }
  .site-nav .menu > li > a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .chip-row { justify-content: flex-start; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .read-item { grid-template-columns: 200px minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .head-row, .end-row, .head-tools { align-items: flex-start; }
  .head-row, .end-row { flex-direction: column; }
  .filter-grid, .qa-grid { grid-template-columns: 1fr; }
  .entry { grid-template-columns: 1fr; }
  .entry-side { align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 639px) {
  main > section { padding: 48px 0; }
  .grid-container { width: min(1120px, calc(100% - 24px)); }
  .read-item { grid-template-columns: 1fr; }
  .ruler { grid-template-columns: 1fr; gap: 18px; }
  .ruler::before { display: none; }
  .ruler-cell { display: grid; grid-template-columns: 72px 1px 1fr; column-gap: 14px; text-align: left; align-items: center; }
  .ruler-cell b { grid-row: 1 / span 2; }
  .stem { grid-row: 1 / span 2; height: 42px; margin: 0; }
  .ruler-cell .name, .ruler-cell .muted { margin: 0; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.65rem; }
  .entry, .form-panel, .form-success, .qa { padding: 16px; }
  .sort-label { width: 100%; flex-direction: column; align-items: flex-start; }
  .sort-label select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .entry:hover, .read-item:hover .shot, .btn:active, .chip:active, button.choice:active { transform: none; }
}
