:root {
  --felt: #123c28;
  --felt-deep: #07160f;
  --gold: #e0b145;
  --gold-2: #f3d48a;
  --cream: #f6ead0;
  --mute: #c8d7cc;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--cream);
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(224, 177, 69, 0.12), transparent 55%),
    linear-gradient(180deg, #0c2418, var(--felt-deep));
}

a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }

.top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 5vw;
  border-bottom: 1px solid rgba(224, 177, 69, 0.25);
  background: rgba(7, 22, 15, 0.9);
}

.brand { color: var(--cream); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.top nav, .desk-nav { display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; }
.desk-nav a.on { color: var(--gold); }

.dash {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.card-link {
  display: block;
  background: rgba(7, 22, 15, 0.6);
  border: 1px solid rgba(224, 177, 69, 0.22);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  color: inherit;
}
.card-link h2 { margin: 0.2rem 0 0.5rem; }
.card-link:hover { border-color: var(--gold); color: inherit; }

textarea {
  width: 100%;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(246,234,208,.22);
  color: var(--cream);
  padding: 0.55rem 0.6rem;
  border-radius: 4px;
  font: inherit;
  min-height: 5rem;
}

.quote-edit {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(224,177,69,.18);
}

.album-admin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.album-edit img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; }
.doc-flag { color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 800; }
.check { display: flex; align-items: center; gap: 0.4rem; text-transform: none; letter-spacing: 0; }

main { padding: 1.4rem 5vw 3rem; }
.panel {
  background: rgba(7, 22, 15, 0.6);
  border: 1px solid rgba(224, 177, 69, 0.22);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
}

h1, h2 { font-family: "Bebas Neue", Impact, sans-serif; letter-spacing: 0.03em; margin: 0.2rem 0 0.6rem; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.8rem; }
.eyebrow { color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; font-weight: 700; margin: 0; }
.hint, p { color: var(--mute); line-height: 1.45; }

.stack, .inline, .grid-form { display: grid; gap: 0.7rem; }
.inline { grid-template-columns: 1fr 8rem auto; align-items: end; max-width: 36rem; }
.grid-form { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; }
label { display: grid; gap: 0.3rem; color: var(--gold-2); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
input, select {
  width: 100%;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(246,234,208,.22);
  color: var(--cream);
  padding: 0.55rem 0.6rem;
  border-radius: 4px;
  font: inherit;
}

.btn {
  background: var(--gold);
  color: #1a1204;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
}
.btn.ghost { background: transparent; color: var(--cream); border: 1px solid rgba(246,234,208,.35); }
.actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.9rem; }
.linkish { background: none; border: 0; color: var(--gold-2); cursor: pointer; font: inherit; }
.err { color: #f0a090; }
.ok { color: var(--gold-2); }

.pills { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.8rem 0; }
.pill {
  border: 1px solid rgba(224,177,69,.45);
  color: var(--gold-2);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
}
.pill.on { background: var(--gold); color: #1a1204; }

.table-wrap { overflow-x: auto; }
.sheet { width: 100%; border-collapse: collapse; min-width: 980px; }
.sheet th { text-align: left; color: var(--gold); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem; }
.sheet td { padding: 0.25rem; vertical-align: top; }
.sheet input, .sheet select { min-width: 4.5rem; }

@media (max-width: 800px) {
  .inline { grid-template-columns: 1fr; }
}
