/* roulang page: index */
:root {
  --primary: #3E5C78;
  --primary-hover: #324C66;
  --primary-active: #2A4156;
  --sand: #C4A574;
  --crimson: #8C3A3A;
  --ink: #1E2A36;
  --muted: #5E6C7A;
  --paper: #F6F4EF;
  --card: #FFFFFF;
  --alt: #F3F6F8;
  --line: #D5DEE6;
  --border: #E3E8EE;
  --header: #E7EDF2;
  --shadow: 0 8px 24px rgba(30, 42, 54, 0.08);
  --shadow-hover: 0 12px 28px rgba(30, 42, 54, 0.12);
  --radius: 12px;
  --radius-btn: 8px;
  --container: 1120px;
  --header-h: 64px;
  --pad: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: var(--primary); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
::selection { background: rgba(62, 92, 120, 0.18); }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; margin: 0; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
p { margin: 0 0 32px; }
.lead { max-width: 46em; color: var(--ink); }
.idx { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--sand); }
.muted { color: var(--muted); font-size: 13px; margin: 0; }
header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--header);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo { display: flex; flex-direction: column; justify-content: center; line-height: 1.15; text-decoration: none; color: var(--ink); min-width: 0; }
.logo:hover { text-decoration: none; }
.logo strong { font-size: 18px; font-weight: 700; letter-spacing: 0.02em; }
.logo small { font-size: 12px; color: var(--muted); }
#site-nav { display: flex; align-items: center; flex: 1; min-width: 0; }
.groups { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.group { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.gname { font-size: 13px; color: var(--muted); line-height: 1.2; }
.glinks { display: flex; gap: 16px; }
.glinks a { font-size: 15px; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.glinks a:hover { color: var(--primary); }
.glinks a[aria-current="page"] { color: var(--primary); font-weight: 700; }
.nav-actions { display: flex; gap: 8px; margin-left: 28px; }
.nav-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}
.nav-actions a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.nav-actions a:active { background: var(--alt); }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--paper);
  position: relative;
  margin-left: auto;
}
.burger span { position: absolute; left: 12px; width: 18px; height: 2px; background: var(--ink); transition: transform 180ms, opacity 180ms; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
main > section { padding: var(--pad) 0; background: var(--paper); }
main > section:nth-child(even) { background: var(--alt); }
.board { position: relative; overflow: hidden; }
.board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.55;
  pointer-events: none;
}
.board .container { position: relative; z-index: 1; }
.board-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.board h1::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 14px; background: var(--primary); }
.sub { margin: 18px 0 24px; max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms, color 180ms, border-color 180ms;
  cursor: pointer;
}
a.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-primary:active { background: var(--primary-active); }
.btn-secondary { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--alt); color: var(--primary); }
.btn-secondary:active { background: #E7EDF2; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metric {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.metric-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.metric strong { font-size: 36px; line-height: 1; color: var(--primary); font-weight: 700; }
.metric .unit { font-size: 13px; color: var(--muted); }
.metric em { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--muted); }
.metric-note { margin: 12px 0 0; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: box-shadow 180ms, border-color 180ms;
}
.card:hover { box-shadow: var(--shadow-hover); }
.card h3::after, .pad h3::after, .panel h3::after, .step h3::after, .assure h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  background: var(--primary);
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--alt);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}
.badge.hot { background: #F8EEEE; color: var(--crimson); }
.node-row { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.node-row::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--line);
}
.node { position: relative; }
.pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sand);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--sand);
  margin-bottom: 14px;
}
.node p, .card p, .pad p, .panel p, .step p, .assure p, .quick p, .acc-panel p { margin: 0; }
.node .badge, .card .badge { margin-bottom: 10px; }
.card h3, .pad h3, .node h3 { margin-bottom: 8px; }
.text-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; }
.matrix { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; align-items: start; }
.m1 { grid-column: span 7; }
.m2 { grid-column: span 5; }
.m3, .m4, .m5 { grid-column: span 4; }
.m6 { grid-column: span 12; display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; }
.channel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.channel-bar p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.panel.now { border-color: var(--primary); }
.rows { margin-top: 16px; display: grid; gap: 10px; }
.rowline { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 15px; }
.rowline span { color: var(--muted); font-size: 13px; }
.deep-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; }
.deep-main { grid-row: span 2; }
.card-media { padding: 0; overflow: hidden; }
.pad { padding: 24px; }
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #E7EEF3;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}
.ph-wide { aspect-ratio: 16 / 9; }
.ph-std { aspect-ratio: 4 / 3; }
.side-stack { display: grid; gap: 16px; }
.tl { position: relative; max-width: 860px; margin: 0 auto; }
.tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tl-item { position: relative; width: 50%; padding: 0 36px 28px; }
.tl-item:nth-child(odd) { text-align: right; }
.tl-item:nth-child(even) { margin-left: 50%; text-align: left; }
.dot {
  position: absolute;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sand);
}
.tl-item:nth-child(odd) .dot { right: -6px; }
.tl-item:nth-child(even) .dot { left: -6px; }
.tl-item h3 { margin-bottom: 6px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.coord { display: block; margin-bottom: 8px; color: var(--sand); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.news-list { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 24px; }
.news-item { display: grid; grid-template-columns: 132px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.news-item:last-child { border-bottom: 0; }
.news-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.date { font-size: 13px; color: var(--muted); }
.news-item h3 { margin-bottom: 6px; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--primary); }
.news-item p { margin: 0; color: var(--muted); font-size: 14px; }
.news-more { display: flex; justify-content: flex-end; margin-top: 18px; }
.wall-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
.w1 { grid-row: span 2; }
.assure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.assure { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.ico { width: 36px; height: 36px; margin-bottom: 12px; position: relative; }
.ico::before, .ico::after { content: ""; position: absolute; }
.ico-source { border: 2px solid var(--primary); border-radius: 50%; }
.ico-source::after { width: 8px; height: 2px; background: var(--primary); left: 16px; top: 16px; }
.ico-time { border: 2px solid var(--primary); border-radius: 4px; }
.ico-time::before { width: 2px; height: 12px; background: var(--primary); left: 16px; top: 8px; }
.ico-time::after { width: 8px; height: 2px; background: var(--sand); left: 16px; top: 18px; }
.ico-path { border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); }
.ico-path::before { width: 10px; height: 10px; border-radius: 50%; background: var(--sand); right: 4px; top: 4px; }
.ico-back { border: 2px solid var(--primary); transform: rotate(45deg); width: 22px; height: 22px; left: 6px; top: 6px; }
.quick { display: grid; gap: 12px; }
.q-item { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.q-item h3 { color: var(--primary); margin-bottom: 6px; }
.q-item h3::after { display: none; }
.acc { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.acc + .acc { margin-top: 10px; }
.acc-btn {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.acc-btn:hover { background: #FAFBFC; }
.acc-btn[aria-expanded="true"] { color: var(--primary); }
.plus { width: 14px; height: 14px; position: relative; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--primary); transition: transform 180ms; }
.plus::before { width: 14px; height: 2px; left: 0; top: 6px; }
.plus::after { width: 2px; height: 14px; left: 6px; top: 0; }
.acc-btn[aria-expanded="true"] .plus::after { transform: rotate(90deg); opacity: 0; }
.acc-panel { background: var(--alt); padding: 0 18px 16px; }
.form-grid { display: grid; grid-template-columns: 1.35fr 0.75fr; gap: 20px; align-items: start; }
.form-card, .tips { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: #fff;
  padding: 0 12px;
}
textarea { height: 120px; padding: 10px 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); }
.invalid { border-color: var(--crimson) !important; }
.err { color: var(--crimson); font-size: 13px; margin: 4px 0 0; }
.form-success { margin-bottom: 14px; padding: 12px 14px; border: 1px solid var(--primary); border-radius: var(--radius-btn); background: var(--alt); }
.tips ol { margin: 0; padding-left: 18px; }
.tips li { margin: 0 0 12px; }
.tips li:last-child { margin-bottom: 0; }
.site-footer { background: var(--alt); border-top: 1px solid var(--line); padding: 48px 0 20px; }
.fgrid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-size: 18px; }
.site-footer .fname { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.site-footer h3 { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--ink); }
.flink { display: flex; gap: 8px; flex-wrap: wrap; }
.legal { margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
@media (max-width: 1200px) {
  .board-grid { gap: 28px; }
  .groups { gap: 18px; }
}
@media (max-width: 992px) {
  main > section { padding: 48px 0; }
  .burger { display: inline-flex; }
  #site-nav {
    position: fixed;
    z-index: 50;
    inset: var(--header-h) 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px 0;
    transform: translateX(100%);
    transition: transform 180ms;
    overflow: auto;
  }
  #site-nav.open { transform: none; }
  .groups { flex-direction: column; align-items: flex-start; margin: 0; gap: 22px; }
  .glinks { flex-direction: column; gap: 10px; }
  .nav-actions {
    margin: auto 0 0;
    position: sticky;
    bottom: 0;
    width: 100%;
    padding: 12px 0 16px;
    background: var(--alt);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .m1, .m2, .m3, .m4, .m5, .m6 { grid-column: span 6; }
  .m6 { grid-template-columns: 1fr; }
  .deep-grid, .compare, .form-grid, .fgrid { grid-template-columns: 1fr; }
  .deep-main { grid-row: auto; }
}
@media (max-width: 768px) {
  main > section { padding: 36px 0; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .board-grid, .node-row, .steps, .assure-grid, .wall-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .node-row::before, .tl::before { display: none; }
  .tl::before { display: block; left: 8px; }
  .tl-item, .tl-item:nth-child(odd), .tl-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    text-align: left;
    padding: 0 0 22px 28px;
  }
  .tl-item .dot, .tl-item:nth-child(odd) .dot, .tl-item:nth-child(even) .dot { left: 2px; right: auto; }
  .m1, .m2, .m3, .m4, .m5, .m6 { grid-column: span 12; }
  .w1 { grid-row: auto; }
  .channel-bar, .news-item { display: block; }
  .news-meta { flex-direction: row; align-items: center; margin-bottom: 8px; }
  .wall-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .board-grid, .node-row, .steps, .assure-grid, .metric-grid { grid-template-columns: 1fr; }
  .hero-actions, .btn, .news-more .btn, .channel-bar .btn { width: 100%; }
  .nav-actions { grid-template-columns: 1fr; }
  .rowline { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* roulang page: category1 */
:root {
  --primary: #3E5C78;
  --primary-hover: #324C66;
  --primary-active: #2A4156;
  --sand: #C4A574;
  --crimson: #8C3A3A;
  --ink: #1E2A36;
  --muted: #5E6C7A;
  --paper: #F6F4EF;
  --card: #FFFFFF;
  --alt: #F3F6F8;
  --line: #D5DEE6;
  --border: #E3E8EE;
  --header: #E7EDF2;
  --shadow: 0 8px 24px rgba(30, 42, 54, 0.08);
  --shadow-hover: 0 12px 28px rgba(30, 42, 54, 0.12);
  --radius: 12px;
  --radius-btn: 8px;
  --container: 1120px;
  --header-h: 64px;
  --pad: 72px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: var(--primary); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; }
p { margin: 0 0 16px; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.muted { color: var(--muted); font-size: 13px; margin: 0; }
header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--header);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  margin-right: auto;
}
.logo:hover { text-decoration: none; }
.logo strong { font-size: 18px; font-weight: 700; letter-spacing: 0.02em; }
.logo small { font-size: 12px; color: var(--muted); }
#site-nav { display: flex; align-items: center; min-width: 0; }
.groups { display: flex; align-items: center; gap: 28px; }
.group { display: flex; align-items: center; gap: 10px; }
.gname { font-size: 13px; color: var(--muted); white-space: nowrap; }
.glinks { display: flex; align-items: center; gap: 20px; }
.glinks a { font-size: 15px; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.glinks a:hover { color: var(--primary); text-decoration: none; }
.glinks a[aria-current="page"] { color: var(--primary); font-weight: 700; }
.nav-actions { display: flex; gap: 8px; margin-left: 28px; }
.nav-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}
.nav-actions a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.nav-actions a:active { background: var(--alt); }
.burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms, opacity 180ms;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sec-archive { position: relative; padding: 28px 0 12px; background: var(--paper); }
.sec-archive::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, #D5DEE6 1px, transparent 1px),
    linear-gradient(to bottom, #D5DEE6 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.08;
  pointer-events: none;
}
.archive-card {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.archive-top { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.crumb a { color: var(--primary); }
h1 { margin: 0 0 10px; font-size: 40px; display: inline-block; border-bottom: 3px solid var(--primary); padding-bottom: 6px; }
.scope { margin: 0; max-width: 40em; }
.count { margin: 0; min-width: 112px; text-align: right; }
.count b { display: block; font-size: 40px; line-height: 1; color: var(--primary); font-weight: 700; }
.count span { font-size: 13px; color: var(--muted); }
.sec-filter { padding: 12px 0 0; background: var(--paper); }
.sec-list { padding: 16px 0 var(--pad); background: var(--paper); }
.sec-more, .sec-notes, .sec-rhythm, .sec-compare, .sec-ask { padding: var(--pad) 0; }
.sec-more, .sec-rhythm, .sec-ask { background: var(--alt); }
.sec-notes, .sec-compare { background: var(--paper); }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow);
}
.inline-h { margin: 0 12px 0 4px; font-size: 18px; }
.filter {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--alt);
  color: var(--ink);
  font-size: 14px;
  transition: background 180ms, color 180ms, border-color 180ms;
}
.filter:hover { border-color: var(--primary); color: var(--primary); }
.filter:active { background: #E7EDF2; }
.filter.is-current { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter.is-current:hover { background: var(--primary-hover); color: #fff; }
.filter.is-current:active { background: var(--primary-active); }
.kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--sand); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
h2 { margin: 0 0 16px; font-size: 28px; }
h3 { margin: 0 0 8px; font-size: 18px; }
.sec-lead { max-width: 42em; margin: 0 0 20px; }
.entry-list { display: grid; gap: 16px; }
.entry {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: box-shadow 180ms, border-color 180ms;
}
.entry:hover { box-shadow: var(--shadow-hover); }
.entry-side { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.entry time { font-weight: 700; color: var(--ink); }
.entry h3::after, .note h3::after, .excerpt h3::after, .ask h3::after, .rhythm h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  background: var(--primary);
}
.entry p, .note p, .excerpt p, .ask p, .rhythm p { margin: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--alt);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}
.badge.hot { background: #F8EEEE; color: var(--crimson); }
.text-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; }
.text-link:hover { text-decoration: underline; }
.more-line { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; }
.more-line h2 { margin-bottom: 8px; }
.more-line p { margin: 0; max-width: 40em; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms, color 180ms, border-color 180ms;
  cursor: pointer;
  white-space: nowrap;
}
a.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-primary:active { background: var(--primary-active); }
.btn-secondary { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--alt); color: var(--primary); }
.btn-secondary:active { background: #E7EDF2; }
.pager { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.pager li {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.note-grid { display: grid; grid-template-columns: 1.25fr 0.9fr 0.9fr; gap: 16px; align-items: stretch; }
.note, .excerpt, .ask {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: box-shadow 180ms;
}
.note:hover, .excerpt:hover, .ask:hover { box-shadow: var(--shadow-hover); }
.rhythm { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 760px; }
.rhythm li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; position: relative; padding: 0 0 26px; }
.rhythm li::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 18px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.rhythm li:last-child::before { display: none; }
.pin { width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 4px rgba(196, 165, 116, 0.25); }
.coord { color: var(--sand); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.rhythm time { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.excerpt { padding: 0; overflow: hidden; }
.excerpt .body { padding: 24px; }
.ph {
  aspect-ratio: 16 / 9;
  background: #E7EDF2;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.ask-list { display: grid; gap: 12px; }
.site-footer { background: var(--alt); border-top: 1px solid var(--line); padding: 48px 0 24px; }
.fgrid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-size: 20px; margin: 0 0 8px; }
.site-footer h3 { font-size: 16px; margin: 0 0 12px; }
.fname { color: var(--muted); font-size: 14px; margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer li a { color: var(--ink); }
.site-footer li a:hover { color: var(--primary); }
.flink { display: flex; flex-wrap: wrap; gap: 8px; }
.legal { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
@media (max-width: 1200px) {
  .groups { gap: 16px; }
  .glinks { gap: 14px; }
  .logo strong { font-size: 16px; }
}
@media (max-width: 992px) {
  :root { --pad: 48px; }
  .burger { display: flex; }
  #site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px 16px;
    overflow: auto;
    z-index: 50;
  }
  #site-nav.open { display: flex; }
  .groups { flex-direction: column; align-items: stretch; gap: 22px; }
  .group { flex-direction: column; align-items: flex-start; gap: 8px; }
  .glinks { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav-actions {
    margin: auto 0 0;
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 16px;
    background: #fff;
  }
  .note-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --pad: 36px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .archive-top, .more-line, .entry, .fgrid, .compare-grid { display: grid; grid-template-columns: 1fr; }
  .count { text-align: left; }
  .entry { gap: 10px; }
  .rhythm li { grid-template-columns: 28px 1fr; }
  .rhythm li::before { left: 5px; }
}
@media (max-width: 520px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
}
@media (max-width: 480px) {
  .btn, .filter { width: 100%; }
  .filter-bar { align-items: stretch; }
  .nav-actions { grid-template-columns: 1fr; }
  .pager li { align-items: flex-start; }
  .inline-h { margin: 0 0 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
