/* =========================================================================
   ZonaPolaMaxwin — design system
   Light, restrained, typography-led. Single accent, small radii, minimal shadow.
   ========================================================================= */

:root {
  /* Color — galaxy dark theme */
  --bg: #0a0d1f;
  --surface: #141a33;
  --surface-2: #1b2340;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.30);
  --text: #eef1f8;
  --text-2: #a6b0c3;
  --text-3: #79839c;

  --accent: #8b5cf6;
  --accent-hover: #7c3aed;
  --accent-soft: rgba(139, 92, 246, 0.16);

  --success: #34d399;
  --success-soft: rgba(52, 211, 153, 0.14);
  --warning: #fbbf24;
  --warning-soft: rgba(251, 191, 36, 0.14);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.14);
  --info: #60a5fa;
  --info-soft: rgba(96, 165, 250, 0.14);
  --purple: #a78bfa;
  --purple-soft: rgba(167, 139, 250, 0.16);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Radius */
  --radius: 10px;
  --radius-sm: 6px;

  /* Shadow (sparing) */
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
}

/* ------------------------------------------------------------------ Base */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: #070a1a;
  background-image:
    radial-gradient(1px 1px at 25px 35px, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 90px 130px, rgba(255, 255, 255, 0.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 160px 45px, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 210px 175px, rgba(255, 255, 255, 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 70px 210px, rgba(255, 255, 255, 0.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 230px 95px, rgba(255, 255, 255, 0.4) 50%, transparent 51%),
    radial-gradient(1200px 800px at 12% -5%, rgba(124, 58, 237, 0.35), transparent 60%),
    radial-gradient(1000px 700px at 88% 15%, rgba(37, 99, 235, 0.30), transparent 60%),
    radial-gradient(900px 900px at 50% 108%, rgba(219, 39, 119, 0.22), transparent 62%),
    radial-gradient(700px 500px at 72% 62%, rgba(6, 182, 212, 0.15), transparent 60%),
    linear-gradient(165deg, #0a0d1f 0%, #0d1330 45%, #16082e 100%);
  background-size:
    240px 240px, 240px 240px, 240px 240px, 240px 240px, 240px 240px, 240px 240px,
    auto, auto, auto, auto, auto;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 var(--sp-3);
  letter-spacing: -0.01em;
}
h1 { font-size: 1.75rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1rem; }
h4 { font-size: 0.875rem; }

p { margin: 0 0 var(--sp-3); }

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

code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  background: var(--surface-2);
  padding: 1px 5px;
  border-radius: var(--radius-sm);
}

/* ------------------------------------------------------------------ Layout */
.container { max-width: 1080px; margin: 0 auto; padding: 0 var(--sp-5); }

.section { padding: var(--sp-6) 0; }
.section-title { font-size: 1.25rem; font-weight: 600; margin: 0 0 var(--sp-4); }

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin: var(--sp-6) 0 var(--sp-5);
}
.page-head h1 { margin: 0 0 var(--sp-1); }
.page-sub { color: var(--text-2); margin: 0; max-width: 60ch; }

.muted { color: var(--text-2); }
.small { font-size: 0.8125rem; }
.center { text-align: center; }
.mt-4 { margin-top: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.text-warning { color: var(--warning); }
.label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-3);
}

/* ------------------------------------------------------------------ Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: var(--sp-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand .brand-name {
  background: linear-gradient(90deg, #a78bfa 0%, #e879f9 50%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-logo { height: 26px; width: auto; display: block; border-radius: 6px; }
.brand:hover { text-decoration: none; }

/* Panel: pratinjau logo */
.logo-preview { display: flex; align-items: center; gap: var(--sp-3); }
.logo-thumb { height: 40px; width: auto; border-radius: 8px; border: 1px solid var(--border); }
.form-divider { border: 0; border-top: 1px solid var(--border); margin: var(--sp-3) 0; }

