/*
 * Fursuit Life Drawing — gallery redesign.
 * Fonts: Archivo (400-900) + Space Mono (400,700) from Google Fonts.
 * Theme: toggle [data-theme="dark"] on <html>; default is light.
 */
:root {
  /* ---- Light · "Gallery paper" ---- */
  --paper: #f3eee4;
  --surface: #fbf8f1;
  --surface-2: #e7e0d2;
  --ink: #18150f;
  --ink-soft: #423c31;
  --muted: #6b6356;
  --line: #e0d9ca;
  --line-strong: #cfc6b2;
  --accent: #8a2e74;
  --accent-2: #a3398a;
  --accent-contrast: #fbf8f1;
  --accent-tint: rgba(138, 46, 116, 0.09);
  --shadow-card: 0 1px 2px rgba(40,32,20,0.05), 0 8px 24px rgba(40,32,20,0.06);
  --shadow-pop: 0 24px 70px rgba(30,22,12,0.28);
  --mat: #fffdf8;
}
[data-theme="dark"] {
  /* ---- Dark · "Dim gallery / ink" ---- */
  --paper: #141118;
  --surface: #1d1924;
  --surface-2: #272231;
  --ink: #f0ecf4;
  --ink-soft: #d8d2e2;
  --muted: #b1a8c0;
  --line: #302a3b;
  --line-strong: #423b50;
  --accent: #cda6ff;
  --accent-2: #ddc3ff;
  --accent-contrast: #1a1320;
  --accent-tint: rgba(201, 162, 255, 0.12);
  --shadow-card: 0 1px 2px rgba(0,0,0,0.3), 0 10px 30px rgba(0,0,0,0.35);
  --shadow-pop: 0 30px 80px rgba(0,0,0,0.6);
  --mat: #221d2b;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background 0.5s ease, color 0.5s ease;
}
.serif { font-family: "Archivo", sans-serif; font-weight: 800; letter-spacing: -0.025em; }
.mono { font-family: "Space Mono", ui-monospace, monospace; }
a { color: inherit; }
button { font-family: inherit; }
::selection { background: var(--accent); color: var(--accent-contrast); }

/* paper grain on the whole gallery wall */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.38; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.025 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: 0.4; }
body > * { position: relative; z-index: 1; }

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 0.95rem clamp(1.1rem, 4vw, 2.6rem);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: inherit; cursor: pointer; }
.brand .mark { width: 38px; height: 38px; flex: none; color: var(--accent); }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; margin-bottom: 0.22rem;
}
.brand .name { font-family: "Archivo", sans-serif; font-size: 1.42rem; font-weight: 800; letter-spacing: -0.03em; }
.brand .name em { font-style: normal; }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

/* theme toggle */
.theme-toggle {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink-soft); cursor: pointer;
  display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle svg { width: 19px; height: 19px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  padding: 0.6rem 1.05rem; border-radius: 999px; font-size: 0.88rem; font-weight: 500;
  text-decoration: none; transition: background .18s, color .18s, border-color .18s, transform .12s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); font-weight: 600;
}
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--accent-contrast); box-shadow: 0 6px 18px var(--accent-tint); }
.btn svg { width: 16px; height: 16px; }

