/* roulang page: index */
:root {
  --ink: #141018;
  --panel: #221826;
  --panel-2: #2c2032;
  --line: #4a3048;
  --text: #f4efe6;
  --muted: #cbbdcc;
  --primary: #d84b78;
  --secondary: #3dbeb6;
  --accent: #f0a36a;
  --danger: #e7c15a;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(216, 75, 120, 0.12);
  --space: 72px;
  --font: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background-color: var(--ink);
  background-image: repeating-linear-gradient(-18deg, rgba(244, 239, 230, 0.018) 0 2px, transparent 2px 14px);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  padding-bottom: 92px;
  color-scheme: dark;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
p { margin: 0 0 0.85em; }
h1, h2, h3, h4 { margin: 0 0 0.55em; line-height: 1.25; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(1.85rem, 3.2vw, 2.65rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
h3 { font-size: 1.12rem; }
a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }
::selection { background: rgba(216, 75, 120, 0.35); color: #fff; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.band { padding: var(--space) 0; }
.band-alt { background: var(--panel); }
.band-deep { background: var(--panel-2); }
.band-tight { padding: 26px 0; background: #1b141f; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lede { max-width: 68ch; color: var(--text); }
.muted { color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--secondary); font-size: 0.82rem; letter-spacing: 0.04em; margin-bottom: 10px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 16, 24, 0.96);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 800; margin-right: auto; }
.logo:hover { color: var(--text); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto;
  border: 1px solid var(--secondary); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(240, 163, 106, 0.28);
  font-size: 0.86rem;
}
.logo-text { white-space: nowrap; font-size: 1rem; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--danger); color: var(--ink); font-weight: 800;
  border-radius: 999px; padding: 0.12rem 0.5rem; font-size: 0.75rem; line-height: 1.4;
}
.nav-toggle {
  min-height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); padding: 0.35rem 0.85rem; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--secondary); color: var(--text); }
