:root {
  --bg: #07080c;
  --surface: #0e1118;
  --surface-2: #141824;
  --line: #1e2433;
  --text: #eef0f6;
  --muted: #8a93a8;
  --gold: #f5c542;
  --gold-2: #ffdf86;
  --danger: #ff6b6b;
  --ok: #4ade80;
  --accent: #f5c542;
  --radius: 22px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 50% -120px, rgba(245, 197, 66, .09), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px 40px; }
a { color: var(--gold-2); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; margin: 0; }
img { max-width: 100%; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: .85rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--gold); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.center { text-align: center; }
.lead { font-size: 1.25rem; color: var(--text); }

/* ---------- header / footer ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1040px; width: 100%; margin: 0 auto; padding: 18px 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { color: var(--gold); flex: none; }
.brand b { color: var(--gold); font-weight: 800; }
.top nav { display: flex; gap: 6px; font-size: .92rem; }
.top nav a { color: var(--muted); text-decoration: none; padding: 10px 10px; border-radius: 10px; }
.top nav a:hover { color: var(--text); background: var(--surface); }

.foot { margin-top: 40px; border-top: 1px solid var(--line); padding: 36px 20px calc(28px + var(--safe-b)); color: var(--muted); font-size: .9rem; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .015)); }
.foot-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand p { margin: 12px 0 0; max-width: 34ch; }
.foot nav { display: flex; flex-direction: column; gap: 2px; }
.foot h4 { margin: 0 0 8px; color: var(--text); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; }
.foot nav a { color: var(--muted); text-decoration: none; padding: 7px 0; }
.foot nav a:hover { color: var(--gold-2); }
.foot-fine { max-width: 1040px; margin: 28px auto 0; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- stage ---------- */
.stage { padding: 28px 0 8px; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; color: var(--gold); margin: 0 0 22px; font-weight: 600; }

