/* roulang page: index */
:root {
  --bg: #F4F1EC;
  --surface: #FFFCFA;
  --ink: #1B1618;
  --muted: #5E554F;
  --line: #E6DFD6;
  --plum: #6E315C;
  --plum-deep: #542446;
  --leaf: #2C6A56;
  --silver: #8E97A3;
  --radius: 12px;
  --radius-input: 10px;
  --shadow: 0 10px 28px rgba(27, 22, 24, .06);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Segoe UI", sans-serif;
  --pad: 80px;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--plum); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; margin: 0; }
h1 { font-size: 60px; }
h2 { font-size: 32px; }
h3 { font-size: 20px; line-height: 1.4; }
p { margin: 0; }
.num, .rank-no, .metric-value, .score, .delta { font-variant-numeric: tabular-nums; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.prose { max-width: 72ch; color: var(--muted); margin-top: 12px; }
.kicker { font-size: 13px; letter-spacing: .08em; color: var(--silver); margin-bottom: 8px; }

.age-gate {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(27, 22, 24, .46);
  display: grid; place-items: center; padding: 24px;
}
.age-gate[hidden] { display: none; }
.age-card {
  width: min(460px, 100%);
  background: var(--plum-deep);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px 32px;
}
.age-card h2 { font-size: 28px; color: #fff; margin: 14px 0; }
.age-card p { color: rgba(255,255,255,.88); font-size: 15px; }
.age-card .btn { margin-top: 22px; background: #fff; color: var(--plum-deep); }
.age-card .btn:hover { background: var(--bg); color: var(--plum-deep); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 240ms ease, background 240ms ease;
}
.site-header.is-compact { box-shadow: var(--shadow); }
.nav-shell { transition: padding 240ms ease; }
.brand-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
  transition: min-height 240ms ease;
}
.logo {
  color: var(--ink); font-family: var(--serif); font-size: 22px;
  letter-spacing: -0.03em; text-decoration: none; white-space: nowrap;
}
.logo:hover { color: var(--plum); text-decoration: none; }
.brand-tools { display: flex; align-items: center; gap: 12px; }
.channel-row {
  max-height: 52px; overflow: hidden;
  border-top: 1px solid var(--line);
  transition: max-height 240ms ease, border-color 240ms ease, opacity 240ms ease;
}
.channel-row nav { display: flex; gap: 28px; min-height: 48px; align-items: center; }
.channel-row a {
  color: var(--ink); font-size: 15px; text-decoration: none;
  padding: 12px 0 10px; border-bottom: 2px solid transparent;
}
.channel-row a:hover { color: var(--plum); text-decoration: none; }
.channel-row a.is-active { color: var(--plum); border-bottom-color: var(--plum); }
.site-header.is-compact .nav-shell { display: flex; align-items: center; gap: 28px; }
.site-header.is-compact .brand-row { min-height: 64px; flex: 0 1 auto; }
.site-header.is-compact .logo { font-size: 16px; }
.site-header.is-compact .channel-row { flex: 1; border-top: 0; max-height: 64px; }
.site-header.is-compact .channel-row nav { min-height: 64px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; padding: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; margin: 4px auto; background: var(--ink);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { border-color: var(--plum); color: var(--plum); }
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--plum-deep); color: #fff; font-size: 12px; letter-spacing: .04em;
}
.badge-leaf { background: transparent; color: var(--leaf); border: 1px solid var(--leaf); }
.badge-line { background: transparent; color: var(--plum); border: 1px solid var(--line); }

.section { padding: var(--pad) 0; }
.section.surface { background: var(--surface); }
.section.plain { background: var(--bg); }
.section-head { margin-bottom: 28px; }
.section-head .prose { margin-top: 10px; }

.board {
  display: grid; grid-template-columns: 1.35fr .9fr; gap: 36px; align-items: end;
}
.giant {
  font-family: var(--serif); font-size: 92px; line-height: .85;
  color: var(--plum); letter-spacing: -0.05em; margin-bottom: 12px;
}
.board-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 16px 14px;
}
.metric span { display: block; font-size: 13px; color: var(--muted); }
.metric-value { font-family: var(--serif); font-size: 32px; line-height: 1.1; margin-top: 6px; }
.metric-value em { font-style: normal; color: var(--leaf); }
.progress-line { margin-top: 28px; }
.progress-line .meta-row, .meta-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; color: var(--muted); margin-bottom: 8px;
}
.track { height: 3px; background: #E3E6EA; border-radius: 999px; overflow: hidden; }
.track > i {
  display: block; height: 100%; width: 0; background: var(--silver); border-radius: inherit;
  transition: width 480ms ease;
}
.track > i.leaf { background: var(--leaf); }
.track > i.go { width: var(--w); }

.spec-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.spec-table { border-top: 1px solid var(--line); }
.spec-row {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 12px;
  align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.spec-row:hover { color: var(--plum); }
.spec-row b { font-weight: 600; }
.spec-row small { color: var(--silver); font-size: 13px; }
.frame {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); background: #1B1618;
}
.frame-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(110,49,92,.88), rgba(110,49,92,.2) 42%, transparent 43%),
    linear-gradient(245deg, rgba(44,106,86,.75), transparent 46%),
    #2A2426;
}
.frame-sub {
  position: absolute; left: 8%; right: 8%; bottom: 10%;
  background: rgba(27,22,24,.72); color: #F4F1EC;
  border-top: 2px solid var(--silver);
  text-align: center; font-size: 14px; padding: 8px 10px; letter-spacing: .04em;
}

