/* roulang page: index */
:root {
  --bg: #100E12;
  --bg-alt: #17141A;
  --bg-deep: #120F14;
  --card: #1C1820;
  --wine: #C81E4A;
  --wine-deep: #9E173A;
  --amber: #E2A23A;
  --text: #E7E1DC;
  --muted: #9A928C;
  --line: rgba(226,162,58,0.28);
  --radius: 2px;
  --cut: 8px;
  --shadow: 0 8px 24px rgba(0,0,0,0.35);
  --header-h: 64px;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; letter-spacing: 0.01em; }
h1 { font-size: clamp(32px, 4vw, 46px); }
h2 { font-size: clamp(22px, 2.4vw, 28px); }
h3 { font-size: 16px; }
p { margin-bottom: 0.85em; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--wine); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
::selection { background: var(--wine); color: #fff; }
.container {
  width: min(var(--max), calc(100% - 40px)) !important;
  max-width: var(--max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.num {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  font-weight: 650;
}
.kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 1.4;
}
.head-block { margin-bottom: 1.35rem; }
.lead { max-width: 760px; color: var(--text); }
.sub { color: var(--muted); font-size: 16px; line-height: 1.8; }
.section { padding: 84px 0; background: var(--bg); }
.section.alt { background: var(--bg-alt); }
.section.deep { background: var(--bg-deep); }
.hero { padding: 72px 0 80px; background: var(--bg); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(16,14,18,0.94);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}
.logo span { color: var(--amber); font-size: 12px; font-weight: 650; letter-spacing: 0.08em; }
.logo:hover { text-decoration: none; color: #fff; }
.menu-toggle {
  display: none;
  min-width: 64px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  letter-spacing: 0.08em;
}
.menu-toggle:hover { border-color: var(--amber); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--muted);
  text-decoration: none;
}
.nav-link:hover { color: var(--text); text-decoration: none; box-shadow: inset 0 -2px 0 var(--wine); }
.nav-link.is-active { color: var(--text); box-shadow: inset 0 -2px 0 var(--wine); }
.mega-wrap { position: relative; }
.mega-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  color: var(--text);
  border-radius: var(--radius);
}
.mega-btn:hover, .mega-btn[aria-expanded="true"] { color: #fff; text-decoration: none; }
.mega-btn i {
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--amber);
  border-bottom: 1px solid var(--amber);
  transform: rotate(45deg) translateY(-2px);
}
.mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 420px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 60;
}
.mega-card {
  display: block;
  padding: 12px;
  margin-bottom: 8px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}
.mega-card strong { display: block; margin: 6px 0 4px; font-size: 16px; }
.mega-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.mega-card:hover { border-color: var(--amber); text-decoration: none; }
.mega-row {
  display: block;
  padding: 10px 8px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  text-decoration: none;
}
.mega-row:hover { color: var(--amber); text-decoration: none; }
@media (min-width: 1024px) {
  .mega-wrap:hover .mega-panel,
  .mega-wrap:focus-within .mega-panel,
  .mega-panel.is-open { display: block; }
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 6px;
  border: 1px solid rgba(200,30,74,0.7);
  border-radius: var(--radius);
  color: var(--wine);
  background: transparent;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--wine); color: #F7F1EC; border: 1px solid var(--wine); }
