@import url('/brand-fonts.css');
:root { color-scheme: dark; background: #000; color: #fff; font: 16px/1.5 var(--font-text); --gold: #f2b000; --muted: #b0a68b; --purple: #8071a3; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; min-height: 100svh; display: flex; flex-direction: column; background: #000; }
button, input, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.brand { display: flex; justify-content: center; padding: max(30px, env(safe-area-inset-top)) 24px 0; }
.brand a { display: block; line-height: 0; padding: 8px; }
.brand img { width: 125px; height: auto; image-rendering: pixelated; }
.lab { width: min(100% - 40px, 480px); margin: 0 auto; padding: 6px 0 24px; flex: 1; }
.introduction { text-align: center; }
.watcher { height: 76px; position: relative; overflow: hidden; margin: 4px auto 0; }
.watcher img { position: absolute; top: 50%; left: 50%; width: 256px; height: 256px; transform: translate(-50%, -50%); image-rendering: pixelated; }
.eyebrow { color: var(--purple); font: 16px/1.4 var(--font-text); margin: 2px 0 8px; }
h1 { font: 40px/1.2 var(--font-display); margin: 0 0 14px; font-weight: 400; color: #fff7dc; overflow-wrap: anywhere; }
.lede { color: #bbb6c2; margin: 0 0 25px; font-size: 16px; line-height: 1.5; }
.registration-panel { border: 1px solid #302632; background: #0b090d; padding: 24px; }
.step-header { display: flex; align-items: baseline; gap: 12px; font: 28px/1.1 var(--font-display); margin: 0; padding: 0; color: #f4f0e8; }
.step-number { font: 22px/1 var(--font-display); color: var(--purple); }
h2 { font: 32px/1.1 var(--font-display); margin: 0 0 18px; font-weight: 400; }
.step-header h2 { font: inherit; margin: 0; }
.helper { color: var(--muted); font-size: 14px; line-height: 1.45; margin: 8px 0 14px; }
.button { min-height: 48px; padding: 11px 15px; border: 1px solid transparent; border-radius: 0; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 16px; font-weight: 700; text-decoration: none; }
.full { width: 100%; }
.primary { background: var(--gold); color: #161000; border-color: var(--gold); }
.primary:hover:not(:disabled) { background: #ffd54b; border-color: #ffd54b; }
.secondary { background: #0d0a10; border-color: #403447; color: #e2d6e9; }
.secondary:hover:not(:disabled) { background: #211629; border-color: var(--purple); }
.text-button { background: none; border: 0; color: var(--muted); min-height: 44px; padding: 8px 4px; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.text-button:hover { color: #fff7dc; }
.availability:empty { display: none; }
.identity { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--gold); }
.identity #handle { overflow-wrap: anywhere; }
.account { display: flex; align-items: center; gap: 8px; min-width: 0; }
.account img { width: 32px; height: 32px; object-fit: cover; }
.requirements { padding: 9px 0; margin: 0 0 8px; color: #d4b1ec; font-size: 14px; }
.check-label { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 16px; line-height: 1.5; font-size: 14px; cursor: pointer; }
.check-label input { width: 20px; height: 20px; min-height: 20px; margin: 1px 0 0; flex: 0 0 20px; accent-color: var(--gold); }
.inline-link { font: inherit; color: inherit; border: 0; background: none; padding: 0; text-decoration: underline; cursor: pointer; }
.bot-check { margin: 12px 0; min-height: 0; }
.bot-check:empty { margin: 0; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.privacy-page { padding-top: 35px; }
.privacy-page h1 { font-size: 32px; }
.privacy-page h2 { margin-top: 28px; font-size: 24px; }
.privacy-page p { color: #c4bccc; overflow-wrap: anywhere; }
form { margin-top: 22px; padding-top: 22px; border-top: 1px solid #302632; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { margin-bottom: 14px !important; }
label { display: block; margin: 0 0 8px; color: #d8d0df; font-size: 14px; }
input, textarea { width: 100%; min-width: 0; padding: 13px 12px; border: 1px solid #44394a; border-radius: 0; background: #000; color: #f4f0e8; font-size: 16px; }
input { min-height: 48px; }
input::placeholder { color: #aaa5b1; }
input:disabled { color: #aaa5b1; }
textarea { resize: vertical; line-height: 1.45; }
fieldset:disabled label, fieldset:disabled .step-header { color: #aaa5b1; }
.fine-print { font-size: 14px; line-height: 1.5; margin: 18px 0 0; color: var(--muted); }
.message { font-size: 15px; line-height: 1.5; padding: 12px 14px; border-left: 2px solid var(--purple); background: #161019; color: #eddef4; overflow-wrap: anywhere; margin: 16px 0 0; }
.message[data-error='true'] { border-color: #ff986b; color: #ffbfa0; }
.local-preview { display: flex; justify-content: center; gap: 14px; align-items: center; margin-top: 8px; }
.local-preview span { font: 16px var(--font-text); color: #8c8297; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: min(100% - 40px, 480px); margin: 0 auto; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
footer > span { font: 14px/1.5 var(--font-text); color: #ab7c20; }
.success-panel { padding-top: 48px; text-align: center; }
.success-panel .lede { margin-bottom: 20px; }
.receipt-frame { border: 1px solid #493448; background: #08070a; }
.receipt-frame img, .post-image { display: block; width: 100%; height: auto; }
.receipt-state { color: var(--purple); font-size: 14px; margin: 12px 0 18px; }
.receipt-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.receipt-actions .button { font-size: 14px; padding-inline: 5px; gap: 4px; }
.receipt-actions:has(#share-file:not([hidden])) { grid-template-columns: 1fr 1fr; }
.caption-details { text-align: left; margin: 12px 0; }
summary { min-height: 44px; display: list-item; padding-block: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.posted-link { display: block; min-height: 44px; padding: 10px; color: var(--gold); }
dialog { width: min(100% - 32px, 500px); max-height: calc(100svh - 32px); padding: 24px; color: #eee6f2; background: #100c14; border: 1px solid #75578a; }
dialog::backdrop { background: #000b; }
dialog p { font-size: 15px; color: #c4bccc; }
dialog .button { margin-top: 12px; }
dialog .post-image { border: 1px solid #493448; margin-bottom: 18px; }
/* Keep the landing screen compact; long privacy text and zoomed content may
   still scroll naturally instead of being clipped to a fixed viewport. */
.landing-page .brand { padding: max(16px, env(safe-area-inset-top)) 16px 0; }
.landing-page .brand img { width: 96px; height: 27px; }
.landing-page .lab { width: min(100% - 32px, 420px); flex: 0 0 auto; margin: auto; padding: 16px 0; }
.landing-page .watcher { height: 44px; margin: 0 auto 8px; }
.landing-page h1 { font-size: 32px; line-height: 1.2; margin-bottom: 20px; }
.landing-page .registration-panel { padding: 20px; }
.landing-page .requirements { padding: 0; margin: 0 0 14px; text-align: center; line-height: 1.4; }
.landing-page .availability { margin: 10px 0 0; text-align: center; }
.landing-page .fine-print { margin: 14px 0 0; text-align: center; line-height: 1.4; }
.landing-page .bot-check + .helper:empty { display: none; }
.landing-page form { margin-top: 12px; padding-top: 12px; }
.landing-page .check-label { margin: 10px 0 12px; line-height: 1.4; }
.landing-page #wallet-help { margin: 6px 0 12px; }
.landing-page footer { width: min(100% - 32px, 420px); padding-bottom: max(8px, env(safe-area-inset-bottom)); }
.landing-page .success-panel { padding-top: 0; }
@media (max-height: 680px) {
  .landing-page .brand { padding-top: max(8px, env(safe-area-inset-top)); }
  .landing-page .brand img { width: 64px; height: 18px; }
  .landing-page .lab { padding-block: 8px; }
  .landing-page .watcher { height: 28px; margin-bottom: 4px; }
  .landing-page h1 { font-size: 32px; margin-bottom: 12px; }
  .landing-page .registration-panel { padding: 16px; }
  .landing-page .requirements { margin-bottom: 10px; }
  .landing-page .fine-print { margin-top: 10px; }
  .landing-page footer { padding-bottom: max(4px, env(safe-area-inset-bottom)); }
}
@media (max-height: 420px) and (min-width: 560px) {
  .landing-page .lab { width: min(100% - 32px, 760px); display: grid; grid-template-columns: minmax(140px, 1fr) minmax(280px, 1.4fr); gap: 16px; align-items: center; }
  .landing-page .introduction h1 { margin-bottom: 0; }
  .landing-page .success-panel, .landing-page .local-preview, .landing-page .message { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .brand { padding-top: max(20px, env(safe-area-inset-top)); }
  .brand img { width: 96px; height: 27px; }
  .lab, footer { width: calc(100% - 32px); }
  .registration-panel { padding: 19px 16px; }
  h1 { font-size: 32px; }
  .eyebrow { font-size: 16px; }
  .watcher { height: 62px; }
  .lede br { display: none; }
  .receipt-actions { grid-template-columns: 1fr 1fr; }
  #copy-caption { grid-column: 1 / -1; }
  .receipt-actions:has(#share-file:not([hidden])) #copy-caption { grid-column: auto; }
  .success-panel { padding-top: 34px; }
}