.nav { display: flex; align-items: center; gap: var(--sp-2); }
.nav a {
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a.active { color: var(--accent); background: var(--accent-soft); }

.user-chip {
  font-size: 0.8125rem;
  color: var(--text-2);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 1px; }

/* ------------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-outline { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { background: var(--surface-2); }

.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }

.btn-danger { background: var(--surface); border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); }

.btn-sm { padding: 6px 12px; font-size: 0.8125rem; }
.btn-lg { padding: 12px 20px; font-size: 0.9375rem; }
.btn-block { display: flex; width: 100%; }

/* ------------------------------------------------------------------ Flash */
.flash {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin: var(--sp-4) 0;
  font-size: 0.875rem;
}
.flash-error { background: var(--danger-soft); border-color: rgba(248, 113, 113, 0.35); color: #fca5a5; }
.flash-success { background: var(--success-soft); border-color: rgba(52, 211, 153, 0.35); color: #6ee7b7; }
.error-list { margin: 0; padding-left: 18px; }

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

/* ------------------------------------------------------------------ Hero */
.hero { padding: var(--sp-7) 0 var(--sp-6); max-width: 720px; }
.hero h1 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--sp-3); }
.hero p { font-size: 1.0625rem; color: var(--text-2); max-width: 56ch; }
.hero-actions { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }

/* ------------------------------------------------------------------ Game grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-4);
}
.game-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-4);
  color: var(--text);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.game-card:hover { text-decoration: none; border-color: var(--border-strong); box-shadow: var(--shadow); }

.game-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.game-logo--lg { width: 52px; height: 52px; font-size: 1.25rem; border-radius: var(--radius); }

.game-card-body { display: flex; flex-direction: column; gap: var(--sp-2); }
.game-name { font-size: 1rem; font-weight: 600; margin: 0; }
.game-meta { font-size: 0.8125rem; color: var(--text-3); margin: 0; }

.game-thumb {
  width: 100%;
  height: 96px;
  object-fit: contain;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
}
.game-thumb--lg {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  object-fit: contain;
  background: var(--surface-2);
  border-radius: var(--radius);
}

/* ------------------------------------------------------------------ Pola */
.pola-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.55;
}
.pola-line { color: var(--text-2); }
.pola-line:first-child { color: var(--text); font-weight: 600; }
.pola-block--sm { font-size: 0.75rem; }

/* ------------------------------------------------------------------ Landing */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
}
.feature-card h3 { margin-top: var(--sp-2); }
.feature-card p { margin: 0; }
.feature-icon { font-size: 1.5rem; line-height: 1; }
.cta-band { padding: var(--sp-6); }

.mini-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.8125rem;
  color: var(--text-2);
  margin-top: var(--sp-1);
}
.mini-stats strong { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------------ Tags */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text-2);
}
.badge-row { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-2); }

.badge-low { background: var(--info-soft); color: var(--info); }
.badge-medium { background: var(--warning-soft); color: var(--warning); }
.badge-high { background: var(--danger-soft); color: var(--danger); }
.badge-very-high { background: var(--purple-soft); color: var(--purple); }
.badge-active, .badge-high-activity { background: var(--success-soft); color: var(--success); }
.badge-observe { background: var(--surface-2); color: var(--text-2); }
.badge-status { background: var(--accent-soft); color: var(--accent); }

/* ------------------------------------------------------------------ Tables */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table th, .table td {
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-3);
  background: var(--surface);
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }

/* ------------------------------------------------------------------ Dashboard */
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin: var(--sp-6) 0 var(--sp-4);
}
.dash-head h1 { margin: 0 0 2px; }
.dash-head p { margin: 0; }

.grid { display: grid; gap: var(--sp-4); }
.dash-main { grid-template-columns: 1.6fr 1fr; margin-bottom: var(--sp-4); }

.rec-card { display: flex; flex-direction: column; gap: var(--sp-3); }
.rec-name { font-size: 1.5rem; margin: 0; }
.rec-score {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.rec-actions { display: flex; gap: var(--sp-2); margin-top: var(--sp-2); }
.radar-card { text-align: center; }
.radar-card canvas { max-width: 100%; height: auto; }

/* ------------------------------------------------------------------ Pattern */
.pattern { display: flex; gap: var(--sp-2); margin: var(--sp-2) 0; }
.dot {
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--text-2);
}
.dot-low { background: var(--info-soft); color: var(--info); }
.dot-medium { background: var(--warning-soft); color: var(--warning); }
.dot-high { background: var(--danger-soft); color: var(--danger); }

/* ------------------------------------------------------------------ Bonus */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4);
}
.bonus-card { display: flex; flex-direction: column; gap: var(--sp-2); }
.bonus-card h3 { margin: 0; }
.terms { font-size: 0.8125rem; color: var(--text-3); margin: 0; }

