/* roulang page: index */
:root {
  --bg: #16110F;
  --bg-alt: #1C1614;
  --surface: #241C19;
  --surface-2: #2C221E;
  --copper: #D4652F;
  --ember: #F0A06A;
  --ivory: #F6F0EA;
  --muted: #C4B5AA;
  --line: rgba(246,240,234,.12);
  --r1: #E8A07A;
  --r2: #C9C3BC;
  --r3: #A15A3C;
  --focus: #E07A4A;
  --shadow: 0 10px 28px rgba(20,10,8,.35);
  --radius-shell: 20px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --max: 1120px;
  --gap: 20px;
  --pad: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea { font-family: inherit; font-size: 16px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 8px;
  z-index: 40;
  margin-top: 16px;
  padding: 0 24px;
}
.nav-shell {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: rgba(36,28,25,.92);
  border-radius: var(--radius-shell);
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--copper);
  box-shadow: var(--shadow);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: auto;
}
.logo-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: var(--copper);
}
.logo-line1 { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: .04em; }
.logo-line2 { display: block; font-size: 12px; line-height: 1.25; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--muted);
  border-radius: 10px;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--ivory); }
.main-nav a:focus-visible, .logo:focus-visible, .text-link:focus-visible, .entry-card:focus-visible, .rank-row:focus-visible, .guide:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.main-nav a.active { color: var(--copper); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--copper);
}
.menu-btn {
  display: none;
  min-height: 44px;
  min-width: 64px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--copper);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}
.menu-btn:hover { background: rgba(212,101,47,.16); }
.menu-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.block { padding: var(--pad) 0; }
.block-alt { background: var(--bg-alt); }
.block-head { margin-bottom: 22px; max-width: 760px; }
.block-head h2 { font-size: 24px; line-height: 1.35; font-weight: 700; }
.lead { margin-top: 8px; color: var(--muted); max-width: 68ch; }
h1 { font-size: 38px; line-height: 1.25; font-weight: 700; }
.board-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 22px; }
.subhead { margin-top: 10px; color: var(--muted); max-width: 46em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--ember);
  color: #1A100C;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: #f4b183; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.btn:disabled, .btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; background: #8d6a52; color: #2a211c; }
