@font-face {
  font-family: 'Hasklig';
  src: url('/static/fonts/Hasklig-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hasklig';
  src: url('/static/fonts/Hasklig-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hasklig';
  src: url('/static/fonts/Hasklig-Semibold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hasklig';
  src: url('/static/fonts/Hasklig-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --mono: 'Hasklig', 'Source Code Pro', ui-monospace, monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --glass-bg:        rgba(255,255,255,0.07);
  --glass-bg-heavy:  rgba(255,255,255,0.11);
  --glass-border:    rgba(255,255,255,0.14);
  --glass-highlight: rgba(255,255,255,0.22);
  --glass-blur:      blur(28px) saturate(160%);

  --text:   #f0ece4;
  --muted:  rgba(240,236,228,0.55);
  --accent: rgba(255,255,255,0.90);
  --danger: #e07060;
  --radius: 12px;
  --radius-sm: 8px;
}

/* ── Canvas ── */
#bg-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  display: block;
}
body {
  background: #0d0a07;
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body.no-webgl { background: linear-gradient(135deg,#1a1208,#081a2a,#1a0f08); }

/* ── Glass primitive ── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}
.glass-heavy {
  background: var(--glass-bg-heavy);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,8,6,0.45);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
}
.header-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 1.25rem;
  height: 58px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.site-title {
  font-family: var(--mono);
  font-weight: 600; font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.header-actions select {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-family: var(--mono);
  max-width: 140px;
  cursor: pointer;
}

/* ── Buttons ── */
.btn {
  font-family: var(--mono);
  font-size: 0.82rem; font-weight: 500;
  padding: 0.5rem 1rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--glass-bg-heavy); border-color: var(--glass-highlight); text-decoration: none; }
.btn:active { opacity: 0.75; }
.btn-primary {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  font-weight: 600;
}
.btn-primary:hover { background: rgba(255,255,255,0.22); }
.btn-danger { border-color: rgba(224,112,96,0.4); color: #e07060; }
.btn-danger:hover { background: rgba(224,112,96,0.15); }
.btn-large { width: 100%; padding: 0.85rem 1.5rem; font-size: 0.95rem; margin-top: 0.75rem; }
.link-btn {
  background: none; border: none; color: rgba(240,236,228,0.7);
  font-family: var(--mono); font-size: inherit;
  cursor: pointer; padding: 0;
  text-decoration: underline; text-underline-offset: 3px;
  min-height: 44px; display: inline-flex; align-items: center;
}

/* ── Gallery — main ── */
main.gallery { max-width: 1440px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }

.empty {
  text-align: center; padding: 5rem 1rem;
  color: var(--muted);
  font-family: var(--mono); font-size: 1rem;
}

/* ── Event section ── */
.event-section { margin-bottom: 3rem; }

/* Hero */
.event-hero {
  position: relative;
  width: 100%; aspect-ratio: 16/7;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 600px) {
  .event-hero { aspect-ratio: 4/3; }
}
.hero-media {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.event-hero:hover .hero-media { transform: scale(1.025); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
  display: flex; align-items: flex-end;
  padding: 1.25rem 1.25rem 1.25rem;
}
.event-pill {
  border-radius: 999px;
  padding: 0.45rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.event-name {
  font-family: var(--mono);
  font-weight: 600; font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.event-date { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.event-count { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }

/* Grid below hero */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 6px;
}
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; } }

.tile {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: rgba(255,255,255,0.04);
  aspect-ratio: 1;
  -webkit-tap-highlight-color: transparent;
}
.tile img, .tile video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 0.4rem 0.5rem;
}
.uploader {
  font-family: var(--mono); font-size: 0.68rem;
  color: rgba(255,255,255,0.8);
}
@media (hover: hover) {
  .tile-overlay { opacity: 0; transition: opacity 0.2s; }
  .tile:hover .tile-overlay { opacity: 1; }
  .tile img, .tile video { transition: transform 0.25s; }
  .tile:hover img, .tile:hover video { transform: scale(1.04); }
}

/* Delete button — grid and hero */
.tile-delete, .hero-delete {
  position: absolute; top: 6px; right: 6px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(224,112,96,0.3);
  color: #e07060;
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 1.1rem; line-height: 1;
  cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.tile-delete:active, .hero-delete:active { background: rgba(200,60,40,0.7); color: #fff; }
@media (hover: hover) {
  .tile-delete, .hero-delete { opacity: 0; transition: opacity 0.15s; }
  .tile:hover .tile-delete, .event-hero:hover .hero-delete { opacity: 1; }
  .tile-delete:hover, .hero-delete:hover { background: rgba(200,60,40,0.75); color: #fff; }
}

.play-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 1.8rem; color: rgba(255,255,255,0.88);
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.lightbox.hidden { display: none; }
.lb-content {
  max-width: 95vw; max-height: 82vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-content img, .lb-content video {
  max-width: 95vw; max-height: 82vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
}
.lb-close {
  position: absolute; top: 0; right: 0;
  width: 58px; height: 58px;
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 1.8rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--text); font-size: 1.6rem;
  width: 48px; height: 64px; cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.lb-prev { left: 0.5rem; }
.lb-next { right: 0.5rem; }
.lb-footer {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 0.85rem; min-height: 44px;
}
.lb-caption { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.lb-delete {
  background: none; border: none;
  font-family: var(--mono); font-size: 0.78rem;
  color: #e07060; cursor: pointer;
  min-height: 44px; display: flex; align-items: center; gap: 0.3rem;
  padding: 0 0.25rem;
}

/* ── Login / Upload / Admin cards ── */
.page-main {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem 1.25rem;
}
.card {
  width: 100%; max-width: 480px;
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1rem;
}

.card h2 {
  font-family: var(--mono);
  font-weight: 600; font-size: 1.1rem;
  margin-bottom: 0.6rem; letter-spacing: -0.02em;
}
.hint {
  color: var(--muted); font-size: 0.82rem;
  margin-bottom: 1rem; line-height: 1.5;
  font-family: var(--mono);
}
.error { color: #e07060; font-family: var(--mono); font-size: 0.82rem; margin-top: 0.5rem; }

/* Token input row */
.token-row { display: flex; gap: 0.5rem; }
.token-row input {
  flex: 1; min-height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  font-family: var(--mono); font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.token-row input:focus { outline: none; border-color: rgba(255,255,255,0.35); }

/* Field */
.field { margin-bottom: 1rem; }
.field label {
  display: block; font-family: var(--mono);
  font-size: 0.75rem; color: var(--muted);
  margin-bottom: 0.35rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.field select, .field input[type="text"] {
  width: 100%; min-height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  color: var(--text); border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  font-family: var(--mono); font-size: 0.9rem;
}
.field select:focus, .field input:focus { outline: none; border-color: rgba(255,255,255,0.35); }

/* Uploader badge */
.uploader-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-family: var(--mono); font-size: 0.85rem;
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.6rem; color: var(--muted);
}
.uploader-badge strong { color: var(--text); }

/* Drop zone */
.drop-zone {
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.drop-zone.dragover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
}
.drop-icon { font-size: 2.2rem; margin-bottom: 0.65rem; }
.drop-inner p { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); margin-bottom: 0.4rem; }
.drop-tap-btn { display: none; margin: 0.75rem auto 0; max-width: 220px; }
@media (hover: none) {
  .drop-drag-hint { display: none; }
  .drop-tap-btn { display: flex; }
}
.visually-hidden { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* File list */
#file-list { margin-top: 0.85rem; display: flex; flex-direction: column; gap: 0.4rem; }
.file-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--mono);
}
.file-item-name { flex:1; font-size:0.78rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.file-item-size { font-size:0.72rem; color:var(--muted); white-space:nowrap; }
.file-item-status { font-size:0.72rem; white-space:nowrap; }
.status-pending { color:var(--muted); }
.status-uploading { color:rgba(255,255,255,0.8); }
.status-done { color:#72c98a; }
.status-error { color:#e07060; }
progress { width:52px; height:4px; accent-color: rgba(255,255,255,0.6); }

/* ── Admin ── */
.admin-main { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }
.admin-tabs {
  display: flex; gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.tab-btn {
  background: none; border: none; color: var(--muted);
  font-family: var(--mono); font-size: 0.82rem;
  padding: 0.65rem 1.1rem; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap; min-height: 44px;
  transition: color 0.15s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--text); border-bottom-color: rgba(255,255,255,0.6); }
.tab-content.hidden { display: none; }
.tab-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tab-header h2 { font-family: var(--mono); font-size: 1rem; font-weight: 600; }
.filter-row input {
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
  color: var(--text); padding: 0.4rem 0.75rem; border-radius: var(--radius-sm);
  font-family: var(--mono); font-size: 0.82rem; min-height: 44px;
}
.inline-form { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.inline-form input {
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
  color: var(--text); padding: 0.45rem 0.75rem; border-radius: var(--radius-sm);
  font-family: var(--mono); font-size: 0.82rem; min-height: 44px;
}

.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 0.65rem; }
.admin-tile {
  border-radius: var(--radius-sm); overflow: hidden; position: relative;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
}
.admin-tile img, .admin-tile video { width:100%; height:120px; object-fit:cover; display:block; }
.admin-tile-info { padding: 0.4rem 0.5rem; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.admin-tile-info strong { color: var(--text); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-tile-delete {
  position: absolute; top: 4px; right: 4px;
  background: rgba(0,0,0,0.6); border: 1px solid rgba(224,112,96,0.3);
  border-radius: 50%; width: 32px; height: 32px;
  color: #e07060; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
@media (hover: hover) {
  .admin-tile-delete { opacity: 0; transition: opacity 0.15s; }
  .admin-tile:hover .admin-tile-delete { opacity: 1; }
  .admin-tile-delete:hover { background: rgba(200,60,40,0.75); color: #fff; }
}

.events-table, .tokens-table, .stats-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--mono); font-size: 0.8rem;
}
.events-table th, .tokens-table th, .stats-table th {
  text-align: left; color: var(--muted); font-weight: 500;
  padding: 0.4rem 0.75rem; border-bottom: 1px solid var(--glass-border);
  text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.06em;
}
.events-table td, .tokens-table td, .stats-table td {
  padding: 0.65rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: middle;
}
.token-code { color: var(--muted); letter-spacing: 0.02em; }

/* ── Reactions ── */
.hero-overlay { justify-content: space-between; }

.rx-row {
  position: absolute;
  bottom: 6px; left: 6px;
  display: flex; flex-wrap: wrap; gap: 3px;
  align-items: center;
  z-index: 6;
  pointer-events: auto;
}
.event-hero .rx-row {
  position: static;           /* hero: inline in overlay flex row */
  align-self: flex-end;
}

.rx-pill {
  display: inline-flex; align-items: center; gap: 3px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 0 7px;
  height: 22px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  max-width: 40px;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.28s ease, background 0.15s, border-color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.rx-pill.mine {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.38);
}
.rx-pill .rx-emoji { font-size: 0.78rem; line-height: 1; flex-shrink: 0; }
.rx-pill .rx-count {
  font-family: var(--mono); font-size: 0.68rem;
  color: rgba(255,255,255,0.85); flex-shrink: 0;
}
.rx-pill .rx-names {
  font-family: var(--mono); font-size: 0.62rem;
  color: rgba(255,255,255,0.65);
  max-width: 0; overflow: hidden;
  transition: max-width 0.28s ease;
  padding-left: 0;
}
.rx-pill.expanded { max-width: 180px; }
.rx-pill.expanded .rx-names { max-width: 140px; padding-left: 2px; }

.rx-add {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  font-size: 0.82rem; font-family: var(--mono);
  color: rgba(255,255,255,0.6);
  cursor: pointer; line-height: 1;
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.rx-add:active { background: rgba(255,255,255,0.22); color: var(--text); }
@media (hover: hover) {
  .rx-add:hover { background: rgba(255,255,255,0.18); color: var(--text); border-color: rgba(255,255,255,0.32); }
}

/* Picker (position: fixed, appended to body) */
.rx-picker {
  position: fixed;
  background: var(--glass-bg-heavy);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 7px;
  display: none;
  grid-template-columns: repeat(5, 36px);
  gap: 2px;
  z-index: 800;
  transform-origin: bottom left;
}
.rx-picker.open {
  display: grid;
  animation: rx-pop 0.12s ease;
}
@keyframes rx-pop {
  from { transform: scale(0.82); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.rx-picker button {
  width: 36px; height: 36px;
  background: none; border: none;
  font-size: 1.25rem; cursor: pointer;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.1s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.rx-picker button:active { transform: scale(0.88); }
@media (hover: hover) {
  .rx-picker button:hover { background: rgba(255,255,255,0.12); transform: scale(1.18); }
}

/* Lightbox reactions */
.lb-reactions {
  display: flex; flex-wrap: wrap; gap: 5px;
  align-items: center; margin: 0.4rem 0;
}
.lb-rx-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 4px 10px; height: 28px;
  font-size: 0.75rem; cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.lb-rx-pill.mine { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.40); }
.lb-rx-pill:active { background: rgba(255,255,255,0.28); }
.lb-rx-pill .rx-emoji { font-size: 0.88rem; }
.lb-rx-pill .rx-names { font-family: var(--mono); color: var(--muted); }
.lb-rx-add {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  font-size: 0.9rem; font-family: var(--mono);
  color: rgba(255,255,255,0.6); cursor: pointer;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.lb-rx-add:active { background: rgba(255,255,255,0.22); color: var(--text); }

.hidden { display: none !important; }

@media (max-width: 480px) {
  .header-inner { padding: 0 0.85rem; }
  .site-title { font-size: 0.88rem; }
  .btn { font-size: 0.76rem; padding: 0.45rem 0.7rem; }
  .card { padding: 1.25rem; }
  .admin-main { padding: 1rem 0.85rem 3rem; }
}
