/* Picturepops Invitations. Tokens from the Picturepops Brand Kit (picturepops.com, 2026-10-14):
   paper, ink, Postal blue for actions, cream on ink, gold sparingly, Young Serif + Hanken Grotesk,
   12 px buttons, pill chips, 16 px cards with the light lift shadow. One light look, like the site. */
:root{
  --paper:#FAFBFC; --paper-2:#F2F3F4; --surface:#FEFEFF; --white:#FFFFFF; --line:#DFE1E3; --line-2:#C9CBCE;
  --ink:#1B2433; --ink-2:#47526A; --ink-3:#696C70;
  --primary:#1F4FA3; --primary-hover:#193F85; --primary-soft:#DFE7F6; --on-primary-soft:#173A7A;
  --highlight:#E9B949; --on-dark:#F4F2EC;
  --success:#2F7A4B; --success-soft:#E1F0E5; --danger:#B3261E; --danger-soft:#F9E0DD; --wait-soft:#F7EED3; --wait:#7A5B12;
  --display:"Young Serif",Georgia,serif; --sans:"Hanken Grotesk",system-ui,-apple-system,sans-serif;
  --r-btn:12px; --r:16px;
  --shadow:0 4px 4px rgba(27,36,51,.03),0 0 0 1px rgba(27,36,51,.04);
  --lift:0 41.8px 33.4px rgba(27,36,51,.05),0 22.3px 17.9px rgba(27,36,51,.04),0 12.5px 10px rgba(27,36,51,.04),0 6.65px 5.3px rgba(27,36,51,.03),0 2.8px 2.2px rgba(27,36,51,.02);
  --ease:cubic-bezier(.16,1,.3,1);
  --tex-env:url(media/paper_env.png); --tex-card:url(media/paper_card.png);
  color-scheme:light;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.55 var(--sans);-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
h1,h2,h3{font-family:var(--display);font-weight:400;line-height:1.1;margin:0 0 .4em;text-wrap:balance}
h1{font-size:clamp(36px,10vw,58px)} h2{font-size:clamp(28px,7.5vw,40px)} h3{font-size:22px}
p{margin:0 0 1em}
.muted{color:var(--ink-3)} .small{font-size:14px} .center{text-align:center}
main{max-width:560px;margin:0 auto;padding:0 16px 96px;outline:none}

/* top bar */
.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px 16px;padding-top:max(10px,env(safe-area-inset-top));background:rgba(254,254,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink)}
.brand .wm{height:22px;width:auto}
.brand .sub{font-size:13px;font-weight:600;color:var(--ink-3);padding-left:8px;border-left:1px solid var(--line)}
.topnav{display:flex;align-items:center;gap:14px}
.link-quiet{font-size:14px;text-decoration:none;color:var(--ink-2)}
body.guest .top{display:none}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border:0;border-radius:var(--r-btn);
  background:var(--primary);color:var(--white);font-weight:600;text-decoration:none;cursor:pointer;transition:background .15s,transform .15s}
.btn:hover{background:var(--primary-hover)}
.btn:active{transform:scale(.98)}
.btn-sm{min-height:36px;padding:0 14px;font-size:14px}
.btn-seal{background:var(--primary);color:var(--white)}
.btn-ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line-2)}
.btn-ghost:hover{background:var(--paper-2)}
.btn-block{display:flex;width:100%}
.btn[disabled]{opacity:.4;pointer-events:none}
.row{display:flex;gap:10px} .row>*{flex:1}

