/* Layout: countdown and slogan up top, then the globe as a full-bleed night sky; everything else is a quiet single column below. */
:root {
  /* Theme v2 "modern time capsule" (owner + Lumen, 27 Nov): night navy, off-white, warm amber */
  /* Palette v3 (owner 28 Nov): navy + graphite surfaces, off-white text, ice-turquoise accent ("--gold" keeps its
     name so older rules follow); warm amber only for the LMT Collection mark and small New Year details. */
  --bg: #0B1020;
  --bg-2: #161B26;
  --bg-3: #1F2533;
  --line: #2C3446;
  --fg: #F4EFE6;
  --muted: rgba(244, 239, 230, .72);
  --dim: rgba(244, 239, 230, .5);
  --gold: #4FC8D8;
  --gold-ink: #04141A;
  --accent-soft: rgba(79, 200, 216, .35);
  --warm: #E8A33D;
  --red: #C8453A;
  --danger: #FF8A7A;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 12px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
a { color: var(--gold); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font: 600 clamp(1.9rem, 4vw, 2.6rem)/1.1 var(--font-display); }
h3 { font: 600 1.05rem/1.3 var(--font-body); }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; } /* above the 3D scene, below the intro text and tools */
main, .footer, .topbar { position: relative; z-index: 2; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 600 .95rem/1 var(--font-body); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--gold-ink); }
.btn-primary:hover { background: #F6C870; }
.btn-primary[disabled] { opacity: .55; cursor: progress; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--dim); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .88rem; }

