/* roulang page: index */
:root {
  --bg: #0E1013;
  --bg-2: #14181D;
  --panel: #1A1E24;
  --wine: #5C1A33;
  --wine-deep: #431226;
  --oak: #B08968;
  --cyan: #1FA7A0;
  --bone: #F4F1EA;
  --muted: #C9C2B8;
  --line: #343A42;
  --radius: 12px;
  --shadow: 0 16px 40px rgba(0, 0, 0, .32);
  --header: 78px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
button, input { font: inherit; color: inherit; }
p { margin: 0 0 12px; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 {
  color: var(--bone);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.28;
  margin: 0 0 12px;
}
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 18px; font-weight: 700; }
a { color: var(--bone); text-decoration: none; }
a:hover { color: var(--bone); }
::selection { background: var(--wine); color: var(--bone); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--wine);
  color: var(--bone);
  padding: 10px 14px;
  z-index: 80;
  border-radius: 8px;
}
.skip:focus { top: 12px; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.toolbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 16, 19, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.toolbar.is-tight { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.toolbar-row {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; flex: 0 0 auto; }
.mark { width: 36px; height: 36px; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 800; letter-spacing: -0.04em; color: var(--bone); font-size: 15px; }
.desk-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--muted);
  font-weight: 700;
}
.nav-link:hover, .nav-link.is-active { color: var(--bone); box-shadow: inset 0 -2px 0 var(--wine); }
.toolbar-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.status { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--bone); font-size: 13px; font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(31,167,160,.15); }
.icon-btn, .menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-btn:hover, .menu-toggle:hover { border-color: var(--cyan); }
.menu-toggle { display: none; font-size: 13px; font-weight: 700; width: auto; padding: 0 12px; }
.icon-btn svg, .menu-toggle svg { width: 18px; height: 18px; display: block; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.btn-solid, .btn-solid:hover, .btn-solid:focus { background: var(--wine); color: var(--bone); }
.btn-solid:hover { background: var(--wine-deep); transform: translateY(-1px); }
.btn-solid:active { transform: translateY(0); background: #35101f; }
.btn-line { background: transparent; color: var(--bone); border-color: var(--bone); }
.btn-line:hover, .btn-line:focus { color: var(--cyan); border-color: var(--cyan); background: transparent; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #12151A; }
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.mobile-nav a.is-active { box-shadow: inset 2px 0 0 var(--wine); }
.notice {
  position: absolute;
  right: 16px;
  top: calc(100% - 6px);
  width: min(320px, calc(100% - 24px));
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px 8px;
  z-index: 45;
}
.notice h2 { font-size: 16px; }
.notice a { display: flex; min-height: 44px; align-items: center; border-top: 1px solid var(--line); color: var(--muted); }
.notice a:hover { color: var(--bone); }
.band { position: relative; padding: 76px 0; scroll-margin-top: 92px; }
.band-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--oak); font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.lead { max-width: 68ch; color: var(--muted); margin-bottom: 22px; }
.kw { border-bottom: 2px solid var(--wine); }
.hero {
  padding-top: 42px;
  background:
    radial-gradient(820px 380px at 86% 0%, rgba(92, 26, 51, .38), transparent 62%),
    var(--bg);
}
.hero-frame { position: relative; }
.hero-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(176, 137, 104, .45);
  pointer-events: none;
  z-index: 2;
}
.sub { color: var(--bone); font-size: 18px; margin-bottom: 14px; }
.hero-copy p.long { margin-bottom: 18px; }
.count-strip {
  display: flex;
  gap: 18px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--oak);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.count-strip b { display: block; color: var(--bone); font-size: 32px; line-height: 1; letter-spacing: -0.04em; }
.count-strip span { color: var(--muted); font-size: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.age-line { color: var(--oak); font-size: 13px; margin: 0; }
.frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #12151A; }
.still-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.plate {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--oak);
  color: var(--oak);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  background: rgba(14, 16, 19, .72);
}
.time-badge { position: absolute; left: 12px; bottom: 12px; }
.frame-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.panel-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  height: 100%;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.panel-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #4a4240; }
.point-tall { min-height: 300px; }
.point-mid { min-height: 236px; margin-top: 32px; }
.point-short { min-height: 188px; margin-top: 64px; }
.point h3 a:hover { color: var(--cyan); }
.idx { color: var(--wine); font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.scene { flex: 0 0 78%; scroll-snap-align: start; }
.scene p { min-height: 72px; }
.library-main { margin-bottom: 18px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--oak);
  background: transparent;
  color: var(--oak);
  font-weight: 700;
  cursor: pointer;
}
.chip:hover, .chip.is-on { color: var(--bone); border-color: var(--cyan); }
.meta-row { display: flex; gap: 8px; align-items: center; margin: 12px 0 6px; color: var(--oak); font-size: 12px; font-weight: 800; }
.upd::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); display: inline-block; margin-right: 6px; }
.piece a, .topic a { display: block; color: inherit; height: 100%; }
.piece p, .topic p, .scene p, .tl-item p { color: var(--muted); }
.step-no { font-size: 40px; line-height: 1; color: var(--bone); letter-spacing: -0.05em; margin-bottom: 8px; }
.step { position: relative; }
.step::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 42px;
  width: 16px;
  height: 1px;
  background: var(--oak);
}
.voice { margin-bottom: 16px; }
.voice header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--oak);
  color: var(--bone);
  font-weight: 800;
}
.who small { display: block; color: var(--muted); font-weight: 500; }
.stat b { display: block; font-size: 40px; line-height: 1; color: var(--bone); letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: 14px; }
.meter { margin-bottom: 14px; }
.meter-top { display: flex; justify-content: space-between; gap: 12px; color: var(--bone); font-size: 14px; font-weight: 700; }
.meter-track { height: 8px; background: #2a3038; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.meter-track i { display: block; height: 100%; background: var(--wine); border-radius: inherit; }
.meter-track.alt i { background: #8d847a; }
.col-title { font-size: 20px; margin-bottom: 16px; }
.diff-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); height: 100%; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.tl-item time { color: var(--oak); font-weight: 800; font-size: 14px; }
.tl-item h3 { margin-bottom: 4px; font-size: 18px; }
.tl-item a:hover { color: var(--cyan); }
.strip { margin-bottom: 16px; }
.device { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px; height: 100%; }
.device-phone { max-width: 260px; }
.device-pad { max-width: 420px; margin: 18px auto 0; }
.device-desk { margin-top: 28px; }
.mini-list { display: grid; gap: 8px; }
.mini {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--bone);
  font-size: 13px;
  font-weight: 700;
  background: #12151A;
}
.pad-list { grid-template-columns: 1fr 1fr; }
.desk-list { grid-template-columns: 1fr 1fr 1fr; }
.device p { margin-top: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { min-height: 52px; padding: 12px 18px; cursor: pointer; list-style: none; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 17px; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { padding: 12px 18px 16px; margin: 0; }
.assure-item h3 { font-size: 18px; }
.topic { min-width: 280px; scroll-snap-align: start; flex: 0 0 78%; }
.close-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.close-inner .lead { margin: 0; }
.site-foot { background: #0c0e11; border-top: 1px solid var(--line); padding: 42px 0 120px; }
.foot-brand { margin-bottom: 8px; }
.foot-links a { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-weight: 700; }
.foot-links a:hover { color: var(--bone); }
.copyline { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 14px; font-size: 14px; }
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(26, 30, 36, .96);
  border-top: 1px solid var(--oak);
  transform: translateY(110%);
  transition: transform .2s ease;
}
.dock.is-on { transform: translateY(0); }
.dock-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dock-title { margin: 0; color: var(--bone); font-weight: 800; letter-spacing: -0.03em; }
@media (max-width: 1024px) {
  .point-mid, .point-short { margin-top: 0; }
  .step::after { display: none; }
  .device-desk { margin-top: 0; }
  .scene { flex-basis: 46%; }
  .topic { flex-basis: 46%; }
}
@media (max-width: 768px) {
  .desk-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav.is-open { display: block; }
  .band { padding: 56px 0; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; }
  .close-inner, .dock-inner { align-items: stretch; flex-direction: column; }
  .dock .btn, .close-inner .btn { width: 100%; }
  .scene, .topic { flex-basis: 80%; }
  .pad-list, .desk-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 20px); }
  .toolbar-row { gap: 8px; min-height: 68px; }
  .logo-text { font-size: 13px; }
  .nav-cta { padding: 0 10px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .count-strip b { font-size: 26px; }
  .scene, .topic { flex-basis: 88%; }
  .desk-list, .pad-list { grid-template-columns: 1fr; }
  .status span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --bg: #0E1013;
  --bg-2: #14181D;
  --panel: #1A1E24;
  --wine: #5C1A33;
  --wine-deep: #431226;
  --oak: #B08968;
  --cyan: #1FA7A0;
  --bone: #F4F1EA;
  --muted: #C9C2B8;
  --line: #343A42;
  --radius: 12px;
  --shadow: 0 16px 40px rgba(0, 0, 0, .32);
  --header: 78px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--bone); text-decoration: none; }
