/* Allowlist claim page and the login page's wallet sign-in. Same plum canvas, dandelion and type as the gate:
   Barlow Condensed 600 mixed-case headings, Manrope body, no bordered cards, coral for the one action. */
:root{--deep:#160f20;--coral:#ff655b;--coral-hover:#ff8077}
.allowlist-page main{height:auto;min-height:760px;max-height:none}
.allowlist-page .artwork{bottom:auto;height:min(100svh,900px)}
.allowlist-page .wind-controls{top:calc(min(100svh,900px) - 150px);bottom:auto}
.claim-copy{padding-bottom:56px}
.claim-copy .description{max-width:440px}
.claim-panel{max-width:400px;margin-top:28px;display:grid;gap:12px}
.claim-step{font-size:13px;line-height:1.7;color:#d9cfe0;margin:0}
.claim-button,.wallet-choice,.signin-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border:0;border-radius:5px;background:var(--coral);color:#211626;font-size:14px;font-weight:700;padding:0 18px;width:100%;text-align:center}
.claim-button:hover,.wallet-choice:hover,.signin-link:hover{background:var(--coral-hover)}
.claim-button:disabled,.wallet-choice:disabled{opacity:.6;cursor:progress}
.claim-button:focus-visible,.wallet-choice:focus-visible,.signin-link:focus-visible,.collabs a:focus-visible,.test-note a:focus-visible{outline:2px solid var(--blush);outline-offset:3px}
.wallet-choices{display:grid;gap:8px}
.wallet-choices:empty{display:none}
.wallet-choice{background:#33233b;color:var(--ivory);justify-content:flex-start;font-weight:600}
.wallet-choice:hover{background:#49344c}
.wallet-choice img{width:22px;height:22px;border-radius:5px;flex:none}
.wallet-choice .wallet-chain{margin-left:auto;font-size:11px;color:var(--muted);font-weight:500}
.claim-result{background:var(--deep);border-radius:8px;padding:16px 18px;display:grid;gap:8px}
.claim-result h2{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-weight:600;font-size:30px;line-height:1.05;letter-spacing:-.01em;margin:0;color:var(--ivory)}
.claim-result p{font-size:13px;line-height:1.7;color:#d9cfe0;margin:0}
.claim-result .address{font-size:11px;color:var(--muted);word-break:break-all}
.claim-result[data-tone=good] h2{color:var(--blush)}
.claim-result[data-tone=error] h2{color:#ffbbb2}
.claim-result ul{margin:0;padding-left:18px;font-size:13px;line-height:1.7;color:#d9cfe0}
.signin-link{width:auto;justify-self:start;margin-top:4px}
.safety{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px;font-size:12px;line-height:1.6;color:var(--lilac)}
.safety li:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--blush);margin:0 9px 2px 0}
.mobile-note{font-size:11px;color:var(--muted);margin:0}
.collabs{margin-top:34px;max-width:440px}
.collabs h2{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-weight:600;font-size:30px;line-height:1;letter-spacing:-.01em;margin:0 0 12px;color:var(--ivory)}
.collab-list{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.collab-list li{display:flex;justify-content:space-between;gap:16px;padding:9px 12px;border-radius:5px;background:#2a1c31;font-size:13px;color:var(--ivory)}
.collab-list li:nth-child(2n){background:#261a2d}
.collab-list .chain{color:var(--muted);font-size:12px;flex:none}
.collab-list .collab-name{display:flex;align-items:center;gap:10px;min-width:0}
.collab-list .access{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:600;color:var(--blush);white-space:nowrap}
.collab-list .access:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--blush)}
.claim-result .signin-link{margin-top:6px}
.collabs .empty{font-size:13px;color:#d9cfe0;margin:0}
.allowlist-page .test-note{margin-top:22px;font-size:12px}
.test-note a,.allowlist-link a{color:var(--blush);text-decoration:underline;text-underline-offset:3px}
/* Login page: the holder door above the invitation form (8 Nov 2026: one coral action, the form folded). */
.wallet-signin{max-width:360px;margin-top:20px;display:grid;gap:8px}
.wallet-signin .wallet-or{font-size:12px;color:var(--ivory);margin:0}
.wallet-signin .claim-button{background:#33233b;color:var(--ivory)}
.wallet-signin .claim-button:hover{background:#49344c}
/* Direct access (7 Nov 2026): the holder door is the page's one coral action. */
.wallet-signin[data-direct="1"] .claim-button{background:var(--coral);color:#211626}
.wallet-signin[data-direct="1"] .claim-button:hover{background:var(--coral-hover)}
.wallet-signin[data-direct="1"] .wallet-choice{background:#33233b;color:var(--ivory)}
.wallet-signin[data-direct="1"] .wallet-choice:hover{background:#49344c}
.wallet-signin .wallet-note{font-size:11px;line-height:1.6;color:var(--muted);margin:0}
.allowlist-link{font-size:11px;margin:2px 0 0;color:var(--ivory)}
/* The invitation form opens from one line; without JavaScript it is simply shown. */
button.form-or{background:none;border:0;padding:0;margin:22px 0 0;font:inherit;font-size:12px;color:var(--ivory);cursor:pointer;display:inline-flex;align-items:center;gap:8px;pointer-events:auto}
button.form-or:after{content:'';width:7px;height:7px;border-right:1.5px solid var(--blush);border-bottom:1.5px solid var(--blush);transform:rotate(45deg) translateY(-2px);transition:transform .2s ease-out}
button.form-or[aria-expanded="true"]:after{transform:rotate(-135deg) translateY(-2px)}
button.form-or:hover,button.form-or:focus-visible{color:var(--blush);outline:none}
.invite-form.is-folded{display:none}
/* With the holder door on the page the hero steps down a size so the column fits one screen. */
body:has(.wallet-signin:not([hidden])) .hero-copy{padding-top:clamp(16px,3vh,40px)}
body:has(.wallet-signin:not([hidden])) .hero-copy h1{font-size:clamp(60px,5.8vw,100px)}
body:has(.wallet-signin:not([hidden])) .intro{margin-bottom:16px}
body:has(.wallet-signin:not([hidden])) .description{line-height:1.7}

@media(max-width:700px){
  .allowlist-page main{min-height:0}
  .claim-copy{padding-bottom:12px}
  .claim-panel,.collabs{max-width:none}
  .allowlist-page .artwork{position:relative;inset:auto;height:420px;min-height:0;order:2;margin-top:8px}
  .allowlist-page .wind-controls{order:3;position:relative;top:auto;margin-top:-80px;margin-bottom:16px}
  .wallet-signin{max-width:360px}
  .claim-result h2,.collabs h2{font-size:28px}
}

/* WalletConnect (8 Nov 2026): the gate's own QR panel under the wallet choices. */
.wallet-qr{display:grid;gap:10px;justify-items:start;margin-top:6px;pointer-events:auto}
.wallet-qr .qr-hint{font-size:12px;line-height:1.6;color:#d9cfe0;margin:0;max-width:340px}
.wallet-qr .qr-code{width:240px;height:240px;max-width:100%;padding:8px;border-radius:8px;background:#fff;color:#211626}
.wallet-qr .qr-code svg{display:block;width:100%;height:100%}
.wallet-qr .qr-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.wallet-qr .qr-open,.wallet-qr .qr-copy,.wallet-qr .qr-cancel{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:5px;border:0;background:#33233b;color:var(--ivory);font:inherit;font-size:13px;font-weight:600;text-decoration:none;cursor:pointer}
.wallet-qr .qr-open:hover,.wallet-qr .qr-copy:hover,.wallet-qr .qr-cancel:hover{background:#49344c}
.wallet-qr .qr-open:focus-visible,.wallet-qr .qr-copy:focus-visible,.wallet-qr .qr-cancel:focus-visible{outline:2px solid var(--blush);outline-offset:3px}
@media(min-width:701px){.wallet-qr .qr-open{display:none}}
