/* roulang page: index */
:root {
  --bg: #14110F;
  --bg-deep: #100E0C;
  --panel: #221C18;
  --panel-2: #1B1613;
  --text: #F6F1E8;
  --muted: #C9B8A4;
  --lime: #D6F25A;
  --coral: #FF7A59;
  --teal: #2FBFB0;
  --line: #3A312A;
  --radius: 2px;
  --shadow: 4px 4px 0 #3A312A;
  --space: 8px;
  --section: 64px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --container: 1120px;
}
*, *::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: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--font);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--bg); }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(20, 17, 15, 0.96);
  border-bottom: 2px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.logo {
  font-weight: 900;
  font-size: 18px;
  line-height: 1.25;
  color: var(--text);
  max-width: 62%;
}
.logo:hover { color: var(--lime); }
.desk-nav { display: flex; align-items: center; gap: 8px; }
.desk-nav a {
  padding: 8px 10px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.desk-nav a:hover {
  color: var(--text);
  border-bottom-color: var(--lime);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nav-toggle {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  background: transparent;
  color: var(--text);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.nav-toggle:hover {
  transform: translateY(-2px);
  background: var(--panel);
  border-color: var(--lime);
}
.nav-toggle:active { transform: none; box-shadow: none; }
.drawer { display: none; border-top: 2px solid var(--line); background: var(--bg); }
.drawer.open { display: block; }
.drawer a {
  display: block;
  padding: 14px 0;
  border-bottom: 2px solid var(--line);
  color: var(--text);
}
.drawer a:hover { color: var(--lime); text-decoration: underline; text-decoration-thickness: 2px; }
.hero {
  position: relative;
  background: var(--bg-deep);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, rgba(246, 241, 232, 0.035) 0 1px, transparent 1px 8px);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.82fr;
  gap: 32px;
  align-items: stretch;
  padding: 64px 0 48px;
}
.kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.hero h1 { font-size: 52px; max-width: 11em; }
.sub {
  margin-top: 16px;
  color: var(--lime);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}
.intro {
  margin-top: 16px;
  max-width: 640px;
  color: var(--muted);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--bg);
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #e5ff78; border-color: var(--text); }
.btn:active { transform: none; box-shadow: none; background: #c4e043; }
.btn.secondary { background: transparent; color: var(--text); }
.btn.secondary:hover { background: var(--panel); border-color: var(--lime); color: var(--lime); }
.btn.secondary:active { background: var(--bg-deep); }
.feature {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.poster {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  padding: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(58, 49, 42, 0.65) 0 1px, transparent 1px 12px),
    var(--bg-deep);
  border-bottom: 2px solid var(--line);
}
.poster i {
  display: block;
  aspect-ratio: 1;
  background: var(--line);
}
.poster i:nth-child(3n) { background: var(--lime); }
.poster i:nth-child(5n) { background: var(--coral); }
.poster i:nth-child(7n) { background: var(--teal); }
.poster i:nth-child(4n+1) { background: #2A241F; }
.feature-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.feature-title { font-size: 24px; font-weight: 900; line-height: 1.25; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
}
.tag.teal { color: var(--teal); }
.tag.coral { color: var(--coral); }
.pick {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 2px solid var(--line);
  color: var(--text);
}
.pick:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pick b {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--teal);
  font-size: 12px;
}
.pick span { display: block; color: var(--muted); font-size: 14px; line-height: 1.6; }
.pill-wrap {
  background: var(--panel-2);
  border-bottom: 2px solid var(--line);
}
.pill-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 48px 16px 0;
  scroll-snap-type: x proximity;
}
.pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-height: 40px;
  padding: 8px 18px;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  font-weight: 700;
}
.pill:hover { border-color: var(--lime); color: var(--lime); }
.pill.active {
  background: var(--lime);
  color: var(--bg);
  border-color: var(--text);
  box-shadow: var(--shadow);
}
.pill:active { box-shadow: none; }
.sec { padding: var(--section) 0; border-top: 2px solid var(--line); }
.sec.alt { background: var(--panel-2); }
.sec-head { margin-bottom: 32px; max-width: 760px; }
.split-head {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}
.sec h2 { font-size: 32px; }
.lead { color: var(--muted); }
.split-head .lead { margin: 0; }
.sec-head .lead { margin-top: 12px; }
.hard {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.metrics {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr 0.9fr;
  gap: 16px;
  align-items: start;
}
.metric { padding: 18px; background: var(--panel); }
.metric .label {
  color: var(--muted);
  font-size: 14px;
  min-height: 48px;
}
.num {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 48px;
  line-height: 1;
  color: var(--lime);
}
.metric.teal .num { color: var(--teal); }
.metric.coral .num { color: var(--coral); }
.unit { margin-top: 8px; color: var(--muted); font-family: var(--mono); font-size: 13px; }
.fine { margin-top: 16px; color: var(--muted); font-size: 14px; }
.matrix {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 16px;
}
.big-cell { padding: 24px; min-height: 100%; }
.big-cell h3, .small-cell h3, .scene h3, .side h3, .node h3, .vcard h3, .tile h3, .entry h3, .step h3 { font-size: 22px; }
.cell-copy { margin-top: 10px; color: var(--muted); }
.stat-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}
.stat-line div {
  padding: 10px;
  border: 2px solid var(--line);
  background: var(--bg);
}
.stat-line strong {
  display: block;
  font-family: var(--mono);
  color: var(--lime);
  font-size: 20px;
  line-height: 1.2;
}
.stat-line span { color: var(--muted); font-size: 13px; }
.small-col { display: grid; gap: 16px; }
.small-cell { padding: 16px 18px; }
.small-cell p, .scene p, .side li, .node p, .tile p, .entry p, .step p, .guard p { color: var(--muted); }
.scenes { display: grid; gap: 12px; }
.scene {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.scene:hover { transform: translateY(-2px); border-color: var(--lime); }
.scene .when {
  font-family: var(--mono);
  color: var(--coral);
  font-size: 13px;
}
.scene em { font-style: normal; color: var(--lime); font-weight: 800; }
.compare {
  display: grid;
  grid-template-columns: 1fr 12px 1fr;
  gap: 16px;
  align-items: stretch;
}
.side { padding: 20px; }
.side h3 { margin-bottom: 8px; }
.side .hint { color: var(--text); margin-bottom: 14px; }
.side li {
  padding: 10px 0;
  border-top: 2px solid var(--line);
}
.side.bad h3 { color: var(--coral); }
.side.good h3 { color: var(--lime); }
.pixel-split {
  background-image: repeating-linear-gradient(var(--lime) 0 4px, transparent 4px 8px);
}
.timeline {
  position: relative;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 8px 16px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 14px);
}
.node {
  position: relative;
  flex: 0 0 220px;
  padding: 16px;
  background: var(--panel);
}
.node .date {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 8px;
  background: var(--teal);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 13px;
}
.hscroll, .pill-scroll, .timeline {
  scrollbar-color: var(--line) transparent;
}
.hscroll::-webkit-scrollbar, .pill-scroll::-webkit-scrollbar, .timeline::-webkit-scrollbar { height: 8px; }
.hscroll::-webkit-scrollbar-thumb, .pill-scroll::-webkit-scrollbar-thumb, .timeline::-webkit-scrollbar-thumb { background: var(--line); }
.hscroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; }
.vcard {
  flex: 0 0 280px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}
