/* Link landing pages: /g/<code> (gift), /p/<code> (partner code), /r/<code> (friend code).
   Loaded after site.css (tokens, fonts, .btn, .store-cta, .app-badge). No inline styles are allowed
   by the site CSP, so the six gift wraps are classes here; the ids match config/gifts.json. */
.lp { min-height: 100svh; background: var(--night, #0B0B0A); }
.lp-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: max(28px, env(safe-area-inset-top)) 16px max(32px, env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }
.lp-brand { font: 400 15px/1 var(--display, "Archivo", system-ui, sans-serif); letter-spacing: .32em; color: var(--text, #F4F2ED); text-decoration: none; padding: 10px 4px; }
.lp-card {
  --lp-a: #E4202A; --lp-b: #8A1018; --lp-ink: #FFFFFF;
  position: relative; width: 100%; padding: 34px 26px 28px; border-radius: 26px; overflow: hidden;
  background: linear-gradient(135deg, var(--lp-a), var(--lp-b)); color: var(--lp-ink);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.12);
}
.lp-wrap--gold     { --lp-a: #F2C94C; --lp-b: #B8860B; --lp-ink: #2B1B00; }
.lp-wrap--midnight { --lp-a: #1B2A6B; --lp-b: #0A0F2E; --lp-ink: #FFFFFF; }
.lp-wrap--mint     { --lp-a: #3DDC97; --lp-b: #0E7A52; --lp-ink: #04281B; }
.lp-wrap--holo     { --lp-a: #B388FF; --lp-b: #40C4FF; --lp-ink: #0B0B2B; }
.lp-wrap--kraft    { --lp-a: #C9A27A; --lp-b: #8B6B47; --lp-ink: #2A1D0F; }
.lp-dead { --lp-a: #3A3A3A; --lp-b: #151515; --lp-ink: #F4F2ED; }
.lp-pack {
  position: absolute; right: -34px; top: 18px; width: 150px; height: 210px; border-radius: 18px; transform: rotate(8deg);
  border: 4px solid var(--lp-ink); background: rgba(255,255,255,.16); opacity: .28;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--lp-ink);
}
.lp-pack span { font: 400 13px/1 var(--display, "Archivo", system-ui, sans-serif); letter-spacing: .22em; }
.lp-pack i { display: block; width: 56px; height: 4px; background: var(--lp-ink); opacity: .6; border-radius: 2px; }
.lp-pack b { font: 400 11px/1 var(--display, "Archivo", system-ui, sans-serif); letter-spacing: .16em; opacity: .85; }
.lp-kicker { position: relative; margin: 0 0 10px; font: 400 13px/1 var(--display, "Archivo", system-ui, sans-serif); letter-spacing: .26em; opacity: .85; }
.lp-title { text-transform: uppercase; position: relative; margin: 0 0 16px; max-width: 12em; font: 400 clamp(30px, 8vw, 46px)/1.04 var(--display, "Archivo", system-ui, sans-serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.lp-msg { position: relative; margin: 0 0 18px; padding: 0 0 0 14px; border-left: 3px solid var(--lp-ink); font-size: 19px; line-height: 1.35; font-weight: 500; overflow-wrap: anywhere; }
.lp-text { position: relative; margin: 0 0 18px; font-size: 17px; line-height: 1.45; opacity: .92; }
.lp-card .store-cta { position: relative; margin: 22px 0 10px; }
.lp-code { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 20px 0 8px; padding: 16px 18px; border-radius: 16px; background: rgba(0,0,0,.28); color: #F4F2ED; }
.lp-code-k { font: 400 11px/1 var(--display, "Archivo", system-ui, sans-serif); letter-spacing: .24em; opacity: .75; }
.lp-code-v { font: 800 clamp(26px, 8vw, 38px)/1.1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.lp-code-s { font-size: 13px; opacity: .75; }
.lp-steps { position: relative; margin: 14px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.5; opacity: .92; }
.lp-fine { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-3, rgba(244,242,237,.6)); text-align: center; max-width: 34em; }
@media (min-width: 560px) { .lp-card { padding: 42px 38px 34px; } .lp-pack { right: 26px; top: 28px; width: 170px; height: 240px; opacity: .85; } .lp-title { max-width: 9em; } }

/* /u/<handle> public profile (functions/_shared/profile.js). Banner styles + tiers are classes: no inline styles under the site CSP. */
.pf { --pf-a: #3B6BFF; --pf-b: #14C8B4; position: relative; width: 100%; padding: 28px 22px 24px; border-radius: 26px; overflow: hidden; color: #F4F2ED; background: linear-gradient(140deg, var(--pf-a), var(--pf-b) 55%, #0B0B10 120%); box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.14); }
.pf-banner--ember { --pf-a: #FF6A2B; --pf-b: #B3162B; } .pf-banner--tide { --pf-a: #1E9BFF; --pf-b: #0A3D91; } .pf-banner--void { --pf-a: #5B3DF5; --pf-b: #140A33; }
.pf-banner--prism { --pf-a: #C06BFF; --pf-b: #29D3C2; } .pf-banner--gold { --pf-a: #F2C94C; --pf-b: #8A5A00; } .pf-banner--mint { --pf-a: #3DDC97; --pf-b: #0E5C46; } .pf-banner--rose { --pf-a: #FF6FA8; --pf-b: #8A1650; }
.pf-top { display: flex; align-items: center; gap: 16px; }
.pf-avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font: 400 28px/1 var(--display, "Archivo", system-ui, sans-serif); letter-spacing: .06em; background: rgba(0,0,0,.32); box-shadow: inset 0 0 0 3px rgba(255,255,255,.4); }
.pf-name { margin: 0; font: 400 clamp(26px, 7vw, 38px)/1.05 var(--display, "Archivo", system-ui, sans-serif); text-transform: uppercase; overflow-wrap: anywhere; }
.pf-handle { margin: 4px 0 0; opacity: .8; font-size: 16px; }
.pf-rank { display: inline-block; margin: 16px 0 0; padding: 7px 14px; border-radius: 999px; background: rgba(0,0,0,.34); font: 800 13px/1 var(--display, "Archivo", system-ui, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
.pf-bio { margin: 14px 0 0; font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.pf-hero { margin: 20px 0 0; padding: 18px; border-radius: 18px; display: flex; flex-direction: column; gap: 4px; background: rgba(0,0,0,.34); border: 2px solid rgba(255,255,255,.35); }
.pf-hero-k { font: 800 11px/1 var(--display, "Archivo", system-ui, sans-serif); letter-spacing: .24em; text-transform: uppercase; opacity: .75; }
.pf-hero b { font: 400 26px/1.1 var(--display, "Archivo", system-ui, sans-serif); text-transform: uppercase; }
.pf-stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0 0; padding: 0; }
.pf-stat { padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.28); display: flex; flex-direction: column; gap: 4px; }
.pf-stat b { font: 400 24px/1 var(--display, "Archivo", system-ui, sans-serif); } .pf-stat span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.pf-h { margin: 22px 0 10px; font: 800 12px/1 var(--display, "Archivo", system-ui, sans-serif); letter-spacing: .26em; text-transform: uppercase; opacity: .8; }
.pf-shelf { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; }
.pf-card { position: relative; min-height: 112px; padding: 10px; border-radius: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; border: 2px solid rgba(255,255,255,.45); background: linear-gradient(160deg, #3a4a7a, #141a30); }
.pf-card-n { font: 400 14px/1.1 var(--display, "Archivo", system-ui, sans-serif); text-transform: uppercase; overflow-wrap: anywhere; } .pf-card-t { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.pf-open { position: absolute; top: 6px; left: 6px; right: 6px; font-style: normal; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 3px 4px; border-radius: 999px; background: #F4F2ED; color: #0B0B10; font-weight: 800; }
.pf-tier--uncommon { background: linear-gradient(160deg, #2e8a57, #0f2a1c); } .pf-tier--glint { background: linear-gradient(160deg, #28a7c9, #0c2a35); } .pf-tier--rare { background: linear-gradient(160deg, #3b6bff, #101c4a); }
.pf-tier--prism { background: linear-gradient(160deg, #a45bff, #26104a); } .pf-tier--holo { background: linear-gradient(160deg, #d46bff, #36124d); } .pf-tier--eclipse { background: linear-gradient(160deg, #6a52ff, #150f3a); }
.pf-tier--ultra { background: linear-gradient(160deg, #ffb13b, #5a3200); } .pf-tier--apex { background: linear-gradient(160deg, #ff7a3b, #5a1500); } .pf-tier--secret { background: linear-gradient(160deg, #ff4f86, #4a0a24); }
.pf .store-cta { margin: 24px 0 8px; } .pf-follow { margin: 8px 0 0; font-size: 14px; opacity: .8; }
