/* roulang page: index */
:root {
  --ink: #1B1520;
  --bg: #E7E1E4;
  --paper: #F7F4F1;
  --sage: #5E7A72;
  --rose: #C73B6F;
  --muted: #5e564f;
  --line: rgba(27, 21, 32, 0.16);
  --line-strong: rgba(27, 21, 32, 0.32);
  --paper-2: #efeae6;
  --radius: 3px;
  --radius-btn: 2px;
  --nav-h: 60px;
  --shadow: none;
  --serif: "Songti SC", "Noto Serif SC", "STSong", "PMingLiU", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  --space: 28px;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
button, input { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: #f3c3d4; color: var(--ink); }
:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 1px solid var(--rose);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
  border: 1px solid var(--rose);
}
.skip:focus { top: 8px; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: auto;
  background: rgba(231, 225, 228, 0.96);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}
.logo { display: flex; flex-direction: column; justify-content: center; min-height: 44px; color: var(--ink); flex: 0 0 auto; }
.logo-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo-sub { font-size: 10px; letter-spacing: 0.18em; color: var(--sage); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  color: var(--ink);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { font-weight: 650; }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-search { display: flex; align-items: center; height: 44px; border: 1px solid var(--line-strong); background: var(--paper); border-radius: var(--radius-btn); }
.nav-search input {
  width: 148px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0 10px;
  border-radius: var(--radius-btn);
}
.nav-search input::placeholder { color: var(--sage); }
.nav-search input:focus { border: 0; }
.nav-search:focus-within { border-color: var(--rose); }
.nav-search button {
  min-width: 52px;
  height: 42px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0 10px;
}
.nav-search button:hover { color: var(--rose); }
.nav-toggle {
  display: none;
  min-width: 52px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: var(--radius-btn);
  padding: 0 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-size: 15px;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  box-shadow: var(--shadow);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rose); color: var(--ink); border-color: var(--rose); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--ink); background: var(--paper); }