/* ===================== Exhibition masthead ===================== */
main { max-width: 1320px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.6rem) 5rem; }
.exhibition {
  text-align: left; padding: clamp(2.2rem, 5vw, 4rem) 0 0;
  position: relative;
}
.exhibition .kicker {
  font-family: "Space Mono", monospace;
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.exhibition .kicker::before {
  content: ""; width: 9px; height: 9px; background: var(--accent); border-radius: 999px;
}
.exhibition h1 {
  font-family: "Archivo", sans-serif; font-weight: 900;
  font-size: clamp(3rem, 10vw, 7.2rem); line-height: 0.92; margin: 1.1rem 0 0;
  letter-spacing: -0.045em; text-transform: none;
}
.exhibition h1 em { font-style: normal; color: var(--accent); }
.exhibition .meta {
  display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap;
  margin-top: 1.5rem; color: var(--muted); font-size: 0.8rem;
  font-family: "Space Mono", monospace; text-transform: uppercase; letter-spacing: 0.04em;
}
.exhibition .meta .dot { width: 4px; height: 4px; border-radius: 999px; background: var(--line-strong); }
.exhibition .meta strong { color: var(--ink-soft); font-weight: 700; }

/* ===================== Year switcher ===================== */
.year-switcher {
  display: flex; align-items: center; justify-content: flex-start; gap: 0.3rem;
  margin: 1.8rem 0 0; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 1.4rem;
}
.year-tab {
  position: relative; background: none; border: none; cursor: pointer;
  color: var(--muted); font-weight: 700; padding: 0.35rem 0.85rem;
  border-radius: 6px; transition: color .18s, background .18s;
  display: inline-flex; align-items: center; gap: 0.5rem; letter-spacing: -0.02em;
}
.year-tab .yr { font-family: "Archivo", sans-serif; font-size: 1.05rem; font-weight: 800; }
.year-tab:hover { color: var(--ink); }
.year-tab.active { color: var(--accent-contrast); background: var(--accent); }
.year-tab.active .yr { color: var(--accent-contrast); }
.year-tab .on-view {
  font-family: "Space Mono", monospace;
  font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-contrast); padding: 0.15rem 0.4rem; border-radius: 4px; font-weight: 700;
}

/* ===================== Toolbar (filter + count) ===================== */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin: 2.6rem 0 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.filters { display: flex; gap: 0.3rem; }
.filter-btn {
  background: none; border: none; cursor: pointer; color: var(--muted);
  font-family: "Space Mono", monospace; font-size: 0.78rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.4rem 0.8rem; border-radius: 6px;
  display: inline-flex; align-items: center; gap: 0.5rem; transition: color .18s, background .18s;
}
.filter-btn:hover { color: var(--ink); }
.filter-btn.active { color: var(--ink); background: var(--surface-2); font-weight: 700; }
.filter-btn .count {
  font-family: "Space Mono", monospace; font-size: 0.72rem; font-weight: 700; min-width: 1.3rem; text-align: center;
  background: var(--accent); color: var(--accent-contrast); border-radius: 4px; padding: 0.05rem 0.42rem;
}
.filter-btn .count:empty { display: none; }
.toolbar .total { color: var(--muted); font-family: "Space Mono", monospace; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.04em; }
.toolbar .total b { color: var(--ink-soft); font-weight: 700; }

/* ===================== Masonry gallery ===================== */
.gallery { column-gap: clamp(0.9rem, 1.6vw, 1.5rem); column-width: 300px; }
@media (max-width: 560px) { .gallery { column-width: 220px; } }