.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(11, 13, 23, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.logo { font: 700 1.1rem/1 var(--font-body); letter-spacing: .08em; color: var(--fg); text-decoration: none; }
.logo span { color: var(--gold); }
.topnav { display: flex; gap: 20px; margin-left: auto; }
.topnav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.topnav a:hover { color: var(--fg); }
.insta { color: var(--muted); display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; }
.insta:hover { color: var(--fg); }
@media (max-width: 720px) { .topnav { display: none; } .insta { margin-left: auto; } .topbar .btn { display: none; } .topbar-in { justify-content: space-between; } }
.preview-banner { position: relative; z-index: 2; background: #2A2112; color: var(--gold); font-size: .85rem; padding-block: 8px; }

.hero { padding-block: clamp(28px, 6vw, 56px) 20px; text-align: center; }
.hero-in { display: grid; justify-items: center; gap: 12px; padding: 18px 12px; border-radius: 16px; background: radial-gradient(ellipse at center, rgba(11, 13, 23, .62) 40%, rgba(11, 13, 23, 0) 75%); }
.countdown { display: flex; align-items: flex-start; justify-content: center; gap: clamp(4px, 1.6vw, 16px); }
.cd-unit { display: grid; justify-items: center; gap: 6px; min-width: clamp(58px, 15vw, 128px); }
.cd-num { font: 600 clamp(2.5rem, 10vw, 5.4rem)/1 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: -.03em; color: var(--gold); transition: transform .3s; }
.cd-sep { font: 300 clamp(2rem, 8vw, 4.4rem)/1 var(--font-body); color: var(--dim); }
.cd-lbl { font: 600 .7rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.final-minute .cd-num { color: var(--fg); text-shadow: 0 0 24px rgba(242, 184, 75, .7); }
.final-minute #cdS { transform: scale(1.18); color: var(--gold); }
.cd-note { color: var(--muted); font-size: .9rem; }
.cd-note span { display: block; font-size: .8rem; color: var(--dim); margin-top: 2px; }
.slogan { margin-top: 10px; font: 600 clamp(1.05rem, 3vw, 1.6rem)/1.3 var(--font-display); letter-spacing: .14em; }
.hero-sub { color: var(--muted); }

.sealed { padding-block: 40px; text-align: center; }
.sealed .wrap { display: grid; gap: 12px; justify-items: center; max-width: 720px; }
.sealed h2 { font-size: clamp(2.4rem, 7vw, 4rem); color: var(--gold); }
body.is-closed .js-open, body.is-closed .mobile-cta, body.is-closed .countdown, body.is-closed .cd-note { display: none !important; }

/* Globe */
.globe-sec { position: relative; }
.globe-frame { position: relative; height: min(78vh, 820px); min-height: 420px; overflow: hidden; touch-action: none; background: radial-gradient(60% 55% at 50% 50%, rgba(40, 70, 140, .18) 0%, rgba(11, 13, 23, 0) 70%); }
@media (max-width: 720px) { .globe-frame { height: 65vh; min-height: 380px; } }
.globe-mount, .flat-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.fireworks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.globe-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; pointer-events: none; }
.find { position: absolute; top: 12px; left: max(12px, env(safe-area-inset-left, 0px)); display: flex; gap: 6px; z-index: 3; width: min(320px, calc(100% - 24px)); }
.find input { flex: 1; min-width: 0; }
input, textarea, select { background: var(--bg-3); border: 1px solid var(--line); color: var(--fg); border-radius: 10px; min-height: 44px; padding: 10px 12px; font: 400 1rem/1.4 var(--font-body); width: 100%; }
.find input { background: rgba(18, 22, 38, .92); }
.tool { min-width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(18, 22, 38, .92); color: var(--fg); font: 500 1.25rem/1 var(--font-body); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.tool:hover { border-color: var(--dim); }
.tool-wide { padding: 0 12px; font-size: .82rem; font-weight: 500; }
.tool[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.globe-tools { position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); bottom: 12px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; z-index: 3; }
.globe-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(11, 13, 23, .8); border: 1px solid var(--line); color: var(--muted); font-size: .78rem; padding: 6px 12px; border-radius: 999px; pointer-events: none; transition: opacity .4s; white-space: nowrap; z-index: 3; }
@media (max-width: 520px) { .globe-hint { left: 12px; transform: none; max-width: calc(100% - 140px); white-space: normal; } }

.bubble { position: relative; transform: translate(-50%, -100%); cursor: pointer; pointer-events: auto; display: grid; justify-items: center; }
.bubble .b-img { width: var(--d, 44px); height: var(--d, 44px); border-radius: 50%; border: 2px solid var(--gold); background: #232941 center/cover no-repeat; box-shadow: 0 0 14px rgba(242, 184, 75, .35); }
.bubble .b-stem { width: 2px; height: 12px; background: linear-gradient(var(--gold), rgba(242, 184, 75, 0)); }
.bubble.cluster .b-img { background: rgba(242, 184, 75, .22); border: 1.5px solid rgba(242, 184, 75, .9); display: grid; place-items: center; color: var(--fg); font: 700 .82rem/1 var(--font-body); backdrop-filter: blur(2px); }
.bubble.pending .b-img { opacity: .5; border-style: dashed; }
.bubble.pending::after { content: "In review"; position: absolute; top: calc(100% + 2px); font-size: .68rem; color: var(--muted); white-space: nowrap; }
.bubble.pop .b-img { animation: pop 1.6s ease-out; }
@keyframes pop { 0% { transform: scale(.2); box-shadow: 0 0 0 0 rgba(242, 184, 75, .9); } 40% { transform: scale(1.15); } 100% { transform: scale(1); box-shadow: 0 0 14px rgba(242, 184, 75, .35); } }
.bubble:focus-visible .b-img { outline: 2px solid var(--fg); outline-offset: 2px; }

.mem-panel { position: absolute; z-index: 4; top: 12px; right: max(12px, env(safe-area-inset-right, 0px)); width: min(340px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); display: grid; gap: 10px; }
.mem-panel .m-photo { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); max-width: 220px; justify-self: center; background: #232941; }
.mem-panel .m-msg { font: 500 1.3rem/1.35 var(--font-display); font-style: italic; overflow-wrap: anywhere; }
.mem-no { font: 600 .95rem/1.2 var(--font-body); font-variant-numeric: tabular-nums; color: var(--gold); letter-spacing: .04em; }
@media (max-width: 640px) { .mem-panel { top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-height: 75%; border-radius: 16px 16px 0 0; } }
.x { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); font-size: 1.6rem; cursor: pointer; border-radius: 10px; }
.x:hover { color: var(--fg); background: var(--bg-3); }

.list-view { position: absolute; inset: 0; z-index: 3; background: var(--bg); overflow-y: auto; padding: 72px max(16px, env(safe-area-inset-right, 0px)) 80px max(16px, env(safe-area-inset-left, 0px)); }
.list-title { font-size: 1.6rem; margin-bottom: 12px; }
.list-view ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-width: 760px; }
.list-view li button { width: 100%; text-align: left; display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; color: var(--fg); font: inherit; cursor: pointer; }
.list-view li img, .list-view li .ph { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #232941; }
.list-view li p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding-block: 16px; color: var(--muted); font-size: .92rem; }
.stats b { color: var(--fg); font-variant-numeric: tabular-nums; font-weight: 600; }
.bar { height: 6px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; min-width: 2px; background: linear-gradient(90deg, var(--gold), #F6D28A); border-radius: inherit; transition: width .6s; }
@media (max-width: 720px) { .stats-in { grid-template-columns: 1fr; gap: 8px; } }

.recent { padding-block: 40px; }
.recent h2 { margin-bottom: 16px; }
.recent-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.recent-row .empty { color: var(--muted); padding: 22px; border: 1px dashed var(--line); border-radius: var(--r); width: 100%; text-align: center; font: italic 500 1.35rem/1.3 var(--font-display); }
.mini { flex: 0 0 200px; scroll-snap-align: start; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 8px; justify-items: center; text-align: center; color: var(--fg); font: inherit; cursor: pointer; }
.mini .ph, .mini img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); background: #232941; }
.mini p { font-size: .88rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

.how { padding-block: 48px; }
.how .wrap { display: grid; gap: 24px; justify-items: start; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; width: 100%; }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--line); padding-top: 16px; }
.steps li::before { content: counter(s); font: 600 2.4rem/1 var(--font-display); color: var(--gold); }
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.promise { background: var(--bg-2); border-block: 1px solid var(--line); }
.promise-in { padding-block: 48px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; }
.promise p { color: var(--muted); font-size: 1.06rem; max-width: 60ch; }
@media (max-width: 760px) { .promise-in { grid-template-columns: 1fr; gap: 12px; } }
.faq { padding-block: 48px 64px; }
.faq h2 { margin-bottom: 16px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 16px; max-width: 760px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 65ch; }
.footer { border-top: 1px solid var(--line); padding-block: 32px calc(96px + env(safe-area-inset-bottom, 0px)); background: var(--bg); }
.footer-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.credits { margin-top: 20px; color: var(--dim); }
@media (min-width: 721px) { .footer { padding-bottom: 32px; } }
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: linear-gradient(transparent, rgba(11, 13, 23, .96) 30%); }
.mobile-cta .btn { width: 100%; min-height: 50px; }
@media (min-width: 721px) { .mobile-cta { display: none; } }

