/* roulang page: index */
:root {
  --pink: #ff2e63;
  --ember: #ff6a2a;
  --lime: #d6f25c;
  --bg: #14110f;
  --bg-2: #1b1714;
  --panel: #2a241f;
  --ink: #f3ead7;
  --muted: #cbbba6;
  --line: #3a2a22;
  --shadow: #0a0908;
  --radius: 2px;
  --gap: 18px;
  --pad: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  background: repeating-linear-gradient(to bottom, rgba(243,234,215,0.05) 0 1px, transparent 1px 4px);
}
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 40; }
.promo {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  background: #0a0908;
  color: var(--lime);
  font-size: 13px;
  letter-spacing: 0;
}
.promo p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-18, .age-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 22px;
  padding: 0 6px;
  border: 3px solid var(--lime);
  color: var(--lime);
  background: #14110f;
  font-size: 12px;
  font-weight: 800;
  border-radius: var(--radius);
  flex: 0 0 auto;
}
.nav-bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  background: var(--panel);
  border-bottom: 3px solid var(--line);
}
.logo {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  max-width: 11em;
  color: var(--ink);
  flex: 0 1 auto;
}
.logo:hover { color: var(--pink); }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  color: var(--ink);
  border-left: 3px solid transparent;
}
.main-nav a:hover { color: var(--pink); background: var(--bg); }
.main-nav a:active { color: var(--lime); }
.main-nav a.active { border-left-color: var(--lime); color: var(--lime); background: var(--bg); }
.search {
  flex: 1 1 180px;
  max-width: 280px;
  display: flex;
  min-width: 0;
  border: 3px solid var(--line);
  background: var(--bg);
  box-shadow: 4px 4px 0 var(--shadow);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  outline: none;
}
.search input::placeholder { color: var(--muted); }
.search button, .icon-btn, .menu-toggle, .search-toggle {
  border: 0;
  background: var(--bg);
  color: var(--lime);
  padding: 8px 10px;
  border-left: 3px solid var(--line);
}
.search button:hover, .icon-btn:hover, .menu-toggle:hover, .search-toggle:hover {
  background: var(--lime);
  color: var(--bg);
}
.tool-group { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn, .menu-toggle, .search-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.icon-btn .count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--lime);
  color: #14110f;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 3px solid var(--line);
  border-radius: var(--radius);
  background: var(--pink);
  color: #14110f;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--shadow);
  transition: background .15s, color .15s, transform .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { background: #14110f; color: var(--pink); transform: translateY(1px); }
.btn:active { transform: translateY(2px); }
.btn-lime { background: #14110f; color: var(--lime); }
.btn-lime:hover { background: var(--lime); color: #14110f; }
.menu-toggle, .search-toggle, .drawer { display: none; }
.drawer {
  background: var(--panel);
  border-bottom: 3px solid var(--line);
  padding: 12px 18px 18px;
}
.drawer a, .drawer button.drawer-link {
  display: flex;
  width: 100%;
  text-align: left;
  padding: 10px 10px;
  margin-top: 8px;
  background: var(--bg);
  border: 3px solid var(--line);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--shadow);
}
.drawer a.active { border-left: 3px solid var(--lime); color: var(--lime); }
.drawer a:hover, .drawer button.drawer-link:hover { border-color: var(--pink); color: var(--pink); }
main > section { padding: var(--pad) 0; border-top: 3px solid var(--line); }
main > section:first-child { border-top: 0; }
main > section:nth-of-type(even) { background: var(--bg-2); }
.sec-head { margin-bottom: 20px; max-width: 760px; }
.sec-head h2 {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.25;
  font-weight: 800;
}
.sec-head h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--lime);
  vertical-align: 4px;
}
.lead { margin-top: 12px; color: var(--muted); font-size: 16px; }
.lead + .lead, p + p { margin-top: 14px; }
.board-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 18px;
  align-items: stretch;
}
.panel {
  position: relative;
  background: var(--panel);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 18px;
  transition: border-color .15s, box-shadow .15s;
}
.panel:hover { border-color: var(--pink); box-shadow: 6px 6px 0 var(--shadow); }
.corner { position: relative; }
.corner::before, .corner::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--pink);
}
.corner::before { top: -3px; left: -3px; }
.corner::after { right: -3px; bottom: -3px; background: var(--lime); }
h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15; font-weight: 800; }
.sub { margin-top: 12px; font-size: 18px; color: var(--lime); font-weight: 700; }
.board-copy .lead { color: var(--ink); }
.board-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.stats {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.stat { min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; }
.stat-lg { grid-row: 1 / span 2; min-height: 240px; }
.stat b {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  color: var(--lime);
  font-weight: 800;
}
.stat span { color: var(--muted); font-size: 14px; }
.ticks {
  height: 8px;
  margin-top: 12px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 14px);
}
.marquee {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 3px solid var(--line);
  background: #0a0908;
  box-shadow: 4px 4px 0 var(--shadow);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 10px 0;
  animation: slide 28s linear infinite;
  color: var(--lime);
  font-size: 14px;
  font-weight: 700;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.matrix, .qa, .cat-grid, .notes, .news-grid, .compare, .safe-list {
  display: grid;
  gap: 18px;
}
.matrix { grid-template-columns: repeat(12, 1fr); }
.m1 { grid-column: span 7; }
.m2 { grid-column: span 5; }
.m3 { grid-column: span 8; }
.m4 { grid-column: span 4; }
.cell h3, .pin h3, .entry h3, .scene h3, .note h3, .qa h3, .mile h3, .slot h3 { font-size: 18px; line-height: 1.4; margin-bottom: 8px; }
.cell p, .scene p, .entry p, .note p, .pin p, .news-item p, .slot p, .mile p, .qa p { color: var(--muted); font-size: 15px; }
.lamp-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--lime); }
.lamp { width: 8px; height: 8px; background: var(--lime); display: inline-block; }
.lamp.ember { background: var(--ember); }
.lamp.dim { background: var(--line); }
.compare { grid-template-columns: 1fr 1fr; }
.col-bad { border-color: var(--ember); }
.meter { display: flex; gap: 4px; margin: 8px 0 14px; }
.meter i {
  width: 16px;
  height: 10px;
  background: var(--lime);
  display: block;
  font-style: normal;
}
.meter.off i { background: #3a2a22; }
.meter.bad i:not(.gap) { background: var(--ember); }
.meter .gap { background: #3a2a22 !important; }
.meter-label { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink); }
.miles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.miles::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 18px;
  height: 3px;
  background: var(--line);
}
.mile { position: relative; padding-top: 36px; background: transparent; border: 0; box-shadow: none; }
.mile:hover { border-color: transparent; box-shadow: none; }
.mile .node {
  position: absolute;
  top: 10px;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--lime);
  border: 3px solid #0a0908;
}
.mile .panel { min-height: 150px; }
.vtime { display: grid; gap: 18px; }
.slot { display: grid; grid-template-columns: 92px 1fr; gap: 14px; }
.slot h3 { color: var(--lime); }
.vlist { border-left: 3px solid var(--line); padding-left: 16px; display: grid; gap: 14px; }
.vitem { display: grid; grid-template-columns: 64px 1fr; gap: 10px; }
.vitem time { color: var(--ember); font-size: 14px; font-weight: 800; }
.vitem a { color: var(--ink); font-weight: 800; }
.vitem a:hover { color: var(--pink); }
.news-grid { grid-template-columns: minmax(0, 1.7fr) minmax(240px, .8fr); align-items: start; }
.news-list { display: grid; gap: 14px; }
.news-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px;
}
.news-item time, .pin time, .note time { color: var(--ember); font-size: 13px; font-weight: 800; }
.news-item h3 a, .pin h3 a, .note h3 a, .scene h3 a { color: var(--ink); }
.news-item h3 a:hover, .pin h3 a:hover, .note h3 a:hover, .scene h3 a:hover { color: var(--pink); }
.pin { min-height: 100%; }
.tag {
  display: inline-block;
  margin-right: 6px;
  padding: 0 6px;
  border: 3px solid var(--line);
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  background: #14110f;
}
.scene-grid {
  display: grid;
  grid-template-columns: 1.15fr .9fr 1fr;
  grid-template-rows: 168px 220px;
  gap: 18px;
}
.s-night { grid-column: 1; grid-row: 1 / span 2; }
.s-commute { grid-column: 2; grid-row: 1; }
.s-hd { grid-column: 2; grid-row: 2; }
.s-serial { grid-column: 3; grid-row: 1 / span 2; }
.scene { display: flex; flex-direction: column; justify-content: space-between; }
.safe-list { grid-template-columns: 1fr; }
.safe-item { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; }
.safe-item strong { color: var(--lime); }
.legend { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.legend-cards { display: grid; gap: 12px; }
.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  align-items: end;
  min-height: 180px;
  padding: 12px;
}
.week li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 160px; }
.week .bar { width: 100%; background: var(--lime); border: 3px solid #0a0908; }
.week .hot { background: var(--pink); }
.week em { font-style: normal; font-size: 13px; color: var(--muted); }
.qa { grid-template-columns: 1.4fr 1fr; }
.qa article:first-child { grid-column: 1 / 2; grid-row: 1 / span 2; }
.cat-grid { grid-template-columns: 1.35fr .85fr; }
.entry { display: flex; flex-direction: column; min-height: 210px; color: var(--ink); }
.entry:hover { color: var(--ink); }
.entry .go { margin-top: auto; color: var(--lime); font-weight: 800; font-size: 14px; }
.faq-list { display: grid; gap: 12px; }
details.faq {
  background: var(--panel);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--shadow);
}
details.faq[open] { border-left-color: var(--lime); }
details.faq summary {
  padding: 14px 16px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "+ "; color: var(--lime); }
