@font-face { font-family: "Bagel Fat One"; src: url(/stamp/fonts/BagelFatOne.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Afacad"; src: url(/stamp/fonts/Afacad.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  --bg: #0a0d14; --bg2: #111724; --card: #161d2c; --line: #263247; --ink: #e8eef9; --mute: #8c9bb5;
  --lime: #3da9ff; --lime-ink: #001a33; --red: #ff5d4d; --amber: #ffc94a;
  --r: 22px;
  --hd: "Bagel Fat One", system-ui, sans-serif; --bd: "Afacad", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.4 var(--bd); -webkit-font-smoothing: antialiased; }
body { min-height: 100svh; overflow-x: hidden; }
#tex { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .55; }
main, header, footer { position: relative; z-index: 1; }
h1, h2, h3, .hd { font-family: var(--hd); font-weight: 400; letter-spacing: .01em; margin: 0; line-height: 1.02; }
a { color: var(--lime); }
button { font: inherit; cursor: pointer; border: 0; }
input, select { font: inherit; color: var(--ink); background: var(--bg2); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; width: 100%; outline: none; }
input:focus, select:focus { border-color: var(--lime); }
label { display: block; font-size: 15px; color: var(--mute); margin: 14px 0 6px; }
.wrap { max-width: 460px; margin: 0 auto; padding: 18px 16px 120px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 18px 20px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-family: var(--hd); font-size: 22px; letter-spacing: .02em; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--lime) 70%, transparent); transition: transform .12s, filter .2s; }
.btn:active { transform: scale(.97); }
.btn[disabled] { background: var(--line); color: var(--mute); box-shadow: none; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; font-family: var(--bd); font-weight: 600; font-size: 17px; padding: 14px; }
.btn.red { background: var(--red); color: #fff; box-shadow: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); color: var(--mute); }
.pill.on { color: var(--lime); border-color: color-mix(in srgb, var(--lime) 40%, transparent); }
.mute { color: var(--mute); }
.small { font-size: 15px; }
.err { color: var(--red); min-height: 22px; font-size: 16px; margin-top: 10px; }
.credit { text-align: center; font-size: 13px; color: var(--mute); padding: 30px 0 10px; letter-spacing: .04em; }
.credit a { color: var(--mute); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 600; z-index: 50; transition: transform .35s cubic-bezier(.2,1.4,.4,1); white-space: nowrap; }
.toast.show { transform: translate(-50%, 0); }
.hide { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---- Neon theme (Area 302): black and green, soft glow, never blinding ---- */
@font-face { font-family: "Exo 2"; src: url(/stamp/fonts/Exo2.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url(/stamp/fonts/Exo2-Italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
[data-theme="neon"] {
  --bg: #050806; --bg2: #0b120d; --card: #0d1610; --line: #1d2e22; --ink: #e6f2e8; --mute: #87a08d;
  --lime: #4fd86a; --lime-ink: #03140a; --glow: color-mix(in srgb, var(--lime) 38%, transparent);
  --hd: "Exo 2", system-ui, sans-serif; --bd: "Exo 2", system-ui, sans-serif;
}
[data-theme="neon"] body { background: radial-gradient(120% 60% at 50% -10%, #0c2414 0%, var(--bg) 60%) fixed, var(--bg); }
[data-theme="neon"] h1, [data-theme="neon"] h2, [data-theme="neon"] h3, [data-theme="neon"] .hd { font-weight: 900; font-style: italic; letter-spacing: -.01em; text-transform: uppercase; }
[data-theme="neon"] h1 em, [data-theme="neon"] h2 em { color: var(--lime); text-shadow: 0 0 6px var(--glow), 0 0 22px color-mix(in srgb, var(--lime) 18%, transparent); animation: hum 7s ease-in-out infinite; }
@keyframes hum { 0%, 100% { opacity: 1; } 46% { opacity: 1; } 47% { opacity: .72; } 48% { opacity: 1; } 49% { opacity: .82; } 50% { opacity: 1; } }
[data-theme="neon"] .btn { font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 20px; letter-spacing: .03em; background: color-mix(in srgb, var(--lime) 92%, #000); box-shadow: 0 0 0 1px color-mix(in srgb, var(--lime) 60%, transparent), 0 0 18px -2px var(--glow), 0 10px 26px -12px var(--glow); }
[data-theme="neon"] .btn.ghost { background: transparent; color: var(--ink); text-transform: none; font-style: normal; font-weight: 600; font-size: 17px; box-shadow: none; }
[data-theme="neon"] .btn.red { background: var(--red); color: #fff; box-shadow: none; }
[data-theme="neon"] .btn[disabled] { background: var(--line); color: var(--mute); box-shadow: none; }
[data-theme="neon"] .pill.on { box-shadow: 0 0 10px -3px var(--glow); }
[data-theme="neon"] input:focus, [data-theme="neon"] select:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 16%, transparent); }
[data-theme="neon"] #tex { opacity: 1; }
/* the stamp card glows like the shelf lights in the shop */
[data-theme="neon"] .card { border-color: color-mix(in srgb, var(--lime) 34%, transparent) !important; box-shadow: 0 0 0 1px color-mix(in srgb, var(--lime) 12%, transparent), 0 0 34px -10px var(--glow), inset 0 0 40px -24px var(--glow); }
[data-theme="neon"] .slot:not(.free) { border-color: #24402c; color: #2f5238; }
[data-theme="neon"] .slot .ink { box-shadow: inset 0 0 0 3px #00000022, 0 0 14px -2px var(--glow); }
/* the sticker logo is not a circle */
[data-theme="neon"] .logo img { width: auto; height: 64px; border-radius: 0; object-fit: contain; box-shadow: none; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--lime) 22%, transparent)); }
[data-theme="neon"] .logo span { display: none; }
/* neon tube under the header */
[data-theme="neon"] header { position: relative; }
[data-theme="neon"] header::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -12px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--lime) 20%, var(--lime) 80%, transparent); opacity: .55; box-shadow: 0 0 10px var(--glow); animation: tube 6s ease-in-out infinite; }
@keyframes tube { 0%, 100% { opacity: .55; } 50% { opacity: .3; } }
/* the quiet snack line */
.note { display: none; }
[data-theme="neon"] .note, .note.on { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px auto 0; font-size: 14px; font-style: italic; color: color-mix(in srgb, var(--lime) 62%, var(--mute)); opacity: .85; text-align: center; }
.note svg { width: 16px; height: 16px; flex: none; }
/* 21+ door check */
.gate { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px 18px; text-align: center; background: radial-gradient(90% 55% at 50% 30%, #0e2a17, var(--bg) 70%); }
.gate .in { max-width: 360px; width: 100%; animation: gatein .5s ease-out both; }
@keyframes gatein { from { opacity: 0; transform: translateY(14px); } }
.gate img { max-width: 200px; width: 60%; margin: 0 auto 6px; display: block; filter: drop-shadow(0 0 16px color-mix(in srgb, var(--lime) 25%, transparent)); }
.gate .age { display: inline-grid; place-items: center; width: 96px; height: 96px; margin: 8px auto 10px; border-radius: 50%; border: 3px solid var(--lime); color: var(--lime); font: italic 900 38px/1 var(--hd); box-shadow: 0 0 18px -4px var(--glow), inset 0 0 14px -6px var(--glow); text-shadow: 0 0 8px var(--glow); }
.gate h2 { font-size: 30px; }
.gate p { color: var(--mute); margin: 8px 0 22px; font-size: 16px; }
.gate .row { display: grid; gap: 10px; }
.gate .no { margin-top: 18px; color: var(--mute); font-size: 15px; min-height: 20px; }
.stage + .note { margin: -10px 0 18px; }
[data-theme="neon"] .pop .eyebrow, [data-theme="neon"] .party h2 { font-weight: 900; font-style: italic; text-transform: uppercase; }
[data-theme="neon"] img[data-shop-logo][style] { width: 120px !important; height: auto !important; border-radius: 0 !important; object-fit: contain; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--lime) 22%, transparent)); }
[data-theme="neon"] .onduty img { border-radius: 0; object-fit: contain; height: auto; }
/* everyday deal strip (Area 302: buy 2 snacks, get 1 free) */
.deal { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--lime) 55%, transparent); background: color-mix(in srgb, var(--lime) 8%, var(--bg)); font-weight: 700; font-size: 15px; color: var(--ink); box-shadow: 0 0 16px -6px var(--glow, transparent); }
.deal b { white-space: nowrap; flex: none; background: var(--lime); color: var(--lime-ink); border-radius: 999px; padding: 3px 9px; font-size: 11px; letter-spacing: .08em; font-style: italic; font-weight: 900; }

/* typed birthday: Month / Day / Year boxes */
.bd3 { display: flex; align-items: center; gap: 8px; }
.bd3 input { min-width: 0; text-align: center; font-size: 20px; letter-spacing: .06em; }
.bd3 span { color: var(--mute); font-size: 20px; }