/* ------------------------------------------------------------------ Live bar */
.live-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-bottom: var(--sp-5);
  font-size: 0.875rem;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex: 0 0 auto;
}
.live-items { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.live-item strong { color: var(--text); font-weight: 600; }
.live-bar .muted { margin-left: auto; }

/* ------------------------------------------------------------------ Stats */
.stats-row {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: var(--sp-5);
}
.stat-box { text-align: left; padding: var(--sp-4); }
.stat-value { font-size: 1.25rem; font-weight: 600; margin-top: var(--sp-1); }

/* ------------------------------------------------------------------ Detail */
.detail-head {
  display: flex;
  gap: var(--sp-5);
  align-items: center;
  padding: var(--sp-6) 0 var(--sp-5);
  flex-wrap: wrap;
}
.detail-title { flex: 1; min-width: 240px; }
.detail-title h1 { font-size: 1.75rem; margin: 0 0 2px; }
.detail-title .btn { margin-top: var(--sp-4); }

/* ------------------------------------------------------------------ Profile */
.profile-grid { grid-template-columns: 1fr 1fr; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: var(--sp-2) var(--sp-4); margin: 0; }
.kv dt { color: var(--text-3); font-size: 0.875rem; }
.kv dd { margin: 0; font-size: 0.875rem; }
.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.summary-cards .stat-box { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: var(--sp-3); }
.summary-cards .stat-value { font-size: 1.25rem; }
.simple-list { margin: var(--sp-2) 0 0; padding-left: 18px; }
.simple-list li { margin-bottom: var(--sp-1); }

/* ------------------------------------------------------------------ Forms */
.form { display: flex; flex-direction: column; gap: var(--sp-4); }
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
}

input, select, textarea {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  width: 100%;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
input::placeholder { color: var(--text-3); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

.partner-pick { border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-4); margin: 0; }
.partner-pick legend { color: var(--text-2); font-size: 0.8125rem; font-weight: 500; padding: 0 var(--sp-2); }
.partner-option {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-2);
  cursor: pointer;
  flex-direction: row;
}
.partner-option:last-child { margin-bottom: 0; }
.partner-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.partner-option input { width: auto; }
.partner-name { font-weight: 600; font-size: 0.9375rem; color: var(--text); }

/* ------------------------------------------------------------------ Auth */
.auth-wrap { display: flex; justify-content: center; padding: var(--sp-7) 0; }
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-radius: var(--radius);
  padding: var(--sp-6);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(139, 92, 246, 0.05);
}
.auth-card h1 { font-size: 1.5rem; margin: 0 0 var(--sp-1); }

/* ------------------------------------------------------------------ Video tutorial */
.tutorial-section { text-align: center; }
.tutorial-video {
  --tutorial-width: 320px;
  width: min(var(--tutorial-width), 100%);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.24);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(139, 92, 246, 0.05);
  background: #000;
}
.tutorial-section .tutorial-video { margin: var(--sp-5) auto 0; }
.tutorial-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.bonus-with-video {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--sp-5);
  align-items: start;
}
.bonus-with-video > .tutorial-video { justify-self: center; }
@media (max-width: 720px) {
  .bonus-with-video { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: var(--sp-6); padding: var(--sp-6) 0; }
.footer-inner { display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.footer-inner p { margin: 0; color: var(--text-2); font-size: 0.875rem; }
.disclaimer { font-size: 0.8125rem; color: var(--text-3); max-width: 46ch; }

/* ------------------------------------------------------------------ Admin */
.admin-shell { display: flex; min-height: 100vh; }
.admin-side {
  width: 232px;
  flex: 0 0 232px;
  border-right: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  padding: var(--sp-5) var(--sp-4);
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-side .brand { padding: 0 var(--sp-2) var(--sp-4); }
.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.admin-nav a {
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}
.admin-nav a:hover { color: var(--text); text-decoration: none; background: var(--surface-2); }
.admin-nav a.active { color: var(--accent); background: var(--accent-soft); }
.admin-side-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: var(--sp-4);
}
.admin-side-foot a {
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}
.admin-side-foot a:hover { color: var(--text); text-decoration: none; background: var(--surface-2); }

.admin-content { flex: 1; min-width: 0; padding: var(--sp-6); }
.admin-content h1 { font-size: 1.5rem; margin-bottom: var(--sp-4); }

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-4) 0 var(--sp-6);
}
.toolbar { display: flex; gap: var(--sp-3); align-items: center; margin: var(--sp-4) 0; flex-wrap: wrap; }
.toolbar input, .toolbar select { width: auto; }
.inline-form { display: inline; }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-bottom: var(--sp-3);
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 12px; }
  .dash-main, .profile-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.75rem; }
  .page-head, .dash-head { flex-direction: column; align-items: flex-start; }
  .admin-shell { flex-direction: column; }
  .admin-side {
    width: 100%;
    flex: none;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    align-items: center;
    gap: var(--sp-3);
    overflow-x: auto;
  }
  .admin-side .brand { padding: 0; white-space: nowrap; }
  .admin-nav { flex-direction: row; gap: var(--sp-1); }
  .admin-nav a { white-space: nowrap; }
  .admin-side-foot { flex-direction: row; border-top: none; padding-top: 0; margin-top: 0; margin-left: auto; }
  .admin-side-foot a { white-space: nowrap; }
  .admin-content { padding: var(--sp-4) var(--sp-3); }
  .footer-inner { flex-direction: column; gap: var(--sp-2); }
}