.btn-ghost { background: transparent; color: var(--ivory); border-color: var(--copper); }
.btn-ghost:hover { background: rgba(212,101,47,.16); }
.heat-board {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap);
}
.heat-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  min-height: 132px;
}
.heat-card.lead {
  border-color: var(--r1);
  padding: 26px 24px 22px;
  min-height: 168px;
}
.heat-label { display: block; color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.num {
  display: block;
  margin-top: 8px;
  color: var(--ember);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.1;
  text-align: right;
}
.heat-card.lead .num { font-size: 56px; }
.heat-note { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; text-align: right; }
.ribbon {
  position: absolute;
  top: 16px;
  right: 0;
  padding: 3px 12px 3px 14px;
  background: var(--copper);
  color: var(--ivory);
  font-size: 12px;
  line-height: 1.4;
  border-radius: 3px 0 0 3px;
}
.ribbon::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-right: 7px solid var(--copper);
}
.tier-list { display: flex; flex-direction: column; gap: 12px; }
.tier-row {
  display: grid;
  grid-template-columns: auto 180px 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.tier-row:nth-child(1) { min-height: 96px; border-color: var(--r1); }
.tier-row:nth-child(2) { min-height: 74px; border-color: var(--r2); }
.tier-row:nth-child(3) { min-height: 84px; border-color: var(--r3); }
.tier-row:nth-child(4) { min-height: 70px; }
.tier-name { font-weight: 700; font-size: 18px; }
.tier-desc { color: var(--muted); text-align: right; }
.rank-no {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 20px;
  border: 1px solid var(--r2);
  background: #1B1513;
  flex: 0 0 44px;
}
.tier-row:nth-child(1) .rank-no { border-color: var(--r1); color: var(--r1); font-size: 24px; }
.tier-row:nth-child(2) .rank-no { border-color: var(--r2); color: var(--r2); }
.tier-row:nth-child(3) .rank-no { border-color: var(--r3); color: var(--r3); }
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.rank-row:hover { transform: translateY(-1px); border-color: rgba(240,160,106,.45); }
.rank-row.r1 { border-color: var(--r1); }
.rank-row.r2 { border-color: var(--r2); }
.rank-row.r3 { border-color: var(--r3); }
.rank-row.r1 .rank-no { border-color: var(--r1); color: var(--r1); font-size: 24px; }
.rank-row.r2 .rank-no { border-color: var(--r2); color: var(--r2); }
.rank-row.r3 .rank-no { border-color: var(--r3); color: var(--r3); }
.rank-title { flex: 1; min-width: 0; font-weight: 700; }
.rank-meta { margin-left: auto; text-align: right; min-width: 112px; }
.heat {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: var(--ember);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}
.heat svg { width: 14px; height: 14px; }
.rank-meta time { display: block; color: var(--muted); font-size: 13px; }
.compare {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  gap: 16px;
  align-items: stretch;
}
.compare-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 22px;
}
.compare-side h3 { font-size: 20px; margin-bottom: 8px; }
.compare-side p { color: var(--muted); margin-bottom: 14px; }
.compare-side li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.compare-side li span:last-child { text-align: right; color: var(--ivory); }
.compare-side.hot { border-color: var(--r1); }
.scale {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.scale i {
  width: 2px;
  flex: 1;
  background: var(--copper);
  display: block;
}
.scale b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  flex: 0 0 8px;
}
.scene-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  grid-template-rows: auto auto;
  gap: var(--gap);
}
.scene-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 22px;
}
.scene-card.big {
  grid-row: 1 / span 2;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(420px 180px at 10% 0%, rgba(212,101,47,.28), transparent 70%),
    var(--surface);
  border-color: var(--r1);
}
.scene-card h3 { font-size: 22px; margin-bottom: 8px; }
.scene-card p { color: var(--muted); }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--ember);
  font-size: 13px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow);
  min-height: 180px;
}
.step h3 { margin: 14px 0 8px; font-size: 18px; }
.step p { color: var(--muted); }
.step:nth-child(1) .rank-no { border-color: var(--r1); color: var(--r1); }
.step:nth-child(2) .rank-no { border-color: var(--r2); color: var(--r2); }
.step:nth-child(3) .rank-no { border-color: var(--r3); color: var(--r3); }
.timeline { position: relative; display: flex; flex-direction: column; gap: 0; max-width: 760px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline li { position: relative; padding: 0 0 26px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--r3);
  box-shadow: 0 0 0 4px rgba(161,90,60,.25);
}
.timeline h3 { font-size: 18px; }
.timeline p { color: var(--muted); }
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.entry-card {
  display: block;
  min-height: 210px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.entry-card:hover { transform: translateY(-1px); border-color: var(--r1); }
.entry-kicker { color: var(--ember); font-variant-numeric: tabular-nums; font-size: 13px; }
.entry-card h3 { margin: 10px 0; font-size: 22px; }
.entry-card p { color: var(--muted); }
.entry-go { display: inline-block; margin-top: 16px; color: var(--ember); font-weight: 700; }
.news-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow); }
.news-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.news-row:last-child { border-bottom: 0; }
.news-row time { color: var(--ember); font-variant-numeric: tabular-nums; }
.news-row a:hover { color: var(--ember); }
.list-more { margin-top: 14px; }
.text-link { color: var(--ember); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.text-link:hover { color: #f4b183; }
.guide-list { display: flex; flex-direction: column; gap: var(--gap); }
.guide {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.guide:hover { transform: translateY(-1px); }
.guide-visual {
  min-height: 180px;
  background: #16110F;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  border-right: 1px solid var(--line);
}
.guide-visual svg { width: 54px; height: 54px; }
.guide-body { padding: 22px 22px 20px; }
.guide-body h3 { font-size: 20px; margin-bottom: 8px; }
.guide-body p { color: var(--muted); }
.guard-list { display: flex; flex-direction: column; gap: 12px; }
.guard {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.guard strong { display: block; }
.guard p { color: var(--muted); }
.status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(240,160,106,.16);
  flex: 0 0 10px;
}
.qa-list { display: flex; flex-direction: column; gap: 10px; }
details.qa {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
}
details.qa summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ember);
  border-bottom: 1.5px solid var(--ember);
  transform: rotate(45deg);
}
details.qa[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
details.qa p { color: var(--muted); padding: 0 0 14px; }
details.faq[open] { border-left: 3px solid var(--copper); padding-left: 14px; }
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 14px 16px;
}
.review:nth-child(1) { border-color: var(--r1); }
.review:nth-child(2) { border-color: var(--r2); }
.review:nth-child(3) { border-color: var(--r3); }
.review-no {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 700;
  color: var(--ember);
}
.review p { color: var(--ivory); }
.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-shell);
  box-shadow: var(--shadow);
  padding: 22px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span { color: var(--muted); font-size: 14px; }
