/* First Portrait — "Studio" design system (Claude Design handoff, direction 1a). Tokens and sizes are exact. */
:root {
  --bg: #f4ebe6; --surface: #fffcf8; --ink: #2a211d; --muted: #6a5d55; --line: #e4d9ce;
  --accent: #8c4d3a; --accent-ink: #fffaf6; --soft: #efe4d9; --frame: #16100d; --ok: #4a6845;
  --shadow: 0 30px 60px -30px rgba(50, 25, 10, .45);
  --serif: Newsreader, Georgia, serif; --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --btnr: 16px; --imgr: 22px;
  --girl: #fbe7ec; --boy: #e3eef9; --unknown: #f7efdf;   /* the details wizard's gentle tints */
  --pick-line: #c9bcae;   /* --line darkened ~15% for the wizard's option borders */
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #15110f; --surface: #1f1916; --ink: #f3ebe4; --muted: #b9aa9f; --line: #3a302a; --accent: #e3a88f;
          --accent-ink: #21140f; --soft: #2b221e; --frame: #0b0807; --ok: #a9c4a0; --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
          --girl: #3a2429; --boy: #212c38; --unknown: #332b20; --pick-line: #54483f; }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); -webkit-text-size-adjust: 100%; }
body { min-height: 100dvh; display: flex; flex-direction: column; color: var(--ink); font-family: var(--sans);
       font-size: 17px; line-height: 1.55; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: #efd9cb; }
strong.ink { color: var(--ink); font-weight: 600; }

/* chrome */
.fp-header { width: 100%; max-width: 520px; margin: 0 auto; padding: 10px 20px; min-height: 64px;
             display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fp-header .left { display: flex; align-items: center; gap: 2px; min-width: 0; }
.fp-back { width: 44px; height: 44px; margin-left: -12px; display: grid; place-items: center; border-radius: 12px; color: var(--ink); }
.fp-back:hover { background: var(--soft); color: var(--ink); }
.fp-mark { display: flex; align-items: center; gap: 9px; padding: 6px 0; color: var(--ink); text-decoration: none; }
.fp-mark .mark { width: 28px; height: 28px; flex: none; display: block; }   /* the G4 mark (13 Oct): heartbeat into a portrait frame, terracotta eyes */
.fp-mark .name { font-family: var(--serif); font-size: 21px; letter-spacing: -.005em; white-space: nowrap; }
.env-tag { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
           font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.fp-find { min-height: 44px; display: flex; align-items: center; padding: 0 4px; font-size: 15px; color: var(--muted);
           white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.fp-find:hover { color: var(--ink); }
.fp-header .right { display: flex; align-items: center; gap: 6px; flex: none; }
.env-tag { white-space: nowrap; }
.phone-only { display: none; }
@media (max-width: 480px) {   /* phones: brand + language menu only; 'Find my portrait' moves to the footer (and the FAQ) */
  .fp-header .fp-find { display: none; } .phone-only { display: inline; }
  .fp-header { padding-inline: 16px; } .fp-mark .name { font-size: 19px; } .env-tag { margin-left: 6px; font-size: 10px; padding: 2px 6px; }
}
.lang-pick select { min-height: 44px; padding: 0 22px 0 8px; border: 1px solid var(--line); border-radius: 10px; background: transparent;
                    color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .04em; cursor: pointer;
                    -webkit-appearance: none; appearance: none;
                    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
                    background-position: right 11px center, right 7px center; background-size: 4px 4px; background-repeat: no-repeat; }
.lang-pick select:hover, .lang-pick select:focus { color: var(--ink); }
main { flex: 1; width: 100%; max-width: 520px; margin: 0 auto; padding: 6px 20px 28px; }
.fp-footer { width: 100%; max-width: 520px; margin: 0 auto; padding: 12px 24px calc(18px + env(safe-area-inset-bottom));
             font-size: 13px; line-height: 1.45; color: var(--muted); text-align: center; text-wrap: balance; }

.app-version { margin-top: 6px; font-size: 12px; opacity: .7; font-variant-numeric: tabular-nums; }

/* screen layout */
.screen { display: flex; flex-direction: column; gap: 22px; animation: fp-in .5s ease both; }
.screen.g20 { gap: 20px; } .screen.g24 { gap: 24px; } .screen.g28 { gap: 28px; } .screen.pt { padding-top: 12px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack.g4 { gap: 4px; } .stack.g6 { gap: 6px; } .stack.g12 { gap: 12px; } .stack.g14 { gap: 14px; } .stack.g16 { gap: 16px; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.08; text-wrap: balance; }
.h40 { font-size: 40px; line-height: 1.05; } .h42 { font-size: 42px; line-height: 1.04; letter-spacing: -.01em; }
.h38 { font-size: 38px; } .h36 { font-size: 36px; } .h34 { font-size: 34px; line-height: 1.1; } .h32 { font-size: 32px; line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
.muted { color: var(--muted); } .small { font-size: 15px; } .s16 { font-size: 16px; } .center { text-align: center; }
.fine { font-size: 15px; color: var(--muted); text-align: center; }

/* buttons */
.btn { min-height: 56px; width: 100%; border: 0; border-radius: var(--btnr); background: var(--accent); color: var(--accent-ink);
       font-size: 17px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
       text-decoration: none; transition: opacity .2s; }
.btn:hover { color: var(--accent-ink); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-2 { min-height: 52px; width: 100%; border: 1px solid var(--line); border-radius: var(--btnr); background: transparent;
         color: var(--ink); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center;
         text-align: center; text-decoration: none; line-height: 1.25; padding: 6px 10px; }
.btn-2:hover { background: var(--soft); color: var(--ink); }
.btn-text { min-height: 48px; width: 100%; border: 0; background: transparent; color: var(--accent); font-size: 16px; cursor: pointer;
            display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two-up .btn-2 { font-size: 15px; }
form { margin: 0; }

/* cards & panels */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.card.p18 { padding: 18px; }
.list-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.list-card .row { display: flex; gap: 10px; color: var(--muted); font-size: 16px; }
.list-card .row b { color: var(--accent); font-weight: 400; }
.panel { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--soft); border-radius: var(--btnr); font-size: 15px; }
.panel svg { flex: none; margin-top: 2px; }
.icon-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; }
.error { padding: 12px 14px; border-radius: 12px; background: var(--soft); border: 1.5px solid var(--accent); font-size: 15px; }

/* images */
.frame { position: relative; background: var(--frame); border-radius: var(--imgr); overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shadow { box-shadow: var(--shadow); }
.a443 { aspect-ratio: 4 / 4.3; } .a445 { aspect-ratio: 4 / 4.5; } .a1610 { aspect-ratio: 16 / 10; } .a444 { aspect-ratio: 4 / 4.4; } .a45 { aspect-ratio: 4 / 5; } .a446 { aspect-ratio: 612 / 702; }
.thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--frame); flex: none; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* hero: the scan fades into the portrait and back (the 'transparency' Mac liked); still under reduced motion */
.hero { margin: 0; display: flex; justify-content: center; }
.hero-frame { width: min(100%, 42svh); max-width: 100%; aspect-ratio: 4 / 5; }
.hero-frame img { position: absolute; inset: 0; }
.hero-scan { animation: hero-fade 5s ease-in-out infinite; }
.hero-tag { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600;
            background: rgba(20, 15, 12, .55); color: #fff; letter-spacing: .02em; display: grid; }
.hero-tag > span { grid-area: 1 / 1; }
/* the labels use the same clock as the picture: 'Your scan' exactly while the scan shows, 'Your portrait' while the baby shows */
.hero-tag .t-scan { animation: hero-fade 5s ease-in-out infinite; }
.hero-tag .t-baby { animation: hero-unfade 5s ease-in-out infinite; }
@keyframes hero-fade { 0%, 20% { opacity: 1; } 45%, 70% { opacity: 0; } 95%, 100% { opacity: 1; } }
@keyframes hero-unfade { 0%, 20% { opacity: 0; } 45%, 70% { opacity: 1; } 95%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-scan, .hero-tag .t-scan { animation: none; opacity: 0; } .hero-tag .t-baby { animation: none; } }
.hero-cta { margin-top: -8px; }
.collage { margin: 0; position: relative; padding-bottom: 30px; }
.collage .big { margin-left: 22%; }
.collage .inset { position: absolute; left: 0; bottom: 0; width: 42%; border-radius: 16px; border: 5px solid var(--bg); }
.collage figcaption { position: absolute; right: 0; bottom: 2px; font-size: 13px; color: var(--muted); }
img[data-retry] { opacity: 0; transition: opacity .4s ease; }
img[data-retry].loaded { opacity: var(--img-opacity, 1); }
.sweep { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(255, 236, 220, .3) 50%, transparent 100%);
         animation: fp-sweep 2.6s ease-in-out infinite; }
.brackets { position: absolute; animation: fp-fade 1s .2s ease both; }
.brackets span { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(255, 248, 240, .92); }
.brackets .tl { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; border-top-left-radius: 10px; }
.brackets .tr { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; border-top-right-radius: 10px; }
.brackets .bl { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; border-bottom-left-radius: 10px; }
.brackets .br { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; border-bottom-right-radius: 10px; }
.blurred img { filter: blur(6px) saturate(.6); transform: scale(1.08); opacity: .55; }
.glow { position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 45%, rgba(255, 232, 214, .45), transparent 70%);
        animation: fp-breathe 4s ease-in-out infinite; }
.ok-line { display: flex; align-items: center; gap: 10px; color: var(--ok); font-weight: 600; }

/* upload */
.drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 24px 14px;
        border: 1.5px dashed var(--line); border-radius: var(--btnr); cursor: pointer; background: var(--bg); }
.drop:hover { border-color: var(--accent); }
/* the upload box is the call to action until a file is chosen (then 'Check face clarity' takes over), so it wears the button colour */
.drop { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.drop .s { color: var(--accent-ink); opacity: .8; }
.drop:hover { filter: brightness(1.08); }
.drop input, .change input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop .t { font-weight: 600; font-size: 18px; margin-top: 6px; }
.drop .s { font-size: 15px; }
.chosen { display: flex; align-items: center; gap: 14px; }
.chosen .thumb { width: 68px; height: 68px; }
.chosen .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.change { position: relative; min-height: 44px; padding: 0 14px; display: grid; place-items: center; border: 1px solid var(--line);
          border-radius: 12px; font-size: 15px; cursor: pointer; }
.change:hover { background: var(--soft); }
.consent { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; color: var(--muted); font-size: 15px; line-height: 1.5; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent .box { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--muted);
                display: grid; place-items: center; transition: all .2s; }
.consent .box svg { opacity: 0; }
.consent input:checked + .box { border-color: var(--accent); background: var(--accent); }
.consent input:checked + .box svg { opacity: 1; }
.consent input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 3px; }

/* choices (details) */
.label { font-weight: 600; }
.sex-grid { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px; }
.choice { min-height: 52px; border-radius: var(--btnr); border: 1.5px solid var(--line); background: transparent; color: var(--ink);
          font-size: 16px; cursor: pointer; transition: all .2s; }
.choice[aria-pressed="true"] { border-color: var(--accent); background: var(--soft); }
.choice.wide { min-height: 48px; width: 100%; }
.tones { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.tone { aspect-ratio: 1; width: 100%; min-height: 44px; border-radius: 50%; border: 0; cursor: pointer; transition: box-shadow .2s;
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.tone[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* details wizard: real radio/checkbox inputs; the chosen one gets the brown underline (Mac, 12 Oct) */
.wiz-steps { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.wiz-steps i { width: 26px; height: 4px; border-radius: 4px; background: var(--line); }
.wiz-steps i.done, .wiz-steps i.on { background: var(--accent); }
.wiz-steps span { margin-left: 6px; }
.pick { position: relative; cursor: pointer; }
.pick input, .swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick > span { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 14px; border-radius: var(--btnr);
               border: 1.5px solid var(--pick-line); color: var(--ink); font-weight: 500; text-align: center; transition: box-shadow .15s, border-color .15s; }
.pick input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
/* girl / boy / surprise: a quiet radio circle on the left instead of an underline (Mac: the underline looked cartoony) */
.sex-pick .pick > span { justify-content: flex-start; gap: 12px; padding: 0 18px; }
.sex-pick .pick > span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--pick-line);
                                 background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.sex-pick .pick input:checked + span::before { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 9px var(--accent); }
.heritage-pick .pick input:checked + span { background: var(--soft); }
.pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sex-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sex-pick .sex-unknown { grid-column: 1 / -1; }
.sex-girl > span { background: var(--girl); } .sex-boy > span { background: var(--boy); } .sex-unknown > span { background: var(--unknown); }
.tone-pick { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.swatch { display: flex; flex-direction: column; align-items: center; cursor: pointer; position: relative; }
.swatch span { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--pick-line);
               transition: box-shadow .15s; }
.swatch b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* chosen tone: the same quiet language as girl / boy - a fine brown ring and a radio dot in the middle */
.swatch:has(input:checked) span { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent); }
.swatch span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
                      background: var(--accent); box-shadow: 0 0 0 3px var(--surface); opacity: 0; transition: opacity .15s; }
.swatch:has(input:checked) span::after { opacity: 1; }
.swatch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.heritage-pick .pick > span { min-height: 44px; font-size: 15px; padding: 0 16px; }
.chips .choice { min-height: 44px; padding: 0 16px; font-size: 15px; }
.between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

/* payment */
.price { font-family: var(--serif); font-size: 26px; }
.checks { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.checks div { display: flex; gap: 10px; align-items: center; }
.field { min-height: 52px; width: 100%; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 17px; }
.field.focus { min-height: 56px; border: 1.5px solid var(--accent); }
.field-label { font-weight: 600; font-size: 15px; }
.test-note { font-size: 14px; color: var(--muted); text-align: center; }

/* email */
.email-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.email-row .addr { flex: 1; min-width: 0; font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.link-btn { min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--accent); font-size: 16px; cursor: pointer;
            text-decoration: underline; text-underline-offset: 3px; }

/* progress */
.bar { height: 6px; background: var(--soft); border-radius: 999px; overflow: hidden; position: relative; }
.bar > i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; }
.study-bar > i { transition: width .6s ease-out; }
.bar.drift > i { position: absolute; top: 0; bottom: 0; width: 40%; opacity: .55; animation: fp-drift 2.8s ease-in-out infinite; }

/* reveal */
.reveal-fig { margin: 0; position: relative; padding-bottom: 26px; }
.reveal-fig .inset { position: absolute; left: 14px; bottom: 0; width: 30%; border-radius: 12px; border: 4px solid var(--bg); }
.develop img.portrait { filter: blur(16px) sepia(.9) saturate(.5) brightness(.35) contrast(.8); opacity: .2;
                        transition: filter 4.2s cubic-bezier(.2, .6, .2, 1), opacity 2.6s ease; }
.develop.developed img.portrait { filter: none; opacity: 1; }
.develop .after { opacity: 0; transition: opacity 1s ease 3s; }
.develop .after2 { opacity: 0; transition: opacity 1s ease 3.6s; }
.develop.developed .after, .develop.developed .after2 { opacity: 1; }
.pair { display: flex; gap: 12px; }
.pair .frame { width: 38%; border-radius: 13px; }

@keyframes fp-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fp-sweep { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@keyframes fp-breathe { 0%, 100% { opacity: .35; } 50% { opacity: .7; } }
@keyframes fp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fp-drift { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* landing */
.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step .num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--accent);
             display: grid; place-items: center; font-family: var(--serif); font-size: 19px; }
.step p { margin-top: 2px; }
.faq { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 8px; font-size: 16px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal ul { padding-left: 20px; margin: 6px 0; }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 8px; }
.foot-links a { color: var(--muted); text-decoration-color: var(--line); }
.drop.dragging { filter: brightness(1.15); outline: 2px dashed var(--accent-ink); outline-offset: -8px; }
.desk-only { display: none; }
@media (hover: hover) and (pointer: fine) { .desk-only { display: inline; } .touch-only { display: none; } }
/* PACSBridge study: choose a picture */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-tile { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.choice-tile .frame { border-radius: 16px; box-shadow: var(--shadow); }
.choice-tile .btn-2 { min-height: 44px; font-size: 15px; }
/* chosen: the same highlight as a chosen wizard option (accent border + ring + soft fill). Our pick starts chosen; pressing another tile moves it (13 Oct) */
.choice-tile.chosen .btn-2, .choice-tile:active .btn-2 { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--soft); color: var(--ink); }
.choice-tile.chosen .frame { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent); }
/* finished portrait: each picture with its own share / save */
.keep-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.keep-card img { width: 100%; display: block; background: var(--frame); }
.keep-row { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 16px; }
.keep-row > span { flex: 1; font-weight: 500; }
.btn-2.sm { width: auto; min-height: 44px; padding: 0 14px; font-size: 15px; gap: 6px; }
.two-up .btn, .two-up .btn-2 { gap: 8px; }
.flick img { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.flick img.on { opacity: 1; }

/* view before pay: the hidden picture an unpaid parent sees (pipeline/blur.py makes the file; nothing here hides it) */
.teaser { background: var(--frame); }
.teaser img { width: 100%; height: auto; display: block; object-fit: cover; }
.teaser-badge { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px;
                padding: 8px 14px; border-radius: 999px; background: rgba(255, 252, 248, .88); color: var(--ink, #2a211d);
                font-size: 14px; font-weight: 600; white-space: nowrap; backdrop-filter: blur(6px); }
