/* roulang page: index */
:root {
  --amber: #E39B3C;
  --amber-hover: #F2B15A;
  --lime: #D6F25A;
  --coral: #FF6A3D;
  --bg: #101218;
  --bg-alt: #171B22;
  --bg-deep: #12151B;
  --bg-foot: #0B0D11;
  --card: #1C212B;
  --line: #2C3340;
  --text: #E7E4DC;
  --muted: #A7A396;
  --ink: #1A140C;
  --radius: 12px;
  --radius-input: 8px;
  --shadow: 0 8px 24px rgba(0,0,0,.28);
  --container: 1120px;
  --gap: 16px;
  --pad: 56px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  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; }
p { margin: 0 0 .75em; }
h1, h2, h3, h4 { margin: 0 0 .45em; line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: .01em; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--amber); color: var(--ink); }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 10px 0;
}
.logo {
  flex: 1 1 280px;
  max-width: 340px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}
.logo:hover { color: var(--amber); }
.search { flex: 0 1 280px; }
.search input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-input);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
}
.search input::placeholder { color: var(--muted); }
.search input:focus-visible { border-color: var(--lime); }
.nav-cta { flex: 0 0 auto; }
.channels {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-width: none;
}
.channels::-webkit-scrollbar { display: none; }
.pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.pill:hover { border-color: var(--amber); color: var(--amber); }
.pill:active { transform: translateY(1px); }
.pill.is-current, .pill.is-current:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-hover); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--lime); }
.btn-ghost:hover { color: var(--lime); }
.section { padding: var(--pad) 0; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); }
.section-head { margin-bottom: 18px; }
.section-head p { color: var(--muted); margin: 0; max-width: 46em; }
.hero { padding: 42px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  gap: 28px;
  align-items: stretch;
}
.lead { color: var(--text); font-size: 18px; margin: 10px 0 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; }
.board {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 8px 12px;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}
.stat-row span { color: var(--muted); font-size: 14px; }
.stat-row strong {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  line-height: 1;
  color: var(--amber);
  font-weight: 700;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 12px 4px;
  color: var(--muted);
  font-size: 13px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  flex: 0 0 auto;
}
.entry-row, .scoreboard, .name-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.entry-row::-webkit-scrollbar, .scoreboard::-webkit-scrollbar, .name-row::-webkit-scrollbar { display: none; }
.tier-row { display: flex; gap: 14px; align-items: stretch; }
.tier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px 16px;
  min-width: 0;
}
.tier:nth-child(1) { flex: 1.4; }
.tier:nth-child(2) { flex: 1; }
.tier:nth-child(3) { flex: 1; }
.tier:nth-child(4) { flex: .8; }
.tier p { color: var(--muted); min-height: 3.2em; }
.tier a { color: var(--amber); font-weight: 700; }
.tier a:hover { color: var(--amber-hover); }
.scoreboard { padding-bottom: 6px; }
.score {
  flex: 0 0 168px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
}
.score b {
  display: block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  line-height: 1.1;
  color: var(--amber);
}
.score span { color: var(--muted); font-size: 14px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 7px;
  height: 1px;
  background: var(--line);
}
.step { position: relative; padding: 28px 16px 0 0; }
.node {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--amber);
  display: block;
  transform: rotate(45deg);
  margin-bottom: 14px;
}
.step p { color: var(--muted); margin: 0; }
.series-grid {
  display: grid;
  grid-template-columns: 1.4fr .85fr;
  gap: 18px;
}
.series-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.series-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.series-list li:last-child { border-bottom: 0; }
.series-list small { color: var(--muted); white-space: nowrap; }
.year-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.year-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.year-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--amber);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
}
.year-card p { color: var(--muted); margin: 0; }
.poster-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}
.poster {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  min-width: 0;
}
.poster.span-2 { grid-column: span 2; }
.poster:hover .frame { border-color: var(--amber); }
.poster:active { transform: translateY(1px); }
.frame {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #232833;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.frame.wide { aspect-ratio: 16 / 9; }
.frame.tall { aspect-ratio: 3 / 4; }
.frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(227,155,60,.28);
  border-radius: 8px;
}
.poster:nth-child(3n) .frame { background: #2a241c; }
.poster:nth-child(4n) .frame { background: #1d2730; }
.poster:nth-child(5n) .frame { background: #2a2622; }
.badge {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 22px;
}
.badge.hot { background: var(--coral); color: #1a0d09; }
.poster-meta { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.poster-meta strong { font-size: 15px; }
.poster-meta em { font-style: normal; color: var(--muted); font-size: 13px; white-space: nowrap; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
}
.device-list { border-top: 1px solid var(--line); }
.device-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.device-list strong { color: var(--amber); }
.device-list span { color: var(--text); }
.news-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}
.feature, .news-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature { padding: 22px 20px; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; }
.feature time, .news-list time { color: var(--amber); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.feature p { color: var(--muted); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}
.news-list a:hover { background: #222733; }
.more-wrap { display: flex; justify-content: flex-end; padding: 12px 14px 14px; }
.name-row { align-items: center; }
.chip {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-top: 1px solid var(--amber);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  background: var(--card);
  font-size: 14px;
}
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
}
.faq details[open] { border-color: var(--amber); }
.faq summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 14px; }
.assure {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.assure div { padding: 14px 16px; border-right: 1px solid var(--line); }
.assure div:last-child { border-right: 0; }
.assure strong { display: block; color: var(--amber); font-size: 15px; }
.assure span { color: var(--muted); font-size: 14px; }
.age-strip {
  max-width: 820px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--coral);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.age-strip p { margin: 0; color: var(--muted); }
.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
.cta-box p { margin: 0; color: var(--text); }
.note-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr auto;
  gap: 10px;
  align-items: start;
}
.note-form label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 13px; }
.note-form input, .note-form textarea {
  width: 100%;
  border-radius: var(--radius-input);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 10px 12px;
  color: var(--text);
}
.note-form textarea { min-height: 42px; resize: vertical; }
.note-form .btn { margin-top: 22px; }
.site-footer {
  background: var(--bg-foot);
  border-top: 1px solid var(--line);
  padding: 36px 0 18px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr;
  gap: 24px;
}
.foot-brand { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.foot-grid p, .foot-grid a { color: var(--muted); }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-links a:hover { color: var(--amber); }
.copy {
  width: min(var(--container), calc(100% - 40px));
  margin: 22px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1200px) {
  .container, .copy { width: min(1120px, calc(100% - 32px)); }
}
@media (max-width: 992px) {
  .hero-grid, .series-grid, .news-grid, .foot-grid { grid-template-columns: 1fr; }
  .tier-row { flex-wrap: wrap; }
  .tier { flex: 1 1 calc(50% - 14px); }
  .poster-wall { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .steps::before { display: none; }
  .note-form { grid-template-columns: 1fr 1fr; }
  .note-form .btn { margin-top: 0; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  .topbar { flex-wrap: wrap; align-items: flex-start; }
  .logo { flex: 1 1 auto; font-size: 16px; max-width: none; }
  .search { order: 3; flex: 1 1 100%; }
  .channels { margin: 0 -4px; padding-left: 4px; padding-right: 20px; }
  .year-split, .assure { grid-template-columns: 1fr 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  h2 { font-size: 22px; }
}
@media (max-width: 480px) {
  .container, .copy { width: calc(100% - 28px); }
  .hero { padding-top: 28px; }
  .hero-actions, .hero-actions .btn, .nav-cta, .nav-cta .btn { width: 100%; }
  .tier { flex: 1 1 100%; }
  .poster-wall, .steps, .year-split, .assure, .note-form { grid-template-columns: 1fr; }
  .poster.span-2 { grid-column: auto; }
  .device-list li { grid-template-columns: 1fr; gap: 4px; }
  .stat-row strong { font-size: 28px; }
  .assure div { border-right: 0; border-bottom: 1px solid var(--line); }
  .assure div:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .pill, .poster { transition: none; }
}

/* roulang page: category1 */
:root {
  --amber: #E39B3C;
  --amber-hover: #F2B15A;
  --lime: #D6F25A;
  --coral: #FF6A3D;
  --bg: #101218;
  --bg-alt: #171B22;
  --bg-deep: #12151B;
  --bg-foot: #0B0D11;
  --card: #1C212B;
  --line: #2C3340;
  --text: #E7E4DC;
  --muted: #A7A396;
  --ink: #1A140C;
  --radius: 12px;
  --radius-input: 8px;
  --shadow: 0 8px 24px rgba(0,0,0,.28);
  --container: 1120px;
  --gap: 16px;
  --pad: 56px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  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; }
p { margin: 0 0 .75em; }
h1, h2, h3 { line-height: 1.25; font-weight: 800; margin: 0 0 .4em; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 10px 0;
}
.logo {
  flex: 1 1 280px;
  max-width: 340px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}
.logo:hover { color: var(--amber); }
.search { flex: 0 1 280px; }
.search input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-input);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
}
.search input::placeholder { color: var(--muted); }
.search input:focus-visible { border-color: var(--lime); }
.nav-cta { flex: 0 0 auto; }
.channels {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 12px;
  scrollbar-width: none;
}
.channels::-webkit-scrollbar { display: none; }
.pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
button.pill { appearance: none; -webkit-appearance: none; }
.pill:hover { border-color: var(--amber); color: var(--amber); }
.pill:active { transform: translateY(1px); }
.pill.is-current, .pill.is-current:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-hover); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--lime); }
.btn-ghost:hover { color: var(--lime); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
.section { padding: var(--pad) 0; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); }
.section h2 { font-size: 24px; }
.muted { color: var(--muted); }
.num {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.cat-top { padding: 28px 0 22px; border-bottom: 1px solid var(--line); }
.cat-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.cat-top h1 { font-size: 32px; }
.cat-top .scope { margin: 0; color: var(--muted); }
.sort {
  margin: 0;
  color: var(--amber);
  font-weight: 700;
  white-space: nowrap;
}
.filter-block { margin-top: 14px; }
.filter-block:first-of-type { margin-top: 0; }
.filter-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}
.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.filter-row::-webkit-scrollbar { display: none; }
.clip-list { display: flex; flex-direction: column; gap: 14px; }
.clip {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  transition: transform .18s ease, border-color .18s ease;
}
.clip.is-new { border-left-color: var(--coral); }
.clip:hover { transform: translateY(-1px); border-color: #3a4354; }
.frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #161b24;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.frame.f2 { background: #211c16; }
.frame.f3 { background: #17211c; }
.frame.f4 { background: #241a18; }
.badge {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 22px;
}
.badge.hot { background: var(--coral); color: #1a0d09; }
.clip h3 { font-size: 18px; margin: 0 0 6px; }
.clip h3 a:hover { color: var(--amber); }
.clip .desc { margin: 0 0 8px; color: var(--text); }
.clip-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
}
.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.day {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 8px;
  text-align: center;
  box-shadow: var(--shadow);
}
.day strong { display: block; margin-bottom: 8px; }
.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #2a3140;
  color: var(--muted);
}
.mark.on { background: var(--lime); color: var(--ink); }
.rel-list { border-top: 1px solid var(--line); }
.rel-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.rel-list a:hover { color: var(--amber); }
.rel-list small { color: var(--muted); white-space: nowrap; }
.note-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr .85fr;
  gap: 14px;
}
.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px;
}
.note h3 { color: var(--amber); font-size: 16px; }
.note p { margin: 0; color: var(--text); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 0;
  font-weight: 700;
}
.faq-item button:hover { color: var(--amber); }
.faq-item button span { color: var(--amber); }
.faq-item p { margin: 0 0 14px; color: var(--muted); }
.return-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}
.return-bar p { margin: 0; }
.site-footer {
  background: var(--bg-foot);
  border-top: 1px solid var(--line);
  padding: 36px 0 18px;
  color: var(--muted);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1.1fr;
  gap: 24px;
}
.foot-brand { color: var(--text); font-weight: 800; font-size: 18px; line-height: 1.25; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-links a:hover { color: var(--amber); }
.copy {
  border-top: 1px solid var(--line);
  margin: 22px 0 0;
  padding-top: 12px;
  font-size: 13px;
}
@media (max-width: 1200px) {
  :root { --pad: 48px; }
}
@media (max-width: 992px) {
  .clip { grid-template-columns: 200px 1fr; }
  .note-grid, .foot-grid { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  :root { --pad: 36px; }
  .topbar { flex-wrap: wrap; }
  .logo { flex: 1 1 auto; max-width: none; font-size: 17px; }
  .search { flex: 1 1 100%; order: 3; }
  .nav-cta { margin-left: auto; }
  .channels { padding-bottom: 10px; }
  .cat-top h1 { font-size: 26px; }
  .cat-top-row { flex-direction: column; align-items: flex-start; }
  .week { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .clip { grid-template-columns: 1fr; }
  .return-bar { flex-direction: column; align-items: stretch; }
  .return-bar .btn, .nav-cta .btn { width: 100%; }
  .week { grid-template-columns: repeat(2, 1fr); }
  .cat-top h1 { font-size: 24px; }
}
