/* roulang page: index */
:root {
  --bg: #140E14;
  --bg-2: #1C1218;
  --surface: #2A1A24;
  --line: #4A3040;
  --c1: #8E2F5B;
  --c2: #E15A45;
  --c3: #F2B15A;
  --text: #F7F1EA;
  --muted: #CDBBC4;
  --dim: #8E7C86;
  --ok: #9CBF6B;
  --radius: 28px;
  --radius-sm: 20px;
  --radius-badge: 14px;
  --shadow: 0 16px 40px rgba(20, 8, 16, .35);
  --grad: linear-gradient(118deg, #8E2F5B, #E15A45, #F2B15A);
  --sidebar: 240px;
  --max: 1120px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: 0;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: 16px; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: rgba(225, 90, 69, .35); color: var(--text); }
.app { min-height: 100vh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #120910;
  border-right: 1px solid var(--line);
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 22px 14px 18px;
  overflow: auto;
}
.brand { display: flex; gap: 10px; align-items: flex-start; padding: 4px 8px 18px; }
.mark {
  width: 42px; height: 42px; flex: none; border-radius: 14px;
  background: var(--grad); color: #1a0d12; font-weight: 800;
  display: grid; place-items: center; letter-spacing: -0.04em;
  box-shadow: var(--shadow);
}
.brand-name { font-weight: 760; font-size: 16px; line-height: 1.35; letter-spacing: -0.03em; color: var(--text); }
.brand-sub { display: block; margin-top: 2px; color: var(--dim); font-size: 12px; font-weight: 500; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 16px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 15px;
}
.nav a:hover { color: var(--text); background: rgba(247, 241, 234, .04); }
.nav a:active { transform: translateY(1px); }
.nav a.active { color: var(--text); background: rgba(242, 177, 90, .08); }
.nav a.active::before {
  content: "";
  position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px;
  border-radius: 99px; background: var(--grad);
}
.nav-index {
  font-family: var(--mono); font-size: 12px; color: var(--c3); width: 22px;
}
.side-foot { margin-top: auto; padding: 16px 8px 4px; color: var(--dim); font-size: 12px; line-height: 1.6; }
.maincol { margin-left: var(--sidebar); min-height: 100vh; background: var(--bg); }
.topbar {
  display: none;
  position: sticky; top: 0; z-index: 50;
  height: 64px; padding: 0 16px;
  align-items: center; justify-content: space-between;
  background: rgba(20, 14, 20, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar .brand-name { font-size: 15px; max-width: 68vw; }
.menu-btn {
  min-width: 44px; min-height: 44px; border-radius: 999px;
  border: 1px solid var(--c2); background: transparent; color: var(--text);
}
.menu-btn:hover { border-color: var(--c3); color: var(--c3); }
.menu-btn[aria-expanded="true"] { background: var(--grad); color: #1a0d12; border-color: transparent; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; position: relative; }
.section.alt { background: var(--bg-2); }
.section + .section { box-shadow: inset 0 1px 0 rgba(74, 48, 64, .65); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c3); font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  margin-bottom: 10px;
}
h1 {
  font-size: 34px; line-height: 1.2; letter-spacing: -0.04em; font-weight: 760;
}
h2 {
  font-size: 30px; line-height: 1.28; letter-spacing: -0.03em; font-weight: 740;
}
h3 { font-size: 20px; line-height: 1.4; letter-spacing: -0.02em; font-weight: 700; }
.sub { margin-top: 14px; color: var(--c3); font-size: 18px; line-height: 1.6; }
.lead { margin-top: 16px; color: var(--muted); max-width: 68ch; }
.sec-head { margin-bottom: 28px; max-width: 760px; }
.sec-head .lead { margin-top: 12px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: stretch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--grad); color: #1a0d12; font-weight: 720;
  box-shadow: var(--shadow); transition: filter .2s ease, transform .15s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--c2); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--c3); color: var(--c3); filter: none; }