.lead-rank { margin-bottom: 14px; }
.rank-row {
  display: grid; grid-template-columns: 72px minmax(0,1fr) 72px minmax(120px,180px);
  gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 10px;
  color: inherit; text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}
.section.surface .rank-row { background: var(--bg); }
.rank-row:hover { transform: translateY(-2px); text-decoration: none; border-color: #d9cfc4; color: inherit; }
.rank-no {
  font-family: var(--serif); font-size: 28px; color: var(--plum); line-height: 1;
  animation: rise .45s ease both;
}
.rank-title { font-size: 18px; font-family: var(--serif); }
.rank-meta { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.score { text-align: right; font-size: 22px; font-family: var(--serif); color: var(--leaf); }
.lead-rank .rank-row { padding: 22px 20px; }
.lead-rank .rank-no { font-size: 40px; }
.stack .rank-row:nth-child(2) .rank-no { animation-delay: .05s; }
.stack .rank-row:nth-child(3) .rank-no { animation-delay: .1s; }
.stack .rank-row:nth-child(4) .rank-no { animation-delay: .15s; }

.entry-line {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.entry-line a { font-family: var(--serif); font-size: 28px; color: var(--ink); }
.entry-line a:hover { color: var(--plum); }
.entry-line span { font-size: 13px; color: var(--silver); }

.scene-grid { display: grid; grid-template-columns: 1.35fr .9fr .72fr; gap: 14px; }
.scene {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between;
  color: inherit; text-decoration: none;
}
.scene:hover { transform: translateY(-2px); text-decoration: none; color: inherit; transition: transform 180ms ease; }
.scene:nth-child(2) { background: var(--plum); color: #fff; border-color: var(--plum); }
.scene:nth-child(2) p, .scene:nth-child(3) p { color: inherit; }
.scene:nth-child(3) { background: transparent; }
.scene p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.scene:nth-child(2) p { color: rgba(255,255,255,.86); }
.scene .tag { font-size: 13px; color: var(--silver); }
.scene:nth-child(2) .tag { color: rgba(255,255,255,.72); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.compare h3 { margin-bottom: 12px; }
.bar-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.bar-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.bar-top b { font-weight: 600; }
.bar-top .score { font-size: 18px; }
.bar-row .track { margin-top: 8px; }

.delta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.delta-col h3 { font-size: 18px; margin-bottom: 8px; }
.delta-row {
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.up { color: var(--leaf); }
.flat { color: var(--silver); }
.down { color: var(--plum); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.node { padding: 0 18px 0 0; }
.node .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--plum);
  box-shadow: 18px 0 0 var(--line), 100% 0 0 transparent;
  position: relative;
}
.node .dot::after {
  content: ""; position: absolute; left: 9px; top: 4px; height: 1px; width: calc(100vw / 8);
  max-width: 220px; background: var(--silver);
}
.timeline .node:last-child .dot::after { display: none; }
.node strong { display: block; margin-top: 14px; font-size: 15px; }
.node p { color: var(--muted); font-size: 14px; margin-top: 6px; }

.note-list { border-top: 1px solid var(--line); }
.note-item {
  display: grid; grid-template-columns: 56px minmax(0,1fr) 88px; gap: 12px;
  align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line);
  color: inherit; text-decoration: none;
}
.note-item:hover { color: var(--plum); }
.note-item .no { font-family: var(--serif); color: var(--plum); }
.note-item small { display: block; color: var(--muted); font-size: 13px; }
.more-link { display: inline-block; margin-top: 16px; color: var(--ink); border-bottom: 1px solid var(--ink); }
.more-link:hover { color: var(--plum); border-color: var(--plum); text-decoration: none; }

.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 72px 1fr; gap: 8px;
  padding: 18px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none;
}
.step:hover { color: var(--plum); }
.step .idx { font-family: var(--serif); font-size: 28px; color: var(--plum); }
.step p { color: var(--muted); }

.assure { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.assure-row {
  display: grid; grid-template-columns: 140px 1fr; gap: 16px;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.assure-row:last-child { border-bottom: 0; }
.assure-row strong { font-family: var(--serif); }
.assure-row p { color: var(--muted); }

.quick { display: grid; gap: 10px; }
.qa {
  display: grid; grid-template-columns: 220px 1fr; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.qa b { font-weight: 600; }
.qa p { color: var(--muted); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 16px 28px 16px 0; cursor: pointer; position: relative;
  font-family: var(--serif); font-size: 18px; line-height: 1.45;
}
.faq-item button::after {
  content: ""; position: absolute; right: 4px; top: 22px;
  width: 8px; height: 8px; border-right: 1.5px solid var(--plum); border-bottom: 1.5px solid var(--plum);
  transform: rotate(45deg); transition: transform 180ms ease;
}
.faq-item button[aria-expanded="true"]::after { transform: rotate(225deg); top: 26px; }
.faq-item .panel { display: none; padding: 0 28px 16px 0; color: var(--muted); }
.faq-item button[aria-expanded="true"] + .panel { display: block; }

.related { display: grid; gap: 0; }
.related a {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink);
}
.related a:hover { color: var(--plum); }
.related small { color: var(--silver); white-space: nowrap; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; }
.field input, .field select {
  height: 46px; border-radius: var(--radius-input); border: 1px solid var(--line);
  background: var(--surface); padding: 0 12px;
}
.field input.is-error, .field select.is-error { border-color: var(--leaf); }
.err { min-height: 1.2em; color: var(--leaf); font-size: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--plum); }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-status { color: var(--leaf); font-size: 14px; }

.site-footer { background: #1B1618; color: #F4F1EC; padding: 48px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 28px; }
.site-footer .logo { color: #fff; font-size: 20px; }
.site-footer a { color: #F4F1EC; }
.site-footer p, .site-footer li { color: rgba(244,241,236,.78); font-size: 14px; }
.site-footer ul { list-style: none; margin: 12px 0 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.copyright { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(244,241,236,.62); }

@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 1200px) {
  .giant { font-size: 76px; }
  h1 { font-size: 52px; }
}
@media (max-width: 1024px) {
  :root { --pad: 56px; }
  .board, .spec-layout, .compare, .scene-grid, .delta-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
  .scene-grid .scene:last-child { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 22px; }
  .node .dot::after { display: none; }
  .qa { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .nav-toggle { display: inline-block; }
  .brand-tools .btn { display: none; }
  .channel-row { display: none; max-height: none; border-top: 0; }
  .channel-row.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .channel-row nav { flex-direction: column; align-items: flex-start; gap: 0; }
  .channel-row a { width: 100%; padding: 12px 0; }
  .site-header.is-compact .nav-shell { display: block; }
  .site-header.is-compact .channel-row { display: none; }
  .site-header.is-compact .channel-row.is-open { display: block; }
  .site-header.is-compact .logo { font-size: 15px; }
  .board, .spec-layout, .compare, .scene-grid, .delta-grid, .foot-grid, .form-grid, .metrics { grid-template-columns: 1fr 1fr; }
  .board, .spec-layout, .compare, .scene-grid, .foot-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .rank-row {
    grid-template-columns: auto 1fr;
    grid-template-areas: "no title" "no meta" "score score" "track track";
  }
  .rank-no { grid-area: no; }
  .rank-title { grid-area: title; }
  .rank-meta { grid-area: meta; }
  .score { grid-area: score; text-align: left; }
  .rank-row .track { grid-area: track; }
  .note-item { grid-template-columns: 40px 1fr; }
  .note-item .score { grid-column: 2; text-align: left; }
  .assure-row, .step { grid-template-columns: 1fr; gap: 4px; }
  .entry-line { flex-direction: column; }
  .giant { font-size: 64px; }
}
@media (max-width: 520px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .logo { font-size: 14px; }
  .metrics, .delta-grid, .timeline, .form-grid { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
  .metric-value { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* roulang page: category1 */
:root {
 --bg: #F4F1EC;
 --surface: #FFFCFA;
 --ink: #1B1618;
 --muted: #5E554F;
 --line: #E6DFD6;
 --plum: #6E315C;
 --plum-deep: #542446;
 --leaf: #2C6A56;
 --silver: #8E97A3;
 --radius: 12px;
 --radius-input: 10px;
 --shadow: 0 10px 28px rgba(27, 22, 24, .06);
 --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
 --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Segoe UI", sans-serif;
 --pad: 80px;
 --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: var(--sans);
 font-size: 16.5px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select, summary { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--plum); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
 outline: 2px solid var(--plum);
 outline-offset: 2px;
}
::selection { background: #ead7e4; color: var(--ink); }
.num, .rank-no, .metric-value, .score, .delta { font-variant-numeric: tabular-nums; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 40px)); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: 60px; margin: 0; }
h2 { font-size: 32px; margin: 0 0 8px; }
h3 { font-size: 20px; margin: 0 0 6px; }
p { margin: 0; }
.age-toggle {
 position: absolute;
 width: 1px;
 height: 1px;
 margin: -1px;
 padding: 0;
 border: 0;
 clip: rect(0 0 0 0);
 overflow: hidden;
}
.age-gate {
 position: fixed;
 inset: 0;
 z-index: 80;
 background: var(--bg);
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 24px;
}
.age-card {
 width: min(460px, 100%);
 background: var(--plum-deep);
 color: #fff;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 36px 32px 32px;
}
.age-card h2 { font-size: 28px; color: #fff; margin: 14px 0; }
.age-card p { color: rgba(255,255,255,.88); font-size: 15px; }
.age-card .btn { margin-top: 22px; background: #fff; color: var(--plum-deep); }
.age-card .btn:hover { background: var(--bg); color: var(--plum-deep); }
html:not(.age-ok) .site-header,
html:not(.age-ok) main,
html:not(.age-ok) .site-footer { display: none; }
html.age-ok .age-gate,
.age-toggle:checked ~ .age-gate { display: none; }
.age-toggle:checked ~ .site-header,
.age-toggle:checked ~ main,
.age-toggle:checked ~ .site-footer { display: block; }
.age-toggle:focus-visible ~ .age-gate .btn { outline: 2px solid #fff; outline-offset: 3px; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 50;
 background: var(--surface);
 border-bottom: 1px solid var(--line);
 transition: box-shadow 240ms ease, background 240ms ease;
}
.site-header.is-compact { box-shadow: var(--shadow); }
.nav-shell { transition: padding 240ms ease; }
.brand-row {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 min-height: 72px;
 transition: min-height 240ms ease;
}
.logo {
 color: var(--ink);
 font-family: var(--serif);
 font-size: 22px;
 letter-spacing: -0.03em;
 text-decoration: none;
 white-space: nowrap;
}
.logo:hover { color: var(--plum); text-decoration: none; }
.brand-tools { display: flex; align-items: center; gap: 12px; }
.channel-row {
 max-height: 52px;
 overflow: hidden;
 border-top: 1px solid var(--line);
 transition: max-height 240ms ease, border-color 240ms ease, opacity 240ms ease;
}
.channel-row nav { display: flex; gap: 28px; min-height: 48px; align-items: center; }
.channel-row a {
 color: var(--ink);
 font-size: 15px;
 text-decoration: none;
 padding: 12px 0 10px;
 border-bottom: 2px solid transparent;
}
.channel-row a:hover { color: var(--plum); text-decoration: none; }
.channel-row a.is-active { color: var(--plum); border-bottom-color: var(--plum); }
.site-header.is-compact .nav-shell { display: flex; align-items: center; gap: 28px; }
.site-header.is-compact .brand-row { min-height: 64px; flex: 0 1 auto; }
.site-header.is-compact .logo { font-size: 16px; }
.site-header.is-compact .channel-row { flex: 1; border-top: 0; max-height: 64px; }
.site-header.is-compact .channel-row nav { min-height: 64px; }
.nav-toggle {
 display: none;
 width: 42px;
 height: 42px;
 border-radius: 10px;
 border: 1px solid var(--line);
 background: transparent;
 padding: 0;
 cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: var(--ink); }
.nav-toggle:hover { border-color: var(--plum); }
.nav-toggle:active { transform: translateY(1px); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 42px;
 padding: 0 16px;
 border-radius: 999px;
 border: 1px solid transparent;
 cursor: pointer;
 text-decoration: none;
 background: transparent;
 transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { border-color: var(--plum); color: var(--plum); }
.badge {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-width: 42px;
 height: 26px;
 padding: 0 10px;
 border-radius: 999px;
 background: var(--plum-deep);
 color: #fff;
 font-size: 12px;
 letter-spacing: .04em;
}
.badge-leaf { background: transparent; color: var(--leaf); border: 1px solid var(--leaf); }
.badge-line { background: transparent; color: var(--plum); border: 1px solid var(--line); }
.section { padding: var(--pad) 0; }
.section.surface { background: var(--surface); }
.section.plain { background: var(--bg); }
.section-head { margin-bottom: 28px; max-width: 72ch; }
.section-head .fact, .fact { margin-top: 10px; color: var(--muted); }
.head-layout {
 display: grid;
 grid-template-columns: minmax(0, 1.35fr) minmax(220px, .72fr);
 gap: 36px;
 align-items: end;
}
.head-side {
 border-top: 1px solid var(--ink);
 padding-top: 14px;
}
.meta-row, .progress-line .meta-row {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 font-size: 13px;
 color: var(--muted);
 margin: 0 0 8px;
}
.head-side .meta-row span:last-child { color: var(--ink); font-weight: 600; }
.side-note { color: var(--muted); font-size: 15px; margin-top: 12px; }
.rule-strip {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 background: var(--bg);
 overflow: hidden;
}
.rule-strip article { padding: 18px 18px 20px; }
.rule-strip article + article { border-left: 1px solid var(--line); }
.rule-strip strong { display: block; font-family: var(--serif); font-size: 18px; margin-bottom: 6px; }
.rule-strip p { color: var(--muted); font-size: 14.5px; }
.rank-list { display: flex; flex-direction: column; }
.rank-row {
 display: grid;
 grid-template-columns: 72px minmax(0, 1fr) 72px minmax(120px, 180px);
 gap: 16px;
 align-items: center;
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px 18px;
 margin-bottom: 10px;
 color: inherit;
 text-decoration: none;
 transition: transform 180ms ease, border-color 180ms ease;
}
.section.surface .rank-row { background: var(--bg); }
.rank-row:hover { transform: translateY(-2px); text-decoration: none; border-color: #d9cfc4; color: inherit; }
.rank-no {
 font-family: var(--serif);
 font-size: 28px;
 color: var(--plum);
 letter-spacing: -0.04em;
 animation: rise 480ms ease both;
}
.is-lead { padding: 22px 20px; }
.is-lead .rank-no { font-size: 40px; }
.rank-list .rank-row:nth-child(2) .rank-no { animation-delay: .05s; }
.rank-list .rank-row:nth-child(3) .rank-no { animation-delay: .1s; }
.rank-list .rank-row:nth-child(4) .rank-no { animation-delay: .15s; }
.rank-title { font-size: 18px; font-family: var(--serif); line-height: 1.3; }
.rank-meta { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.score { color: var(--leaf); font-family: var(--serif); font-size: 22px; text-align: right; }
.track { height: 2px; background: var(--line); display: block; }
.track i {
 display: block;
 height: 2px;
 width: 0;
 background: var(--silver);
 animation: grow 480ms ease forwards;
}
.rank-extra { display: none; }
.more-wrap { margin-top: 8px; }
.more-wrap summary { width: fit-content; list-style: none; }
.more-wrap summary::-webkit-details-marker { display: none; }
.more-wrap[open] summary { display: none; }
.more-wrap[open] .rank-extra { display: grid; }
.spec-row {
 display: grid;
 grid-template-columns: 140px 1fr auto;
 gap: 12px;
 align-items: center;
 padding: 16px 0;
 border-bottom: 1px solid var(--line);
 color: var(--ink);
}
.spec-row b { font-weight: 600; }
.spec-row small { color: var(--silver); font-size: 13px; }
.scene-layout {
 display: grid;
 grid-template-columns: 1.15fr .85fr;
 gap: 28px;
 align-items: stretch;
}
.frame {
 position: relative;
 aspect-ratio: 16 / 9;
 border-radius: var(--radius);
 background:
  linear-gradient(180deg, rgba(27,22,24,0) 42%, rgba(27,22,24,.55) 100%),
  linear-gradient(145deg, #6E315C 0%, #3c2436 52%, #2C6A56 100%);
 box-shadow: var(--shadow);
 overflow: hidden;
 min-height: 180px;
}
.frame::before {
 content: "";
 position: absolute;
 left: 7%;
 right: 7%;
 top: 18%;
 height: 1px;
 background: rgba(142, 151, 163, .7);
}
.subbar {
 position: absolute;
 left: 10%;
 right: 10%;
 bottom: 14px;
 background: rgba(27, 22, 24, .78);
 color: #fff;
 font-size: 13px;
 text-align: center;
 padding: 5px 8px;
 border-radius: 4px;
}
.scene-list article {
 padding: 16px 0;
 border-bottom: 1px solid var(--line);
}
.scene-list article:first-child { padding-top: 0; }
.scene-list p { color: var(--muted); font-size: 15px; }
.kicker { color: var(--plum); font-size: 13px; letter-spacing: .04em; }
.timeline {
 list-style: none;
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 18px;
 margin: 0;
 padding: 18px 0 0;
 border-top: 1px solid var(--silver);
}
.timeline li { position: relative; padding-top: 8px; }
.timeline li::before {
 content: "";
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: var(--plum);
 position: absolute;
 top: -23px;
 left: 0;
}
.timeline b { display: block; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--silver); font-weight: 500; }
.timeline p { margin-top: 6px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
 list-style: none;
 cursor: pointer;
 position: relative;
 padding: 16px 36px 16px 0;
 font-family: var(--serif);
 font-size: 18px;
 line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
 content: "";
 position: absolute;
 right: 6px;
 top: 24px;
 width: 8px;
 height: 8px;
 border-right: 1.5px solid var(--plum);
 border-bottom: 1.5px solid var(--plum);
 transform: rotate(45deg);
 transition: transform 180ms ease;
}
.faq-item[open] summary::after { transform: rotate(225deg); top: 28px; }
.faq-item p { color: var(--muted); max-width: 72ch; padding-bottom: 16px; }
.revisit {
 display: flex;
 justify-content: space-between;
 gap: 24px;
 align-items: end;
 border-top: 1px solid var(--ink);
 padding-top: 22px;
}
.revisit p { color: var(--muted); max-width: 46ch; margin-top: 8px; }
.site-footer {
 background: var(--surface);
 border-top: 1px solid var(--line);
 padding: 48px 0 28px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 28px; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 14px; }
.site-footer strong { display: block; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--plum); }
.copyright {
 margin-top: 28px;
 padding-top: 16px;
 border-top: 1px solid var(--line);
 color: var(--muted);
 font-size: 13px;
}
@keyframes rise {
 from { opacity: 0; transform: translateY(6px); }
 to { opacity: 1; transform: none; }
}
@keyframes grow { to { width: var(--w); } }
@media (max-width: 1200px) {
 .container { width: min(var(--max), calc(100% - 36px)); }
}
@media (max-width: 1024px) {
 :root { --pad: 56px; }
 h1 { font-size: 48px; }
 .scene-layout, .head-layout { gap: 22px; }
 .rank-row { grid-template-columns: 56px minmax(0, 1fr) 56px minmax(90px, 140px); }
}
@media (max-width: 768px) {
 :root { --pad: 40px; }
 .nav-toggle { display: inline-block; }
 .site-header.is-compact .nav-shell,
 .nav-shell { display: block; }
 .brand-row, .site-header.is-compact .brand-row { min-height: 64px; }
 .channel-row, .site-header.is-compact .channel-row {
 max-height: 0;
 opacity: 0;
 border-top-color: transparent;
 }
 .channel-row.is-open, .site-header.is-compact .channel-row.is-open {
 max-height: 220px;
 opacity: 1;
 border-top: 1px solid var(--line);
 }
 .channel-row nav, .site-header.is-compact .channel-row nav {
 flex-direction: column;
 align-items: flex-start;
 gap: 0;
 min-height: 0;
 padding: 6px 0 12px;
 }
 .channel-row a { width: 100%; padding: 10px 0; }
 .logo, .site-header.is-compact .logo { font-size: 16px; white-space: normal; max-width: 54vw; line-height: 1.25; }
 h1 { font-size: 38px; }
 h2 { font-size: 28px; }
 .head-layout, .scene-layout, .rule-strip, .timeline, .foot-grid, .revisit {
 grid-template-columns: 1fr;
 display: grid;
 }
 .rule-strip article + article { border-left: 0; border-top: 1px solid var(--line); }
 .timeline { gap: 22px; }
 .timeline li::before { top: -4px; }
 .rank-row, .more-wrap[open] .rank-extra {
 grid-template-columns: 48px minmax(0, 1fr);
 grid-template-areas: "no title" "score score" "bar bar";
 }
 .rank-no { grid-area: no; font-size: 24px; }
 .is-lead .rank-no { font-size: 32px; }
 .rank-main { grid-area: title; }
 .score { grid-area: score; text-align: left; }
 .track { grid-area: bar; }
 .spec-row { grid-template-columns: 72px 1fr; }
 .spec-row small { grid-column: 2; }
}
@media (max-width: 520px) {
 .container, .narrow { width: min(var(--max), calc(100% - 28px)); }
 .brand-tools { gap: 8px; }
 .brand-tools .btn { min-height: 36px; padding: 0 10px; font-size: 13px; }
}
@media (max-width: 480px) {
 h1 { font-size: 34px; }
 h2 { font-size: 26px; }
 .logo { font-size: 14px; }
 .age-card { padding: 28px 20px; }
 .rank-title { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after {
 animation: none !important;
 transition: none !important;
 }
 .track i { width: var(--w); }
}
