/* v6: the quiz (who → from → occasion → moment → names) and the offer (live photos, packages, checkout).
   Loaded after shop.css: same night-sky look, fonts, buttons and inputs. Mobile first, nothing wider than the screen. */

/* ── the quiz ── */
.qz { max-width: 1180px; margin: 0 auto; padding: 14px var(--pad) 34px; display: grid; gap: 26px; }
@media (min-width: 980px) { .qz { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: start; gap: 48px; padding-top: 30px; } }
.qz-main { min-width: 0; }
.qz-head { display: grid; gap: 10px; margin-bottom: 20px; }
.qz-head h1 { font-size: clamp(40px, 8.4vw, 68px); line-height: 1.02; }
.qz-sub { color: var(--muted); font-size: clamp(15.5px, 1.8vw, 17.5px); max-width: 560px; text-wrap: pretty; }
.qz-prog { display: flex; gap: 6px; margin-top: 6px; max-width: 420px; }
.qz-prog i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); transition: background .4s; }
.qz-prog i.on { background: linear-gradient(90deg, var(--gold3), var(--gold)); }
.qz-step { display: none; }
.qz-step.on { display: block; animation: rise .5s var(--ease) both; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tiles.wide, .tiles.occ { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .tiles.occ { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 84px; padding: 12px 8px; border-radius: 16px;
  border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(28, 37, 78, .55), rgba(12, 17, 40, .62)); color: var(--ink);
  font: 600 14px/1.2 var(--sans); text-align: center; -webkit-tap-highlight-color: transparent;
  transition: border-color .2s, transform .2s var(--ease), background .2s, box-shadow .2s; }
.tiles.wide .tile { min-height: 64px; font-size: 15px; }
.tile .ic { font-size: 27px; line-height: 1; }
.tile small { font: 600 11.5px/1 var(--sans); color: var(--faint); letter-spacing: .02em; }
.tile.soon { border-color: rgba(230, 196, 127, .55); box-shadow: inset 0 0 0 1px rgba(230, 196, 127, .18); }
.tile.soon small { color: var(--gold2); }
.tile:hover { border-color: rgba(230, 196, 127, .65); transform: translateY(-1px); }
.tile:active { transform: scale(.98); }
.tile.on { border-color: var(--gold); background: rgba(230, 196, 127, .13); }
.moms { display: grid; gap: 9px; }
.mom { display: grid; gap: 3px; text-align: left; padding: 15px 18px; border-radius: 16px; border: 1px solid var(--line2); color: var(--ink);
  background: linear-gradient(180deg, rgba(28, 37, 78, .5), rgba(12, 17, 40, .6)); transition: border-color .2s, background .2s; }
.mom b { font: 500 22px/1.15 var(--serif); }
.mom span { font: 500 13px/1.3 var(--sans); color: var(--faint); }
.mom:hover { border-color: rgba(230, 196, 127, .6); }
.mom.on { border-color: var(--gold); background: rgba(230, 196, 127, .1); }
.when { display: grid; gap: 10px; padding: 6px 2px 10px; animation: rise .45s var(--ease) both; }
.lab { font: 700 12px/1.25 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.lab .muted, .muted { color: var(--faint); font-weight: 500; text-transform: none; letter-spacing: 0; }
.names { display: grid; gap: 10px; max-width: 520px; }
.names .lab { margin-top: 4px; }
.back { margin-top: 16px; }
.qz-show { min-width: 0; }
.shots { position: relative; aspect-ratio: 864 / 1184; width: 100%; max-width: 460px; margin: 0 auto; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95); background: #0d1330; }
@media (max-width: 979px) { .shots { max-width: 380px; } }
.shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.shot.on { opacity: 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 12px; text-align: center;
  background: rgba(7, 11, 26, .74); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 600 13px/1.3 var(--sans); }

/* ── the offer: their star ── */
.offer { max-width: 1180px; margin: 0 auto; padding: 8px var(--pad) 30px; display: grid; gap: 36px; }
.reveal { text-align: center; display: grid; justify-items: center; gap: 10px; padding-top: 10px; }
.reveal .star-name { font-size: clamp(66px, 17vw, 124px); line-height: .95; text-shadow: 0 0 50px rgba(246, 226, 179, .32); }
.reveal .star-name.long { font-size: clamp(44px, 11vw, 92px); }
.o-line { font: 400 italic clamp(19px, 4.4vw, 24px)/1.4 var(--serif); color: var(--soft); max-width: 660px; text-wrap: pretty; }
.o-line b { font-style: normal; font-weight: 500; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }

/* when and where to see it */
.see { max-width: 860px; margin: 0 auto; width: 100%; display: grid; gap: 16px; align-items: center; }
@media (min-width: 720px) { .see { grid-template-columns: 300px minmax(0, 1fr); gap: 26px; } }
.see-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.see-back { margin: 0; display: grid; gap: 8px; justify-items: center; }
.see-back[data-fmt="square"] img { aspect-ratio: 1; }
.see-back img { width: 100%; aspect-ratio: 5 / 7; object-fit: contain; border-radius: 4px; background: #f3efe6;
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .95); transform: rotate(2deg); }
.see-back figcaption { font: 400 italic 15px/1.35 var(--serif); color: var(--muted); text-align: center; }
.see-map { margin: 0 auto; display: grid; gap: 8px; justify-items: center; max-width: 240px; }
.see-map img { width: 100%; aspect-ratio: 1; border-radius: 50%; background: #0b1230; box-shadow: 0 20px 44px -26px rgba(0, 0, 0, .95); }
.see-map figcaption { font: 400 italic 15px/1.35 var(--serif); color: var(--muted); text-align: center; }
.see-t { display: grid; gap: 10px; }
.see dl { margin: 0; display: grid; gap: 10px; }
.see dl div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.see dt { font: 700 11.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.see dd { margin: 0; color: var(--soft); font-size: 15px; line-height: 1.45; }

/* the live photos */
.live { display: grid; gap: 14px; min-width: 0; }
.live-h { text-align: center; display: grid; gap: 6px; justify-items: center; }
.live-h h2 { font-size: clamp(32px, 6.4vw, 54px); line-height: 1.04; }
.live-h p { color: var(--muted); max-width: 560px; }
.carousel { position: relative; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad);
  padding: 4px var(--pad) 10px; margin: 0 calc(var(--pad) * -1); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(76vw, 350px); scroll-snap-align: start; margin: 0; display: grid; gap: 10px; align-content: start; }
.slide .ph { position: relative; aspect-ratio: 864 / 1184; border-radius: 18px; overflow: hidden; background: #0d1330;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .95); }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.slide.loading img { opacity: .3; }
.ph-wait { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 2px solid var(--gold);
  border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; opacity: 0; transition: opacity .3s; }
.slide.loading .ph-wait { opacity: 1; }
.slide figcaption { display: grid; gap: 4px; padding: 0 4px; }
.slide figcaption b { font: 500 22px/1.15 var(--serif); }
.slide figcaption .s { font-size: 13.5px; color: var(--muted); }
.tag { justify-self: start; font: 700 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(230, 196, 127, .4); border-radius: 999px; padding: 5px 8px; }
.dots { display: flex; justify-content: center; gap: 7px; }
.dots button { width: 8px; height: 8px; border-radius: 6px; border: 0; padding: 0; background: rgba(255, 255, 255, .22); transition: all .3s; }
.dots button.on { background: var(--gold); width: 22px; }

/* two skies, one card */
.duo { max-width: 860px; margin: 0 auto; width: 100%; display: grid; gap: 16px; align-items: center; }
@media (min-width: 720px) { .duo { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; } }
.duo-img { margin: 0; }
.duo-img img { width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 864 / 1184; object-fit: cover; border-radius: 14px; }
.duo-t { display: grid; gap: 10px; }
.duo-t h3 { font: 500 30px/1.1 var(--serif); }
.duo-t p { color: var(--muted); font-size: 15px; }
.duo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.duo-chips .qchip { padding: 11px 14px; font-size: 13.5px; }
.duo-chips .qchip.on { border-color: var(--gold); color: var(--ink); background: rgba(230, 196, 127, .1); }
.duo-form { display: grid; gap: 9px; }
.row2 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.duo-done { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(159, 214, 180, .4); background: rgba(159, 214, 180, .06); }
.duo-done p { color: var(--soft); }
.duo-done .ok { color: var(--ok); font-weight: 700; }
.duo-done b { color: var(--ink); }
.duo-img figcaption { font: 400 italic 15px/1.35 var(--serif); color: var(--muted); text-align: center; margin-top: 6px; }

/* make it yours */
.tune { max-width: 780px; margin: 0 auto; width: 100%; gap: 18px; }
.tune h3 { font: 500 30px/1.1 var(--serif); }
.t-row { display: grid; gap: 8px; min-width: 0; }
.tune .designs { padding-top: 4px; }
.area { min-height: 78px; padding: 13px 15px; line-height: 1.45; resize: vertical; font-family: var(--sans); }
.ideas-w { display: flex; flex-wrap: wrap; gap: 6px; }
.more summary { cursor: pointer; font: 600 14px/1.3 var(--sans); color: var(--gold2); padding: 6px 0; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+ "; color: var(--gold); }
.more[open] summary::before { content: "− "; }
.more[open] { display: grid; gap: 18px; }
.mlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mlist li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.mlist img { width: 44px; height: 44px; border-radius: 50%; background: #0e1530; }
.mlist b { display: block; font-size: 14px; }
.mlist small { color: var(--faint); font-size: 12.5px; }
.mlist .x { border: 0; background: none; color: var(--faint); font-size: 16px; padding: 6px; }
.addm { display: grid; gap: 8px; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; }

/* the packages */
.pick { display: grid; gap: 18px; }
.pick-h { text-align: center; display: grid; gap: 6px; justify-items: center; }
.pick-h h2 { font-size: clamp(34px, 6.4vw, 56px); line-height: 1.04; }
.pkgs { display: grid; gap: 14px; }
.pkgs { max-width: 860px; width: 100%; margin: 0 auto; }
@media (min-width: 760px) { .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } }
.pkg { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "img top" "img for" "list list";
  column-gap: 14px; row-gap: 4px; align-content: start; text-align: left; padding: 18px; border-radius: 20px; color: var(--ink);
  border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(26, 34, 72, .6), rgba(11, 16, 37, .7));
  transition: border-color .2s, box-shadow .25s, background .25s, transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
@media (min-width: 760px) { .pkg { grid-template-columns: minmax(0, 1fr); grid-template-areas: "img" "top" "for" "list"; row-gap: 8px; padding: 20px; } }
.pkg:hover { border-color: rgba(230, 196, 127, .55); }
.pkg.on { border-color: var(--gold); background: linear-gradient(180deg, rgba(64, 54, 38, .5), rgba(16, 20, 42, .74));
  box-shadow: inset 0 0 0 1px var(--gold), 0 26px 54px -30px rgba(230, 180, 90, .6); }
.pkg .badge { position: absolute; top: -11px; right: 16px; left: auto; font: 700 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: linear-gradient(180deg, #f5dca6, #d7a85a); color: #1d1405; }
.pkg .badge.alt { background: rgba(230, 196, 127, .16); color: var(--gold2); border: 1px solid rgba(230, 196, 127, .45); }
.pk-top { grid-area: top; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pk-name { font: 500 25px/1.1 var(--serif); }
.pk-price { font: 500 32px/1 var(--serif); color: var(--gold2); white-space: nowrap; }
.pk-price small, .plan3 .pp small { font: 600 13px/1 var(--sans); color: var(--muted); margin-left: 2px; }
.haspass { max-width: 560px; margin: 0 auto; width: 100%; text-align: center; border-color: rgba(230, 196, 127, .5); }
.passgifts { display: grid; gap: 6px; }
.pk-img { grid-area: img; display: block; }
.pk-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: #0e1530; }
@media (min-width: 760px) { .pk-img img { aspect-ratio: 4 / 3; } }
.pk-for { grid-area: for; color: var(--soft); font-size: 14px; }
.pk-list { grid-area: list; list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 7px; font-size: 13.5px; color: var(--muted); }
.pk-list li { position: relative; padding-left: 22px; }
.pk-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }
.pkg.on .pk-list li { color: var(--soft); }
.year { display: grid; gap: 10px; animation: rise .5s var(--ease) both; }
.hols { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 8px; scrollbar-width: none; }
.hols::-webkit-scrollbar { display: none; }
.hol { flex: 0 0 auto; width: 106px; margin: 0; display: grid; gap: 6px; }
.hol img { width: 106px; height: 148px; object-fit: cover; border-radius: 6px; background: #0e1530; box-shadow: 0 12px 22px -12px rgba(0, 0, 0, .9); }
.hol figcaption { display: grid; gap: 1px; font-size: 12px; color: var(--faint); }
.hol figcaption b { color: var(--ink); font-size: 12.5px; }
.hol.now img { outline: 2px solid var(--gold); outline-offset: 2px; }
.buybox { max-width: 560px; margin: 0 auto; width: 100%; gap: 10px; }
.bb-what { font-size: 15px; color: var(--soft); }
.bb-what b { color: var(--ink); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font: 600 13px/1.3 var(--sans); color: var(--ok); }
.peek { text-align: center; font-size: 14px; }
.restart { margin-top: -8px; }

/* below: how it works, prices, questions */
.steps3 { list-style: none; counter-reset: s; padding: 0; margin: 6px 0 0; display: grid; gap: 12px; }
@media (min-width: 880px) { .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps3 li { counter-increment: s; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; color: var(--muted); font-size: 15px; background: rgba(255, 255, 255, .02); }
.steps3 li::before { content: "0" counter(s); display: block; font: 700 12px/1 var(--sans); color: var(--gold); letter-spacing: .16em; margin-bottom: 12px; }
.steps3 b { color: var(--ink); display: block; font: 500 24px/1.15 var(--serif); margin-bottom: 6px; }
.photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
@media (min-width: 880px) { .photos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.photos figure { margin: 0; display: grid; gap: 6px; }
.photos img { width: 100%; aspect-ratio: 864 / 1184; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.photos figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.plans3 { display: grid; gap: 14px; margin-top: 6px; }
@media (min-width: 900px) { .plans3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plans3.two { max-width: 820px; width: 100%; margin-left: auto; margin-right: auto; }
@media (min-width: 760px) { .plans3.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan3 { border: 1px solid var(--line2); border-radius: 22px; padding: 24px 20px; display: grid; gap: 10px; align-content: start; background: rgba(255, 255, 255, .02); }
.plan3.best { border-color: var(--gold); box-shadow: inset 0 0 0 1px rgba(230, 196, 127, .4); }
.plan3 h3 { font: 500 28px/1.1 var(--serif); }
.plan3 .pp { font: 500 54px/1 var(--serif); color: var(--gold2); }
.plan3 .pf { color: var(--soft); }
.plan3 ul { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 7px; font-size: 14px; color: var(--muted); }
.plan3 li { position: relative; padding-left: 22px; }
.plan3 li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.allcards { display: grid; gap: 8px; margin-top: 10px; }
.cardrow { display: flex; gap: 10px; overflow-x: auto; padding: 8px 2px 12px; scrollbar-width: none; }
.cardrow::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .cardrow { justify-content: center; } }
.cardrow img { flex: 0 0 auto; width: 112px; height: 157px; object-fit: cover; border-radius: 6px; box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .9); }

/* the card designs wrap on wide screens (eleven of them for Christmas) */
@media (min-width: 980px) { .tune .cardz { flex-wrap: wrap; overflow: visible; } }

/* ───────── v9: anyone, any occasion ───────── */
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }       /* nine tiles, three by three */
.who-own { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.row-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.row-in .btn { min-height: 52px; padding: 0 20px; }
.occ-more-l { margin: 18px 0 8px; }
.occ-more { display: flex; flex-wrap: wrap; gap: 7px; }
.occ-chip { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; font-size: 13.5px; line-height: 1.1; }
.occ-chip.own { border-style: dashed; border-color: rgba(230, 196, 127, .55); color: var(--gold2); }

/* ───────── v9: the offer in three steps ───────── */
.osteps { display: flex; align-items: center; justify-content: center; gap: 6px; max-width: 640px; width: 100%; margin: 0 auto;
  position: relative; scroll-margin-top: 70px; }
.os { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px 4px; color: var(--faint);
  font: 700 13px/1.1 var(--sans); letter-spacing: .02em; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.os i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line2); font: 700 12.5px/1 var(--sans);
  font-style: normal; color: var(--muted); background: rgba(255, 255, 255, .03); transition: all .25s; flex: 0 0 auto; }
.os.on { color: var(--ink); }
.os.on i { background: linear-gradient(180deg, #f5dca6, #d7a85a); color: #1d1405; border-color: transparent; box-shadow: 0 6px 18px -8px rgba(230, 180, 90, .9); }
.os.done { color: var(--soft); }
.os.done i { border-color: rgba(230, 196, 127, .6); color: var(--gold2); }
.os-line { flex: 1 1 18px; max-width: 60px; height: 1px; background: var(--line2); }
@media (max-width: 400px) { .os { font-size: 12px; gap: 6px; } .os i { width: 25px; height: 25px; } .os-line { max-width: 18px; } }
.ostep { display: none; }
.ostep.on { display: grid; gap: 30px; animation: rise .45s var(--ease) both; min-width: 0; }
.onext { display: grid; gap: 10px; justify-items: center; max-width: 560px; width: 100%; margin: 0 auto; }

/* step 1: the live preview beside the controls */
.make { display: grid; gap: 18px; min-width: 0; }
@media (min-width: 980px) { .make { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: start; gap: 28px; }
  .make-pv { position: sticky; top: 14px; } }
.make-pv { display: grid; gap: 10px; justify-items: center; min-width: 0; }
.pv-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(7, 11, 26, .5); }
.pv-tabs button { border: 0; background: none; color: var(--muted); font: 700 13px/1 var(--sans); padding: 9px 14px; border-radius: 999px;
  transition: background .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.pv-tabs button.on { background: rgba(230, 196, 127, .16); color: var(--gold2); }
.pv { position: relative; margin: 0; width: min(100%, 420px); aspect-ratio: 5 / 7; border-radius: 6px; overflow: hidden; background: #0d1330;
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .95), 0 0 0 1px var(--line); transition: aspect-ratio .3s var(--ease); }
@media (max-width: 979px) { .pv { width: min(78vw, 360px); } }
.pv.poster { aspect-ratio: 4 / 5; }
.pv img { width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity .35s; }
.pv.loading img { opacity: .45; }
.pv .ph-wait { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 2px solid var(--gold);
  border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; opacity: 0; transition: opacity .3s; }
.pv.loading .ph-wait { opacity: 1; }
.pv-cap { font: 400 italic 16px/1.35 var(--serif); color: var(--muted); text-align: center; max-width: 420px; min-height: 2.7em; text-wrap: pretty; }
.make .tune { max-width: none; margin: 0; }
.t-head { display: grid; gap: 4px; }
.pv-mini { position: fixed; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 35; width: 74px; padding: 0; border: 1px solid rgba(230, 196, 127, .6);
  border-radius: 6px; overflow: hidden; background: #0d1330; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .95); animation: rise .3s var(--ease) both; }
.pv-mini img { display: block; width: 100%; height: auto; }
.pv-mini[hidden] { display: none; }

/* step 2: everything in it, when to see it, and more */
.get2 { display: grid; gap: 16px; max-width: 980px; width: 100%; margin: 0 auto; }
.get2 .see { max-width: none; }
.incl h3 { font: 500 28px/1.1 var(--serif); }
.incl-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.incl-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: center; }
.incl-list img { width: 46px; height: 64px; object-fit: cover; border-radius: 3px; background: #0e1530; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .9); }
.incl-list .ok { display: grid; place-items: center; width: 46px; height: 32px; color: var(--gold); font-weight: 700; }
.incl-list b { display: block; font-size: 14.5px; color: var(--ink); }
.incl-list small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.addons { display: grid; gap: 14px; max-width: 860px; width: 100%; margin: 0 auto; }
.addons-h { text-align: center; display: grid; gap: 4px; justify-items: center; }
.addons-h h2 { font-size: clamp(30px, 5.6vw, 44px); line-height: 1.05; }
.addons .duo { max-width: none; }
.addon { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-areas: "box t p" ". hols hols"; column-gap: 12px; row-gap: 10px;
  align-items: start; text-align: left; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.addon:hover { border-color: rgba(230, 196, 127, .55); }
.addon.on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: linear-gradient(180deg, rgba(64, 54, 38, .45), rgba(16, 20, 42, .74)); }
.ad-box { grid-area: box; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line2); margin-top: 1px; display: grid; place-items: center; transition: all .2s; }
.addon.on .ad-box { background: linear-gradient(180deg, #f5dca6, #d7a85a); border-color: transparent; }
.addon.on .ad-box::after { content: "✓"; color: #1d1405; font: 800 14px/1 var(--sans); }
.ad-t { grid-area: t; display: grid; gap: 4px; min-width: 0; }
.ad-t b { font: 500 21px/1.15 var(--serif); }
.ad-t span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.ad-p { grid-area: p; font: 500 24px/1 var(--serif); color: var(--gold2); white-space: nowrap; }
.ad-p small { font: 600 12px/1 var(--sans); color: var(--muted); margin-left: 2px; }
.ad-hols { grid-area: hols; display: flex; gap: 8px; overflow: hidden; }
.ad-hols:empty { display: none; }
.ad-hols img { width: 52px; height: 73px; object-fit: cover; border-radius: 3px; background: #0e1530; box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .9); flex: 0 0 auto; }

/* step 3: the gift at a glance, then the price */
.sum { max-width: 860px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.sum-pics { display: flex; gap: 8px; align-items: flex-end; }
.sum-pics img { width: 64px; height: auto; aspect-ratio: 5 / 7; object-fit: contain; border-radius: 3px; background: #0e1530; box-shadow: 0 10px 18px -10px rgba(0, 0, 0, .9); }
.sum-pics img + img { aspect-ratio: 4 / 5; width: 70px; }
@media (min-width: 720px) { .sum-pics img { width: 92px; } .sum-pics img + img { width: 100px; } }
.sum-t { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.sum-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 13.5px; color: var(--soft); }
.sum-list li { position: relative; padding-left: 18px; }
.sum-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
@media (max-width: 420px) { .sum { grid-template-columns: minmax(0, 1fr); } }

.fmts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fmts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fmt { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 14px 8px 12px; border-radius: 14px; border: 1px solid var(--line2);
  background: rgba(255, 255, 255, .03); color: var(--ink); text-align: center; transition: border-color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.fmt b { font: 700 14px/1.15 var(--sans); }
.fmt small { font: 500 11.5px/1.35 var(--sans); color: var(--faint); }
.fmt:hover { border-color: rgba(230, 196, 127, .6); }
.fmt.on { border-color: var(--gold); background: rgba(230, 196, 127, .1); box-shadow: inset 0 0 0 1px var(--gold); }
.fmt:disabled { opacity: .4; cursor: not-allowed; }
.shape-i { display: block; width: var(--w); height: var(--h); border: 1.5px solid var(--gold2); border-radius: 3px; background: rgba(230, 196, 127, .08); margin: 2px 0 4px; }
.shape-c { display: block; width: 36px; height: 36px; border: 1.5px solid var(--gold2); border-radius: 50%; background: rgba(230, 196, 127, .08); margin: 2px 0 4px; }
.shape-h { display: block; font: 400 34px/38px var(--sans); color: var(--gold2); height: 38px; font-style: normal; }
.sws { display: grid; gap: 2px; }
.sw { display: flex; align-items: center; gap: 12px; padding: 9px 2px; cursor: pointer; -webkit-tap-highlight-color: transparent; min-width: 0; }
.sw input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sw-ui { position: relative; flex: 0 0 auto; width: 42px; height: 25px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid var(--line2);
  transition: background .2s, border-color .2s; }
.sw-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: #c9cde0; transition: transform .22s var(--ease), background .2s; }
.sw input:checked + .sw-ui { background: linear-gradient(180deg, #f5dca6, #d7a85a); border-color: transparent; }
.sw input:checked + .sw-ui::after { transform: translateX(17px); background: #1d1405; }
.sw input:focus-visible + .sw-ui { box-shadow: 0 0 0 3px rgba(230, 196, 127, .35); }
.sw-t { font: 600 14.5px/1.3 var(--sans); color: var(--soft); display: grid; gap: 2px; min-width: 0; }
.sw-t small { font: 500 12.5px/1.35 var(--sans); color: var(--faint); }
.sw.small { padding: 4px 2px; }
.sw.small .sw-t { font-size: 13px; color: var(--muted); }
.sw[hidden] { display: none; }
.tune .in:disabled { opacity: .45; }
.onext .link { justify-self: center; }

/* the preview takes the shape of what it shows */
.pv[data-aspect="card"] { aspect-ratio: 5 / 7; }
.pv[data-aspect="sq"] { aspect-ratio: 1 / 1; }
.pv[data-aspect="a2"] { aspect-ratio: 85 / 110; }
.pv[data-aspect="poster"] { aspect-ratio: 4 / 5; }
.pv[data-aspect="land"] { aspect-ratio: 5 / 4; }
.pv[data-aspect="photo"] { aspect-ratio: 864 / 1184; border-radius: 6px; }
.pv[data-aspect="photo"] img, .pv[data-aspect="photo"] .annot { border-radius: 6px; }
@media (max-width: 979px) { .pv[data-aspect="land"] { width: min(92vw, 440px); } .pv[data-aspect="sq"] { width: min(84vw, 380px); } }

/* labels on the photos: a gold point on the thing, a line, a few words */
.annot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
.annot.on { opacity: 1; }
.annot[hidden] { display: none; }
.al-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.al-lines path { fill: none; stroke: #f3d28a; stroke-width: 1.3; stroke-opacity: .95; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .8)); }
.al-dot { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #f6dca0;
  box-shadow: 0 0 0 2px rgba(7, 11, 26, .55), 0 0 12px 2px rgba(246, 220, 160, .9); }
.al-dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid rgba(246, 220, 160, .9); animation: alpulse 2.2s ease-out infinite; }
@keyframes alpulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.al { position: absolute; display: grid; gap: 1px; padding: 6px 9px; border-radius: 10px; background: rgba(7, 11, 26, .82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(230, 196, 127, .45); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .9); }
.al b { font: 700 12.5px/1.2 var(--sans); color: #fbefd5; }
.al small { font: 500 11px/1.25 var(--sans); color: #c9cfe4; }
@media (min-width: 980px) { .al b { font-size: 13.5px; } .al small { font-size: 12px; } }

/* a flat card photo when the card is square: on soft paper light */
.ph.flat { display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 30%, #f4efe6, #d9d2c6); }
.ph.flat img { width: 78%; height: auto; aspect-ratio: auto; object-fit: contain; box-shadow: 0 30px 50px -24px rgba(40, 30, 20, .7), 0 2px 6px rgba(40, 30, 20, .25); border-radius: 2px; }

/* the live preview in the bar on top */
.stick-pv { flex: 0 0 auto; padding: 0; border: 1px solid rgba(230, 196, 127, .6); border-radius: 4px; overflow: hidden; background: #0d1330;
  width: 34px; height: 46px; display: grid; place-items: center; margin-right: -2px; }
.stick-pv img { width: 100%; height: 100%; object-fit: contain; display: block; }
.stick-pv[hidden] { display: none; }
.stick .stick-what { flex: 1 1 auto; }

/* labels: hidden ones, short ones (no second line), and smaller dots on a phone */
.al[hidden], .al-dot[hidden] { display: none; }
.al.short small { display: none; }
@media (max-width: 520px) {
  .al-dot { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
  .al-dot::after { inset: -5px; }
  .al { padding: 5px 8px; border-radius: 9px; }
}

/* v12: the smaller labels over each of a card's lines */
.lab.sub { font-size: 12.5px; margin-top: 4px; color: var(--muted); }

/* ───────── v13: the guided editor: their card in three steps, then their poster in five ───────── */
.wz-prog { display: flex; gap: 14px; max-width: 760px; width: 100%; margin: -8px auto 0; }
.wz-part { flex: 3 1 0; display: grid; gap: 4px; min-width: 0; opacity: .62; transition: opacity .25s; }
.wz-part[data-prod="poster"] { flex-grow: 5; }
.wz-part.on { opacity: 1; }
.wz-pl { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.wz-pl b { font: 700 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); white-space: nowrap; }
.wz-part.on .wz-pl b { color: var(--gold); }
.wz-pl small { font: 500 12px/1.2 var(--sans); color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.wz-segs { display: flex; gap: 4px; }
.seg { flex: 1 1 0; height: 22px; padding: 9px 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.seg::before { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--line2); transition: background .3s, box-shadow .3s; }
.seg.done::before { background: rgba(230, 196, 127, .62); }
.seg.on::before { background: linear-gradient(90deg, #f5dca6, #d7a85a); box-shadow: 0 0 10px rgba(230, 180, 90, .75); }
.seg:hover::before { background: rgba(230, 196, 127, .85); }
.seg:focus-visible { outline: none; }
.seg:focus-visible::before { box-shadow: 0 0 0 3px rgba(230, 196, 127, .4); }

.wz-head { display: grid; gap: 6px; }
.wz-head h3 { font: 500 clamp(26px, 4.6vw, 34px)/1.08 var(--serif); text-wrap: balance; }
.wz-sub { color: var(--muted); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.wstep { display: grid; gap: 10px; min-width: 0; animation: rise .35s var(--ease) both; }
.wstep[hidden] { display: none; }
.wstep > .lab:not(:first-child) { margin-top: 6px; }

/* big pictures to pick from: their card in every design, the poster's nine designs */
.cardz.grid, .designs.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; overflow: visible; padding: 4px 0 2px; }
@media (min-width: 560px) { .cardz.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cardz.grid .cz, .designs.grid .dz { width: auto; min-width: 0; gap: 7px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cardz.grid .cz img { width: 100%; height: auto; aspect-ratio: 5 / 7; background: #0e1530; object-fit: contain; }
#czs[data-fmt="square"] .cz img { aspect-ratio: 1; }
.cardz.grid[data-fmt="a2"] .cz img { aspect-ratio: 85 / 110; }
.cardz.grid[data-fmt="square"] .cz img { aspect-ratio: 1 / 1; }
.designs.grid .dz img { width: 100%; height: auto; aspect-ratio: 4 / 5; }
.cardz.grid .cz span, .designs.grid .dz span { font: 600 12.5px/1.25 var(--sans); }
.cardz.grid .cz:hover img, .designs.grid .dz:hover img { border-color: rgba(230, 196, 127, .55); }
.cardz.grid .cz.on img, .designs.grid .dz.on img { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 196, 127, .2), 0 14px 26px -12px rgba(0, 0, 0, .95); }
.wstep .dz-note { margin-top: 2px; }

/* the rest of the lines, folded away until they want them */
.more { border-top: 1px solid var(--line); padding-top: 4px; margin-top: 4px; }
.more summary { padding: 10px 0; display: flex; align-items: center; gap: 2px; }
.more summary::-webkit-details-marker { display: none; }
.more-in { display: grid; gap: 8px; padding: 2px 0 8px; animation: rise .3s var(--ease) both; }
.sws.two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
@media (max-width: 400px) { .sws.two { grid-template-columns: minmax(0, 1fr); } }

/* where they'll look up from */
.sky-now { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(230, 196, 127, .45);
  background: linear-gradient(180deg, rgba(64, 54, 38, .38), rgba(16, 20, 42, .6)); font: 400 19px/1.3 var(--serif); color: var(--soft); }
.sky-now b { font-weight: 600; color: var(--gold2); }
.sky-pin { flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(180deg, #f5dca6, #d7a85a);
  box-shadow: 0 0 12px rgba(230, 180, 90, .7); margin: 0 2px 4px; }
.sky-how { display: grid; gap: 6px; padding: 4px 2px 0; font-size: 14.5px; line-height: 1.5; color: var(--soft); }
.sky-how:empty { display: none; }
.sky-how .sky-when { font: 500 17px/1.35 var(--serif); color: var(--ink); }
.sky-how .muted { font-size: 13.5px; }

/* Back and Next, always at hand */
.wz-nav { display: flex; gap: 10px; align-items: stretch; margin-top: 4px; position: sticky; bottom: 0; z-index: 6;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(12, 17, 39, 0), rgba(12, 17, 39, .94) 26%); }
.wz-nav .btn { min-height: 54px; min-width: 0; }
#wz-back { flex: 0 0 auto; padding: 0 18px; }
#wz-next { flex: 1 1 auto; font-size: 16px; white-space: normal; text-align: center; line-height: 1.2; padding: 8px 20px; }
#tune { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 979px) { .make { grid-template-columns: minmax(0, 1fr); } }
.wz-foot { display: grid; gap: 6px; justify-items: center; }
.wz-foot .link { justify-self: center; }
@media (max-width: 420px) { .wz-bl { display: none; } #wz-back { padding: 0 16px; } #wz-next { font-size: 15.5px; } }
@media (max-width: 599px) { .wz-pl small { display: none; } }

/* the preview on a phone: the question in sight under it */
@media (max-width: 979px) {
  #pv.pv { width: auto; height: min(42vh, 380px); max-width: calc(100vw - 32px); }
  #pv.pv[data-aspect="land"] { height: auto; width: min(92vw, 440px); }
  #pv.pv[data-aspect="sq"] { height: auto; width: min(80vw, 340px); }
  .make { gap: 14px; }
  .make-pv { gap: 8px; }
  .pv-cap { min-height: 0; font-size: 15px; }
}

/* v14: the city first; under the star, where it's seen from (and a way to change it) */
.qz-step[data-step="where"] .sky-now { margin-bottom: 4px; }
.seen { display: grid; justify-items: center; gap: 8px; margin-top: 10px; width: 100%; max-width: 460px; margin-inline: auto; }
.seen-b { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--soft); font: 600 14px/1.3 var(--sans);
  padding: 6px 10px; border-radius: 999px; -webkit-tap-highlight-color: transparent; }
.seen-b b { color: var(--ink); font-weight: 700; }
.seen-b u { color: var(--gold2); text-decoration-color: rgba(246, 226, 179, .45); text-underline-offset: 3px; }
.seen-b .sky-pin { width: 11px; height: 11px; margin: 0 2px 2px; }
.seen-box { display: grid; gap: 8px; width: 100%; text-align: left; }
.seen-box .fine { text-align: center; }

/* v15: a switch that can't change this design is dimmed; tapped, it says why */
.sw.na { opacity: .42; }
.sw.na .sw-ui { filter: grayscale(1); }
.fmt.na { opacity: .45; }
#tune { position: relative; }
.why-tip { position: absolute; z-index: 6; padding: 11px 13px 12px; border-radius: 12px; border: 1px solid rgba(230, 196, 127, .5);
  background: linear-gradient(180deg, #2b2a37, #141a33); color: var(--soft); box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
  font: 500 13.5px/1.45 var(--sans); animation: tipin .22s var(--ease) both; transition: opacity .35s; }
.why-tip::before { content: ""; position: absolute; top: -6px; left: var(--ax, 24px); width: 10px; height: 10px; margin-left: -5px;
  background: #2b2a37; border-left: 1px solid rgba(230, 196, 127, .5); border-top: 1px solid rgba(230, 196, 127, .5); transform: rotate(45deg); }
.why-tip p { margin: 0; }
.why-tip p > span { color: var(--gold); }
.why-tip.gone { opacity: 0; }
@keyframes tipin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.why-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.map-note { margin: -2px 0 4px; }
.pv.flash img { animation: pvflash .7s var(--ease); }
@keyframes pvflash { 0% { filter: brightness(1.28) saturate(1.1); } 100% { filter: none; } }

/* v16: the extras: the Moon (none, that night, that week) and their star's marker */
.mk { display: block; width: 36px; height: 36px; color: var(--gold2); margin: 2px 0 4px; font-style: normal; }
.mk.wide { width: 60px; }
.mk svg { display: block; width: 100%; height: 100%; }
.fmt.on .mk { color: var(--gold); }
#sum-card[data-fmt="square"] { aspect-ratio: 1; }
