:root {
  --red: #9e1b32;
  --red-dark: #84152a;
  --navy: #0c2340;
  --cream: #fbf6ea;
  --paper: #fffdf8;
  --gold: #c9a03a;
  --gold-light: #e8c766;
  --ink: #1f2430;
  --muted: #5d6270;
  --line: #e7dfcd;
  --ok-bg: #e6f2e6;
  --ok: #2f6b34;
  --wait-bg: #fbf0cf;
  --wait: #7a5a0a;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.5 Inter, system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { width: 100%; max-width: 460px; margin: 0 auto; padding: 24px 16px 16px; flex: 1; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 16px 16px 28px; }
h1, h2 { font-family: 'Playfair Display', Georgia, serif; color: var(--navy); margin: 0; line-height: 1.15; }
h1 { font-size: 30px; }
h2 { font-size: 22px; }
.center { text-align: center; }
.eyebrow { font-family: Cinzel, Georgia, serif; font-weight: 700; letter-spacing: .18em; font-size: 11px; color: var(--red); text-transform: uppercase; }
.label { font-family: Cinzel, Georgia, serif; font-weight: 700; letter-spacing: .12em; font-size: 11.5px; color: var(--navy); text-transform: uppercase; margin: 22px 0 8px; }
.chip-art { display: block; width: 132px; height: 132px; margin: 0 auto 14px; border-radius: 50%; filter: drop-shadow(0 6px 14px rgba(12, 35, 64, .18)); }
.facts { color: var(--ink); margin: 8px 0 14px; }
.cap { display: inline-block; background: var(--navy); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cap b { color: var(--gold-light); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 16px 0; }
.card h2 { margin-bottom: 4px; }
.invite { color: var(--red); font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 700; margin: 0; }
.sub { color: var(--muted); font-size: 14px; margin: 2px 0 0; }
label.field { display: block; }
input[type=text], input[type=email], input[type=tel], input[type=password] {
  width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border: 1px solid #d8cfba; border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus { outline: 3px solid rgba(201, 160, 58, .45); border-color: var(--gold); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy); flex: none; }
.btn { display: block; width: 100%; border: 0; border-radius: 12px; padding: 15px 18px; font: 600 17px Inter, sans-serif; cursor: pointer; text-align: center; text-decoration: none; margin-top: 18px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn[disabled] { opacity: .6; cursor: progress; }
.small { font-size: 13.5px; color: var(--muted); }
.note { text-align: center; font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
.err { background: #fbe9ec; color: var(--red-dark); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-top: 14px; }
.check-ring { width: 96px; height: 96px; border: 5px solid var(--gold); border-radius: 50%; display: grid; place-items: center; margin: 8px auto 18px; }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rows li:last-child { border-bottom: 0; }
.rows li b { font-weight: 600; text-align: right; }
.badge { display: inline-block; border: 2px solid var(--gold); color: var(--navy); font-family: Cinzel, Georgia, serif; font-weight: 700; letter-spacing: .16em; font-size: 11px; padding: 4px 12px; border-radius: 6px; margin-top: 10px; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-wait { background: var(--wait-bg); color: var(--wait); }
.spot-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.bar { height: 10px; background: #efe7d4; border-radius: 99px; overflow: hidden; margin: 10px 0 8px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 99px; }
.chips li { justify-content: flex-start; }
.chips .no { font-family: Cinzel, Georgia, serif; font-weight: 700; color: var(--red); width: 56px; flex: none; }
.chips .open { color: var(--muted); }
.linkbtn { background: none; border: 0; color: var(--navy); font: 600 14px Inter, sans-serif; padding: 10px 0; cursor: pointer; }
.back { display: inline-block; color: var(--navy); font-weight: 600; text-decoration: none; margin-bottom: 10px; font-size: 15px; }
.tag-navy { display: inline-block; background: var(--navy); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 6px 14px; margin: 8px 0 4px; }
.loading { text-align: center; color: var(--muted); padding: 80px 0; }
.give { border-color: var(--gold); }
.give h2 { font-size: 19px; }
.row-actions { display: flex; gap: 10px; }
.row-actions .btn { margin-top: 12px; }
/* Admin */
.admin main, main.wide { max-width: 1100px; }
.tot { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.tot div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.tot b { display: block; font-size: 26px; color: var(--navy); font-family: 'Playfair Display', Georgia, serif; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--paper); }
.tbl th, .tbl td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-family: Cinzel, Georgia, serif; font-size: 11px; letter-spacing: .1em; color: var(--navy); }
.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.inline input { width: auto; flex: 1 1 140px; font-size: 15px; padding: 9px 10px; }
.inline .btn { width: auto; margin: 0; padding: 10px 14px; font-size: 15px; }
.tbl input { font-size: 14px; padding: 6px 8px; min-width: 90px; }
.tbl .btn { width: auto; margin: 0; padding: 6px 10px; font-size: 13px; }
.amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.amt { font: 600 16px Inter, sans-serif; border: 1px solid #d8cfba; background: #fff; color: var(--navy); border-radius: 10px; padding: 11px 0; cursor: pointer; }
.amt.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.amt-other { display: flex; align-items: center; border: 1px solid #d8cfba; background: #fff; border-radius: 10px; padding: 0 8px; }
.amt-other span { color: var(--muted); font-weight: 600; }
.amt-other input { border: 0; padding: 11px 2px; font-size: 16px; width: 100%; min-width: 0; outline: none; -moz-appearance: textfield; }
.amt-other input::-webkit-outer-spin-button, .amt-other input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amt-other:focus-within { outline: 3px solid rgba(201, 160, 58, .45); border-color: var(--gold); }
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier span { display: block; text-align: center; border: 1px solid #d8cfba; background: #fff; border-radius: 10px; padding: 10px 4px; cursor: pointer; color: var(--navy); font-weight: 600; }
.tier span b { display: block; font-family: Cinzel, Georgia, serif; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.tier input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.tier input:checked + span b { color: var(--gold-light); }
.tier input:focus-visible + span { outline: 3px solid rgba(201, 160, 58, .45); }
.req-acts { display: flex; gap: 6px; align-items: center; }
.req-acts .btn { width: auto; margin: 0; padding: 8px 12px; font-size: 14px; }