/* Sheet */
.sheet-bg { position: fixed; inset: 0; background: rgba(3, 4, 10, .72); z-index: 40; }
.sheet { position: fixed; z-index: 41; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(540px, calc(100% - 32px)); max-height: calc(100% - 48px); overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
@media (max-width: 640px) { .sheet { top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-height: 94%; border-radius: 18px 18px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sheet-head h2 { font-size: 1.8rem; }
.sheet-head .x { position: static; }
.stepper { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 18px; }
.stepper li { flex: 1; font: 600 .66rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); border-top: 3px solid var(--line); padding-top: 8px; }
.stepper li.on { color: var(--gold); border-color: var(--gold); }
.stepper li.done { color: var(--muted); border-color: var(--dim); }
.step { display: grid; gap: 14px; }
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; }
.field { display: grid; gap: 6px; min-width: 0; position: relative; }
.field label { font-weight: 500; font-size: .92rem; }
textarea { resize: vertical; min-height: 110px; }
.hint { color: var(--muted); font-size: .8rem; }
.err { color: var(--danger); font-size: .9rem; }
.notice { font-weight: 600; color: var(--gold); }
.crop { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; }
@media (max-width: 480px) { .crop { grid-template-columns: 1fr; justify-items: center; } }
.crop-circle { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); background: var(--bg-3); position: relative; touch-action: none; cursor: grab; display: grid; place-items: center; }
.crop-circle canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.crop-circle span { color: var(--dim); font-size: .9rem; position: relative; }
.crop-ctrl { display: grid; gap: 8px; width: 100%; }
.file-btn { justify-self: start; }
input[type=range] { padding: 0; min-height: 30px; accent-color: var(--gold); background: transparent; border: 0; }
.city-list { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px; max-height: 240px; overflow-y: auto; }
.city-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.city-list li[aria-selected="true"], .city-list li:hover { background: var(--line); }
.place-picked { font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--gold); flex: 0 0 auto; }
.preview-card { display: grid; grid-template-columns: 96px 1fr; gap: 14px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; align-items: center; }
.preview-card img, .preview-card .ph { width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; background: #232941; }
.preview-card .msg { font: italic 500 1.15rem/1.35 var(--font-display); overflow-wrap: anywhere; }
.preview-card .meta { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.pay-sum { display: flex; justify-content: space-between; align-items: center; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.pay-sum b { font-size: 1.2rem; }
.pay-box { min-height: 50px; display: grid; gap: 10px; }
.done { display: grid; gap: 14px; justify-items: center; text-align: center; }
.done-bubble { width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--gold); background: #232941 center/cover no-repeat; box-shadow: 0 0 30px rgba(242, 184, 75, .45); animation: pop 1.6s ease-out; }
.done-title { font: 600 2rem/1.1 var(--font-display); }
.done .mem-no { font-size: 1.4rem; }
.share { display: flex; gap: 8px; width: 100%; }
.share input { font-size: .85rem; }
.story-img { width: 160px; border-radius: 10px; border: 1px solid var(--line); }

/* Currency switch */
.cur { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.cur button { background: transparent; border: 0; color: var(--muted); font: 600 .75rem/1 var(--font-body); letter-spacing: .06em; padding: 0 10px; min-height: 34px; cursor: pointer; }
.cur button[aria-pressed="true"] { background: var(--bg-3); color: var(--gold); }
@media (max-width: 720px) { .cur { margin-left: auto; } .insta { margin-left: 0; } }

/* Who is it for */
.who { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.who legend { font-weight: 600; margin-bottom: 10px; font-size: 1.05rem; }
.who-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-3); cursor: pointer; }
.who-opt:has(input:checked) { border-color: var(--gold); }
.who-opt input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--gold); flex: 0 0 auto; }
.who-opt span { display: grid; gap: 2px; }
.who-opt small { color: var(--muted); font-size: .85rem; }
.who-opt.off { opacity: .45; cursor: not-allowed; }

/* Basket */
/* Preview card on the publish step */
.preview-card { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 14px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r); }
.preview-card img { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.preview-card .msg { font: italic 500 1.1rem/1.3 var(--font-display); margin-top: 4px; overflow-wrap: anywhere; }
.preview-card .meta { color: var(--muted); font-size: .8rem; }
.b-kind { font: 600 .72rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
/* Credit packs: 2 x 2 on phones, 4 in a row on wider screens */
.packs { border: 0; padding: 0; margin: 0; }
.packs legend { font-weight: 600; margin-bottom: 10px; font-size: 1.05rem; }
.pack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .pack-grid { grid-template-columns: repeat(4, 1fr); } }
.pack { position: relative; display: grid; gap: 4px; justify-items: center; text-align: center; padding: 14px 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-3); cursor: pointer; }
.pack input { position: absolute; opacity: 0; pointer-events: none; }