/* landing */
.hero{margin:0 -16px;position:relative;background:var(--ink);color:var(--on-dark);overflow:hidden}
.hero video{width:100%;aspect-ratio:4/5;object-fit:cover}
.hero .over{position:absolute;inset:auto 0 0 0;padding:90px 20px 24px;background:linear-gradient(transparent,rgba(27,36,51,.88))}
.hero .tag{font-weight:600;font-size:14px;color:var(--highlight);margin-bottom:6px}
.hero h1{color:var(--white);margin-bottom:.25em}
.hero p{color:var(--on-dark);font-size:17px;max-width:32ch}
.hero .cta{display:flex;gap:10px;flex-wrap:wrap}
.hero .btn-ghost{color:var(--white);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.7)}
.hero .btn-ghost:hover{background:rgba(255,255,255,.08)}
section{padding:40px 0 8px}
.eyebrow{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);font-weight:600;margin-bottom:8px}
.steps{display:grid;gap:12px;counter-reset:s}
.step{display:flex;gap:14px;align-items:flex-start;background:var(--surface);border-radius:var(--r);padding:16px;box-shadow:var(--shadow)}
.step b{display:block}
.step::before{counter-increment:s;content:counter(s);flex:none;width:32px;height:32px;border-radius:50%;background:var(--primary-soft);color:var(--on-primary-soft);display:grid;place-items:center;font-weight:700}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid var(--line-2);background:var(--surface);border-radius:999px;padding:8px 14px;font-size:14px;text-decoration:none;cursor:pointer}
.chip:hover{border-color:var(--ink)}
.scroller{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:4px 16px 16px}
.scroller::-webkit-scrollbar{display:none}
.tile{flex:none;width:62%;scroll-snap-align:start;background:var(--surface);border-radius:var(--r);overflow:hidden;box-shadow:var(--lift);text-decoration:none}
.tile img,.tile .soon{aspect-ratio:4/5;object-fit:cover;width:100%}
.tile div.cap{padding:10px 12px}
.tile b{font-family:var(--display);font-weight:400;font-size:19px;display:block;line-height:1.15}
.quote{font-family:var(--display);font-size:24px;line-height:1.25}
.compare{width:100%;border-collapse:collapse;font-size:14px;background:var(--surface);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.compare td,.compare th{padding:10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.compare th{font-weight:600}
.compare tr:last-child td{border-bottom:0}
details{background:var(--surface);border-radius:var(--r-btn);padding:14px 16px;margin-bottom:8px;box-shadow:var(--shadow)}
details summary{font-weight:600;cursor:pointer}
footer{margin:32px -16px 0;padding:28px 16px;background:var(--ink);color:var(--on-dark);font-size:13px;text-align:center}
footer .wm{height:18px;width:auto;margin:0 auto 10px;color:var(--on-dark)}

/* plans */
.plans{display:grid;gap:12px}
.plan{position:relative;background:var(--surface);border-radius:var(--r);padding:18px;box-shadow:var(--shadow);border:2px solid transparent;cursor:pointer;text-align:left;width:100%}
.plan.on{border-color:var(--primary)}
.plan .price{font-family:var(--display);font-size:36px}
.plan ul{margin:8px 0 0;padding-left:18px;color:var(--ink-2);font-size:14px}
.plan .tag{position:absolute;top:-10px;right:14px;background:var(--highlight);color:var(--ink);font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px}

/* create flow */
.progress{display:flex;gap:6px;margin:16px 0 20px}
.progress i{flex:1;height:4px;border-radius:2px;background:var(--line)}
.progress i.on{background:var(--primary)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pick{position:relative;background:var(--surface);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);border:2px solid transparent;cursor:pointer;padding:0;text-align:left}
.pick.on{border-color:var(--primary)}
.pick img,.pick .soon{aspect-ratio:4/5;object-fit:cover;width:100%}
.pick .cap{padding:8px 10px 10px}
.pick .cap b{font-family:var(--display);font-weight:400;font-size:17px;display:block;line-height:1.15}
.pick .sw{position:absolute;top:8px;left:8px;width:22px;height:22px;border-radius:50%;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.3);z-index:1}
.soon{display:grid;place-items:center;background:var(--tex-env),linear-gradient(160deg,var(--envc),color-mix(in srgb,var(--envc) 72%,#000));background-blend-mode:overlay,normal;background-size:256px,auto;color:var(--envink);font-family:var(--display);font-size:19px;text-align:center;line-height:1.15}
.occ{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;background:var(--surface);border:2px solid transparent;border-radius:var(--r-btn);padding:14px 16px;margin-bottom:8px;box-shadow:var(--shadow);cursor:pointer;text-align:left}
.occ.on{border-color:var(--primary)}
.occ small{color:var(--ink-3)}
.badge{font-size:11px;font-weight:700;letter-spacing:.04em;padding:3px 9px;border-radius:999px;background:var(--paper-2);color:var(--ink-3);white-space:nowrap}
.badge.live{background:var(--success-soft);color:var(--success)}
label.f{display:block;margin-bottom:14px}
label.f span{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
input,textarea,select{width:100%;font:inherit;font-size:16px;padding:12px 14px;border:1px solid var(--line-2);border-radius:var(--r-btn);background:var(--white);color:var(--ink)}
input:focus,textarea:focus,select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}
textarea{min-height:96px;resize:vertical}
.photo-drop{display:flex;align-items:center;gap:14px;background:var(--surface);border:1.5px dashed var(--line-2);border-radius:var(--r-btn);padding:14px;cursor:pointer}
.photo-drop img{width:64px;height:64px;object-fit:cover;border-radius:10px}
.stickybar{position:fixed;left:0;right:0;bottom:0;z-index:15;padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom));background:rgba(254,254,255,.95);border-top:1px solid var(--line);backdrop-filter:blur(8px)}
.stickybar .in{max-width:560px;margin:0 auto;display:flex;gap:10px}
.stickybar .in .btn{flex:1}
.note{background:var(--paper-2);border-radius:var(--r-btn);padding:12px 14px;font-size:14px;color:var(--ink-2);margin:12px 0}

/* ---------- guest experience (the envelope is the film's own render) ---------- */
body.guest{background:#E7E4DE}
.tap-hint{margin-top:30px;font-size:14px;color:var(--ink-2);animation:pulse 2s ease-in-out infinite}
@keyframes pulse{50%{opacity:.45}}

.film-wrap{position:fixed;inset:0;background:var(--ink);display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .7s cubic-bezier(.4,0,.2,1)}
.film-wrap.show{opacity:1;pointer-events:auto}
.film-bg{position:absolute;inset:-40px;width:calc(100% + 80px);height:calc(100% + 80px);object-fit:cover;filter:blur(28px) brightness(.55);transform:scale(1.1)}
.film-wrap video{position:relative;width:100%;height:100%;object-fit:contain}
.film-ui{position:absolute;left:0;right:0;bottom:max(18px,env(safe-area-inset-bottom));display:flex;justify-content:center;gap:10px;z-index:2}
.film-ui button{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);color:#fff;border-radius:999px;padding:8px 16px;font-size:14px;backdrop-filter:blur(6px);cursor:pointer}
.film-names{position:absolute;top:max(18px,env(safe-area-inset-top));left:0;right:0;text-align:center;color:var(--white);font-family:var(--display);font-size:28px;text-shadow:0 2px 12px rgba(0,0,0,.5);opacity:0;transition:opacity 1s 1.5s;z-index:2}
.film-wrap.show .film-names{opacity:1}

.details{position:fixed;inset:0;overflow-y:auto;background:var(--paper);transform:translateY(100%);transition:transform .7s var(--ease);z-index:30}
.details.show{transform:none}
.details .poster{position:relative}
.details .poster img{width:100%;aspect-ratio:4/5;object-fit:cover;max-height:56vh}
.details .poster .fade{position:absolute;inset:auto 0 0 0;height:40%;background:linear-gradient(transparent,var(--paper))}
.details .body{max-width:520px;margin:-80px auto 0;position:relative;padding:0 20px 120px}
.details .names{font-family:var(--display);font-size:clamp(40px,11vw,56px);line-height:1.05;margin:0 0 8px}
.details .head{font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin-bottom:10px}
.facts{display:grid;gap:10px;margin:18px 0}
.fact{display:flex;gap:12px;align-items:flex-start;background:var(--surface);border-radius:var(--r);padding:14px;box-shadow:var(--shadow)}
.fact .ic{flex:none;width:36px;height:36px;border-radius:10px;background:var(--primary-soft);color:var(--on-primary-soft);display:grid;place-items:center}
.fact b{display:block}
.couple{width:120px;height:120px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:var(--lift);margin:0 auto 14px}
.rsvp{background:var(--surface);border-radius:var(--r);padding:18px;box-shadow:var(--lift);margin-top:18px}
.seg{display:flex;gap:8px;margin-bottom:14px}
.seg button{flex:1;min-height:48px;border-radius:var(--r-btn);border:1px solid var(--line-2);background:var(--white);font-weight:600;cursor:pointer}
.seg button.on{background:var(--ink);color:var(--on-dark);border-color:var(--ink)}
.stepper{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.stepper button{width:44px;height:44px;border-radius:50%;border:1px solid var(--line-2);background:var(--white);font-size:22px;cursor:pointer}
.stepper b{font-size:22px;min-width:24px;text-align:center}
.done-msg{text-align:center;padding:10px 0}
.done-msg .big{font-family:var(--display);font-size:28px}

/* host */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}
.stat{background:var(--surface);border-radius:var(--r);padding:12px;box-shadow:var(--shadow);text-align:center}
.stat b{display:block;font-family:var(--display);font-weight:400;font-size:28px;line-height:1.1;font-variant-numeric:tabular-nums}
.stat span{font-size:12px;color:var(--ink-3)}
.bar{display:flex;height:10px;border-radius:5px;overflow:hidden;background:var(--line);margin:4px 0 16px}
.bar i{display:block}
/* the film's progress (2026-12-01): moves smoothly between polls, and a light sheen runs along it so a long film
   never looks frozen */
.film-meter i{background:var(--primary);transition:width 1.4s linear;position:relative;overflow:hidden;border-radius:inherit}
.film-meter i::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);transform:translateX(-100%);animation:film-sheen 1.8s ease-in-out infinite}
@keyframes film-sheen{to{transform:translateX(100%)}}
@media (prefers-reduced-motion:reduce){.film-meter i::after{display:none}}
.glist{background:var(--surface);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden}
.g{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line)}
.g:last-child{border-bottom:0}
.g .who{flex:1;min-width:0}
.g .who b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.g .who small{color:var(--ink-3)}
.st{font-size:12px;font-weight:700;padding:4px 9px;border-radius:999px;white-space:nowrap}
.st.yes{background:var(--success-soft);color:var(--success)} .st.no{background:var(--danger-soft);color:var(--danger)} .st.maybe{background:var(--wait-soft);color:var(--wait)}
.st.opened{background:var(--primary-soft);color:var(--on-primary-soft)} .st.sent{background:var(--paper-2);color:var(--ink-3)}
.icon-btn{width:40px;height:40px;border-radius:10px;border:1px solid var(--line-2);background:var(--white);display:grid;place-items:center;cursor:pointer;flex:none}