details.faq[open] summary::before { content: "– "; }
details.faq p { padding: 0 16px 16px; color: var(--muted); }
.notes { grid-template-columns: repeat(3, 1fr); align-items: start; }
.notes article:nth-child(2) { margin-top: 28px; }
.notes article:nth-child(3) { margin-top: 52px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select {
  width: 100%;
  min-height: 44px;
  border: 3px solid var(--line);
  border-radius: 0;
  background: #14110f;
  padding: 8px 10px;
  outline: none;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #d6f25c 50%), linear-gradient(135deg, #d6f25c 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field input:focus, .field select:focus { outline: 2px solid var(--lime); outline-offset: 2px; }
.form.is-error { border-color: var(--ember); }
.form-ok {
  display: block;
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--lime);
  color: #14110f;
  border: 3px solid #0a0908;
  font-weight: 800;
}
.form-ok[hidden], .empty[hidden], .toast[hidden], .drawer[hidden] { display: none !important; }
.empty {
  margin-top: 16px;
  border: 3px dashed var(--lime);
  padding: 22px;
  color: var(--lime);
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--shadow);
}
.toast {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
  background: #14110f;
  color: var(--lime);
  border: 3px solid var(--lime);
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 10px 14px;
  font-weight: 800;
}
.site-footer {
  background: #0a0908;
  border-top: 3px solid var(--line);
  padding: 36px 0 28px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 18px; align-items: start; }