.btn-primary:hover { background: var(--wine-deep); box-shadow: 0 0 0 1px var(--amber); }
.btn-primary:active { background: #861432; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(231,225,220,0.45); }
.btn-ghost:hover { border-color: var(--amber); color: var(--text); }
.btn-ghost:active { background: rgba(200,30,74,0.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 26px; }
.hero-facts li { min-width: 92px; }
.hero-facts b { display: block; font-size: 28px; line-height: 1.2; font-weight: 650; }
.hero-facts span { color: var(--muted); font-size: 13px; }
.poster-frame { position: relative; padding: 8px; }
.tick { position: absolute; width: 18px; height: 18px; border: 0 solid var(--amber); pointer-events: none; }
.tick-tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.tick-tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.tick-bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.tick-br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.chamfer { clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.poster {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, rgba(16,14,18,0.05) 20%, rgba(16,14,18,0.94) 100%),
    repeating-linear-gradient(90deg, rgba(200,30,74,0.28) 0 1px, transparent 1px 34px),
    linear-gradient(155deg, #3a1824 0%, #100E12 48%, #3a2a14 100%);
  border: 1px solid var(--line);
}
.heat { position: absolute; top: 14px; right: 14px; }
.poster-copy { position: absolute; left: 16px; right: 16px; bottom: 14px; }
.poster-copy strong { display: block; margin: 6px 0 2px; font-size: 22px; line-height: 1.35; }
.poster-copy em { color: var(--muted); font-style: normal; font-size: 13px; }
.pain-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.78fr; gap: 14px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  transition: border-color 0.2s ease;
}
.card:hover { border-color: var(--amber); }
.card h3 { margin-bottom: 10px; }
.card .q { color: var(--muted); margin-bottom: 0.45em; }
.card .r { margin: 0; }
.split-7 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; }
.zone-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.zone-steps li:first-child { border-top: 0; }
.zone-steps .num { font-size: 18px; line-height: 1.4; }
.zone-steps p { margin: 2px 0 0; color: var(--muted); }
.band-card { background: var(--card); border: 1px solid var(--line); padding: 8px 16px; }
.band {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.band:last-child { border-bottom: 0; }
.band i { display: block; height: 42px; }
.band strong { display: block; font-size: 16px; }
.band em { color: var(--muted); font-style: normal; font-size: 13px; }
.step-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-track::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 18px;
  height: 1px;
  background: var(--line);
}
.step { position: relative; padding-top: 8px; }
.step .num { display: block; font-size: 20px; line-height: 1; margin-bottom: 14px; background: var(--bg); width: max-content; padding-right: 8px; position: relative; z-index: 1; }
.section.alt .step .num, .section.deep .step .num { background: transparent; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }
.scene-list { border-top: 1px solid var(--line); }
.scene-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.scene-row h3 { margin-bottom: 4px; }
.scene-row p { margin: 0; color: var(--muted); }
.channel-grid { display: grid; grid-template-columns: 1.45fr 0.8fr; gap: 14px; }
.channel-main {
  display: block;
  min-height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.channel-main:hover { border-color: var(--amber); text-decoration: none; }
.channel-visual {
  aspect-ratio: 16 / 8;
  background:
    linear-gradient(180deg, rgba(16,14,18,0) 30%, rgba(16,14,18,0.88) 100%),
    linear-gradient(120deg, #4a1a2a, #17141A 55%, #3a2a14);
  border-bottom: 1px solid var(--line);
}
.channel-main .txt, .side-card { padding: 16px; }
.channel-main p, .side-card p { margin: 8px 0 0; color: var(--muted); }
.side-stack { display: grid; gap: 14px; }
.side-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.side-card:hover { border-color: var(--amber); text-decoration: none; }
.side-card h3 { margin: 8px 0 0; }
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
}
.stat-band div { padding: 22px 16px; }
.stat-band div + div { border-left: 1px solid var(--line); }
.stat-band b { display: block; font-size: 34px; line-height: 1.15; font-weight: 650; }
.stat-band span { color: var(--muted); font-size: 14px; }
.quote-list { display: grid; gap: 16px; }
.quote {
  max-width: 860px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 16px;
  transition: border-color 0.2s ease;
}
.quote:nth-child(2) { margin-left: auto; }
.quote:hover { border-color: var(--amber); }
.quote p { font-size: 18px; margin-bottom: 0.6em; }
.who { margin: 0; color: var(--muted); font-size: 13px; }
.tagwall { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pref li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.pref span { color: var(--muted); }
.sheet { border: 1px solid var(--line); background: var(--card); }
.sheet li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  line-height: 1.7;
}
.sheet li:nth-child(even) { background: rgba(255,255,255,0.04); }
.sheet a { font-weight: 650; }
.sheet a:hover { text-decoration-color: var(--wine); }
.row-meta { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  background: var(--wine);
  border-radius: 50%;
  vertical-align: middle;
}
.fav {
  min-width: 52px;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid rgba(231,225,220,0.35);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
}
.fav:hover { border-color: var(--amber); }
.fav[aria-pressed="true"] { color: var(--amber); border-color: var(--amber); }
.more-row { display: flex; justify-content: flex-end; margin-top: 14px; }
.news-list { border-top: 1px solid var(--line); }
.news-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.news-row time { color: var(--amber); font-variant-numeric: tabular-nums; }
.news-row h3 { margin-bottom: 4px; font-size: 17px; }
.news-row p { margin: 0; color: var(--muted); }
.news-row a:hover { text-decoration-color: var(--wine); }
.scale-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.scale-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 14px;
  transition: border-color 0.2s ease;
}
.scale-card:hover { border-color: var(--amber); }
.scale-card b { display: block; font-size: 32px; line-height: 1.15; font-weight: 650; }
.scale-card .label { display: block; margin: 4px 0 8px; color: var(--text); }
.scale-card p { margin: 0; color: var(--muted); font-size: 14px; }
.s1, .s4 { grid-column: span 4; }
.s2, .s3 { grid-column: span 2; }
.s5, .s6 { grid-column: span 3; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.faq details[open] { border-color: var(--amber); }
.faq summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--muted); }
.cta-section { background: var(--bg-alt); }
.cta-wrap { position: relative; padding: 10px; }
.cta-panel {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  padding: 42px 32px;
}
.site-footer { background: #0C0A0E; border-top: 1px solid var(--line); padding: 42px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.footer-brand p { margin: 12px 0 0; color: var(--muted); max-width: 460px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-content: flex-start; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-fine {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .nav-link, .mega-btn { width: 100%; justify-content: space-between; padding: 10px 0; }
  .mega-wrap:hover .mega-panel,
  .mega-wrap:focus-within .mega-panel,
  .mega-panel {
    display: none;
    position: static;
    width: 100%;
    margin-top: 4px;
    box-shadow: none;
  }
  .mega-panel.is-open { display: block; }
  .mega-card { display: none !important; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .pain-grid article:last-child { grid-column: 1 / -1; }
  .split-7, .channel-grid { grid-template-columns: 1fr; }
  .step-track { grid-template-columns: 1fr 1fr; }
  .step-track::before { display: none; }
  .step { border-top: 1px solid var(--line); padding-top: 14px; }
  .step .num { background: transparent; }
  .scale-grid { grid-template-columns: 1fr 1fr; }
  .s1, .s2, .s3, .s4, .s5, .s6 { grid-column: span 1; }
}
@media (max-width: 767px) {
  .section, .hero { padding: 48px 0; }
  .pain-grid, .step-track, .stat-band { grid-template-columns: 1fr; }
  .pain-grid article:last-child { grid-column: auto; }
  .stat-band div + div { border-left: 0; border-top: 1px solid var(--line); }
  .scene-row, .news-row, .sheet li { grid-template-columns: 1fr; gap: 6px; }
  .quote:nth-child(2) { margin-left: 0; }
  .pref li { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .poster-copy strong { font-size: 18px; }
  .cta-panel { padding: 28px 16px; }
}
@media (max-width: 520px) {
  .logo { font-size: 15px; }
  .logo span { display: none; }
  .hero-facts b, .stat-band b, .scale-card b { font-size: 26px; }
  .btn-row .btn { flex: 1 1 calc(50% - 12px); }
  .scale-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --bg: #100E12;
  --bg-alt: #17141A;
  --bg-deep: #120F14;
  --card: #1C1820;
  --wine: #C81E4A;
  --wine-deep: #9E173A;
  --amber: #E2A23A;
  --text: #E7E1DC;
  --muted: #9A928C;
  --line: rgba(226,162,58,0.28);
  --radius: 2px;
  --cut: 8px;
  --shadow: 0 8px 24px rgba(0,0,0,0.35);
  --header-h: 64px;
  --max: 1160px;
}
/* roulang page: category1 */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--wine); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
p { margin: 0 0 0.85em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; margin: 0; }
h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
h2 { font-size: 22px; margin-bottom: 16px; }
h3 { font-size: 16px; margin-bottom: 8px; }
.container {
  width: min(var(--max), calc(100% - 40px)) !important;
  max-width: var(--max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.section { padding: 84px 0; background: var(--bg); }
.section.alt { background: var(--bg-alt); }
.section.deep { background: var(--bg-deep); }
.section.compact { padding: 36px 0 28px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(16,14,18,0.94);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}
.logo span { color: var(--amber); font-size: 12px; font-weight: 650; letter-spacing: 0.08em; }
.logo:hover { text-decoration: none; color: #fff; }
.menu-toggle {
  display: none;
  min-width: 64px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  letter-spacing: 0.08em;
}
.menu-toggle:hover { border-color: var(--amber); }
.menu-toggle:active { background: rgba(200,30,74,0.16); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--muted);
  text-decoration: none;
}
.nav-link:hover { color: var(--text); text-decoration: none; box-shadow: inset 0 -2px 0 var(--wine); }
.nav-link.is-active { color: var(--text); box-shadow: inset 0 -2px 0 var(--wine); }
.mega-wrap { position: relative; }
.mega-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  color: var(--text);
  border-radius: var(--radius);
}
.mega-btn:hover, .mega-btn[aria-expanded="true"] { color: #fff; text-decoration: none; }
.mega-btn i {
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--amber);
  border-bottom: 1px solid var(--amber);
  transform: rotate(45deg) translateY(-2px);
}
.mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 420px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 60;
}
.mega-card {
  display: block;
  padding: 12px;
  margin-bottom: 8px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}
.mega-card strong { display: block; margin: 6px 0 4px; font-size: 16px; }
.mega-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.mega-card:hover { border-color: var(--amber); text-decoration: none; }
.mega-row {
  display: block;
  padding: 10px 8px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  text-decoration: none;
}
.mega-row:hover { color: var(--amber); text-decoration: none; }
@media (min-width: 1024px) {
  .mega-wrap:hover .mega-panel,
  .mega-wrap:focus-within .mega-panel,
  .mega-panel.is-open { display: block; }
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 6px;
  border: 1px solid rgba(200,30,74,0.7);
  border-radius: var(--radius);
  color: var(--wine);
  background: transparent;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--wine); color: #F7F1EC; border: 1px solid var(--wine); }
.btn-primary:hover { background: var(--wine-deep); box-shadow: 0 0 0 1px var(--amber); }
.btn-primary:active { background: #861432; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(231,225,220,0.45); }
.btn-ghost:hover { border-color: var(--amber); color: var(--text); }
.btn-ghost:active { background: rgba(200,30,74,0.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.num {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.muted { color: var(--muted); }
.cut {
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.cat-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.55fr);
  gap: 18px;
  align-items: stretch;
}
.cat-copy { min-width: 0; }
.cat-copy .lead { max-width: 680px; color: var(--text); margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-deep);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}
.chip b { color: var(--amber); font-weight: 650; }
.side-stack { display: grid; gap: 10px; }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  box-shadow: none;
}
.stat b { display: block; font-size: 28px; line-height: 1.15; }
.stat span { color: var(--muted); font-size: 13px; }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}
.entry-list {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
}
.entry {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.entry:last-child { border-bottom: 0; }
.entry:nth-child(even) { background: rgba(255,255,255,0.04); }
.entry:hover { border-color: var(--amber); }
.thumb {
  position: relative;
  width: 168px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16,14,18,0.05) 28%, rgba(16,14,18,0.92) 100%),
    repeating-linear-gradient(135deg, #2a1822 0 10px, #1a1218 10px 20px);
  text-decoration: none;
}
.thumb-jp {
  background:
    linear-gradient(180deg, rgba(16,14,18,0.05) 28%, rgba(16,14,18,0.92) 100%),
    repeating-linear-gradient(135deg, #241c14 0 10px, #16120f 10px 20px);
}
.thumb em {
  position: absolute;
  left: 8px;
  bottom: 4px;
  font-style: normal;
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.thumb:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--amber); }
.entry-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.entry-top .date { color: var(--muted); font-size: 12px; }
.entry h3 { margin: 0 0 2px; font-size: 17px; }
.entry h3 a:hover { text-decoration-color: var(--wine); }
.meta { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.keep {
  min-width: 72px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(231,225,220,0.4);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.keep:hover { border-color: var(--amber); }
.keep:active { background: rgba(200,30,74,0.14); }
.keep.is-kept { color: var(--wine); border-color: rgba(200,30,74,0.85); }
.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  margin-bottom: 12px;
}
.side-card h2 { font-size: 16px; margin-bottom: 10px; }
.anchor-list { list-style: none; margin: 0; padding: 0; }
.anchor-list li { border-top: 1px solid var(--line); }
.anchor-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  text-decoration: none;
}
.anchor-list a:hover { color: var(--amber); text-decoration: none; }
.anchor-list i {
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--amber);
  border-right: 1px solid var(--amber);
  transform: rotate(45deg);
}
.note-line { margin: 0; color: var(--muted); font-size: 14px; }
.rhythm {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rhythm h2 { margin: 0 0 4px; font-size: 20px; }
.rhythm p { margin: 0; color: var(--muted); }
.rhythm .pulse {
  flex: none;
  min-width: 92px;
  text-align: right;
}
.rhythm .pulse b { display: block; font-size: 26px; line-height: 1.1; }
.scope-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 22px;
  align-items: start;
}
.tag-wall { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  background: rgba(255,255,255,0.03);
}
.tag.is-muted { color: var(--muted); }
.compare {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: var(--radius);
}
.compare h3 { margin-bottom: 8px; }
.compare ul { margin: 0; padding: 0; list-style: none; }
.compare li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.compare li strong { color: var(--text); font-weight: 650; }
.deep-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 14px;
}
.article-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 180px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.article-card.slim { grid-template-columns: 1fr; }
.article-card:hover { border-color: var(--amber); text-decoration: none; }
.article-card .cover {
  min-height: 160px;
  background:
    linear-gradient(180deg, rgba(16,14,18,0.1), rgba(16,14,18,0.78)),
    linear-gradient(135deg, #3a1824, #141014 58%);
  position: relative;
}
.article-card .cover span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: var(--amber);
  font-size: 13px;
}
.article-card .body { padding: 16px 16px 14px; }
.article-card h3 { font-size: 18px; margin: 8px 0; }
.article-card p { color: var(--muted); font-size: 14px; }
.info-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 12px;
}
.info-cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  min-height: 148px;
}
.info-cell:hover { border-color: var(--amber); }
.info-cell .k { color: var(--muted); font-size: 13px; display: block; margin-bottom: 8px; }
.info-cell strong { display: block; font-size: 22px; line-height: 1.35; font-weight: 700; }
.info-cell p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step {
  padding: 18px 14px 16px;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; }
