/* roulang page: index */
:root {
  --ink: #140C12;
  --bg: #F6F0EA;
  --apricot: #F8E7DA;
  --bg-alt: #1C1218;
  --card: #FFF9F5;
  --text: #241820;
  --muted: #6E5C64;
  --line: rgba(36,24,32,.12);
  --brand: #B42355;
  --brand-2: #F0A06A;
  --badge: #5E8C86;
  --plum: #3A1824;
  --link: #9E1D4A;
  --shadow: 0 18px 40px rgba(80,20,40,.12);
  --radius: 28px;
  --btn-radius: 14px;
  --space: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #7A1238; text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}
h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 0;
}
h3 { font-size: 18px; line-height: 1.45; font-weight: 700; margin-bottom: 8px; }
p { margin-bottom: 0; }
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,249,245,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.1);
}
.nav-bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.25;
  max-width: 12em;
  text-decoration: none;
}
.logo:hover { color: var(--brand); text-decoration: none; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
}
.main-nav a:hover { color: var(--link); text-decoration: underline; }
.main-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--brand);
  color: var(--ink);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  margin-left: auto;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: absolute;
  left: 11px;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.btn-main, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--btn-radius);
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-main {
  margin-left: auto;
  color: #fff;
  background: linear-gradient(135deg, #E4376A, #F0A06A);
  box-shadow: 0 8px 18px rgba(180,35,85,.18);
}
.btn-main:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  background: linear-gradient(135deg, #C81E55, #F3B07A);
  box-shadow: var(--shadow);
}
.btn-ghost {
  color: var(--brand);
  background: transparent;
  border: 1px solid rgba(180,35,85,.35);
}
.btn-ghost:hover {
  color: var(--brand);
  text-decoration: none;
  background: rgba(240,160,106,.2);
  transform: translateY(-2px);
}
.hero { background: var(--bg); padding-bottom: 72px; position: relative; }
.hero-band {
  position: relative;
  background: linear-gradient(135deg, #E4376A, #F0A06A);
  color: #fff;
  padding: 42px 0 88px;
  overflow: hidden;
}
.hero-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  height: 12px;
  background-image: radial-gradient(circle, rgba(20,12,18,.45) 3px, transparent 4px);
  background-size: 22px 12px;
  opacity: .45;
  pointer-events: none;
}
.pain { font-size: clamp(18px, 2vw, 22px); font-weight: 700; margin-bottom: 8px; }
.hero-band h1, .hero-band .sub { color: #fff; }
.hero-band .sub { font-size: 17px; max-width: 40em; opacity: .95; }
.hero-grid {
  margin-top: -52px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr .82fr;
  gap: 18px;
  align-items: start;
}
.hero-copy {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 28px 28px 24px;
}
.intro { font-size: 17px; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-actions .btn-main { margin-left: 0; }
.badge-board { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.data-badge {
  background: var(--plum);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow);
  min-height: 138px;
}
.data-badge strong {
  display: block;
  color: var(--brand-2);
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
}
.data-badge p { color: #F6F0EA; margin: 8px 0; font-size: 15px; }
.data-badge span, .chip, .meta-tag {
  display: inline-flex;
  align-items: center;
  background: var(--badge);
  color: #F6F0EA;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.6;
  font-style: normal;
}
.sec { padding: var(--space) 0; }
.sec-paper { background: var(--bg); }
.sec-apricot { background: var(--apricot); }
.sec-dark { background: var(--bg-alt); color: #F6F0EA; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark .intro, .sec-dark .muted { color: rgba(246,240,234,.78); }
.sec-head {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}
.muted { color: var(--muted); font-size: 17px; }
.topic-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 16px;
}
.topic-card, .matrix a, .entry-card, .news-row, .log-item, .series-pill {
  transition: transform .18s ease, box-shadow .18s ease;
}
.topic-card {
  scroll-snap-align: start;
  flex: 0 0 280px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 14px;
  color: var(--text);
  text-decoration: none;
}
.topic-card:hover, .matrix a:hover, .entry-card:hover, .news-row:hover, .log-item:hover, .series-pill:hover {
  transform: translateY(-4px);
  text-decoration: none;
  color: var(--text);
}
.poster {
  height: 96px;
  border-radius: 18px;
  background: var(--plum);
  position: relative;
  margin-bottom: 14px;
  overflow: hidden;
}
.poster::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 10px;
  background-image: radial-gradient(circle, #F6F0EA 2px, transparent 2.6px);
  background-size: 10px 14px;
}
.poster i {
  position: absolute;
  left: 28px; right: 16px; bottom: 16px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #E4376A, #F0A06A);
}
.poster.b { background: #4A2430; }
.poster.c { background: #2C2420; }
.poster.d { background: #3E2A28; }
.poster.e { background: #2A1C28; }
.topic-card h3 { font-size: 18px; }
.topic-card p { color: var(--muted); font-size: 15px; min-height: 3.2em; }
.matrix {
  display: grid;
  grid-template-columns: 1.45fr .9fr;
  grid-template-areas: "main side1" "main side2" "main side3";
  gap: 16px;
}
.matrix a {
  display: block;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
  color: var(--text);
  text-decoration: none;
}
.matrix .main { grid-area: main; padding: 32px 28px; background: var(--plum); color: #F6F0EA; }
.matrix .main h3, .matrix .main p { color: #F6F0EA; }
.matrix .main .chip { margin-top: 16px; }
.matrix .s1 { grid-area: side1; }
.matrix .s2 { grid-area: side2; }
.matrix .s3 { grid-area: side3; }
.matrix p, .entry-card p, .scene-band p, .compare-card li, .time-node p, .assure p, .path p { color: var(--muted); }
.matrix .main p { color: rgba(246,240,234,.82); }
.entry-card {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 18px;
  align-items: center;
  background: var(--card);
  border-radius: 32px;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
}
.entry-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.entry-num {
  background: var(--plum);
  color: var(--brand-2);
  border-radius: 22px;
  padding: 14px 16px;
  min-width: 140px;
}
.entry-num b { display: block; font-size: 32px; line-height: 1; }
.entry-num span { color: #F6F0EA; font-size: 13px; }
.scene-list { display: flex; flex-direction: column; gap: 16px; }
.scene-band {
  width: min(860px, 100%);
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}
.scene-band.right { margin-left: auto; }
.scene-band.mid { margin-left: 7%; }
.scene-band h3 { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.compare-card {
  background: var(--card);
  border-radius: 32px;
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 320px;
}
.compare-card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.compare-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.timeline {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.time-node {
  flex: 1 0 240px;
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.time-node .when { color: var(--brand); font-weight: 700; font-size: 14px; }
.time-node h3 { margin-top: 8px; }
.time-node p { color: var(--muted); }
.series-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 28px;
  align-items: start;
}
.badge-wall { display: flex; flex-wrap: wrap; gap: 12px; }
.series-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--plum);
  color: var(--brand-2);
  border-radius: 999px;
  padding: 10px 12px 10px 16px;
  text-decoration: none;
  font-weight: 700;
}
.series-pill span { font-weight: 600; }
.series-pill:hover { color: #fff; }
.news-list { display: flex; flex-direction: column; }
.news-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 8px;
  border-top: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.news-row h3 { margin-bottom: 4px; }
.news-row p { color: var(--muted); }
.news-meta { text-align: right; min-width: 120px; }
.news-meta time { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
.log-list { display: flex; flex-direction: column; gap: 12px; }
.log-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  background: var(--card);
  border-radius: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.log-item time { color: var(--brand); font-weight: 700; }
.log-item p { color: var(--muted); }
.assure {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-areas: "open clear" "open device" "note note";
  gap: 16px;
}
.assure article {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
}
.assure .a1 { grid-area: open; }
.assure .a2 { grid-area: clear; }
.assure .a3 { grid-area: device; }
.assure .a4 { grid-area: note; }
.path {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  position: relative;
}
.path li {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
}
.path .n {
  display: inline-flex;
  min-width: 42px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--plum);
  color: var(--brand-2);
  font-weight: 700;
  margin-bottom: 10px;
}
.qa-list { display: flex; flex-direction: column; }
.qa-list article {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.qa-list h3 { font-size: 17px; }
.qa-list p { color: var(--text); }
.accordion { --bs-accordion-border-color: transparent; --bs-accordion-btn-focus-box-shadow: none; }
.accordion-item {
  background: var(--card);
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  overflow: hidden;
  margin-bottom: 12px;
}
.accordion-button {
  background: var(--card);
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  padding: 18px 20px;
  box-shadow: none;
}
.accordion-button:not(.collapsed) { background: #fff; color: var(--ink); }
.accordion-button::after {
  background-image: none !important;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  margin-top: -4px;
}
.accordion-button:not(.collapsed)::after { transform: rotate(-135deg); margin-top: 4px; }
.accordion-body { font-size: 16px; line-height: 1.75; color: var(--text); padding: 0 20px 18px; }
.form-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.form-panel {
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span { font-weight: 700; }
.field input, .field select {
  width: 100%;
  min-height: 48px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 12px;
}
.form-panel .btn-main { width: 100%; margin-left: 0; }
#formState {
  min-height: 24px;
  margin-top: 12px;
  border-radius: 12px;
  padding: 8px 10px;
}
#formState:empty { display: none; }
.is-bad input, .is-bad select { border-color: var(--brand); }
.is-bad #formState { background: var(--plum); color: var(--brand-2); }
.is-ok #formState { background: var(--badge); color: #fff; }
.privacy { margin-top: 10px; color: var(--muted); font-size: 14px; }
.site-footer {
  background: var(--ink);
  color: #F6F0EA;
  padding: 42px 0 28px;
  border-top: 3px solid #F0A06A;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 20px;
}
.foot-name { font-size: 20px; font-weight: 700; color: #fff; text-decoration: none; }
.foot-name:hover { color: var(--brand-2); text-decoration: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: flex-end; align-items: center; }
.foot-links a { color: var(--brand-2); font-weight: 700; }
.copy { margin-top: 22px; color: rgba(246,240,234,.72); font-size: 14px; }
@media (max-width: 1024px) {
  .nav-toggle { display: inline-block; }
  .nav-bar { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 14px;
    margin: 0;
    box-shadow: var(--shadow);
  }
  .main-nav.show { display: flex; }
  .btn-main.nav-cta { margin-left: 0; }
  .hero-grid, .sec-head, .entry-card, .series-layout, .form-grid, .foot-grid { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .sec { padding: 40px 0; }
  .hero { padding-bottom: 40px; }
  .hero-band { padding: 28px 0 72px; }
  .matrix, .compare, .assure, .path, .qa-list article, .log-item, .news-row {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }
  .matrix .main, .matrix .s1, .matrix .s2, .matrix .s3, .assure .a1, .assure .a2, .assure .a3, .assure .a4 { grid-area: auto; }
  .scene-band, .scene-band.right, .scene-band.mid { width: 100%; margin-left: 0; }
  .news-meta { text-align: left; }
  .entry-card { padding: 22px; }
}
@media (max-width: 520px) {
  .logo { max-width: 7.5em; font-size: 14px; }
  .btn-main, .btn-ghost { min-height: 40px; padding: 8px 12px; font-size: 14px; }
  .hero-copy, .compare-card, .form-panel { padding: 18px; }
  .data-badge strong { font-size: 32px; }
  .badge-board { gap: 10px; }
  h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category1 */
:root {
 --ink: #140C12;
 --bg: #F6F0EA;
 --apricot: #F8E7DA;
 --bg-alt: #1C1218;
 --card: #FFF9F5;
 --text: #241820;
 --muted: #6E5C64;
 --line: rgba(36,24,32,.12);
 --brand: #B42355;
 --brand-2: #F0A06A;
 --badge: #5E8C86;
 --plum: #3A1824;
 --link: #9E1D4A;
 --shadow: 0 18px 40px rgba(80,20,40,.12);
 --radius: 28px;
 --btn-radius: 14px;
 --space: 72px;
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--text);
 font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #7A1238; text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
 outline: 2px solid var(--brand-2);
 outline-offset: 2px;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.25; letter-spacing: 0; font-weight: 760; }
h2 { font-size: 28px; line-height: 1.35; margin-bottom: 14px; }
h3 { font-size: 20px; line-height: 1.4; margin-bottom: 8px; }
.container {
 width: 100%;
 max-width: 1140px;
 margin-left: auto;
 margin-right: auto;
 padding-left: 16px;
 padding-right: 16px;
}
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 background: rgba(255,249,245,.96);
 border-bottom: 1px solid var(--line);
}
.nav-bar {
 min-height: 72px;
 display: flex;
 align-items: center;
 gap: 16px;
}
.logo {
 color: var(--ink);
 font-weight: 700;
 font-size: clamp(14px, 1.5vw, 18px);
 line-height: 1.25;
 max-width: 12em;
 text-decoration: none;
}
.logo:hover { color: var(--brand); text-decoration: none; }
.main-nav {
 display: flex;
 align-items: center;
 gap: 6px;
 margin-left: 8px;
}
.main-nav a {
 color: var(--ink);
 font-weight: 600;
 padding: 8px 10px;
 border-radius: 10px;
 text-decoration: none;
}
.main-nav a:hover { color: var(--link); text-decoration: underline; }
.main-nav a[aria-current="page"] {
 box-shadow: inset 0 -2px 0 var(--brand);
 color: var(--ink);
 text-decoration: none;
}
.nav-toggle {
 display: none;
 width: 42px;
 height: 42px;
 border-radius: 12px;
 border: 1px solid var(--line);
 background: var(--card);
 margin-left: auto;
 position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
 display: block;
 width: 18px;
 height: 2px;
 background: var(--ink);
 position: absolute;
 left: 11px;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.btn-main, .btn-ghost {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 10px 18px;
 border-radius: var(--btn-radius);
 font-weight: 700;
 text-decoration: none;
 border: 0;
 cursor: pointer;
 transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-main {
 margin-left: auto;
 color: #fff;
 background: linear-gradient(135deg, #E4376A, #F0A06A);
 box-shadow: 0 8px 18px rgba(180,35,85,.18);
}
.btn-main:hover {
 color: #fff;
 text-decoration: none;
 transform: translateY(-2px);
 background: linear-gradient(135deg, #C81E55, #F3B07A);
 box-shadow: var(--shadow);
}
.btn-main:active { transform: translateY(0); }
.btn-ghost {
 color: var(--brand);
 background: transparent;
 border: 1px solid rgba(180,35,85,.35);
}
.btn-ghost:hover {
 color: var(--brand);
 text-decoration: none;
 background: rgba(240,160,106,.2);
 transform: translateY(-2px);
}
.muted { color: var(--muted); font-size: 17px; }
.chip, .meta-tag {
 display: inline-flex;
 align-items: center;
 background: var(--badge);
 color: #F6F0EA;
 border-radius: 999px;
 padding: 2px 10px;
 font-size: 12px;
 line-height: 1.7;
 font-style: normal;
 border: 0;
}
.sec { padding: var(--space) 0; }
.sec-paper { background: var(--bg); }
.sec-apricot { background: var(--apricot); }
.sec-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 22px; }
.kicker { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .08em; margin-bottom: 6px; }
.cat-wrap { padding: 28px 0 8px; background: var(--bg); }
.cat-band {
 height: 8px;
 background: linear-gradient(135deg, #E4376A, #F0A06A);
 border-radius: 0 0 12px 12px;
}
.cat-head {
 display: grid;
 grid-template-columns: 1fr auto;
 gap: 22px;
 align-items: end;
 padding-top: 22px;
}
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-current="page"] { color: var(--ink); font-weight: 700; }
.cat-lead { max-width: 38em; margin: 8px 0 0; color: var(--muted); font-size: 17px; }
.mini-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.mini-badge {
 background: var(--plum);
 color: #F6F0EA;
 border-radius: 999px;
 padding: 8px 14px;
 min-width: 132px;
 box-shadow: var(--shadow);
}
.mini-badge strong { display: block; color: var(--brand-2); font-size: 18px; line-height: 1.2; }
.mini-badge em { font-style: normal; font-size: 12px; color: rgba(246,240,234,.8); }
.filter-bar { display: flex; flex-direction: column; gap: 14px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { min-width: 4.5em; font-weight: 700; color: var(--ink); }
.filter-row button {
 background: var(--card);
 color: var(--text);
 border: 1px solid var(--line);
 border-radius: 999px;
 padding: 6px 14px;
 cursor: pointer;
 transition: background .18s ease, color .18s ease, transform .18s ease;
}
.filter-row button:hover { transform: translateY(-2px); }
.filter-row button.is-on {
 background: var(--plum);
 color: var(--brand-2);
 border-color: transparent;
}
.wide-list { display: flex; flex-direction: column; gap: 16px; }
.wide-card {
 display: grid;
 grid-template-columns: 86px 1fr auto;
 gap: 18px;
 align-items: center;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 18px 20px;
}
.wide-card[hidden] { display: none !important; }
.film-mark {
 height: 92px;
 border-radius: 18px;
 background:
  radial-gradient(circle at 12px 14px, rgba(20,12,18,.55) 4px, transparent 5px),
  radial-gradient(circle at 12px 78px, rgba(20,12,18,.55) 4px, transparent 5px),
  linear-gradient(160deg, #3A1824, #B42355 55%, #F0A06A);
 background-size: auto, auto, cover;
}
.wide-card h3 { font-size: 22px; margin-bottom: 4px; }
.wide-card h3 a { color: var(--ink); text-decoration: none; }
.wide-card h3 a:hover { color: var(--link); text-decoration: underline; }
.wide-card p { margin: 0; color: var(--muted); }
.side-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 96px; }
.side-meta em { font-style: normal; color: var(--brand); font-weight: 700; }
.more-sec { padding-top: 8px; }
.more-wrap { display: flex; justify-content: flex-start; }
.point-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 18px; }
.point-card {
 border-radius: var(--radius);
 padding: 28px;
 border: 1px solid var(--line);
 box-shadow: var(--shadow);
}
.point-card.dark { background: var(--plum); color: #F6F0EA; }
.point-card.light { background: var(--card); }
.point-card ul { margin: 0; padding-left: 1.1em; }
.point-card li + li { margin-top: 8px; }
.device-stack { display: flex; flex-direction: column; gap: 16px; }
.device-band {
 display: grid;
 grid-template-columns: 180px 1fr;
 gap: 18px;
 background: var(--card);
 border-radius: var(--radius);
 border: 1px solid var(--line);
 box-shadow: var(--shadow);
 padding: 22px 24px;
}
.device-band:nth-child(2) { margin-left: 48px; }
.device-band strong { color: var(--brand); font-size: 18px; }
.rel-list { display: flex; flex-direction: column; }
.rel-row {
 display: grid;
 grid-template-columns: 1fr auto;
 gap: 16px;
 align-items: center;
 padding: 16px 4px;
 border-bottom: 1px solid var(--line);
 color: var(--text);
 text-decoration: none;
}
.rel-row:hover { color: var(--link); }
.rel-row small { color: var(--muted); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
 background: var(--card);
 border-radius: 18px;
 border: 1px solid var(--line);
 padding: 14px 18px;
 box-shadow: 0 8px 20px rgba(80,20,40,.06);
}
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list details p { margin: 8px 0 0; color: var(--muted); }
.site-footer { background: var(--bg-alt); color: #F6F0EA; padding: 48px 0 28px; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot-name { color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }
.foot-name:hover { color: var(--brand-2); text-decoration: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.foot-links a { color: #F6F0EA; text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--brand-2); text-decoration: underline; }
.copy { color: rgba(246,240,234,.72); margin: 8px 0 0; }
@media (min-width: 1025px) {
  #mainNav.collapse { display: flex !important; height: auto !important; visibility: visible; }
}
@media (max-width: 1024px) {
  :root { --space: 56px; }
  .nav-toggle { display: inline-block; }
  .nav-cta { margin-left: 8px; }
  #mainNav.collapse:not(.show) { display: none; }
  #mainNav.collapse.show {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,249,245,.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 16px 16px;
    margin: 0;
  }
  .point-grid { grid-template-columns: 1fr; }
  .device-band:nth-child(2) { margin-left: 24px; }
}
@media (max-width: 768px) {
  :root { --space: 40px; }
  h2 { font-size: 24px; }
  .cat-head, .sec-head, .foot-grid, .rel-row, .wide-card, .device-band {
    grid-template-columns: 1fr;
    display: grid;
  }
  .mini-badges, .side-meta { justify-content: flex-start; align-items: flex-start; }
  .device-band:nth-child(2) { margin-left: 0; }
  .film-mark { height: 14px; background-size: 22px 14px, 22px 14px, cover; }
}
@media (max-width: 520px) {
  .logo { font-size: 13px; max-width: 8.2em; }
  .nav-cta { padding: 8px 10px; min-height: 40px; font-size: 14px; }
  .nav-bar { gap: 8px; }
  .wide-card, .point-card, .device-band { padding: 16px; border-radius: 20px; }
  .filter-label { min-width: 100%; }
}

/* 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}
