/* roulang page: index */
:root {
  --wine: #6E2438;
  --copper: #D4894C;
  --lime: #C6F135;
  --bg: #121014;
  --raise: #1C181B;
  --card: #241C20;
  --line: #3A3034;
  --text: #F4EDE6;
  --muted: #B7A89E;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(0,0,0,.35);
  --pad: 72px;
  --header: 72px;
}
*, *::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.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
body h1, body h2, body h3, body h4 {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  letter-spacing: 0;
  line-height: 1.35;
}
body h1 { font-size: 40px; font-weight: 800; margin: 0 0 12px; line-height: 1.25; }
body h2 { font-size: 28px; font-weight: 750; font-weight: 700; margin: 0 0 14px; }
body h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.grid-container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  background: rgba(18,16,20,.94);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo-mark {
  width: 36px; height: 36px; flex: none; position: relative;
  background: var(--wine); border-radius: 8px;
}
.logo-mark i {
  position: absolute; left: 13px; top: 8px; width: 0; height: 0;
  border-style: solid; border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent var(--text);
}
.logo-mark b {
  position: absolute; left: 6px; right: 6px; bottom: 6px; height: 3px;
  background: var(--copper); border-radius: 2px;
}
.logo-words { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo-words strong { font-size: 16px; font-weight: 800; white-space: nowrap; }
.logo-words small { color: var(--copper); font-size: 12px; letter-spacing: .12em; }
.top-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-btn, .text-btn {
  appearance: none; border: 1px solid var(--line); background: var(--raise);
  color: var(--text); border-radius: 8px; min-height: 40px; padding: 0 14px;
  cursor: pointer; transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.menu-btn { display: inline-flex; align-items: center; gap: 8px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 16px; height: 2px; background: var(--text); position: relative; content: "";
}
.menu-btn span::before { position: absolute; top: -5px; }
.menu-btn span::after { position: absolute; top: 5px; }
.menu-btn:hover, .text-btn:hover { border-color: var(--copper); transform: translateY(-2px); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 8px;
  background: var(--copper); color: var(--bg); font-weight: 800;
  border: 1px solid var(--copper);
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--wine); color: var(--text); border-color: var(--wine); transform: translateY(-2px); }
.btn:active, .menu-btn:active, .text-btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--copper); }
.btn-ghost:hover { background: var(--wine); color: var(--text); border-color: var(--wine); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--copper); outline-offset: 3px;
}
.drawer {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(18,16,20,.72);
}
.drawer[hidden] { display: none !important; }
.drawer-panel {
  position: absolute; inset: 0; background: var(--raise);
  padding: 28px 8vw 48px; display: flex; flex-direction: column; gap: 28px;
  overflow: auto;
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer-head strong { font-size: 18px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  display: block; font-size: 32px; font-weight: 800; padding: 18px 0;
  border-bottom: 1px solid var(--line); line-height: 1.3;
}
.drawer nav a:hover { color: var(--copper); }
.drawer nav a[aria-current="page"] { color: var(--copper); }
body.lock { overflow: hidden; }
.band { padding: var(--pad) 0; background: var(--bg); }
.band-b { background: var(--raise); }
.band-hero { padding-top: 36px; padding-bottom: 0; background:
  radial-gradient(1000px 320px at 10% 0%, rgba(110,36,56,.45), transparent 60%),
  var(--bg); }
.sub { color: var(--text); font-size: 18px; margin-bottom: 14px; max-width: 36em; }
.lead { color: var(--muted); max-width: 40em; margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.monitor {
  background: #0c0a0c; border-radius: var(--radius); border: 1px solid var(--line);
  border-left: 3px solid var(--wine); box-shadow: var(--shadow); overflow: hidden;
}
.monitor-top, .device-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; padding: 10px 12px; color: var(--muted); font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.live { color: var(--lime); display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); display: inline-block; }
.frame-body { min-height: 280px; display: flex; flex-direction: column; }
.picture-zone, .sample-pic {
  flex: 1; min-height: 180px; margin: 12px; border-radius: 6px;
  background:
    linear-gradient(160deg, rgba(110,36,56,.55), rgba(18,16,20,.2)),
    repeating-linear-gradient(90deg, #2a2226 0 12px, #201a1d 12px 24px);
  display: flex; align-items: flex-end; padding: 12px; color: var(--muted); font-size: 13px;
}
.sub-zone, .sample-sub {
  margin: 0 12px 12px; min-height: 52px; border-radius: 6px;
  background: rgba(244,237,230,.08); border: 1px dashed var(--copper);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 8px 12px; color: var(--text);
}
.ticker { margin-top: 28px; border-top: 1px solid var(--line); overflow: hidden; background: #0e0c0e; }
.ticker-track { display: flex; gap: 28px; white-space: nowrap; padding: 10px 0; animation: tick 26s linear infinite; }
.ticker-track span { color: var(--muted); font-size: 13px; }
.ticker-track b { color: var(--text); font-weight: 700; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sec-lead { color: var(--muted); max-width: 46em; margin-bottom: 22px; }
.break-item, .still, .lane, .beat, .note, .score-item, .piece, .scene-lg, .scene-sm, .quote, .aud-row, .time-item, .device, .faq-item, .entry-strip, .endcap {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--wine);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.band-b .break-item, .band-b .lane, .band-b .beat, .band-b .note, .band-b .score-item, .band-b .piece, .band-b .scene-lg, .band-b .scene-sm, .band-b .quote, .band-b .aud-row, .band-b .time-item, .band-b .device, .band-b .faq-item, .band-b .endcap {
  background: #2a2226;
}
.break-list { display: flex; flex-direction: column; gap: 12px; }
.break-item { padding: 16px 16px 16px 18px; }
.break-item strong { display: block; margin-bottom: 6px; }
.break-item p, .lane p, .beat p, .note p, .piece p, .scene-lg p, .scene-sm p, .quote p, .aud-row p, .time-item p { color: var(--muted); }
.idx { color: var(--copper); font-variant-numeric: tabular-nums; font-size: 13px; margin-right: 6px; }
.still { min-height: 100%; padding: 12px; display: flex; flex-direction: column; }
.still-frame {
  flex: 1; min-height: 320px; border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(18,16,20,.1), rgba(18,16,20,.72)),
    repeating-linear-gradient(135deg, #3a242c 0 14px, #2a1b21 14px 28px);
  display: flex; align-items: flex-end; padding: 14px; color: var(--text);
}
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip, .tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--copper); color: var(--copper); font-size: 13px;
}
.lane-row { align-items: stretch; }
.lane { padding: 18px; height: 100%; }
.lane h3 { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.rail { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.beat { flex: 1 0 230px; scroll-snap-align: start; padding: 16px; position: relative; }
.beat .num {
  font-size: 42px; line-height: 1; font-weight: 800; color: var(--copper);
  font-variant-numeric: tabular-nums; display: block; margin-bottom: 8px;
}
.progress {
  height: 4px; background: var(--line); border-radius: 99px; margin-bottom: 18px; position: relative;
}
.progress i { display: block; height: 100%; width: 76%; background: linear-gradient(90deg, var(--wine), var(--copper)); border-radius: inherit; }
.sample { display: grid; gap: 16px; }
.sample-stage { background: #0c0a0c; border-radius: var(--radius); border: 1px solid var(--line); border-left: 3px solid var(--wine); box-shadow: var(--shadow); padding-bottom: 4px; }
.sample-pic { min-height: 240px; }
.note { padding: 16px; }
.note li { margin-bottom: 8px; color: var(--muted); }
.score { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.score-item { padding: 16px; }
.score-item .num { font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; color: var(--text); }
.score-item span, .caliber { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.caliber { margin-top: 14px; }
.h-rail { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; margin-bottom: 16px; }
.piece, .scene-lg, .scene-sm { padding: 16px; }
.piece { flex: 0 0 300px; scroll-snap-align: start; }
.piece:hover, .scene-lg:hover, .scene-sm:hover, .time-item:hover, .quote:hover, .break-item:hover {
  border-color: var(--copper); transform: translateY(-2px); transition: transform .2s ease, border-color .2s ease;
}
.title-link { display: inline-block; margin-bottom: 8px; }
.title-link:hover { color: var(--copper); }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.scene-split { align-items: stretch; }
.scene-lg, .scene-sm { height: 100%; }
.scene-lg { min-height: 220px; }
.quote-board { display: grid; grid-template-columns: 1.45fr .7fr; gap: 14px; align-items: stretch; }
.quote-col { display: flex; flex-direction: column; gap: 14px; }
.quote { padding: 18px; margin: 0; }
.quote-narrow { padding: 18px; }
.who { color: var(--copper); font-size: 13px; margin-bottom: 8px; }
.entry-band { padding: 36px 0; background: #160f12; }
.entry-strip {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 18px 18px 18px 20px;
}
.entry-strip h2 { margin-bottom: 8px; }
.quote-board, .entry-strip, .aud-list, .time-list { margin-top: 6px; }
.aud-list { display: flex; flex-direction: column; gap: 12px; }
.aud-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 16px 18px; align-items: center; }
.aud-row a { font-weight: 800; }
.aud-row a:hover { color: var(--copper); }
.time-list { display: flex; flex-direction: column; gap: 0; border-left: 2px solid var(--wine); margin-left: 8px; }
.time-item { margin: 0 0 12px 16px; padding: 14px 16px; position: relative; }
.time-item::before {
  content: ""; position: absolute; left: -22px; top: 20px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--copper); box-shadow: 0 0 0 4px rgba(110,36,56,.45);
}
.device-screen { margin-top: 12px; background: #0c0a0c; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.device-video { height: 150px; background: repeating-linear-gradient(90deg, #3a3034 0 10px, #241c20 10px 20px); }
.device-sub { margin: 10px 12px; text-align: center; background: rgba(244,237,230,.1); padding: 8px; border-radius: 4px; }
.device-controls { height: 28px; margin: 8px 12px 12px; border-radius: 4px; background: #2a2428; color: var(--muted); font-size: 12px; display: flex; align-items: center; padding: 0 8px; }
.metric-scroll { overflow-x: auto; border: 1px solid var(--line); border-left: 3px solid var(--wine); border-radius: var(--radius); box-shadow: var(--shadow); }
table.metric { width: 100%; min-width: 720px; border-collapse: collapse; margin: 0; background: #1a1518; }
table.metric th, table.metric td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); font-size: 15px; }
table.metric th { color: var(--copper); font-weight: 700; background: #221b1e; }
table.metric tr:last-child td { border-bottom: 0; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { padding: 0 16px; }
.faq-item summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; float: right; color: var(--copper); }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { color: var(--muted); padding-bottom: 14px; }
.endcap { margin-top: 22px; padding: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.site-foot { background: #0d0b0d; border-top: 1px solid var(--line); padding: 36px 0 28px; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.foot-links a { color: var(--muted); border-bottom: 1px solid transparent; }
.foot-links a:hover { color: var(--text); border-bottom-color: var(--copper); }
.copy { color: var(--muted); font-size: 13px; margin-top: 18px; }
@media (max-width: 1024px) {
  .quote-board { grid-template-columns: 1fr; }
  .quote-narrow { min-height: 0; }
  .score { grid-template-columns: repeat(2, 1fr); }
  .drawer nav a { font-size: 28px; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  body h1 { font-size: 30px; }
  body h2 { font-size: 22px; }
  .aud-row, .entry-strip, .endcap, .foot-grid { grid-template-columns: 1fr; display: flex; flex-direction: column; align-items: flex-start; }
  .still-frame { min-height: 220px; }
  .logo-words strong { font-size: 14px; }
}
@media (max-width: 520px) {
  .topbar { padding: 0 12px; }
  .btn, .btn-ghost { min-height: 40px; padding: 0 10px; font-size: 14px; }
  .score { grid-template-columns: 1fr; }
  .score-item .num, .beat .num { font-size: 34px; }
  .frame-body { min-height: 220px; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* roulang page: category1 */
:root {
 --wine: #6E2438;
 --copper: #D4894C;
 --lime: #C6F135;
 --bg: #121014;
 --raise: #1C181B;
 --card: #241C20;
 --line: #3A3034;
 --text: #F4EDE6;
 --muted: #B7A89E;
 --radius: 8px;
 --shadow: 0 8px 24px rgba(0,0,0,.35);
 --pad: 72px;
 --header: 72px;
}
*, *::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.65;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
body h1, body h2, body h3, body h4 {
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 color: var(--text);
 letter-spacing: 0;
 line-height: 1.35;
}
body h1 { font-size: 40px; font-weight: 800; margin: 0 0 12px; line-height: 1.25; }
body h2 { font-size: 28px; font-weight: 700; margin: 0 0 14px; }
body h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
p { margin: 0 0 10px; }
.grid-container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.topbar {
 position: sticky;
 top: 0;
 z-index: 30;
 height: var(--header);
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 padding: 0 20px;
 background: rgba(18,16,20,.94);
 border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo-mark {
 width: 36px; height: 36px; flex: none; position: relative;
 background: var(--wine); border-radius: 8px;
}
.logo-mark i {
 position: absolute; left: 13px; top: 8px; width: 0; height: 0;
 border-style: solid; border-width: 7px 0 7px 11px;
 border-color: transparent transparent transparent var(--text);
}
.logo-mark b {
 position: absolute; left: 6px; right: 6px; bottom: 6px; height: 3px;
 background: var(--copper); border-radius: 2px;
}
.logo-words { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo-words strong { font-size: 16px; font-weight: 800; white-space: nowrap; }
.logo-words small { color: var(--copper); font-size: 12px; letter-spacing: .12em; }
.top-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-btn, .text-btn {
 appearance: none; border: 1px solid var(--line); background: var(--raise);
 color: var(--text); border-radius: 8px; min-height: 40px; padding: 0 14px;
 cursor: pointer; transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.menu-btn { display: inline-flex; align-items: center; gap: 8px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
 display: block; width: 16px; height: 2px; background: var(--text); position: relative; content: "";
}
.menu-btn span::before { position: absolute; top: -5px; }
.menu-btn span::after { position: absolute; top: 5px; }
.menu-btn:hover, .text-btn:hover, .menu-btn:focus-visible, .text-btn:focus-visible { border-color: var(--copper); transform: translateY(-2px); }
.btn {
 display: inline-flex; align-items: center; justify-content: center;
 min-height: 44px; padding: 0 18px; border-radius: 8px;
 background: var(--copper); color: var(--bg); font-weight: 800;
 border: 1px solid var(--copper);
 transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--wine); color: var(--text); border-color: var(--wine); transform: translateY(-2px); }
.btn:active, .menu-btn:active, .text-btn:active { transform: translateY(0); }
a:focus-visible, button:focus-visible, summary:focus-visible {
 outline: 2px solid var(--copper); outline-offset: 3px;
}
.drawer {
 position: fixed; inset: 0; z-index: 40;
 background: rgba(18,16,20,.72);
}
.drawer[hidden] { display: none !important; }
.drawer-panel {
 position: absolute; inset: 0; background: var(--raise);
 padding: 28px 8vw 48px; display: flex; flex-direction: column; gap: 28px;
 overflow: auto;
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer-head strong { font-size: 18px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
 display: block; font-size: 32px; font-weight: 800; padding: 18px 0;
 border-bottom: 1px solid var(--line); line-height: 1.3;
}
.drawer nav a:hover, .drawer nav a:focus-visible { color: var(--copper); }
.drawer nav a[aria-current="page"] { color: var(--copper); }
body.lock { overflow: hidden; }
.band { padding: var(--pad) 0; background: var(--bg); }
.band-b { background: var(--raise); }
.sec-lead { color: var(--muted); max-width: 46em; margin-bottom: 22px; }
.chip, .tag {
 display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
 border-radius: 999px; border: 1px solid var(--copper); color: var(--copper); font-size: 13px;
 background: transparent;
}
.chip { min-height: 40px; padding: 0 16px; font-weight: 700; transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease; }
.chip:hover, .chip:focus-visible { background: var(--wine); color: var(--text); border-color: var(--wine); transform: translateY(-2px); }
.chip:active { transform: translateY(0); }
.dot {
 width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
 display: inline-block; margin-right: 6px; box-shadow: 0 0 0 4px rgba(198,241,53,.15);
}
.cat-head { padding-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.cat-head .grid-x { align-items: center; }
.cat-kicker { color: var(--copper); font-size: 13px; letter-spacing: .08em; margin-bottom: 8px; }
.cat-lead { color: var(--muted); margin: 0; max-width: 36em; }
.status-pane {
 background: var(--card);
 border: 1px solid var(--line);
 border-left: 3px solid var(--wine);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px 18px;
 display: flex;
 flex-direction: column;
 gap: 8px;
 align-items: flex-start;
}
.status-pane p { margin: 0; color: var(--muted); font-size: 13px; display: flex; align-items: center; }
.status-pane strong {
 font-size: 28px;
 font-variant-numeric: tabular-nums;
 line-height: 1;
 font-weight: 800;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.lead-card, .piece, .legend-card, .faq-item, .endcap, .text-list, .metric-row {
 background: var(--card);
 border: 1px solid var(--line);
 border-left: 3px solid var(--wine);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.band-b .lead-card, .band-b .piece, .band-b .legend-card, .band-b .faq-item, .band-b .endcap, .band-b .text-list, .band-b .metric-row {
 background: #2a2226;
}
.lead-card { padding: 22px 22px 18px; margin-bottom: 16px; }
.lead-card h3 { font-size: 22px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 14px; margin-top: 12px; }
.meta-line b { color: var(--text); font-weight: 700; }
.frame-sub {
 margin-top: 16px;
 background: #0c0a0c;
 border-radius: 8px;
 min-height: 92px;
 position: relative;
 border: 1px solid var(--line);
}
.frame-sub span {
 position: absolute; left: 8%; right: 8%; bottom: 12px; height: 18px;
 background: rgba(212,137,76,.9); color: var(--bg); font-size: 12px; font-weight: 800;
 display: flex; align-items: center; justify-content: center; border-radius: 2px;
}
.piece { padding: 16px; height: 100%; transition: border-color .2s ease, transform .2s ease; }
.piece:hover, .lead-card:hover, .text-list a:hover { border-color: var(--copper); }
.piece:hover { transform: translateY(-2px); }
.stagger { margin-top: 4px; }
.list-more { margin-top: 22px; }
.legend-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; align-items: stretch; }
.legend-card { padding: 18px; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.legend li { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; }
.bar { width: 92px; height: 10px; border-radius: 2px; background: var(--line); position: relative; flex: none; }
.bar.full::after, .bar.half::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; background: var(--copper); border-radius: 2px; }
.bar.full::after { width: 100%; }
.bar.half::after { width: 48%; }
.bar.none { background: transparent; border: 1px dashed var(--muted); }
.legend small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.note-side { color: var(--muted); margin: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); border-left: 3px solid var(--wine); box-shadow: var(--shadow); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { color: var(--text); font-size: 16px; background: #2a2226; }
.compare td { color: var(--muted); }
.compare td:first-child, .compare th:first-child { color: var(--text); font-weight: 700; width: 22%; }
.compare tr:last-child td { border-bottom: 0; }
.text-list { list-style: none; margin: 0; padding: 6px 0; }
.text-list li { border-bottom: 1px solid var(--line); }
.text-list li:last-child { border-bottom: 0; }
.text-list a {
 display: flex; justify-content: space-between; gap: 12px; align-items: center;
 padding: 16px 18px; font-weight: 700; transition: color .2s ease, background .2s ease;
}
.text-list a:hover, .text-list a:focus-visible { color: var(--copper); background: rgba(110,36,56,.25); }
.text-list span { color: var(--muted); font-weight: 400; font-size: 13px; flex: none; }
.metric-row { display: flex; gap: 0; overflow-x: auto; }
.metric-row div { flex: 1 0 160px; padding: 16px 18px; border-right: 1px solid var(--line); }
.metric-row div:last-child { border-right: 0; }
.metric-row b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.metric-row span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.caliber { color: var(--muted); font-size: 13px; margin-top: 12px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { padding: 0; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 16px 18px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; float: right; color: var(--copper); }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { color: var(--muted); padding: 0 18px 16px; margin: 0; }
.endcap { margin-top: 18px; padding: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.endcap p { margin: 0; color: var(--muted); }
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 36px; background: #0e0c0f; }
.foot-grid { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover, .foot-links a:focus-visible { color: var(--copper); }
.copy { color: var(--muted); font-size: 13px; margin: 16px 0 0; }
@media (max-width: 1024px) {
 .legend-grid { grid-template-columns: 1fr; }
 .drawer nav a { font-size: 28px; }
}
@media (max-width: 768px) {
 :root { --pad: 40px; }
 body h1 { font-size: 30px; }
 body h2 { font-size: 22px; }
 .endcap { flex-direction: column; align-items: flex-start; }
 .status-pane { margin-top: 16px; }
}
@media (max-width: 520px) {
 .topbar { padding: 0 12px; }
 .logo-words strong { font-size: 13px; }
 .top-actions .btn { padding: 0 10px; min-height: 40px; font-size: 13px; }
 .menu-btn { padding: 0 10px; }
 .drawer-panel { padding: 20px 20px 40px; }
 .drawer nav a { font-size: 24px; }
 .lead-card h3 { font-size: 18px; }
 .status-pane strong { font-size: 24px; }
}
