/* roulang page: index */
:root {
  --plum: #5C2A45;
  --plum-deep: #431E33;
  --pulse: #E85A8C;
  --pulse-deep: #C43B70;
  --pine: #2F6F62;
  --paper: #F7F1EA;
  --card: #FFFCF8;
  --ink: #24141C;
  --muted: #6E5560;
  --line: #E6D9CE;
  --footer: #1A1216;
  --err: #A33B4A;
  --ok: #2F6F62;
  --shadow: 0 10px 28px rgba(92, 42, 69, 0.08);
  --shadow-strong: 0 14px 32px rgba(92, 42, 69, 0.14);
  --radius: 16px;
  --demo: 20px;
  --max: 1120px;
  --pad: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "999";
  position: fixed;
  right: 3vw;
  bottom: 6vh;
  font-size: 168px;
  font-weight: 700;
  line-height: 1;
  color: rgba(92, 42, 69, 0.06);
  pointer-events: none;
  z-index: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; margin: 0 0 0.45em; }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--plum);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 80;
}
.skip:focus { top: 12px; }
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.site-nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin-top: 16px;
  background: transparent;
}
.nav-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 8px 10px 8px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease, min-height .2s ease, padding .2s ease;
}
.site-nav.is-stuck .nav-inner {
  min-height: 54px;
  box-shadow: var(--shadow-strong);
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--plum);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
  white-space: nowrap;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--pulse); }
.nav-links a.is-active { color: var(--pulse); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--pulse);
  transform: translateX(-50%);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--plum);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--plum);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
main { position: relative; z-index: 1; }
.section { padding: 76px 0; }
.section-alt { background: #fff; }
.section-head { margin-bottom: 28px; max-width: 760px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pulse);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.section-desc { color: var(--ink); max-width: 38em; }
.hero { padding: 36px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}
.sub { color: var(--muted); font-size: 18px; margin-bottom: 0.7em; }
.lead { font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
}
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { border-color: var(--pulse); color: var(--pulse); }
.btn:disabled, .btn.is-disabled {
  background: #E7DDD6;
  color: #8A7680;
  border-color: #E7DDD6;
  transform: none;
  cursor: not-allowed;
}
.hero-stage { position: relative; min-height: 420px; }
.play-card, .side-card, .panel, .zone-card, .scene, .result, .plan, .quote, .rep-item, .news-item, .news-feature, .faq-item, .form, .topic, .film-cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.play-card {
  border-radius: var(--demo);
  padding: 16px;
  position: relative;
  z-index: 2;
}
.play-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.play-screen {
  background: #2A1822;
  color: #F7F1EA;
  border-radius: 14px;
  min-height: 230px;
  padding: 16px;
  position: relative;
}
.play-screen ol { list-style: none; margin: 0; padding: 0; }
.play-screen li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(230, 217, 206, 0.2);
  font-size: 14px;
}
.play-bar { margin-top: 14px; height: 6px; border-radius: 999px; background: rgba(247, 241, 234, 0.2); }
.play-bar i { display: block; width: 42%; height: 100%; border-radius: inherit; background: var(--pulse); }
.side-card {
  position: absolute;
  right: -8px;
  width: 210px;
  padding: 14px 16px;
  z-index: 3;
}
.side-card strong { display: block; font-size: 18px; color: var(--plum); }
.side-card span { color: var(--muted); font-size: 13px; }
.side-a { top: 18px; }
.side-b { bottom: 28px; right: 36px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(47, 111, 98, 0.12);
  color: var(--pine);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}
