:root {
  --bg: #0a0a0f;
  --hero: #020617;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --panel: #111827;
  --line: #1f2937;
  --primary: #3b82f6;
  --accent: #8b5cf6;
  --rose: #fb7185;
  --red: #e11d48;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; }
body { min-height: 100vh; }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .8rem 1rem; background: rgba(10,10,15,.9); border-bottom: 1px solid var(--line);
}
.brand { font-family: "Space Grotesk", sans-serif; font-weight: 700; text-decoration: none; }
.brand span { background: linear-gradient(90deg, #fff, #fb7185, #e11d48); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-actions, .tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.tabs { padding: .8rem 1rem 0; }
.btn, .tab {
  border: 0; border-radius: 10px; padding: .65rem .9rem; cursor: pointer;
  background: #1e293b; color: var(--text);
}
.btn.primary { background: linear-gradient(90deg, #3b82f6, #8b5cf6); color: white; font-weight: 700; }
.tab[aria-selected="true"] { background: linear-gradient(90deg, #3b82f6, #8b5cf6); color: white; }
.wrap { width: min(980px, calc(100% - 2rem)); margin: 0 auto; padding: 1.2rem 0 3rem; }
.hero { background: var(--hero); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: .2rem 0 .6rem; background: linear-gradient(90deg, #fff, #fb7185, #e11d48); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.card, .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; margin-bottom: .8rem; }
.grid { display: grid; gap: .8rem; }
label { display: grid; gap: .3rem; font-size: .85rem; margin-bottom: .6rem; }
input, textarea, select { background: #0b1220; border: 1px solid var(--line); border-radius: 10px; padding: .7rem; }
.media { width: 100%; max-height: 420px; object-fit: cover; border-radius: 10px; background: #000; }
.row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.error { color: #fda4af; }
.ok { color: #86efac; }
.bar { height: 8px; background: #1e293b; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, #3b82f6, #8b5cf6); width: 0; }
dialog { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 16px; width: min(460px, calc(100% - 2rem)); }
dialog::backdrop { background: rgba(0,0,0,.7); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