.pack-price { font: 600 1.15rem/1 var(--font-body); color: var(--gold); }
.pack:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.pack:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.legal-line { font-size: .78rem; color: var(--muted); text-align: center; }
.legal-line a { color: var(--muted); }
.pack { padding-top: 22px; }
.pack-name { font: 600 .7rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pack-px { font: 600 1.45rem/1.1 var(--font-display); }
.pack-split { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.pack-free { font-style: normal; font-weight: 700; color: var(--gold-ink); background: var(--gold); padding: 2px 6px; border-radius: 999px; white-space: nowrap; }
.pack-per { color: var(--muted); font-size: .72rem; }
.pack-best { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font: 700 .66rem/1 var(--font-body); font-style: normal; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--gold-ink); padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.pack.off { opacity: .4; cursor: not-allowed; }
.pack { overflow: visible; }
.tag-bonus { color: var(--gold); border-color: var(--gold); }
.first-band { text-align: center; color: var(--gold); font-size: .9rem; padding-block: 0 14px; }
/* Gift link welcome */
.welcome { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 10px 0; }
.welcome h3 { font: 600 1.8rem/1.15 var(--font-display); }
.gift-badge { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); border: 3px solid var(--gold); background: #232941; box-shadow: 0 0 30px rgba(242, 184, 75, .35); }
.done-bubble.gift { background: #232941 radial-gradient(circle at 35% 30%, rgba(242,184,75,.45), transparent 60%); }
/* My pixels */
.mine-head { font-size: 1.05rem; }
.credits { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.credit { padding: 12px 14px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 10px; }
.credit.off { opacity: .8; }
.credit-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.credit-no { font-weight: 600; }
.tag { font: 600 .72rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tag-available { color: var(--gold); border-color: var(--gold); }
.tag-sent { color: #9ec5ff; border-color: #9ec5ff; }
.tag-used { color: #9fd8a8; border-color: #9fd8a8; }
.credit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.credit-actions .btn { min-height: 36px; }
.credit-note { overflow-wrap: anywhere; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-full { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: .01em; }
.logo-short { display: none; }
@media (max-width: 900px) { .logo-full { display: none; } .logo-short { display: inline; } }

/* Team showcase bubbles: same bubble, a thin teal ring so they read as house content */
.bubble.team .b-img { border-color: #9EE6E0; }
.team-badge { display: inline-block; font: 600 .7rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #9EE6E0; border: 1px solid #9EE6E0; border-radius: 999px; padding: 5px 9px; }

/* Space background behind the globe (drawn in app.js) */
.space { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; pointer-events: none; z-index: -1; } /* sky behind the whole site */

/* Place search suggestions */
.find { flex-wrap: nowrap; }
.find-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; list-style: none; margin: 0; padding: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); max-height: 60vh; overflow-y: auto; z-index: 5; }
.find-suggest li { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; min-height: 44px; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.find-suggest li[aria-selected="true"], .find-suggest li:hover { background: var(--bg-3); }
.sg-flag { font-size: 1.2rem; line-height: 1; text-align: center; }
.sg-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Memories of one area, under the globe */
.area-sheet { position: absolute; z-index: 3; left: max(12px, env(safe-area-inset-left, 0px)); bottom: 12px; width: min(420px, calc(100% - 150px)); max-height: 46%; display: grid; grid-template-rows: auto 1fr; background: rgba(18, 22, 38, .95); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); overflow: hidden; }
.area-head { display: flex; justify-content: space-between; align-items: start; gap: 8px; padding: 12px 12px 6px 14px; }
.area-head h3 { margin: 0; font: 600 1rem/1.3 var(--font-body); }
.area-head .x { position: static; }
.area-items { list-style: none; margin: 0; padding: 4px 10px 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; overflow-y: auto; }
.area-items button { width: 100%; display: grid; justify-items: center; gap: 4px; padding: 8px 4px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px; color: var(--fg); font: inherit; cursor: pointer; min-height: 44px; }
.area-items img, .area-items .ph { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; background: #232941; }
.area-items .small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.area-items .area-more { grid-column: 1 / -1; }
.area-empty { grid-column: 1 / -1; padding: 4px; }
@media (max-width: 640px) { .area-sheet { left: 0; right: 0; bottom: 0; width: 100%; max-height: 45%; border-radius: 16px 16px 0 0; } }
/* globe.gl gives each bubble its own z-index; keep them inside the globe so menus and sheets stay on top */
.globe-mount { z-index: 1; isolation: isolate; }
.find { z-index: 6; }
@media (max-width: 640px) { .area-items { padding-bottom: 84px; } }

/* Payment confirmed card with Pixel and Memo (not full screen, page stays visible around it) */
.cel { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; pointer-events: none; padding: 16px; }
.cel-card { pointer-events: auto; position: relative; width: clamp(280px, 60vw, 440px); max-height: calc(100% - 32px); overflow: hidden; text-align: center; background: var(--bg-2); border: 1px solid var(--gold); border-radius: 18px; box-shadow: 0 24px 70px rgba(0, 0, 0, .6); padding: 0 20px 20px; animation: celIn .25s ease-out both; }
.cel-card .x { z-index: 3; }
.cel-stage { position: relative; height: 180px; margin: 0 -20px 6px; background: radial-gradient(80% 90% at 50% 100%, rgba(242, 184, 75, .22), transparent 70%); transition: height .5s ease; }
.cel-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cel-chars { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; transform-origin: 0 100%; transition: transform .5s ease; }
.cel-jump { display: flex; gap: 2px; animation: celJump .4s cubic-bezier(.3, 1.5, .5, 1) both; }
.cel-c svg { display: block; width: 118px; height: auto; }
.cel .eye { transform-box: fill-box; transform-origin: center; animation: celEye .8s .4s ease-out both; }
.cel .spark { opacity: 0; transform-box: fill-box; transform-origin: center; animation: celSpark .8s .45s ease-out 2; }
.cel .arm { transform-box: view-box; animation: celArm .5s .45s cubic-bezier(.3, 1.4, .5, 1) both; }
.cel .arm-l { transform-origin: 66px 156px; --from: -95deg; }
.cel .arm-r { transform-origin: 134px 156px; --from: 95deg; }
.cel.settled .cel-stage { height: 64px; }
.cel-title { font: 600 1.5rem/1.2 var(--font-display); margin: 4px 0 6px; color: var(--gold); }
.cel-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.cel-btns .btn { flex: 1 1 140px; }
.cel.still .cel-jump, .cel.still .eye, .cel.still .spark, .cel.still .arm, .cel.still .cel-card { animation: none; }
@keyframes celIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes celJump { from { transform: translateY(110%); } to { transform: none; } }
@keyframes celEye { 0% { transform: scale(1); filter: none; } 55% { transform: scale(1.32); filter: drop-shadow(0 0 6px #fff7d6); } 100% { transform: scale(1.18); filter: drop-shadow(0 0 3px #fff7d6); } }
@keyframes celSpark { 0% { opacity: 0; transform: scale(.2) rotate(0deg); } 40% { opacity: 1; transform: scale(1.25) rotate(45deg); } 100% { opacity: 0; transform: scale(.5) rotate(90deg); } }
@keyframes celArm { from { transform: rotate(var(--from)); } to { transform: none; } }
@media (max-width: 480px) { /* owner 27 Nov: on phones the card covers about 40% of the screen or less */ .cel { padding: 12px; } .cel-card { width: min(240px, 64vw); padding: 0 14px 14px; border-radius: 16px; } .cel-stage { height: 124px; margin: 0 -14px 4px; } .cel-c svg { width: 80px; } .cel-title { font-size: 1.2rem; margin: 2px 0 4px; } .cel-card p { font-size: .9rem; } .cel-btns { gap: 6px; margin-top: 10px; } .cel-btns .btn { flex: 1 1 100%; padding: 9px 12px; } .cel.settled .cel-stage { height: 52px; } }

/* ===== Intro scene (owner 27 Nov): countdown and slogan over the 3D Earth in 3D space, one full screen ===== */
.stage { position: relative; }
.stage .hero { position: absolute; inset: 0 0 auto; z-index: 5; pointer-events: none; padding-block: clamp(14px, 4vh, 44px) 0; transition: opacity .5s ease, transform .5s ease; }
.stage .hero-in { background: radial-gradient(ellipse at center, rgba(5, 6, 13, .5) 30%, rgba(5, 6, 13, 0) 72%); }
.stage .hero button, .stage .hero a { pointer-events: auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.stage .globe-frame { height: calc(100vh - 61px); height: calc(100svh - 61px); min-height: 560px; max-height: none; background: transparent; }
.stage .globe-mount { -webkit-mask-image: linear-gradient(transparent 0, #000 9%, #000 86%, transparent); mask-image: linear-gradient(transparent 0, #000 9%, #000 86%, transparent); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.stage:not(.engaged) .globe-mount { transform: translateY(17%); }
.stage:not(.engaged) .bubble { opacity: .55; }
.space-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.stage:not(.engaged) .globe-tools, .stage:not(.engaged) .globe-hint { opacity: 0; pointer-events: none; }
.stage .globe-tools, .stage .globe-hint, .stage .find { transition: opacity .4s ease; }
.stage.engaged .hero { opacity: 0; transform: translateY(-28px); }
.stage.engaged .hero * { pointer-events: none !important; }
@media (max-width: 1199px) { .stage:not(.engaged) .find { opacity: 0; pointer-events: none; } }
@media (max-width: 720px) {
  .stage .globe-frame { min-height: 520px; }
  .stage .hero-cta .js-open { display: none; } /* the sticky button at the bottom already offers it */
  .stage .globe-tools { bottom: 96px; }
  .stage:not(.engaged) .globe-mount { transform: translateY(24%); }
  .stage:not(.engaged) .bubble { opacity: 0; pointer-events: none; }
  .stage .mem-panel { max-height: calc(100% - 110px); }
}

/* Lumen review 27 Nov */
.hero-left { display: none; margin: 0; font: 600 .92rem/1.3 var(--font-body); color: var(--gold); }
.cel-c svg { filter: drop-shadow(1.5px 0 0 #1A1630) drop-shadow(-1.5px 0 0 #1A1630) drop-shadow(0 1.5px 0 #1A1630) drop-shadow(0 -1.5px 0 #1A1630); }
@media (max-width: 720px) {
  .hero-left { display: block; }
  .stage .hero { background: linear-gradient(rgba(5, 6, 13, .78), rgba(5, 6, 13, .62) 70%, rgba(5, 6, 13, 0)); padding-bottom: 28px; }
  .stage #exploreBtn { background: rgba(11, 13, 23, .7); border-color: rgba(242, 184, 75, .55); backdrop-filter: blur(4px); }
}

/* Lumen review round 2, 27 Nov */
.cel { background: rgba(11, 13, 23, .75); }
.cel-c.cel-one svg { width: 142px; }
@media (max-width: 480px) { .cel-c.cel-one svg { width: 98px; } }
.share-menu { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 10px; border: 1px solid var(--line, rgba(255,255,255,.12)); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.share-menu[hidden] { display: none; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--muted, #9AA5BD); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.link-btn:hover, .link-btn:focus-visible { color: var(--text, #fff); }
.credit-refund { display: inline-block; margin-top: 6px; }
@media (max-width: 720px) {
  .stage .hero { background: linear-gradient(rgba(5, 6, 13, .84), rgba(5, 6, 13, .72) 78%, rgba(5, 6, 13, 0)); padding-bottom: 44px; }
}

/* ===== Theme v2: modern time capsule (owner 27 Nov 15:15 UTC plan + Lumen checklist) ===== */
.btn-primary:hover { background: #F0B45A; }
.logo span, .mem-no { color: var(--gold); }
.preview-banner { background: #1B1A1A; color: var(--fg); }
.bubble .b-img { border-width: 2px; box-shadow: 0 0 8px rgba(232, 163, 61, .25); }
.bubble .b-stem { background: linear-gradient(var(--gold), rgba(232, 163, 61, 0)); }
.bubble.cluster .b-img { background: rgba(11, 16, 32, .72); border-color: rgba(232, 163, 61, .85); color: var(--fg); }
.bubble.team .b-img { border-color: rgba(232, 163, 61, .45); box-shadow: none; }
.ph-lmt { background: var(--bg-2) !important; border: 2px solid rgba(232, 163, 61, .6); color: var(--gold); display: grid !important; place-items: center; font: 600 1rem/1 var(--font-body); }
.m-photo.ph-lmt { font-size: 4rem; }
.team-badge { color: var(--fg); border-color: rgba(232, 163, 61, .6); }
.sample-badge { border-style: dashed; color: var(--muted); }
.mem-panel .m-msg { font: 400 1.1rem/1.45 var(--font-body); font-style: normal; }
.stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; background-repeat: repeat; }
.stars-far { opacity: .7; } .stars-near { opacity: .9; }

/* Hero: small one-line countdown, plain sans title */
.cd-short { margin: 0 0 4px; font: 600 .78rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-title { margin: 0; font: 650 clamp(2.1rem, 4.4vw, 3.6rem)/1.06 var(--font-body); letter-spacing: -.025em; color: var(--fg); text-wrap: balance; }
.title-star { color: var(--gold); vertical-align: .35em; margin-right: 10px; }
.stage .hero .hero-sub { margin: 6px 0 4px; font-size: 1.08rem; color: var(--muted); max-width: 30ch; }
.countdown, .cd-note { display: none; }
.countdown.final-minute { display: flex; } /* the big clock only returns for the last 60 seconds */
.countdown .cd-num { color: var(--fg); }
body.final-day .cd-short { color: var(--gold); }

/* Search + Globe / List switch */
.find { width: auto; max-width: calc(100% - 24px); align-items: center; }
.find input { width: min(260px, 52vw); flex: 0 1 auto; }
.view-switch { display: inline-flex; margin-left: 6px; border-radius: 12px; }
.view-switch .tool { border-radius: 0; min-width: 64px; }
.view-switch .tool:first-child { border-radius: 12px 0 0 12px; }
.view-switch .tool:last-child { border-radius: 0 12px 12px 0; margin-left: -1px; }
.list-view { z-index: 3; } .mem-panel, .area-sheet { z-index: 5; }
.list-title { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font: 600 1.25rem/1.3 var(--font-body); }

/* Pixel meter: three numbers, LMT share striped, sales solid */
.stats { background: var(--bg-2); }
.px-meter { display: grid; gap: 12px; padding-block: 20px; }
.px-nums { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; }
.px-nums dt { font: 600 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.px-nums dd { margin: 4px 0 0; font: 600 1.5rem/1.1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--fg); }
.px-nums dd.px-note { font: 400 .82rem/1.3 var(--font-body); color: var(--muted); }
.bar { display: flex; height: 8px; }
.bar span { width: 0; min-width: 0; transition: width .6s; border-radius: 0; }
#stBarFill { min-width: 3px; background: repeating-linear-gradient(45deg, rgba(232, 163, 61, .85) 0 3px, rgba(232, 163, 61, .4) 3px 6px); }
.bar-sold { background: var(--gold); }
.px-legend { margin: 0; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.key { display: inline-block; width: 14px; height: 8px; border-radius: 2px; margin-left: 8px; }
.key-lmt { margin-left: 0; background: repeating-linear-gradient(45deg, rgba(232, 163, 61, .85) 0 3px, rgba(232, 163, 61, .4) 3px 6px); }
.key-sold { background: var(--gold); }
.px-counts { margin: 0; } .px-counts b { color: var(--fg); }

/* Desktop: text left (~42 %), big Earth right */
@media (min-width: 900px) {
  .stage .hero { inset: 0 auto 0 0; width: 42%; display: flex; align-items: center; padding: 0; text-align: left;
    background: linear-gradient(90deg, rgba(11, 16, 32, .9) 0, rgba(11, 16, 32, .65) 70%, rgba(11, 16, 32, 0)); }
  .stage .hero-in { justify-items: start; text-align: left; background: none; padding: 0 0 0 max(32px, calc((100vw - 1200px) / 2)); gap: 14px; }
  .hero-cta { justify-content: flex-start; }
  .stage:not(.engaged) .globe-mount { transform: translateX(21%); }
  .stage:not(.engaged) .bubble { opacity: .85; }
  .stage:not(.engaged) .find { left: calc(42% + 24px); opacity: 1; pointer-events: auto; }
  .stage .find { transition: left .5s ease, opacity .4s ease; }
  .stage:not(.engaged) .globe-tools, .stage:not(.engaged) .globe-hint { opacity: 1; pointer-events: auto; }
  .stage:not(.engaged) .globe-hint { left: 71%; }
}
/* Phones and tablets: title on top, Earth in the middle (at least 45 % of the screen), buttons at the bottom */
@media (max-width: 899px) {
  .stage .hero { inset: 0; height: 100%; padding: 0; background: none; }
  .stage .hero-in { height: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 16px 16px 128px; background: none; }
  .stage .hero-in > :first-child { margin-top: 4px; }
  .hero-title { font-size: clamp(1.8rem, 8.4vw, 2.4rem); text-align: center; padding: 8px 12px; border-radius: 14px; background: radial-gradient(ellipse at center, rgba(11, 16, 32, .75) 40%, rgba(11, 16, 32, 0) 75%); }
  .title-star { width: 16px; height: 16px; margin-right: 6px; }
  .stage .hero-in > .hero-title { margin-bottom: auto; } /* title stays at the top; the Earth fills the middle */
  .stage .hero .hero-sub { display: none; }
  .hero-cta { order: 9; }
  .cd-short { order: -1; }
  .stage .globe-frame { touch-action: pan-y; } /* one-finger vertical scroll moves the page; drag sideways or pinch moves the Earth */
  .stage:not(.engaged) .globe-mount { transform: translateY(2%); }
  .stage:not(.engaged) .bubble { opacity: .75; pointer-events: auto; }
  .stage .hero, .stage .hero-in { background: none !important; }
}
@media (max-width: 720px) { .stage .hero-cta .js-open { display: none; } .stage .globe-tools { bottom: 96px; } }
.first-band { color: var(--muted); } /* Lumen: no small amber text */
.mem-panel .mem-no { color: var(--fg); letter-spacing: 0; font-size: .9rem; } /* Lumen: no small amber text */
body:has(#memPanel:not([hidden])) #snow, body:has(#sheet:not([hidden])) #snow { opacity: .25; } /* snow never covers a card */

/* ===== Palette v3 overrides (owner 28 Nov): turquoise for UI, warm only for LMT and New Year details ===== */
.btn-primary:hover { background: #7ADCE8; }
.btn-ghost { border-color: var(--line); background: rgba(22, 27, 38, .6); }
.btn-ghost:hover { border-color: var(--accent-soft); }
.logo span { color: var(--gold); }
.title-star, body.final-day .cd-short { color: var(--warm); }
.bubble .b-img { box-shadow: 0 0 8px rgba(79, 200, 216, .22); }
.bubble .b-stem { background: linear-gradient(var(--gold), rgba(79, 200, 216, 0)); }
.bubble.cluster .b-img { background: rgba(11, 16, 32, .78); border-color: rgba(79, 200, 216, .85); }
.bubble.team .b-img { border-color: rgba(232, 163, 61, .55); box-shadow: 0 0 6px rgba(232, 163, 61, .2); }
.bubble.team .b-stem { background: linear-gradient(rgba(232, 163, 61, .7), rgba(232, 163, 61, 0)); }
.ph-lmt { border-color: rgba(232, 163, 61, .6); color: var(--warm); }
.team-badge { border-color: rgba(232, 163, 61, .6); }
.find input, .tool { background: rgba(22, 27, 38, .92); border-color: var(--line); }
.find input:focus { border-color: var(--gold); outline: none; }
.tool[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); background: rgba(79, 200, 216, .1); }
.mobile-cta { background: rgba(22, 27, 38, .94); border-top: 1px solid var(--line); backdrop-filter: blur(8px); padding-top: 8px; }
.mobile-cta .btn { min-height: 46px; }
.preview-banner { background: #141922; }
.stepper li.on { color: var(--gold); border-color: var(--gold); }
.pack:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; background: rgba(79, 200, 216, .07); }
.pack-price { color: var(--fg); font-size: 1.2rem; }
.pack-cur { font-size: .68rem; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.pack-px { font: 600 1rem/1.2 var(--font-body); }
.pack-free { background: var(--gold); color: var(--gold-ink); }
.pack-best { background: var(--gold); color: var(--gold-ink); }
.pack-pick { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-3); margin-bottom: 4px; }
.pack-pick-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pack-pick h3 { margin: 0; font-size: 1rem; }
.pack-pick .pack-grid { gap: 8px; }
.pack-pick .pack { padding: 18px 6px 10px; }
.pack-pick .pack-per { display: none; }
/* Desktop intro: the Earth sits right without a gap; the mount is wider than the frame instead of shifted */
@media (min-width: 900px) { .stage:not(.engaged) .globe-mount { transform: none; width: 142%; } }
@media (max-width: 899px) { .stage:not(.engaged) .globe-mount { transform: none; } }
@media (max-width: 720px) { .stage #exploreBtn { border-color: var(--line); background: rgba(22, 27, 38, .78); } }
/* Owner 28 Nov: on phones the bottom button never covers globe controls, cards or result sheets */
@media (max-width: 720px) {
  .stage .globe-tools { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  body:has(#memPanel:not([hidden])) .mobile-cta, body:has(#areaSheet:not([hidden])) .mobile-cta, body:has(#listView:not([hidden])) .mobile-cta { display: none; }
  body:has(#memPanel:not([hidden])) .stage .globe-tools, body:has(#areaSheet:not([hidden])) .stage .globe-tools { opacity: 0; pointer-events: none; }
}

/* ===== Festival-energy revision (owner 28 Nov 01:03 UTC): one bold year behind the Earth, a deep blue glow,
   a vivid turquoise call to action, warm LMT bubbles, calm space behind text, more air between sections ===== */
.stage .globe-frame { background: radial-gradient(42% 52% at 71% 54%, rgba(38, 104, 196, .34), rgba(22, 52, 120, .12) 55%, rgba(11, 16, 32, 0) 75%); }
.big-year { position: absolute; z-index: 0; top: 50%; left: 42%; right: 0; transform: translateY(-46%); text-align: center; pointer-events: none; user-select: none;
  font: 700 clamp(9rem, 21vw, 22rem)/.8 var(--font-body); letter-spacing: -.06em;
  background: linear-gradient(180deg, rgba(244, 239, 230, .2) 10%, rgba(79, 200, 216, .1) 60%, rgba(79, 200, 216, 0) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stage.engaged .big-year { opacity: 0; transition: opacity .5s; }
@media (max-width: 899px) {
  .stage .globe-frame { background: radial-gradient(70% 40% at 50% 56%, rgba(38, 104, 196, .32), rgba(11, 16, 32, 0) 75%); }
  .big-year { left: 0; font-size: 46vw; top: 54%; }
}
.hero-title { font-weight: 700; letter-spacing: -.035em; }
.hero-title .hl { color: var(--gold); }
@media (min-width: 900px) {
  .hero-title { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.02; }
  .stage .hero { background: linear-gradient(90deg, rgba(11, 16, 32, .96) 0, rgba(11, 16, 32, .82) 62%, rgba(11, 16, 32, 0)); }
}
.btn { border-radius: 999px; }
.hero-cta .btn, .mobile-cta .btn { min-height: 52px; padding: 0 28px; font-size: 1rem; }
.btn-primary { background: var(--gold); color: var(--gold-ink); box-shadow: 0 0 0 1px rgba(79, 200, 216, .4), 0 8px 28px rgba(79, 200, 216, .35); }
.btn-primary:hover { background: #7ADCE8; box-shadow: 0 0 0 1px rgba(122, 220, 232, .6), 0 10px 34px rgba(79, 200, 216, .5); }
.hero-cta .btn-ghost { border: 1.5px solid rgba(244, 239, 230, .55); background: transparent; }
.hero-cta .btn-ghost:hover { border-color: var(--fg); }
.bubble.team .b-img { border: 2.5px solid var(--warm); box-shadow: 0 0 0 3px rgba(232, 163, 61, .18), 0 0 16px rgba(232, 163, 61, .55); }
.bubble.team .b-stem { background: linear-gradient(var(--warm), rgba(232, 163, 61, 0)); }
.ph-lmt { border-color: var(--warm); }
.recent, .how, .faq { padding-block: clamp(64px, 9vw, 112px); }
.promise-in { padding-block: clamp(64px, 9vw, 112px); }
.px-meter { padding-block: 32px; }
.recent h2, .how h2, .faq h2, .promise h2 { font: 700 clamp(2rem, 4.4vw, 3.2rem)/1.05 var(--font-body); letter-spacing: -.03em; }
.steps { gap: clamp(24px, 4vw, 48px); }
.steps li::before { font: 700 3.4rem/1 var(--font-body); color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
@media (prefers-reduced-motion: reduce) { .btn-primary { box-shadow: 0 0 0 1px rgba(79, 200, 216, .4); } }
/* the year is wider than the Earth so it shows on both sides; groups holding LMT bubbles get a warm outer ring */
@media (min-width: 900px) { .big-year { font-size: clamp(11rem, 24vw, 24rem); background: linear-gradient(180deg, rgba(244, 239, 230, .3) 10%, rgba(79, 200, 216, .14) 60%, rgba(79, 200, 216, 0) 95%); -webkit-background-clip: text; background-clip: text; } }
@media (max-width: 899px) { .big-year { display: none; } }
.bubble.cluster.has-lmt .b-img { box-shadow: 0 0 0 3px rgba(232, 163, 61, .6), 0 0 14px rgba(232, 163, 61, .35); }
.mem-panel .m-photo.ph-lmt { border-color: var(--warm); }
.sheet-head h2, .done-title, .cel-title, .welcome h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: -.025em; }

/* Countdown band under the top bar (owner 28 Nov): days : hours : minutes : seconds to 31 Dec 2026 23:59:59 UTC */
.cd-band { position: relative; z-index: 2; background: #141922; border-bottom: 1px solid var(--line); }
.cd-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-block: 8px; }
.preview-note { margin: 0; font-size: .85rem; color: var(--fg); flex: 1 1 320px; min-width: 0; }
.cd-band .countdown { display: flex; align-items: baseline; gap: 6px; }
.cd-band .cd-unit { display: inline-flex; align-items: baseline; gap: 3px; min-width: 0; }
.cd-band .cd-num { font: 700 1.25rem/1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--gold); letter-spacing: 0; }
.cd-band .cd-lbl { font: 600 .66rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cd-band .cd-sep { font: 400 1.1rem/1 var(--font-body); color: var(--dim); }
.cd-band .cd-note { display: block; margin: 0; font-size: .72rem; color: var(--muted); flex-basis: 100%; text-align: right; }
.cd-band .cd-note span { display: inline; margin-left: 6px; }
.cd-band .final-minute .cd-num { color: var(--warm); }
.cd-band .final-minute #cdS { transform: none; }
.cd-short { display: none; } /* the band now carries the countdown */
body.is-closed .cd-band .countdown, body.is-closed .cd-band .cd-note { display: none !important; }
@media (max-width: 720px) {
  .cd-band-in { justify-content: center; text-align: center; }
  .preview-note { flex-basis: 100%; font-size: .8rem; }
  .cd-band .cd-note { text-align: center; }
  .cd-band .cd-num { font-size: 1.15rem; }
}
.stage .globe-frame { height: calc(100vh - 61px - var(--band-h, 0px)); height: calc(100svh - 61px - var(--band-h, 0px)); }

/* Pixel wallet (owner 28 Nov): beside the payment card on wide screens, at the top of the sheet otherwise */
.px-wallet { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--accent-soft); border-radius: var(--r); background: var(--bg-2); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
body > .px-wallet { position: fixed; z-index: 42; top: 50%; transform: translateY(-50%); left: calc(50% + 270px + 16px); width: 250px; }
.sheet > .px-wallet { box-shadow: none; margin-bottom: 14px; background: var(--bg-3); }
.pw-label { margin: 0; font: 600 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pw-count { margin: 0; font-size: .95rem; }
.pw-count b { font: 700 2rem/1 var(--font-body); color: var(--gold); font-variant-numeric: tabular-nums; margin-right: 4px; }
.pw-actions { display: grid; gap: 8px; }
.sheet > .px-wallet .pw-actions { grid-template-columns: 1fr 1fr; }
.pw-actions .btn[disabled] { opacity: .45; cursor: not-allowed; }
.px-wallet .share input { font-size: .8rem; }
.px-wallet .link-btn { justify-self: start; }
@media (max-width: 480px) { .sheet > .px-wallet .pw-actions { grid-template-columns: 1fr; } }
body > .px-wallet { width: 270px; }

/* Pixel wallet v2 (owner 28 Nov): one dot per pixel, clear counts, gift links listed with Copy / Take back */
.px-wallet { gap: 12px; }
.pw-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pw-head p { margin: 0; }
.pw-count { display: flex; align-items: baseline; gap: 8px; }
.pw-count b { font-size: 2.4rem; }
.pw-dots { display: flex; flex-wrap: wrap; gap: 5px; }
.pw-dot { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: var(--gold); box-shadow: 0 0 8px rgba(79, 200, 216, .45); }
.pw-dot.sent { background: transparent; border: 2px solid var(--warm); box-shadow: none; }
.pw-dot.used, .pw-dot.other { background: var(--line); box-shadow: none; }
.pw-dot.bonus.available { outline: 1.5px solid rgba(244, 239, 230, .7); outline-offset: 1px; }
.pw-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; }
.pw-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pw-legend .pw-dot { width: 10px; height: 10px; border-radius: 3px; }
.pw-sub { margin: 0 0 6px; font: 600 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pw-links { border-top: 1px solid var(--line); padding-top: 10px; }
.pw-links-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; max-height: 180px; overflow-y: auto; }
.pw-links-list li { display: flex; align-items: center; gap: 8px; }
.pw-link-name { flex: 1; min-width: 0; font-size: .88rem; }
.pw-links-list .btn { min-height: 32px; padding: 0 12px; }
.pw-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
#pwNote:not(.err) { color: var(--gold); }
.pw-dot.bonus.available { outline: none; }

/* Explore + safety (owner 28 Nov) */
#recentMore { margin-top: 14px; }
.vis-note { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-3); }
.vis-note b { color: var(--fg); }
.report { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.report p { margin: 0; width: 100%; }