.step .num { display: block; font-size: 20px; margin-bottom: 6px; }
.step h3 { margin-bottom: 4px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.replay-link { margin-top: 16px; }
.cta-box {
  position: relative;
  padding: 36px 28px;
  background:
    linear-gradient(var(--amber), var(--amber)) left 10px top 10px / 18px 1px no-repeat,
    linear-gradient(var(--amber), var(--amber)) left 10px top 10px / 1px 18px no-repeat,
    linear-gradient(var(--amber), var(--amber)) right 10px top 10px / 18px 1px no-repeat,
    linear-gradient(var(--amber), var(--amber)) right 10px top 10px / 1px 18px no-repeat,
    linear-gradient(var(--amber), var(--amber)) left 10px bottom 10px / 18px 1px no-repeat,
    linear-gradient(var(--amber), var(--amber)) left 10px bottom 10px / 1px 18px no-repeat,
    linear-gradient(var(--amber), var(--amber)) right 10px bottom 10px / 18px 1px no-repeat,
    linear-gradient(var(--amber), var(--amber)) right 10px bottom 10px / 1px 18px no-repeat,
    #17141A;
  border: 1px solid var(--line);
}
.cta-box h2 { font-size: 26px; max-width: 760px; }
.cta-box p { max-width: 640px; color: var(--muted); }
.site-footer {
  background: #0C0A0E;
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand { max-width: 520px; }
.footer-brand p { color: var(--muted); margin: 10px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-content: flex-start; }
.footer-links a { color: var(--muted); min-height: 32px; }
.footer-links a:hover { color: var(--text); }
.footer-fine {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    background: rgba(16,14,18,0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .nav-link { min-height: 44px; }
  .mega-wrap { width: 100%; }
  .mega-btn { width: 100%; justify-content: space-between; min-height: 44px; }
  .mega-panel { position: static; width: auto; margin: 4px 0 8px; }
  .mega-panel.is-open { display: block; }
  .layout, .scope-grid, .deep-grid, .info-grid, .cat-head { grid-template-columns: 1fr; }
  .article-card { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(odd) { border-right: 1px solid var(--line); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section.compact { padding: 28px 0 20px; }
  .rhythm { flex-direction: column; align-items: flex-start; }
  .rhythm .pulse { text-align: left; }
  .footer-grid { flex-direction: column; }
  h1 { font-size: 28px; }
  .cta-box h2 { font-size: 22px; }
}
@media (max-width: 640px) {
  .entry { grid-template-columns: 1fr; gap: 10px; }
  .thumb { width: 100%; }
  .keep { justify-self: start; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .info-cell { min-height: 0; }
  .cta-box { padding: 28px 16px; }
  .footer-fine { flex-direction: column; }
}
@media (max-width: 520px) {
  .logo { font-size: 15px; }
  .chip { width: 100%; }
  .filters { gap: 6px; }
}