.card {
  break-inside: avoid; margin-bottom: clamp(0.9rem, 1.6vw, 1.5rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden; cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
  box-shadow: 0 1px 2px rgba(40,32,20,0.04);
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.card .frame { padding: 10px 10px 0; background: var(--mat); }
.card .img-wrap { overflow: hidden; background: var(--surface-2); position: relative; }
.card img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover img { transform: scale(1.035); }
.card .expand {
  position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 999px;
  background: color-mix(in srgb, var(--mat) 70%, transparent); backdrop-filter: blur(6px);
  display: grid; place-items: center; opacity: 0; transform: scale(0.8);
  transition: opacity .25s, transform .25s; color: var(--ink); border: 1px solid var(--line);
  cursor: pointer;
}
.card:hover .expand { opacity: 1; transform: scale(1); }
.card .expand svg { width: 15px; height: 15px; }

.card .body { padding: 0.9rem 0.95rem 1rem; }
.card .artist {
  font-family: "Archivo", sans-serif; font-size: 1.08rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.025em;
}
.card .artist .ext { font-size: 0.7rem; color: var(--muted); margin-left: 0.3rem; vertical-align: middle; }
.card .caption { color: var(--muted); font-family: "Space Mono", monospace; font-size: 0.74rem; margin: 0.3rem 0 0; letter-spacing: -0.01em; }
.card .tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }
.tag {
  font-family: "Space Mono", monospace; font-size: 0.7rem; font-weight: 400; padding: 0.2rem 0.55rem; border-radius: 5px;
  background: var(--surface-2); color: var(--ink-soft); border: 1px solid transparent;
}
.tag.muted { background: none; color: var(--muted); border: 1px dashed var(--line-strong); }
.tag .at { color: var(--accent); margin-right: 1px; }

/* ===================== Lightbox ===================== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: stretch; justify-content: center;
  background: rgba(12, 9, 16, 0.9);
  backdrop-filter: blur(12px); opacity: 0; pointer-events: none; transition: opacity .3s ease;
  /* Always a dark "cinema" context — keep text light-on-dark in both themes */
  --ink: #f4f0f7; --ink-soft: #ded8e7; --muted: #b2a9c2;
  --paper: #1c1824; --surface: #262030; --surface-2: #2f2839;
  --line: rgba(255,255,255,0.12); --line-strong: rgba(255,255,255,0.24);
  --accent: #d4abff; --accent-2: #e2c6ff; --accent-contrast: #1a1320; --mat: #f6f2eb;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-inner {
  margin: auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.85fr);
  gap: clamp(1rem, 3vw, 2.5rem); width: min(1180px, 94vw); max-height: 92vh;
  padding: clamp(1rem, 3vw, 2rem); align-items: center;
  transform: translateY(14px) scale(0.985); opacity: 0; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .4s;
}
.lightbox.open .lb-inner { transform: none; opacity: 1; }
.lb-stage { display: flex; align-items: center; justify-content: center; min-width: 0; max-height: 88vh; }
.lb-mat { background: var(--mat); padding: clamp(12px, 2vw, 26px); border-radius: 3px; box-shadow: var(--shadow-pop); max-height: 88vh; }
.lb-mat img { display: block; max-width: 100%; max-height: calc(88vh - 52px); width: auto; height: auto; border-radius: 1px; }

.lb-panel { color: var(--ink); align-self: center; max-height: 88vh; overflow-y: auto; }
.lb-panel .lb-kicker { font-family: "Space Mono", monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.lb-panel h2 { font-family: "Archivo", sans-serif; font-weight: 900; font-size: clamp(2.1rem, 4vw, 3.1rem); margin: 0.55rem 0 0; line-height: 0.98; letter-spacing: -0.04em; }
.lb-panel .lb-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.7rem; color: var(--accent); text-decoration: none; font-family: "Space Mono", monospace; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.lb-panel .lb-link:hover { text-decoration: underline; }
.lb-panel .lb-link svg { width: 14px; height: 14px; }
.lb-caption { color: var(--ink); font-size: 1.18rem; line-height: 1.45; margin: 1.2rem 0 0; font-weight: 500; letter-spacing: -0.01em; }
.lb-divider { height: 1px; background: var(--line-strong); margin: 1.5rem 0; }
.lb-section-label { font-family: "Space Mono", monospace; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 0.8rem; }
.lb-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.lb-meta-row { display: flex; gap: 2rem; margin-top: 1.4rem; font-size: 0.86rem; }
.lb-meta-row .k { display: block; font-family: "Space Mono", monospace; font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.lb-meta-row .v { color: var(--ink); font-weight: 700; }

.suggest { display: flex; gap: 0.5rem; margin-top: 1rem; }
.suggest input {
  flex: 1; min-width: 0; background: var(--paper); border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 8px; padding: 0.6rem 0.95rem; font-size: 0.88rem; font-family: inherit; transition: border-color .18s;
}
.suggest input:focus { outline: none; border-color: var(--accent); }
.suggest input::placeholder { color: var(--muted); }
.suggest .btn { padding: 0.55rem 1rem; }
.suggest-hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.6rem; min-height: 1.1em; line-height: 1.45; }
.suggest-hint.ok { color: var(--accent); font-weight: 700; }

/* lightbox chrome */
.lb-close, .lb-nav {
  position: fixed; z-index: 110; width: 48px; height: 48px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(8px); color: var(--ink); display: grid; place-items: center;
  transition: background .18s, color .18s, transform .15s, border-color .18s;
}
.lb-close:hover, .lb-nav:hover { color: var(--accent); border-color: var(--accent); }
.lb-close { top: 1.4rem; right: 1.4rem; }
.lb-close:active, .lb-nav:active { transform: scale(0.92); }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav:active { transform: translateY(-50%) scale(0.92); }
.lb-nav.prev { left: 1.4rem; } .lb-nav.next { right: 1.4rem; }
.lb-close svg, .lb-nav svg { width: 20px; height: 20px; }
.lb-counter { position: fixed; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 110; color: var(--ink-soft); font-family: "Space Mono", monospace; font-size: 0.76rem; letter-spacing: 0.06em; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(8px); padding: 0.35rem 0.85rem; border-radius: 6px; border: 1px solid var(--line-strong); }

@media (max-width: 860px) {
  .lb-inner { grid-template-columns: 1fr; gap: 1.2rem; max-height: none; overflow-y: auto; align-content: start; }
  .lb-stage { max-height: 56vh; } .lb-mat { max-height: 56vh; } .lb-mat img { max-height: calc(56vh - 36px); }
  .lb-nav { top: auto; bottom: 1.6rem; transform: none; } .lb-nav:active { transform: scale(.92); }
  .lb-nav.prev { left: 1.4rem; } .lb-nav.next { right: 1.4rem; } .lb-counter { bottom: 1.6rem; }
}

/* ===================== Empty state ===================== */
.empty {
  text-align: center; color: var(--muted); padding: 5rem 1rem;
  font-family: "Archivo", sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em;
}
.empty a { color: var(--accent); }

/* ===================== Submit view ===================== */
.submit-wrap { max-width: 620px; margin: clamp(2rem, 5vw, 4rem) auto 5rem; }
.submit-head { text-align: left; margin-bottom: 2rem; }
.submit-head .kicker { font-family: "Space Mono", monospace; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.submit-head h1 { font-family: "Archivo", sans-serif; font-weight: 900; font-size: clamp(2.4rem, 6vw, 3.8rem); margin: 0.6rem 0 0.5rem; letter-spacing: -0.04em; line-height: 0.95; }
.submit-head p { color: var(--muted); margin: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-card); }
.field { margin-bottom: 1.3rem; }
.field > label { display: block; font-family: "Space Mono", monospace; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 0.55rem; }
.field input[type="text"], .field input[type="url"], .field textarea {
  width: 100%; background: var(--paper); border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 8px; padding: 0.7rem 0.9rem; font-size: 0.95rem; font-family: inherit; transition: border-color .18s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 84px; }
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; }