.btn-dark { background: #140E14; color: var(--text); box-shadow: none; }
.text-link { color: var(--c2); text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--c3); }
.stage {
  position: relative; min-height: 420px; border-radius: var(--radius);
  padding: 26px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(142, 47, 91, .55), transparent 55%),
    linear-gradient(160deg, #3a2030 0%, #2A1A24 42%, #4a2a28 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.corner { position: absolute; width: 28px; height: 28px; border: 1px solid rgba(242, 177, 90, .7); }
.corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.wm {
  font-size: 72px; font-weight: 800; letter-spacing: -0.06em; line-height: .9;
  color: rgba(247, 241, 234, .14);
}
.stage p { margin-top: 8px; color: var(--text); max-width: 26ch; }
.badge-row, .stat-row { display: flex; flex-wrap: wrap; gap: 10px; }
.stage .badge-row { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 4px 10px; border-radius: var(--radius-badge);
  background: #241018; color: var(--c3); border: 1px solid rgba(242, 177, 90, .35);
  font-size: 13px; line-height: 1.3;
}
.badge b { font-family: var(--mono); font-weight: 650; color: var(--text); }
.badge.ok { color: var(--ok); border-color: rgba(156, 191, 107, .4); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px 16px; box-shadow: var(--shadow);
}
.stat .num { font-family: var(--mono); color: var(--c3); font-size: 22px; letter-spacing: -0.04em; }
.stat span { display: block; color: var(--dim); font-size: 13px; margin-top: 4px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 20px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), var(--grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
a.card { display: block; color: inherit; }
a.card:hover { color: inherit; }
.card p, .mini p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.card .badge, .mini .badge { margin-top: 14px; }
.func-no { font-family: var(--mono); color: var(--c3); font-size: 13px; }
.entry-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 16px; }
.entry-side { display: grid; gap: 16px; }
.entry-main { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; background:
  linear-gradient(160deg, rgba(142,47,91,.35), transparent 40%), var(--surface); }
.scene-list { display: grid; gap: 14px; }
.scene {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 16px 18px; box-shadow: var(--shadow);
}
.scene:nth-child(2) { margin-left: 36px; }
.scene:nth-child(3) { margin-left: 12px; }
.scene:nth-child(4) { margin-left: 52px; }
.scene:hover { transform: translateY(-2px); border-color: #7a4b5c; }
.scene strong { font-size: 18px; }
.scene p { color: var(--muted); font-size: 15px; }
.tag {
  font-family: var(--mono); font-size: 12px; color: #1a0d12; background: var(--grad);
  border-radius: 999px; min-height: 28px; display: inline-flex; align-items: center; padding: 0 10px;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.step {
  display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 14px 0;
  border-top: 1px solid var(--line);
}
.step .num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: #241018; color: var(--c3); font-family: var(--mono); border: 1px solid rgba(242,177,90,.35);
}
.panel-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.demo-frame {
  border-radius: var(--radius); border: 1px solid var(--line); background: #1a1016;
  min-height: 280px; padding: 18px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.skel { height: 12px; border-radius: 999px; background: linear-gradient(118deg, rgba(142,47,91,.8), rgba(225,90,69,.7), rgba(242,177,90,.8)); margin-bottom: 12px; }
.skel.w2 { width: 62%; } .skel.w3 { width: 40%; opacity: .7; }
.skel-row { display: grid; grid-template-columns: 72px 1fr 80px; gap: 10px; align-items: center; margin-top: 10px; }
.skel-block { height: 48px; border-radius: 14px; background: #2A1A24; border: 1px solid var(--line); }
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.path .card { min-height: 180px; }
.case-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 16px; }
.case-main { min-height: 320px; }
.price-grid { display: grid; grid-template-columns: .82fr 1.36fr .82fr; gap: 16px; align-items: stretch; }
.price-main {
  border-color: transparent;
  background-image: linear-gradient(#321c28, #321c28), var(--grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transform: translateY(-6px);
}
.price-main:hover { transform: translateY(-8px); }
.price .badge { margin: 12px 0; }
.lack { color: var(--dim); font-size: 14px; margin-top: 8px; }
.wall { columns: 3; column-gap: 14px; }
.wall .card { break-inside: avoid; margin: 0 0 14px; display: inline-block; width: 100%; }
.wall .card:nth-child(3n) { padding-bottom: 36px; }
.wall .card:nth-child(2n) { padding-top: 28px; }
.quote-grid { display: grid; gap: 16px; }
.quote {
  display: grid; grid-template-columns: 1.7fr .7fr; gap: 16px; align-items: stretch;
}
.quote q { quotes: none; display: block; font-size: 18px; line-height: 1.7; }
.news a {
  display: grid; grid-template-columns: 86px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 16px 16px 18px; margin-bottom: 12px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--c2); box-shadow: var(--shadow);
}
.news a:hover { transform: translateY(-2px); border-color: #7a4b5c; color: inherit; }
.news small, .meta { color: var(--dim); font-size: 13px; }
.topic-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.topic-grid .wide { grid-column: span 1; min-height: 210px; }
.cta-band {
  border-radius: var(--radius);
  padding: 42px 36px;
  background: linear-gradient(118deg, rgba(20,14,20,.15), rgba(20,14,20,.28)), var(--grad);
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr .9fr; gap: 28px; align-items: start;
}
.cta-band h2, .cta-band p { color: #1a0d12; }
.cta-band .lead { color: #2a161c; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; color: #2a161c; margin-bottom: 6px; font-weight: 650; }
.field input, .field select {
  width: 100%; min-height: 48px; border-radius: 14px; border: 1px solid rgba(20,14,20,.25);
  background: rgba(20,14,20,.82); color: var(--text); padding: 0 12px;
}
.field input::placeholder { color: var(--dim); }
.field.err input, .field.err select { border-color: #7a1d32; box-shadow: 0 0 0 2px rgba(225,90,69,.35); }
.form-msg { min-height: 1.5em; font-size: 14px; margin-top: 8px; }
.form-msg.ok { color: #23400f; font-weight: 700; }
.form-msg.bad { color: #6d1224; font-weight: 700; }
.faq { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 6px 18px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  min-height: 52px; display: flex; align-items: center; cursor: pointer;
  font-weight: 720; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; margin-left: auto; color: var(--c3); font-family: var(--mono); }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { color: var(--muted); padding: 0 0 14px; font-size: 15.5px; }
.site-footer {
  padding: 36px 0 48px; border-top: 1px solid var(--line); background: #10090e; color: var(--muted);
}
.foot-grid { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; flex-wrap: wrap; }
.foot-brand { color: var(--text); font-weight: 740; font-size: 18px; }
.domain { font-family: var(--mono); color: var(--dim); font-size: 13px; margin-top: 4px; }
:focus-visible { outline: 2px solid var(--c3); outline-offset: 3px; }
@media (min-width: 1024px) {
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
}
@media (max-width: 1023px) {
  .sidebar { display: none; top: 64px; width: 100%; height: auto; max-height: calc(100vh - 64px); border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar.open { display: flex; }
  .sidebar .brand, .sidebar .side-foot { display: none; }
  .topbar { display: flex; }
  .maincol { margin-left: 0; }
  .hero-grid, .entry-grid, .split, .case-grid, .price-grid, .quote, .cta-band, .topic-grid { grid-template-columns: 1fr; }
  .price-main { transform: none; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: 1fr 1fr; }
  .scene, .scene:nth-child(n) { margin-left: 0; grid-template-columns: 1fr; }
  .wall { columns: 2; }
  .section { padding: 56px 0; }
}
@media (max-width: 767px) {
  .wrap { padding: 0 16px; }
  .path, .stat-row, .news a, .skel-row { grid-template-columns: 1fr; }
  .wall { columns: 1; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .stage { min-height: 360px; }
  .wm { font-size: 56px; }
  .cta-band { padding: 28px 18px; }
}
@media (max-width: 520px) {
  .cta-row .btn, .cta-band .btn { width: 100%; }
  .badge-row { position: static; margin-top: 18px; }
  .stage { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --bg: #140E14;
  --bg-2: #1C1218;
  --surface: #2A1A24;
  --line: #4A3040;
  --c1: #8E2F5B;
  --c2: #E15A45;
  --c3: #F2B15A;
  --text: #F7F1EA;
  --muted: #CDBBC4;
  --dim: #8E7C86;
  --ok: #9CBF6B;
  --radius: 28px;
  --radius-sm: 20px;
  --radius-badge: 14px;
  --shadow: 0 16px 40px rgba(20, 8, 16, .35);
  --grad: linear-gradient(118deg, #8E2F5B, #E15A45, #F2B15A);
  --sidebar: 240px;
  --max: 1120px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: 0;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: 16px; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
body h1, body h2, body h3 { font-family: var(--font); letter-spacing: -0.03em; color: var(--text); margin: 0; }
body h1 { font-size: 48px; line-height: 1.18; font-weight: 760; }
body h2 { font-size: 32px; line-height: 1.28; font-weight: 740; }
body h3 { font-size: 20px; line-height: 1.4; font-weight: 720; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 40;
  width: var(--sidebar); padding: 22px 14px 28px;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  overflow: auto;
}
.brand { display: flex; gap: 10px; align-items: flex-start; padding: 4px 8px 18px; }
.mark {
  width: 36px; height: 36px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad); color: #1a0d12; font-weight: 800;
}
.brand-name { font-weight: 760; font-size: 16px; line-height: 1.35; letter-spacing: -0.03em; color: var(--text); }
.brand-sub { display: block; margin-top: 2px; color: var(--dim); font-size: 12px; font-weight: 500; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a {
  position: relative; min-height: 44px;
  display: flex; align-items: center; gap: 10px;
  padding: 0 12px 0 16px; border-radius: 14px;
  color: var(--muted); font-size: 15px;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.nav a:hover { color: var(--text); background: rgba(247, 241, 234, .04); }
.nav a:active { transform: translateY(1px); }
.nav a.active { color: var(--text); background: rgba(242, 177, 90, .08); }
.nav a.active::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px;
  border-radius: 99px; background: var(--grad);
}
.nav-index { font-family: var(--mono); font-size: 12px; color: var(--c3); width: 22px; }
.maincol { margin-left: var(--sidebar); min-height: 100vh; background: var(--bg); }
.topbar {
  display: none; position: sticky; top: 0; z-index: 80;
  height: 64px; padding: 0 16px;
  align-items: center; justify-content: space-between;
  background: rgba(20, 14, 20, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar .brand-name { font-size: 15px; max-width: 68vw; }
.menu-btn {
  min-width: 44px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--c2); background: transparent; color: var(--text);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.menu-btn:hover { border-color: var(--c3); color: var(--c3); }
.menu-btn[aria-expanded="true"] { background: var(--grad); color: #1a0d12; border-color: transparent; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 88px 0; position: relative; }
.section.alt { background: var(--bg-2); }
.section + .section { box-shadow: inset 0 1px 0 rgba(74, 48, 64, .65); }
.pagehead { padding: 48px 0 36px; }
.filter-sec { padding: 28px 0; }
.more-sec { padding: 36px 0; }
.lead { margin-top: 14px; color: var(--muted); max-width: 68ch; }
.sec-head { margin-bottom: 22px; max-width: 760px; }
.crumb { display: flex; gap: 8px; align-items: center; color: var(--dim); font-size: 13px; margin-bottom: 14px; }
.crumb a { color: var(--c2); text-decoration: underline; text-underline-offset: 4px; }
.crumb a:hover { color: var(--c3); }
.head-row, .split, .list-layout, .foot-grid, .cta-grid, .article-grid {
  display: grid; gap: 22px; align-items: start;
}
.head-row { grid-template-columns: 1.3fr .7fr; align-items: end; }
.count-panel {
  position: relative; min-height: 168px; padding: 22px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(142, 47, 91, .45), transparent 56%),
    linear-gradient(160deg, #3a2030, #2A1A24 58%, #4a2a28);
  box-shadow: var(--shadow);
  display: flex; flex-wrap: wrap; gap: 10px; align-content: end;
}
.count-panel p { width: 100%; color: var(--text); font-size: 15px; margin-bottom: 8px; }
.corners::before, .corners::after {
  content: ""; position: absolute; width: 16px; height: 16px;
  border: 1px solid rgba(242, 177, 90, .75);
}
.corners::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.corners::after { right: 12px; bottom: 12px; border-left: 0; border-top: 0; }
.cta-row, .badge-row, .chip-row, .tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--grad); color: #1a0d12; font-weight: 720;
  box-shadow: var(--shadow);
  transition: filter .2s ease, transform .15s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:disabled { filter: grayscale(.2) brightness(.8); cursor: default; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--c2); box-shadow: none; }
.btn-ghost:hover { border-color: var(--c3); color: var(--c3); filter: none; }
.text-link { color: var(--c2); text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--c3); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 4px 10px; border-radius: var(--radius-badge);
  background: #241018; color: var(--c3); border: 1px solid rgba(242, 177, 90, .35);
  font-size: 13px; line-height: 1.3;
}
.badge b { font-family: var(--mono); font-weight: 650; color: var(--text); }
.badge.ok { color: var(--ok); border-color: rgba(156, 191, 107, .4); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), var(--grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.card p, .mini p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.card .badge, .mini .badge { margin-top: 0; }
.filter-bar { display: grid; gap: 14px; }
.filter-line { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.filter-label { min-width: 44px; color: var(--dim); font-size: 13px; font-family: var(--mono); }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.chip:hover { border-color: var(--c3); color: var(--text); }
.chip:active { transform: translateY(1px); }
.chip.is-on { background: var(--grad); color: #1a0d12; border-color: transparent; font-weight: 720; }
.list-layout { grid-template-columns: minmax(0, 1fr) 300px; }
.stack { display: grid; gap: 14px; }
.wide { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; align-items: center; }
.swatch {
  position: relative; height: 112px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); overflow: hidden;
}
.swatch::after {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(247, 241, 234, .35); border-radius: 14px;
}
.s1 { background: linear-gradient(118deg, #8E2F5B, #E15A45 55%, #F2B15A); }
.s2 { background: linear-gradient(160deg, #4a2038, #E15A45); }
.s3 { background: linear-gradient(200deg, #F2B15A, #8E2F5B); }
.s4 { background: linear-gradient(135deg, #2A1A24, #E15A45 70%, #F2B15A); }
.s5 { background: linear-gradient(118deg, #6e2448, #F2B15A); }
.s6 { background: linear-gradient(180deg, #E15A45, #2A1A24); }
.rail .card p { margin-top: 8px; }
.pick-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 14px; }
.pick-grid .card:first-child { background:
  linear-gradient(160deg, rgba(142, 47, 91, .35), transparent 46%), var(--surface); }
.tag-cloud .chip { min-height: 52px; padding: 0 18px; font-size: 16px; }
.split { grid-template-columns: .9fr 1.1fr; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.step {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: #241018; color: var(--c3); border: 1px solid rgba(242, 177, 90, .35);
  font-family: var(--mono); font-size: 13px;
}
.time-card { position: relative; padding-left: 16px; }
.time-card::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 99px;
  background: var(--grad);
}
.more-sec .wrap { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.more-sec p { color: var(--muted); }
.article-grid { grid-template-columns: 1fr 1fr 1fr; }
.article-grid h3 { font-size: 18px; }
.cta-band {
  margin-top: 22px; padding: 28px;
  border-radius: var(--radius); border: 1px solid transparent;
  background:
    linear-gradient(160deg, rgba(20, 14, 20, .2), rgba(20, 14, 20, .2)) padding-box,
    var(--grad) border-box;
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px;
}
.field { margin-bottom: 12px; }
.field span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 14px; }
input, select {
  width: 100%; min-height: 48px; border-radius: 14px;
  border: 1px solid var(--line); background: #140E14; color: var(--text); padding: 0 12px;
}
input:focus, select:focus { outline: 2px solid var(--c3); outline-offset: 2px; }
.field.bad input, .field.bad select { border-color: var(--c2); }
.form-msg { min-height: 1.5em; margin-top: 8px; font-size: 14px; }
.form-msg.ok { color: var(--ok); }
.form-msg.bad { color: var(--c2); }
.empty { color: var(--c3); margin-top: 12px; }
.site-footer {
  padding: 48px 0 56px; background: #10090e;
  border-top: 1px solid var(--line); color: var(--muted);
}
.foot-grid { grid-template-columns: 1.4fr .6fr; align-items: end; }
.foot-brand { font-weight: 760; color: var(--text); font-size: 18px; }
.domain { color: var(--dim); font-family: var(--mono); font-size: 13px; margin-top: 6px; }
.extra { display: none; }
#list.show-extra .extra { display: grid; }
.wide.is-out { display: none !important; }
:focus-visible { outline: 2px solid var(--c3); outline-offset: 2px; }
@media (max-width: 1023px) {
  .topbar { display: flex; }
  .maincol { margin-left: 0; }
  .sidebar {
    top: 64px; width: min(86vw, 320px);
    transform: translateX(-105%);
    transition: transform .2s ease;
    z-index: 70;
  }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow); }
  .list-layout, .split, .cta-band, .pick-grid, .head-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .pagehead { padding: 32px 0 24px; }
  .article-grid { grid-template-columns: 1fr; }
  body h1 { font-size: 34px; }
  body h2 { font-size: 28px; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
}
@media (max-width: 640px) {
  .wide, #list.show-extra .extra { grid-template-columns: 1fr; }
  .swatch { height: 88px; }
  .foot-grid, .more-sec .wrap { grid-template-columns: 1fr; display: grid; }
  .more-sec .wrap { justify-content: start; }
  body h1 { font-size: 32px; }
  body h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