.foot-links, .foot-cats { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.foot-links a, .foot-cats a { border-left: 3px solid var(--lime); padding-left: 8px; color: var(--ink); }
.foot-links a:hover, .foot-cats a:hover { color: var(--pink); }
.copy { grid-column: 1 / -1; color: var(--muted); font-size: 13px; margin-top: 8px; }
.age-line { margin-top: 10px; color: var(--muted); font-size: 14px; }
@media (max-width: 1199px) {
  .board-wrap, .legend, .news-grid { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 40px; }
}
@media (max-width: 1024px) {
  .logo { font-size: 16px; max-width: 8.5em; }
  .search { max-width: 180px; }
  .miles { grid-template-columns: repeat(4, minmax(160px, 1fr)); overflow-x: auto; }
}
@media (max-width: 960px) {
  .matrix { grid-template-columns: 1fr 1fr; }
  .m1, .m2, .m3, .m4 { grid-column: auto; }
  .m1, .m3 { grid-column: 1 / -1; }
  .scene-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .s-night, .s-commute, .s-hd, .s-serial { grid-column: auto; grid-row: auto; min-height: 160px; }
  .s-night, .s-serial { min-height: 220px; }
  .qa { grid-template-columns: 1fr 1fr; }
  .qa article:first-child { grid-column: auto; grid-row: auto; }
}
@media (max-width: 768px) {
  .container { width: min(1120px, calc(100% - 28px)); }
  .board-wrap, .compare, .legend, .news-grid, .cat-grid, .form-grid, .foot-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-lg { grid-row: auto; min-height: 140px; }
  .notes article:nth-child(2), .notes article:nth-child(3) { margin-top: 0; }
}
@media (max-width: 720px) {
  :root { --pad: 32px; }
  .promo { padding: 0 12px; }
  .nav-bar { min-height: 64px; padding: 8px 12px; }
  .main-nav, .nav-bar .search, .nav-bar .icon-btn, .nav-bar .btn-cta { display: none; }
  .search-toggle, .menu-toggle { display: inline-flex; }
  .nav-bar .search.is-open {
    display: flex;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 108px;
    max-width: none;
    z-index: 45;
  }
  .drawer { display: block; }
  .tool-group { margin-left: auto; }
  .logo { max-width: 9em; font-size: 15px; }
  .matrix, .qa, .notes, .scene-grid, .stats, .week { grid-template-columns: 1fr; }
  .m1, .m2, .m3, .m4 { grid-column: auto; }
  .scene-grid { grid-template-rows: none; }
  .week { grid-template-columns: repeat(7, 1fr); }
  .week li { height: 120px; }
  .slot, .news-item, .vitem, .safe-item { grid-template-columns: 1fr; }
  .miles { grid-template-columns: 1fr; }
  .miles::before { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  .stat b { font-size: 34px; }
  .btn { width: 100%; }
  .board-actions .btn { width: auto; }
  .promo p { max-width: calc(100% - 52px); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category2 */
:root {
  --pink: #ff2e63;
  --ember: #ff6a2a;
  --lime: #d6f25c;
  --bg: #14110f;
  --bg-2: #1b1714;
  --panel: #2a241f;
  --ink: #f3ead7;
  --muted: #cbbba6;
  --line: #3a2a22;
  --shadow: #0a0908;
  --radius: 2px;
  --gap: 18px;
  --pad: 64px;
}
:root { --pad: 32px; }
/* roulang page: category2 */
:root {
  --pink: #ff2e63;
  --ember: #ff6a2a;
  --lime: #d6f25c;
  --bg: #14110f;
  --bg-2: #1b1714;
  --panel: #2a241f;
  --ink: #f3ead7;
  --muted: #cbbba6;
  --line: #3a2a22;
  --shadow: #0a0908;
  --radius: 2px;
  --gap: 18px;
  --pad: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  background: repeating-linear-gradient(to bottom, rgba(243,234,215,0.05) 0 1px, transparent 1px 4px);
}
img, svg { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: 0; line-height: 1.35; margin: 0; }
::selection { background: var(--pink); color: #14110f; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 40; }
.promo {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  background: #14110f;
  color: var(--lime);
  border-bottom: 3px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}
.promo p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge-18, .age-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 22px;
  padding: 0 6px;
  border: 3px solid var(--lime);
  color: var(--lime);
  background: #14110f;
  font-size: 12px;
  font-weight: 800;
  border-radius: var(--radius);
  flex: 0 0 auto;
}
.nav-bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  background: var(--panel);
  border-bottom: 3px solid var(--line);
}
.logo {
  display: inline-block;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  max-width: 12em;
  color: var(--ink);
  flex: 0 1 auto;
}
.logo-br { display: none; }
.logo:hover { color: var(--pink); }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  color: var(--ink);
  border-left: 3px solid transparent;
}
.main-nav a:hover { color: var(--pink); background: var(--bg); }
.main-nav a:active { color: var(--lime); }
.main-nav a.active { border-left-color: var(--lime); color: var(--lime); background: var(--bg); }
.search {
  flex: 1 1 180px;
  max-width: 280px;
  display: flex;
  min-width: 0;
  border: 3px solid var(--line);
  background: var(--bg);
  box-shadow: 4px 4px 0 var(--shadow);
  border-radius: var(--radius);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  outline: none;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; }
.search button, .icon-btn, .menu-toggle, .search-toggle {
  border: 0;
  background: var(--bg);
  color: var(--lime);
  padding: 8px 10px;
}
.search button {
  border-left: 3px solid var(--line);
  font-weight: 800;
}
.search button:hover, .icon-btn:hover, .menu-toggle:hover, .search-toggle:hover {
  background: var(--lime);
  color: var(--bg);
}
.icon-btn, .menu-toggle, .search-toggle {
  position: relative;
  min-width: 42px;
  height: 42px;
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  border-radius: var(--radius);
  color: var(--lime);
  background: var(--bg);
}
.icon-btn svg, .menu-toggle svg, .search-toggle svg { width: 16px; height: 16px; flex: 0 0 auto; }
.icon-btn .label { font-size: 13px; font-weight: 800; }
.icon-btn .count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--lime);
  color: #14110f;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn.is-on { border-color: var(--lime); color: var(--lime); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 3px solid var(--line);
  border-radius: var(--radius);
  background: var(--pink);
  color: #14110f;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--shadow);
  transition: background .15s, color .15s, transform .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { background: #14110f; color: var(--pink); transform: translateY(1px); }
.btn:active { transform: translateY(2px); }
.btn-lime { background: #14110f; color: var(--lime); }
.btn-lime:hover { background: var(--lime); color: #14110f; }
.menu-toggle, .search-toggle, .drawer { display: none; }
.drawer {
  background: var(--panel);
  border-bottom: 3px solid var(--line);
  padding: 12px 18px 18px;
}
.drawer a, .drawer button.drawer-link {
  display: flex;
  width: 100%;
  text-align: left;
  padding: 10px 10px;
  margin-top: 8px;
  background: var(--bg);
  border: 3px solid var(--line);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--shadow);
  border-radius: var(--radius);
  font-weight: 800;
}
.drawer a.active { border-left: 3px solid var(--lime); color: var(--lime); }
.drawer a:hover, .drawer button.drawer-link:hover { border-color: var(--pink); color: var(--pink); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
main > section {
  padding: var(--pad) 0;
  border-top: 3px solid var(--line);
}
main > section:first-child { border-top: 0; padding: 22px 0 18px; }
main > section:nth-of-type(even) { background: var(--bg-2); }
.section-title { margin-bottom: 16px; font-size: 22px; }
.section-title::before { content: "["; color: var(--lime); margin-right: 6px; }
.section-title::after { content: "]"; color: var(--lime); margin-left: 6px; }
.lead { margin-top: 8px; color: var(--muted); font-size: 16px; }
.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
h1 { font-size: 30px; max-width: 16em; }
.filter-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border: 3px solid var(--line);
  background: var(--panel);
  box-shadow: 4px 4px 0 var(--shadow);
  color: var(--lime);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.lamp {
  width: 8px;
  height: 8px;
  background: var(--lime);
  flex: 0 0 auto;
  box-shadow: 4px 0 0 #14110f, 8px 0 0 var(--line);
}
.lamp.wait { background: var(--ember); }
.lamp-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--lime); font-weight: 800; }
.conds { display: flex; flex-wrap: wrap; gap: 18px; }
.cond {
  flex: 1 1 220px;
  padding: 14px 14px 12px;
  background: var(--panel);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--shadow);
}
.cond h3 { font-size: 18px; margin-bottom: 8px; }
.cond p { color: var(--muted); font-size: 15px; }
.tag {
  display: inline-block;
  margin-right: 6px;
  padding: 0 6px;
  border: 3px solid var(--line);
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  background: #14110f;
  border-radius: var(--radius);
}
.tag.ember { color: var(--ember); border-color: var(--ember); }
.cycle {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .86fr);
  gap: 18px;
  margin-top: 18px;
}
.cycle:first-of-type { margin-top: 0; }
.pair { display: grid; gap: 18px; align-content: stretch; }
.pick {
  background: var(--panel);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 14px;
  transition: box-shadow .15s, border-color .15s;
  min-width: 0;
}
.pick:hover { box-shadow: 6px 6px 0 var(--shadow); border-color: var(--pink); transform: none; }
.pick.tall { min-height: 280px; display: flex; flex-direction: column; }
.pick-top, .meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pick time, .read time, .tip time {
  color: var(--ember);
  font-size: 13px;
  font-weight: 800;
}
.pick h3 { font-size: 20px; margin: 12px 0 8px; }
.pick.short h3 { font-size: 17px; margin: 10px 0 6px; }
.pick p { color: var(--muted); font-size: 15px; }
.pick h3 a:hover { color: var(--pink); }
.score {
  margin-top: auto;
  padding-top: 14px;
  color: var(--lime);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.score small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); font-weight: 800; }