/* bottom sheet */
.sheet{position:fixed;inset:0;z-index:50;background:rgba(27,36,51,.45);display:flex;align-items:flex-end;justify-content:center}
.sheet[hidden]{display:none}
.sheet .panel{width:100%;max-width:560px;max-height:88vh;overflow-y:auto;background:var(--paper);border-radius:18px 18px 0 0;padding:18px 16px;padding-bottom:max(18px,env(safe-area-inset-bottom));animation:up .3s ease}
.sheet .panel .btn{margin-bottom:8px}
@keyframes up{from{transform:translateY(100%)}}
.toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);background:var(--ink);color:var(--on-dark);padding:10px 16px;border-radius:999px;font-size:14px;z-index:60}

@media (min-width:700px){
  .tile{width:240px}
  .hero{margin:16px 0 0;border-radius:var(--r)}
  footer{margin:32px 0 0;border-radius:var(--r)}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* narrow phones: keep the bar on one line */
.link-quiet,.brand .sub{white-space:nowrap}
@media (max-width:420px){.brand .wm{height:18px}.brand .sub{font-size:12px;padding-left:6px}.topnav{gap:10px}.link-quiet{font-size:13px}}
.hero .over{padding-top:170px;background:linear-gradient(rgba(27,36,51,0),rgba(27,36,51,.62) 38%,rgba(27,36,51,.9))}

/* couple photo checks and the order's own film (couple dance brain, 17 Nov) */
.seg-sm{margin:6px 0 10px}.seg-sm button{min-height:44px;font-size:14px}
.pcheck{margin-top:10px;border-radius:var(--r-btn);padding:12px 14px;font-size:14px;line-height:1.45}
.pcheck ul{margin:6px 0;padding-left:18px}.pcheck li{margin:3px 0}
.pcheck.ok{background:var(--success-soft);color:var(--success)}
.pcheck.warn{background:var(--wait-soft);color:var(--wait)}
.pcheck.fail{background:var(--danger-soft);color:var(--danger)}
.pcheck.wait{background:var(--primary-soft);color:var(--on-primary-soft)}
.linkish{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}
.filmcard{display:flex;gap:12px;align-items:center;background:var(--surface);border-radius:var(--r);box-shadow:var(--lift);padding:12px;margin:12px 0 16px}
.filmcard img{width:84px;height:105px;object-fit:cover;border-radius:10px;flex:0 0 auto}
.filmcard b{display:block;font-family:var(--display);font-weight:400;font-size:19px;margin-bottom:2px}
.filmcard span{display:block}
.filmcard .bar{margin:10px 0 2px}.filmcard .btn{margin-top:8px}
.pcheck.rescue{background:var(--primary-soft);color:var(--on-primary-soft)}
/* what they wear in the dance, picked before the film (17 Nov) */
.outfits{margin:2px 0 12px}.outfits > b{display:block;margin-bottom:2px}.outfits .qchips{margin:4px 0 6px}.outfits .small.muted{display:block}
.chip-photo{display:inline-block;margin-top:4px;padding:2px 8px;border-radius:999px;background:var(--primary-soft);color:var(--on-primary-soft);font-size:12px;font-weight:600}
/* details as a chat (16 Nov) */
.chat-head{margin-bottom:10px}.chat-head h2{margin-bottom:2px}
.chat{display:flex;flex-direction:column;gap:10px;padding-bottom:12px}
.msg{max-width:86%;padding:10px 14px;font-size:16px;line-height:1.45;border:0;text-align:left}
.msg.bot{align-self:flex-start;background:var(--surface);color:var(--ink);border-radius:16px 16px 16px 4px;box-shadow:var(--shadow)}
.msg.me{align-self:flex-end;background:var(--primary);color:var(--white);border-radius:16px 16px 4px 16px;cursor:pointer;font:inherit}
.msg.me small{display:block;font-size:12px;opacity:.75;text-decoration:underline;margin-top:2px}
.msg.typing{animation:pop-in .45s var(--ease) both}
@keyframes pop-in{0%{opacity:0;transform:translateY(8px) scale(.97)}100%{opacity:1;transform:none}}
.composer{background:var(--surface);border-radius:var(--r);box-shadow:var(--lift);padding:12px;animation:pop-in .45s .25s var(--ease) both}
.composer .line{display:flex;gap:8px;align-items:center;margin:4px 0}
.composer .line.col{flex-direction:column;align-items:stretch}.composer .line.end{justify-content:flex-end}
.composer input,.composer textarea{flex:1;min-width:0;font:inherit;font-size:16px;padding:12px;border:1px solid var(--line-2);border-radius:var(--r-btn);background:var(--white);color:var(--ink)}
.composer textarea{min-height:84px;resize:vertical}
.composer .send{flex:0 0 auto;width:46px;height:46px;border-radius:50%;border:0;background:var(--primary);color:var(--white);display:grid;place-items:center;cursor:pointer}
.composer .send:hover{background:var(--primary-hover)}
.qchips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0}
.qchip{border:1px solid var(--line-2);background:var(--white);border-radius:999px;padding:9px 14px;font-weight:600;font-size:14px;cursor:pointer}
.qchip.on{background:var(--ink);color:var(--on-dark);border-color:var(--ink)}
.qchip.thumb{display:inline-flex;align-items:center;gap:8px;padding:4px 14px 4px 4px}.qchip.thumb img{width:30px;height:38px;object-fit:cover;border-radius:999px;display:block}
.qchip.ghost{background:transparent;color:var(--ink-2);border-style:dashed}
.composer>.f>span{display:none}
.composer [hidden],.qchips [hidden]{display:none}
.composer,.chat>.msg{scroll-margin-bottom:110px}
.msg.me .thumb{width:72px;height:90px;object-fit:cover;border-radius:10px;margin-bottom:6px;display:block}
/* the guest view opens on the film's own rendered envelope (16 Nov: the CSS envelope is dropped) */
.film-wrap.env{background:#F9FBFC}
.film-wrap.env .film-bg,.film-wrap.env .film-names,.film-wrap.env .film-ui{opacity:0;pointer-events:none}
.film-wrap .film-bg,.film-wrap .film-ui{transition:opacity .9s}
.film-wrap{transition:opacity .7s cubic-bezier(.4,0,.2,1),background-color .9s}
.env-tap{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:max(28px,env(safe-area-inset-top)) 16px max(40px,env(safe-area-inset-bottom));cursor:pointer;transition:opacity .5s}
.env-for{text-align:center;font-family:var(--display);font-size:26px;color:var(--ink)}
.env-for span{display:block;font-family:var(--sans);font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);margin-top:4px}
.env-tap .tap-hint{color:var(--ink-2);font-weight:600}
.film-wrap.opening .env-tap{opacity:0;pointer-events:none}
.msg.bot.wide{max-width:100%;padding:0;background:none;box-shadow:none}.msg.bot.wide .filmcard{margin:0}
.dfc{margin-top:12px}

