:root {
  --bg: #0a0c12;
  --panel: rgba(17, 21, 32, 0.82);
  --panel-strong: rgba(20, 24, 36, 0.94);
  --line: rgba(255,255,255,0.08);
  --text: #f5f7fb;
  --muted: #a6afc3;
  --primary: linear-gradient(135deg, #7c5cff, #00d4ff);
  --shadow: 0 20px 50px rgba(0,0,0,.35);
  --radius: 24px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: radial-gradient(circle at top, #151b2d 0%, #0a0c12 48%, #07080c 100%); color: var(--text); font-family: Inter, sans-serif; }
a { color: inherit; text-decoration: none; }
body { min-height: 100vh; }
.bg-orb { position: fixed; inset: auto; width: 34rem; height: 34rem; filter: blur(90px); opacity: .18; pointer-events: none; z-index: 0; }
.orb-a { top: -7rem; right: -7rem; background: #00d4ff; }
.orb-b { bottom: -10rem; left: -6rem; background: #7c5cff; }
.shell { width: min(1280px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 1; }
.shell-narrow { width: min(560px, calc(100% - 32px)); }
.shell-medium { width: min(860px, calc(100% - 32px)); }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 16px; }
.brand { font-size: 1.1rem; font-weight: 800; letter-spacing: .02em; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--muted); }
nav a:hover { color: white; }
.page-head, .between-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.align-start { align-items: flex-start; }
.gap-xl { gap: 40px; }
.gap-sm { gap: 10px; }
.page-head { padding: 22px 0 10px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.02; margin-bottom: 12px; }
h2 { font-size: 1.35rem; margin-bottom: 18px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
p { color: var(--muted); line-height: 1.6; }
.eyebrow { display: inline-flex; padding: 7px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.04); color: #dbe2f3; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.panel, .hero-card, .album-card, .media-card, .empty-state { background: var(--panel); backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); }
.hero-card, .panel, .empty-state { padding: 28px; }
.login-card { margin-top: 10vh; }
.stack-form { display: grid; gap: 16px; }
.stack-form.compact { gap: 14px; }
label { display: grid; gap: 8px; font-weight: 600; }
input, textarea, select { width: 100%; padding: 15px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.04); color: white; font: inherit; }
textarea { resize: vertical; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; border-radius: 16px; border: 1px solid transparent; font-weight: 700; cursor: pointer; transition: .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: white; }
.btn-secondary, .btn-ghost { background: rgba(255,255,255,.06); color: white; border-color: rgba(255,255,255,.1); }
.btn-danger { background: rgba(255, 82, 108, .14); color: #ffd7df; border-color: rgba(255, 82, 108, .24); }
.btn-approve { background: linear-gradient(135deg, #0dbb88, #0dd1a1); color: white; }
.btn-review { background: linear-gradient(135deg, #d29f20, #ffcf53); color: #1a1200; }
.btn-reject { background: linear-gradient(135deg, #dc4d69, #ff6f8c); color: white; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; padding: 14px 0 30px; }
.album-card { padding: 22px; transition: .2s ease; }
.album-card:hover, .media-card:hover { transform: translateY(-3px); }
.album-card-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.status-chip, .decision-chip { display: inline-flex; padding: 8px 10px; border-radius: 999px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.status-chip.open, .decision-chip.approved { background: rgba(16, 208, 146, .12); color: #67f2c3; }
.status-chip.closed, .decision-chip.rejected { background: rgba(255, 91, 121, .12); color: #ff9eb0; }
.status-chip.draft, .decision-chip.pending, .decision-chip.review { background: rgba(255,255,255,.08); color: #dce5f8; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.stats-row.tight { margin-top: 14px; }
.stats-row > div { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.05); border-radius: 18px; padding: 14px; }
.stats-row strong { display: block; font-size: 1.2rem; margin-bottom: 4px; }
.stats-row span { color: var(--muted); font-size: .9rem; }
.split-panel { display: grid; grid-template-columns: 1.25fr .95fr; gap: 24px; }
.share-box { display: grid; gap: 14px; }
.gallery-grid { display: grid; gap: 18px; }
.admin-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.public-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); padding-bottom: 40px; }
.media-card { overflow: hidden; }
.media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #0d1017; }
.media-body { padding: 18px; }
.media-actions, .triple-actions, .action-wrap { display: flex; gap: 12px; flex-wrap: wrap; }
.review-note { margin: 14px 0; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.lightbox-link { position: relative; display: block; }
.zoom-pill { position: absolute; right: 14px; bottom: 14px; padding: 10px 12px; border-radius: 999px; background: rgba(7, 8, 12, .68); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 700; }
.empty-state { margin-top: 18px; text-align: center; }
.flash-stack { display: grid; gap: 10px; margin: 12px 0 18px; }
.flash { padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); }
.flash.success { background: rgba(16, 208, 146, .12); color: #aaf5dd; }
.flash.error { background: rgba(255, 91, 121, .12); color: #ffd4dc; }
.muted { color: var(--muted); }
.public-hero { margin-bottom: 20px; }
@media (max-width: 900px) {
  .split-panel, .page-head, .between-row { grid-template-columns: 1fr; display: grid; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 20px, 100%); }
  .hero-card, .panel, .empty-state { padding: 20px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .triple-actions, .action-wrap, .media-actions, nav, .topbar { display: grid; }
}
