/* ==========================================================================
   SV Lomitz v2 — Design-System
   Stil: warm & rustikal, Vereinsheim-Charakter, mit modernen Scroll-Animationen
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-latin-900-normal.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Palette: warme Erdtoene, Vereinsheim/Wald-Charakter */
  --bg: #f6f0e2;
  --bg-alt: #efe4cd;
  --surface: #fffdf8;
  --surface-2: #f9f2e2;
  --ink: #2a2118;
  --ink-soft: #5c4f3d;
  --ink-faint: #8a7c65;
  --border: #ded0ab;
  --border-soft: #e8dcbc;

  --forest: #2c4a37;
  --forest-dark: #1c3126;
  --forest-light: #3e6249;
  --brass: #b8863b;
  --brass-light: #d9b876;
  --brass-dark: #8f6624;
  --rust: #8a3f28;
  --rust-light: #b0563a;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 8px rgba(42, 33, 24, 0.08);
  --shadow: 0 12px 32px -8px rgba(42, 33, 24, 0.18);
  --shadow-lg: 0 24px 60px -16px rgba(28, 22, 15, 0.35);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest-dark);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-weight: 700; font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--brass);
  display: inline-block;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-forest {
  background: linear-gradient(160deg, var(--forest-dark), var(--forest));
  color: #f2ead5;
}
.section-forest h2, .section-forest h3 { color: #fff; }
.section-forest p { color: #d9cfb4; }
.section-forest .eyebrow { color: var(--brass-light); }
.section-forest .eyebrow::before { background: var(--brass-light); }

.section-head { max-width: 640px; margin: 0 0 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.9em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brass); color: #241a09; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brass-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: currentColor; color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: 0.55em 1.1em; font-size: 0.82rem; }
.btn-danger { background: var(--rust); color: #fff; }
.btn-danger:hover { background: var(--rust-light); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 22px 0;
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* Standard: solide Nav (fuer Seiten ohne dunklen Vollbild-Hero) */
.nav { background: rgba(246, 240, 226, 0.92); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.nav.is-scrolled { padding: 12px 0; }
.nav-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--forest-dark); transition: color 0.35s ease; }
.nav-brand img { width: 42px; height: 42px; object-fit: contain; transition: transform 0.3s ease; }
.nav-brand:hover img { transform: rotate(-8deg) scale(1.05); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
  font-weight: 600; font-size: 0.92rem; color: var(--ink-soft);
  position: relative; padding: 4px 0; transition: color 0.35s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--brass); transition: right 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--forest-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px;
}
.nav-burger span { width: 24px; height: 2px; background: var(--forest-dark); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease, background 0.35s ease; }

/* Hero-Variante: transparent + heller Text ueber dunklem Vollbild-Foto, bis gescrollt wird */
.nav.nav-hero { background: transparent; box-shadow: none; }
.nav.nav-hero .nav-brand { color: #fff; }
.nav.nav-hero .nav-links a { color: rgba(255,255,255,0.82); }
.nav.nav-hero .nav-links a.active { color: #fff; }
.nav.nav-hero .nav-burger span { background: #fff; }
.nav.nav-hero.is-scrolled { background: rgba(246, 240, 226, 0.92); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.nav.nav-hero.is-scrolled .nav-brand { color: var(--forest-dark); }
.nav.nav-hero.is-scrolled .nav-links a { color: var(--ink-soft); }
.nav.nav-hero.is-scrolled .nav-links a.active { color: var(--forest-dark); }
.nav.nav-hero.is-scrolled .nav-burger span { background: var(--forest-dark); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 250;
  background: var(--forest-dark);
  color: #f2ead5;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
  visibility: hidden; opacity: 0; pointer-events: none;
}
.mobile-menu.open { visibility: visible; opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: #f2ead5; }
.mobile-menu-close { position: absolute; top: 26px; right: 26px; background: none; border: none; color: #f2ead5; font-size: 2rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: #fbf5e6;
}
.hero-media { position: absolute; inset: -10% -5%; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,10,0.35) 0%, rgba(20,16,10,0.55) 55%, rgba(20,16,10,0.92) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 7vh; width: 100%; }
.hero-eyebrow { color: var(--brass-light); }
.hero-eyebrow::before { background: var(--brass-light); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero-lede { color: #e9dfc4; font-size: 1.15rem; max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll-cue {
  position: absolute; bottom: 34px; right: 34px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #e9dfc4; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-scroll-line { width: 1px; height: 46px; background: linear-gradient(#e9dfc4, transparent); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--brass-light); }
.stat-label { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: #cfc4a4; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-media img { transform: scale(1.08); }
.card-body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-date { font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brass-dark); font-weight: 600; }
.card-body h3 { margin-bottom: 0.2em; }
.card-body p { flex: 1; }
.card-link { font-weight: 600; color: var(--forest); display: inline-flex; align-items: center; gap: 6px; }
.card-link .arrow { transition: transform 0.3s ease; }
.card:hover .card-link .arrow { transform: translateX(5px); }

/* ---------- Timeline (Koenigsschiessen) ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline-line {
  position: absolute; left: 108px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--brass), var(--border));
  transform-origin: top center; transform: scaleY(0);
}
.timeline-item {
  display: grid; grid-template-columns: 88px 1fr; gap: 24px; align-items: start;
  padding: 1.1rem 0; position: relative;
}
.timeline-year { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--forest-dark); text-align: right; padding-top: 2px; }
.timeline-dot {
  position: absolute; left: 102px; top: 8px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brass); border: 3px solid var(--bg);
}
.timeline-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem; box-shadow: var(--shadow-sm);
}
.timeline-role { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); }
.timeline-name { font-weight: 600; color: var(--ink); }

/* ---------- Galerie ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.gallery-thumb { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: var(--bg-alt); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-thumb:hover img { transform: scale(1.12); }
.gallery-thumb::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,16,10,0.45), transparent 45%);
  opacity: 0; transition: opacity 0.35s ease;
}
.gallery-thumb:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 400; background: rgba(15, 12, 8, 0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 84vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff;
  border-radius: 50%; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; transition: background 0.25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.4em; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85em 1em; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface); font-family: inherit; font-size: 0.96rem; color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(184,134,59,0.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-check { display: flex; align-items: center; gap: 0.6em; }
.field-check input { width: auto; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

.flash { padding: 1em 1.3em; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-weight: 500; }
.flash-success { background: #e4efe1; color: var(--forest-dark); border: 1px solid #bcd9b3; }
.flash-error { background: #f7e4de; color: #7a2e17; border: 1px solid #e6b39f; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-dark); color: #cfc4a4; padding: 72px 0 32px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.1em; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer a:hover { color: var(--brass-light); }
.footer-links li { margin-bottom: 0.6em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: #a99b7c; }

/* ---------- Utility / reveal animation hooks ---------- */
.reveal { will-change: opacity, transform; }
.divider-line { height: 2px; width: 70px; background: var(--brass); transform-origin: left; }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats { grid-template-columns: 1fr; gap: 2.5rem; }
  .timeline-line { left: 60px; }
  .timeline-dot { left: 54px; }
  .timeline-item { grid-template-columns: 46px 1fr; gap: 14px; }
  .timeline-year { font-size: 1rem; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ---------- Page-Transition-Vorhang ---------- */
.page-transition {
  position: fixed; inset: 0; z-index: 999; background: var(--forest-dark);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.page-transition img { width: 56px; height: 56px; object-fit: contain; opacity: 0.9; filter: brightness(0) invert(1) sepia(1) saturate(6) hue-rotate(1deg); }
noscript ~ .page-transition, .no-js .page-transition { display: none; }

/* ---------- Ember-Partikel (Atmosphaere in dunklen Sektionen) ---------- */
.embers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.ember {
  position: absolute; bottom: -10px; border-radius: 50%;
  background: radial-gradient(circle, var(--brass-light), var(--brass) 60%, transparent 70%);
  box-shadow: 0 0 8px 1px rgba(217,184,118,0.6);
  opacity: 0;
}
.section-forest { position: relative; }
.section-forest .container { position: relative; z-index: 2; }

/* ---------- Marquee-Ticker ---------- */
.marquee-wrap {
  overflow: hidden; background: var(--forest-dark); padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08);
}
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 32s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 1.2rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--brass-light);
  padding: 0 1.4rem; white-space: nowrap;
}
.marquee-track span::after { content: '◆'; font-size: 0.7rem; color: rgba(255,255,255,0.35); }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Stats: gross + Ring-Ornament ---------- */
.stats { position: relative; z-index: 2; }
.stat { position: relative; }
.stat-num { font-size: clamp(3.4rem, 8vw, 5.6rem); }
.stat-ring {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 220px; height: 220px; opacity: 0.22; pointer-events: none; z-index: -1;
}
.stat-ring circle { fill: none; stroke: var(--brass-light); stroke-width: 1.5; }

/* ---------- Reveal (groesser, mit Blur) ---------- */
.reveal-curtain { position: relative; overflow: hidden; }
.reveal-curtain img { transform: scale(1.18); }

/* ---------- Magnetische Buttons ---------- */
.magnetic { display: inline-block; }

/* ---------- Lightbox: Zaehler ---------- */
.lightbox-counter {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 0.82rem; letter-spacing: 0.08em;
}

/* ---------- Admin ---------- */
.admin-body { background: var(--bg-alt); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; background: var(--forest-dark); color: #e9dfc4; flex-shrink: 0;
  padding: 28px 20px; display: flex; flex-direction: column; gap: 4px;
}
.admin-sidebar .brand { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; margin-bottom: 2rem; display: flex; align-items: center; gap: 10px; }
.admin-sidebar a {
  padding: 0.7em 0.9em; border-radius: var(--radius-sm); font-weight: 500; font-size: 0.92rem; color: #cfc4a4;
  display: flex; align-items: center; gap: 10px; transition: background 0.2s ease, color 0.2s ease;
}
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,0.08); color: #fff; }
.admin-sidebar .spacer { flex: 1; }
.admin-main { flex: 1; padding: 40px 44px; max-width: 1200px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.admin-card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border-soft); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.2rem; margin-bottom: 2.4rem; }
.admin-stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--forest-dark); }
.admin-stat-label { font-size: 0.8rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); padding: 10px 12px; border-bottom: 2px solid var(--border-soft); }
.admin-table td { padding: 12px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; font-size: 0.92rem; }
.admin-table tr:hover td { background: var(--bg-alt); }
.admin-actions { display: flex; gap: 8px; }
.pill { display: inline-block; padding: 0.25em 0.7em; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.pill-green { background: #e4efe1; color: var(--forest-dark); }
.pill-gray { background: #ece3cd; color: var(--ink-faint); }
.pill-red { background: #f7e4de; color: #7a2e17; }
.admin-form { max-width: 640px; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--forest-dark); }
.admin-login-card { background: var(--surface); padding: 3rem; border-radius: var(--radius-lg); width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.thumb-card { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; border: 1px solid var(--border-soft); }
.thumb-card img { width: 100%; height: 100%; object-fit: cover; }
.thumb-card form { position: absolute; top: 6px; right: 6px; }
.thumb-card button { background: rgba(20,16,10,0.65); color: #fff; border: none; border-radius: 6px; width: 26px; height: 26px; font-size: 0.85rem; }
