/* Free The Vibe: shared styles for every site + forum. Themes switch via <body data-theme>. */
:root {
  --bg: #07040d;
  --bg2: #0f0820;
  --panel: rgba(255, 255, 255, 0.045);
  --panel2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f3eeff;
  --muted: #b0a6c9;
  --dim: #7d7396;
  --accent: #ff3ec8;
  --accent2: #22e4ff;
  --accent3: #8b5cff;
  --grad: linear-gradient(100deg, #ff3ec8 0%, #8b5cff 50%, #22e4ff 100%);
  --glow: 0 0 24px rgba(255, 62, 200, 0.35), 0 0 48px rgba(34, 228, 255, 0.18);
  --display: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', Consolas, monospace;
  --radius: 14px;
  --wrap: 1180px;
  color-scheme: dark;
}
body[data-theme='games'] { --accent: #22e4ff; --accent2: #8b5cff; --grad: linear-gradient(100deg, #22e4ff, #8b5cff); }
body[data-theme='music'] { --accent: #ff3ec8; --accent2: #ffb84d; --grad: linear-gradient(100deg, #ff3ec8 0%, #ff7a59 55%, #ffb84d 100%); }
body[data-theme='nightwave'] {
  --bg: #070a1a; --bg2: #0b1030; --accent: #7ae8ff; --accent2: #9b7bff; --accent3: #9b7bff;
  --text: #eef4ff; --muted: #a8b4d8; --dim: #6f7aa3;
  --grad: linear-gradient(100deg, #7ae8ff, #9b7bff);
  --glow: 0 0 22px rgba(120, 220, 255, 0.45), 0 0 45px rgba(150, 90, 255, 0.35);
  --display: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font);
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
}
body::before { /* synthwave grid glow */
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 10% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(50rem 40rem at 100% 110%, color-mix(in srgb, var(--accent2) 18%, transparent), transparent 60%),
    linear-gradient(transparent 0 0);
}
main { flex: 1; }
img, iframe, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: 0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ── Network bar + header ─────────────────────────────────────────────── */
.netbar { background: #000; border-bottom: 1px solid var(--line); font-size: 0.78rem; color: var(--dim); }
.netbar .wrap { display: flex; gap: 14px; align-items: center; height: 32px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.netbar a { color: var(--muted); text-decoration: none; }
.netbar a:hover, .netbar a[aria-current] { color: var(--text); }
.netbar .net-label { color: var(--dim); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.68rem; }
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--display); font-weight: 700; font-size: 1.05rem; min-width: 0; }
.brand img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 0.93rem; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--text); background: var(--panel2); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #0a0612; background: var(--grad); }
.nav-toggle { display: none; margin-left: auto; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; background: var(--bg2); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}

/* ── Buttons, badges ──────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 700 0.98rem/1.2 var(--font); text-decoration: none; cursor: pointer; border: 1px solid var(--line); background: var(--panel2); color: var(--text); transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-1px); color: var(--text); background: rgba(255, 255, 255, 0.12); }
.btn-primary { background: var(--grad); border: 0; color: #0a0612; box-shadow: var(--glow); }
.btn-primary:hover { color: #0a0612; background: var(--grad); filter: brightness(1.08); }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.badge-alt { border-color: color-mix(in srgb, var(--accent2) 55%, transparent); color: var(--accent2); background: color-mix(in srgb, var(--accent2) 10%, transparent); }
.eyebrow { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; display: block; }

/* ── Sections, hero, cards ────────────────────────────────────────────── */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.025) 15%, rgba(255, 255, 255, 0.025) 85%, transparent); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); }
.hero { position: relative; padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 9vw, 110px); overflow: hidden; }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 56ch; margin-bottom: 28px; }
.hero-grid { position: absolute; inset: auto 0 0 0; height: 55%; z-index: -1; opacity: 0.55; pointer-events: none;
  background: linear-gradient(transparent 0, var(--bg) 95%), repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent3) 35%, transparent) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, color-mix(in srgb, var(--accent3) 35%, transparent) 0 1px, transparent 1px 40px);
  transform: perspective(500px) rotateX(58deg); transform-origin: bottom; mask-image: linear-gradient(transparent, #000 60%); }
.hero-sun { position: absolute; right: -6rem; top: 2rem; width: min(46vw, 520px); aspect-ratio: 1; border-radius: 50%; z-index: -1; opacity: 0.5; filter: blur(2px);
  background: repeating-linear-gradient(180deg, transparent 0 18px, var(--bg) 18px 24px), var(--grad); mask-image: linear-gradient(#000 40%, transparent 85%); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color 0.2s, transform 0.2s, background 0.2s; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); transform: translateY(-3px); background: var(--panel2); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-media { margin: -24px -24px 18px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 920/430; background: #000; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card .arrow { color: var(--accent); font-weight: 700; }
.site-card { padding: 28px; min-height: 210px; display: flex; flex-direction: column; }
.site-card .tag { margin-top: auto; padding-top: 14px; color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.site-card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li { padding-left: 28px; position: relative; color: var(--muted); }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 12px; height: 12px; border-radius: 3px; background: var(--grad); transform: rotate(45deg); }
.split { display: grid; gap: 40px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.callout { border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), color-mix(in srgb, var(--accent2) 10%, transparent)); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 4vw, 44px); }

/* ── Forms ────────────────────────────────────────────────────────────── */
.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.92rem; }
label .hint { font-weight: 400; color: var(--dim); font-size: 0.82rem; }
input[type='text'], input[type='email'], input[type='url'], input[type='search'], input[type='number'], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.check input { margin-top: 5px; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; }
.form-status { min-height: 1.4em; font-weight: 600; margin: 0; }
.form-status.ok { color: #6dffb3; }
.form-status.err { color: #ff7b8f; }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; }
.segmented input { accent-color: var(--accent); margin: 0; }
.segmented label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }

/* ── Media ────────────────────────────────────────────────────────────── */
.embed { border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.embed iframe { display: block; width: 100%; border: 0; }
.ratio-16x9 { aspect-ratio: 16/9; }
.ratio-16x9 iframe { height: 100%; }
.placeholder { display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 12px, transparent 12px 24px), #05060f; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery button { padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #000; cursor: zoom-in; aspect-ratio: 16/9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(2, 3, 10, 0.94); display: none; place-items: center; padding: 16px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 10px; box-shadow: 0 20px 80px #000; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid var(--line); border-radius: 999px; width: 46px; height: 46px; font-size: 1.4rem; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; }
.lightbox .lb-next { right: 16px; top: 50%; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: #040208; padding: 48px 0 32px; margin-top: 40px; color: var(--muted); font-size: 0.92rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.site-footer h4 { font-family: var(--font); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--dim); font-size: 0.84rem; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { display: inline-flex; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.82rem; }

/* ── Prose (blog posts, legal) ────────────────────────────────────────── */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose img { border-radius: 10px; margin: 1.5em 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 20px; border-left: 3px solid var(--accent); color: var(--muted); }
.prose code { font-family: var(--mono); background: var(--panel2); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
.prose pre { background: #000; border: 1px solid var(--line); padding: 16px; border-radius: 10px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: 0.3em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.post-meta { color: var(--dim); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags a { font-size: 0.78rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.tags a:hover { border-color: var(--accent); color: var(--text); }
.post-list { display: grid; gap: 16px; }
.post-list .card h3 { font-family: var(--font); font-weight: 800; font-size: 1.3rem; }

/* ── Forum ────────────────────────────────────────────────────────────── */
.forum-main { padding: 28px 0 60px; }
.crumbs { font-size: 0.88rem; color: var(--dim); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.forum-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.forum-head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0; }
.list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.list-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; padding: 16px 18px; border-top: 1px solid var(--line); align-items: center; }
.list-row:first-child { border-top: 0; }
.list-row:hover { background: rgba(255, 255, 255, 0.025); }
.list-row .title { font-weight: 700; font-size: 1.04rem; color: var(--text); text-decoration: none; }
.list-row .title:hover { color: var(--accent); }
.list-row .desc { color: var(--muted); font-size: 0.9rem; margin: 2px 0 0; }
.list-row .stats { text-align: right; color: var(--dim); font-size: 0.84rem; white-space: nowrap; }
.list-row .stats b { color: var(--text); font-size: 1rem; }
.list-empty { padding: 28px; text-align: center; color: var(--muted); }
@media (max-width: 600px) { .list-row { grid-template-columns: 1fr; } .list-row .stats { text-align: left; } }
.pill { display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; margin-right: 6px; vertical-align: 2px; background: var(--panel2); color: var(--muted); border: 1px solid var(--line); }
.pill-pin { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.pill-staff { color: #ffd166; border-color: rgba(255, 209, 102, 0.5); }
.pill-hidden { color: #ff7b8f; border-color: rgba(255, 123, 143, 0.5); }
.post { display: grid; grid-template-columns: 150px 1fr; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); margin-bottom: 14px; overflow: hidden; }
.post.is-hidden { opacity: 0.6; border-style: dashed; }
.post-author { padding: 18px; border-right: 1px solid var(--line); background: rgba(0, 0, 0, 0.2); text-align: center; font-size: 0.85rem; color: var(--dim); }
.post-author a { color: var(--text); font-weight: 700; text-decoration: none; display: block; margin-top: 8px; word-break: break-word; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto; background: var(--grad); display: grid; place-items: center; font-weight: 800; color: #0a0612; font-size: 1.4rem; }
.avatar-sm { width: 28px; height: 28px; font-size: 0.8rem; display: inline-grid; vertical-align: middle; margin: 0 6px 0 0; }
.post-body { padding: 18px 22px; min-width: 0; }
.post-meta-row { display: flex; justify-content: space-between; gap: 10px; color: var(--dim); font-size: 0.82rem; margin-bottom: 10px; flex-wrap: wrap; }
.post-content { overflow-wrap: anywhere; }
.post-content p:last-child { margin-bottom: 0; }
.post-content blockquote { margin: 0.8em 0; padding: 2px 14px; border-left: 3px solid var(--accent); color: var(--muted); }
.post-content pre { background: #000; padding: 12px; border-radius: 8px; overflow-x: auto; }
.post-content code { font-family: var(--mono); font-size: 0.9em; }
.post-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.post-actions form { display: inline; margin: 0; }
.react { font: inherit; font-size: 0.9rem; background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.react.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.react:disabled { cursor: default; }
.linkish { font: inherit; font-size: 0.82rem; background: none; border: 0; color: var(--dim); cursor: pointer; padding: 4px 6px; text-decoration: underline; text-underline-offset: 3px; }
.linkish:hover { color: var(--text); }
.post-actions .spacer { flex: 1; }
@media (max-width: 640px) {
  .post { grid-template-columns: 1fr; }
  .post-author { display: flex; align-items: center; gap: 10px; text-align: left; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .post-author .avatar { width: 32px; height: 32px; margin: 0; font-size: 0.9rem; }
  .post-author a { margin: 0; }
}
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0; }
.pager a, .pager span { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: 0.9rem; }
.pager span.cur { background: var(--accent); border-color: var(--accent); color: #0a0612; font-weight: 800; }
.notice { padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel2); margin-bottom: 18px; }
.notice.warn { border-color: rgba(255, 209, 102, 0.5); }
.notice.err { border-color: rgba(255, 123, 143, 0.6); }
.notice.ok { border-color: rgba(109, 255, 179, 0.5); }
.login-box { max-width: 440px; margin: 40px auto; text-align: center; }
.login-box .btn { width: 100%; margin-top: 10px; }
.btn-discord { background: #5865f2; border-color: #5865f2; }
.btn-google { background: #fff; color: #1f1f1f; border-color: #fff; }
.btn-google:hover { color: #1f1f1f; background: #f1f1f1; }
.btn-steam { background: #171a21; border-color: #2a475e; }
.userbox { display: flex; align-items: center; gap: 8px; }
.userbox form { margin: 0; }
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-tabs a { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-weight: 600; }
.admin-tabs a[aria-current='page'] { background: var(--panel2); color: var(--text); border-color: var(--accent); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.data th, table.data td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data th { border-top: 0; color: var(--dim); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(0, 0, 0, 0.25); }
table.data form { display: inline; }
details.box { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; background: var(--panel); margin-bottom: 12px; }
details.box summary { cursor: pointer; font-weight: 700; }
.composer textarea { min-height: 180px; }
.md-help { font-size: 0.8rem; color: var(--dim); }
.search-hit { padding: 16px 18px; border-top: 1px solid var(--line); }
.search-hit:first-child { border-top: 0; }
.search-hit mark { background: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--text); border-radius: 3px; padding: 0 2px; }

/* ── Nightwave specifics ──────────────────────────────────────────────── */
.nw-hero { position: relative; min-height: min(92vh, 860px); display: grid; align-items: end; padding: 120px 0 72px; overflow: hidden; isolation: isolate; }
.nw-hero > picture, .nw-hero > img { position: absolute; inset: 0; z-index: -2; }
.nw-hero > picture img, .nw-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.nw-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 70% 15%, rgba(140, 90, 255, 0.3), transparent 55%), linear-gradient(180deg, rgba(7, 10, 26, 0.15) 0%, rgba(7, 10, 26, 0.55) 55%, var(--bg) 100%); }
.nw-logo { width: min(640px, 92%); margin: 0 0 6px -2%; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.7)); }
.nw-tag { font-family: 'Inter', sans-serif; font-weight: 900; letter-spacing: 0.32em; text-transform: uppercase; color: #b8a6ff; font-size: clamp(0.85rem, 2vw, 1.1rem); margin-bottom: 18px; text-shadow: 0 2px 10px #000; }
.nw-hero .lede { color: #dbe4ff; text-shadow: 0 2px 12px #000; max-width: 56ch; }
.land { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); min-height: 280px; display: flex; align-items: flex-end; padding: 22px; isolation: isolate; }
.land img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.5s; }
.land::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(5, 7, 20, 0.92)); }
.land:hover img { transform: scale(1.05); }
.land h3 { font-family: 'Cinzel', Georgia, serif; font-weight: 700; font-size: 1.35rem; margin-bottom: 4px; }
.land p { margin: 0; color: #cbd6f5; font-size: 0.92rem; }
.reqs { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.reqs dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 0.93rem; }
.reqs dt { color: var(--dim); }
.reqs dd { margin: 0; }
.steam-widget { width: 100%; max-width: 646px; height: 190px; border: 0; border-radius: 10px; }

/* ── Music specifics ──────────────────────────────────────────────────── */
.artist { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; padding: clamp(22px, 4vw, 40px); }
.artist-art { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); aspect-ratio: 1; }
.artist-art img { width: 100%; height: 100%; object-fit: cover; }
.artist h2 { margin-bottom: 6px; }
.manifesto { font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.55; }
.manifesto strong { color: var(--text); }
.ai-human { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 28px; }
.ai-human .card { text-align: center; }
.ai-human .big { font-family: var(--display); font-size: 2rem; display: block; margin-bottom: 6px; }
.spoiler { background: #000; color: transparent; border-radius: 4px; padding: 0 4px; cursor: pointer; }
.spoiler:hover, .spoiler:focus { color: inherit; background: var(--panel2); }