.billboard {
  --glow: color-mix(in srgb, var(--accent) 38%, transparent);
  position: relative;
  border-radius: var(--radius);
  padding: 84px 28px 22px;
  background:
    radial-gradient(800px 300px at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 70px -10px var(--glow), var(--shadow);
  animation: breathe 5s ease-in-out infinite;
  overflow: hidden;
}
.billboard::before { /* spotlight sweep */
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 90%;
  background: conic-gradient(from 200deg at 50% 0%, transparent 0 22%, color-mix(in srgb, var(--accent) 14%, transparent) 25%, transparent 28% 72%, color-mix(in srgb, var(--accent) 14%, transparent) 75%, transparent 78%);
  pointer-events: none; opacity: .8;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
.bb-crown { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); color: var(--accent); filter: drop-shadow(0 4px 18px var(--glow)); }
.bb-body { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px 0 18px; }
.bb-logo, .bb-mono { width: 96px; height: 96px; border-radius: 24px; object-fit: cover; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7); }
.bb-mono { display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; color: #0a0a0a; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #fff)); }
.bb-name { font-size: clamp(2rem, 7vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; overflow-wrap: anywhere; }
.bb-tag { margin: 0; font-size: clamp(1rem, 2.2vw, 1.3rem); color: #c7cde0; max-width: 34ch; overflow-wrap: anywhere; }
.bb-visit {
  margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; min-height: 46px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; color: #0a0a0a;
  background: var(--accent); transition: transform .15s, box-shadow .15s; max-width: 100%; overflow-wrap: anywhere;
}
a.bb-visit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--glow); }
.bb-foot { position: relative; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.bb-foot b { color: var(--text); font-variant-numeric: tabular-nums; }
.bb-foot a { color: var(--muted); }
.billboard.vacant .bb-name { font-size: clamp(1.8rem, 5vw, 3rem); }

/* takeover moment */
.billboard.coup { animation: coup 1.1s cubic-bezier(.2, .9, .2, 1); }
.billboard.coup .bb-crown { animation: crown-drop 1.1s cubic-bezier(.2, 1.4, .3, 1); }
.billboard.coup .bb-name, .billboard.coup .bb-logo, .billboard.coup .bb-mono { animation: pop-in .8s cubic-bezier(.2, 1.3, .3, 1) both; }
.billboard.coup::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--accent) 80%, #fff), transparent 60%); opacity: 0; animation: flash .9s ease-out; pointer-events: none; }

@keyframes breathe { 50% { box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 90px -8px var(--glow), var(--shadow); } }
@keyframes coup { 0% { transform: scale(.94) rotate(-.6deg); } 45% { transform: scale(1.025) rotate(.3deg); } 100% { transform: none; } }
@keyframes crown-drop { 0% { transform: translate(-50%, -90px) rotate(-18deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: translateX(-50%); } }
@keyframes pop-in { 0% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }

#fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }
.toast {
  position: fixed; left: 50%; top: calc(16px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -140%); z-index: 70;
  max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 16px; font-weight: 600; text-align: center;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1a1300; box-shadow: 0 20px 50px -10px rgba(245, 197, 66, .55);
  transition: transform .5s cubic-bezier(.2, 1.3, .3, 1);
}
.toast.show { transform: translate(-50%, 0); }
.toast[hidden] { display: block; visibility: hidden; }
.toast.show[hidden] { visibility: visible; }

/* ---------- CTA ---------- */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 22px auto 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.cta-price { display: flex; flex-direction: column; align-items: flex-start; }
.lbl { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; }
.amt { font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.btn-primary, .btn-ghost {
  appearance: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 14px 26px; border-radius: 14px; font: inherit; font-weight: 700; transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn-primary { border: 0; color: #1a1300; background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 10px 30px -10px rgba(245, 197, 66, .6), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost { color: var(--text); background: transparent; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .6; cursor: progress; transform: none; }
.note { margin: 14px 0 0; color: var(--muted); font-size: .9rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 0; }
.stats div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; }
.stats dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.stats dd { margin: 4px 0 0; font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */
.feed, .hall, .how { margin-top: 56px; scroll-margin-top: 20px; }
.feed h2, .hall h2, .how h2 { font-size: 1.5rem; margin-bottom: 16px; }
.feed-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.feed-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; overflow-wrap: anywhere; }
.feed-list li:last-child { border-bottom: 0; }
.feed-list time { color: var(--muted); white-space: nowrap; font-size: .85rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 10px; }
td a { color: var(--text); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
td a:hover { color: var(--gold-2); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.steps .n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #1a1300; background: var(--gold); }
.steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .92rem; }
.how .fine { margin-top: 14px; }

/* ---------- dialog / form ---------- */
dialog { width: min(860px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--text); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9); overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: rgba(3, 4, 8, .72); backdrop-filter: blur(6px); }
dialog[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px 0; }
.dlg-head h2 { font-size: 1.5rem; }
.icon-btn { background: none; border: 0; color: var(--muted); font-size: 2rem; line-height: 1; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.dlg-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; padding: 20px 26px; }
.fields { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: var(--muted); font-weight: 500; }
label small { color: var(--muted); font-weight: 400; }
input[type=text], input:not([type]), input[type=url], input[type=email], select, textarea {
  width: 100%; min-height: 50px; padding: 13px 15px; border-radius: 14px; border: 1px solid #262d40;
  background: linear-gradient(180deg, #0a0d14, #0c1018); color: var(--text); font: inherit; font-size: 16px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance: none; appearance: none;
}
input[type=text]:hover, input:not([type]):hover, input[type=url]:hover, input[type=email]:hover, select:hover, textarea:hover { border-color: #3a4360; }
input[type=text]:focus, input:not([type]):focus, input[type=url]:focus, input[type=email]:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold); background: #0d1119; box-shadow: 0 0 0 4px rgba(245, 197, 66, .14), inset 0 1px 2px rgba(0, 0, 0, .3);
}
::placeholder { color: #5d667c; opacity: 1; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
input[type=color] { width: 64px; height: 48px; padding: 2px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
input[type=file] { color: var(--muted); font-size: .85rem; max-width: 100%; }
input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--gold); flex: none; }
.row { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.row .file { flex: 1; min-width: 180px; }
.check { flex-direction: row; align-items: center; gap: 12px; color: var(--text); min-height: 44px; }
.lab { display: flex; justify-content: space-between; align-items: baseline; }
.count { font-size: .75rem; font-variant-numeric: tabular-nums; }
.err { color: var(--danger); font-size: .82rem; }
.form-err { padding: 0 26px; margin: 0; }
.preview-col .billboard.mini { padding: 24px 16px 18px; animation: none; }
.mini .bb-logo, .mini .bb-mono { width: 64px; height: 64px; border-radius: 16px; font-size: 1.8rem; }
.mini .bb-name { font-size: 1.5rem; }
.mini .bb-tag { font-size: .9rem; }
.mini .bb-visit { padding: 9px 16px; font-size: .85rem; min-height: 0; }
.dlg-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 26px 24px; border-top: 1px solid var(--line); }
.dlg-foot .fine { margin: 0; max-width: 38ch; }

/* ---------- narrow / content pages ---------- */
.narrow { max-width: 680px; margin: 48px auto 0; }
.narrow h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 14px; }
.prose h2 { font-size: 1.2rem; margin: 30px 0 8px; }
.prose p, .prose li { color: #cdd2e2; }
.prose li { margin: 6px 0; }
.prose code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.prose details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin: 10px 0; }
.prose summary { cursor: pointer; padding: 16px 18px; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 14px; min-height: 52px; align-items: center; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; flex: none; }
.prose details[open] summary::after { content: "\2212"; }
.prose details p { margin: 0; padding: 0 18px 18px; }
.big-code { font-size: clamp(4rem, 18vw, 8rem); font-weight: 800; letter-spacing: -.05em; color: var(--gold); line-height: 1; margin: 6px 0 14px; }
.big-code span { display: inline-block; font-size: .8em; margin: 0 .04em; animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(8deg) translateY(-4px); } }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold); animation: spin .8s linear infinite; margin-top: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.share { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- admin ---------- */
.admin-main { max-width: 960px; }
.admin-main h2 { margin: 30px 0 12px; font-size: 1.2rem; }
.acard { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 10px; }
.acard img { border-radius: 12px; object-fit: cover; }
.ainfo { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .92rem; }
.aact { display: flex; flex-direction: column; gap: 8px; }
.aact form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.aact input[type=text], .aact input:not([type]) { padding: 7px 10px; width: 160px; min-height: 0; }
.btn-sm { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 9px; padding: 10px 14px; cursor: pointer; font: inherit; font-size: .85rem; }
.btn-sm.ok { background: #14532d; border-color: #166534; }
.btn-sm.bad { background: #5b1d1d; border-color: #7f1d1d; }
.pill { font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.inline { flex-direction: row; align-items: center; gap: 4px; font-size: .8rem; }

/* ---------- custom form controls ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; opacity: 0; }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group > .lab { justify-content: flex-start; gap: 6px; font-size: .88rem; color: var(--muted); font-weight: 500; }
.field-group > .lab small { color: var(--muted); font-weight: 400; }

/* colour swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  --c: var(--gold); position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .14); background: var(--c); color: #0a0a0a; cursor: pointer;
  box-shadow: 0 6px 16px -8px var(--c), inset 0 0 0 2px rgba(0, 0, 0, .25); transition: transform .15s, border-color .15s, box-shadow .15s;
}
.swatch svg { width: 18px; height: 18px; opacity: 0; transform: scale(.5); transition: opacity .15s, transform .2s cubic-bezier(.2, 1.6, .4, 1); }
.swatch:hover { transform: translateY(-2px) scale(1.05); }
.swatch[aria-checked="true"] { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .16), 0 8px 20px -8px var(--c), inset 0 0 0 2px rgba(0, 0, 0, .25); }
.swatch[aria-checked="true"] svg { opacity: 1; transform: none; }
.swatch:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.swatch.custom { background: conic-gradient(from 0deg, #ff5d73, #ffb86b, #f5e642, #4ade80, #2dd4bf, #6c8cff, #c77dff, #ff5d73); overflow: hidden; }
.swatch.custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.swatch.custom span { position: relative; z-index: 1; pointer-events: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 10, 14, .72); color: #fff; font-weight: 700; line-height: 1; }
.swatch.custom.selected { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .16); }
.swatch.custom.selected span { background: var(--c); color: #0a0a0a; }
.swatch.custom:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }

/* logo dropzone */
.dropzone {
  position: relative; display: block; min-height: 92px; padding: 16px; border-radius: 16px; cursor: pointer; color: var(--muted);
  border: 1.5px dashed #34405c; background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0)), var(--bg);
  transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
.dropzone:hover { border-color: var(--gold); background: rgba(245, 197, 66, .04); }
.dropzone.over { border-color: var(--gold); background: rgba(245, 197, 66, .09); box-shadow: 0 0 0 4px rgba(245, 197, 66, .14); transform: scale(1.01); }
.dropzone:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(245, 197, 66, .14); }
.dz-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: .92rem; }
.dz-empty[hidden], .dz-filled[hidden] { display: none; }
.dz-empty svg { color: var(--gold); margin-bottom: 2px; }
.dz-empty b { color: var(--text); font-weight: 600; }
.dz-empty small { color: #6b7490; font-size: .78rem; }
.dz-filled { display: flex; align-items: center; gap: 14px; }
.dz-filled img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; background: var(--surface-2); flex: none; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .8); }
.dz-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dz-meta b { color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-meta small { color: var(--muted); }
.dz-x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.dz-x:hover { color: var(--danger); border-color: var(--danger); background: rgba(255, 107, 107, .08); }

/* checkbox */
.check-row { flex-direction: row; align-items: center; gap: 14px; min-height: 48px; padding: 6px 2px; color: var(--text); cursor: pointer; font-weight: 500; }
.check-row .box {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #1a1300;
  border: 1.5px solid #3a4560; background: var(--bg); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); transition: background .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.check-row .box svg { width: 15px; height: 15px; opacity: 0; transform: scale(.4) rotate(-12deg); transition: opacity .12s, transform .22s cubic-bezier(.2, 1.7, .4, 1); }
.check-row:hover .box { border-color: var(--gold); }
.check-row input:checked + .box { background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-color: var(--gold); box-shadow: 0 6px 16px -6px rgba(245, 197, 66, .6); }
.check-row input:checked + .box svg { opacity: 1; transform: none; }
.check-row input:focus-visible + .box { outline: 2px solid var(--gold); outline-offset: 3px; }
.check-row:active .box { transform: scale(.94); }

/* ---------- contact form ---------- */
.contact-form {
  position: relative; display: flex; flex-direction: column; gap: 20px; margin: 26px 0 10px; padding: 28px;
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: radial-gradient(600px 220px at 50% -60px, rgba(245, 197, 66, .07), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9);
}
.contact-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.contact-form[hidden] { display: none; }
.contact-form label { gap: 8px; color: #b7bfd3; font-size: .84rem; font-weight: 600; letter-spacing: .01em; }
.contact-form label small { color: var(--muted); font-weight: 400; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.row2 > label { min-width: 0; }
select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5l6 6 6-6' stroke='%23f5c542' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(180deg, #0a0d14, #0c1018);
  background-repeat: no-repeat, no-repeat; background-position: right 16px center, 0 0; background-size: 14px 9px, 100% 100%;
}
select option { background: #0e1118; color: var(--text); }
textarea { resize: vertical; min-height: 160px; line-height: 1.55; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.contact-form .btn-primary { align-self: flex-start; min-width: 190px; min-height: 54px; font-size: 1.02rem; }
.contact-form .btn-primary::after { content: "\2192"; transition: transform .15s; }
.contact-form .btn-primary:hover::after { transform: translateX(4px); }
.contact-form .fine { margin: -4px 0 0; }
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); margin: 22px 0; }
.notice.ok { border-color: color-mix(in srgb, var(--ok) 55%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--ok) 9%, var(--surface)), var(--surface)); }
.notice.ok::before { content: "\2713"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ok); color: #052e16; font-weight: 800; }
.notice p { margin: 4px 0 0; }
.msg.unread { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.msg.read { opacity: .75; }
.msg-body { white-space: pre-wrap; margin: 8px 0 0; color: var(--text); }

/* ---------- tablet / phone ---------- */
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  main { padding: 0 16px 32px; }
  .top { padding: 12px 16px; }
  .top nav a:nth-child(1), .top nav a:nth-child(2) { display: none; }
  .stage { padding-top: 14px; }
  .eyebrow { margin-bottom: 14px; letter-spacing: .16em; }
  .billboard { padding: 76px 16px 16px; border-radius: 20px; }
  .bb-crown svg { width: 44px; height: 44px; }
  .bb-logo, .bb-mono { width: 80px; height: 80px; border-radius: 20px; font-size: 2.2rem; }
  .bb-foot { justify-content: center; text-align: center; }
  .stats { grid-template-columns: 1fr; gap: 8px; }
  .stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .stats dd { margin: 0; font-size: 1.15rem; }
  .steps { grid-template-columns: 1fr; }
  .feed, .hall, .how { margin-top: 40px; }
  .feed-list li { flex-direction: column; gap: 2px; }
  th, td { padding: 10px 12px; }

  /* the throne button follows you down the page */
  .cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; border-radius: 18px 18px 0 0; border-width: 1px 0 0; flex-wrap: nowrap; gap: 12px;
         padding: 12px 16px calc(12px + var(--safe-b)); background: rgba(14, 17, 24, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .9); }
  .cta .amt { font-size: 1.7rem; }
  .cta .btn-primary { flex: 1; padding: 14px 12px; min-height: 52px; }
  .cta .lbl { font-size: .62rem; }
  body { padding-bottom: calc(86px + var(--safe-b)); }
  .toast { top: calc(10px + env(safe-area-inset-top, 0px)); }

  /* claim form becomes a full-screen sheet */
  dialog { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; border: 0; border-radius: 0; }
  dialog[open] { animation: sheet .28s ease-out; }
  @keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
  .dlg-head, .form-err { padding-left: 16px; padding-right: 16px; }
  .dlg-head { position: sticky; top: 0; background: var(--surface); z-index: 2; padding-top: 14px; padding-bottom: 8px; }
  .dlg-grid { grid-template-columns: 1fr; padding: 12px 16px; gap: 18px; }
  .preview-col { order: -1; }
  .dlg-foot { flex-direction: column; align-items: stretch; padding: 14px 16px calc(18px + var(--safe-b)); position: sticky; bottom: 0; background: var(--surface); }
  .dlg-foot .fine { max-width: none; }

  .foot { margin-top: 24px; padding-top: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .narrow { margin-top: 28px; }
  .acard { flex-direction: column; align-items: stretch; }
  .row2 { grid-template-columns: 1fr; gap: 20px; }
  .contact-form { padding: 20px 16px; border-radius: 18px; }
  .contact-form .btn-primary { align-self: stretch; }
}
@media (max-width: 380px) {
  .brand span { font-size: .95rem; }
  .cta .lbl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  #fx { display: none; }
}
