/* ─── Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0f14;
  --surface: #111922;
  --surface2: #19232f;
  --border: #243040;
  --border2: #2e3f52;
  --text: #dde4ec;
  --text-muted: #7a90a8;
  --text-dim: #445566;
  --accent: #00b3f5;
  --accent-hover: #29c4ff;
  --accent2: #e2747a;
  --accent2-hover: #f08086;
  --navy: #005276;
  --danger: #e2747a;
  --success: #4caf7d;
  --radius: 6px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

html { font-size: 15px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

button { cursor: pointer; font-family: inherit; }

/* ─── Layout ────────────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container--wide { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1.5rem;
  height: 54px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav__logo img { height: 28px; width: auto; display: block; }
.nav__logo span { color: var(--accent); }

.nav__links { display: flex; gap: 1.5rem; align-items: center; }
.nav__links a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.15s; }
.nav__links a:hover { color: var(--text); }

.nav__actions { margin-left: auto; display: flex; gap: 0.75rem; }

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border2); }
.btn--ghost:hover { background: var(--surface2); color: var(--text); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { opacity: 0.85; }
.btn--sm { padding: 0.3rem 0.7rem; font-size: 0.8rem; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ─── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* ─── Forms ─────────────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.field input,
.field textarea,
.field select {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 0.8rem;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 80px; }

/* ─── Badge ─────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border2);
}

/* ─── Toast ─────────────────────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  max-width: 320px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  animation: fadeSlideIn 0.2s ease;
}
.toast--success { border-color: var(--success); }
.toast--error { border-color: var(--danger); }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Home Page ─────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 3rem;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero h1 span { color: var(--accent); }
.hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto 2rem; }
.hero__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.section { padding: 2rem 0; }
.section__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.comp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.comp-card:hover { border-color: var(--border2); background: var(--surface2); }
.comp-card__title { font-weight: 600; margin-bottom: 0.4rem; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comp-card__meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.comp-card__thumb {
  width: 100%;
  height: 120px;
  background: var(--surface2);
  border-radius: 4px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  display: flex;
  gap: 2px;
}
.comp-card__thumb img { flex: 1; object-fit: cover; height: 100%; }

/* ─── Create Page ───────────────────────────────────────────────────────── */
.create-page { max-width: 680px; margin: 3rem auto; padding: 0 1.5rem; }
.create-page h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 2rem; }

.labels-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.75rem; }
.label-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.label-row input { flex: 1; }
.label-row .drag-handle {
  color: var(--text-dim);
  cursor: grab;
  padding: 0 4px;
  font-size: 1rem;
  user-select: none;
}

.drop-zone {
  border: 2px dashed var(--border2);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 0.9rem;
}
.drop-zone:hover, .drop-zone.drag-over { border-color: var(--accent); background: rgba(74, 142, 255, 0.04); }

.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.upload-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border);
}
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload-thumb__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  padding: 0.25rem 0.4rem;
  font-size: 0.7rem;
  color: #ddd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upload-thumb__rm {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #ccc;
  border-radius: 3px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.15s;
}
.upload-thumb:hover .upload-thumb__rm { opacity: 1; }

.upload-section { margin-bottom: 1.5rem; }
.upload-section h3 { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.5rem; }

.progress-bar {
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.progress-bar__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.3s ease;
  width: 0%;
}

/* ─── Viewer Page ───────────────────────────────────────────────────────── */
.viewer {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.viewer-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
  height: 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
  z-index: 50;
}

.viewer-nav__title {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.viewer-nav__frame {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.viewer-nav__controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.viewer-nav__icon-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  border-radius: 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.viewer-nav__icon-btn:hover { background: var(--surface2); color: var(--text); border-color: var(--border2); }
.viewer-nav__icon-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.viewer-main {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.images-row {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.image-slot {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.image-slot:last-child { border-right: none; }

.image-slot__header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  flex-shrink: 0;
}

.image-slot__body {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080808;
  cursor: zoom-in;
}

.image-slot__body img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.12s;
}

.image-slot__info {
  padding: 0.3rem 0.75rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-align: center;
  flex-shrink: 0;
}

/* ─── Viewer Bottom Bar ─────────────────────────────────────────────────── */
.viewer-bar {
  height: 52px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  flex-shrink: 0;
}

.viewer-bar__scrubber {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--border2);
  border-radius: 99px;
  outline: none;
  cursor: pointer;
}
.viewer-bar__scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: transform 0.1s;
}
.viewer-bar__scrubber::-webkit-slider-thumb:hover { transform: scale(1.2); }

.viewer-bar__nav-btn {
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text);
  border-radius: 5px;
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
  line-height: 1;
  transition: background 0.12s;
}
.viewer-bar__nav-btn:hover { background: var(--border2); }