.dropzone {
  border: 1.5px dashed var(--line-strong); border-radius: 10px; background: var(--paper);
  padding: 2rem 1rem; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; color: var(--muted);
  position: relative; overflow: hidden;
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--accent-tint); color: var(--ink-soft); }
.dropzone .dz-icon { width: 34px; height: 34px; margin: 0 auto 0.7rem; color: var(--accent); }
.dropzone .dz-strong { color: var(--ink); font-weight: 700; }
.dropzone img.preview { max-width: 100%; max-height: 240px; border-radius: 6px; display: block; margin: 0 auto; box-shadow: var(--shadow-card); }
.dropzone .replace { font-family: "Space Mono", monospace; font-size: 0.72rem; margin-top: 0.7rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }

/* multi-file list with a caption per image */
.file-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.8rem; }
.file-list:empty { margin-top: 0; }
.file-item {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px; padding: 0.55rem;
}
.file-item .thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; flex: none; background: var(--surface-2); }
.file-item .file-meta { flex: 1; min-width: 0; }
.file-item .file-name {
  font-family: "Space Mono", monospace; font-size: 0.7rem; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 0.3rem;
}
.file-item .file-caption {
  width: 100%; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 7px; padding: 0.45rem 0.65rem; font-size: 0.88rem; font-family: inherit; transition: border-color .18s;
}
.file-item .file-caption:focus { outline: none; border-color: var(--accent); }
.file-item .file-remove {
  flex: none; width: 32px; height: 32px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted);
  display: grid; place-items: center; transition: color .15s, border-color .15s, transform .12s;
}
.file-item .file-remove:hover { color: var(--accent); border-color: var(--accent); }
.file-item .file-remove:active { transform: scale(0.92); }
.file-item .file-remove svg { width: 15px; height: 15px; }