a:hover { color: var(--bone); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--wine);
  color: var(--bone);
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 8px; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
h1, h2, h3, h4 {
  color: var(--bone);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin: 0 0 .45em;
}
p { margin: 0 0 12px; }
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #0E1013;
  min-height: var(--header);
}
.site-head.is-compact {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
.site-head.is-compact .toolbar-row { min-height: 64px; }
.toolbar-row {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; flex: 0 0 auto; }
.mark { width: 32px; height: 32px; flex: 0 0 auto; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--bone);
  font-size: 15px;
}
.desk-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--muted);
  font-weight: 700;
  border-radius: 0;
}
.nav-link:hover, .nav-link.is-active { color: var(--bone); box-shadow: inset 0 -2px 0 var(--wine); }
.tool-side { margin-left: auto; display: flex; align-items: center; gap: 8px; position: relative; }
.status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--bone);
  font-size: 13px;
  font-weight: 800;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(31, 167, 160, .16);
}
.icon-btn, .menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-btn:hover, .menu-toggle:hover, .icon-btn[aria-expanded="true"] { border-color: var(--cyan); }
.menu-toggle { display: none; font-size: 13px; font-weight: 700; width: auto; padding: 0 12px; }
.icon-btn svg, .menu-toggle svg { width: 18px; height: 18px; display: block; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.btn-solid, .btn-solid:hover, .btn-solid:focus { background: var(--wine); color: var(--bone); }
.btn-solid:hover { background: var(--wine-deep); transform: translateY(-1px); }
.btn-solid:active { transform: translateY(0); background: #35101f; }
.btn-line { background: transparent; color: var(--bone); border-color: var(--bone); }
.btn-line:hover, .btn-line:focus { color: var(--cyan); border-color: var(--cyan); background: transparent; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #12151A; }
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  color: var(--muted);
}
.mobile-nav a.is-active, .mobile-nav a:hover { color: var(--bone); box-shadow: inset 2px 0 0 var(--wine); }
.notice-panel {
  display: none;
  position: absolute;
  right: 0;
  top: 56px;
  width: min(320px, calc(100vw - 32px));
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 70;
  overflow: hidden;
}
.notice-panel.is-open { display: block; }
.notice-panel strong {
  display: block;
  padding: 12px 14px 4px;
  color: var(--oak);
  font-size: 12px;
  letter-spacing: 0;
}
.notice-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  color: var(--bone);
  font-weight: 700;
}
.notice-panel a:hover { color: var(--cyan); }
.lead { max-width: 68ch; color: var(--muted); margin-bottom: 0; }
.band { padding: 42px 0; }
.band-alt { background: var(--bg-2); }
.band-head { margin-bottom: 18px; }
.score-line {
  height: 1px;
  border: 0;
  margin: 0 0 16px;
  background: linear-gradient(90deg, var(--oak), rgba(176, 137, 104, 0));
}
.cat-head { padding: 28px 0 18px; }
.cat-head h1 {
  display: inline-block;
  font-size: clamp(28px, 4vw, 42px);
  border-bottom: 3px solid var(--wine);
  padding-bottom: 4px;
  margin-bottom: 12px;
}
.kicker {
  color: var(--oak);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}
.stat-row { display: flex; gap: 10px; }
.stat-box {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 12px;
  min-height: 92px;
}
.stat-num {
  display: block;
  color: var(--bone);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.stat-box small { display: block; margin-top: 8px; color: var(--oak); font-weight: 800; font-size: 12px; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label {
  color: var(--oak);
  font-size: 12px;
  font-weight: 800;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.chip {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--oak);
  background: transparent;
  color: var(--oak);
  font-weight: 700;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.chip:hover, .chip.is-on { color: var(--bone); border-color: var(--cyan); background: rgba(31, 167, 160, .08); }
.chip:active { transform: translateY(1px); }
.list-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 16px;
}
.list-count { color: var(--oak); font-weight: 800; font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
.entry {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  height: 100%;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.entry:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #4a4240; }
.entry-layout { display: grid; grid-template-columns: 168px 1fr; gap: 14px; align-items: center; }
.still-wrap { position: relative; border-radius: var(--radius); overflow: hidden; background: #14181D; }
.still-wrap::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(176, 137, 104, .5);
  pointer-events: none;
}
.still-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.time-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  background: #0E1013;
  color: var(--oak);
  border: 1px solid var(--oak);
  border-radius: 8px;
  min-height: 26px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
}
.meta-row { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; color: var(--oak); font-size: 12px; font-weight: 800; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1px solid var(--oak);
  color: var(--oak);
  font-size: 12px;
  font-weight: 800;
}
.badge-cyan { border-color: var(--cyan); color: var(--cyan); }
.entry-title { font-size: 20px; margin: 0 0 6px; }
.entry-title a { display: flex; align-items: center; min-height: 44px; color: var(--bone); }
.entry-title a:hover { color: var(--cyan); }
.entry p { margin: 0; color: var(--muted); }
.empty-note {
  margin: 8px 0 0;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: left;
  color: var(--muted);
}
.note-copy h2 { font-size: clamp(24px, 3vw, 32px); }
.stack-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 84px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .16s ease, transform .16s ease;
}
.stack-link:hover { border-color: var(--cyan); transform: translateY(-1px); }
.stack-link span { color: var(--oak); font-size: 12px; font-weight: 800; }
.stack-link strong { color: var(--bone); font-size: 16px; }
.bar-block { margin-top: 8px; }
.bar-line { display: grid; grid-template-columns: 72px 1fr 48px; gap: 10px; align-items: center; margin-bottom: 10px; }
.bar-line b { color: var(--bone); font-size: 14px; }
.bar-track { height: 8px; background: #12151A; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--wine); }
.bar-fill.alt { background: var(--cyan); }
.bar-line em { font-style: normal; color: var(--oak); font-weight: 800; font-size: 13px; }
.rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.topic {
  flex: 0 0 min(320px, 84vw);
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 100%;
  transition: transform .16s ease, box-shadow .16s ease;
}
.topic:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.topic a { display: block; color: inherit; height: 100%; }
.topic .pad { padding: 16px 16px 18px; }
.topic h3 { font-size: 18px; min-height: 44px; display: flex; align-items: center; }
.topic p { margin: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.tl-item time { color: var(--oak); font-weight: 800; font-size: 14px; }
.tl-item h3 { margin-bottom: 4px; font-size: 18px; }
.tl-item a:hover { color: var(--cyan); }
.side-meter {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
}
.meter-num {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--bone);
  margin: 8px 0;
}
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.faq summary {
  min-height: 52px;
  padding: 12px 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 17px; }
.faq details[open] { border-color: var(--cyan); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { padding: 12px 18px 16px; margin: 0; }
.more-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(92, 26, 51, .35), transparent 46%),
    var(--panel);
}
.more-row h2 { margin-bottom: 6px; font-size: 26px; }
.more-row p { margin: 0; }
.site-foot { padding: 36px 0 22px; background: #0B0D10; border-top: 1px solid var(--line); }
.site-foot p { color: var(--muted); }
.foot-brand { margin-bottom: 8px; }
.foot-links a { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-weight: 700; }
.foot-links a:hover { color: var(--bone); }
.copyline { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.cell-gap { margin-bottom: 16px; }
@media (min-width: 64em) {
  .entry-cell.is-lead .entry-layout { grid-template-columns: 1.25fr .85fr; gap: 18px; }
}
@media (max-width: 63.9375em) {
  .desk-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav.is-open { display: block; }
  .toolbar-row { gap: 8px; min-height: 68px; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; }
  .status-live span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 767px) {
  .entry-layout, .entry-cell.is-lead .entry-layout { grid-template-columns: 1fr; }
  .stat-row { margin-top: 16px; }
  .more-row { flex-direction: column; align-items: flex-start; }
  .more-row .btn { width: 100%; }
  .bar-line { grid-template-columns: 64px 1fr 42px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 20px); }
  .logo-text { font-size: 13px; }
  .stat-num { font-size: 24px; }
  .cat-head h1 { font-size: 28px; }
  .filter-bar { padding: 10px; }
  .list-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
