/* roulang page: index */
:root {
  --plum: #6B2D5B;
  --persimmon: #E07A4C;
  --ink: #1C3F3A;
  --paper: #F7F2EB;
  --card: #FFFCF8;
  --text: #2A211C;
  --muted: #6E6258;
  --line: #E7DDD2;
  --grad: linear-gradient(120deg, #6B2D5B 0%, #E07A4C 100%);
  --grad-rev: linear-gradient(120deg, #E07A4C 0%, #6B2D5B 100%);
  --shadow: 0 16px 36px rgba(90, 48, 36, 0.08);
  --shadow-hover: 0 18px 40px rgba(90, 48, 36, 0.14);
  --radius-xl: 28px;
  --radius: 20px;
  --pill: 999px;
  --max: 1160px;
  --header: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
}
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: #F3D2C3; color: var(--text); }
:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--card); color: var(--ink);
  padding: 8px 12px; border-radius: var(--pill); z-index: 80;
}
.skip:focus { top: 8px; }
.promo {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--grad);
  color: #FFF8F3;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
.promo b { font-weight: 700; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 235, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.1);
}
.nav-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--plum);
  line-height: 1.25;
}
.logo-badge {
  flex: none;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border-radius: var(--pill);
  padding: 5px 8px;
}
.desk-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 700; }
.desk-nav a { position: relative; color: var(--text); padding: 6px 0; }
.desk-nav a:hover { color: var(--plum); }
.desk-nav a.active { color: var(--plum); }
.desk-nav a.active::after, .desk-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search {
  display: flex;
  align-items: center;
  width: 210px;
  height: 42px;
  padding: 0 6px 0 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  box-shadow: inset 0 0 0 1px transparent;
}
.search:focus-within { border-color: var(--ink); }
.search input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  min-width: 0;
}
.search input::placeholder { color: #A8988C; }
.search button {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
}
.search button:hover { background: var(--plum); }
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.icon-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #fff; }
.icon-btn:active { transform: translateY(0); }
.icon-btn svg, .search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-main { background: var(--grad); color: #fff; box-shadow: 0 8px 18px rgba(107, 45, 91, 0.16); }
.btn-main:hover { background: var(--grad-rev); transform: translateY(-2px); }
.btn-main:active { transform: translateY(0); }
.btn-main:disabled, .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost {
  background: transparent;
  color: #FFFCF8;
  border-color: rgba(255, 252, 248, .72);
}
.btn-ghost:hover { background: #FFFCF8; color: var(--plum); transform: translateY(-2px); }
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-line:hover { background: var(--ink); color: #FFFCF8; transform: translateY(-2px); }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.drawer { display: none; border-top: 1px solid var(--line); background: var(--card); }
.drawer.is-open { display: block; max-height: calc(100vh - 72px); overflow: auto; }
.drawer-inner { padding: 8px 0 18px; display: grid; gap: 8px; }
.drawer a, .drawer .search { width: 100%; }
.drawer-links { display: grid; gap: 4px; }
.drawer-links a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.drawer-links a.active { color: var(--plum); }
.hero { background: var(--grad); color: #FFFCF8; padding: 42px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 36px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--pill);
  background: rgba(255, 252, 248, .16);
  font-size: 13px;
  font-weight: 700;
}
.hero h1 { margin: 14px 0 12px; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.22; font-weight: 700; letter-spacing: 0; }
.subclaim { font-size: 18px; font-weight: 700; color: #FFE7D8; }
.lead { margin-top: 12px; max-width: 640px; color: rgba(255, 252, 248, .92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero .btn-main { border: 2px solid rgba(255, 252, 248, .38); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-facts span {
  padding: 6px 12px;
  border-radius: var(--pill);
  background: rgba(28, 63, 58, .28);
  font-size: 13px;
  font-weight: 700;
}
.poster {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(42, 21, 28, .18);
  background: #2A211C;
}
.poster-bg {
  position: absolute;
  inset: 0;
  padding: 28px 28px 96px;
  background:
    radial-gradient(circle at 18% 18%, rgba(224, 122, 76, .9), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(255, 252, 248, .28), transparent 26%),
    linear-gradient(165deg, #6B2D5B 0%, #8C3B4A 48%, #E07A4C 100%);
}
.poster-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.poster-name { margin-top: 18px; font-size: 48px; font-weight: 700; line-height: 1.1; }
.poster-note { max-width: 280px; margin-top: 12px; color: rgba(255, 252, 248, .9); }
.float-badge {
  position: absolute;
  right: 18px;
  min-width: 108px;
  padding: 12px 14px;
  border-radius: 20px;
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow);
}
.float-badge strong { display: block; font-size: 28px; line-height: 1; color: var(--plum); }
.float-badge span { font-size: 12px; color: var(--muted); }
.b1 { top: 18px; }
.b2 { top: 112px; }
.series-bar {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.series-bar a {
  padding: 8px 12px;
  border-radius: var(--pill);
  background: rgba(255, 252, 248, .94);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease;
}
.series-bar a:hover { transform: translateY(-2px); }
.block { padding: 76px 0; }
.block.alt { background: #FFFCF8; }
.block.tint { background: #F3EBE3; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
h2 { margin: 8px 0 10px; font-size: clamp(26px, 3vw, 36px); line-height: 1.3; font-weight: 700; }
.section-lead { color: var(--muted); }
.cmp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
}
.cmp-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
}
.cmp-block.handle { background: #FFF8F3; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--pill);
  background: rgba(28, 63, 58, .08);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.handle .tag { background: var(--grad); color: #fff; }
.cmp-block h3 { margin: 10px 0 6px; font-size: 22px; }
.cmp-block p { color: var(--muted); }
.cmp-arrow { display: grid; place-items: center; color: var(--ink); font-size: 22px; font-weight: 700; }
.solution-grid, .close-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: stretch; }
.soft-card, .step-sum, .voice, .person, .reel, .entry-card, .scene, .faq-item, .form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.soft-card { padding: 28px; }
.soft-card p + p { margin-top: 12px; }
.step-sum { padding: 22px; background: var(--ink); color: #F7F2EB; border: 0; }
.step-sum h3 { font-size: 22px; margin-bottom: 8px; }
.step-sum li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(247, 242, 235, .16);
}
.step-sum b {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
}
.rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rail-item {
  position: relative;
  z-index: 1;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 180px;
}
.rail-no {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 700;
  margin-bottom: 12px;
}
.rail-item h3 { font-size: 18px; margin-bottom: 6px; }
.rail-item p { color: var(--muted); font-size: 15px; }
.badge-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.badge {
  min-height: 148px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow);
}
.badge strong { display: block; font-size: 40px; line-height: 1; }
.badge span { display: block; margin-top: 8px; font-weight: 700; }
.badge em { display: block; margin-top: 6px; font-style: normal; color: rgba(255, 252, 248, .82); font-size: 14px; }
.voice-grid { columns: 2; column-gap: 18px; }
.voice { break-inside: avoid; margin: 0 0 18px; padding: 22px; }
.voice:nth-child(even) { transform: translateY(16px); }
.voice q { display: block; font-size: 18px; font-weight: 700; line-height: 1.6; }
.voice q::before, .voice q::after { content: ""; }
.voice-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.people-grid, .scene-pair, .entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person, .scene, .entry-card { display: block; padding: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.person:hover, .entry-card:hover, .scene:hover, .reel:hover, .voice:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.person h3, .scene h3, .entry-card h3 { font-size: 22px; margin: 8px 0; }
.person p, .scene p, .entry-card p { color: var(--muted); }
.scene-list { display: grid; gap: 16px; }
.scene.wide { background: var(--ink); color: #F7F2EB; border: 0; }
.scene.wide p { color: rgba(247, 242, 235, .8); }
.reel-list { display: grid; gap: 16px; }
.reel { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 22px; padding: 22px; position: relative; }
.reel::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 6px;
  border-radius: 0 6px 6px 0;
  background: var(--grad);
}
.reel-score { padding-left: 8px; }
.reel-score strong { display: block; font-size: 42px; line-height: 1; color: var(--plum); }
.reel-score span, .reel-score em { display: block; color: var(--muted); font-style: normal; font-size: 13px; }
.reel h3 { font-size: 26px; }
.reel .desc { margin: 8px 0 12px; color: var(--muted); }
.dims { display: grid; gap: 7px; }
.dim { display: grid; grid-template-columns: 52px 1fr 32px; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.bar { height: 6px; background: #F0E6DC; border-radius: var(--pill); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); }
.reel-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 12px; }
.text-link { color: var(--ink); font-weight: 700; border-bottom: 1px solid rgba(28, 63, 58, .35); }
.text-link:hover { color: var(--plum); }
.time-list { display: grid; gap: 0; position: relative; padding-left: 22px; }
.time-list::before {
  content: "";
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--grad);
}
.time-item { position: relative; padding: 0 0 22px 18px; }
.time-item::before {
  content: "";
  position: absolute;
  left: -20px; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--plum);
}
.time-batch { font-size: 13px; font-weight: 700; color: var(--ink); }
.time-item h3 { font-size: 20px; margin: 4px 0; }
.time-item p { color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { padding: 4px 10px; border-radius: var(--pill); background: rgba(28, 63, 58, .08); color: var(--ink); font-size: 13px; font-weight: 700; }
.entry-card { min-height: 230px; background: var(--card); }
.entry-card .go { margin-top: 16px; }
.row-head { max-width: none; display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; }
.more-link {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--pill);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  background: transparent;
}
.more-link:hover { background: var(--ink); color: #FFFCF8; transform: translateY(-2px); }
.news-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.news-item:hover h3 { color: var(--plum); }
.news-batch { font-weight: 700; color: var(--plum); }
.news-item p { color: var(--muted); font-size: 15px; }
.search-empty { margin-bottom: 12px; color: var(--plum); font-weight: 700; }
.meter-wrap { margin-top: 8px; }
.meter-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: #F7F2EB;
  border-radius: var(--pill);
  overflow: hidden;
}
.meter { padding: 18px 8px; text-align: center; }
.meter + .meter { box-shadow: inset 1px 0 0 rgba(247, 242, 235, .16); }
.meter strong { display: block; font-size: 28px; line-height: 1.1; }
.meter span { font-size: 13px; color: rgba(247, 242, 235, .76); }
.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-q::after { content: "+"; color: var(--plum); font-size: 24px; line-height: 1; }
.faq-item.is-open .faq-q::after { content: "–"; }
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.is-open .faq-a { display: block; }
.faq-item.is-open { border-color: rgba(28, 63, 58, .45); }
.close-grid { align-items: center; }
.close-copy h2, .close-copy .section-lead, .close-copy .kicker { color: #FFFCF8; }
.close-panel {
  background: var(--grad);
  border-radius: 32px;
  padding: 28px;
}
.form-card { padding: 22px; }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.fields { display: grid; gap: 12px; margin-top: 12px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.field input, .field select {
  width: 100%;
  height: 46px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 16px;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #1C3F3A 50%), linear-gradient(135deg, #1C3F3A 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field input:focus, .field select:focus { border-color: var(--ink); }
.form-note { margin-top: 12px; color: var(--ink); font-weight: 700; }
.site-footer { background: #1C3F3A; color: #F7F2EB; padding: 36px 0 20px; }
.foot { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; }
.site-footer .logo { color: #FFFCF8; }
.site-footer .foot p { max-width: 560px; margin-top: 10px; color: rgba(247, 242, 235, .78); }
.to-top {
  flex: none;
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--pill);
  border: 1px solid rgba(247, 242, 235, .4);
  font-weight: 700;
}
.to-top:hover { background: #FFFCF8; color: var(--ink); transform: translateY(-2px); }
.copy {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(247, 242, 235, .16);
  color: rgba(247, 242, 235, .72);
  font-size: 13px;
}
@media (min-width: 993px) {
  .rail::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 7%;
    right: 7%;
    height: 2px;
    background: linear-gradient(90deg, #6B2D5B, #E07A4C);
  }
}
@media (max-width: 1200px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
}
@media (max-width: 992px) {
  .nav-bar { height: auto; min-height: 72px; flex-wrap: wrap; padding: 8px 0 10px; }
  .logo { margin-right: auto; font-size: 16px; }
  .desk-nav { order: 5; width: 100%; }
  .search { width: 168px; }
  .hero-grid, .solution-grid, .close-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .rail, .badge-row { grid-template-columns: 1fr 1fr; }
  .meter-bar { border-radius: 28px; }
  .poster { min-height: 420px; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .desk-nav, .nav-tools { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-bar { flex-wrap: nowrap; height: 72px; min-height: 72px; padding: 0; }
  .hero, .block { padding: 48px 0; }
  .hero-grid, .solution-grid, .close-grid, .people-grid, .scene-pair, .entry-grid, .rail, .badge-row, .meter-bar, .reel, .cmp-row, .news-item {
    grid-template-columns: 1fr;
  }
  .voice-grid { columns: 1; }
  .voice:nth-child(even) { transform: none; }
  .cmp-arrow { transform: rotate(90deg); height: 28px; }
  .rail { padding-left: 0; }
  .rail::before {
    content: "";
    position: absolute;
    left: 20px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(#6B2D5B, #E07A4C);
  }
  .row-head, .foot, .reel-foot { flex-direction: column; align-items: flex-start; }
  .meter + .meter { box-shadow: inset 0 1px 0 rgba(247, 242, 235, .16); }
  .poster-name { font-size: 40px; }
  .float-badge { position: static; display: inline-block; margin: 12px 12px 0 0; }
  .poster-bg { position: relative; }
  .poster { min-height: 0; display: flex; flex-direction: column; }
  .series-bar { position: static; padding: 0 14px 14px; }
}
@media (max-width: 480px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .logo { font-size: 14px; }
  .hero-actions .btn, .close-copy .btn, .fav-form .btn, .more-link, .to-top { width: 100%; }
  .badge-row, .meter-bar { grid-template-columns: 1fr; }
  .series-bar a { flex: 1 1 auto; text-align: center; }
  .poster-name { font-size: 34px; }
  h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category2 */
:root {
 --plum: #6B2D5B;
 --persimmon: #E07A4C;
 --ink: #1C3F3A;
 --paper: #F7F2EB;
 --card: #FFFCF8;
 --text: #2A211C;
 --muted: #6E6258;
 --line: #E7DDD2;
 --grad: linear-gradient(120deg, #6B2D5B 0%, #E07A4C 100%);
 --grad-rev: linear-gradient(120deg, #E07A4C 0%, #6B2D5B 100%);
 --shadow: 0 16px 36px rgba(90, 48, 36, 0.08);
 --shadow-hover: 0 18px 40px rgba(90, 48, 36, 0.14);
 --radius-xl: 28px;
 --radius: 20px;
 --pill: 999px;
 --max: 1160px;
 --header: 72px;
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 17px;
 line-height: 1.75;
 color: var(--text);
 background: var(--paper);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
 outline: 2px solid var(--ink);
 outline-offset: 3px;
}
::selection { background: #E7C7B4; color: var(--text); }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.promo { height: 36px; background: var(--grad); color: #FFFCF8; }
.promo-inner {
 height: 36px;
 display: flex;
 align-items: center;
 font-size: 12px;
 letter-spacing: 0.02em;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}
.site-header {
 position: sticky;
 top: 0;
 z-index: 50;
 background: rgba(247, 242, 235, 0.96);
 border-bottom: 1px solid var(--line);
 backdrop-filter: saturate(1.1);
}
.nav-bar {
 min-height: var(--header);
 display: flex;
 align-items: center;
 gap: 16px;
}
.logo {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 font-weight: 700;
 font-size: 18px;
 color: var(--plum);
 line-height: 1.25;
}
.logo-badge {
 flex: none;
 font-size: 12px;
 line-height: 1;
 font-weight: 700;
 color: #fff;
 background: var(--grad);
 border-radius: var(--pill);
 padding: 5px 8px;
}
.desk-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 700; }
.desk-nav a { position: relative; color: var(--text); padding: 6px 0; }
.desk-nav a:hover { color: var(--plum); }
.desk-nav a.active { color: var(--plum); }
.desk-nav a.active::after, .desk-nav a:hover::after {
 content: "";
 position: absolute;
 left: 0; right: 0; bottom: 0;
 height: 2px;
 border-radius: 2px;
 background: var(--grad);
}
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search {
 display: flex;
 align-items: center;
 width: 210px;
 height: 42px;
 padding: 0 6px 0 14px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--pill);
}
.search:focus-within { border-color: var(--ink); }
.search input {
 width: 100%;
 border: 0;
 background: transparent;
 padding: 0;
 min-width: 0;
}
.search input::placeholder { color: #A8988C; }
.search button {
 flex: none;
 width: 32px;
 height: 32px;
 border: 0;
 border-radius: 50%;
 background: var(--ink);
 color: #fff;
 display: grid;
 place-items: center;
}
.search button:hover { background: var(--plum); }
.search button:active { transform: translateY(1px); }
.icon-btn {
 position: relative;
 width: 42px;
 height: 42px;
 border-radius: 50%;
 border: 1px solid var(--line);
 background: var(--card);
 display: grid;
 place-items: center;
 color: var(--ink);
 transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.icon-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #fff; }
.icon-btn:active, .icon-btn.is-on { transform: translateY(0); background: #F3E7EA; border-color: var(--plum); color: var(--plum); }
.icon-btn em {
 display: none;
 position: absolute;
 top: -4px;
 right: -4px;
 min-width: 18px;
 height: 18px;
 padding: 0 4px;
 border-radius: var(--pill);
 background: var(--persimmon);
 color: #fff;
 font-style: normal;
 font-size: 11px;
 line-height: 18px;
 text-align: center;
 font-weight: 700;
}
.icon-btn svg, .search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border-radius: var(--pill);
 border: 1px solid transparent;
 font-weight: 700;
 line-height: 1;
 transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-main { background: var(--grad); color: #fff; box-shadow: 0 8px 18px rgba(107, 45, 91, 0.16); }
.btn-main:hover { background: var(--grad-rev); transform: translateY(-2px); }
.btn-main:active { transform: translateY(0); }
.btn-main:disabled, .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #FFFCF8; transform: translateY(-2px); }
.btn-line:active { transform: translateY(0); }
.menu-toggle {
 display: none;
 width: 44px;
 height: 44px;
 border-radius: 14px;
 border: 1px solid var(--line);
 background: var(--card);
 align-items: center;
 justify-content: center;
 flex-direction: column;
 gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-toggle.is-on { background: var(--ink); }
.menu-toggle.is-on span { background: #FFFCF8; }
.drawer { display: none; border-top: 1px solid var(--line); background: var(--card); }
.drawer.is-open { display: block; max-height: calc(100vh - 108px); overflow: auto; }
.drawer-inner { padding: 8px 0 18px; display: grid; gap: 8px; }
.drawer .search { width: 100%; }
.drawer-links { display: grid; gap: 4px; }
.drawer-links a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 700; }
.drawer-links a.active { color: var(--plum); }
.drawer-icons { display: flex; gap: 10px; padding-top: 6px; }
.pagehead { padding: 28px 0 8px; background: var(--paper); }
.pagehead-card {
 position: relative;
 display: flex;
 align-items: flex-end;
 justify-content: space-between;
 gap: 28px;
 padding: 28px 32px 26px 36px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-xl);
 box-shadow: var(--shadow);
 overflow: hidden;
}
.pagehead-card::before {
 content: "";
 position: absolute;
 left: 0; top: 0; bottom: 0;
 width: 8px;
 background: var(--grad);
}
.kicker {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 min-height: 28px;
 margin-bottom: 8px;
 padding: 0 10px;
 border-radius: var(--pill);
 background: rgba(28, 63, 58, .08);
 color: var(--ink);
 font-size: 13px;
 font-weight: 700;
}
.pagehead h1 {
 margin: 0;
 font-size: clamp(28px, 4vw, 40px);
 line-height: 1.28;
 font-weight: 700;
}
.lead-sm { margin: 10px 0 0; max-width: 640px; color: var(--muted); }
.count-pill {
 flex: none;
 display: inline-flex;
 align-items: center;
 min-height: 36px;
 padding: 0 14px;
 border-radius: var(--pill);
 background: var(--grad);
 color: #fff;
 font-weight: 700;
 font-size: 14px;
}
.head-side { display: grid; justify-items: end; gap: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chip {
 border: 1px solid var(--line);
 background: var(--paper);
 color: var(--ink);
 border-radius: var(--pill);
 min-height: 38px;
 padding: 0 14px;
 font-size: 14px;
 font-weight: 700;
 transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.chip:active { transform: translateY(0); }
.chip.is-on { background: var(--grad); color: #fff; border-color: transparent; }
.section { padding: 64px 0; }
.sec-paper { background: var(--paper); }
.sec-card { background: #fffdfb; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-tint { background: #F3EBE3; }
.sec-head {
 display: flex;
 justify-content: space-between;
 align-items: flex-end;
 gap: 18px;
 margin-bottom: 22px;
}
.sec-head h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.3; font-weight: 700; }
.sec-head p { margin: 0; max-width: 460px; color: var(--muted); }
.mag-board {
 display: grid;
 grid-template-columns: 1.15fr .85fr;
 gap: 16px;
 align-items: start;
}
.mag-card {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px;
 display: flex;
 flex-direction: column;
 gap: 10px;
 transition: transform .2s ease, box-shadow .2s ease;
}
.mag-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.mag-card.feature {
 grid-row: span 2;
 padding: 18px;
 background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box;
 border: 2px solid transparent;
 border-radius: var(--radius-xl);
}
.mag-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; }
.cover {
 height: 112px;
 border-radius: 16px;
 background: var(--grad);
 color: #FFFCF8;
 display: flex;
 align-items: flex-end;
 padding: 12px 14px;
 font-size: 28px;
 font-weight: 700;
 line-height: 1;
}
.feature .cover { height: 196px; font-size: 42px; }
.wide .cover { height: 140px; }
.cover.c2 { background: linear-gradient(135deg, #1C3F3A, #6B2D5B); }
.cover.c3 { background: linear-gradient(135deg, #E07A4C, #8A3E4A); }
.cover.c4 { background: linear-gradient(135deg, #6B2D5B, #1C3F3A); }
.mag-kicker, .mag-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag {
 display: inline-flex;
 align-items: center;
 min-height: 26px;
 padding: 0 10px;
 border-radius: var(--pill);
 background: rgba(28, 63, 58, .1);
 color: var(--ink);
 font-size: 12px;
 font-weight: 700;
}
.score {
 font-weight: 700;
 color: var(--plum);
 font-size: 20px;
 line-height: 1;
}
.mag-card h3 { margin: 0; font-size: 22px; line-height: 1.35; }
.feature h3 { font-size: 28px; }
.mag-card p, .vs-card p, .art-item p { margin: 0; color: var(--muted); }
blockquote {
 margin: 0;
 padding: 10px 14px;
 border-left: 3px solid var(--persimmon);
 background: #F8F1EA;
 border-radius: 0 14px 14px 0;
 color: var(--text);
}
.mag-meta { margin-top: auto; color: var(--muted); font-size: 14px; }
.fav, .text-link {
 border: 0;
 background: transparent;
 color: var(--plum);
 font-weight: 700;
 padding: 0;
}
.fav { border: 1px solid var(--line); background: #fff; border-radius: var(--pill); min-height: 36px; padding: 0 12px; }
.fav:hover, .text-link:hover { color: var(--persimmon); }
.fav.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.empty-note {
 margin: 14px 0 0;
 padding: 16px 18px;
 border-radius: var(--radius);
 background: var(--card);
 border: 1px dashed var(--line);
 color: var(--muted);
}
.badge-wall {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 14px;
}
.data-badge {
 min-height: 148px;
 padding: 20px 18px;
 border-radius: var(--radius-xl);
 background: var(--grad);
 color: #FFFCF8;
 box-shadow: var(--shadow);
}
.data-badge strong { display: block; font-size: 36px; line-height: 1.1; font-weight: 700; }
.data-badge span { display: block; margin-top: 8px; font-size: 14px; opacity: .92; }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vs-card {
 background: var(--card);
 border-radius: var(--radius-xl);
 border: 1px solid var(--line);
 box-shadow: var(--shadow);
 padding: 24px;
}
.vs-card header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.vs-card h3 { margin: 0; font-size: 24px; }
.verdict {
 display: inline-flex;
 margin-top: 8px;
 padding: 4px 10px;
 border-radius: var(--pill);
 background: rgba(107, 45, 91, .1);
 color: var(--plum);
 font-size: 13px;
 font-weight: 700;
}
.verdict.soft { background: rgba(28, 63, 58, .1); color: var(--ink); }
.bar {
 margin: 14px 0;
 height: 10px;
 border-radius: var(--pill);
 background: #F0E6DC;
 overflow: hidden;
}
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.vs-card ul { margin: 0; padding-left: 18px; }
.vs-card li { margin: 6px 0; }
.people-row { display: flex; flex-wrap: wrap; gap: 10px; }
.people-row a {
 display: inline-flex;
 align-items: center;
 min-height: 42px;
 padding: 0 16px;
 border-radius: var(--pill);
 background: var(--card);
 border: 1px solid var(--line);
 color: var(--ink);
 font-weight: 700;
 box-shadow: var(--shadow);
 transition: transform .2s ease, background .2s ease, color .2s ease;
}
.people-row a:hover { transform: translateY(-2px); background: var(--ink); color: #FFFCF8; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item button {
 width: 100%;
 text-align: left;
 border: 0;
 background: transparent;
 padding: 16px 18px;
 font-weight: 700;
 display: flex;
 justify-content: space-between;
 gap: 12px;
}
.faq-item button:hover { color: var(--plum); }
.faq-item button::after { content: "+"; color: var(--persimmon); font-size: 22px; line-height: 1; }
.faq-item button[aria-expanded="true"]::after { content: "–"; }
.faq-a { padding: 0 18px 16px; color: var(--muted); }
.art-list { display: grid; gap: 12px; }
.art-item {
 display: grid;
 grid-template-columns: 72px 1fr auto;
 gap: 16px;
 align-items: center;
 padding: 16px 18px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 transition: transform .2s ease, box-shadow .2s ease;
}
.art-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.art-score {
 width: 72px;
 height: 72px;
 border-radius: 18px;
 background: var(--grad);
 color: #fff;
 display: grid;
 place-items: center;
 font-weight: 700;
 font-size: 20px;
}
.art-item h3 { margin: 0 0 4px; font-size: 18px; }
.close-sec { padding-top: 28px; }
.close-bar {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 18px;
 padding: 22px 24px;
 border-radius: var(--radius-xl);
 background: var(--card);
 border: 1px solid var(--line);
 box-shadow: var(--shadow);
 position: relative;
 overflow: hidden;
}
.close-bar::after {
 content: "";
 position: absolute;
 left: 0; right: 0; top: 0;
 height: 6px;
 background: var(--grad);
}
.close-bar h2 { margin: 8px 0 0; font-size: 26px; }
.close-bar p { margin: 6px 0 0; color: var(--muted); }
.close-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.live { min-height: 1.2em; margin: 8px 0 0; color: var(--ink); font-size: 14px; font-weight: 700; }
.site-footer { background: #241812; color: #F7F2EB; padding: 36px 0 22px; }
.foot { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.site-footer .logo { color: #FFFCF8; }
.site-footer p { margin: 10px 0 0; max-width: 640px; color: rgba(247, 242, 235, .78); }
.to-top {
 flex: none;
 min-height: 42px;
 padding: 0 16px;
 display: inline-flex;
 align-items: center;
 border-radius: var(--pill);
 border: 1px solid rgba(247, 242, 235, .35);
 font-weight: 700;
}
.to-top:hover { background: #FFFCF8; color: var(--plum); }
.copy { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(247, 242, 235, .14); color: rgba(247, 242, 235, .7); font-size: 14px; }
@media (max-width: 1200px) {
 .container { width: min(var(--max), calc(100% - 32px)); }
}
@media (max-width: 992px) {
 .pagehead-card, .sec-head, .close-bar, .foot { align-items: flex-start; }
 .pagehead-card, .close-bar { flex-direction: column; }
 .head-side, .filters { justify-items: start; justify-content: flex-start; }
 .badge-wall, .versus { grid-template-columns: 1fr 1fr; }
 .mag-card.wide { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
 .desk-nav, .nav-tools { display: none; }
 .menu-toggle { display: flex; margin-left: auto; }
 .mag-board, .badge-wall, .versus, .art-item { grid-template-columns: 1fr; }
 .mag-card.feature, .mag-card.wide { grid-column: auto; grid-row: auto; }
 .section { padding: 48px 0; }
 .logo { font-size: 16px; }
}
@media (max-width: 480px) {
 .container { width: calc(100% - 24px); }
 .promo-inner { font-size: 12px; }
 .pagehead-card { padding: 22px 16px 18px 20px; }
 .badge-wall { grid-template-columns: 1fr; }
 .btn, .close-actions .btn, .drawer .btn { width: 100%; }
 .card-actions { flex-direction: column; align-items: stretch; }
 .fav { width: 100%; }
 .data-badge strong { font-size: 30px; }
}

/* roulang page: category1 */
:root {
  --plum: #6B2D5B;
  --persimmon: #E07A4C;
  --ink: #1C3F3A;
  --paper: #F7F2EB;
  --card: #FFFCF8;
  --text: #2A211C;
  --muted: #6E6258;
  --line: #E7DDD2;
  --grad: linear-gradient(120deg, #6B2D5B 0%, #E07A4C 100%);
  --grad-rev: linear-gradient(120deg, #E07A4C 0%, #6B2D5B 100%);
  --shadow: 0 16px 36px rgba(90, 48, 36, 0.08);
  --shadow-hover: 0 18px 40px rgba(90, 48, 36, 0.14);
  --radius-xl: 28px;
  --radius: 20px;
  --pill: 999px;
  --max: 1160px;
  --header: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.promo {
  height: 36px;
  background: var(--grad);
  color: #FFFCF8;
  font-size: 12px;
  display: flex;
  align-items: center;
}
.promo .container {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 235, 0.96);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--plum);
  line-height: 1.25;
}
.logo-badge {
  flex: none;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border-radius: var(--pill);
  padding: 5px 8px;
}
.desk-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 700; }
.desk-nav a { position: relative; color: var(--text); padding: 6px 0; }
.desk-nav a:hover { color: var(--plum); }
.desk-nav a.active { color: var(--plum); }
.desk-nav a.active::after, .desk-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search {
  display: flex;
  align-items: center;
  width: 210px;
  height: 42px;
  padding: 0 6px 0 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--pill);
}
.search:focus-within { border-color: var(--ink); }
.search input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  min-width: 0;
}
.search input::placeholder { color: #A8988C; }
.search button {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
}
.search button:hover { background: var(--plum); }
.search button:active { transform: translateY(1px); }
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.icon-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #fff; }
.icon-btn:active, .icon-btn[aria-pressed="true"] { background: #F3E6DE; color: var(--plum); }
.icon-btn svg, .search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.count-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--pill);
  background: var(--persimmon);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-main { background: var(--grad); color: #fff; box-shadow: 0 8px 18px rgba(107, 45, 91, 0.16); }
.btn-main:hover { background: var(--grad-rev); transform: translateY(-2px); }
.btn-main:active { transform: translateY(0); }
.btn:disabled, .btn-main:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-line:hover { background: var(--ink); color: #FFFCF8; transform: translateY(-2px); }
.btn-line:active { transform: translateY(0); }
.btn-line[aria-pressed="true"] { background: var(--ink); color: #FFFCF8; }
.btn-ghost {
  background: transparent;
  color: #FFFCF8;
  border-color: rgba(255, 252, 248, .72);
}
.btn-ghost:hover { background: #FFFCF8; color: var(--plum); transform: translateY(-2px); }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-toggle[aria-expanded="true"] { background: #F3E6DE; }
.drawer { display: none; border-top: 1px solid var(--line); background: var(--card); }
.drawer.is-open { display: block; max-height: calc(100vh - 108px); overflow: auto; }
.drawer-inner { padding: 8px 0 18px; display: grid; gap: 8px; }
.drawer a, .drawer .search, .drawer .btn { width: 100%; }
.drawer-links { display: grid; gap: 4px; }
.drawer-links a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.drawer-links a.active { color: var(--plum); }
.drawer-links a:hover { color: var(--plum); }
.drawer-actions { display: flex; gap: 10px; align-items: center; }
.block { padding: 56px 0; }
.page-head { padding: 26px 0 8px; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; }
.crumb a:hover { color: var(--plum); }
.head-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-top: 12px;
}
.page-head h1 {
  margin: 8px 0 6px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.22;
  font-weight: 700;
}
.sub { max-width: 680px; color: var(--muted); }
.adult-note { margin-top: 8px; color: var(--ink); font-weight: 700; font-size: 14px; }
.result-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--pill);
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}
.chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.chip:hover { border-color: var(--ink); }
.chip:active { transform: translateY(1px); }
.chip.is-on { background: var(--grad); color: #fff; border-color: transparent; }
.sort {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.sort select {
  height: 40px;
  padding: 0 12px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--card);
}
.sort select:hover { border-color: var(--ink); }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
.sec-head h2, .scene-sec h2, .end-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  font-weight: 700;
}
.sec-head p, .lead-note { color: var(--muted); max-width: 640px; }
.score-stack { display: grid; gap: 16px; }
.score-card {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 168px;
  gap: 20px;
  align-items: center;
  padding: 22px 22px 22px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.score-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: var(--grad);
}
.score-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.score-card[hidden] { display: none !important; }
.score-mark {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}
.score-mark b { display: block; font-size: 32px; line-height: 1; }
.score-mark span { font-size: 12px; font-weight: 700; }
.kicker { color: var(--plum); font-size: 13px; font-weight: 700; }
.score-body h3 { margin: 4px 0 6px; font-size: 24px; line-height: 1.35; font-weight: 700; }
.score-body p { color: var(--text); }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--pill);
  background: rgba(28, 63, 58, .08);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.score-side { display: grid; gap: 8px; }
.empty {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px dashed var(--line);
  color: var(--muted);
}
.dim-sec { background: #F3EBE3; }
.dim-panel {
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px 22px;
}
.dim-row {
  display: grid;
  grid-template-columns: 148px minmax(120px, .7fr) minmax(0, 1.4fr);
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.dim-row:last-child { border-bottom: 0; }
.dim-row strong { font-size: 16px; }
.bar { height: 8px; border-radius: var(--pill); background: #EFE6DC; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.dim-row p { color: var(--muted); font-size: 15px; }
.batch-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.batch-item {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 18px 18px 18px 20px;
  box-shadow: var(--shadow);
}
.batch-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: var(--pill);
  background: var(--grad);
}
.batch-item b { display: block; font-size: 18px; }
.batch-item em { display: block; margin: 4px 0 8px; color: var(--plum); font-style: normal; font-size: 13px; font-weight: 700; }
.batch-item p { color: var(--muted); }
.edit-sec {
  background: #FFFCF8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-list { display: grid; gap: 14px; }
.quote-card {
  max-width: 760px;
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: 20px 22px;
  border: 1px solid var(--line);
}
.quote-card:nth-child(even) { margin-left: auto; background: #fff; }
.quote-card p { font-size: 18px; font-weight: 700; line-height: 1.6; }
.quote-card span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.scene-sec { background: var(--ink); color: #FFFCF8; }
.scene-sec .sec-head p { color: rgba(255, 252, 248, .78); }
.scene-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 252, 248, .16);
}
.scene-row:last-child { border-bottom: 0; }
.scene-no {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--grad);
  font-weight: 700;
}
.scene-row h3 { font-size: 22px; margin-bottom: 4px; }
.scene-row p { color: rgba(255, 252, 248, .86); }
.article-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 6px 22px; box-shadow: var(--shadow); }
.article-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.article-row:last-child { border-bottom: 0; }
.article-row time { color: var(--muted); font-size: 14px; font-weight: 700; }
.article-row a { font-weight: 700; }
.article-row a:hover { color: var(--plum); }
.score-pill {
  min-height: 32px;
  padding: 0 10px;
  border-radius: var(--pill);
  background: rgba(107, 45, 91, .1);
  color: var(--plum);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.end-sec { padding: 28px 0 64px; }
.end-panel {
  background: var(--grad);
  color: #FFFCF8;
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  box-shadow: var(--shadow);
}
.end-copy p { margin-top: 8px; color: rgba(255, 252, 248, .92); max-width: 640px; }
.end-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer { background: var(--ink); color: rgba(255, 252, 248, .88); }
.site-footer .logo { color: #FFFCF8; }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 36px 0 18px;
}
.site-footer p { margin-top: 10px; max-width: 640px; color: rgba(255, 252, 248, .78); }
.to-top {
  flex: none;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 252, 248, .45);
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: #FFFCF8;
}
.to-top:hover { background: #FFFCF8; color: var(--ink); }
.copy {
  border-top: 1px solid rgba(255, 252, 248, .16);
  padding: 14px 0 22px;
  color: rgba(255, 252, 248, .7);
  font-size: 13px;
}
@media (max-width: 1200px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
}
@media (max-width: 992px) {
  .score-card { grid-template-columns: 112px minmax(0, 1fr); }
  .score-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .dim-row { grid-template-columns: 1fr; gap: 8px; }
  .batch-bar { grid-template-columns: 1fr; }
  .scene-row, .article-row { grid-template-columns: 72px minmax(0, 1fr); }
  .scene-row .btn, .article-row .score-pill { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 768px) {
  .desk-nav, .nav-tools { display: none; }
  .menu-toggle { display: flex; }
  .head-top, .sec-head, .end-panel, .foot { flex-direction: column; align-items: flex-start; }
  .sort { margin-left: 0; }
  .score-card, .scene-row, .article-row, .score-side { grid-template-columns: 1fr; }
  .quote-card, .quote-card:nth-child(even) { margin-left: 0; max-width: none; }
  .block { padding: 42px 0; }
  .drawer .search { width: 100%; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 28px); }
  .page-head h1 { font-size: 30px; }
  .logo { font-size: 15px; max-width: calc(100% - 60px); }
}
@media (max-width: 480px) {
  .promo { height: auto; min-height: 36px; }
  .promo .container { white-space: normal; padding: 8px 0; }
  .meta-line, .tool-row { gap: 8px; }
  .end-actions, .score-side { display: grid; grid-template-columns: 1fr; }
  .end-actions .btn, .score-side .btn, .scene-row .btn { width: 100%; }
  .result-badge { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .icon-btn, .score-card, .chip { transition: none; }
}