.submit-actions { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.submit-actions .btn-primary { padding: 0.7rem 1.5rem; font-size: 0.95rem; }
.form-msg { margin-top: 1.2rem; padding: 0.85rem 1.1rem; border-radius: 8px; font-size: 0.9rem; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--accent-tint); color: var(--accent); border: 1px solid var(--accent); }
.form-msg.err { background: rgba(179,50,75,0.1); color: #b3324b; border: 1px solid #b3324b; }

.success-card { text-align: center; padding: 3rem 1.5rem; }
.success-card .check { width: 64px; height: 64px; margin: 0 auto 1.3rem; border-radius: 999px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }
.success-card .check svg { width: 30px; height: 30px; }
.success-card h2 { font-family: "Archivo", sans-serif; font-weight: 900; font-size: 2.4rem; margin: 0 0 0.5rem; letter-spacing: -0.04em; }
.success-card p { color: var(--muted); margin: 0 auto 1.6rem; max-width: 38ch; }

.footer-note { text-align: center; color: var(--muted); font-family: "Space Mono", monospace; font-size: 0.74rem; letter-spacing: 0.02em; padding: 3rem 1rem 1rem; border-top: 1px solid var(--line); margin-top: 3rem; }
.footer-note .heart { color: var(--accent); }

.hidden { display: none !important; }

/* ===================================================================
 * Admin / moderation page — NOT part of the redesign. Styled with the
 * same design tokens so it stays coherent and usable in light mode.
 * =================================================================== */
.site-header .brand h1 { font-family: "Archivo", sans-serif; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.site-header .tagline { font-family: "Space Mono", monospace; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.site-header .brand { align-items: baseline; }
header nav { display: flex; gap: 0.6rem; }

.btn-small { padding: 0.32rem 0.75rem; font-size: 0.8rem; }
.btn-danger { background: #b3324b; border-color: #b3324b; color: #fff; }
.btn-danger:hover { background: #99293f; border-color: #99293f; color: #fff; }

.msg { margin-top: 1rem; padding: 0.7rem 0.95rem; border-radius: 8px; font-size: 0.9rem; }
.msg.ok { background: var(--accent-tint); border: 1px solid var(--accent); color: var(--accent); }
.msg.err { background: rgba(179,50,75,0.1); border: 1px solid #b3324b; color: #b3324b; }
.msg.hidden { display: none; }

.empty-state { text-align: center; color: var(--muted); padding: 4rem 1rem; }

#login-form { max-width: 460px; margin: 3rem auto; }

.admin-group { margin-bottom: 2.6rem; }
.admin-group h2 { font-family: "Archivo", sans-serif; font-weight: 800; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); padding-bottom: 0.4rem; }

.field input[type="password"], .field input[type="file"], .field select {
  width: 100%; background: var(--paper); border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 8px; padding: 0.7rem 0.9rem; font-size: 0.95rem; font-family: inherit; transition: border-color .18s;
}
.field input[type="password"]:focus, .field select:focus { outline: none; border-color: var(--accent); }

.review-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; padding: 0.9rem; margin-bottom: 0.8rem;
}
.review-item img { width: 120px; height: 120px; object-fit: cover; border-radius: 6px; flex: none; background: var(--surface-2); }
.review-item .meta { flex: 1; min-width: 0; }
.review-item .meta .caption { color: var(--muted); font-size: 0.9rem; }
.review-item .actions { display: flex; gap: 0.5rem; margin-top: 0.6rem; }

.event-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.65rem 0.85rem; margin-bottom: 0.6rem;
}
.event-row .actions { display: flex; gap: 0.5rem; }
.badge {
  display: inline-block; margin-left: 0.5rem; background: var(--accent); color: var(--accent-contrast);
  border-radius: 5px; padding: 0.08rem 0.5rem; font-family: "Space Mono", monospace;
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; vertical-align: middle;
}
.inline-form { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.6rem; }
.inline-form input[type="text"] {
  background: var(--paper); border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 8px; padding: 0.55rem 0.75rem; font-size: 0.9rem; font-family: inherit; flex: 1; min-width: 180px;
}
.inline-form input[type="text"]:focus { outline: none; border-color: var(--accent); }
.inline-form .checkbox { display: flex; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
