/* Green Spark — simple, mobile-first shop UI. Phones: bottom tab bar. Desktop: left sidebar. */
:root{
  --bg:#060b14;--card:#101b2e;--card-2:#15233a;--line:#22324b;
  --text:#eef3f8;--muted:#9aabbf;--gold:#ffc65c;--gold-2:#ffdf9a;--green:#3ee08a;--pink:#ff6fae;--danger:#ff6b6b;
  --radius:16px;--font:'Outfit',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--tabbar:66px;--sidebar:250px;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 var(--font);min-height:100vh;overflow-x:hidden;padding-bottom:calc(var(--tabbar) + env(safe-area-inset-bottom))}
body::before{content:"";position:fixed;inset:0;z-index:-1;background:radial-gradient(900px 500px at 85% -10%,#1d2f5a55,transparent 60%),radial-gradient(700px 400px at -10% 20%,#0f4a3a33,transparent 60%),var(--bg)}
a{color:inherit;text-decoration:none}
h1,h2,h3{line-height:1.2;margin:0 0 .4em;letter-spacing:-.01em}
h1{font-size:clamp(24px,6vw,34px);font-weight:800}
h2{font-size:20px;font-weight:700}
h3{font-size:17px;font-weight:600}
p{margin:0 0 1em}
.muted{color:var(--muted)}.gold{color:var(--gold)}.go{color:#9ff5c6}
.link{color:var(--gold);font-weight:600}
.section{padding:18px 0}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:6px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;border-radius:999px;border:1px solid transparent;font:700 16px var(--font);cursor:pointer;transition:transform .12s,filter .12s;white-space:nowrap;color:var(--text)}
.btn:active{transform:scale(.97)}
.btn-primary{background:linear-gradient(135deg,var(--gold),#ff9d3c);color:#1d1203;box-shadow:0 8px 24px #ffb54a33}
.btn-primary:hover{filter:brightness(1.06)}
.btn-ghost{background:#ffffff10;border-color:var(--line)}
.btn-danger{background:#ff6b6b1a;border-color:#ff6b6b55;color:#ffb3b3}
.btn-whatsapp{background:#25d366;color:#06301a}
.btn-sm{min-height:38px;padding:0 14px;font-size:14px}
.btn-lg{min-height:56px;padding:0 28px;font-size:18px}
.btn-block{width:100%}
.btn[disabled]{opacity:.5;pointer-events:none}
.pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;background:#ffffff10;border:1px solid var(--line);white-space:nowrap}
.pill-premium{background:#ffc65c1f;border-color:#ffc65c55;color:var(--gold-2)}
.pill-free{background:#3ee08a1a;border-color:#3ee08a55;color:#9ff5c6}

/* Brand */
.brand{display:flex;align-items:center;gap:9px;font-weight:800;letter-spacing:.04em;font-size:17px}
.brand-mark{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:conic-gradient(from 210deg,var(--gold),var(--pink),var(--green),var(--gold));color:#0b0b0b;font-size:17px}
.brand span:last-child{color:var(--green)}

/* Layout */
.app{min-height:100vh}
.sidebar{display:none}
.main-col{min-width:0}
.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:10px;height:58px;padding:0 16px;background:#060b14e6;backdrop-filter:blur(12px);border-bottom:1px solid #ffffff10}
.page{width:100%;max-width:1160px;margin:0 auto;padding:0 16px}
.site-footer{max-width:1160px;margin:30px auto 0;padding:18px 16px;border-top:1px solid #ffffff10;color:#6f8096;font-size:12px}
.site-footer p{margin:0 0 6px}.site-footer a{color:var(--muted)}

/* Bottom tab bar (phones): 4 big, clear buttons; Unlock is highlighted. */
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:40;height:calc(var(--tabbar) + env(safe-area-inset-bottom));padding:0 6px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(4,1fr);background:#0a1220f5;backdrop-filter:blur(14px);border-top:1px solid #ffffff16}
.tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:12px;font-weight:600;color:var(--muted);border-radius:14px;margin:6px 2px}
.tabbar a b{font-size:22px;line-height:1;font-weight:400}
.tabbar a.on{color:var(--text);background:#ffffff0d}
.tabbar a.tab-unlock{background:linear-gradient(135deg,var(--gold),#ff9d3c);color:#1d1203}

/* Desktop: fixed sidebar with the same 4 actions plus categories. */
@media (min-width:960px){
  body{padding-bottom:0}
  .tabbar,.topbar{display:none}
  .app{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}
  .sidebar{display:flex;flex-direction:column;gap:6px;position:sticky;top:0;height:100vh;overflow-y:auto;padding:20px 14px;border-right:1px solid #ffffff10;background:#070d18}
  .sidebar .brand{margin:0 6px 16px}
  .side-nav,.side-cats{display:grid;gap:2px}
  .side-nav a,.side-cats a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:12px;color:var(--muted);font-weight:600}
  .side-nav a:hover,.side-cats a:hover{background:#ffffff0a;color:var(--text)}
  .side-nav a.on,.side-cats a.on{background:#ffffff12;color:var(--text)}
  .side-nav a.side-unlock{background:linear-gradient(135deg,var(--gold),#ff9d3c);color:#1d1203;margin:6px 0}
  .side-cats a small{margin-left:auto;font-size:12px;color:#6f8096}
  .side-title{margin:18px 12px 4px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#6f8096}
  .side-note{margin:auto 12px 0;font-size:12px;color:#6f8096}
  .page{padding:0 28px}
}

/* Flash */
.flash{margin:14px 0 0;padding:12px 16px;border-radius:12px;font-size:15px;border:1px solid}
.flash-ok{background:#3ee08a14;border-color:#3ee08a44;color:#c4f7dc}
.flash-error{background:#ff6b6b14;border-color:#ff6b6b55;color:#ffd0d0}

/* Shop */
.shop-head{padding:20px 0 6px}
.shop-head p{margin:0;font-size:15px}
.unlock-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 4px;padding:12px 14px;border-radius:14px;background:linear-gradient(90deg,#ffc65c22,#ff6fae1a);border:1px solid #ffc65c55;font-size:15px}
.unlock-banner strong{color:var(--gold-2)}
.chips{position:sticky;top:58px;z-index:20;display:flex;gap:8px;overflow-x:auto;margin:0 -16px;padding:10px 16px;background:linear-gradient(#060b14f2,#060b14d9);scrollbar-width:none;-webkit-overflow-scrolling:touch}
.chips::-webkit-scrollbar{display:none}
.chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:9px 15px;border-radius:999px;border:1px solid var(--line);background:var(--card);color:var(--muted);font-size:14px;font-weight:600;min-height:42px}
.chip.on{color:#1d1203;background:var(--gold);border-color:var(--gold)}
@media (min-width:960px){.chips{top:0;margin:0 -28px;padding:12px 28px}}
.shelf{padding:14px 0 6px;scroll-margin-top:120px}
.shelf h2{display:flex;align-items:center;gap:8px}
.shelf h2 small{font-size:13px;color:var(--muted);font-weight:600;background:#ffffff10;padding:2px 9px;border-radius:999px}

/* Cracker cards */
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (min-width:640px){.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media (min-width:1100px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1400px){.grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
.card{position:relative;display:flex;flex-direction:column;border-radius:var(--radius);background:var(--card);border:1px solid #ffffff10;overflow:hidden;transition:transform .15s,border-color .15s}
.card:hover{transform:translateY(-2px);border-color:#ffc65c66}
.card-art{position:relative;aspect-ratio:16/11;display:grid;place-items:center;background:radial-gradient(circle at 50% 120%,var(--a,#1d5a46),transparent 62%),radial-gradient(circle at 50% 35%,var(--b,#ffc65c33),transparent 55%),#0a1322}
.card-icon{font-size:44px;filter:drop-shadow(0 4px 12px #0008)}
.card.is-locked .card-icon{opacity:.75}
.badge{position:absolute;top:8px;left:8px;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.04em}
.badge-free{background:#3ee08a;color:#05301a}
.badge-lock{background:#000b;font-size:13px;padding:4px 8px}
.card-body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:4px;flex:1}
.card-body h3{font-size:15px;margin:0;line-height:1.25}
.card-body small{font-size:13px;font-weight:600;margin-top:auto}
.row-scroll{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,42%);gap:10px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
@media (min-width:960px){.row-scroll{grid-auto-columns:200px}}

/* Cracker page */
.product-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 0 10px;max-width:980px}
.product-title h1{margin:0;font-size:clamp(22px,5.5vw,30px)}
.player{max-width:980px}
.stage{position:relative;height:min(64vh,560px);min-height:360px;border-radius:20px;overflow:hidden;background:#030b15;border:1px solid #ffffff12;touch-action:manipulation}
.stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.stage [data-sky]{z-index:1}
.stage [data-fuse]{z-index:2;pointer-events:none}
.stage-title{position:absolute;z-index:3;top:10px;left:10px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#cfe0ee;background:#0008;padding:5px 10px;border-radius:999px;pointer-events:none}
.stage-locked{position:absolute;inset:0;z-index:4;display:grid;place-items:center;text-align:center;padding:24px;background:radial-gradient(circle,#0b1424e8,#030b15f5)}
.stage-locked .lock-icon{font-size:44px;margin-bottom:4px}
.stage-locked p{color:var(--muted);max-width:340px;margin:0 auto 16px}
.player-status{min-height:22px;margin:12px 0 8px;font-size:14px;color:var(--gold-2);text-align:center}
.light-bar{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.light-bar [data-positions]{display:contents}
.btn-light{min-height:58px;padding:0 34px;font-size:19px;flex:1 1 220px;max-width:420px}
.tool-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0 4px}
.tool-row button{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 4px;border-radius:14px;border:1px solid var(--line);background:var(--card);color:var(--muted);font:600 12px var(--font);cursor:pointer}
.tool-row button b{font-size:20px;font-weight:400}
.tool-row button[aria-pressed=true][data-camera]{border-color:var(--gold);color:var(--gold-2)}
.volume{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;margin:8px 0 0}
.volume input{flex:1;accent-color:var(--gold)}
.stage-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.camera-on .stage{background:#000}
.stage.snap::after{content:"";position:absolute;inset:0;z-index:6;background:#fff;opacity:.55;animation:snap .25s ease-out forwards;pointer-events:none}
@keyframes snap{to{opacity:0}}
.panel{padding:16px;border-radius:var(--radius);background:var(--card);border:1px solid #ffffff10;margin:14px 0;max-width:980px}
.product-about{font-size:15px}

/* Wish form (folded until tapped) */
.wish-panel summary{cursor:pointer;font-weight:700;font-size:17px;list-style:none;display:flex;align-items:center;justify-content:space-between}
.wish-panel summary::after{content:"＋";color:var(--gold)}
.wish-panel[open] summary::after{content:"－"}
.wish-panel[open] summary{margin-bottom:10px}
.wish-panel summary::-webkit-details-marker{display:none}
.form-row{display:grid;gap:6px;margin-bottom:12px}
.form-row label{font-size:14px;color:var(--muted)}
.input,input[type=text],input[type=tel],input[type=email],input[type=password],input[type=number],textarea,select{width:100%;min-height:50px;padding:0 14px;border-radius:12px;border:1px solid var(--line);background:#081120;color:var(--text);font:500 16px var(--font)}
textarea{min-height:76px;padding:12px 14px;resize:vertical}
.input:focus,textarea:focus,select:focus{border-color:var(--gold);outline:none}
.wish-share{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}

/* Wish card (recipient) */
.wish-card{text-align:center;padding:26px 18px 20px;margin:16px 0 12px;border-radius:22px;background:radial-gradient(circle at 50% 0,#ffc65c26,transparent 60%),linear-gradient(180deg,#141f36,#0b1424);border:1px solid #ffc65c40;max-width:980px}
.wish-card .greet{font-size:clamp(30px,8vw,50px);font-weight:800;margin:0;background:linear-gradient(90deg,var(--gold),var(--pink));-webkit-background-clip:text;background-clip:text;color:transparent}
.wish-card .to{font-size:clamp(22px,6vw,32px);font-weight:700;margin:4px 0 10px}
.wish-card .msg{color:var(--muted);max-width:520px;margin:0 auto 10px}
.wish-card .from{color:var(--gold-2);font-weight:600}
.wish-hint{display:inline-block;margin-top:8px;padding:8px 14px;border-radius:999px;background:#ffc65c1f;color:var(--gold-2);font-size:14px;animation:pulse 2s ease-in-out infinite}
@keyframes pulse{50%{opacity:.55}}

/* Plans */
.plans{display:grid;gap:14px;margin:18px 0}
@media (min-width:700px){.plans{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}
.plan{position:relative;padding:20px;border-radius:20px;background:var(--card);border:1px solid var(--line);display:flex;flex-direction:column;gap:10px}
.plan.featured{border-color:var(--gold);background:linear-gradient(180deg,#ffc65c18,var(--card) 45%)}
.plan-tag{position:absolute;top:-11px;left:18px;background:var(--gold);color:#1d1203;font-size:12px;font-weight:800;padding:3px 10px;border-radius:999px}
.plan .price{font-size:34px;font-weight:800}
.plan .price small{font-size:14px;color:var(--muted);font-weight:500}
.plan ul{list-style:none;padding:0;margin:0 0 4px;display:grid;gap:6px;color:var(--muted);font-size:14px}
.plan li::before{content:"✓ ";color:var(--green);font-weight:700}
.steps-panel ol{margin:0;padding-left:20px;display:grid;gap:8px;color:var(--muted)}

/* Ads (free visitors only) */
.ad{position:relative;display:flex;align-items:center;justify-content:center;min-height:80px;margin:16px 0;border-radius:12px;border:1px dashed #ffffff26;background:#ffffff06;color:var(--muted);text-align:center;font-size:14px;overflow:hidden;max-width:980px}
.ad img{width:100%;height:100%;object-fit:cover}
.ad-label{position:absolute;top:6px;left:10px;font-size:10px;letter-spacing:.14em;color:#7d8da0}

/* Sign in / account */
.auth{max-width:420px;margin:28px auto;padding:24px 20px;border-radius:20px;background:var(--card);border:1px solid var(--line)}
.otp-input{letter-spacing:.5em;text-align:center;font-size:24px!important}
.phone{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:#081120;overflow:hidden}
.phone span{padding:0 12px;color:var(--muted);border-right:1px solid var(--line)}
.phone input{border:0;border-radius:0}
.table{width:100%;border-collapse:collapse;font-size:14px}
.table th,.table td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line)}
.table th{color:var(--muted);font-weight:500}
.eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-weight:700;margin-bottom:8px}

@media (prefers-reduced-motion:reduce){.wish-hint{animation:none}.card,.btn{transition:none}}

/* 3D tilt adds a fifth tool on phones */
.tool-row.has-tilt{grid-template-columns:repeat(5,1fr)}
.tool-row button[aria-pressed=true][data-tilt]{border-color:var(--gold);color:var(--gold-2)}

/* Product photos */
.card-photo{width:82%;height:86%;object-fit:contain;filter:drop-shadow(0 10px 14px #000a);transition:transform .2s}
.card:hover .card-photo{transform:scale(1.04) translateY(-2px)}
.card.is-locked .card-photo{opacity:.92}
.product-title{justify-content:flex-start}
.product-title .pill{margin-left:auto}
.title-photo{width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 4px 8px #0009)}

/* The box in the bottom-right corner of the stage (picture-in-picture). */
.stage-pip{position:absolute;z-index:3;right:10px;bottom:10px;margin:0;width:min(24%,130px);padding:8px 8px 4px;border-radius:14px;background:#0a1222c4;border:1px solid #ffffff22;backdrop-filter:blur(6px);pointer-events:none;text-align:center}
.stage-pip img{display:block;width:100%;max-height:150px;object-fit:contain;filter:drop-shadow(0 6px 10px #000b)}
.stage-pip figcaption{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#cfe0ee;margin-top:4px}
.camera-on .stage-pip{background:#000a}

/* Stage: night-sky photo with a dark overlay behind the fireworks; it zooms towards the ground for High/Top views. */
.stage-bg{position:absolute;inset:0;z-index:0;background:#02040a center/cover no-repeat;transition:opacity .6s ease;pointer-events:none}
.stage-bg::after{content:"";position:absolute;inset:0;background:#000;opacity:.35}
/* High / Top views: no sky photo; the cracker stands on an earth surface seen from above (High recedes into the dark). */
.stage-ground{position:absolute;inset:0;z-index:0;overflow:hidden;opacity:0;transition:opacity .6s ease;pointer-events:none;background:#0b0907}
.stage-ground i{position:absolute;left:-300%;right:-300%;top:-500%;bottom:-2%;background:url(../media/ground-top.webp) center bottom/300px repeat;transform-origin:50% 100%;transition:transform .8s ease}
.stage-ground::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 70% 55% at 50% 72%,#0000 0,#0006 70%,#000c 100%)}
.stage[data-view=high] .stage-ground,.stage[data-view=top] .stage-ground{opacity:1}
.stage[data-view=high] .stage-ground i{transform:perspective(700px) rotateX(52deg)}
.stage[data-view=high] .stage-ground::after{background:linear-gradient(#000 0,#000 47%,#000a 58%,#0000 80%),radial-gradient(ellipse 80% 60% at 50% 80%,#0000 0,#0007 100%)}
.stage[data-view=high] .stage-bg,.stage[data-view=top] .stage-bg{opacity:0}
.camera-on .stage-bg,.camera-on .stage-ground{display:none}
@media (prefers-reduced-motion:reduce){.stage-bg,.stage-ground,.stage-ground i{transition:none}}

/* Player tools: a small column of round icon buttons inside the stage, on the right. */
.stage .tool-row{position:absolute;z-index:5;top:10px;right:10px;display:flex;flex-direction:column;gap:6px;margin:0}
.stage .tool-row button{width:40px;height:40px;padding:0;justify-content:center;border-radius:50%;background:#0a1222b8;border-color:#ffffff26;backdrop-filter:blur(6px)}
.stage .tool-row button[hidden]{display:none}
.stage .tool-row button b{font-size:18px;line-height:1}
.stage .tool-row button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.stage .tool-row button:hover,.stage .tool-row button:focus-visible{border-color:var(--gold)}
.stage .tool-row button[aria-pressed=true]{border-color:var(--gold);background:#3a2a0cc8}
.stage:has(.tool-row) .stage-pip{right:60px}

/* Full screen: the native Fullscreen API, or a fixed full-window stage where it is missing (iPhone). */
.stage:fullscreen{height:100%;min-height:0;border-radius:0;border:0}
.stage.stage-max{position:fixed;inset:0;z-index:1000;height:100dvh;min-height:0;border-radius:0;border:0}
html.stage-max-open,html.stage-max-open body{overflow:hidden}
.stage:fullscreen .stage-pip,.stage.stage-max .stage-pip{width:min(18%,150px)}
.tabbar.tabbar-3{grid-template-columns:repeat(3,1fr)}

/* ── Family Wish compose layout (Bug 1) ──────────────────────────────────── */
/* Mobile: stacked. Desktop (≥900px): 55/45 side-by-side split. */
.fw-layout{display:flex;flex-direction:column;gap:24px}
.fw-fields{min-width:0}
.fw-preview{position:relative}
.fw-section-head{font-size:15px;font-weight:700;color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:0 0 10px}
/* Cracker grid: scrollable, bounded height on mobile */
.fw-cracker-grid{display:flex;flex-wrap:wrap;gap:10px;max-height:340px;overflow-y:auto;padding:4px 0;scrollbar-width:thin}
.fw-cracker-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 8px;border-radius:14px;border:2px solid var(--line);background:var(--card);cursor:pointer;width:calc(50% - 5px);text-align:center;font-size:13px;font-weight:600;transition:border-color .12s}
.fw-cracker-card:hover{border-color:var(--gold)}
.fw-cracker-card.is-selected{border-color:var(--gold);background:linear-gradient(160deg,#ffc65c12,var(--card))}
.fw-cracker-card input[type=radio]{position:absolute;opacity:0;width:0;height:0}
.fw-cracker-card .card-art{width:100%;aspect-ratio:4/3;border-radius:10px}
/* Compose preview card — sticky on desktop */
.fw-preview-card{margin:0}
/* fw-preview-badge: inline (not absolute like .badge) */
.fw-preview-badge{display:inline-block;border-radius:4px;font-size:.72em;padding:2px 6px}
/* fw-preview-hint: not the player fuse hint */
.fw-preview-hint{font-size:.8em;color:var(--muted);margin:6px 0 4px}
/* CTA on compose */
.fw-cta{margin-top:16px}
@media (min-width:900px){
  .fw-layout{flex-direction:row}
  .fw-fields{flex:55 1 0;min-width:0}
  .fw-preview{flex:45 1 0;min-width:0;position:sticky;top:80px;align-self:flex-start}
  .fw-cracker-grid{max-height:none}
}

/* Sponsor popup before a cracker opens */
.ad-popup{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:16px;background:#000c}
.ad-popup[hidden]{display:none}
.ad-popup-box{width:min(100%,460px);max-height:calc(100dvh - 32px);overflow:auto;padding:12px;border-radius:18px;background:var(--card);border:1px solid var(--line)}
.ad-popup-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.ad-popup-head .ad-label{position:static}
.ad-popup-body{display:grid;place-items:center;min-height:220px;border-radius:12px;background:#ffffff0a;color:var(--ink,#fff);text-align:center;padding:16px;text-decoration:none}
.ad-popup-body:has(img){padding:0;background:none}
.ad-popup-body img{display:block;width:100%;max-height:70dvh;object-fit:contain;border-radius:12px}

/* Family Wish gift packs */
[data-fw-single][hidden]{display:none}
.fw-pack-grid{display:grid;gap:10px}
@media (min-width:600px){.fw-pack-grid{grid-template-columns:1fr 1fr}}
.fw-pack-card{position:relative;display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:14px;border:2px solid var(--line);background:var(--card);cursor:pointer}
.fw-pack-card:hover,.fw-pack-card:focus-within{border-color:var(--gold)}
.fw-pack-card.is-selected{border-color:var(--gold);background:linear-gradient(160deg,#ffc65c12,var(--card))}
.fw-pack-card input[type=radio]{position:absolute;opacity:0;width:0;height:0}
.fw-pack-top{display:flex;justify-content:space-between;gap:8px}
.fw-pack-top b{color:var(--gold-2)}
.fw-pack-count{color:var(--gold-2);font-weight:600}
.fw-pack-list{margin:4px 0 0;padding:0 0 0 18px;font-size:12px;color:var(--muted)}
.fw-gift{max-width:980px}
.fw-gift-items{display:flex;gap:10px;overflow-x:auto;padding:4px 0 8px;scrollbar-width:thin}
.fw-gift-item{flex:0 0 104px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px;border-radius:14px;border:2px solid var(--line);background:var(--card);font-size:12px;text-align:center;color:inherit;text-decoration:none}
.fw-gift-item img{width:64px;height:64px;object-fit:contain}
.fw-gift-item .card-icon{font-size:36px;line-height:64px}
.fw-gift-item.is-on,.fw-gift-item:hover{border-color:var(--gold)}