.ticks {
  height: 8px;
  margin-top: 12px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 16px);
}
.mark-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mark-row span {
  border: 3px solid var(--line);
  padding: 2px 6px;
  font-size: 13px;
  color: var(--ink);
  background: var(--bg);
}
.empty {
  margin-top: 18px;
  border: 3px dashed var(--line);
  padding: 28px 16px;
  color: var(--lime);
  font-weight: 800;
  background: rgba(20,17,15,0.35);
  box-shadow: 4px 4px 0 var(--shadow);
}
.tips, .nodes, .reads {
  display: grid;
  gap: 18px;
}
.tips { grid-template-columns: 1.25fr .85fr 1.05fr; }
.tip, .node, .read {
  background: var(--panel);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 14px;
  min-width: 0;
  transition: box-shadow .15s, border-color .15s;
}
.tip:hover, .node:hover, .read:hover { box-shadow: 6px 6px 0 var(--shadow); border-color: var(--pink); }
.tip h3, .read h3, .node h3 { font-size: 18px; margin: 8px 0; }
.tip p, .read p, .node p { color: var(--muted); font-size: 15px; }
.tip h3 a:hover, .read h3 a:hover { color: var(--pink); }
.nodes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.node strong {
  display: inline-block;
  color: var(--lime);
  font-size: 13px;
  border-left: 3px solid var(--lime);
  padding-left: 6px;
}
.node h3 { font-size: 16px; }
.reads { grid-template-columns: 1.15fr .95fr .9fr; align-items: start; }
.read:nth-child(2) { transform: translateY(18px); }
.read time { display: block; }
.more-strip, .sub-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.more-strip {
  border: 3px solid var(--line);
  background: var(--panel);
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 16px;
}
.more-strip p, .sub-grid p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.site-footer {
  background: #14110f;
  border-top: 3px solid var(--line);
  padding: 28px 0 36px;
  position: relative;
  z-index: 1;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr;
  gap: 18px;
  align-items: start;
}
.age-line {
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
.foot-links, .foot-cats { display: flex; flex-direction: column; gap: 8px; }
.foot-links a, .foot-cats a { font-weight: 800; }
.foot-links a:hover, .foot-cats a:hover { color: var(--pink); }
.copy { grid-column: 1 / -1; color: var(--muted); font-size: 13px; margin: 8px 0 0; }
@media (max-width: 1199px) {
  .tips { grid-template-columns: 1fr 1fr; }
  .tip:last-child { grid-column: 1 / -1; }
  .reads { grid-template-columns: 1fr 1fr; }
  .read:last-child { grid-column: 1 / -1; }
  .read:nth-child(2) { transform: none; }
}
@media (max-width: 1024px) {
  .logo { font-size: 15px; }
  .search { max-width: 180px; }
  .icon-btn .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nodes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .cycle { grid-template-columns: 1fr 1fr; }
  .head-row { align-items: flex-start; }
}
@media (max-width: 720px) {
  :root { --pad: 32px; }
  .menu-toggle, .search-toggle { display: inline-flex; }
  .main-nav, .desk-tools, .nav-cta { display: none; }
  .search { display: none; flex: 1 1 100%; max-width: none; order: 8; }
  .search.open { display: flex; }
  .nav-bar { flex-wrap: wrap; min-height: 64px; }
  .logo { max-width: 8.2em; }
  .logo-br { display: block; height: 0; }
  .drawer.open { display: block; }
  .promo { height: 36px; }
  h1 { font-size: 24px; }
  .head-row, .more-strip, .sub-grid, .tips, .reads, .cycle, .nodes { grid-template-columns: 1fr; display: grid; }
  .filter-note { white-space: normal; }
  .pick.tall { min-height: 0; }
  .read:nth-child(2) { transform: none; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .container { width: min(1120px, calc(100% - 28px)); }
  body { font-size: 16px; }
  .section-title { font-size: 20px; }
  .conds { display: grid; }
  .score { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* roulang page: category1 */
:root {
 --pink: #ff2e63;
 --ember: #ff6a2a;
 --lime: #d6f25c;
 --bg: #14110f;
 --bg-2: #1b1714;
 --panel: #2a241f;
 --ink: #f3ead7;
 --muted: #cbbba6;
 --line: #3a2a22;
 --shadow: #0a0908;
 --radius: 2px;
 --gap: 18px;
 --pad: 64px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 128px; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 font-size: 17px;
 line-height: 1.7;
 position: relative;
}
body::before {
 content: "";
 position: fixed;
 inset: 0;
 pointer-events: none;
 z-index: 80;
 background: repeating-linear-gradient(to bottom, rgba(243,234,215,0.05) 0 1px, transparent 1px 4px);
}
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: 0; line-height: 1.35; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); }
.promo {
 height: 36px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 padding: 0 18px;
 background: #14110f;
 color: var(--lime);
 border-bottom: 3px solid var(--line);
 font-size: 13px;
 font-weight: 800;
}
.promo p {
 margin: 0;
 min-width: 0;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}
.badge-18, .age-mark {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-width: 36px;
 height: 22px;
 padding: 0 6px;
 border: 3px solid var(--lime);
 color: var(--lime);
 background: #14110f;
 font-size: 12px;
 font-weight: 800;
 border-radius: var(--radius);
 flex: 0 0 auto;
}
.nav-bar {
 min-height: 72px;
 display: flex;
 align-items: center;
 gap: 14px;
 padding: 8px 18px;
 background: var(--panel);
 border-bottom: 3px solid var(--line);
 position: relative;
}
.logo {
 font-weight: 800;
 font-size: 18px;
 line-height: 1.15;
 max-width: 11em;
 color: var(--ink);
 flex: 0 1 auto;
}
.logo:hover { color: var(--pink); }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.main-nav a {
 display: inline-flex;
 align-items: center;
 min-height: 36px;
 padding: 0 10px;
 color: var(--ink);
 border-left: 3px solid transparent;
}
.main-nav a:hover { color: var(--pink); background: var(--bg); }
.main-nav a:active { color: var(--lime); }
.main-nav a.active { border-left-color: var(--lime); color: var(--lime); background: var(--bg); }
.search {
 flex: 1 1 180px;
 max-width: 280px;
 display: flex;
 min-width: 0;
 border: 3px solid var(--line);
 background: var(--bg);
 box-shadow: 4px 4px 0 var(--shadow);
 border-radius: var(--radius);
}
.search input {
 flex: 1;
 min-width: 0;
 border: 0;
 background: transparent;
 padding: 8px 10px;
 outline: none;
}
.search input::placeholder { color: var(--muted); }
.search:focus-within { outline: 2px solid var(--lime); outline-offset: 2px; }
.search button, .icon-btn, .menu-toggle, .search-toggle {
 border: 0;
 background: var(--bg);
 color: var(--lime);
 padding: 8px 10px;
 border-left: 3px solid var(--line);
}
.search button:hover, .icon-btn:hover, .menu-toggle:hover, .search-toggle:hover {
 background: var(--lime);
 color: var(--bg);
}
.icon-btn, .menu-toggle, .search-toggle {
 position: relative;
 width: 42px;
 height: 42px;
 border: 3px solid var(--line);
 box-shadow: 4px 4px 0 var(--shadow);
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 0;
 border-radius: var(--radius);
 flex: 0 0 auto;
}
.icon-btn .count {
 position: absolute;
 top: -8px;
 right: -8px;
 min-width: 18px;
 height: 18px;
 padding: 0 4px;
 background: var(--lime);
 color: #14110f;
 font-size: 12px;
 font-weight: 800;
 display: inline-flex;
 align-items: center;
 justify-content: center;
}
.icon-btn[aria-pressed="true"] { background: var(--lime); color: #14110f; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 42px;
 padding: 0 14px;
 border: 3px solid var(--line);
 border-radius: var(--radius);
 background: var(--pink);
 color: #14110f;
 font-weight: 800;
 box-shadow: 4px 4px 0 var(--shadow);
 transition: background .15s, color .15s, transform .15s, box-shadow .15s, border-color .15s;
 flex: 0 0 auto;
}
.btn:hover { background: #14110f; color: var(--pink); transform: translateY(1px); }
.btn:active { transform: translateY(2px); }
.btn-lime { background: #14110f; color: var(--lime); }
.btn-lime:hover { background: var(--lime); color: #14110f; }
.menu-toggle, .search-toggle, .drawer { display: none; }
.drawer {
 background: var(--panel);
 border-bottom: 3px solid var(--line);
 padding: 12px 18px 18px;
}
.drawer a, .drawer button.drawer-link {
 display: flex;
 width: 100%;
 text-align: left;
 padding: 10px 10px;
 margin-top: 8px;
 background: var(--bg);
 border: 3px solid var(--line);
 color: var(--ink);
 box-shadow: 4px 4px 0 var(--shadow);
 border-radius: var(--radius);
}
.drawer a.active { border-left: 3px solid var(--lime); color: var(--lime); }
.drawer a:hover, .drawer button.drawer-link:hover { border-color: var(--pink); color: var(--pink); }
.nav-bar .search-open { display: flex; }
main > section { padding: var(--pad) 0; border-top: 3px solid var(--line); }
main > section:first-child { border-top: 0; }
main > section:nth-of-type(even) { background: var(--bg-2); }
main h2 { margin: 0 0 18px; font-size: 28px; }
.h-tick { display: flex; align-items: center; gap: 8px; }
.h-tick::before {
 content: "";
 width: 8px;
 height: 8px;
 background: var(--lime);
 box-shadow: 4px 4px 0 var(--shadow);
 flex: 0 0 auto;
}
.page-band { padding: 22px 0 26px; background: var(--panel); }
.band-row {
 display: grid;
 grid-template-columns: minmax(0, 1.45fr) minmax(220px, .72fr);
 gap: 18px;
 align-items: end;
}
.page-band h1 { font-size: 34px; max-width: 16em; }
.band-note {
 margin: 0;
 color: var(--muted);
 font-size: 14px;
 line-height: 1.7;
 border-left: 3px solid var(--lime);
 padding: 2px 0 2px 10px;
}
.dot {
 width: 8px;
 height: 8px;
 background: var(--lime);
 display: inline-block;
 margin-right: 8px;
 box-shadow: 4px 4px 0 var(--shadow);
 vertical-align: 1px;
}
.filter-bar {
 display: grid;
 grid-template-columns: 1.25fr 1fr .85fr;
 gap: 18px;
 align-items: end;
}
.filter-bar label {
 display: flex;
 flex-direction: column;
 gap: 8px;
 font-size: 14px;
 font-weight: 800;
 color: var(--muted);
}
.filter-bar select {
 appearance: none;
 background: var(--bg) linear-gradient(45deg, transparent 50%, var(--lime) 50%) right 16px center/8px 8px no-repeat, linear-gradient(135deg, var(--lime) 50%, transparent 50%) right 10px center/8px 8px no-repeat;
 border: 3px solid var(--line);
 border-radius: var(--radius);
 min-height: 44px;
 padding: 8px 32px 8px 10px;
 box-shadow: 4px 4px 0 var(--shadow);
 color: var(--ink);
}
.filter-bar select:focus { outline: 2px solid var(--lime); outline-offset: 2px; }
option { background: #14110f; color: var(--ink); }
.flow {
 display: grid;
 gap: 16px;
}
.flow-card {
 display: grid;
 grid-template-columns: 96px minmax(0, 1fr);
 gap: 14px;
 align-items: start;
 background: var(--panel);
 border: 3px solid var(--line);
 border-radius: var(--radius);
 box-shadow: 4px 4px 0 var(--shadow);
 padding: 14px 14px 14px 12px;
 transition: border-color .15s, box-shadow .15s;
}
.flow-card:hover, .flow-card:focus-within {
 border-color: var(--pink);
 box-shadow: 6px 6px 0 var(--shadow);
 transform: none;
}
.flow-card time {
 color: var(--lime);
 font-weight: 800;
 font-size: 18px;
 line-height: 1.4;
 padding-left: 12px;
 background-image: repeating-linear-gradient(to bottom, var(--lime) 0 2px, transparent 2px 8px);
 background-repeat: no-repeat;
 background-size: 3px 100%;
 background-position: left 2px;
}
.slot-name { display: block; margin-top: 4px; color: var(--ember); font-size: 13px; font-weight: 800; }
.flow-card h3 { font-size: 18px; margin-bottom: 8px; }
.flow-card h3 a { color: var(--ink); }
.flow-card h3 a:hover { color: var(--pink); }
.flow-card p { color: var(--muted); font-size: 15px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag {
 display: inline-block;
 padding: 0 6px;
 border: 3px solid var(--line);
 color: var(--lime);
 font-size: 12px;
 font-weight: 800;
 background: #14110f;
 border-radius: var(--radius);
 line-height: 1.6;
}
.tag-hot { color: var(--pink); border-color: var(--pink); }
.tag-wait { color: var(--ember); border-color: var(--ember); }
.empty[hidden] { display: none !important; }
.flow-card[hidden] { display: none !important; }
.empty {
 display: block;
 margin-top: 16px;
 border: 3px dashed var(--line);
 padding: 28px 16px;
 text-align: left;
 color: var(--lime);
 font-weight: 800;
 background: repeating-linear-gradient(90deg, rgba(214,242,92,0.05) 0 8px, transparent 8px 16px);
 box-shadow: 4px 4px 0 var(--shadow);
}
.dist { display: grid; gap: 14px; max-width: 860px; }
.dist-row {
 display: grid;
 grid-template-columns: 72px minmax(0, 1fr) 40px;
 gap: 12px;
 align-items: center;
}
.dist-row span { font-weight: 800; }
.dist-row b { color: var(--lime); font-size: 20px; text-align: right; }
.track {
 height: 18px;
 border: 3px solid var(--line);
 background: repeating-linear-gradient(90deg, #1b1714 0 8px, #14110f 8px 16px);
 box-shadow: 4px 4px 0 var(--shadow);
}
.fill { height: 100%; background: var(--pink); }
.fill.noon { background: var(--ember); }
.fill.night { width: 33%; background: var(--lime); }
.dist-note { margin-top: 14px; color: var(--muted); font-size: 15px; }
.legend {
 display: grid;
 grid-template-columns: 1.05fr .9fr 1.25fr;
 gap: 18px;
}
.legend article {
 background: var(--panel);
 border: 3px solid var(--line);
 border-radius: var(--radius);
 box-shadow: 4px 4px 0 var(--shadow);
 padding: 16px;
}
.legend article:hover { border-color: var(--pink); box-shadow: 6px 6px 0 var(--shadow); }
.legend h3 { font-size: 18px; margin: 10px 0 8px; }
.legend p { color: var(--muted); font-size: 15px; }
.lamp-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lime); font-weight: 800; }
.rel-grid {
 display: grid;
 grid-template-columns: 1.4fr .86fr;
 grid-template-rows: auto auto;
 gap: 18px;
 align-items: stretch;
}
.rel-card {
 background: var(--panel);
 border: 3px solid var(--line);
 border-radius: var(--radius);
 box-shadow: 4px 4px 0 var(--shadow);
 padding: 16px;
 transition: border-color .15s, box-shadow .15s;
}
.rel-card.tall { grid-row: 1 / span 2; }
.rel-card:hover { border-color: var(--pink); box-shadow: 6px 6px 0 var(--shadow); }
.rel-card time { color: var(--ember); font-size: 13px; font-weight: 800; }
.rel-card h3 { font-size: 18px; margin: 8px 0; }
.rel-card h3 a { color: var(--ink); }
.rel-card h3 a:hover { color: var(--pink); }
.rel-card p { color: var(--muted); font-size: 15px; }
.rel-card p + p { margin-top: 14px; }
.more-band .more-row {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 18px;
}
.more-band h2 { margin: 0; }
.more-band p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.qa-list { display: grid; gap: 14px; }
.qa-item {
 border: 3px solid var(--line);
 border-left: 3px solid var(--lime);
 background: var(--panel);
 box-shadow: 4px 4px 0 var(--shadow);
 border-radius: var(--radius);
 padding: 14px 16px;
}
.qa-item h3 { font-size: 17px; margin-bottom: 6px; }
.qa-item p { color: var(--muted); font-size: 15px; }
.site-footer {
 background: #0e0c0a;
 border-top: 3px solid var(--line);
 padding: 36px 0 28px;
}
.foot-grid {
 display: grid;
 grid-template-columns: 1.4fr .7fr .7fr;
 gap: 18px;
 align-items: start;
}
.age-line {
 color: var(--muted);
 font-size: 14px;
 display: flex;
 gap: 8px;
 align-items: center;
 margin-top: 12px;
}
.foot-links, .foot-cats { display: flex; flex-direction: column; gap: 8px; }
.foot-links a, .foot-cats a {
 border-left: 3px solid transparent;
 padding-left: 8px;
 min-height: 28px;
 display: inline-flex;
 align-items: center;
}
.foot-links a:hover, .foot-cats a:hover { color: var(--pink); }
.foot-cats a[href="/jinrigengxin.html"] { border-left-color: var(--lime); color: var(--lime); }
.copy { grid-column: 1 / -1; color: var(--muted); font-size: 13px; margin-top: 8px; }
a:focus-visible, button:focus-visible, select:focus-visible {
 outline: 2px solid var(--lime);
 outline-offset: 2px;
}
@media (max-width: 1199px) {
 .page-band h1 { font-size: 30px; }
 .legend { grid-template-columns: 1fr 1fr; }
 .legend article:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
 .logo { font-size: 16px; }
 .search { max-width: 190px; }
 .main-nav a { padding: 0 8px; }
 .rel-grid { grid-template-columns: 1fr 1fr; }
 .rel-card.tall { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 800px) and (min-width: 721px) {
 .icon-btn { display: none; }
 .search { max-width: 150px; }
}
@media (max-width: 720px) {
 :root { --pad: 32px; }
 .menu-toggle, .search-toggle { display: inline-flex; }
 .main-nav, .nav-bar .search, .nav-bar .icon-btn, .nav-bar > .btn { display: none; }
 .nav-bar .search.is-open {
  display: flex;
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(100% + 8px);
  max-width: none;
  z-index: 6;
 }
 .drawer.open { display: block; }
 .logo { max-width: 7.5em; font-size: 16px; }
 .band-row, .filter-bar, .legend, .rel-grid, .foot-grid { grid-template-columns: 1fr; }
 .page-band h1, main h2 { font-size: 24px; }
 .flow-card { grid-template-columns: 78px minmax(0, 1fr); }
 .more-band .more-row { flex-direction: column; align-items: flex-start; }
 .legend article:last-child { grid-column: auto; }
 .rel-card.tall { grid-column: auto; }
}
@media (max-width: 520px) {
 .container { width: min(1120px, calc(100% - 28px)); }
 .page-band { padding: 18px 0 20px; }
 .page-band h1 { font-size: 22px; }
 .promo { padding: 0 12px; }
 .nav-bar { padding: 8px 12px; }
 .dist-row { grid-template-columns: 52px minmax(0, 1fr) 32px; gap: 8px; }
 .flow-card { grid-template-columns: 68px minmax(0, 1fr); padding: 12px; }
 .flow-card time { font-size: 16px; }
}