.chip-pulse { background: rgba(232, 90, 140, 0.12); color: var(--pulse-deep); }
.zone-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 16px; }
.zone-card { padding: 28px; min-height: 220px; display: flex; flex-direction: column; transition: border-color .2s ease, box-shadow .2s ease; }
.zone-card:hover { border-color: #D7B7C4; box-shadow: var(--shadow-strong); }
.zone-card h3 { font-size: 28px; }
.zone-card p { color: var(--muted); }
.zone-card .go { margin-top: auto; color: var(--pulse); font-weight: 700; }
.func-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.panel { padding: 24px; }
.func-side { display: grid; gap: 16px; }
.panel h3 { display: flex; align-items: center; gap: 8px; }
.ico { width: 26px; height: 26px; flex: none; stroke: var(--plum); fill: none; stroke-width: 1.6; }
.search-line { display: flex; gap: 8px; margin: 12px 0; }
.search-line input {
  flex: 1;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 14px;
}
.lib-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.lib-row b { font-weight: 700; }
.lib-row em { font-style: normal; color: var(--muted); font-size: 13px; }
.scene-list { display: flex; flex-direction: column; gap: 14px; }
.scene {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.scene:hover { border-color: #D7B7C4; box-shadow: var(--shadow-strong); }
.scene .idx { font-size: 28px; font-weight: 700; color: var(--pulse); }
.scene a { color: var(--pine); font-weight: 700; white-space: nowrap; }
.demo-frame {
  border-radius: var(--demo);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 22px 28px 18px;
  position: relative;
}
.demo-frame::before, .demo-frame::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: 10px;
  background-image: radial-gradient(circle, #CDB9AE 1.5px, transparent 1.7px);
  background-size: 10px 18px;
}
.demo-frame::before { left: 8px; }
.demo-frame::after { right: 8px; }
.demo-ui { background: #2A1822; color: #F7F1EA; border-radius: 14px; padding: 18px; }
.demo-ui header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.demo-ui ul { list-style: none; margin: 0; padding: 0; }
.demo-ui li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(230,217,206,.18); font-size: 14px; }
.scrub { margin-top: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 12px; color: #E6D9CE; }
.scrub b { display: block; height: 6px; border-radius: 999px; background: rgba(247,241,234,.2); }
.scrub b i { display: block; width: 42%; height: 100%; background: var(--pulse); border-radius: inherit; }
.film-rail { display: flex; gap: 10px; overflow-x: auto; padding: 14px 2px 4px; scroll-snap-type: x mandatory; }
.film-cell { min-width: 148px; padding: 12px; scroll-snap-align: start; border-radius: 12px; }
.film-cell small { display: block; color: var(--muted); }
.topic-rail { display: flex; gap: 14px; overflow-x: auto; padding: 8px 2px 18px; }
.topic { min-width: 230px; padding: 18px; transition: border-color .2s ease, box-shadow .2s ease; }
.topic:hover { border-color: #D7B7C4; box-shadow: var(--shadow-strong); }
.topic:nth-child(odd) { transform: translateY(14px); }
.topic span { color: var(--muted); font-size: 13px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.result { padding: 26px; }
.result ol { margin: 8px 0 0; padding-left: 18px; }
.plan-grid { display: grid; grid-template-columns: 0.9fr 1.25fr 0.9fr; gap: 14px; align-items: stretch; }
.plan { padding: 22px; display: flex; flex-direction: column; }
.plan.is-mid { border-color: #E7B3C4; background: #FFF8F4; }
.plan ul { margin: 8px 0 18px; padding: 0; list-style: none; }
.plan li { padding: 7px 0 7px 16px; position: relative; border-bottom: 1px solid var(--line); }
.plan li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pine); position: absolute; left: 0; top: 16px; }
.plan .btn { margin-top: auto; }
.quote-rail { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.quote { min-width: 280px; max-width: 320px; padding: 18px; scroll-snap-align: start; }
.quote footer { margin-top: 12px; color: var(--muted); font-size: 13px; }
.rep-layout { display: grid; grid-template-columns: 240px 1fr; gap: 16px; }
.score-box { background: var(--plum); color: #fff; border-radius: var(--radius); padding: 24px; }
.score-box b { display: block; font-size: 56px; line-height: 1; color: #fff; }
.score-box span { color: #F3D5E0; }
.rep-matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rep-item { padding: 16px 18px; }
.news-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; }
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-item, .news-feature { padding: 16px 18px; transition: border-color .2s ease, box-shadow .2s ease; }
.news-item:hover, .news-feature:hover, .topic:hover { border-color: #D7B7C4; }
.news-item { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: start; }
.news-item .no { color: var(--pulse); font-weight: 700; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); }
.news-feature { min-height: 100%; display: flex; flex-direction: column; }
.news-feature .cover {
  height: 140px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(26,18,22,.15) 1px, transparent 1px),
    linear-gradient(#5C2A45, #8A3E62);
  background-size: 18px 100%, auto;
  margin-bottom: 12px;
}
.more-link { display: inline-flex; margin-top: 14px; color: var(--pulse); font-weight: 700; }
.night-band {
  background: var(--footer);
  color: #F7F1EA;
  border-radius: 24px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.night-band p { color: #E6D9CE; max-width: 40em; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { overflow: hidden; }
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item button i { font-style: normal; color: var(--pulse); }
.faq-item .ans { padding: 0 18px 16px; color: var(--ink); }
.faq-item.is-open { border-color: #E7B3C4; }
.open-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; align-items: start; }
.form { padding: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 14px; font-weight: 700; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 44px;
  transition: border-color .2s ease;
}
textarea { min-height: 96px; resize: vertical; }
input.is-invalid, textarea.is-invalid { border-color: var(--err); }
.form-msg { min-height: 1.8em; font-size: 14px; margin: 8px 0 0; }
.form-msg.is-error { color: var(--err); }
.form-msg.is-ok { color: var(--ok); }
.empty-state {
  margin-top: 8px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  text-align: center;
  background: rgba(255,252,248,.7);
}
.site-footer { background: var(--footer); color: #F3E7DF; position: relative; z-index: 1; padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr; gap: 24px; }
.site-footer a { color: #F3E7DF; }
.site-footer a:hover { color: #F3B4C8; }
.site-footer h3 { font-size: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.copyright { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(230,217,206,.2); color: #CDB9AE; font-size: 13px; }
@media (max-width: 1200px) {
  .wrap, .nav-inner { width: min(var(--max), calc(100% - 48px)); }
}
@media (max-width: 1024px) {
  .hero-grid, .func-grid, .rep-layout, .news-grid, .open-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 0; }
  .side-card { position: static; width: auto; margin-top: 12px; }
  .side-b { margin-top: 12px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
  }
  .site-nav.is-open .nav-links { display: flex; }
  .nav-links a.is-active::after { left: 18px; transform: none; }
  .zone-grid, .result-grid, .plan-grid, .rep-matrix, .foot-grid { grid-template-columns: 1fr; }
  .scene { grid-template-columns: 64px 1fr; }
  .scene a { grid-column: 2; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  h1 { font-size: 30px; }
  .night-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap, .nav-inner { width: calc(100% - 32px); }
  .panel, .zone-card, .result, .plan, .form { padding: 16px; }
  .logo { font-size: 13px; white-space: normal; line-height: 1.3; }
  .topic:nth-child(odd) { transform: none; }
  .lib-row { grid-template-columns: 1fr; }
  .film-rail, .topic-rail, .quote-rail { -webkit-overflow-scrolling: touch; }
}
@media (max-width: 520px) {
  h1 { font-size: 26px; }
  .btn { width: 100%; }
  .play-screen li, .demo-ui li { flex-direction: column; }
  .hero { padding-top: 24px; }
}

/* roulang page: category2 */
:root {
  --plum: #5C2A45;
  --plum-deep: #431E33;
  --pulse: #E85A8C;
  --pulse-deep: #C43B70;
  --pine: #2F6F62;
  --paper: #F7F1EA;
  --card: #FFFCF8;
  --ink: #24141C;
  --muted: #6E5560;
  --line: #E6D9CE;
  --footer: #1A1216;
  --err: #A33B4A;
  --ok: #2F6F62;
  --shadow: 0 10px 28px rgba(92, 42, 69, 0.08);
  --shadow-strong: 0 14px 32px rgba(92, 42, 69, 0.14);
  --radius: 16px;
  --demo: 20px;
  --max: 1120px;
  --pad: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "999";
  position: fixed;
  right: 3vw;
  bottom: 6vh;
  font-size: 168px;
  font-weight: 700;
  line-height: 1;
  color: rgba(92, 42, 69, 0.06);
  pointer-events: none;
  z-index: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 0.9em; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 700; margin: 0 0 0.45em; }
h1 { font-size: 34px; color: var(--plum); }
h2 { font-size: 26px; color: var(--plum); }
h3 { font-size: 18px; }
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.site-nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin-top: 16px;
  background: transparent;
}
.nav-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 8px 10px 8px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease, min-height .2s ease, padding .2s ease;
}
.site-nav.is-stuck .nav-inner {
  min-height: 54px;
  box-shadow: var(--shadow-strong);
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--plum);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
  white-space: nowrap;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--pulse); }
.nav-links a.is-active { color: var(--pulse); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--pulse);
  transform: translateX(-50%);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--plum);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--plum);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
main { position: relative; z-index: 1; }
.section { padding: 72px 0; }
.section-alt { background: #fff; }
.section-head { margin-bottom: 22px; max-width: 760px; }
.section-head p { color: var(--muted); margin: 0; }
.num {
  color: var(--pulse);
  font-weight: 700;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(47, 111, 98, 0.12);
  color: var(--pine);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
}
.chip-pulse { background: rgba(232, 90, 140, 0.12); color: var(--pulse-deep); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  background: transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
}
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { border-color: var(--pulse); color: var(--pulse); }
.cat-mast {
  padding: 28px 0 8px;
}
.crumb {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}
.mast-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mast-row h1 { margin: 0; max-width: 16em; }
.count-line {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
  line-height: 1.7;
}
.count-line strong { color: var(--ink); font-weight: 700; }
.filter-sec { padding: 18px 0 8px; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.filter-label {
  color: var(--muted);
  font-size: 13px;
  margin-right: 4px;
}
.chip-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.chip-btn:hover { border-color: var(--pulse); color: var(--pulse-deep); transform: translateY(-2px); }
.chip-btn.is-on {
  background: var(--pulse);
  border-color: var(--pulse);
  color: #fff;
}
.list-sec { padding-top: 36px; }
.mosaic {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tile:hover { border-color: #D7B7C4; box-shadow: var(--shadow-strong); }
.tile-big {
  grid-row: 1 / span 2;
  min-height: 320px;
  border-radius: var(--demo);
  background:
    linear-gradient(180deg, rgba(92, 42, 69, 0.04), transparent 42%),
    var(--card);
}
.tile h3 { font-size: 22px; margin: 0; }
.tile-big h3 { font-size: 28px; }
.tile p { color: var(--muted); margin: 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.progress {
  height: 6px;
  border-radius: 999px;
  background: #F0E4DC;
  overflow: hidden;
  margin-top: 8px;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--plum);
  border-radius: inherit;
}
.dense-list { margin-top: 18px; display: flex; flex-direction: column; }
.dense-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 8px;
  border-top: 1px solid var(--line);
  background: transparent;
}
.dense-item:hover h3 { color: var(--pulse-deep); }
.idx {
  font-weight: 700;
  color: var(--plum);
  font-size: 18px;
}
.dense-item h3 { font-size: 17px; margin: 0; }
.dense-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.empty-state {
  display: none;
  margin-top: 16px;
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.empty-state.is-show { display: block; }
.pick-list { display: flex; flex-direction: column; gap: 12px; }
.pick-row {
  display: grid;
  grid-template-columns: 132px 0.9fr 1.25fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pick-row:nth-child(2) { margin-left: 28px; }
.pick-row:nth-child(3) { margin-left: 8px; }
.pick-k {
  font-weight: 700;
  color: var(--plum);
}
.pick-row p { margin: 0; color: var(--ink); }
.pick-row .soft { color: var(--muted); }
.article-list { display: flex; flex-direction: column; }
.article-list a {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease;
}
.article-list a:hover { color: var(--pulse-deep); }
.article-list strong { font-weight: 700; }
.article-list span { color: var(--muted); font-size: 14px; }
.note-sec { padding: 0; }
.note-bar {
  background: var(--footer);
  color: #F6EBE4;
  padding: 22px 0;
}
.note-bar .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}
.note-bar h2 { color: #fff; font-size: 20px; margin: 0; white-space: nowrap; }
.note-bar p { margin: 0; color: #E7D5DC; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--plum);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.faq-item button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--plum);
  border-bottom: 1.5px solid var(--plum);
  transform: rotate(45deg);
  flex: none;
  transition: transform .2s ease;
}
.faq-item.is-open button::after { transform: rotate(225deg); }
.faq-item .faq-a {
  display: none;
  padding: 0 18px 16px;
  color: var(--ink);
}
.faq-item.is-open .faq-a { display: block; }
.faq-item .faq-a p { margin: 0; }
.close-sec { padding-top: 20px; }
.close-bar {
  background: var(--plum);
  color: #fff;
  border-radius: var(--demo);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-strong);
}
.close-bar h2 { color: #fff; margin: 0 0 6px; }
.close-bar p { margin: 0; color: #F6D5E0; }
.close-bar .btn-primary { background: #fff; color: var(--plum); }
.close-bar .btn-primary:hover { background: #F7E7EE; }
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--footer);
  color: #F3E6EA;
  padding: 48px 0 20px;
  margin-top: 20px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  gap: 28px;
}
.site-footer .logo { color: #fff; }
.site-footer h3 { color: #fff; font-size: 16px; }
.site-footer p { color: #D9C4CC; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #F3E6EA; }
.site-footer a:hover { color: var(--pulse); }
.copyright {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #B89AA6;
  font-size: 13px;
}
[hidden] { display: none !important; }
@media (max-width: 1200px) {
  .wrap, .nav-inner { width: min(var(--max), calc(100% - 48px)); }
}
@media (max-width: 1024px) {
  h1 { font-size: 30px; }
  .pick-row:nth-child(2), .pick-row:nth-child(3) { margin-left: 0; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
  }
  .nav-inner.is-open .nav-links { display: flex; }
  .nav-links a.is-active::after { display: none; }
  .mast-row, .note-bar .wrap, .close-bar, .foot-grid { display: block; }
  .count-line { text-align: left; margin-top: 8px; }
  .mosaic { grid-template-columns: 1fr; }
  .tile-big { grid-row: auto; min-height: 0; }
  .pick-row { grid-template-columns: 1fr; gap: 6px; }
  .article-list a { grid-template-columns: 72px 1fr; }
  .article-list a .chip { display: none; }
  .note-bar h2, .close-bar .btn { margin-top: 10px; }
  .section { padding: 56px 0; }
}
@media (max-width: 768px) {
  .dense-item { grid-template-columns: 40px 1fr; }
  .dense-item .chip { grid-column: 2; justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .wrap { width: calc(100% - 32px); }
  .nav-inner { width: calc(100% - 32px); padding-left: 14px; }
  .logo { font-size: 14px; }
  .tile, .pick-row, .close-bar { padding: 16px; }
  .tile-big h3 { font-size: 22px; }
}
@media (max-width: 520px) {
  .filter-bar { gap: 8px; }
  .chip-btn { padding: 0 12px; }
  .article-list a { grid-template-columns: 1fr; gap: 2px; }
}

/* roulang page: category1 */
:root {
  --plum: #5C2A45;
  --plum-deep: #431E33;
  --pulse: #E85A8C;
  --pulse-deep: #C43B70;
  --pine: #2F6F62;
  --paper: #F7F1EA;
  --card: #FFFCF8;
  --ink: #24141C;
  --muted: #6E5560;
  --line: #E6D9CE;
  --footer: #1A1216;
  --err: #A33B4A;
  --ok: #2F6F62;
  --shadow: 0 10px 28px rgba(92, 42, 69, 0.08);
  --shadow-strong: 0 14px 32px rgba(92, 42, 69, 0.14);
  --radius: 16px;
  --demo: 20px;
  --max: 1120px;
  --pad: 24px;
}
/* roulang page: jiujiuliankan */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "999";
  position: fixed;
  right: 3vw;
  bottom: 6vh;
  font-size: 168px;
  font-weight: 700;
  line-height: 1;
  color: rgba(92, 42, 69, 0.06);
  pointer-events: none;
  z-index: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 0.9em; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; margin: 0 0 0.45em; color: var(--plum-deep); }
h1 { font-size: 40px; letter-spacing: 0; }
h2 { font-size: 30px; }
h3 { font-size: 20px; color: var(--ink); }
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.site-nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin-top: 16px;
  background: transparent;
}
.nav-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 8px 10px 8px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease, min-height .2s ease, padding .2s ease;
}
.site-nav.is-stuck .nav-inner {
  min-height: 54px;
  box-shadow: var(--shadow-strong);
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--plum);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
  white-space: nowrap;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--pulse); }
.nav-links a.is-active { color: var(--pulse); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--pulse);
  transform: translateX(-50%);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--plum);
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--plum);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
main { position: relative; z-index: 1; }
.section { padding: 76px 0; }
.section-alt { background: #fff; }
.section-head { margin-bottom: 28px; max-width: 760px; }
.section-head p, .lead { color: var(--ink); max-width: 40em; }
.crumb { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.crumb a { color: var(--pine); font-weight: 700; }
.crumb a:hover { color: var(--pulse); }
.cat-top { padding: 34px 0 18px; }
.cat-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 22px;
  align-items: end;
}
.cond-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 14px;
}
.cond-box span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}
.cond-box strong {
  display: block;
  color: var(--plum);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pulse-deep);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}
.kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pulse);
  display: block;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  background: transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
}
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { border-color: var(--pulse); color: var(--pulse); }
.btn-line { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.btn-line:hover { border-color: var(--pulse); color: #fff; }
.btn:disabled, .btn.is-disabled {
  background: #E7DDD6;
  color: #8A7680;
  border-color: #E7DDD6;
  transform: none;
  cursor: not-allowed;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(47, 111, 98, 0.12);
  color: var(--pine);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  border: 1px solid transparent;
}
.chip-pulse { background: rgba(232, 90, 140, 0.12); color: var(--pulse-deep); }
.filter-board {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--demo);
  box-shadow: var(--shadow);
}
.filter-line { display: flex; gap: 14px; align-items: flex-start; }
.filter-name {
  flex: none;
  width: 88px;
  padding-top: 6px;
  color: var(--plum);
  font-weight: 700;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.chip-btn:hover { border-color: #D7B7C4; transform: translateY(-2px); }
.chip-btn.is-on {
  background: rgba(232, 90, 140, 0.12);
  border-color: var(--pulse);
  color: var(--pulse-deep);
}
.watch-list { display: flex; flex-direction: column; gap: 14px; }
.watch-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 16px;
  padding: 18px 18px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.watch-card:hover { border-color: #D7B7C4; box-shadow: var(--shadow-strong); }
.watch-no {
  font-size: 22px;
  font-weight: 700;
  color: var(--pulse);
  line-height: 1.2;
  padding-top: 4px;
}
.meta-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.watch-body h3 { margin-bottom: 6px; }
.watch-body h3 a:hover { color: var(--pulse); }
.summary {
  color: var(--ink);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.go { color: var(--pulse); font-weight: 700; }
.go:hover { color: var(--pulse-deep); }
.empty-state {
  padding: 28px 20px;
  border: 1px dashed #D7B7C4;
  border-radius: var(--radius);
  background: rgba(255, 252, 248, 0.8);
  text-align: left;
}
.empty-state strong { display: block; color: var(--plum); font-size: 20px; margin-bottom: 4px; }
.empty-state p { margin: 0; color: var(--muted); }
.path-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}
.path-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px 16px;
  min-height: 168px;
  position: relative;
}
.path-step em {
  font-style: normal;
  color: var(--pulse);
  font-weight: 700;
  font-size: 13px;
}
.path-step h3 { margin: 8px 0; font-size: 18px; }
.path-step p { margin: 0; color: var(--muted); font-size: 14px; }
.sprocket {
  background-image: radial-gradient(circle at 12px 18px, rgba(92,42,69,.18) 3px, transparent 4px), radial-gradient(circle at 12px calc(100% - 18px), rgba(92,42,69,.18) 3px, transparent 4px);
  background-size: 28px 100%;
  background-repeat: repeat-x;
}
.link-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.link-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
}
.link-row b { color: var(--pine); font-size: 13px; }
.link-row a.title-link { font-weight: 700; color: var(--ink); }
.link-row a.title-link:hover { color: var(--pulse); }
.link-row span { color: var(--muted); font-size: 14px; }
.excerpt {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 18px;
  align-items: stretch;
}
.quote-card, .quote-side, .faq-item, .form, .close-copy {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quote-card { padding: 28px 28px 22px; position: relative; }
.quote-card::before {
  content: "“";
  position: absolute;
  right: 22px;
  top: 0;
  font-size: 92px;
  line-height: 1;
  color: rgba(92, 42, 69, 0.07);
  font-weight: 700;
}
.quote-card p { font-size: 18px; max-width: 38em; }
.quote-card cite { display: block; margin-top: 8px; color: var(--pine); font-style: normal; font-weight: 700; }
.quote-side { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.side-stat { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-stat:last-child { border-bottom: 0; padding-bottom: 0; }
.side-stat b { display: block; color: var(--plum); font-size: 22px; }
.side-stat span { color: var(--muted); font-size: 13px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--plum-deep);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.faq-item button:hover { color: var(--pulse); }
.faq-item .mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--pulse);
  flex: none;
  font-size: 18px;
  line-height: 1;
}
.faq-item .panel { display: none; padding: 0 18px 16px; color: var(--ink); }
.faq-item.is-open .panel { display: block; }
.faq-item.is-open { border-color: #D7B7C4; }
.close-sec { background: var(--footer); color: #F7F1EA; }
.close-sec h2, .close-sec h3 { color: #fff; }
.close-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}
.close-copy {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 8px 8px 0 0;
}
.close-copy p { color: #F3E6EA; max-width: 36em; }
.form { padding: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-weight: 700; color: var(--plum); font-size: 14px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 44px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #D7B7C4; }
.field input:focus, .field textarea:focus { border-color: var(--pine); }
.form-msg { display: none; margin: 8px 0 0; font-weight: 700; }
.form-msg.is-show { display: block; }
.form-msg.is-err { color: var(--err); }
.form-msg.is-ok { color: var(--ok); }
.site-footer {
  background: var(--footer);
  color: #F3E6EA;
  padding: 48px 0 0;
  position: relative;
  z-index: 1;
}
.site-footer a { color: #F3E6EA; }
.site-footer a:hover { color: var(--pulse); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 28px; }
.site-footer h3 { margin: 0 0 10px; font-size: 16px; color: #fff; }
.site-footer p { color: #E6D5DC; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 6px 0; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 28px;
  padding: 14px 0 18px;
  color: #CDB8C2;
  font-size: 13px;
}
@media (max-width: 1200px) {
  .wrap, .nav-inner { width: min(var(--max), calc(100% - 48px)); }
}
@media (max-width: 1024px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .cat-grid, .excerpt, .close-grid { grid-template-columns: 1fr; }
  .path-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a.is-active::after { left: 18px; transform: none; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .filter-line { flex-direction: column; gap: 8px; }
  .filter-name { width: auto; padding-top: 0; }
  .path-row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }
  .path-step { min-width: 220px; scroll-snap-align: start; }
  .link-row { grid-template-columns: 1fr; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  h1 { font-size: 30px; }
  .watch-card, .quote-card, .form, .cond-box { padding: 16px; }
  .watch-card { grid-template-columns: 48px 1fr; }
}
@media (max-width: 520px) {
  .wrap, .nav-inner { width: min(var(--max), calc(100% - 24px)); }
  .logo { font-size: 14px; }
  .nav-inner { padding-left: 14px; }
  .btn { width: 100%; }
  .close-copy .btn { width: auto; }
}