input, textarea {
  width: 100%;
  color: var(--ivory);
  background: #16110F;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 46px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--focus); border-color: var(--copper); }
.form-bar { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.form-note { display: none; margin: 0; padding: 10px 12px; border-radius: 12px; }
.form-note.show { display: block; }
.form-note.ok { background: rgba(212,101,47,.16); color: var(--ivory); }
.form-note.bad { background: rgba(161,90,60,.22); color: #F6D7CC; }
.site-footer { padding: 36px 0 48px; border-top: 1px solid var(--line); background: #120E0C; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 28px; }
.footer-brand { font-size: 20px; font-weight: 700; line-height: 1.4; }
.site-footer p { color: var(--muted); margin-top: 8px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-links a { min-height: 36px; display: inline-flex; align-items: center; color: var(--muted); }
.footer-links a:hover { color: var(--ivory); }
.copy { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 1280px) {
  h1 { font-size: 36px; }
  .heat-card.lead .num { font-size: 48px; }
}
@media (max-width: 1024px) {
  .heat-board { grid-template-columns: 1fr 1fr; }
  .heat-card.lead { grid-column: 1 / -1; }
  .board-top { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr 1fr; }
  .guide { grid-template-columns: 200px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .span-2 { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  .container { width: min(var(--max), calc(100% - 24px)); }
  .site-header { padding: 0 12px; margin-top: 12px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-shell { flex-wrap: wrap; height: 64px; overflow: hidden; }
  .site-header.nav-open .nav-shell { height: auto; padding-top: 8px; padding-bottom: 10px; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 6px; }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a { width: 100%; }
  h1 { font-size: 26px; }
  .block-head h2 { font-size: 22px; }
  .tier-row { grid-template-columns: auto 1fr; min-height: 0; padding: 14px; }
  .tier-desc { grid-column: 1 / -1; text-align: left; }
  .compare { grid-template-columns: 1fr; }
  .scale { flex-direction: row; height: 18px; padding: 0 8px; }
  .scale i { height: 2px; width: auto; }
  .scene-grid, .entry-grid, .steps, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .scene-card.big { grid-row: auto; min-height: 220px; }
  .guide { grid-template-columns: 1fr; }
  .guide-visual { min-height: 120px; border-right: 0; border-bottom: 1px solid var(--line); }
  .num { font-size: 30px; }
  .heat-card.lead .num { font-size: 42px; }
}
@media (max-width: 480px) {
  .rank-row { flex-wrap: wrap; align-items: flex-start; }
  .rank-meta { width: 100%; text-align: right; }
  .news-row { grid-template-columns: 1fr; gap: 2px; }
  .review { grid-template-columns: 52px 1fr; }
  .logo-line2 { max-width: 9em; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category2 */
:root {
 --bg: #16110F;
 --bg-alt: #1C1614;
 --surface: #241C19;
 --surface-2: #2C221E;
 --copper: #D4652F;
 --ember: #F0A06A;
 --ivory: #F6F0EA;
 --muted: #C4B5AA;
 --line: rgba(246,240,234,.12);
 --r1: #E8A07A;
 --r2: #C9C3BC;
 --r3: #A15A3C;
 --focus: #E07A4A;
 --shadow: 0 10px 28px rgba(20,10,8,.35);
 --radius-shell: 20px;
 --radius-card: 16px;
 --radius-pill: 999px;
 --max: 1120px;
 --gap: 20px;
 --pad: 72px;
 --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ivory);
 font-family: var(--font);
 font-size: 16px;
 line-height: 1.8;
 text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea { font-family: inherit; font-size: 16px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.site-header {
 position: sticky;
 top: 8px;
 z-index: 40;
 margin-top: 16px;
 padding: 0 24px;
}
.nav-shell {
 min-height: 64px;
 display: flex;
 align-items: center;
 gap: 12px;
 padding: 0 18px;
 background: rgba(36,28,25,.92);
 border-radius: var(--radius-shell);
 border: 1px solid var(--line);
 border-bottom: 1px solid var(--copper);
 box-shadow: var(--shadow);
}
.logo {
 display: flex;
 align-items: center;
 gap: 10px;
 min-height: 44px;
 margin-right: auto;
 color: var(--ivory);
}
.logo-mark {
 width: 36px;
 height: 36px;
 flex: 0 0 36px;
 color: var(--copper);
}
.logo-line1 { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: .04em; }
.logo-line2 { display: block; font-size: 12px; line-height: 1.25; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
 position: relative;
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 padding: 0 12px;
 color: var(--muted);
 border-radius: 10px;
 transition: color .15s ease;
}
.main-nav a:hover { color: var(--ivory); }
.main-nav a:focus-visible,
.logo:focus-visible,
.btn:focus-visible,
.mag-card:focus-visible,
.article-card:focus-visible,
.menu-btn:focus-visible {
 outline: 2px solid var(--focus);
 outline-offset: 2px;
}
.main-nav a.active { color: var(--copper); }
.main-nav a.active::after {
 content: "";
 position: absolute;
 left: 12px;
 right: 12px;
 bottom: 8px;
 height: 2px;
 border-radius: 2px;
 background: var(--copper);
}
.menu-btn {
 display: none;
 min-height: 44px;
 min-width: 64px;
 padding: 0 14px;
 border-radius: var(--radius-pill);
 border: 1px solid var(--copper);
 background: transparent;
 color: var(--ivory);
 cursor: pointer;
 transition: background .15s ease;
}
.menu-btn:hover { background: rgba(212,101,47,.16); }
.section { padding: var(--pad) 0; }
.section.alt { background: var(--bg-alt); }
.section h2 {
 font-size: 24px;
 font-weight: 700;
 line-height: 1.3;
 margin-bottom: 20px;
 text-align: left;
}
.lead { margin-top: 12px; color: var(--muted); max-width: 68ch; line-height: 1.8; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 20px;
 border-radius: var(--radius-pill);
 border: 1px solid transparent;
 background: var(--ember);
 color: #1A100C;
 font-weight: 700;
 cursor: pointer;
 transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: #f4b183; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; background: #8d6a52; color: #2a211c; }
.btn-ghost { background: transparent; color: var(--ivory); border-color: var(--copper); }
.btn-ghost:hover { background: rgba(212,101,47,.16); }
.page-head { padding: 36px 0 28px; }
.head-top {
 display: flex;
 align-items: flex-start;
 justify-content: space-between;
 gap: 16px;
}
.page-head h1 {
 font-size: 38px;
 font-weight: 700;
 line-height: 1.25;
 text-align: left;
}
.topic-no {
 flex: 0 0 auto;
 margin-top: 8px;
 color: var(--ember);
 font-size: 13px;
 letter-spacing: .14em;
 font-variant-numeric: tabular-nums;
}
.copper-rule {
 display: block;
 height: 1px;
 margin-top: 22px;
 border: 0;
 background: var(--copper);
}
.stat-strip { padding: 0 0 8px; }
.strip {
 display: flex;
 align-items: center;
 gap: 36px;
 min-height: 72px;
 padding: 10px 22px;
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius-shell);
 box-shadow: var(--shadow);
}
.strip-item { display: flex; align-items: baseline; gap: 10px; min-height: 44px; }
.strip .num {
 font-size: 28px;
 font-weight: 700;
 line-height: 1;
 color: var(--ember);
 font-variant-numeric: tabular-nums;
}
.strip .label { color: var(--muted); font-size: 13px; }
.mag-grid {
 display: grid;
 grid-template-columns: repeat(12, 1fr);
 gap: var(--gap);
}
.mag-card {
 position: relative;
 overflow: hidden;
 display: flex;
 flex-direction: column;
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 min-height: 168px;
 transition: transform .15s ease, border-color .15s ease;
}
.mag-card:hover { transform: translateY(-1px); border-color: rgba(240,160,106,.45); }
.mag-card.big { grid-column: 1 / 8; grid-row: 1 / 3; min-height: 420px; }
.mag-card.s1 { grid-column: 8 / 13; grid-row: 1; }
.mag-card.s2 { grid-column: 8 / 13; grid-row: 2; }
.mag-card.s3 { grid-column: 1 / 7; grid-row: 3; }
.mag-card.s4 { grid-column: 7 / 13; grid-row: 3; }
.mag-card.r1 { border-color: var(--r1); }
.mag-card.r2 { border-color: var(--r2); }
.mag-card.r3 { border-color: var(--r3); }
.mag-card.r1 .rank-no { border-color: var(--r1); color: var(--r1); }
.mag-card.r2 .rank-no { border-color: var(--r2); color: var(--r2); }
.mag-card.r3 .rank-no { border-color: var(--r3); color: var(--r3); }
.card-visual {
 position: relative;
 min-height: 168px;
 display: flex;
 align-items: center;
 justify-content: center;
 background:
 radial-gradient(280px 120px at 18% 0%, rgba(212,101,47,.32), transparent 70%),
 var(--surface-2);
}
.card-body { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mag-card:not(.big) .card-body { padding-top: 16px; }
.rank-no {
 width: 44px;
 height: 44px;
 border-radius: 50%;
 border: 1px solid var(--line);
 display: inline-flex;
 align-items: center;
 justify-content: center;
 font-variant-numeric: tabular-nums;
 font-weight: 700;
 font-size: 18px;
 color: var(--muted);
}
.mag-card.big .rank-no { width: 56px; height: 56px; font-size: 28px; }
.mag-card h3 { font-size: 20px; font-weight: 700; line-height: 1.35; }
.mag-card.big h3 { font-size: 26px; }
.card-note { color: var(--muted); line-height: 1.75; }
.order-line { color: var(--ivory); font-size: 15px; }
.card-foot {
 margin-top: auto;
 display: flex;
 justify-content: flex-end;
 align-items: baseline;
 gap: 14px;
 padding-top: 8px;
}
.heat {
 color: var(--ember);
 font-weight: 700;
 font-variant-numeric: tabular-nums;
 font-size: 18px;
}
.card-foot time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.ribbon {
 position: absolute;
 top: 16px;
 right: -34px;
 transform: rotate(32deg);
 background: var(--copper);
 color: #1A100C;
 font-size: 12px;
 font-weight: 700;
 letter-spacing: .04em;
 padding: 4px 40px;
}
.step-list { display: flex; flex-direction: column; max-width: 760px; }
.step {
 display: grid;
 grid-template-columns: 44px 1fr;
 gap: 16px;
 position: relative;
 padding-bottom: 22px;
}
.step::before {
 content: "";
 position: absolute;
 left: 21px;
 top: 48px;
 bottom: 0;
 width: 1px;
 background: var(--line);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step .rank-no { background: var(--surface); position: relative; z-index: 1; }
.step h3 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.step p { color: var(--muted); }
.week {
 display: grid;
 grid-template-columns: repeat(7, 1fr);
 gap: 12px;
}
.day {
 min-height: 112px;
 padding: 14px 12px;
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
}
.day.is-update { border-color: var(--copper); }
.day-name { display: block; color: var(--muted); font-size: 13px; }
.day strong { display: block; margin: 8px 0 4px; font-size: 16px; }
.day span { color: var(--ember); font-size: 13px; font-variant-numeric: tabular-nums; }
.day:not(.is-update) span { color: var(--muted); }
.article-mag {
 display: grid;
 grid-template-columns: 1.45fr .85fr;
 gap: var(--gap);
}
.article-card {
 display: flex;
 flex-direction: column;
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 overflow: hidden;
 min-height: 148px;
 transition: transform .15s ease, border-color .15s ease;
}
.article-card:hover { transform: translateY(-1px); border-color: rgba(240,160,106,.45); }
.article-feature { min-height: 320px; }
.article-side { display: flex; flex-direction: column; gap: var(--gap); }
.article-visual {
 min-height: 120px;
 display: flex;
 align-items: flex-end;
 padding: 16px;
 background:
 radial-gradient(220px 90px at 0% 0%, rgba(212,101,47,.28), transparent 72%),
 #1A1412;
}
.article-feature .article-visual { min-height: 168px; flex: 1; }
.article-kicker { color: var(--ember); font-size: 13px; font-variant-numeric: tabular-nums; }
.article-card h3 { font-size: 18px; font-weight: 700; line-height: 1.45; padding: 16px 16px 6px; }
.article-card p { color: var(--muted); padding: 0 16px 16px; }
.more-row { display: flex; align-items: center; min-height: 72px; }
.remind { padding-top: 12px; }
.remind-bar {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 padding: 18px 22px;
 background: var(--surface);
 border: 1px solid var(--line);
 border-left: 3px solid var(--copper);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
}
.remind-bar h2 { margin-bottom: 4px; font-size: 22px; }
.remind-bar p { color: var(--muted); }
.site-footer {
 padding: 48px 0 32px;
 border-top: 1px solid var(--line);
 margin-top: 12px;
}
.footer-grid {
 display: grid;
 grid-template-columns: 1.2fr .8fr 1.5fr;
 gap: 24px;
}
.footer-brand { font-weight: 700; font-size: 18px; line-height: 1.4; margin-bottom: 8px; }
.footer-grid p { color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a {
 color: var(--muted);
 min-height: 44px;
 display: inline-flex;
 align-items: center;
 transition: color .15s ease;
}
.footer-links a:hover { color: var(--ember); }
.footer-links a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.copy { color: var(--muted); font-size: 13px; margin-top: 24px; }
@media (max-width: 1280px) {
 .page-head h1 { font-size: 36px; }
}
@media (max-width: 1024px) {
 .mag-card.big { grid-column: 1 / 13; grid-row: auto; min-height: 0; }
 .mag-card.s1, .mag-card.s2 { grid-column: span 6; grid-row: auto; }
 .mag-card.s3, .mag-card.s4 { grid-column: span 6; grid-row: auto; }
 .article-mag { grid-template-columns: 1fr; }
 .article-feature { min-height: 0; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .footer-grid .span-2 { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
 :root { --pad: 40px; }
 .site-header { padding: 0 12px; margin-top: 12px; }
 .container { width: min(var(--max), calc(100% - 32px)); }
 .nav-shell { flex-wrap: wrap; padding: 8px 12px; }
 .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
 .main-nav {
 display: none;
 flex-direction: column;
 align-items: stretch;
 width: 100%;
 padding: 4px 0 8px;
 }
 .main-nav.is-open { display: flex; }
 .main-nav a { width: 100%; }
 .main-nav a.active::after { left: 12px; right: auto; width: 28px; }
 .page-head h1 { font-size: 28px; }
 .section h2 { font-size: 22px; }
 .mag-card.s1, .mag-card.s2, .mag-card.s3, .mag-card.s4 { grid-column: 1 / -1; }
 .week { grid-template-columns: repeat(4, 1fr); }
 .strip { gap: 18px; flex-wrap: wrap; }
 .remind-bar { flex-direction: column; align-items: flex-start; }
 .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
 .page-head h1 { font-size: 26px; }
 .head-top { flex-direction: column; gap: 6px; }
 .topic-no { margin-top: 0; }
 .week { grid-template-columns: repeat(2, 1fr); }
 .strip .num { font-size: 24px; }
 .mag-card.big h3 { font-size: 22px; }
 .card-foot { justify-content: space-between; }
}

/* roulang page: category1 */
:root {
  --bg: #16110F;
  --bg-alt: #1C1614;
  --surface: #241C19;
  --surface-2: #2C221E;
  --copper: #D4652F;
  --ember: #F0A06A;
  --ivory: #F6F0EA;
  --muted: #C4B5AA;
  --line: rgba(246,240,234,.12);
  --r1: #E8A07A;
  --r2: #C9C3BC;
  --r3: #A15A3C;
  --focus: #E07A4A;
  --shadow: 0 10px 28px rgba(20,10,8,.35);
  --radius-shell: 20px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --max: 1120px;
  --gap: 20px;
  --pad: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea { font-family: inherit; font-size: 16px; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { font-weight: 700; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 8px;
  z-index: 40;
  margin-top: 16px;
  padding: 0 24px;
}
.nav-shell {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: rgba(36,28,25,.92);
  border-radius: var(--radius-shell);
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--copper);
  box-shadow: var(--shadow);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: auto;
  color: var(--ivory);
}
.logo-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: var(--copper);
}
.logo-line1 { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: .04em; }
.logo-line2 { display: block; font-size: 12px; line-height: 1.25; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--muted);
  border-radius: 10px;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--ivory); }
.main-nav a:focus-visible,
.logo:focus-visible,
.btn:focus-visible,
.chip:focus-visible,
.rank-row:focus-visible,
.article-row:focus-visible,
.menu-btn:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.main-nav a.active { color: var(--copper); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--copper);
}
.menu-btn {
  display: none;
  min-height: 44px;
  min-width: 64px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--copper);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}
.menu-btn:hover { background: rgba(212,101,47,.16); }
.block { padding: var(--pad) 0; }
.block-alt { background: var(--bg-alt); }
.block-first { padding-top: 48px; }
h1 { margin: 0; font-size: 38px; line-height: 1.25; font-weight: 700; }
h2 { margin: 0 0 18px; font-size: 24px; line-height: 1.35; font-weight: 700; }
.subline { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.page-head-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px 28px 26px;
  background: var(--surface);
  border: 1px solid var(--r1);
  border-radius: var(--radius-shell);
  box-shadow: var(--shadow);
}
.big-no {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--r1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--r1);
  background:
    radial-gradient(circle at 50% 40%, rgba(232,160,122,.16), transparent 62%),
    var(--surface-2);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-shell);
  box-shadow: var(--shadow);
}
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-label { color: var(--muted); font-size: 13px; margin-right: 4px; }
.chip {
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.chip:hover { color: var(--ivory); border-color: rgba(240,160,106,.45); }
.chip.is-on {
  border-color: var(--copper);
  color: var(--ivory);
  background: rgba(212,101,47,.14);
}
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.rank-row:hover { transform: translateY(-1px); border-color: rgba(240,160,106,.45); }
.rank-row.r1 { border-color: var(--r1); }
.rank-row.r2 { border-color: var(--r2); }
.rank-row.r3 { border-color: var(--r3); }
.rank-row[hidden] { display: none !important; }
.rank-no {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--muted);
  font-size: 16px;
  background: var(--surface-2);
}
.rank-row.r1 .rank-no { border-color: var(--r1); color: var(--r1); font-size: 20px; }
.rank-row.r2 .rank-no { border-color: var(--r2); color: var(--r2); }
.rank-row.r3 .rank-no { border-color: var(--r3); color: var(--r3); }
.rank-title { flex: 1; min-width: 0; font-weight: 700; }
.rank-title strong { font-weight: 700; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--ember);
  font-size: 12px;
  font-weight: 500;
  vertical-align: 1px;
}
.rank-meta { margin-left: auto; text-align: right; min-width: 112px; }
.score {
  display: block;
  color: var(--ember);
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.rank-meta time { display: block; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.empty-note {
  margin-top: 12px;
  color: var(--muted);
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
}
.empty-note[hidden] { display: none; }
.dist-panel {
  padding: 22px 22px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.scale {
  display: flex;
  height: 14px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.seg-a { width: 46%; background: var(--ember); }
.seg-b { width: 38%; background: var(--copper); }
.seg-c { width: 16%; background: var(--r3); }
.scale-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 14px 0 8px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.scale-legend li { display: flex; align-items: center; gap: 8px; min-height: 32px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.a { background: var(--ember); }
.dot.b { background: var(--copper); }
.dot.c { background: var(--r3); }
.dist-notes { margin-top: 8px; }
.dist-notes p {
  padding: 12px 0 12px 14px;
  border-top: 1px solid var(--line);
  border-left: 2px solid rgba(212,101,47,.45);
  color: var(--ivory);
}
.note-list { display: flex; flex-direction: column; }
.note-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
}
.note-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ember);
  font-weight: 700;
}
.note-key i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px rgba(212,101,47,.16);
}
.article-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.article-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}
.article-row:last-child { border-bottom: 0; }
.article-row time { color: var(--ember); font-variant-numeric: tabular-nums; }
.article-row:hover { background: rgba(212,101,47,.1); }
.more-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.more-row p { color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--ember);
  color: #1A100C;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: #f4b183; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; background: #8d6a52; color: #2a211c; }
.qa-list { display: flex; flex-direction: column; gap: 12px; }
.qa-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.qa-item[open] { border-left: 3px solid var(--copper); }
.qa-item summary {
  min-height: 56px;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary::after {
  content: "";
  float: right;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-right: 1.5px solid var(--ember);
  border-bottom: 1.5px solid var(--ember);
  transform: rotate(45deg);
}
.qa-item[open] summary::after { transform: rotate(225deg); margin-top: 12px; }
.qa-a { padding: 0 18px 16px; color: var(--muted); }
.site-footer {
  padding: 48px 0 32px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1.4fr;
  gap: 20px;
}
.footer-brand { font-weight: 700; font-size: 18px; margin-bottom: 8px; color: var(--ivory); }
.footer-grid p { color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-links a {
  color: var(--muted);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: var(--ember); }
.copy {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1280px) {
  h1 { font-size: 36px; }
}
@media (max-width: 1024px) {
  .main-nav a { padding: 0 8px; }
  .page-head-card { grid-template-columns: 112px 1fr; padding: 22px; }
  .big-no { width: 96px; height: 96px; font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  .site-header { padding: 0 12px; }
  .nav-shell { flex-wrap: wrap; height: auto; padding: 10px 14px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 4px 0 8px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; }
  .main-nav a.active::after { left: 12px; right: auto; width: 28px; }
  .block-first { padding-top: 28px; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .page-head-card { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .more-row { flex-direction: column; align-items: flex-start; }
  .rank-row { align-items: flex-start; }
  .rank-meta { min-width: 84px; }
}
@media (max-width: 480px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .logo-line2 { max-width: 9em; }
  .filter-bar { padding: 12px; gap: 12px; }
  .chip { padding: 0 12px; }
  .note-row, .article-row { grid-template-columns: 72px 1fr; padding-left: 12px; padding-right: 12px; }
  .rank-title { font-size: 15px; }
  .score { font-size: 18px; }
  .big-no { width: 84px; height: 84px; font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