/* ─── Split / Reveal Slider ─────────────────────────────────────────────── */
.split-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  cursor: col-resize;
}
.split-overlay__left {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.split-overlay__left img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.split-overlay__right {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.split-overlay__right img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.split-overlay__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: white;
  cursor: col-resize;
  z-index: 5;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}
.split-overlay__handle::before,
.split-overlay__handle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 8px solid transparent;
}
.split-overlay__handle::before {
  right: 3px;
  border-right-color: white;
  transform: translateY(-50%);
}
.split-overlay__handle::after {
  left: 3px;
  border-left-color: white;
  transform: translateY(-50%);
}

/* ─── Split mode controls ───────────────────────────────────────────────── */
.split-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.split-controls select {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  outline: none;
}
.split-controls label { color: var(--text-muted); }

/* ─── Zoom modal ────────────────────────────────────────────────────────── */
.zoom-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.zoom-modal img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  cursor: default;
}
.zoom-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.zoom-modal__close:hover { background: rgba(255,255,255,0.2); }

/* ─── Token reveal box ──────────────────────────────────────────────────── */
.token-box {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.token-box code {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.82rem;
  word-break: break-all;
  color: var(--accent);
}

/* ─── Docs Page ─────────────────────────────────────────────────────────── */
.docs-page { max-width: 820px; margin: 3rem auto; padding: 0 1.5rem 4rem; }
.docs-page h1 { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.docs-page h2 { font-size: 1.15rem; font-weight: 700; margin: 2.5rem 0 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.docs-page h3 { font-size: 0.95rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--text-muted); }
.docs-page p { color: var(--text-muted); margin-bottom: 0.75rem; }
.docs-page ul { color: var(--text-muted); padding-left: 1.25rem; margin-bottom: 0.75rem; }
.docs-page ul li { margin-bottom: 0.3rem; }
.docs-page pre {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 0.5rem 0 1rem;
}
.docs-page code {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
}
.docs-page pre code { color: var(--text); }

.endpoint {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.endpoint__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.endpoint__method {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
}
.endpoint__method--delete { background: var(--danger); }
.endpoint__method--get { background: var(--success); }
.endpoint__path { font-family: var(--mono); font-size: 0.85rem; }
.endpoint__body { padding: 1rem; }
.endpoint__desc { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 0.5rem; }

/* ─── Keys Page ─────────────────────────────────────────────────────────── */
.keys-page { max-width: 720px; margin: 3rem auto; padding: 0 1.5rem 4rem; }
.keys-page h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.keys-page p.subtitle { color: var(--text-muted); margin-bottom: 2rem; }

.keys-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.keys-table th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.keys-table td { padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--border); }
.keys-table tr:last-child td { border-bottom: none; }

/* ─── Misc utilities ────────────────────────────────────────────────────── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-muted { color: var(--text-muted); }
.text-mono { font-family: var(--mono); font-size: 0.82rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-dim);
}
.empty-state svg { display: block; margin: 0 auto 1rem; opacity: 0.3; }
.empty-state p { font-size: 0.9rem; }

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--border2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Loading overlay ───────────────────────────────────────────────────── */
.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ─── Auth Pages ────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.auth-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.auth-card__logo img { height: 48px; width: auto; }

.auth-card h1 {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.auth-card__sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

.auth-card .field { margin-bottom: 1rem; }

.auth-card__footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ─── Nav user menu ─────────────────────────────────────────────────────── */
.nav__user {
  position: relative;
}
.nav__user-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.3rem 0.7rem;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s;
}
.nav__user-btn:hover { background: var(--border); }

.nav__user-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  min-width: 160px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  z-index: 200;
  overflow: hidden;
  display: none;
}
.nav__user-dropdown.open { display: block; }
.nav__user-dropdown a,
.nav__user-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}
.nav__user-dropdown a:hover,
.nav__user-dropdown button:hover { background: var(--border); color: var(--text); }
.nav__user-dropdown hr { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── Admin Page ────────────────────────────────────────────────────────── */
.admin-page { max-width: 860px; margin: 3rem auto; padding: 0 1.5rem 4rem; }
.admin-page h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 2rem; }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .viewer-nav__title { display: none; }
  .image-slot__info { display: none; }
}
