/* roulang page: index */
:root {
  --ink: #241428;
  --bg: #F7F1EA;
  --night: #1B1322;
  --accent: #E36A2E;
  --accent-deep: #C4531E;
  --celadon: #2E8C78;
  --plum: #F3D7C8;
  --text: #241820;
  --muted: #6B5E66;
  --line: #E4D5CB;
  --night-text: #F7F1EA;
  --night-muted: #E4D2C8;
  --radius-wrap: 20px;
  --radius-card: 16px;
  --radius-btn: 12px;
  --radius-pill: 999px;
  --shadow: 0 10px 28px rgba(36, 20, 40, .08);
  --shadow-hover: 0 16px 34px rgba(36, 20, 40, .14);
  --space-section: 84px;
  --wrap: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  padding-top: 104px;
}
img, svg { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: 16px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 40px; line-height: 1.25; letter-spacing: .01em; font-weight: 760; }
h2 { font-size: 28px; line-height: 1.35; font-weight: 740; }
h3 { font-size: 18px; line-height: 1.45; font-weight: 700; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.section { padding: var(--space-section) 0; }
.section-night { background: var(--night); color: var(--night-text); }
.section-night .muted, .section-night .lead, .section-night .section-desc { color: var(--night-muted); }
.section-plum { background: #F8E8DF; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-desc { margin-top: 12px; color: var(--muted); }
.muted { color: var(--muted); font-size: 13px; line-height: 1.7; }
.dock-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}
.dock {
  width: min(var(--wrap), 100%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 16px;
  background: rgba(247, 241, 234, .92);
  border: 1px solid var(--line);
  border-radius: var(--radius-wrap);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 780;
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
}
.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background:
    radial-gradient(circle at 6px 11px, transparent 3px, #241428 3.5px) left center / 8px 22px repeat-y,
    var(--accent);
  flex: 0 0 auto;
}
.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius-btn);
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.nav-links a:hover { background: rgba(227, 106, 46, .12); }
.nav-links a:active { transform: translateY(1px); }
.nav-links a.is-active { background: var(--accent); color: var(--ink); }
.dock-search { display: flex; align-items: center; }
.dock-search input, .field input, .field select {
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-btn);
  padding: 0 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dock-search input { width: 168px; }
.dock-search input:focus, .field input:focus, .field select:focus {
  border-color: var(--celadon);
  box-shadow: 0 0 0 3px rgba(46, 140, 120, .2);
}
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--ink);
  font-weight: 720;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--celadon);
  outline-offset: 2px;
}
.btn-ghost {
  background: transparent;
  color: var(--night-text);
  border-color: rgba(243, 215, 200, .7);
}
.btn-ghost:hover { background: rgba(243, 215, 200, .14); color: var(--night-text); }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  background: var(--plum);
  color: var(--ink);
}
.badge-orange { background: var(--accent); color: var(--ink); }
.badge-green { background: var(--celadon); color: #F7F1EA; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: center;
}
.sub { margin: 12px 0; font-size: 18px; color: var(--plum); font-weight: 680; }
.lead { margin: 8px 0 22px; max-width: 640px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.poster-stage {
  position: relative;
  border-radius: var(--radius-wrap);
  border: 1px solid rgba(243, 215, 200, .35);
  background:
    linear-gradient(#1B1322, #1B1322) padding-box,
    repeating-linear-gradient(180deg, #E36A2E 0 10px, #241428 10px 18px) border-box;
  padding: 22px 26px;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.poster-stage::before, .poster-stage::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 12px;
  background: radial-gradient(circle, #F7F1EA 3px, transparent 3.5px) center / 12px 18px repeat-y;
}
.poster-stage::before { left: 8px; }
.poster-stage::after { right: 8px; }
.chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.chip {
  background: rgba(247, 241, 234, .08);
  border: 1px solid rgba(228, 213, 203, .35);
  border-radius: var(--radius-card);
  padding: 16px;
  min-height: 112px;
}
.chip b { display: block; font-size: 32px; line-height: 1.1; color: #F7F1EA; }
.chip span { display: block; margin-top: 6px; color: var(--plum); font-size: 13px; }
.ribbon {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: var(--radius-card);
  background: linear-gradient(90deg, rgba(227, 106, 46, .95), rgba(227, 106, 46, .72));
  color: var(--ink);
}
.ribbon strong { font-size: 18px; }
.count {
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  font-weight: 780;
  letter-spacing: .04em;
  background: #241428;
  color: #F7F1EA;
  border-radius: 12px;
  padding: 4px 10px;
}
.matrix {
  display: grid;
  grid-template-columns: 1.45fr .9fr;
  grid-template-areas: "long quality" "topic quality";
  gap: 18px;
}
.card-long { grid-area: long; }
.card-topic { grid-area: topic; }
.card-quality { grid-area: quality; }
.card, .news-feature, .news-side article, .qa, .device, .guard, .channel-card, .form-card, .scene {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.card { padding: 22px; transition: box-shadow .2s ease; }
.card:hover, .news-feature:hover, .news-side article:hover, .scene:hover, .channel-card:hover, .device:hover {
  box-shadow: var(--shadow-hover);
}
.card p, .scene p, .device p, .guard p, .channel-card p { margin-top: 8px; color: var(--muted); }
.card-quality { background: #241428; color: var(--night-text); border-color: #241428; }
.card-quality p { color: var(--night-muted); }
.film-bar { margin-top: 18px; height: 8px; border-radius: 999px; background: rgba(243, 215, 200, .25); overflow: hidden; }
.film-bar i { display: block; height: 100%; width: 76%; background: var(--accent); }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.compare-col {
  padding: 22px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: #fff;
}
.compare-col h3 { margin-bottom: 8px; }
.meter { margin-top: 14px; }
.meter em { display: flex; justify-content: space-between; font-style: normal; font-size: 13px; color: var(--muted); }
.track { margin-top: 6px; height: 10px; border-radius: 999px; background: #F3E7DF; border: 1px solid var(--line); overflow: hidden; }
.track span { display: block; height: 100%; border-radius: inherit; background: #C9B8B0; }
.compare-col.better { background: #241428; color: var(--night-text); border-color: #241428; }
.compare-col.better em { color: var(--plum); }
.compare-col.better .track { background: rgba(247, 241, 234, .12); border-color: transparent; }
.compare-col.better .track span { background: var(--celadon); }
.timeline {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.node {
  min-width: 240px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.node::before {
  content: "";
  display: block;
  width: 36px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: 12px;
}
.node:nth-child(2)::before { background: var(--celadon); }
.node:nth-child(3)::before { background: #241428; }
.node:nth-child(4)::before { background: var(--plum); border: 1px solid var(--line); }
.node p { margin-top: 8px; color: var(--muted); }
.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}
.poster-card {
  min-width: 240px;
  scroll-snap-align: start;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease;
}
.poster-card:hover { box-shadow: var(--shadow-hover); }
.poster {
  height: 168px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: #F7F1EA;
}
.poster .holes {
  position: absolute;
  inset: 0 auto 0 0;
  width: 14px;
  background: radial-gradient(circle, rgba(247,241,234,.9) 3px, transparent 3.4px) 4px 8px / 12px 16px repeat-y;
}
.poster b { position: relative; z-index: 1; font-size: 18px; }
.p1 { background: linear-gradient(160deg, #241428, #E36A2E); }
.p2 { background: linear-gradient(160deg, #1B1322, #2E8C78); }
.p3 { background: linear-gradient(160deg, #3A2430, #F3D7C8); color: #241428; }
.p4 { background: linear-gradient(160deg, #241428 20%, #C4531E 80%); }
.p5 { background: linear-gradient(160deg, #16382F, #F7F1EA); color: #241428; }
.poster-card p { padding: 12px 14px 16px; color: var(--muted); font-size: 14px; }
.scene-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.scene { padding: 22px; }
.scene-tall { grid-row: span 2; min-height: 420px; background: #241428; color: var(--night-text); border-color: #241428; display: flex; flex-direction: column; justify-content: flex-end; }
.scene-tall p { color: var(--night-muted); }
.scene-mid { min-height: 200px; }
.scene-short { min-height: 168px; background: #FFF9F5; }
.news-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.news-feature, .news-side article { padding: 22px; display: block; }
.news-feature h3 { font-size: 26px; line-height: 1.4; }
.news-side { display: grid; gap: 12px; }
.news-more { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.more-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-btn);
  background: var(--ink);
  color: #F7F1EA;
  font-weight: 700;
}
.more-link:hover { background: var(--accent); color: var(--ink); }
.device-grid, .guard-grid, .qa-grid, .channel-grid { display: grid; gap: 16px; }
.device-grid { grid-template-columns: repeat(3, 1fr); }
.device, .guard, .qa { padding: 18px; }
.screen {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #241428;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}
.screen i { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 6px; border-radius: 99px; background: rgba(247,241,234,.2); }
.screen i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--accent); border-radius: inherit; }
.phone { height: 180px; width: 104px; }
.pad { height: 150px; }
.desk { height: 120px; }
.guard-grid { grid-template-columns: repeat(4, 1fr); }
.section-night .guard { background: rgba(247, 241, 234, .04); color: var(--night-text); border-color: rgba(228, 213, 203, .25); box-shadow: none; }
.section-night .guard p { color: var(--night-muted); }
.icon-line { width: 36px; height: 36px; margin-bottom: 10px; }
.qa-grid { grid-template-columns: 1fr 1fr; }
.qa h3 { font-size: 18px; }
.qa p { margin-top: 8px; }
.history { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 10px; }
.history article { position: relative; padding: 0 0 22px 22px; }
.history article::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
}
.progress-line { margin-top: 8px; height: 8px; border-radius: 99px; background: #F3E7DF; border: 1px solid var(--line); }
.progress-line span { display: block; height: 100%; background: var(--celadon); border-radius: inherit; }
.faq { display: grid; gap: 10px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 0 16px;
}
.faq summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 720;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--accent); font-size: 22px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 14px; color: var(--muted); }
.channel-grid { grid-template-columns: 1.2fr .8fr; }
.channel-card { padding: 24px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; }
.channel-card.alt {
  background: #241428;
  color: var(--night-text);
  border-color: #241428;
  min-height: 300px;
}
.channel-card.alt p { color: var(--night-muted); }
.form-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; align-items: start; }
.form-card { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--muted); }
.form-card .btn { width: 100%; }
.form-success {
  grid-column: 1 / -1;
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(46, 140, 120, .12);
  color: #1C5C4E;
  border: 1px solid rgba(46, 140, 120, .35);
}
.hint { color: var(--accent-deep); font-size: 13px; }
.site-footer { background: #241428; color: var(--night-text); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr; gap: 24px; }
.site-footer a { color: var(--plum); }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 8px; }
.copy { margin-top: 26px; padding-top: 14px; border-top: 1px solid rgba(228, 213, 203, .25); font-size: 13px; color: var(--night-muted); }
.mobile-dock, .mobile-panel { display: none; }
@media (max-width: 1024px) {
  h1 { font-size: 36px; }
  .dock-search input { width: 120px; }
  .nav-links a { padding: 0 8px; }
  .guard-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .news-layout, .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --space-section: 48px; }
  body { padding-top: 20px; padding-bottom: 92px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  .dock-wrap { display: none; }
  .mobile-dock {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 50;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(247, 241, 234, .96);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .mobile-dock .logo { font-size: 13px; flex: 1; }
  .mobile-panel {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 84px;
    z-index: 50;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
  }
  .mobile-panel.is-open { display: grid; gap: 8px; }
  .mobile-panel a, .mobile-panel input { min-height: 44px; }
  .mobile-panel a { display: flex; align-items: center; padding: 0 10px; border-radius: 12px; }
  .mobile-panel a.is-active { background: var(--accent); }
  .matrix, .compare, .scene-grid, .device-grid, .qa-grid, .channel-grid, .news-more, .form-card, .footer-grid {
    grid-template-columns: 1fr;
  }
  .matrix { grid-template-areas: "long" "topic" "quality"; }
  .scene-tall { grid-row: auto; min-height: 240px; }
  .form-card .field.full, .form-card .btn, .form-success, .hint { grid-column: auto; }
}
@media (max-width: 520px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .chip b { font-size: 26px; }
  .count { font-size: 22px; }
  .ribbon { align-items: flex-start; }
  .news-feature h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --ink: #241428;
  --bg: #F7F1EA;
  --night: #1B1322;
  --accent: #E36A2E;
  --accent-deep: #C4531E;
  --celadon: #2E8C78;
  --plum: #F3D7C8;
  --text: #241820;
  --muted: #6B5E66;
  --line: #E4D5CB;
  --night-text: #F7F1EA;
  --night-muted: #E4D2C8;
  --radius-wrap: 20px;
  --radius-card: 16px;
  --radius-btn: 12px;
  --radius-pill: 999px;
  --shadow: 0 10px 28px rgba(36, 20, 40, .08);
  --shadow-hover: 0 16px 34px rgba(36, 20, 40, .14);
  --space-section: 84px;
  --wrap: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  padding-top: 104px;
}
img, svg { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: 16px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 40px; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
h2 { font-size: 28px; line-height: 1.35; color: var(--ink); }
h3 { font-size: 18px; line-height: 1.45; color: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.section { padding: var(--space-section) 0; }
.section-night { background: var(--night); color: var(--night-text); }
.section-night h2, .section-night h3 { color: var(--night-text); }
.section-night .muted, .section-night .section-desc { color: var(--night-muted); }
.section-plum { background: #F8E8DF; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-desc { margin-top: 12px; color: var(--muted); }
.muted { color: var(--muted); font-size: 13px; line-height: 1.7; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 780;
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
}
.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background:
    radial-gradient(circle at 6px 11px, transparent 3px, #241428 3.5px) left center / 8px 22px repeat-y,
    var(--accent);
  flex: 0 0 auto;
}
.dock-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}
.dock {
  width: min(1120px, 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 16px;
  background: rgba(247, 241, 234, .92);
  border: 1px solid var(--line);
  border-radius: var(--radius-wrap);
  box-shadow: var(--shadow);
}
.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius-btn);
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.nav-links a:hover { background: rgba(227, 106, 46, .12); }
.nav-links a:active { transform: translateY(1px); }
.nav-links a.is-active { background: var(--accent); color: var(--ink); }
.dock-search { display: flex; align-items: center; }
.dock-search input, .field input, .field select {
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-btn);
  padding: 0 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dock-search input { width: 168px; }
.dock-search input:focus, .field input:focus, .field select:focus {
  border-color: var(--celadon);
  box-shadow: 0 0 0 3px rgba(46, 140, 120, .2);
}
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--ink);
  font-weight: 720;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--celadon);
  outline-offset: 2px;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  background: var(--plum);
  color: var(--ink);
}
.badge-orange { background: var(--accent); color: var(--ink); }
.badge-green { background: var(--celadon); color: #F7F1EA; }
.page-kicker {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.lead { margin-top: 10px; max-width: 28em; color: var(--text); font-size: 16px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.filter-bar button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.filter-bar button:hover { border-color: var(--accent); }
.filter-bar button:active { transform: translateY(1px); }
.filter-bar button.is-on { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 720; }
.open-ribbon {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--night);
  color: var(--night-text);
  box-shadow: var(--shadow);
}
.open-ribbon .muted { color: var(--plum); }
.ribbon-kicker {
  background: var(--accent);
  color: var(--ink);
  border-radius: var(--radius-pill);
  min-height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}
.ok-note { color: var(--plum); font-size: 13px; }
.poster-list { display: flex; flex-direction: column; gap: 16px; }
.poster-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease;
}
.poster-row:hover { box-shadow: var(--shadow-hover); }
.poster-frame {
  position: relative;
  min-height: 168px;
  border-radius: 14px;
  border: 1px solid rgba(243, 215, 200, .45);
  background:
    linear-gradient(#1B1322, #1B1322) padding-box,
    repeating-linear-gradient(180deg, #E36A2E 0 8px, #241428 8px 16px) border-box;
  padding: 16px 22px;
  color: var(--night-text);
  overflow: hidden;
}
.poster-frame::before, .poster-frame::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 10px;
  background: radial-gradient(circle, #F7F1EA 2.5px, transparent 3px) center / 10px 16px repeat-y;
}
.poster-frame::before { left: 6px; }
.poster-frame::after { right: 6px; }
.poster-frame .badge { position: relative; z-index: 1; }
.frame-name { position: relative; z-index: 1; margin-top: 28px; font-size: 20px; font-weight: 760; }
.frame-meta { position: relative; z-index: 1; color: var(--plum); font-size: 13px; }
.swatch {
  position: absolute;
  right: 22px;
  bottom: 16px;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--plum), var(--accent) 55%, var(--celadon));
}
.progress {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(247, 241, 234, .18);
  overflow: hidden;
}
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.poster-copy { padding: 8px 8px 8px 0; display: flex; flex-direction: column; gap: 8px; }
.poster-copy p { color: var(--muted); }
.row-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.poster-copy .btn { align-self: flex-start; margin-top: 6px; }
.empty-note {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
  color: var(--muted);
}
.band-list { display: flex; flex-direction: column; gap: 14px; }
.band {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.band-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.band-track { margin-top: 10px; height: 8px; border-radius: var(--radius-pill); background: #F3E7DE; overflow: hidden; }
.band-track > span { display: block; height: 100%; background: var(--celadon); border-radius: inherit; }
.band:nth-child(2) .band-track > span { background: var(--accent); width: 72%; }
.band:nth-child(3) .band-track > span { background: var(--ink); width: 100%; }
.resume-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-top: 18px; }
.resume-card, .quality-card, .article, .scene, .qa {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.resume-card { padding: 20px; }
.resume-card p { margin-top: 8px; color: var(--muted); }
.minute-list { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.minute-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.quality-wrap { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 760px; }
.quality-card { padding: 16px 18px; }
.quality-card h3 { margin-bottom: 8px; }
.bar-row { display: grid; grid-template-columns: 92px 1fr 42px; gap: 10px; align-items: center; margin-top: 8px; font-size: 13px; color: var(--muted); }
.bar-line { height: 8px; border-radius: var(--radius-pill); background: rgba(228, 213, 203, .7); overflow: hidden; }
.bar-line > i { display: block; height: 100%; width: var(--w); background: var(--accent); border-radius: inherit; }
.quality-card.better { background: var(--night); color: var(--night-text); border-color: #241428; }
.quality-card.better .bar-row { color: var(--plum); }
.quality-card.better .bar-line { background: rgba(247, 241, 234, .14); }
.quality-card.better .bar-line > i { background: var(--celadon); }
.article-list { display: flex; flex-direction: column; gap: 12px; }
.article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 18px 18px 18px 0;
  transition: box-shadow .2s ease;
}
.article:hover { box-shadow: var(--shadow-hover); }
.article-no {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  font-weight: 780;
  font-size: 18px;
}
.article p { margin-top: 6px; color: var(--muted); }
.scene-grid { display: grid; grid-template-columns: 1.25fr .85fr .95fr; gap: 16px; align-items: start; }
.scene { padding: 20px; transition: box-shadow .2s ease; }
.scene:hover { box-shadow: var(--shadow-hover); }
.scene p { margin-top: 8px; color: var(--muted); }
.scene-night { background: #241428; color: var(--night-text); border-color: #241428; min-height: 250px; }
.scene-night p { color: var(--night-muted); }
.scene-mid { min-height: 190px; margin-top: 28px; }
.scene-late { min-height: 220px; background: #fffaf6; }
.qa-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qa { padding: 18px 18px 16px; }
.qa p { margin-top: 8px; color: var(--muted); }
.more-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-wrap);
  background: #fff;
  box-shadow: var(--shadow);
}
.site-footer { background: var(--night); color: var(--night-text); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 28px; }
.site-footer h3 { margin: 0 0 12px; font-size: 16px; color: var(--night-text); }
.site-footer .muted { color: var(--night-muted); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { min-height: 36px; display: inline-flex; align-items: center; color: var(--night-muted); }
.footer-links a:hover { color: var(--plum); }
.copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(228, 213, 203, .25); color: var(--night-muted); font-size: 13px; }
[hidden] { display: none !important; }
@media (max-width: 1024px) {
  .page-kicker, .resume-grid, .scene-grid, .footer-grid { grid-template-columns: 1fr; display: grid; }
  .scene-mid { margin-top: 0; }
  .poster-row { grid-template-columns: 180px 1fr; }
}
@media (max-width: 768px) {
  :root { --space-section: 52px; }
  body { padding-top: 92px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  .dock { gap: 8px; overflow-x: auto; }
  .dock-search input { width: 128px; }
  .nav-links a, .btn, .filter-bar button { min-height: 44px; }
  .poster-row, .article, .qa-list { grid-template-columns: 1fr; }
  .article { padding: 16px; }
  .more-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  :root { --space-section: 44px; }
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .logo { font-size: 13px; }
  .dock-search { display: none; }
  .poster-frame { min-height: 140px; }
}

/* roulang page: category2 */
:root {
  --ink: #241428;
  --bg: #F7F1EA;
  --night: #1B1322;
  --accent: #E36A2E;
  --accent-deep: #C4531E;
  --celadon: #2E8C78;
  --plum: #F3D7C8;
  --text: #241820;
  --muted: #6B5E66;
  --line: #E4D5CB;
  --night-text: #F7F1EA;
  --night-muted: #E4D2C8;
  --radius-wrap: 20px;
  --radius-card: 16px;
  --radius-btn: 12px;
  --radius-pill: 999px;
  --shadow: 0 10px 28px rgba(36, 20, 40, .08);
  --shadow-hover: 0 16px 34px rgba(36, 20, 40, .14);
  --space-section: 84px;
  --wrap: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}
/* roulang page: category2 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  padding-top: 104px;
}
img, svg { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: 16px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 40px; line-height: 1.25; font-weight: 760; color: var(--ink); }
h2 { font-size: 28px; line-height: 1.35; font-weight: 740; }
h3 { font-size: 18px; line-height: 1.45; font-weight: 720; }
::selection { background: var(--plum); color: var(--ink); }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.section { padding: var(--space-section) 0; }
.section-night { background: var(--night); color: var(--night-text); }
.section-night .muted, .section-night .section-desc { color: var(--night-muted); }
.section-plum { background: #F8E8DF; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-desc { margin-top: 12px; color: var(--muted); }
.muted { color: var(--muted); font-size: 13px; line-height: 1.7; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 780;
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
}
.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background:
    radial-gradient(circle at 6px 11px, transparent 3px, #241428 3.5px) left center / 8px 22px repeat-y,
    var(--accent);
  flex: 0 0 auto;
}
.dock-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.dock {
  pointer-events: auto;
  width: min(1120px, 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  background: rgba(247, 241, 234, .92);
  border: 1px solid var(--line);
  border-radius: var(--radius-wrap);
  box-shadow: var(--shadow);
}
.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius-btn);
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.nav-links a:hover { background: rgba(227, 106, 46, .12); }
.nav-links a:active { transform: translateY(1px); }
.nav-links a.is-active { background: var(--accent); color: var(--ink); }
.dock-search { display: flex; align-items: center; }
.dock-search input, .field input, .field select {
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-btn);
  padding: 0 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dock-search input { width: 168px; }
.dock-search input:focus, .field input:focus, .field select:focus {
  border-color: var(--celadon);
  box-shadow: 0 0 0 3px rgba(46, 140, 120, .2);
}
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--ink);
  font-weight: 720;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--celadon);
  outline-offset: 2px;
}
.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-line:hover { background: var(--plum); color: var(--ink); }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  background: var(--plum);
  color: var(--ink);
}
.badge-orange { background: var(--accent); color: var(--ink); }
.badge-green { background: var(--celadon); color: #F7F1EA; }
.h1-band {
  display: grid;
  grid-template-columns: 1.35fr .72fr;
  gap: 32px;
  align-items: end;
}
.lead { margin-top: 14px; max-width: 640px; font-size: 16px; }
.kicker { margin-bottom: 14px; }
.ribbon {
  background: var(--accent);
  color: var(--ink);
  border-radius: var(--radius-card);
  border: 1px solid rgba(36, 20, 40, .12);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  transform: rotate(-1.2deg);
}
.ribbon b { display: block; font-size: 32px; line-height: 1.15; margin: 4px 0; }
.ribbon span { display: block; font-size: 13px; }
.topic-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 18px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: box-shadow .2s ease;
}
.topic-card:hover { box-shadow: var(--shadow-hover); }
.topic-night {
  min-height: 460px;
  background: #241428;
  color: var(--night-text);
  border-color: #241428;
}
.topic-city { min-height: 230px; background: #3A2A32; color: var(--night-text); border-color: #3A2A32; }
.topic-coast { background: #1E4F46; color: var(--night-text); border-color: #1E4F46; }
.topic-rain { background: #F7F1EA; }
.topic-lane { background: #F3D7C8; min-height: 190px; }
.topic-weekend { background: #fff; min-height: 190px; }
.topic-card p { color: inherit; opacity: .88; }
.topic-night p, .topic-city p, .topic-coast p { color: var(--night-muted); opacity: 1; }
.poster {
  position: relative;
  border-radius: 14px;
  min-height: 168px;
  border: 1px solid rgba(243, 215, 200, .35);
  background:
    linear-gradient(160deg, rgba(227, 106, 46, .9), rgba(27, 19, 34, .2) 42%, rgba(46, 140, 120, .55)),
    repeating-linear-gradient(90deg, rgba(247, 241, 234, .18) 0 8px, transparent 8px 18px);
  margin-bottom: 8px;
}
.poster::before, .poster::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 12px;
  background: radial-gradient(circle, #F7F1EA 3px, transparent 3.5px) center / 12px 18px repeat-y;
}
.poster::before { left: 6px; }
.poster::after { right: 6px; }
.poster-slim { min-height: 84px; }
.card-top, .card-actions, .badge-row, .btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.card-top { justify-content: space-between; }
.index-no { font-size: 13px; letter-spacing: .08em; opacity: .75; }
.progress {
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(243, 215, 200, .35);
  overflow: hidden;
  border: 1px solid rgba(228, 213, 203, .45);
}
.progress i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.topic-rain .progress, .topic-lane .progress, .topic-weekend .progress { background: rgba(36, 20, 40, .08); }
.rhythm-scroll { overflow-x: auto; padding-bottom: 6px; }
.rhythm {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 8px 0 0;
  min-width: 720px;
}
.rhythm li {
  flex: 1;
  min-width: 160px;
  position: relative;
  padding: 22px 16px 0 0;
}
.rhythm li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: rgba(243, 215, 200, .45);
}
.rhythm li::after {
  content: "";
  position: absolute;
  left: 0;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--night-text);
}
.rhythm b { display: block; font-size: 18px; }
.rhythm span { display: block; color: var(--night-muted); font-size: 14px; margin-top: 4px; }
.device {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: box-shadow .2s ease;
}
.device:hover { box-shadow: var(--shadow-hover); }
.device p { margin-top: 8px; color: var(--muted); }
.device-phone { min-height: 250px; }
.device-pad { min-height: 220px; margin-top: 18px; }
.device-desk { min-height: 280px; }
.frame {
  margin: 12px 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--night);
  position: relative;
  overflow: hidden;
}
.frame-phone { height: 96px; width: 58%; }
.frame-pad { height: 78px; }
.frame-desk { height: 110px; }
.frame i {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 6px;
  border-radius: 999px;
  background: rgba(247, 241, 234, .2);
}
.frame i::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--w, 60%);
  background: var(--celadon);
  border-radius: inherit;
}
.legend { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.compare-col {
  padding: 22px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.compare-col h3 { margin: 10px 0 14px; }
.compare-col.better { background: #241428; color: var(--night-text); border-color: #241428; }
.bar-row { margin-top: 12px; }
.bar-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bar {
  margin-top: 6px;
  height: 8px;
  border-radius: 999px;
  background: var(--plum);
  overflow: hidden;
}
.bar i { display: block; height: 100%; width: var(--w); background: var(--accent); }
.compare-col.better .bar { background: rgba(247, 241, 234, .14); }
.compare-col.better .bar i { background: var(--celadon); }
.compare-col.better .muted { color: var(--night-muted); }
.qa {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 22px;
}
.qa p { margin-top: 8px; color: var(--muted); }
.qa-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: start; }
.qa-grid article:last-child { margin-top: 36px; }
.form-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; align-items: start; }
.form-card {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 22px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); }
.field-full { grid-column: 1 / -1; }
.form-ok {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-btn);
  background: rgba(46, 140, 120, .12);
  border: 1px solid var(--celadon);
  color: var(--ink);
}
.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-link {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease, transform .2s ease;
}
.article-link:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.article-link strong { display: block; font-size: 18px; }
.article-link p { color: var(--muted); font-size: 14px; }
.swatch {
  height: 64px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, var(--accent), transparent 55%),
    var(--night);
}
.swatch-b { background: linear-gradient(135deg, var(--celadon), transparent 50%), #3A2A32; }
.swatch-c { background: linear-gradient(135deg, var(--plum), transparent 40%), #241428; }
.site-footer { background: var(--night); color: var(--night-text); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 28px; }
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-links a { color: var(--plum); min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: #fff; }
.site-footer h3 { font-size: 16px; margin-bottom: 8px; }
.copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(228, 213, 203, .25);
  color: var(--night-muted);
  font-size: 13px;
}
@media (max-width: 1024px) {
  .dock { flex-wrap: wrap; }
  .nav-links { order: 4; flex: 1 1 100%; overflow-x: auto; }
  .dock-search { flex: 1; }
  .dock-search input { width: 100%; }
  body { padding-top: 156px; }
  .h1-band, .form-layout, .footer-grid { grid-template-columns: 1fr; }
  .device-pad { margin-top: 0; }
}
@media (max-width: 768px) {
  .qa-grid { grid-template-columns: 1fr; }
  .qa-grid article:last-child { margin-top: 0; }
  .article-link { grid-template-columns: 72px 1fr; }
  .article-link .badge { display: none; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
}
@media (max-width: 640px) {
  :root { --space-section: 48px; }
  body { padding-top: 188px; }
  .form-grid { grid-template-columns: 1fr; }
  .ribbon { transform: none; }
  .topic-night { min-height: 0; }
  .device-phone, .device-pad, .device-desk { min-height: 0; }
}