.drawer-cta { display: none; }
.hero { padding: 42px 0 28px; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 42px; align-items: end; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  color: var(--sage);
  font-size: 12px;
  letter-spacing: 0.14em;
}
h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.05rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 8.2em;
  margin-top: 14px;
}
.h1-rule { width: 46px; height: 2px; background: var(--rose); border: 0; margin: 16px 0; }
.sub { font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; max-width: 18em; }
.hero-lead { margin-top: 16px; max-width: 38em; color: var(--ink); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.film-stage { min-width: 0; }
.film { display: grid; grid-template-columns: 18px 1fr 18px; background: #241c28; border: 1px solid var(--ink); border-radius: var(--radius); min-height: 250px; }
.sprocket { background-image: radial-gradient(circle, var(--paper) 3px, transparent 3.5px); background-size: 18px 28px; background-position: center 8px; }
.frames { display: grid; grid-template-rows: 1.2fr 0.8fr 0.7fr; gap: 8px; padding: 12px; }
.frame { position: relative; border: 1px solid rgba(247, 244, 241, 0.28); min-height: 54px; display: flex; align-items: flex-end; padding: 8px; }
.frame span { color: var(--paper); font-family: var(--serif); font-size: 14px; letter-spacing: 0.08em; }
.frame-a { background: linear-gradient(160deg, #1B1520 20%, #3a3040 100%); }
.frame-b { background: linear-gradient(180deg, #5E7A72, #3e534d); }
.frame-c { background: #2a2230; }
.frame-c::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rose); }
.mini-rank { margin-top: 10px; border-top: 1px solid var(--line-strong); }
.mini-rank li { display: grid; grid-template-columns: 36px 1fr auto; gap: 8px; min-height: 36px; align-items: center; font-size: 13px; border-bottom: 1px solid var(--line); }
.mini-rank em { font-style: normal; color: var(--rose); font-family: var(--serif); }
.mini-rank b { font-weight: 500; color: var(--sage); }
.section { padding: 72px 0; background: transparent; border-bottom: 1px solid var(--line); }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--paper); border-bottom-color: transparent; }
.section-head { max-width: 760px; margin-bottom: 28px; }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.35rem, 2vw, 1.78rem); line-height: 1.28; letter-spacing: -0.01em; }
h3 { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; line-height: 1.4; }
.lead { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.section-ink .lead { color: #d9d0d4; }
.pain-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.pain-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.pain-row h3 { color: var(--rose); font-size: 1.05rem; }
.pain-row p { max-width: 46em; }
.solution-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr); gap: 36px; align-items: start; }
.index-keys { border-left: 1px solid var(--line-strong); padding-left: 18px; display: flex; flex-direction: column; gap: 14px; }
.key-line { display: flex; flex-direction: column; gap: 2px; min-height: 44px; }
.key-line b { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.key-line span { color: var(--sage); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.step { padding: 18px 18px 6px 0; border-top: 2px solid var(--ink); min-height: 160px; }
.step-no { display: block; color: var(--rose); font-family: var(--serif); font-size: 1.45rem; letter-spacing: 0.04em; margin-bottom: 8px; animation: pop .35s ease both; }
.step p { color: var(--muted); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { border-top: 2px solid var(--rose); padding-top: 14px; min-height: 140px; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; font-weight: 700; animation: pop .4s ease both; }
.stat-label { display: block; margin-top: 10px; font-size: 16px; }
.stat-note { display: block; margin-top: 6px; color: #c9c0c4; font-size: 13px; line-height: 1.5; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.8fr); gap: 16px; align-items: stretch; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); }
.quote-wide { background: var(--paper); }
.quote-narrow { background: #f3eee9; }
.quote p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.7; }
.quote-meta { display: block; margin-top: 18px; color: var(--sage); font-size: 13px; font-family: var(--sans); letter-spacing: 0.06em; }
.people { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.75fr); gap: 16px; }
.people-main, .people-side > div { background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 20px 18px; }
.people-side { display: grid; gap: 16px; }
.people li { position: relative; padding: 8px 0 8px 14px; border-top: 1px solid var(--line); font-size: 15px; }
.people li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 1px; background: var(--rose); }
.people h3 { margin-bottom: 8px; }
.rank-panel { border-top: 1px solid var(--ink); }
.rank-row { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) 92px 88px; gap: 12px; align-items: center; min-height: 58px; padding: 6px 8px 6px 12px; border-bottom: 1px solid var(--line); }
.rank-row::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--rose); transform: scaleY(0); transform-origin: center top; transition: transform 160ms ease; }
.rank-row:hover::before { transform: scaleY(1); }
.rank-head { min-height: 40px; color: var(--sage); font-size: 13px; letter-spacing: 0.08em; }
.rank-head::before { display: none; }
.rank-no { font-family: var(--serif); font-size: 1.25rem; color: var(--sage); animation: pop .35s ease both; }
.rank-top .rank-no { color: var(--rose); }
.rank-name { font-size: 16px; min-width: 0; }
.rank-name a { display: inline-flex; align-items: center; min-height: 44px; }
.rank-name a:hover { color: var(--rose); }
.rank-dur, .rank-upd { color: var(--muted); font-size: 14px; text-align: right; }
.topic-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.7fr); gap: 16px; }
.topic { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 22px 20px 16px; background: var(--paper); }
.topic-narrow { background: transparent; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px; border: 1px solid var(--sage); color: var(--sage); font-size: 12px; letter-spacing: 0.08em; margin-bottom: 10px; }
.topic p { margin: 10px 0 12px; color: var(--muted); font-size: 15px; }
.topic-links a { display: flex; align-items: center; min-height: 44px; border-top: 1px solid var(--line); font-size: 15px; }
.topic-links a:hover { color: var(--rose); padding-left: 4px; transition: padding-left 160ms ease, color 160ms ease; }
.timeline { position: relative; margin-left: 8px; padding-left: 28px; border-left: 1px solid var(--sage); display: flex; flex-direction: column; gap: 8px; }
.timeline li { position: relative; padding: 8px 0 18px; }
.timeline li::before { content: ""; position: absolute; left: -33px; top: 16px; width: 9px; height: 9px; background: var(--paper); border: 2px solid var(--rose); border-radius: 50%; }
.tl-time { color: var(--rose); font-family: var(--serif); font-size: 14px; letter-spacing: 0.08em; }
.timeline p { max-width: 42em; color: var(--muted); margin-top: 6px; }
.news-list { border-top: 1px solid var(--ink); }
.news-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 72px; border-bottom: 1px solid var(--line); }
.news-item em { font-style: normal; color: var(--rose); font-family: var(--serif); }
.news-item a { font-size: 17px; }
.news-item a:hover { color: var(--rose); }
.news-item span { color: var(--sage); font-size: 14px; }
.metric-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.metric { padding-top: 4px; }
.metric-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-height: 44px; }
.metric-top b { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; }
.metric-top span { color: var(--sage); font-size: 14px; }
.bar { height: 2px; background: rgba(27, 21, 32, 0.12); margin: 8px 0 10px; }
.bar i { display: block; height: 2px; background: var(--rose); }
.w74 { width: 74%; }
.w100 { width: 100%; }
.w58 { width: 58%; }
.metric p { color: var(--muted); font-size: 14px; }
.metric-note { margin-top: 18px; color: var(--sage); font-size: 14px; max-width: 48em; }
.entry-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.72fr); gap: 16px; }
.entry { display: flex; flex-direction: column; align-items: flex-start; min-height: 210px; padding: 22px 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.entry-narrow { background: transparent; }
.entry:hover { border-color: var(--rose); }
.entry h3 { margin: 8px 0; }
.entry p { color: var(--muted); font-size: 15px; }
.entry-go { margin-top: auto; padding-top: 16px; color: var(--rose); font-size: 14px; letter-spacing: 0.06em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 52px; display: flex; align-items: center; cursor: pointer; font-family: var(--serif); font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; margin-left: auto; color: var(--rose); font-family: var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; max-width: 46em; color: var(--muted); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; border-top: 1px solid var(--line-strong); }
.rules li { min-height: 52px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.rules li::before { content: ""; width: 8px; height: 1px; background: var(--rose); flex: 0 0 auto; }
.closing-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.closing h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 10em; }
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 36px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 18px 24px; align-items: start; }
.footer-brand { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }
.footer-note { color: var(--sage); font-size: 14px; margin-top: 6px; max-width: 28em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
.footer-links a:hover { color: var(--rose); }
.copy { grid-column: 1 / -1; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--sage); font-size: 13px; }
.empty-state { display: none; border: 1px dashed var(--sage); color: var(--sage); padding: 16px; border-radius: var(--radius); }
.is-empty .empty-state { display: block; }
.rank-row.is-empty .rank-name { color: var(--sage); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 1199px) {
  .hero-grid, .solution-grid, .quote-grid, .people, .topic-grid, .entry-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .film { min-height: 220px; }
}
@media (max-width: 1024px) {
  h1 { max-width: none; }
  .container { width: min(var(--max), calc(100% - 36px)); }
  .news-item { grid-template-columns: 48px minmax(0, 1fr); }
  .news-item span { grid-column: 2; margin-top: -8px; padding-bottom: 10px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .section { padding: 48px 0; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .logo-name { white-space: normal; max-width: 46vw; font-size: 14px; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 6px 16px 14px;
    z-index: 60;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { border-bottom: 1px solid var(--line); }
  .drawer-cta { display: inline-flex; margin-top: 8px; width: fit-content; border-bottom: 0; }
  .nav-search input { width: 92px; }
  .hero { padding-top: 22px; }
  .film-stage { order: -1; }
  .hero-grid { align-items: start; }
  .pain-row, .closing-inner, .footer-grid { grid-template-columns: 1fr; display: grid; }
  .closing-inner { align-items: flex-start; }
  .steps, .stats, .metric-row, .rules { grid-template-columns: 1fr; }
  .step { min-height: 0; padding-bottom: 16px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 28px); }
  .hero-actions .btn, .entry { width: 100%; }
  .rank-row { grid-template-columns: 48px minmax(0, 1fr); }
  .rank-dur, .rank-upd { text-align: left; grid-column: 2; }
  .rank-head { display: none; }
  .nav-search input { width: 72px; padding: 0 6px; }
  .logo-sub { display: none; }
  .mini-rank b { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* roulang page: category2 */
:root {
  --ink: #1B1520;
  --bg: #E7E1E4;
  --paper: #F7F4F1;
  --sage: #5E7A72;
  --rose: #C73B6F;
  --muted: #5e564f;
  --line: rgba(27, 21, 32, 0.16);
  --line-strong: rgba(27, 21, 32, 0.32);
  --paper-2: #efeae6;
  --radius: 3px;
  --radius-btn: 2px;
  --nav-h: 60px;
  --shadow: none;
  --serif: "Songti SC", "Noto Serif SC", "STSong", "PMingLiU", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  --space: 28px;
  --max: 1160px;
}
/* roulang page: category2 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
button, input { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 1px solid var(--rose);
  outline-offset: 3px;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 8px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: auto;
  background: rgba(231, 225, 228, 0.96);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}
.logo { display: flex; flex-direction: column; justify-content: center; min-height: 44px; color: var(--ink); flex: 0 0 auto; }
.logo-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo-sub { font-size: 10px; letter-spacing: 0.18em; color: var(--sage); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  color: var(--ink);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { font-weight: 650; }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-search { display: flex; align-items: center; height: 44px; border: 1px solid var(--line-strong); background: var(--paper); border-radius: var(--radius-btn); }
.nav-search input {
  width: 148px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0 10px;
  border-radius: var(--radius-btn);
}
.nav-search input::placeholder { color: var(--sage); }
.nav-search input:focus { border: 0; outline: none; }
.nav-search:focus-within { border-color: var(--rose); }
.nav-search button {
  min-width: 52px;
  height: 42px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0 10px;
}
.nav-search button:hover { color: var(--rose); }
.nav-toggle {
  display: none;
  min-width: 52px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: var(--radius-btn);
  padding: 0 12px;
}
.nav-toggle:hover { border-color: var(--ink); }
.nav-toggle[aria-expanded="true"] { border-color: var(--rose); color: var(--rose); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-size: 15px;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  box-shadow: var(--shadow);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rose); color: var(--ink); border-color: var(--rose); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover, .btn-line:focus-visible { border-color: var(--ink); background: var(--paper); }
.drawer-cta { display: none; }
.page-band {
  padding: 28px 0 26px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: end;
}
.crumb { display: flex; gap: 8px; align-items: center; color: var(--sage); font-size: 13px; margin-bottom: 12px; }
.crumb a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; }
.crumb a:hover { border-bottom-color: var(--rose); color: var(--ink); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  color: var(--sage);
  font-size: 12px;
  letter-spacing: 0.14em;
}
h1 { margin: 12px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.18; max-width: 12em; }
.hero-lead, .lead { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 40em; }
.band-side { display: grid; gap: 8px; }
.fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  min-height: 44px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.fact b { font-family: var(--serif); font-size: 22px; color: var(--rose); font-weight: 700; }
.fact span { color: var(--sage); }
.film-mark { display: flex; gap: 6px; height: 46px; margin-top: 8px; }
.film-mark span { flex: 1; background: var(--ink); border-radius: 2px; }
.film-mark span:nth-child(2) { background: var(--sage); }
.film-mark span:nth-child(3) { background: #3a3040; }
.film-mark span:nth-child(4) { background: var(--rose); flex: 0 0 6px; }
.section { padding: 72px 0; background: transparent; border-bottom: 1px solid var(--line); }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--paper); border-bottom-color: transparent; }
.section-head { max-width: 760px; margin-bottom: 28px; }
h2 { margin: 0; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.28; }
.section-ink .lead { color: #d9d0d4; }
.topic-board { border-top: 1px solid var(--line-strong); }
.topic-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px 18px;
  align-items: start;
  padding: 18px 8px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background-color 160ms ease;
}
.topic-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--rose);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 160ms ease;
}
.topic-row:hover { background: rgba(247, 244, 241, 0.72); }
.section-paper .topic-row:hover { background: var(--paper-2); }
.topic-row:hover::before, .topic-row:focus-within::before { transform: scaleY(1); }
.topic-row[hidden] { display: none !important; }
.rank-no {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  color: var(--rose);
  font-weight: 700;
  padding-top: 4px;
  animation: rise 220ms ease;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.topic-name h3 { margin: 0; font-size: 22px; line-height: 1.3; }
.topic-name p { margin-top: 6px; color: var(--sage); font-size: 14px; }
.topic-links { display: flex; flex-direction: column; min-width: 0; }
.topic-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.topic-links a:last-child { border-bottom: 0; }
.topic-links a em { font-style: normal; color: var(--sage); font-size: 13px; white-space: nowrap; }
.topic-links a:hover span { color: var(--rose); }
.more-line { margin-top: 18px; }
.empty-note {
  margin-top: 16px;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  color: var(--sage);
  background: var(--paper);
  border-radius: var(--radius);
}
.empty-note[hidden] { display: none !important; }
.scope-list { border-top: 1px solid var(--line-strong); }
.scope-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.scope-item b { font-family: var(--serif); color: var(--rose); font-size: 20px; font-weight: 700; }
.scope-item h3 { margin: 0 0 6px; font-size: 20px; }
.scope-item p { max-width: 46em; color: var(--ink); }
.cmp-wrap { overflow-x: auto; border-top: 1px solid var(--line-strong); }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; }
.cmp th, .cmp td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  vertical-align: middle;
}
.cmp th {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--sage);
  font-family: var(--sans);
}
.cmp td:first-child, .cmp th:first-child { color: var(--rose); font-family: var(--serif); width: 88px; }
.cmp tbody tr { transition: background-color 160ms ease; }
.cmp tbody tr:hover { background: rgba(247, 244, 241, 0.8); }
.cmp .hot { font-weight: 700; }
.log-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.log-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.log-item time { color: var(--sage); font-variant-numeric: tabular-nums; }
.log-item h3 { margin: 0 0 4px; font-size: 18px; }
.path-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: var(--radius);
}
.path-step { padding: 28px 24px; min-height: 180px; }
.path-step + .path-step { border-left: 1px solid var(--line); }
.path-step span {
  display: inline-block;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 12px;
}
.path-step h3 { margin: 0 0 8px; font-size: 22px; }
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 22px;
  align-items: center;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.section-ink .btn-line { color: var(--paper); border-color: rgba(247, 244, 241, 0.45); }
.section-ink .btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.site-footer { background: var(--ink); color: var(--paper); padding: 36px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr); gap: 18px 32px; align-items: start; }
.footer-brand { font-family: var(--serif); font-size: 18px; margin: 0 0 8px; }
.footer-note { margin: 0; color: #d9d0d4; font-size: 14px; line-height: 1.7; max-width: 38em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; }
.footer-links a:hover { border-bottom-color: var(--rose); }
.copy { grid-column: 1 / -1; margin: 6px 0 0; color: #cfc4ca; font-size: 13px; }
@media (max-width: 1199px) {
  .topic-row { grid-template-columns: 64px minmax(0, 1fr); }
  .topic-links { grid-column: 2; }
  .band-grid, .path-grid, .cta-grid, .footer-grid { grid-template-columns: 1fr; }
  .path-step + .path-step { border-left: 0; border-top: 1px solid var(--line); }
  .cta-actions { justify-content: flex-start; }
}
@media (max-width: 1024px) {
  .section { padding: 56px 0; }
  .nav-search input { width: 110px; }
}
@media (max-width: 767px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 6px 8px 12px;
    z-index: 40;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; }
  .drawer-cta { display: inline-flex; margin: 8px 12px 4px; width: calc(100% - 24px); }
  .logo-name { white-space: normal; font-size: 14px; max-width: 46vw; }
  .nav-search input { width: 72px; }
  .page-band { padding-top: 22px; }
  h1 { font-size: 30px; }
  .scope-item, .log-item { grid-template-columns: 1fr; gap: 4px; }
  .section { padding: 46px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav-bar { gap: 8px; }
  .logo-sub { letter-spacing: 0.08em; }
  .nav-search input { width: 0; padding: 0; }
  .nav-search:focus-within input { width: 108px; padding: 0 8px; }
  .topic-row { grid-template-columns: 48px minmax(0, 1fr); padding-right: 0; }
  .rank-no { font-size: 22px; }
  .topic-links a { grid-template-columns: 1fr; gap: 0; }
  .fact b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* roulang page: category1 */
:root {
  --ink: #1B1520;
  --bg: #E7E1E4;
  --paper: #F7F4F1;
  --sage: #5E7A72;
  --rose: #C73B6F;
  --muted: #5e564f;
  --line: rgba(27, 21, 32, 0.16);
  --line-strong: rgba(27, 21, 32, 0.32);
  --paper-2: #efeae6;
  --radius: 3px;
  --radius-btn: 2px;
  --nav-h: 60px;
  --shadow: none;
  --serif: "Songti SC", "Noto Serif SC", "STSong", "PMingLiU", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  --space: 28px;
  --max: 1160px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
button, input { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 1px solid var(--rose);
  outline-offset: 3px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.3; }
ul, ol, dl, dd { margin: 0; padding: 0; }
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(231, 225, 228, 0.96);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  color: var(--ink);
  flex: 0 0 auto;
}
.logo-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--sage);
  margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  color: var(--ink);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { font-weight: 650; }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-search {
  display: flex;
  align-items: center;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: var(--radius-btn);
}
.nav-search input {
  width: 148px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0 10px;
  border-radius: var(--radius-btn);
}
.nav-search input::placeholder { color: var(--sage); }
.nav-search input:focus { border: 0; outline: none; }
.nav-search:focus-within { border-color: var(--rose); }
.nav-search button {
  min-width: 52px;
  height: 42px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0 10px;
}
.nav-search button:hover { color: var(--rose); }
.nav-toggle {
  display: none;
  min-width: 52px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: var(--radius-btn);
  padding: 0 12px;
}
.nav-toggle:hover { border-color: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-size: 15px;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  box-shadow: var(--shadow);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rose); color: var(--ink); border-color: var(--rose); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover, .btn-line:focus-visible { border-color: var(--ink); background: var(--paper); }
.drawer-cta { display: none; }
.section { padding: 72px 0; background: transparent; border-bottom: 1px solid var(--line); }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--paper); border-bottom-color: transparent; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.lead { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.section-ink .lead { color: #d9d0d4; }
.cat-head { padding: 36px 0 32px; background: var(--paper); border-bottom: 1px solid var(--line); }
.cat-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 36px;
  align-items: end;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  color: var(--sage);
  font-size: 12px;
  letter-spacing: 0.14em;
}
h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.18; max-width: 9em; margin-top: 14px; }
.mark { width: 42px; height: 2px; background: var(--rose); margin: 16px 0 14px; border: 0; }
.dek { max-width: 34em; font-size: 16px; line-height: 1.8; }
.fact-strip { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--sage); font-size: 13px; letter-spacing: 0.04em; }
.fact-strip span { min-height: 28px; display: inline-flex; align-items: center; }
.filter-label { color: var(--sage); font-size: 12px; letter-spacing: 0.16em; margin-bottom: 8px; }
.filter-box { display: flex; flex-direction: column; gap: 8px; }
.chip {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: var(--radius-btn);
  padding: 0 12px;
  text-align: left;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}
.chip:hover { border-color: var(--ink); background: var(--paper-2); }
.chip.is-on { border-color: var(--rose); color: var(--rose); background: var(--paper); }
.sort-section { padding: 28px 0 8px; }
.sort-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: var(--radius);
}
.sort-btn {
  min-height: 52px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  letter-spacing: 0.08em;
  transition: color 160ms ease, background-color 160ms ease;
}
.sort-btn:last-child { border-right: 0; }
.sort-btn:hover { background: var(--paper-2); }
.sort-btn.is-on { color: var(--rose); box-shadow: inset 0 -2px 0 var(--rose); background: var(--paper); }
.list-section { padding: 20px 0 64px; }
.rank-list { border-top: 1px solid var(--line-strong); }
.rank-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 104px 88px;
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 10px 8px 10px 14px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.rank-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--rose);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 160ms ease;
}
.rank-row:hover::before, .rank-row:focus-within::before { transform: scaleY(1); }
.rank-no {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--rose);
  font-variant-numeric: tabular-nums;
  animation: rise 420ms ease both;
}
.rank-main h3 { font-size: 20px; line-height: 1.35; }
.rank-main a { display: inline-flex; min-height: 44px; align-items: center; }
.rank-main a:hover { color: var(--rose); }
.rank-main p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.dur { font-variant-numeric: tabular-nums; font-size: 15px; }
.upd { color: var(--sage); font-variant-numeric: tabular-nums; font-size: 14px; }
.empty-state { padding: 22px 0; color: var(--sage); border-bottom: 1px solid var(--line); }
.more-line { display: flex; justify-content: flex-start; margin-top: 18px; }
.note-section { padding: 48px 0 64px; }
.note-narrow {
  max-width: 440px;
  margin-left: auto;
  border-left: 2px solid var(--rose);
  padding: 4px 0 4px 20px;
}
.note-narrow h2 { font-size: 28px; margin-bottom: 8px; }
.def-list { display: flex; flex-direction: column; }
.def-list div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.def-list dt { font-family: var(--serif); font-weight: 700; color: var(--rose); }
.def-list dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.article-list { list-style: none; border-top: 1px solid var(--line-strong); }
.article-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}
.article-list a { font-family: var(--serif); font-weight: 700; font-size: 20px; min-height: 44px; display: inline-flex; align-items: center; }
.article-list li:first-child a { font-size: 28px; }
.article-list a:hover { color: var(--rose); }
.article-list time { color: var(--sage); font-size: 14px; font-variant-numeric: tabular-nums; }
.metric-section { padding: 56px 0; }
.metric-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.75fr);
  gap: 12px;
}
.metric {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid transparent;
}
.metric b {
  display: block;
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  color: var(--rose);
  font-weight: 700;
}
.metric strong { display: block; margin-top: 10px; font-size: 18px; font-weight: 650; }
.metric span { display: block; margin-top: 6px; color: #d9d0d4; font-size: 14px; line-height: 1.7; }
.metric-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
h2 { font-size: 30px; }
.extend-section { padding: 56px 0 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { margin: 0 0 14px; color: var(--muted); max-width: 42em; }
.close-bar {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}
.close-bar p { margin-top: 8px; color: var(--muted); max-width: 36em; }
.site-footer { background: var(--ink); color: var(--paper); padding: 36px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr); gap: 18px 32px; align-items: start; }
.footer-brand { font-family: var(--serif); font-size: 20px; margin: 0 0 8px; }
.footer-note { color: #d9d0d4; font-size: 14px; line-height: 1.75; max-width: 36em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--paper); }
.footer-links a:hover { color: var(--rose); }
.copy {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(247, 244, 241, 0.16);
  color: #b7aea8;
  font-size: 13px;
}
@keyframes rise {
  from { transform: translateY(6px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@media (max-width: 1199px) {
  .cat-bar { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 24px; }
  .article-list li:first-child a { font-size: 24px; }
}
@media (max-width: 1024px) {
  .logo-name { font-size: 14px; }
  .nav-links a { padding: 0 8px; font-size: 14px; }
  .nav-search input { width: 108px; }
  .cat-bar, .metric-bar, .footer-grid { grid-template-columns: 1fr; }
  .note-narrow { margin-left: 0; }
  h1 { max-width: none; }
}
@media (max-width: 767px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-tools .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    z-index: 60;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; }
  .drawer-cta { display: inline-flex; margin-top: 8px; }
  .nav-search input { width: 92px; }
  .rank-row { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; padding-right: 0; }
  .dur, .upd { grid-column: 2; }
  .upd { margin-top: -8px; }
  .section { padding: 52px 0; }
  .close-bar { flex-direction: column; align-items: flex-start; }
  .article-list li { grid-template-columns: 1fr; gap: 0; padding: 10px 0; }
  .article-list li:first-child a, .article-list a { font-size: 20px; }
}
@media (max-width: 520px) {
  .logo-sub { display: none; }
  .nav-search input { width: 72px; }
  .fact-strip { gap: 4px 12px; }
  .metric b { font-size: 40px; }
  .sort-btn { letter-spacing: 0; padding: 0 6px; }
  h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rank-no { animation: none; }
  .rank-row::before, .btn, .nav-links a::after, .chip, .sort-btn { transition: none; }
}
