/* roulang page: index */
:root {
  --bs-primary: #7A2342;
  --bs-link-color: #7A2342;
  --bs-link-hover-color: #3A2430;
  --bs-body-color: #2A211E;
  --bs-body-bg: #F7F1EA;
  --bs-border-radius: 14px;
  --wine: #7A2342;
  --plum: #3A2430;
  --amber: #E2A15A;
  --ink: #171114;
  --paper: #F7F1EA;
  --sand: #F3EBE3;
  --text: #2A211E;
  --cream: #FBF7F2;
  --muted: #6E5B55;
  --muted-dark: #E6D5CC;
  --olive: #6E7354;
  --card: #fffdfb;
  --dark-card: #24181D;
  --line: rgba(122, 35, 66, .18);
  --line-light: rgba(251, 247, 242, .14);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(90, 30, 40, .12);
  --section-y: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--wine); text-decoration: none; }
a:hover { color: var(--plum); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; margin: 0 0 .55em; color: inherit; }
button, input { font-family: inherit; }
::selection { background: rgba(122, 35, 66, .18); }
section[id], #lianxi { scroll-margin-top: 112px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 241, 234, .94);
  backdrop-filter: blur(10px);
  padding: 12px 0;
}
.nav-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--plum);
  color: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-weight: 760;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
  flex: 0 0 auto;
}
.brand:hover, .brand:focus { color: var(--cream); }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--wine);
  box-shadow: inset 0 0 0 2px rgba(226, 161, 90, .7);
}
.nav-scroll {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(251, 247, 242, .06);
  border: 1px solid var(--line-light);
  color: var(--cream);
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.nav-chip svg { width: 16px; height: 16px; fill: currentColor; }
.nav-chip:hover, .nav-chip:focus-visible {
  color: var(--cream);
  background: rgba(122, 35, 66, .55);
  border-color: rgba(226, 161, 90, .7);
  transform: translateY(-1px);
}
.nav-chip.active {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--cream);
}
.btn-main, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, filter .2s ease, border-color .2s ease;
}
.btn-main {
  background: var(--wine);
  color: var(--cream);
  flex: 0 0 auto;
}
.btn-main:hover { background: var(--plum); color: var(--cream); transform: translateY(-1px); }
.btn-main:active { filter: brightness(.92); transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--wine);
  border-color: rgba(122, 35, 66, .45);
}
.btn-ghost:hover { background: var(--plum); color: var(--cream); transform: translateY(-1px); }
.btn-ghost:active { filter: brightness(.92); transform: translateY(0); }
.btn-main:focus-visible, .btn-ghost:focus-visible, .nav-chip:focus-visible, a.card-link:focus-visible, .news-item:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero {
  background: var(--ink);
  color: var(--cream);
  padding: 18px 0 84px;
}
.hero-copy h1 { font-size: clamp(2rem, 4vw, 3.35rem); max-width: 11em; }
.subhead { font-size: 1.12rem; color: var(--cream); margin-bottom: .8em; }
.lead-copy { max-width: 42em; color: var(--muted-dark); }
.hero .lead-copy { color: #f0e4dc; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.badge, .dur, .review-name, .source-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.badge.soft {
  background: rgba(226, 161, 90, .16);
  color: var(--amber);
  border: 1px solid rgba(226, 161, 90, .45);
}
.status-panel {
  height: 100%;
  background: var(--dark-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 18px 26px;
  position: relative;
}
.status-panel::before, .card-link::before, .stat-card::before, .flow-step::before, .param-card::before, .review-card::before, .safety-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--wine);
}
.status-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(226, 161, 90, .18);
}
.status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line-light);
}
.status-row span { color: var(--muted-dark); }
.status-row strong { color: var(--cream); font-size: 1.05rem; }
.status-note { margin: 8px 0 0; color: var(--muted-dark); font-size: 14px; }
.section { padding: var(--section-y) 0; }
.section-cream { background: var(--paper); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-plum { background: var(--plum); color: var(--cream); }
.section-dark .lead-copy, .section-plum .lead-copy, .section-dark .muted, .section-plum .muted { color: var(--muted-dark); }
.section-head { margin-bottom: 28px; max-width: 46em; }
.section-head h2 { font-size: clamp(1.55rem, 2.4vw, 2.05rem); }
.olive-rule { width: 48px; height: 2px; background: var(--olive); border: 0; margin: 0 0 14px; }
.entry-grid { display: grid; grid-template-columns: 1.45fr .8fr; gap: 16px; align-items: stretch; }
.entry-side { display: grid; gap: 16px; }
.card-link, .stat-card, .flow-step, .review-card, .param-card, .safety-item, .source-item, .news-item {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--text);
}
.card-link { display: flex; flex-direction: column; overflow: hidden; min-height: 100%; transition: transform .2s ease, border-color .2s ease; }
.card-link:hover { transform: translateY(-2px); color: var(--text); border-color: rgba(122, 35, 66, .45); }
.entry-main .card-body, .scene-card .card-body, .side-card .card-body { padding: 18px 18px 18px 22px; }
.side-card { display: grid; grid-template-columns: 108px 1fr; }
.side-card .ph { min-height: 100%; aspect-ratio: auto; }
.card-body h3 { font-size: 1.25rem; }
.card-body p, .flow-step p, .review-card p, .safety-item p, .source-item p { margin: 0; color: var(--muted); }
.ph {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(160deg, rgba(122, 35, 66, .72), rgba(23, 17, 20, .25)),
    repeating-linear-gradient(135deg, #3A2430 0 14px, #5c3346 14px 28px);
}
.ph-b { background: linear-gradient(180deg, rgba(23,17,20,.15), rgba(122,35,66,.72)), repeating-linear-gradient(90deg, #3A2430 0 18px, #6a3a4e 18px 20px); }
.ph-c { background: radial-gradient(circle at 30% 30%, rgba(226,161,90,.45), transparent 36%), linear-gradient(145deg, #4a2736, #171114); }
.ph-d { background: linear-gradient(160deg, rgba(58,36,48,.2), rgba(122,35,66,.78)), repeating-linear-gradient(45deg, #2a1820 0 10px, #7A2342 10px 12px); }
.ph-e { background: linear-gradient(180deg, rgba(226,161,90,.18), rgba(23,17,20,.55)), repeating-linear-gradient(0deg, transparent 0 22px, rgba(251,247,242,.16) 22px 23px), #3A2430; }
.ph::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(226, 161, 90, .48);
  border-radius: 10px;
}
.dur { position: absolute; left: 12px; bottom: 12px; z-index: 1; }
.stat-grid, .flow-grid, .scene-grid, .review-grid, .safety-grid, .source-row {
  display: grid;
  gap: 16px;
}
.stat-grid { grid-template-columns: repeat(4, 1fr); }
.stat-card { padding: 22px 18px 20px 24px; overflow: hidden; }
.stat-num { display: block; font-size: 2.2rem; line-height: 1.15; color: var(--cream); }
.stat-label { color: var(--muted-dark); }
.section-dark .stat-card { background: var(--dark-card); border-color: var(--line-light); color: var(--cream); }
.flow-grid { grid-template-columns: repeat(4, 1fr); position: relative; }
.flow-grid::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: var(--olive);
}
.flow-step { padding: 18px 16px 18px 20px; z-index: 1; }
.flow-no {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--wine);
  color: var(--cream);
  font-size: 13px;
  margin-bottom: 10px;
}
.scene-grid { grid-template-columns: 1.25fr .82fr 1fr; align-items: start; }
.scene-card:nth-child(2) { margin-top: 34px; }
.scene-card:nth-child(3) { margin-top: 14px; }
.scene-card:nth-child(2) .ph { aspect-ratio: 3 / 4; }
.cover-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cover-card { color: var(--cream); background: var(--dark-card); border: 1px solid var(--line-light); }
.cover-card:hover { color: var(--cream); }
.cover-card.big { grid-column: span 3; }
.cover-card.small { grid-column: span 2; }
.cover-card .ph { min-height: 210px; }
.cover-meta { padding: 14px 16px 16px; }
.cover-meta h3 { font-size: 1.12rem; margin: 8px 0 0; }
.param-card { padding: 8px 18px 16px 24px; }
.param-list { margin: 0; }
.param-list dt { font-weight: 760; color: var(--wine); margin-top: 14px; }
.param-list dd { margin: 0; color: var(--text); }
.news-list { display: grid; gap: 12px; }
.news-item {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  padding: 16px 18px 16px 22px;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.news-item:hover { transform: translateX(2px); border-color: rgba(122, 35, 66, .45); background: #fff; color: var(--text); }
.news-item time { color: var(--wine); font-weight: 760; }
.news-item h3 { font-size: 1.08rem; margin-bottom: .25em; }
.news-item p { margin: 0; color: var(--muted); }
.review-grid { grid-template-columns: 1.15fr 1.15fr .75fr; }
.review-card { padding: 22px 18px 20px 24px; background: var(--dark-card); border-color: var(--line-light); color: var(--cream); }
.review-card p { color: var(--cream); font-size: 1.02rem; }
.review-card .review-name { margin-bottom: 12px; }
.source-row { grid-template-columns: repeat(5, 1fr); }
.source-item { padding: 18px 14px 16px 18px; overflow: hidden; }
.source-item strong { display: block; margin: 8px 0 4px; }
.safety-grid { grid-template-columns: repeat(3, 1fr); }
.safety-item { padding: 18px 16px 16px 22px; overflow: hidden; background: transparent; box-shadow: none; }
.faq-wrap {
  --bs-accordion-bg: #fffdfb;
  --bs-accordion-border-color: rgba(122, 35, 66, .2);
  --bs-accordion-btn-color: #2A211E;
  --bs-accordion-active-bg: #f8efea;
  --bs-accordion-active-color: #7A2342;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 2px #E2A15A;
  --bs-accordion-color: #2A211E;
}
.faq-wrap .accordion-item { border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; border: 1px solid var(--line); background: var(--card); }
.faq-wrap .accordion-button {
  font-weight: 760;
  font-size: 1.02rem;
  line-height: 1.45;
  padding: 16px 18px;
  box-shadow: none;
}
.faq-wrap .accordion-button:not(.collapsed) { box-shadow: inset 4px 0 0 var(--wine); }
.faq-wrap .accordion-button:focus { box-shadow: 0 0 0 2px var(--amber); }
.faq-wrap .accordion-body { color: var(--text); padding: 4px 18px 18px 22px; }
.cta-band { background: radial-gradient(circle at 12% 20%, rgba(122,35,66,.45), transparent 28%), var(--ink); color: var(--cream); }
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line-light);
  background: rgba(36, 24, 29, .88);
}
.cta-band .btn-ghost { color: var(--cream); border-color: rgba(251,247,242,.4); }
.cta-band .btn-ghost:hover, .cta-band .btn-main:hover { color: var(--cream); }
.contact-note {
  border-left: 4px solid var(--wine);
  padding: 8px 8px 8px 16px;
  color: var(--muted-dark);
}
.contact-note h3 { color: var(--cream); font-size: 1.15rem; }
.site-footer {
  background: #100c0e;
  color: var(--cream);
  border-top: 2px solid var(--olive);
  padding: 52px 0 28px;
}
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--amber); }
.foot-title { font-size: 1.05rem; margin-bottom: 10px; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin: 0 0 8px; }
.foot-muted { color: var(--muted-dark); }
.copy-line { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-light); color: var(--muted-dark); font-size: 14px; }
.ticker-window { overflow: hidden; }
.ticker-track { display: flex; gap: 12px; width: max-content; animation: marquee 36s linear infinite; }
.ticker-group { display: flex; gap: 12px; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius);
  background: rgba(251, 247, 242, .06);
  border: 1px solid var(--line-light);
  color: var(--cream);
  white-space: nowrap;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 1024px) {
  .entry-grid, .cta-inner, .review-grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr 1fr; }
  .scene-card:nth-child(2), .scene-card:nth-child(3) { margin-top: 0; }
  .scene-card:nth-child(3) { grid-column: 1 / -1; }
  .stat-grid, .flow-grid { grid-template-columns: 1fr 1fr; }
  .flow-grid::before { display: none; }
  .source-row { grid-template-columns: 1fr 1fr 1fr; }
  .cover-card.big, .cover-card.small { grid-column: span 3; }
}
@media (max-width: 768px) {
  :root { --section-y: 56px; }
  .hero { padding: 12px 0 56px; }
  .scene-grid, .safety-grid, .source-row, .stat-grid, .flow-grid, .cover-grid { grid-template-columns: 1fr; }
  .cover-card.big, .cover-card.small, .scene-card:nth-child(3) { grid-column: auto; }
  .scene-card .ph, .cover-card .ph { aspect-ratio: 16 / 9; min-height: 0; }
  .side-card { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .ticker-window { overflow: visible; }
  .ticker-track { animation: none; width: auto; display: block; transform: none; }
  .ticker-group[aria-hidden="true"] { display: none; }
  .ticker-group { display: grid; gap: 10px; }
  .ticker-item:nth-child(n+4) { display: none; }
  .ticker-item { white-space: normal; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand { font-size: 14px; }
  .btn-row .btn-main, .btn-row .btn-ghost { width: 100%; }
  .status-row { flex-direction: column; gap: 2px; }
  .stat-num { font-size: 1.8rem; }
  .cta-inner { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .btn-main, .btn-ghost, .card-link, .news-item, .nav-chip { transition: none; }
}

/* roulang page: category1 */
:root {
  --bs-primary: #7A2342;
  --bs-link-color: #7A2342;
  --bs-link-hover-color: #3A2430;
  --bs-body-color: #2A211E;
  --bs-body-bg: #F7F1EA;
  --bs-border-radius: 14px;
  --wine: #7A2342;
  --plum: #3A2430;
  --amber: #E2A15A;
  --ink: #171114;
  --paper: #F7F1EA;
  --sand: #F3EBE3;
  --text: #2A211E;
  --cream: #FBF7F2;
  --muted: #6E5B55;
  --muted-dark: #E6D5CC;
  --olive: #6E7354;
  --card: #fffdfb;
  --dark-card: #24181D;
  --line: rgba(122, 35, 66, .18);
  --line-light: rgba(251, 247, 242, .14);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(90, 30, 40, .12);
  --section-y: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--wine); text-decoration: none; }
a:hover { color: var(--plum); }
button, input { font-family: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 760; letter-spacing: 0; }
h1 { font-size: clamp(1.85rem, 3.2vw, 2.55rem); margin: 0 0 .45em; }
h2 { font-size: clamp(1.45rem, 2.3vw, 1.95rem); margin: 0 0 .45em; }
h3 { font-size: 1.12rem; margin: 0 0 .35em; }
section[id], #lianxi, #faq, #safety { scroll-margin-top: 112px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 241, 234, .94);
  backdrop-filter: blur(10px);
  padding: 12px 0;
}
.nav-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--plum);
  color: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-weight: 760;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
  flex: 0 0 auto;
}
.brand:hover, .brand:focus { color: var(--cream); }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--wine);
  box-shadow: inset 0 0 0 2px rgba(226, 161, 90, .7);
  flex: 0 0 auto;
}
.nav-scroll {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(251, 247, 242, .06);
  border: 1px solid var(--line-light);
  color: var(--cream);
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.nav-chip svg { width: 16px; height: 16px; fill: currentColor; }
.nav-chip:hover, .nav-chip:focus-visible {
  color: var(--cream);
  background: rgba(122, 35, 66, .55);
  border-color: rgba(226, 161, 90, .7);
  transform: translateY(-1px);
}
.nav-chip.active {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--cream);
}
.btn-main, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, filter .2s ease, border-color .2s ease;
}
.btn-main {
  background: var(--wine);
  color: var(--cream);
  flex: 0 0 auto;
}
.btn-main:hover { background: var(--plum); color: var(--cream); transform: translateY(-1px); }
.btn-main:active { filter: brightness(.92); transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(251, 247, 242, .35);
}
.btn-ghost:hover { background: var(--wine); color: var(--cream); transform: translateY(-1px); }
.btn-ghost:active { filter: brightness(.92); transform: translateY(0); }
.btn-main:focus-visible, .btn-ghost:focus-visible, .nav-chip:focus-visible, .h-card:focus-visible, .rel-link:focus-visible, .filter-chip:focus-visible, .accordion-button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.section { padding: var(--section-y) 0; }
.section-cream { background: var(--paper); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-plum { background: var(--plum); color: var(--cream); }
.muted { color: var(--muted); }
.section-dark .muted, .section-plum .muted { color: var(--muted-dark); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.section-dark .kicker, .section-plum .kicker { color: var(--amber); }
.kicker i {
  width: 18px;
  height: 2px;
  background: var(--olive);
  display: inline-block;
}
.cat-head { padding: 28px 0 36px; background: var(--paper); border-bottom: 1px solid var(--line); }
.cat-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}
.scope { max-width: 40em; margin: 0; color: var(--muted); }
.sort-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.sort-state .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(226, 161, 90, .22);
}
.filter-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.filter-group {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 14px 14px 18px;
  position: relative;
}
.filter-group::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--wine);
  border-radius: 14px 0 0 14px;
}
.filter-group p { margin: 0 0 10px; font-weight: 760; font-size: 15px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  border: 1px solid var(--line);
  background: var(--sand);
  color: var(--text);
  border-radius: 999px;
  min-height: 34px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: default;
}
.filter-chip.is-on {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--cream);
}
.list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, .72fr);
  gap: 18px;
  align-items: start;
}
.h-list { display: flex; flex-direction: column; gap: 12px; }
.h-card {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--text);
  position: relative;
  transition: transform .2s ease, border-color .2s ease;
}
.h-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--wine);
  z-index: 1;
}
.h-card:hover { transform: translateY(-2px); color: var(--text); border-color: rgba(122, 35, 66, .45); }
.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--plum);
  min-height: 128px;
}
.thumb .block, .thumb .line {
  position: absolute;
  border-radius: 8px;
}
.thumb .block { background: var(--wine); }
.thumb .line { border: 2px solid var(--olive); background: transparent; }
.thumb-a .block { width: 42%; height: 34%; left: 14%; top: 24%; }
.thumb-a .line { width: 18%; height: 48%; right: 16%; bottom: 18%; }
.thumb-b .block { width: 28%; height: 52%; left: 18%; bottom: 16%; background: #5c1b32; }
.thumb-b .line { width: 34%; height: 22%; right: 12%; top: 22%; }
.thumb-c .block { width: 54%; height: 18%; left: 12%; top: 36%; }
.thumb-c .line { width: 22%; height: 22%; right: 14%; bottom: 18%; border-radius: 50%; }
.thumb-d .block { width: 22%; height: 58%; right: 18%; top: 18%; }
.thumb-d .line { width: 36%; height: 28%; left: 14%; bottom: 18%; }
.shade {
  position: absolute;
  inset: 0;
  background: rgba(23, 17, 20, .16);
}
.dur, .badge, .source-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--text);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.4;
}
.dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
}
.h-body { padding: 14px 16px 14px 18px; }
.meta { margin: 0 0 4px; color: var(--muted); font-size: 13px; font-weight: 700; }
.h-body p:last-child { margin: 0; color: var(--text); }
.more-link {
  align-self: flex-start;
  margin-top: 4px;
  font-weight: 760;
  color: var(--wine);
  border-bottom: 2px solid var(--olive);
  padding-bottom: 2px;
}
.more-link:hover { color: var(--plum); }
.side-summary {
  position: sticky;
  top: 108px;
  background: var(--dark-card);
  color: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
  padding: 20px 18px 18px 22px;
  position: relative;
}
.side-summary::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--amber);
  border-radius: 14px 0 0 14px;
}
.side-summary h2 { font-size: 1.25rem; }
.side-summary p { color: var(--muted-dark); }
.stat-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.stat-mini div {
  background: rgba(251, 247, 242, .05);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 10px 12px;
}
.stat-mini strong { display: block; font-size: 1.25rem; color: var(--cream); line-height: 1.2; }
.stat-mini span { color: var(--muted-dark); font-size: 13px; }
.point-row {
  display: grid;
  grid-template-columns: 1.15fr .9fr .9fr;
  gap: 0;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.point {
  padding: 26px 24px 22px;
  background: var(--dark-card);
  border-left: 2px solid var(--olive);
}
.point:first-child { border-left: 0; background: #2c1c24; }
.point .num {
  display: block;
  color: var(--amber);
  font-weight: 760;
  font-size: 13px;
  margin-bottom: 8px;
}
.point p { margin: 0; color: var(--muted-dark); }
.rel-list { display: flex; flex-direction: column; }
.rel-link {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 4px;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.rel-link:first-child { border-top: 0; }
.rel-link:hover { color: var(--wine); }
.rel-link time { color: var(--muted); font-size: 14px; font-weight: 700; }
.rel-link strong { font-weight: 760; }
.rel-link em { font-style: normal; color: var(--wine); font-size: 14px; font-weight: 760; }
.def-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: start;
}
.def-list { margin: 0; }
.def-list > div {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0 16px 14px;
  border-top: 1px solid var(--line);
  position: relative;
}
.def-list > div::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 4px;
  background: var(--wine);
  border-radius: 4px;
}
.def-list > div:first-child { border-top: 0; }
.def-list dt { font-weight: 760; }
.def-list dd { margin: 0; color: var(--muted); }
.accordion { --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: #fffdfb; --bs-accordion-active-color: var(--text); }
.accordion-item {
  background: var(--card);
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.accordion-button {
  background: var(--card);
  color: var(--text);
  font-weight: 760;
  font-size: 1.02rem;
  box-shadow: none;
  padding: 16px 18px 16px 22px;
}
.accordion-button:not(.collapsed) {
  background: var(--card);
  color: var(--wine);
  box-shadow: inset 4px 0 0 var(--wine);
}
.accordion-button::after { filter: none; }
.accordion-body { color: var(--text); padding: 0 18px 16px 22px; }
.close-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  padding: 28px 28px 28px 32px;
  position: relative;
  box-shadow: var(--shadow);
}
.close-panel::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--amber);
  border-radius: 14px 0 0 14px;
}
.close-panel p { margin: 0; color: var(--muted-dark); max-width: 40em; }
.close-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.site-footer {
  background: var(--ink);
  color: var(--muted-dark);
  padding: 48px 0 28px;
  border-top: 2px solid var(--olive);
}
.foot-title { color: var(--cream); font-weight: 760; margin-bottom: 8px; }
.foot-muted { color: var(--muted-dark); margin: 0; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { color: var(--muted-dark); }
.foot-links a:hover { color: var(--amber); }
.copy-line {
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  color: var(--muted-dark);
  font-size: 14px;
}
@media (max-width: 991.98px) {
  :root { --section-y: 64px; }
  .cat-top, .list-layout, .def-wrap, .point-row, .close-panel { grid-template-columns: 1fr; display: grid; }
  .close-panel { display: flex; flex-direction: column; align-items: flex-start; }
  .point { border-left: 0; border-top: 2px solid var(--olive); }
  .point:first-child { border-top: 0; }
  .side-summary { position: static; }
  .filter-board { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  :root { --section-y: 52px; }
  body { font-size: 16px; }
  .brand { font-size: 14px; }
  .nav-panel { padding: 10px; }
  .btn-main { padding: 0 12px; min-height: 42px; }
  .h-card, .rel-link, .def-list > div { grid-template-columns: 1fr; }
  .rel-link { gap: 4px; }
  .thumb { aspect-ratio: 16 / 9; }
  .cat-top { align-items: start; }
  .sort-state { white-space: normal; }
}
@media (max-width: 520px) {
  .container { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: 1.65rem; }
  .close-panel, .h-body { padding-left: 16px; padding-right: 14px; }
}

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