/* free launch rebuild (19 Nov): photo and dance first, the occasion and venue in one row, the link page */
.pickrow{display:flex;align-items:center;gap:12px;width:100%;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:8px 12px 8px 8px;margin:6px 0 16px;text-align:left;cursor:pointer;box-shadow:var(--shadow)}
.pickrow img{width:52px;height:64px;object-fit:cover;border-radius:10px;flex:0 0 auto}
.pickrow span{flex:1;display:flex;flex-direction:column;gap:2px}
.pickrow small{color:var(--ink-3)}
.pickrow .chg{flex:0 0 auto;color:var(--primary);font-weight:600;font-size:14px}
.f.dances .qchips{margin-top:6px}
details.outfits{margin-top:12px}
details.outfits summary{cursor:pointer;padding:6px 0}
.sharebox{background:var(--surface);border-radius:16px;box-shadow:var(--shadow);padding:16px;margin:14px 0}
.sharebox .linkline{display:flex;gap:8px;margin:8px 0 12px}
.sharebox .linkline input{flex:1;min-width:0;font-size:14px}
.sharebtns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.film-wrap .close-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;pointer-events:none;transition:opacity .35s;z-index:2}
.film-wrap.closing .close-vid{opacity:1}
.film-wrap.closing .film-names{opacity:1;color:var(--ink);text-shadow:none}

