/* Shared UI pieces used on every page: cookie banner, sticky mobile CTA, forms, wallet dialog, loading states. */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:hidden}
.cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:80;max-width:560px;margin:0 auto;background:#0b0f0a;color:#fff;border-radius:18px;padding:16px 18px;display:flex;gap:14px;align-items:center;flex-wrap:wrap;box-shadow:0 30px 60px -20px rgba(11,15,10,.5);font-size:14px;line-height:1.45}
.cookie p{flex:1 1 260px;color:rgba(255,255,255,.8)}
.cookie a{color:#99fb0a;text-decoration:underline}
.cookie .acts{display:flex;gap:8px}
.cookie button{height:36px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;font:inherit;font-weight:500;cursor:pointer}
.cookie button.yes{background:#99fb0a;border-color:#99fb0a;color:#0b0f0a}
.mcta{display:none}
@media(max-width:900px){
  .mcta{position:fixed;left:12px;right:12px;bottom:12px;z-index:70;display:flex;gap:8px;padding:8px;border-radius:999px;background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid #e4e8de;box-shadow:0 20px 40px -18px rgba(11,15,10,.35);transform:translateY(140%);transition:transform .45s cubic-bezier(.2,.7,.2,1)}
  .mcta.show{transform:none}
  .mcta a,.mcta button{flex:1;height:44px;border-radius:999px;display:flex;align-items:center;justify-content:center;font:500 15px/1 "Inter Tight",system-ui,sans-serif;border:1px solid #e4e8de;background:#fff;color:#0b0f0a;cursor:pointer;text-decoration:none}
  .mcta .p{background:#0b0f0a;border-color:#0b0f0a;color:#fff}
  body.has-cookie .mcta{display:none}
}
.field{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:8px}
.field input[type=email]{height:50px;min-width:260px;flex:0 1 320px;border-radius:999px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.06);color:#fff;padding:0 20px;font:400 15.5px "Inter Tight",system-ui,sans-serif;outline:none;transition:border-color .2s,box-shadow .2s}
.field input[type=email]::placeholder{color:rgba(255,255,255,.45)}
.field input[type=email]:focus{border-color:#99fb0a;box-shadow:0 0 0 4px rgba(153,251,10,.18)}
.field input[type=email].bad,.field input[type=email].bad:focus{border-color:#ff6b5e;box-shadow:0 0 0 4px rgba(255,107,94,.18)}
.ferr{min-height:20px;margin-top:10px;font-size:14px;color:#ff8f85}
button[aria-busy=true]{opacity:.65;pointer-events:none}
.spin{display:inline-block;width:14px;height:14px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .7s linear infinite;vertical-align:-2px}
@keyframes spin{to{transform:rotate(360deg)}}
dialog#wm{margin:auto;border:1px solid #e4e8de;border-radius:22px;padding:24px;width:min(400px,92vw);box-shadow:0 40px 90px -30px rgba(11,15,10,.4);font-family:"Inter Tight",system-ui,sans-serif;color:#0b0f0a;background:#fff}
dialog#wm::backdrop{background:rgba(11,15,10,.4);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
dialog#wm h3{font-weight:500;font-size:22px;letter-spacing:-.02em;margin:0 0 4px}
dialog#wm p{color:#4a5247;font-size:14px;margin:0 0 12px}
.wterms{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:#4a5247;padding:12px;border:1px solid #e4e8de;border-radius:12px;background:#f5f8ef;cursor:pointer}
.wterms input{margin-top:2px;width:16px;height:16px;accent-color:#0b0f0a;flex:none}
.wterms a{color:#0b0f0a;text-decoration:underline}
.wopt{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1px solid #e4e8de;border-radius:14px;background:#fff;margin-top:8px;font:500 16px "Inter Tight",system-ui,sans-serif;color:#0b0f0a;cursor:pointer;transition:border-color .2s,transform .2s,opacity .2s}
.wopt:hover:not(:disabled){border-color:#0b0f0a;transform:translateY(-1px)}
.wopt:disabled{opacity:.4;cursor:not-allowed}
.wopt img{width:28px;height:28px;border-radius:7px}
.wclose{margin-top:14px;width:100%;height:42px;border-radius:999px;border:1px solid #e4e8de;background:#fff;font:500 14.5px "Inter Tight",system-ui,sans-serif;cursor:pointer;color:#0b0f0a}
@media(prefers-reduced-motion:reduce){.mcta{transition:none}.spin{animation-duration:2s}}

dialog#ty{margin:auto;border:1px solid #e4e8de;border-radius:24px;padding:34px 30px 24px;width:min(460px,92vw);text-align:center;box-shadow:0 40px 90px -30px rgba(11,15,10,.45);font-family:"Inter Tight",system-ui,sans-serif;color:#0b0f0a;background:#fff}
dialog#ty[open]{animation:tyin .6s cubic-bezier(.2,.7,.2,1)}
@keyframes tyin{from{opacity:0;transform:translateY(14px) scale(.98)}}
dialog#ty::backdrop{background:rgba(11,15,10,.45);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
dialog#ty .tyk{display:inline-block;font:500 11px/1 "JetBrains Mono",monospace;letter-spacing:.1em;text-transform:uppercase;color:#3f7a00;background:rgba(153,251,10,.2);border-radius:999px;padding:7px 12px;margin-bottom:14px}
dialog#ty h3{font-weight:500;font-size:30px;letter-spacing:-.03em;line-height:1.1;margin:0 0 12px}
dialog#ty p{color:#4a5247;font-size:15.5px;line-height:1.55;margin:0 0 12px}
dialog#ty .btn{margin-top:8px;text-decoration:none;display:inline-flex}
@media(prefers-reduced-motion:reduce){dialog#ty[open]{animation:none}}