.nav-toggle:active { transform: translateY(1px); }
.site-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.site-nav a { color: var(--muted); padding: 8px 10px; border-radius: 999px; }
.site-nav a:hover { color: var(--text); background: rgba(61, 190, 182, 0.08); }
.site-nav a.is-active { color: var(--text); box-shadow: inset 0 -2px 0 var(--primary); border-radius: 0; }
.cmd-search { position: relative; display: flex; align-items: center; }
.cmd-prefix {
  position: absolute; left: 12px; color: var(--secondary); font-family: var(--mono); font-size: 0.78rem;
}
.cmd-search input {
  width: 228px; background: var(--panel); border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; min-height: 42px; padding: 0.4rem 0.9rem 0.4rem 2rem;
  font-family: var(--mono); font-size: 0.8rem;
}
.cmd-search input::placeholder { color: var(--muted); }
.cmd-search input:focus { border-color: var(--secondary); box-shadow: 0 0 0 2px rgba(61, 190, 182, 0.35); outline: none; }
.chip, .tag {
  display: inline-flex; align-items: center; border-radius: 999px;
  border: 1px solid var(--secondary); color: var(--secondary);
  padding: 0.28rem 0.72rem; font-size: 0.8rem; line-height: 1.4; background: transparent;
}
.chip:hover, .tag:hover { background: rgba(61, 190, 182, 0.12); color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0.55rem 1.15rem; border-radius: 999px; font-weight: 700; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  text-decoration: none; line-height: 1.2;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(216, 75, 120, 0.28); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.btn-primary:active { transform: translateY(1px); filter: brightness(0.96); }
.btn-ghost { background: transparent; color: var(--secondary); border-color: var(--secondary); }
.btn-ghost:hover { color: var(--text); background: rgba(61, 190, 182, 0.12); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(1px); }
.hero-copy .btn + .btn { margin-left: 10px; }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.04), var(--shadow); padding: 16px 16px 16px 18px;
}
.band-alt .card { background: #271c2c; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.card.bar-primary::before { background: var(--primary); }
.card.bar-secondary::before { background: var(--secondary); }
.card.bar-accent::before { background: var(--accent); }
.card.topbar::before { width: auto; height: 3px; right: 0; bottom: auto; }
.card:hover { transform: translateY(-2px); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.cover {
  position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #2a1c2e;
}
.cover span { position: absolute; left: 10px; bottom: 10px; font-family: var(--mono); font-size: 0.75rem; color: var(--text); background: rgba(20, 16, 24, 0.72); border-radius: 999px; padding: 2px 8px; }
.tone-a { background-image: linear-gradient(120deg, rgba(216, 75, 120, 0.72), transparent 46%), repeating-linear-gradient(-18deg, rgba(244, 239, 230, 0.06) 0 2px, transparent 2px 11px); background-color: #3a2234; }
.tone-b { background-image: linear-gradient(130deg, rgba(61, 190, 182, 0.55), transparent 48%), repeating-linear-gradient(-18deg, rgba(244, 239, 230, 0.05) 0 2px, transparent 2px 11px); background-color: #1d2c32; }
.tone-c { background-image: linear-gradient(140deg, rgba(240, 163, 106, 0.5), transparent 50%), repeating-linear-gradient(-18deg, rgba(244, 239, 230, 0.05) 0 2px, transparent 2px 11px); background-color: #34261f; }
.tone-d { background-image: linear-gradient(115deg, rgba(216, 75, 120, 0.35), rgba(61, 190, 182, 0.28) 70%), repeating-linear-gradient(-18deg, rgba(244, 239, 230, 0.05) 0 2px, transparent 2px 11px); background-color: #261828; }
.tone-e { background-image: linear-gradient(160deg, rgba(240, 163, 106, 0.38), rgba(20, 16, 24, 0.1) 55%), repeating-linear-gradient(-18deg, rgba(244, 239, 230, 0.06) 0 2px, transparent 2px 11px); background-color: #2c2230; }
.codex-top, .slide-top, .device-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.num { font-family: var(--mono); color: var(--secondary); font-size: 0.82rem; }
.codex-meta { margin-top: 12px; }
.meters { margin-top: 12px; display: grid; gap: 8px; }
.meter { display: grid; grid-template-columns: 92px 1fr 36px; gap: 8px; align-items: center; color: var(--muted); font-size: 0.82rem; }
.meter b { font-weight: 600; color: var(--text); }
.track { height: 8px; border-radius: 999px; background: #140f16; border: 1px solid var(--line); overflow: hidden; }
.track i { display: block; height: 100%; background: var(--primary); border-radius: inherit; }
.track.alt i { background: var(--secondary); }
.track.dim i { background: #6d5a62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }
.rail { display: grid; grid-template-columns: 0.78fr 1.05fr 1.35fr; gap: 14px; }
.rail-item { min-height: 100%; }
.rail-no { font-family: var(--mono); color: var(--secondary); font-size: 1.4rem; display: block; margin-bottom: 8px; }
.rail-wide .rail-no { font-size: 0.95rem; }
.step-visual { margin-bottom: 10px; }
.step-no { font-family: var(--mono); color: var(--accent); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.stat { padding: 14px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(20, 16, 24, 0.35); display: flex; flex-direction: column; align-items: flex-start; }
.stat strong { font-size: 1.55rem; line-height: 1.1; color: var(--text); }
.stat span { color: var(--text); }
.stat em { font-style: normal; color: var(--muted); font-size: 0.78rem; }
.timeline { list-style: none; margin: 18px 0 0; padding: 0; border-left: 2px solid var(--line); }
.story { position: relative; padding: 0 0 18px 18px; scroll-margin-top: 88px; }
.story::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 3px rgba(61, 190, 182, 0.18); }
.story time { color: var(--accent); font-family: var(--mono); font-size: 0.82rem; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #271c2c; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; color: var(--secondary); }
.faq-item[open] summary::after { content: "－"; }
.faq-item[open] { box-shadow: inset 3px 0 0 var(--secondary); }
.faq-body { padding: 0 16px 14px 18px; color: var(--text); }
.assure-list { list-style: none; display: flex; gap: 18px; justify-content: space-between; margin: 10px 0 0; padding: 0; }
.assure-list li { display: flex; align-items: center; gap: 10px; color: var(--text); }
.rail-scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 12px; }
.slide { min-width: min(280px, 82vw); scroll-snap-align: start; }
.night-point { display: grid; grid-template-columns: 42px 1fr; gap: 10px; margin-bottom: 14px; }
.night-point b { font-family: var(--mono); color: var(--secondary); }
.device .cover { margin-bottom: 10px; }
.ladder { display: grid; gap: 14px; max-width: 760px; }
.tier-member { margin-left: 48px; }
.clean { list-style: none; margin: 0 0 14px; padding: 0; }
.clean li { position: relative; padding: 8px 0 8px 16px; border-bottom: 1px solid rgba(74, 48, 72, 0.55); }
.clean li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); position: absolute; left: 0; top: 16px; }
.week { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin: 16px 0 0; padding: 0; }
.week li { scroll-margin-top: 88px; }
.week a { color: var(--text); font-weight: 700; }
.week a:hover { color: var(--accent); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.close-wrap { max-width: 760px; padding: 28px; }
.site-footer { background: #100c14; border-top: 1px solid var(--line); padding: 42px 0 28px; }
.foot-brand strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { color: var(--muted); display: inline-block; padding: 4px 0; }
.foot-links a:hover { color: var(--accent); }
.copyright { margin-top: 22px; color: var(--muted); font-size: 0.86rem; }
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  transform: translateY(110%); transition: transform 0.25s ease;
  background: rgba(20, 16, 24, 0.96); border-top: 1px solid var(--line); padding: 10px 0;
}
.dock.is-on { transform: translateY(0); }
.dock-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dock-copy { margin: 0; color: var(--text); }
@media (min-width: 1024px) {
  .stagger-1 { transform: translateY(36px); }
  .stagger-2 { transform: translateY(14px); }
}
@media (max-width: 1023px) {
  .rail { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(2, 1fr); }
  .tier-member { margin-left: 0; }
  .stat { border-radius: 16px; }
}
@media (min-width: 640px) {
  #cmd-menu { display: flex !important; align-items: center; gap: 12px; flex: 1; min-width: 0; }
  .cmd-search { margin-left: auto; }
}
@media (max-width: 1023px) and (min-width: 640px) {
  .nav-wrap { align-items: flex-start; }
  #cmd-menu { flex: 1 0 100%; padding-bottom: 8px; }
  .cmd-search input { width: 200px; }
}
@media (max-width: 639px) {
  :root { --space: 40px; }
  .js #cmd-menu { display: none; }
  #cmd-menu { flex-basis: 100%; width: 100%; padding-bottom: 8px; }
  .site-nav { flex-direction: column; align-items: flex-start; }
  .cmd-search, .cmd-search input { width: 100%; }
  .hero-copy .btn { width: 100%; margin-left: 0 !important; }
  .stat-row, .assure-list, .week { grid-template-columns: 1fr; display: grid; }
  .assure-list { gap: 10px; }
  .logo-text { font-size: 0.86rem; }
  .dock-copy { display: none; }
  .dock-inner { justify-content: center; }
}
@media (max-width: 520px) {
  .container { width: min(1160px, calc(100% - 20px)); }
  .logo-mark { width: 30px; height: 30px; }
  .nav-cta { padding: 0.45rem 0.7rem; }
  h1 { font-size: 1.55rem; }
}

/* roulang page: category1 */
:root {
 --ink: #141018;
 --panel: #221826;
 --panel-2: #2c2032;
 --line: #4a3048;
 --text: #f4efe6;
 --muted: #cbbdcc;
 --primary: #d84b78;
 --secondary: #3dbeb6;
 --accent: #f0a36a;
 --danger: #e7c15a;
 --radius: 14px;
 --shadow: 0 12px 28px rgba(216, 75, 120, 0.12);
 --space: 72px;
 --font: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
 --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
/* roulang page: category1 */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 color: var(--text);
 background-color: var(--ink);
 background-image: repeating-linear-gradient(-18deg, rgba(244, 239, 230, 0.018) 0 2px, transparent 2px 14px);
 font-family: var(--font);
 font-size: 16px;
 line-height: 1.75;
 padding-bottom: 92px;
 color-scheme: dark;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--accent); }
p { margin: 0 0 0.85em; }
h1, h2, h3 { line-height: 1.25; font-weight: 800; margin: 0 0 0.45em; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }
.site-header {
 position: sticky;
 top: 0;
 z-index: 50;
 background: rgba(20, 16, 24, 0.96);
 border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 800; margin-right: auto; min-width: 0; }
.logo:hover { color: var(--text); }
.logo-mark {
 width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto;
 border: 1px solid var(--secondary); color: var(--accent);
 display: inline-flex; align-items: center; justify-content: center;
 box-shadow: inset 0 0 0 1px rgba(240, 163, 106, 0.28);
 font-size: 0.86rem;
}
.logo-text { white-space: nowrap; font-size: 1rem; }
.badge-18 {
 display: inline-flex; align-items: center; justify-content: center;
 background: var(--danger); color: var(--ink); font-weight: 800;
 border-radius: 999px; padding: 0.12rem 0.5rem; font-size: 0.75rem; line-height: 1.4;
}
.nav-toggle {
 min-height: 40px; border-radius: 999px; border: 1px solid var(--line);
 background: var(--panel); color: var(--text); padding: 0.35rem 0.85rem; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--secondary); color: var(--text); }
.nav-toggle:active { transform: translateY(1px); }
.nav-toggle:focus-visible, .btn:focus-visible, .chip:focus-visible, .site-nav a:focus-visible, .faq-item summary:focus-visible, input:focus-visible {
 outline: 2px solid var(--secondary);
 outline-offset: 2px;
}
.site-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.site-nav a { color: var(--muted); padding: 8px 10px; border-radius: 999px; }
.site-nav a:hover { color: var(--text); background: rgba(61, 190, 182, 0.08); }
.site-nav a.is-active { color: var(--text); box-shadow: inset 0 -2px 0 var(--primary); border-radius: 0; }
.cmd-search { position: relative; display: flex; align-items: center; }
.cmd-prefix {
 position: absolute; left: 12px; color: var(--accent); font-family: var(--mono); font-size: 0.78rem; pointer-events: none;
}
.cmd-search input {
 width: 228px; background: var(--panel); border: 1px solid var(--line); color: var(--text);
 border-radius: 999px; min-height: 42px; padding: 0.4rem 0.9rem 0.4rem 2rem;
 font-family: var(--mono); font-size: 0.8rem;
}
.cmd-search input::placeholder { color: var(--muted); }
.cmd-search input:focus { border-color: var(--secondary); box-shadow: 0 0 0 2px rgba(61, 190, 182, 0.35); outline: none; }
.chip, .tag, button.chip {
 display: inline-flex; align-items: center; border-radius: 999px;
 border: 1px solid var(--secondary); color: var(--secondary);
 padding: 0.28rem 0.72rem; font-size: 0.8rem; line-height: 1.4; background: transparent;
 cursor: pointer; appearance: none; -webkit-appearance: none;
}
.chip:hover, .tag:hover, button.chip:hover { background: rgba(61, 190, 182, 0.12); color: var(--text); }
button.chip.is-on, button.chip[aria-pressed="true"] { background: rgba(61, 190, 182, 0.18); color: var(--text); box-shadow: inset 0 0 0 1px var(--secondary); }
.btn {
 display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
 padding: 0.55rem 1.15rem; border-radius: 999px; font-weight: 700; border: 1px solid transparent;
 cursor: pointer; transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
 text-decoration: none; line-height: 1.2;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(216, 75, 120, 0.28); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.btn-primary:active { transform: translateY(1px); filter: brightness(0.96); }
.btn-ghost { background: transparent; color: var(--secondary); border-color: var(--secondary); }
.btn-ghost:hover { color: var(--text); background: rgba(61, 190, 182, 0.12); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(1px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.card {
 position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
 box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.04), var(--shadow); padding: 16px 16px 16px 18px;
 transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.band .card, .band-alt .card { background: #271c2c; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); border-radius: 14px 0 0 14px; }
.card.bar-primary::before { background: var(--primary); }
.card.bar-secondary::before { background: var(--secondary); }
.card.bar-accent::before { background: var(--accent); }
a.card { display: block; color: var(--text); }
a.card:hover { color: var(--text); transform: translateY(-2px); }
.card:hover { transform: translateY(-2px); }
.tone-a { background-color: #3a2234; background-image: linear-gradient(135deg, rgba(216, 75, 120, 0.78), rgba(20, 16, 24, 0.15) 58%), repeating-linear-gradient(-18deg, rgba(244, 239, 230, 0.07) 0 2px, transparent 2px 12px); }
.tone-b { background-color: #1b3334; background-image: linear-gradient(160deg, rgba(61, 190, 182, 0.72), rgba(20, 16, 24, 0.2) 55%), repeating-linear-gradient(16deg, rgba(244, 239, 230, 0.06) 0 2px, transparent 2px 11px); }
.tone-c { background-color: #3a2a22; background-image: linear-gradient(145deg, rgba(240, 163, 106, 0.78), rgba(20, 16, 24, 0.18) 54%), repeating-linear-gradient(-18deg, rgba(244, 239, 230, 0.07) 0 2px, transparent 2px 11px); }
.tone-d { background-color: #2c2236; background-image: linear-gradient(125deg, rgba(216, 75, 120, 0.5), rgba(61, 190, 182, 0.42)); }
.cover { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 1px solid rgba(244, 239, 230, 0.08); }
.cover-index {
 position: absolute; left: 10px; bottom: 8px; font-family: var(--mono); font-size: 0.75rem; color: var(--text);
 background: rgba(20, 16, 24, 0.62); border-radius: 999px; padding: 0.08rem 0.5rem;
}
.codex-meta { margin-top: 12px; }
.meta-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.code { font-family: var(--mono); color: var(--secondary); font-size: 0.78rem; letter-spacing: 0.02em; }
.card h3 { font-size: 1.08rem; margin: 8px 0 0; }
.card p { margin: 0.45em 0 0; color: var(--muted); }
section { padding: var(--space) 0; }
.band { background: rgba(34, 24, 38, 0.92); border-top: 1px solid rgba(74, 48, 72, 0.65); border-bottom: 1px solid rgba(74, 48, 72, 0.65); }
.band-alt { background: rgba(44, 32, 50, 0.72); }
.section-head { margin-bottom: 22px; max-width: 42em; }
.section-head p:last-child { margin-bottom: 0; }
.cat-head { padding: 28px 0 22px; background: transparent; }
.cat-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 16em; }
.kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--muted); }
.lead { max-width: 38em; color: var(--text); margin-bottom: 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 10px; }
.result-line { margin: 0; color: var(--accent); font-size: 0.92rem; }
.codex-grid { margin-top: 4px; }
.sort-bar { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-start; }
.sort-note { flex: 1 1 280px; }
.sort-note h2 { margin-bottom: 8px; }
.mark-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.time-item {
 position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 14px 16px;
 box-shadow: inset 3px 0 0 var(--secondary), var(--shadow);
}
.time-item time { display: block; font-family: var(--mono); color: var(--accent); font-size: 0.82rem; }
.time-item a { color: var(--text); font-weight: 750; display: inline-block; margin: 4px 0; }
.time-item a:hover { color: var(--accent); }
.device-board { display: grid; grid-template-columns: 1.15fr 0.85fr 0.95fr; gap: 14px; align-items: start; }
.device { min-height: 180px; }
.device.shift { margin-top: 28px; }
.device.shift-sm { margin-top: 12px; }
.device strong { display: block; color: var(--accent); font-family: var(--mono); font-size: 0.78rem; margin-bottom: 6px; }
.rec-list { display: grid; gap: 12px; }
.rec { display: grid; grid-template-columns: 210px 1fr; gap: 14px; align-items: center; }
.rec h3 { margin-top: 4px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #271c2c; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; color: var(--secondary); }
.faq-item[open] summary::after { content: "－"; }
.faq-item[open] { box-shadow: inset 3px 0 0 var(--secondary); }
.faq-body { padding: 0 16px 14px 18px; color: var(--text); }
.more-band { padding-top: 36px; padding-bottom: 48px; }
.more-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 22px 24px; box-shadow: inset 3px 0 0 var(--primary), var(--shadow); }
.more-bar h2 { margin: 0 0 4px; }
.more-bar p { margin: 0; }
.dock {
 position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
 background: rgba(20, 16, 24, 0.96); border-top: 1px solid var(--line);
}
.dock-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dock-copy { margin: 0; font-weight: 700; }
.site-footer { background: #100c14; border-top: 1px solid var(--line); padding: 42px 0 28px; }
.site-footer h3 { font-size: 1rem; margin-bottom: 8px; }
.foot-brand strong { display: block; margin-bottom: 8px; font-size: 1.05rem; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--accent); }
.copyright { margin: 22px 0 0; color: var(--muted); font-size: 0.86rem; border-top: 1px solid var(--line); padding-top: 14px; }
@media screen and (max-width: 1023px) {
 .device-board { grid-template-columns: 1fr 1fr; }
 .device.shift, .device.shift-sm { margin-top: 0; }
 .timeline { grid-template-columns: 1fr 1fr; }
 .nav-panel { gap: 8px; }
}
@media screen and (max-width: 39.99875em) {
 :root { --space: 40px; }
 .nav-toggle-wrap { display: inline-flex; }
 .nav-panel { display: none; width: 100%; flex-basis: 100%; padding-bottom: 8px; }
 .site-nav { flex-direction: column; align-items: stretch; }
 .site-nav a { padding: 10px 8px; }
 .cmd-search, .cmd-search input { width: 100%; }
 .chip-row { gap: 6px; }
 .timeline, .device-board, .rec { grid-template-columns: 1fr; }
 .more-bar, .dock-inner { flex-direction: column; align-items: stretch; }
 .hero-actions .btn, .more-bar .btn, .dock .btn { width: 100%; }
 .logo-text { font-size: 0.86rem; }
 .cat-head { padding: 20px 0 12px; }
}
@media screen and (min-width: 40em) {
 .nav-panel { display: flex !important; align-items: center; gap: 10px; flex: 1 1 auto; justify-content: flex-end; }
 .nav-toggle-wrap { display: none !important; }
}
@media screen and (max-width: 520px) {
 .dock-copy { display: none; }
 .dock-inner { min-height: 60px; justify-content: center; }
 body { padding-bottom: 78px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .btn, .card, a.card { transition: none; }
}
