/* roulang page: index */
:root {
  --wine: #7A3048;
  --wine-deep: #4E1E30;
  --rose: #C47B73;
  --ivory: #F6F1EA;
  --card: #FFFDF9;
  --ink: #2A2422;
  --muted: #6B5E58;
  --line: #E4D8CE;
  --ok: #3E6B58;
  --clay: #A15C32;
  --shadow: 0 10px 30px rgba(122, 48, 72, 0.12);
  --shadow-hover: 0 14px 34px rgba(122, 48, 72, 0.18);
  --radius: 16px;
  --radius-sm: 12px;
  --header: 64px;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.25; letter-spacing: 0; }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35; }
h3 { font-size: 1.05rem; line-height: 1.45; }
.nums { font-variant-numeric: tabular-nums; font-family: ui-monospace, "SFMono-Regular", "Noto Sans SC", monospace; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: auto;
  min-height: var(--header);
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.logo { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 8px 0; }
.logo-title {
  color: var(--wine);
  font-weight: 750;
  font-size: 15px;
  line-height: 1.25;
  max-width: 12em;
}
.logo-note { color: var(--muted); font-size: 12px; line-height: 1.3; margin-top: 2px; }
.nav-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-scroll::-webkit-scrollbar { height: 0; display: none; }
.nav-link {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: transparent;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--wine); }
.nav-link.is-active { color: var(--wine); box-shadow: inset 0 -2px 0 var(--wine); border-radius: 0; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(62, 107, 88, 0.12);
}
.bell-wrap { position: relative; }
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--wine);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.icon-btn:hover { border-color: var(--rose); transform: translateY(-1px); }
.icon-btn:active { transform: translateY(0); }
.bell-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, 78vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px;
  z-index: 50;
}
.bell-panel[hidden] { display: none; }
.bell-item {
  display: block;
  padding: 10px 10px 10px 12px;
  border-left: 3px solid var(--wine);
  border-radius: 8px;
  margin-bottom: 8px;
}
.bell-item:last-child { margin-bottom: 0; }
.bell-item:hover { background: #FBF6F1; }
.bell-item strong { display: block; font-size: 14px; line-height: 1.45; }
.bell-item span { color: var(--muted); font-size: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--wine); color: var(--ivory); }
.btn-primary:hover { background: var(--wine-deep); }
.btn-secondary { background: var(--card); color: var(--wine); border-color: var(--wine); }
.btn-secondary:hover { background: #F8EBEA; }
.btn:disabled, .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-block { width: 100%; }
main { padding-top: 76px; }
.section { padding: 72px 0; position: relative; }
.section-ivory { background: var(--ivory); }
.section-card { background: #FBF7F2; }
.section-white { background: var(--card); }
.section-rose { background: #F8EFEA; }
.lead { color: var(--muted); font-size: 15.5px; max-width: 68ch; }
.hero { padding: 36px 0 64px; background: transparent; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 86%;
  background: linear-gradient(160deg, var(--wine) 0%, var(--wine-deep) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 0 100%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr);
  gap: 28px;
  align-items: start;
}
.hero-copy { color: var(--ivory); padding: 28px 8px 48px 0; }
.hero-copy h1 { color: var(--ivory); }
.hero-sub {
  margin: 14px 0 12px;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 28em;
  color: #F6E7E2;
}
.hero-copy .lead { color: #F3E4DC; }
.pain-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--rose);
  color: var(--wine-deep);
  background: #F8E8E4;
  font-size: 12px;
  line-height: 1;
  padding: 7px 10px;
}
.tag-on-wine { color: var(--ivory); background: rgba(255, 253, 249, 0.08); border-color: rgba(196, 123, 115, 0.85); }
.sheet {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  margin-top: 18px;
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 12px;
}
.sheet-head strong { font-size: 16px; }
.sheet-head span { color: var(--clay); font-size: 12px; }
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.field select {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
}
.field select:focus { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(122, 48, 72, 0.15); outline: none; }
.filter-note { min-height: 1.6em; color: var(--wine); font-size: 13px; margin: 8px 0 10px; }
.workbench {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: stretch;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.panel:hover { border-color: var(--rose); }
.status-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: 0; }
.state-ok { color: var(--ok); font-size: 13px; }
.state-wait { color: var(--clay); font-size: 13px; }
.step-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 18px;
  position: relative;
}
.step-track::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 18px;
  height: 2px;
  background: var(--line);
}
.step {
  position: relative;
  padding: 0 12px;
}
.step-node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--ivory);
  display: grid;
  place-items: center;
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.step h3 { margin: 12px 0 6px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }
.scene-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  grid-auto-rows: auto;
  gap: 16px;
}
.scene-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.scene-card:hover { transform: translateY(-2px); border-color: var(--rose); box-shadow: var(--shadow-hover); }
.scene-card.tall { min-height: 230px; background: #FFF8F4; }
.scene-card.short { min-height: 150px; }
.scene-card .meta { color: var(--muted); font-size: 12px; margin-top: 12px; }
.kicker { color: var(--wine); font-size: 12px; letter-spacing: 0; }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ticket {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px 18px 12px 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.ticket::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 8px;
  background: radial-gradient(circle at 8px 0, transparent 8px, var(--card) 9px) left bottom / 16px 8px repeat-x;
}
.ticket-head {
  padding: 14px 16px;
  color: var(--ivory);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ticket-good .ticket-head { background: var(--wine); }
.ticket-bad .ticket-head { background: var(--clay); }
.ticket ul { list-style: none; margin: 0; padding: 8px 16px 22px; }
.ticket li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.ticket li span { color: var(--muted); }
.bars { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.bar-line { display: grid; grid-template-columns: 140px 1fr 88px; gap: 12px; align-items: center; }
.bar-track { height: 8px; background: #EFE4DB; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--wine); border-radius: 999px; }
.bar-fill.alt { background: var(--rose); }
.bar-fill.ok { background: var(--ok); }
.note-static { color: var(--clay); font-size: 13px; margin-top: 12px; }
.quote-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.quote p { margin: 0 0 8px; }
.quote footer { color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; }
.audience {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: start;
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px 12px 16px;
  margin-bottom: 10px;
  border-left: 3px solid var(--wine);
}
.check-list li strong { display: block; }
.check-list li span { color: var(--muted); font-size: 14px; }
.article-list { display: flex; flex-direction: column; gap: 12px; }
.article {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.article:hover { transform: translateY(-2px); border-color: var(--rose); box-shadow: var(--shadow); }
.article time { color: var(--wine); font-size: 13px; }
.article p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.badge {
  border-radius: 999px;
  border: 1px solid var(--rose);
  color: var(--wine);
  background: #F8E8E4;
  font-size: 12px;
  padding: 4px 8px;
  white-space: nowrap;
}
.metric-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: block; }
.metric-row {
  display: grid;
  grid-template-columns: 160px 1fr 120px;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.metric-row:last-child { border-bottom: 0; }
.metric-row:hover { background: #FBF6F1; }
.metric-row b { font-weight: 650; }
.metric-row span { color: var(--muted); font-size: 14px; }
.catalog-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.timeline { margin: 8px 0 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 18px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 4px rgba(122, 48, 72, 0.12);
}
.time-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.time-card:hover { border-color: var(--rose); transform: translateY(-2px); box-shadow: var(--shadow); transition: .2s ease; }
.time-card small { color: var(--muted); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.faq-item h3 { color: var(--wine-deep); margin-bottom: 6px; }
.faq-item p { margin: 0; color: var(--ink); }
.cta-bar {
  background: var(--wine);
  color: var(--ivory);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow);
}
.cta-bar h2, .cta-bar p { color: var(--ivory); }
.cta-bar p { margin: 8px 0 0; color: #F6E4DE; max-width: 62ch; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-bar .btn-primary { background: var(--ivory); color: var(--wine-deep); }
.cta-bar .btn-primary:hover { background: #fff; }
.cta-bar .btn-secondary { background: transparent; color: var(--ivory); border-color: #F0D2CB; }
.site-footer { background: #2A2422; color: #F6F1EA; padding: 36px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr .9fr; gap: 18px; }
.site-footer a { color: #F6E4DE; }
.site-footer a:hover { color: #fff; }
.site-footer .logo-title { color: #F6D5CC; }
.site-footer .logo-note, .foot-muted { color: #CDBDB4; font-size: 13px; }
.foot-title { font-size: 13px; color: #E7C8BE; margin-bottom: 8px; }
.foot-links { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
@media (max-width: 1024px) {
  .hero-grid, .workbench, .audience, .catalog-band, .footer-grid { grid-template-columns: 1fr; }
  .step-track { grid-template-columns: 1fr 1fr; gap: 16px; }
  .step-track::before { display: none; }
  .scene-grid, .compare { grid-template-columns: 1fr; }
  .header-bar { grid-template-columns: 1fr auto; }
  .nav-scroll { grid-column: 1 / -1; order: 3; padding-bottom: 8px; }
  main { padding-top: 108px; }
}
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .article, .bar-line, .metric-row { grid-template-columns: 1fr; }
  .cta-bar { flex-direction: column; align-items: flex-start; }
  .badge { justify-self: start; }
  h1 { font-size: 1.7rem; }
}
@media (max-width: 520px) {
  .container { width: min(var(--max), calc(100% - 20px)); }
  .logo-title { font-size: 13px; max-width: 9.5em; }
  .header-tools .btn { padding: 0 12px; }
  .status-pill span { display: none; }
  .hero-copy { padding-right: 0; }
  .sheet, .panel, .catalog-band, .cta-bar { padding: 16px; }
}

/* roulang page: category1 */
:root {
  --wine: #7A3048;
  --wine-deep: #4E1E30;
  --rose: #C47B73;
  --ivory: #F6F1EA;
  --card: #FFFDF9;
  --ink: #2A2422;
  --muted: #6B5E58;
  --line: #E4D8CE;
  --ok: #3E6B58;
  --clay: #A15C32;
  --shadow: 0 10px 30px rgba(122, 48, 72, 0.12);
  --shadow-hover: 0 14px 34px rgba(122, 48, 72, 0.18);
  --radius: 16px;
  --radius-sm: 12px;
  --header: 64px;
  --max: 1180px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 0.95em; }
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--ink); }
.nums { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  min-height: var(--header);
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.logo { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 8px 0; }
.logo-title {
  color: var(--wine);
  font-weight: 750;
  font-size: 15px;
  line-height: 1.25;
  max-width: 12em;
}
.logo-note { color: var(--muted); font-size: 12px; line-height: 1.3; margin-top: 2px; }
.nav-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-scroll::-webkit-scrollbar { height: 0; display: none; }
.nav-link {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: transparent;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--wine); background: transparent; }
.nav-link:focus-visible, .btn:focus-visible, .icon-btn:focus-visible, select:focus-visible, .entry-card a:focus-visible, .related-item a:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}
.nav-link.is-active { color: var(--wine); box-shadow: inset 0 -2px 0 var(--wine); border-radius: 0; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.status-pill, .status-capsule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(62, 107, 88, 0.12);
  display: inline-block;
}
.bell-wrap { position: relative; }
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--wine);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.icon-btn:hover { border-color: var(--rose); transform: translateY(-1px); background: #fff; }
.icon-btn:active { transform: translateY(0); }
.icon-btn[aria-expanded="true"] { border-color: var(--wine); background: #F8EBEA; }
.bell-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(300px, 78vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px;
  z-index: 50;
}
.bell-panel[hidden] { display: none; }
.bell-item {
  display: block;
  padding: 10px 10px 10px 12px;
  border-left: 3px solid var(--wine);
  border-radius: 8px;
  margin-bottom: 8px;
}
.bell-item:last-child { margin-bottom: 0; }
.bell-item:hover { background: #FBF6F1; }
.bell-item strong { display: block; font-size: 14px; line-height: 1.45; color: var(--ink); }
.bell-item span { color: var(--muted); font-size: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--wine); color: var(--ivory); }
.btn-primary:hover { background: var(--wine-deep); color: var(--ivory); }
.btn-secondary { background: var(--card); color: var(--wine); border-color: var(--wine); }
.btn-secondary:hover { background: #F8EBEA; color: var(--wine-deep); }
.btn:disabled, .btn.is-disabled { opacity: .45; pointer-events: none; }
main { padding-top: 88px; }
.section { padding: 56px 0; position: relative; }
.section-ivory { background: var(--ivory); }
.section-card { background: #FBF7F2; }
.section-white { background: var(--card); }
.section-rose { background: #F8EFEA; }
.section-head { margin-bottom: 18px; max-width: 40rem; }
.section-head h2 { font-size: 1.55rem; line-height: 1.35; }
.section-head p, .lead { color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.cat-top { padding: 28px 0 22px; border-bottom: 1px solid var(--line); }
.cat-top-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wine);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--rose); border-radius: 99px; }
.cat-top h1 { font-size: clamp(1.7rem, 2.4vw, 2.15rem); line-height: 1.25; max-width: 16em; }
.cat-note { margin: 8px 0 0; color: var(--muted); max-width: 36em; }
.status-capsule {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.filter-section { padding: 18px 0; position: sticky; top: 64px; z-index: 20; border-bottom: 1px solid var(--line); }
.filter-bar {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr 1fr;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.field select {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select:hover { border-color: var(--rose); }
.field select:focus { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(122, 48, 72, 0.15); outline: none; }
.list-section { padding-top: 36px; }
.list-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}
.entry-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 14px; align-items: start; }
.entry-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 16px 16px 14px 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.entry-card:hover { transform: translateY(-2px); border-color: var(--rose); border-left-color: var(--wine); box-shadow: var(--shadow-hover); }
.entry-card.span-2 { grid-column: 1 / -1; }
.entry-card.compact { padding-bottom: 12px; }
.entry-top, .entry-foot { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.entry-card h2, .entry-card h3 { font-size: 1.05rem; line-height: 1.45; }
.entry-card h2 a:hover, .entry-card h3 a:hover, .related-item h3 a:hover { color: var(--wine); }
.entry-card p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--rose);
  color: var(--wine-deep);
  background: #F8E8E4;
  font-size: 12px;
  line-height: 1;
  padding: 6px 9px;
  white-space: nowrap;
}
.tag-ok { color: var(--ok); border-color: rgba(62, 107, 88, 0.45); background: #F3F7F4; }
.tag-clay { color: var(--clay); border-color: rgba(161, 92, 50, 0.4); background: #FBF3EC; }
.entry-foot { margin-top: 12px; color: var(--muted); font-size: 12px; }
.empty-note {
  display: none;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--rose);
  color: var(--muted);
  background: var(--card);
}
.empty-note.show { display: block; }
.more-band { padding: 22px 0; }
.more-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.more-row p { margin: 0; color: var(--ink); }
.define-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 22px; align-items: start; }
.define-list { margin: 0; }
.define-list div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.define-list dt { color: var(--wine); font-weight: 700; }
.define-list dd { margin: 0; color: var(--muted); }
.related-list { display: flex; flex-direction: column; gap: 10px; }
.related-item {
  display: grid;
  grid-template-columns: 7.2em 1fr;
  gap: 14px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.related-item:hover { border-color: var(--rose); transform: translateY(-2px); }
.related-item time { color: var(--clay); font-size: 13px; padding-top: 2px; }
.related-item h3 { font-size: 1.02rem; line-height: 1.45; }
.related-item p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px 12px;
}
.faq-item h3 { font-size: 1rem; line-height: 1.45; }
.faq-item p { margin: 6px 0 0; color: var(--muted); }
.cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--wine-deep);
  color: var(--ivory);
  border-radius: var(--radius);
  padding: 22px 22px;
  box-shadow: var(--shadow);
}
.cta-bar h2 { color: var(--ivory); font-size: 1.35rem; line-height: 1.35; }
.cta-bar p { margin: 6px 0 0; color: #F3E4DC; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.site-footer { background: #2A2422; color: #F6F1EA; padding: 36px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 0.8fr; gap: 22px; }
.site-footer .logo-title { color: #F6E7E2; }
.site-footer .logo-note, .foot-muted { color: #D9C7BE; font-size: 13px; line-height: 1.7; margin: 8px 0 0; }
.foot-title { color: #F6F1EA; font-size: 14px; font-weight: 700; }
.foot-links { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.foot-links a { color: #F6E7E2; font-size: 14px; }
.foot-links a:hover { color: #C47B73; }
@media (max-width: 1024px) {
  .entry-grid, .define-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .entry-card.span-2 { grid-column: auto; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-bar {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo tools" "nav nav";
    padding-bottom: 8px;
  }
  .logo { grid-area: logo; }
  .nav-scroll { grid-area: nav; padding-bottom: 4px; }
  .header-tools { grid-area: tools; }
  .status-pill span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .status-pill { position: relative; }
  main { padding-top: 118px; }
  .filter-section { top: 108px; }
  .cat-top-row, .more-row, .cta-bar, .related-item, .define-list div { display: flex; flex-direction: column; align-items: flex-start; }
  .entry-grid, .define-grid, .footer-grid, .filter-bar { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
  .cta-bar .btn-secondary { background: transparent; color: var(--ivory); }
}
@media (max-width: 520px) {
  .container { width: min(var(--max), calc(100% - 20px)); }
  .logo-title { font-size: 13px; max-width: 9.5em; }
  .btn { padding: 0 12px; min-height: 38px; }
  .header-tools .btn { padding: 0 10px; }
  .cat-top h1 { font-size: 1.45rem; }
  .entry-top { align-items: flex-start; flex-direction: column; }
}