.vcard:hover { transform: translateY(-2px); border-color: var(--lime); }
.vcard p { color: var(--muted); }
.news-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 2px solid var(--line);
}
.news-item:last-child { border-bottom: 2px solid var(--line); }
.date-block {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  background: var(--panel);
  border: 2px solid var(--line);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 14px;
}
.news-item:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.news-item p { color: var(--muted); margin-top: 4px; }
.collage {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-areas:
    "hot long long"
    "hot sub classic";
  gap: 16px;
}
.tile { padding: 18px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.tile.hot { grid-area: hot; background: #2A2118; }
.tile.long { grid-area: long; }
.tile.sub { grid-area: sub; }
.tile.classic { grid-area: classic; }
.tile:hover { transform: translateY(-2px); border-color: var(--teal); }
.tile .go { color: var(--lime); font-weight: 800; }
.guards { display: grid; gap: 12px; }
.guard {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--panel);
  border-left: 8px solid var(--teal);
  border-top: 2px solid var(--line);
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}
.guard strong { font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 16px; min-height: 210px; }
.step .idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  background: var(--lime);
  color: var(--bg);
  font-family: var(--mono);
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--line);
}
.acc { border-top: 2px solid var(--line); background: var(--panel); }
.acc:last-child { border-bottom: 2px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--panel);
  border: 0;
  color: var(--text);
  text-align: left;
  font-weight: 800;
}
.acc-btn:hover { color: var(--lime); }
.mark {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  font-family: var(--mono);
  color: var(--lime);
}
.mark::before { content: "+"; }
.acc-btn[aria-expanded="true"] .mark::before { content: "−"; }
.acc-panel { padding: 0 18px 16px; color: var(--muted); background: var(--panel); }
.entries { display: grid; grid-template-columns: 1.45fr 0.9fr; gap: 16px; }
.entry {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  min-height: 260px;
}
.entry.wide { background: #2A241C; }
.entry:hover { transform: translateY(-2px); border-color: var(--lime); }
.entry .go { color: var(--bg); background: var(--lime); display: inline-flex; min-height: 40px; align-items: center; padding: 0 12px; font-weight: 800; width: fit-content; border: 2px solid var(--text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 8px; font-weight: 800; }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
}
textarea { min-height: 128px; resize: vertical; }
input:hover, textarea:hover { border-color: #5A4C42; }
input:focus, textarea:focus { border-color: var(--teal); }
::placeholder { color: #8E7D6C; }
.form-actions { margin-top: 8px; }
.form-status { display: grid; gap: 10px; }
.note {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border: 2px solid var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 700;
}
.note.show { display: block; }
.note.ok { background: var(--lime); color: var(--bg); }
.note.err { background: var(--coral); color: var(--bg); }
.note.info { background: var(--teal); color: var(--bg); }
.site-footer {
  border-top: 2px solid var(--line);
  background: var(--bg-deep);
  padding: 24px 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.footer-brand { font-weight: 900; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; }
.copy { color: var(--muted); font-family: var(--mono); font-size: 13px; }
@media (max-width: 1023px) {
  .desk-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid, .matrix, .compare, .collage, .steps, .entries, .split-head { grid-template-columns: 1fr 1fr; }
  .hero-grid, .split-head, .compare { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: 1fr 1fr; }
  .collage {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "hot long"
      "sub classic";
  }
  .steps { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 767px) {
  .sec { padding: 32px 0; }
  .hero-grid { padding: 32px 0 24px; }
  .matrix, .entries, .steps, .collage { grid-template-columns: 1fr; }
  .collage { grid-template-areas: "hot" "long" "sub" "classic"; }
  .scene, .guard, .news-item, .form-grid { grid-template-columns: 1fr; }
  .pixel-split { height: 12px; background-image: repeating-linear-gradient(90deg, var(--lime) 0 4px, transparent 4px 8px); }
  .logo { font-size: 15px; }
  .stat-line { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .sec h2 { font-size: 26px; }
  .nav { min-height: 60px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .metric { padding: 12px; }
  .num { font-size: 32px; }
  .actions .btn { width: 100%; }
  .footer-row { align-items: flex-start; }
}
@media (min-width: 1024px) {
  .m1 { min-height: 248px; }
  .m2 { min-height: 176px; margin-top: 36px; }
  .m3 { min-height: 214px; }
  .m4 { min-height: 164px; margin-top: 44px; }
}

/* roulang page: category2 */
:root {
 --bg: #14110F;
 --bg-deep: #100E0C;
 --panel: #221C18;
 --panel-2: #1B1613;
 --text: #F6F1E8;
 --muted: #C9B8A4;
 --lime: #D6F25A;
 --coral: #FF7A59;
 --teal: #2FBFB0;
 --line: #3A312A;
 --radius: 2px;
 --shadow: 4px 4px 0 #3A312A;
 --space: 8px;
 --section: 64px;
 --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
 --mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
 --container: 1120px;
}
*, *::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: 16px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.container {
 width: min(var(--container), calc(100% - 32px));
 margin: 0 auto;
}
h1, h2, h3 { line-height: 1.25; font-weight: 900; margin: 0; }
p { margin: 0; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 30;
 background: rgba(20, 17, 15, 0.96);
 border-bottom: 2px solid var(--line);
}
.nav {
 display: flex;
 align-items: center;
 justify-content: space-between;
 min-height: 72px;
 gap: 16px;
}
.logo {
 font-weight: 900;
 font-size: 18px;
 line-height: 1.25;
 color: var(--text);
 max-width: 62%;
}
.logo:hover { color: var(--lime); text-decoration: none; }
.desk-nav { display: flex; align-items: center; gap: 8px; }
.desk-nav a {
 padding: 8px 10px;
 color: var(--muted);
 border-bottom: 2px solid transparent;
 text-decoration: none;
}
.desk-nav a:hover {
 color: var(--text);
 border-bottom-color: var(--lime);
 text-decoration: underline;
 text-decoration-thickness: 2px;
 text-underline-offset: 6px;
}
.nav-toggle {
 display: none;
 align-items: center;
 min-height: 40px;
 padding: 0 14px;
 background: transparent;
 color: var(--text);
 border: 2px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.nav-toggle:hover {
 transform: translateY(-2px);
 background: var(--panel);
 border-color: var(--lime);
}
.nav-toggle:active { transform: none; box-shadow: none; }
.drawer { display: none; border-top: 2px solid var(--line); background: var(--bg); }
.drawer.open { display: block; }
.drawer a {
 display: block;
 padding: 14px 0;
 border-bottom: 2px solid var(--line);
 color: var(--text);
 text-decoration: none;
}
.drawer a:hover { color: var(--lime); text-decoration: underline; text-decoration-thickness: 2px; }
.hero {
 position: relative;
 background: var(--bg-deep);
 overflow: hidden;
 border-bottom: 2px solid var(--line);
}
.hero::before {
 content: "";
 position: absolute;
 inset: 0;
 pointer-events: none;
 background-image: repeating-linear-gradient(to bottom, rgba(246, 241, 232, 0.035) 0 1px, transparent 1px 8px);
}
.hero-grid {
 position: relative;
 display: grid;
 grid-template-columns: 1fr 240px;
 gap: 32px;
 align-items: center;
 padding: 32px 0;
}
.cat-hero h1 { font-size: 40px; max-width: 14em; }
.kicker {
 display: inline-flex;
 margin-bottom: 12px;
}
.lead { color: var(--muted); margin-top: 12px; max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 48px;
 padding: 0 18px;
 border: 2px solid var(--line);
 border-radius: var(--radius);
 background: var(--lime);
 color: var(--bg);
 font-weight: 800;
 box-shadow: var(--shadow);
 text-decoration: none;
 transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #e5ff78; border-color: var(--text); text-decoration: none; }
.btn:active { transform: none; box-shadow: none; background: #c4e043; }
.btn.secondary { background: transparent; color: var(--text); }
.btn.secondary:hover { background: var(--panel); border-color: var(--lime); color: var(--lime); }
.btn.secondary:active { background: var(--bg-deep); }
.tag {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 padding: 0 8px;
 border: 2px solid var(--line);
 border-radius: var(--radius);
 background: var(--bg);
 color: var(--lime);
 font-family: var(--mono);
 font-size: 12px;
 line-height: 1;
}
.tag.teal { color: var(--teal); }
.tag.coral { color: var(--coral); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.poster {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 grid-auto-rows: 28px;
 gap: 6px;
 padding: 12px;
 background: var(--panel);
 border: 2px solid var(--line);
 box-shadow: var(--shadow);
}
.poster span { display: block; background: var(--line); }
.poster .a { background: var(--lime); grid-column: span 2; }
.poster .b { background: var(--coral); }
.poster .c { background: var(--teal); grid-column: span 3; }
.poster .d { background: #4a3d34; grid-column: span 2; }
.poster .e { background: var(--lime); }
.poster .f { background: var(--coral); grid-column: span 2; }
.poster .g { background: var(--teal); grid-column: span 4; height: 36px; }
.poster strong {
 grid-column: span 4;
 font-family: var(--mono);
 font-size: 22px;
 letter-spacing: 0.04em;
 color: var(--text);
}
.pill-wrap {
 background: var(--panel-2);
 border-bottom: 2px solid var(--line);
}
.pill-scroll {
 display: flex;
 gap: 8px;
 overflow-x: auto;
 padding: 16px 64px 16px 0;
 scroll-snap-type: x proximity;
}
.pill {
 flex: 0 0 auto;
 scroll-snap-align: start;
 display: inline-flex;
 align-items: center;
 min-height: 40px;
 padding: 8px 18px;
 border: 2px solid var(--line);
 border-radius: 999px;
 color: var(--text);
 background: transparent;
 font-weight: 700;
 text-decoration: none;
}
.pill:hover { border-color: var(--lime); color: var(--lime); text-decoration: none; }
.pill.active {
 background: var(--lime);
 color: var(--bg);
 border-color: var(--text);
 box-shadow: var(--shadow);
}
.pill:active { box-shadow: none; }
.hscroll, .pill-scroll, .timeline {
 scrollbar-color: var(--line) transparent;
}
.hscroll::-webkit-scrollbar, .pill-scroll::-webkit-scrollbar, .timeline::-webkit-scrollbar { height: 8px; }
.hscroll::-webkit-scrollbar-thumb, .pill-scroll::-webkit-scrollbar-thumb, .timeline::-webkit-scrollbar-thumb { background: var(--line); }
main { display: block; }
.section { padding: var(--section) 0; }
.section.alt { background: var(--panel); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.section.deep { background: var(--panel-2); }
.sec-head { margin-bottom: 24px; max-width: 40em; }
.sec-head h2 { font-size: 32px; }
.sec-head .lead { margin-top: 8px; }
.range-row { display: flex; flex-wrap: wrap; gap: 12px; }
.range-chip {
 display: flex;
 flex-direction: column;
 gap: 4px;
 min-width: 180px;
 padding: 16px;
 background: var(--panel);
 border: 2px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 color: var(--text);
 text-decoration: none;
 transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.range-chip:hover { transform: translateY(-2px); border-color: var(--lime); text-decoration: none; }
.range-chip:active { transform: none; box-shadow: none; }
.range-chip b { font-size: 20px; line-height: 1.25; }
.range-chip span { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.note-line { margin-top: 16px; color: var(--muted); font-size: 14px; }
.tl { position: relative; display: flex; flex-direction: column; gap: 16px; padding-left: 28px; }
.tl::before {
 content: "";
 position: absolute;
 left: 0;
 top: 0;
 bottom: 0;
 width: 4px;
 background: repeating-linear-gradient(to bottom, var(--lime) 0 8px, var(--line) 8px 16px);
}
.band-label {
 margin: 8px 0 0;
 font-family: var(--mono);
 font-size: 13px;
 color: var(--teal);
 letter-spacing: 0.04em;
}
.tl-card {
 background: var(--bg);
 border: 2px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px;
 display: grid;
 grid-template-columns: 92px 1fr;
 gap: 16px;
 transition: transform .15s ease, border-color .15s ease;
}
.tl-card.shift { margin-left: 40px; background: var(--panel-2); }
.tl-card.wide { grid-template-columns: 120px 1fr; margin-right: 8%; }
.tl-card:hover { transform: translateY(-2px); border-color: var(--lime); }
.tl-min {
 font-family: var(--mono);
 font-size: 22px;
 font-weight: 700;
 color: var(--lime);
 line-height: 1.25;
}
.tl-min small { display: block; margin-top: 6px; font-size: 12px; color: var(--coral); font-weight: 500; }
.tl-card h3 { font-size: 22px; }
.tl-card p { color: var(--muted); margin-top: 6px; }
.vs {
 display: grid;
 grid-template-columns: 1fr 4px 1fr;
 gap: 16px;
 align-items: stretch;
}
.vs-col {
 background: var(--panel);
 border: 2px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 20px;
}
.vs-col h3 { font-size: 22px; margin-bottom: 12px; }
.vs-col ul { list-style: none; margin: 0; padding: 0; }
.vs-col li {
 padding: 10px 0;
 border-top: 2px solid var(--line);
 color: var(--muted);
}
.vs-col li strong { color: var(--text); font-weight: 800; margin-right: 8px; }
.vs-split { background: var(--coral); }
.log { display: flex; flex-direction: column; border-top: 2px solid var(--line); }
.log-row {
 display: grid;
 grid-template-columns: 72px 1fr;
 gap: 16px;
 padding: 18px 0;
 border-bottom: 2px solid var(--line);
 text-decoration: none;
 color: inherit;
}
.log-row:hover { text-decoration: none; }
.log-row:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.log-no {
 font-family: var(--mono);
 font-size: 20px;
 color: var(--lime);
}
.log-row p { color: var(--muted); margin-top: 4px; }
.info-list { display: flex; flex-direction: column; }
.info-row {
 display: grid;
 grid-template-columns: 120px 1fr;
 gap: 16px;
 padding: 16px 0;
 border-top: 2px solid var(--line);
}
.info-row:last-child { border-bottom: 2px solid var(--line); }
.info-row b { color: var(--teal); font-family: var(--mono); font-weight: 600; }
.mark-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.mark {
 background: var(--bg);
 border: 2px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px;
 min-height: 140px;
}
.mark.tall { min-height: 180px; }
.mark em { font-style: normal; font-family: var(--mono); color: var(--coral); font-size: 28px; line-height: 1.25; }
.mark h3 { font-size: 20px; margin: 8px 0; }
.mark p { color: var(--muted); }
.news-item {
 display: grid;
 grid-template-columns: 96px 1fr;
 gap: 18px;
 padding: 18px 0;
 border-top: 2px solid var(--line);
 text-decoration: none;
 color: inherit;
}
.news-item:last-of-type { border-bottom: 2px solid var(--line); }
.news-item:hover { text-decoration: none; }
.news-item:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.news-date { font-family: var(--mono); color: var(--lime); }
.news-item p { color: var(--muted); margin-top: 4px; }
.more-wrap { margin-top: 20px; }
.form-panel {
 background: var(--bg);
 border: 2px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 20px;
 max-width: 720px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-weight: 700; }
input, select {
 width: 100%;
 min-height: 48px;
 padding: 0 12px;
 background: var(--panel);
 border: 2px solid var(--line);
 border-radius: var(--radius);
}
input:focus, select:focus { outline: 2px solid var(--teal); outline-offset: 2px; }
.form-actions { margin-top: 16px; }
.status { display: none; margin-top: 16px; padding: 12px 16px; border: 2px solid var(--line); border-radius: var(--radius); font-weight: 700; }
.status.is-ok { display: block; background: var(--lime); color: var(--bg); }
.status.is-error { display: block; background: var(--coral); color: var(--bg); }
.site-footer {
 border-top: 2px solid var(--line);
 background: var(--bg-deep);
 padding: 20px 0;
}
.footer-row {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 flex-wrap: wrap;
}
.footer-brand { font-weight: 900; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--lime); }
.copy { color: var(--muted); font-family: var(--mono); font-size: 13px; }
@media (max-width: 1024px) {
 .hero-grid { grid-template-columns: 1fr 200px; }
 .mark-grid { grid-template-columns: 1fr 1fr; }
 .mark.tall { grid-column: span 2; }
 .tl-card.wide { margin-right: 0; }
}
@media (max-width: 768px) {
 :root { --section: 32px; }
 .desk-nav { display: none; }
 .nav-toggle { display: inline-flex; }
 .hero-grid { grid-template-columns: 1fr; padding: 28px 0; }
 .poster { max-width: 280px; }
 .tl-card, .tl-card.wide, .tl-card.shift { grid-template-columns: 1fr; margin-left: 0; }
 .vs { grid-template-columns: 1fr; }
 .vs-split { height: 4px; width: 100%; }
 .mark-grid, .form-grid { grid-template-columns: 1fr; }
 .mark.tall { grid-column: auto; }
 .info-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 480px) {
 .logo { font-size: 15px; max-width: 70%; }
 .cat-hero h1 { font-size: 28px; }
 .sec-head h2 { font-size: 26px; }
 .news-item, .log-row { grid-template-columns: 1fr; gap: 6px; }
 .footer-row { align-items: flex-start; }
 .hero-actions .btn { width: 100%; }
}

/* roulang page: category1 */
:root {
 --bg: #14110F;
 --bg-deep: #100E0C;
 --panel: #221C18;
 --panel-2: #1B1613;
 --text: #F6F1E8;
 --muted: #C9B8A4;
 --lime: #D6F25A;
 --coral: #FF7A59;
 --teal: #2FBFB0;
 --line: #3A312A;
 --radius: 2px;
 --shadow: 4px 4px 0 #3A312A;
 --space: 8px;
 --section: 64px;
 --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
 --mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
 --container: 1120px;
}
/* roulang page: category1 */
:root {
 --bg: #14110F;
 --bg-deep: #100E0C;
 --panel: #221C18;
 --panel-2: #1B1613;
 --text: #F6F1E8;
 --muted: #C9B8A4;
 --lime: #D6F25A;
 --coral: #FF7A59;
 --teal: #2FBFB0;
 --line: #3A312A;
 --radius: 2px;
 --shadow: 4px 4px 0 #3A312A;
 --space: 8px;
 --section: 64px;
 --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
 --mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
 --container: 1120px;
}
*, *::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: 16px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible {
 outline: 2px solid var(--teal);
 outline-offset: 2px;
}
.container {
 width: min(var(--container), calc(100% - 32px));
 margin: 0 auto;
}
.site-header {
 position: sticky;
 top: 0;
 z-index: 30;
 background: rgba(20, 17, 15, 0.96);
 border-bottom: 2px solid var(--line);
}
.nav {
 display: flex;
 align-items: center;
 justify-content: space-between;
 min-height: 72px;
 gap: 16px;
}
.logo {
 font-weight: 900;
 font-size: 18px;
 line-height: 1.25;
 color: var(--text);
 max-width: 62%;
}
.logo:hover { color: var(--lime); }
.desk-nav { display: flex; align-items: center; gap: 8px; }
.desk-nav a {
 padding: 8px 10px;
 color: var(--muted);
 border-bottom: 2px solid transparent;
}
.desk-nav a:hover {
 color: var(--text);
 border-bottom-color: var(--lime);
 text-decoration: underline;
 text-decoration-thickness: 2px;
 text-underline-offset: 6px;
}
.nav-toggle {
 display: none;
 align-items: center;
 min-height: 40px;
 padding: 0 14px;
 background: transparent;
 color: var(--text);
 border: 2px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.nav-toggle:hover {
 transform: translateY(-2px);
 background: var(--panel);
 border-color: var(--lime);
}
.nav-toggle:active { transform: none; box-shadow: none; }
.drawer { display: none; border-top: 2px solid var(--line); background: var(--bg); }
.drawer.open { display: block; }
.drawer a {
 display: block;
 padding: 14px 0;
 border-bottom: 2px solid var(--line);
 color: var(--text);
}
.drawer a:hover { color: var(--lime); text-decoration: underline; text-decoration-thickness: 2px; }
.page-hero {
 position: relative;
 background: var(--bg-deep);
 border-bottom: 2px solid var(--line);
 overflow: hidden;
}
.page-hero::before {
 content: "";
 position: absolute;
 inset: 0;
 pointer-events: none;
 background-image: repeating-linear-gradient(to bottom, rgba(246, 241, 232, 0.035) 0 1px, transparent 1px 8px);
}
.hero-narrow {
 position: relative;
 display: grid;
 grid-template-columns: minmax(0, 1fr) 168px;
 gap: 24px;
 align-items: end;
 padding: 28px 0 22px;
 text-align: left;
}
.kicker {
 font-family: var(--mono);
 font-size: 12px;
 letter-spacing: 0.08em;
 color: var(--lime);
 margin-bottom: 8px;
}
.page-hero h1 {
 font-size: 40px;
 line-height: 1.25;
 font-weight: 900;
 max-width: 12em;
}
.page-hero .lead {
 margin-top: 10px;
 color: var(--muted);
 max-width: 36em;
}
.pixel-side {
 display: grid;
 gap: 8px;
}
.pixel-side span {
 display: flex;
 align-items: flex-end;
 justify-content: flex-start;
 min-height: 46px;
 padding: 6px 8px;
 border: 2px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 font-family: var(--mono);
 font-size: 13px;
 background: var(--panel);
}
.pixel-side span:nth-child(1) { background: var(--lime); color: var(--bg); min-height: 62px; }
.pixel-side span:nth-child(2) { background: var(--coral); color: var(--bg); }
.pixel-side span:nth-child(3) { background: var(--teal); color: var(--bg); min-height: 38px; }
.pill-wrap {
 background: var(--panel-2);
 border-bottom: 2px solid var(--line);
}
.pill-scroll {
 display: flex;
 gap: 8px;
 overflow-x: auto;
 padding: 16px 48px 16px 0;
 scroll-snap-type: x proximity;
}
.pill {
 flex: 0 0 auto;
 scroll-snap-align: start;
 display: inline-flex;
 align-items: center;
 min-height: 40px;
 padding: 8px 18px;
 border: 2px solid var(--line);
 border-radius: 999px;
 color: var(--text);
 background: transparent;
 font-weight: 700;
}
.pill:hover { border-color: var(--lime); color: var(--lime); }
.pill.active {
 background: var(--lime);
 color: var(--bg);
 border-color: var(--text);
 box-shadow: var(--shadow);
}
.pill:active { box-shadow: none; }
.block { padding: var(--section) 0; }
.block.alt { background: var(--panel-2); }
.block.deep { background: var(--bg-deep); }
.sec-head { margin-bottom: 20px; max-width: 40em; }
.sec-head h2, .block h2 {
 font-size: 28px;
 line-height: 1.25;
 font-weight: 900;
}
.lead { color: var(--muted); }
.sec-head .lead { margin-top: 8px; }
.sort-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sort-chip {
 min-height: 40px;
 padding: 0 16px;
 border: 2px solid var(--line);
 border-radius: var(--radius);
 background: transparent;
 color: var(--text);
 font-weight: 800;
 box-shadow: var(--shadow);
 transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.sort-chip:hover {
 transform: translateY(-2px);
 border-color: var(--lime);
 color: var(--lime);
}
.sort-chip:active { transform: none; box-shadow: none; }
.sort-chip.is-on {
 background: var(--lime);
 color: var(--bg);
 border-color: var(--text);
}
.serial-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 16px 20px;
 align-items: start;
}
.serial-card {
 background: var(--panel);
 border: 2px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px;
 display: flex;
 flex-direction: column;
 gap: 10px;
 min-height: 168px;
 transition: transform .15s ease, border-color .15s ease;
}
.serial-card.is-offset { margin-top: 28px; }
.serial-card:hover {
 transform: translateY(-2px);
 border-color: var(--lime);
}
.serial-card.is-offset:hover { transform: translateY(calc(-2px)); }
.serial-card h3 { font-size: 22px; line-height: 1.25; font-weight: 900; }
.serial-card p { color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 padding: 0 8px;
 border: 2px solid var(--line);
 border-radius: var(--radius);
 background: var(--bg);
 color: var(--lime);
 font-family: var(--mono);
 font-size: 12px;
 line-height: 1;
}
.tag.teal { color: var(--teal); }
.tag.coral { color: var(--coral); }
.rhythm-list { border-bottom: 2px solid var(--line); }
.rhythm-row {
 display: grid;
 grid-template-columns: 160px 88px 1fr;
 gap: 12px;
 align-items: center;
 padding: 14px 0;
 border-top: 2px solid var(--line);
}
.rhythm-row b {
 font-family: var(--mono);
 font-size: 13px;
 color: var(--lime);
 font-weight: 700;
}
.rhythm-row span { font-weight: 800; }
.rhythm-row em {
 font-style: normal;
 color: var(--muted);
}
.mini-grid {
 display: grid;
 grid-template-columns: 1.25fr 0.9fr 0.9fr;
 gap: 16px;
}
.mini-card {
 background: var(--panel);
 border: 2px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px;
 min-height: 150px;
 display: flex;
 flex-direction: column;
 gap: 8px;
}
.mini-card:nth-child(2) { background: #2a221c; }
.mini-card:nth-child(3) { margin-top: 18px; }
.mini-card h3 { font-size: 20px; line-height: 1.25; font-weight: 900; }
.mini-card p { color: var(--muted); }
.mini-card strong {
 font-family: var(--mono);
 font-size: 13px;
 color: var(--coral);
 font-weight: 700;
}
.compare-bar {
 display: grid;
 grid-template-columns: 1fr 10px 1fr;
 gap: 16px;
 align-items: stretch;
}
.compare-cell {
 background: var(--panel);
 border: 2px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px 18px;
}
.compare-cell h3 { font-size: 22px; line-height: 1.25; margin-bottom: 8px; }
.compare-cell p { color: var(--muted); }
.compare-cell ul { margin-top: 10px; }
.compare-cell li {
 padding: 8px 0;
 border-top: 2px solid var(--line);
 color: var(--text);
}
.pixel-split {
 background: repeating-linear-gradient(to bottom, var(--lime) 0 8px, transparent 8px 16px);
}
.mark-line {
 display: flex;
 gap: 12px;
 overflow-x: auto;
 padding-bottom: 8px;
 scroll-snap-type: x proximity;
}
.mark-node {
 flex: 0 0 220px;
 scroll-snap-align: start;
 background: var(--panel);
 border: 2px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 14px;
 min-height: 132px;
}
.mark-node time {
 display: block;
 font-family: var(--mono);
 color: var(--teal);
 font-size: 13px;
 margin-bottom: 8px;
}
.mark-node h3 { font-size: 18px; line-height: 1.25; font-weight: 900; }
.mark-node p { color: var(--muted); margin-top: 6px; }
.news-item {
 display: grid;
 grid-template-columns: 96px 1fr;
 gap: 18px;
 padding: 18px 0;
 border-top: 2px solid var(--line);
}
.news-item:last-child { border-bottom: 2px solid var(--line); }
.news-item:hover h3 {
 text-decoration: underline;
 text-decoration-thickness: 2px;
 text-underline-offset: 4px;
}
.news-item p { color: var(--muted); margin-top: 4px; }
.date-block {
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 64px;
 border: 2px solid var(--line);
 border-radius: var(--radius);
 background: var(--bg);
 color: var(--lime);
 font-family: var(--mono);
 font-size: 14px;
 box-shadow: var(--shadow);
}
.faq-item {
 background: var(--panel);
 border: 2px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 margin-bottom: 12px;
}
.faq-item summary {
 list-style: none;
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 12px;
 padding: 14px 16px;
 font-weight: 800;
 line-height: 1.25;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
 content: "+";
 font-family: var(--mono);
 color: var(--lime);
 font-size: 22px;
 line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 2px solid var(--line); }
.faq-body { padding: 12px 16px 14px; color: var(--muted); }
.back-row {
 display: flex;
 flex-wrap: wrap;
 gap: 12px;
 margin-top: 20px;
}
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 48px;
 padding: 0 18px;
 border: 2px solid var(--line);
 border-radius: var(--radius);
 background: var(--lime);
 color: var(--bg);
 font-weight: 800;
 box-shadow: var(--shadow);
 transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #e5ff78; border-color: var(--text); }
.btn:active { transform: none; box-shadow: none; background: #c4e043; }
.btn.secondary { background: transparent; color: var(--text); }
.btn.secondary:hover { background: var(--panel); border-color: var(--lime); color: var(--lime); }
.btn.secondary:active { background: var(--bg-deep); }
.note {
 border: 2px solid var(--teal);
 border-radius: var(--radius);
 background: var(--panel);
 color: var(--text);
 padding: 12px 14px;
 box-shadow: var(--shadow);
}
.note.ok { border-color: var(--lime); }
.note.bad { border-color: var(--coral); }
.hscroll, .pill-scroll, .mark-line {
 scrollbar-color: var(--line) transparent;
}
.hscroll::-webkit-scrollbar, .pill-scroll::-webkit-scrollbar, .mark-line::-webkit-scrollbar { height: 8px; }
.hscroll::-webkit-scrollbar-thumb, .pill-scroll::-webkit-scrollbar-thumb, .mark-line::-webkit-scrollbar-thumb { background: var(--line); }
.site-footer {
 border-top: 2px solid var(--line);
 background: var(--bg-deep);
 padding: 20px 0;
}
.footer-row {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 flex-wrap: wrap;
}
.footer-brand { font-weight: 900; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover {
 color: var(--text);
 text-decoration: underline;
 text-decoration-thickness: 2px;
 text-underline-offset: 4px;
}
.copy {
 color: var(--muted);
 font-family: var(--mono);
 font-size: 12px;
}
@media (max-width: 1023px) {
 .page-hero h1 { font-size: 34px; }
 .mini-grid { grid-template-columns: 1fr 1fr; }
 .mini-card:nth-child(3) { margin-top: 0; }
 .hero-narrow { grid-template-columns: minmax(0, 1fr) 120px; }
}
@media (max-width: 767px) {
 .desk-nav { display: none; }
 .nav-toggle { display: inline-flex; }
 .block { padding: 32px 0; }
 .hero-narrow { grid-template-columns: 1fr; padding: 22px 0 18px; }
 .pixel-side { grid-template-columns: repeat(3, 1fr); }
 .pixel-side span, .pixel-side span:nth-child(1), .pixel-side span:nth-child(3) { min-height: 48px; }
 .serial-grid { grid-template-columns: 1fr; }
 .serial-card.is-offset { margin-top: 0; }
 .rhythm-row { grid-template-columns: 1fr; gap: 4px; }
 .compare-bar { grid-template-columns: 1fr; }
 .pixel-split { min-height: 10px; background: repeating-linear-gradient(to right, var(--lime) 0 8px, transparent 8px 16px); }
 .mini-grid { grid-template-columns: 1fr; }
 .sec-head h2, .block h2 { font-size: 24px; }
}
@media (max-width: 480px) {
 .logo { font-size: 15px; max-width: 68%; }
 .nav { min-height: 60px; }
 .page-hero h1 { font-size: 26px; }
 .news-item { grid-template-columns: 72px 1fr; gap: 10px; }
 .date-block { min-height: 52px; font-size: 12px; box-shadow: 3px 3px 0 var(--line); }
 .footer-row { align-items: flex-start; }
}