/* 20 Nov: step 1 picks the occasion (only occasions with their own films) */
.occs{display:grid;gap:10px;margin:14px 0 90px}
.occ-tile{display:flex;align-items:center;gap:14px;width:100%;background:var(--surface);border:2px solid transparent;border-radius:16px;padding:8px 14px 8px 8px;box-shadow:var(--shadow);cursor:pointer;text-align:left;color:inherit;font:inherit}
.occ-tile.on{border-color:var(--primary)}
.occ-tile img{width:72px;height:90px;object-fit:cover;border-radius:10px;flex:0 0 auto}
.occ-tile b{font-family:var(--display);font-weight:400;font-size:19px;display:block;line-height:1.15;margin-bottom:3px}
.occ-tile small{color:var(--ink-3);font-size:13px;line-height:1.35}
/* the preview waits for the dance and prints the carpet */
.printing{padding:56px 8px}
.printing .bar{max-width:260px;margin:14px auto 0}
.spin{width:36px;height:36px;margin:0 auto 16px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--primary);animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spin{animation:none}}
/* the film's own words (the scene's YOU'RE INVITED banner) sit at its top: where the film fills the window's height
   (wider than about 3:4), the names overlay would land on them, so it shows only where there is room above the film */
@media (min-aspect-ratio:3/4){.film-names{display:none}}
