:root {
      --bg: #0f1420;
      --bg-2: #1a2333;
      --text: #f2f1eb;
      --muted: #c7c1af;
      --accent-soft: #f0d494;
      --line: #334663;
      --panel: #141f33;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      color: var(--text);
      font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
      background:
        radial-gradient(1000px 500px at 20% -10%, #2e405f 0%, transparent 60%),
        radial-gradient(900px 480px at 90% 0%, #2a2b44 0%, transparent 55%),
        linear-gradient(170deg, var(--bg-2) 0%, var(--bg) 56%, #0b111a 100%);
      min-height: 100vh;
      padding: 18px;
    }
    .wrap { width: min(1280px, 100%); margin: 0 auto; display: grid; gap: 16px; }
    .hero, .panel {
      border: 1px solid var(--line);
      border-radius: 14px;
      background: linear-gradient(180deg, rgba(17, 26, 43, 0.92), rgba(15, 22, 35, 0.97));
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    }
    .hero { padding: 24px; }
    .kicker {
      margin: 0 0 8px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent-soft);
      font-size: 0.75rem;
      font-weight: 700;
    }
    h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.08; }
    .lead { margin: 10px 0 0; color: var(--muted); max-width: 70ch; }
    .actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
    .btn {
      display: inline-block;
      padding: 9px 12px;
      border-radius: 9px;
      border: 1px solid #446086;
      background: #15243a;
      color: #d7e9ff;
      text-decoration: none;
      font-size: 0.9rem;
    }
    .btn:hover, .btn:focus-visible { background: #20385b; border-color: #6b90c2; text-decoration: underline; }
    .panel { padding: 18px; }
    .panel h2 { margin: 0 0 10px; font-size: 1.05rem; }
    .panel p { margin: 0; color: var(--muted); }
    .grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-top: 14px;
    }
    .playlist-card[hidden] { display: none; }
    .playlist-card {
      border: 1px solid #314663;
      border-radius: 10px;
      background: linear-gradient(180deg, #1b2740 0%, #141f33 100%);
      overflow: hidden;
      display: grid;
      align-content: start;
    }
    .card-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding: 10px 12px;
      border-bottom: 1px solid #2f4667;
      background: #18243a;
    }
    .card-head h2 { margin: 0; font-size: 0.97rem; color: #f5f2e5; text-transform: none; }
    .card-head a { color: #bee1ff; font-size: 0.83rem; text-decoration: none; white-space: nowrap; }
    .card-head a:hover, .card-head a:focus-visible { text-decoration: underline; }
    .embed-shell { aspect-ratio: 16 / 9; background: #0c1320; }
    .embed-shell iframe { width: 100%; height: 100%; border: 0; }
    .card-foot { margin: 0; padding: 10px 12px 12px; color: #bfd0ea; font-size: 0.82rem; }
    .pager {
      margin-top: 14px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
    }
    .pager-status {
      color: var(--muted);
      font-size: 0.9rem;
      margin-right: auto;
    }
    .pager-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 38px;
      padding: 8px 10px;
      border-radius: 9px;
      border: 1px solid #446086;
      background: #15243a;
      color: #d7e9ff;
      text-decoration: none;
      font-size: 0.88rem;
      line-height: 1;
    }
    .pager-link:hover, .pager-link:focus-visible {
      background: #20385b;
      border-color: #6b90c2;
      text-decoration: underline;
    }
    .pager-link.is-active {
      background: #243f66;
      border-color: #89b2eb;
      color: #f4fbff;
      pointer-events: none;
      text-decoration: none;
    }
    code { color: #f2e6c8; }
    @media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }

/* Homepage-style top navigation, scoped to this page.
       Same visual language as home-command-center.css .topbar,
       but width-matched to this page content column for edge alignment. */
    .qh-topbar {
      --cyan: #42d9e8;
      width: min(1260px, calc(100% - 96px));
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      margin: 0 auto;
    }
    .qh-topbar .brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
    .qh-topbar .brand strong { letter-spacing: 0.04em; color: #f2f7fa; }
    .qh-topbar .brand-mark {
      width: 42px; height: 42px;
      display: grid; place-items: center; flex: none;
      border: 2px solid var(--cyan);
      border-radius: 50%;
      color: var(--cyan);
      font-size: 1.35rem; font-weight: 900;
      box-shadow: 0 0 28px rgba(66, 217, 232, 0.13);
    }
    .qh-topbar .nav-links { display: flex; align-items: stretch; flex-wrap: wrap; justify-content: flex-end; }
    .qh-topbar .nav-links a {
      position: relative;
      padding: 25px 13px 22px;
      color: #c1ced6;
      font-size: 0.88rem;
      text-decoration: none;
    }
    .qh-topbar .nav-links a:hover, .qh-topbar .nav-links a:focus-visible, .qh-topbar .nav-links a.active { color: var(--cyan); }
    .qh-topbar .nav-links a.active::after {
      position: absolute; right: 13px; bottom: 12px; left: 13px; height: 2px;
      content: ""; background: var(--cyan);
      box-shadow: 0 0 12px rgba(66, 217, 232, 0.5);
    }
    @media (max-width: 900px) {
      .qh-topbar { align-items: flex-start; flex-direction: column; padding: 16px 0; }
      .qh-topbar .nav-links { justify-content: flex-start; }
      .qh-topbar .nav-links a { padding: 8px 11px 12px; }
      .qh-topbar .nav-links a.active::after { right: 11px; bottom: 5px; left: 11px; }
    }
