/* Surprise / Жива попстудія. Спільна тема чинних майстрів, без зміни генерації. */
@font-face{font-family:Manrope;src:url('/fonts/manrope-variable.ttf') format('truetype');font-style:normal;font-weight:200 800;font-display:swap}
:root{color-scheme:light;--bg:#f7f7fb;--card:#fff;--elev:#f0eeff;--ink:#171826;--muted:#5c5c70;--hair:#d9d8e8;--accent:#6d4bff;--cta:#6d4bff;--ctaink:#fff;--accent-soft:#f0ebff;--accent-ink:#482ca7;--amber:#482ca7;--mint:#e6f4ed;--mint-ink:#1c633d;--rose:#ffe9e7;--rose-ink:#9e2927;--shadow:none}
[data-theme=dark]{color-scheme:dark;--bg:#12141d;--card:#202330;--elev:#292c3b;--ink:#f7f7fb;--muted:#c0c2d0;--hair:#444859;--accent:#d9f570;--cta:#d9f570;--ctaink:#171826;--accent-soft:#30382b;--accent-ink:#d9f570;--amber:#d9f570;--mint:#19392f;--mint-ink:#a2dfc5;--rose:#422436;--rose-ink:#f6b4cf}
html{scroll-padding-block:20px 130px}body{font-family:Manrope,system-ui,sans-serif;line-height:1.5;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}body h1,body h2,body h3{font-family:Manrope,system-ui,sans-serif;font-weight:800;letter-spacing:-.045em}body h1{font-size:clamp(27px,7vw,34px);line-height:1.13;margin:14px 0 12px}h2{line-height:1.2}button,input,select,textarea{font-family:inherit}a,button{touch-action:manipulation}button{transition:background-color .16s,border-color .16s,transform .16s}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button:not(:disabled):active{transform:translateY(1px)}body [hidden]{display:none!important}
.shell{max-width:560px;min-height:100dvh;background:var(--bg)}.shell>header{padding:calc(18px + env(safe-area-inset-top)) 20px 15px;background:var(--bg);border:0}.brand{font-size:21px;gap:8px;letter-spacing:-.7px}.brand-mark{width:30px;height:30px;line-height:27px;font-size:26px;border-radius:10px;background:#6d4bff;color:#fff;font-weight:800}.brand-mark>span{display:none}.brand small{font-size:9px;letter-spacing:.15px;margin-top:0}.icon-btn{width:42px;height:42px;min-height:42px;border:1px solid var(--hair);background:var(--card);color:var(--ink)}main{padding:15px 20px calc(106px + env(safe-area-inset-bottom));animation:none}.eyebrow{font-size:10px;letter-spacing:1.1px;color:var(--accent-ink);font-weight:800}.lead{font-size:14px;line-height:1.55;color:var(--muted);margin:0 0 18px}.help-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.help-row a{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--muted);text-decoration:none;min-height:30px}.help-row a .ui-icon{width:15px;height:15px}.studio-intro h1{font-size:30px;line-height:1.12;margin:0 0 11px}.studio-intro .lead{font-size:13px;margin:0 0 18px}.studio-intro h1 span{color:inherit}
/* П’ять форматів на першому екрані, однаково помітні назви й ціни. */
.pop-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.service-list.pop-products .service{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;position:relative;gap:0;padding:10px;min-height:180px;margin:0;border:1px solid transparent;border-radius:23px;background:#eae4ff;color:#171826;box-shadow:none;overflow:hidden;text-align:left}.service-list.pop-products .service[data-start=image]{background:#d9f570}.service-list.pop-products .service[data-start=stickers]{background:#ffc4b5}.service-list.pop-products .service[data-start=tale]{background:#c9ecff}.service-list.pop-products .service .art{position:static;display:block;width:100%;height:87px;margin:0 0 10px;background:transparent;border-radius:14px;overflow:hidden}.service-list.pop-products .service .art img{display:block;position:static;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center;border:0;border-radius:0;transform:none}.service-list.pop-products .service[data-start=song] .art img,.service-list.pop-products .service[data-start=tale] .art img{object-fit:cover}.service-list.pop-products .service h2{font-size:16px;line-height:1.2;margin:0 0 6px;letter-spacing:-.5px}.service-list.pop-products .service p{display:none}.service-list.pop-products .service .price{display:block;font-size:10.5px;line-height:1.45;font-weight:500;color:#353348;padding-right:23px;max-width:100%;margin:0}.pop-product-arrow{display:grid;place-items:center;position:absolute;right:10px;bottom:12px;background:#ffffffa6;border-radius:50%;width:24px;height:24px;min-height:0;color:#353348;font-size:16px}.service-list.pop-products .service[data-start=video_greeting]{grid-column:1/-1;display:grid;grid-template-columns:77px minmax(0,1fr);align-items:center;gap:12px;min-height:82px;background:#e6ddff;padding:10px}.service-list.pop-products .service[data-start=video_greeting] .art{width:77px;height:60px;margin:0}.service-list.pop-products .service[data-start=video_greeting] .service-copy{padding-right:24px}.service-list.pop-products .service[data-start=video_greeting] h2{font-size:16px}.service-list.pop-products .service[data-start=video_greeting] .price{padding:0}.service-list.pop-products .service:hover{border-color:var(--accent)}[data-theme=dark] .pop-products .service{background:#29283c;color:var(--ink);border-color:var(--hair)}[data-theme=dark] .pop-products .service[data-start=image]{background:#26372d}[data-theme=dark] .pop-products .service[data-start=stickers]{background:#3b2b39}[data-theme=dark] .pop-products .service[data-start=tale]{background:#243743}[data-theme=dark] .pop-products .service[data-start=video_greeting]{background:#302a45}[data-theme=dark] .pop-products .service .price{color:var(--muted)}[data-theme=dark] .pop-product-arrow{background:#d9f570;color:#171826}.resume-draft{display:flex;align-items:center;flex-direction:row;gap:10px;padding:11px 12px;border:0;background:var(--accent-soft);margin:0 0 14px;border-radius:15px;text-align:left}.resume-draft>span:nth-child(2){flex:1}.resume-draft strong{font-size:12px;display:block;color:var(--accent-ink)}.resume-draft small{display:block;font-size:10px;margin-top:3px;color:var(--muted)}.resume-draft>.ui-icon{color:var(--accent-ink);width:19px;height:19px}.ui-draft-chip{display:inline-block;font-size:9px;line-height:1.25;margin-top:6px;padding:3px 5px;background:#fff8;color:#171826}.pop-products .service:has(.ui-draft-chip){min-height:200px}.pop-products .service[data-start=video_greeting]:has(.ui-draft-chip){min-height:100px}.pop-how{border:1px solid var(--hair);background:var(--card);border-radius:18px;margin:18px 0 0;padding:0 14px}.pop-how>summary{list-style:none;min-height:48px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:700;cursor:pointer}.pop-how>summary::-webkit-details-marker{display:none}.pop-how .tabs{margin-top:10px}.pop-how .how p{font-size:12px}.pop-how .note{font-size:11px}
/* Спокійна сітка та виразний вибір у всіх чинних анкетах. */
.primary,.sticker-primary{background:var(--cta);color:var(--ctaink);border:1px solid var(--cta);border-radius:14px;box-shadow:none;min-height:50px;font-size:14px;font-weight:800;display:flex;justify-content:center;align-items:center;gap:7px}.primary:not(:disabled):hover,.sticker-primary:not(:disabled):hover{background:var(--cta);filter:brightness(.95)}.secondary,.sticker-secondary{background:var(--card);color:var(--ink);border:1px solid var(--hair);border-radius:13px;min-height:46px;box-shadow:none;font-size:13px;font-weight:700}.back,.greeting-stephead .back{border:1px solid var(--hair);background:var(--card);color:var(--ink);min-height:44px;padding:9px 13px;border-radius:12px;font-size:12px;font-weight:800}.stephead,.greeting-stephead{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.stephead>span,.greeting-stephead>span{font-size:10px;color:var(--muted)}.ui-wizard-home{color:var(--accent-ink);font-size:11px;min-height:44px}.progress,.greeting-progress{height:4px;border-radius:4px;background:var(--hair);margin:10px 0 19px}.progress i,.greeting-progress i{background:var(--cta)}.choice,.photo-wizard .choice,.sticker-choice{border-radius:16px;background:var(--card);border-color:var(--hair);box-shadow:none}.choice.selected,.photo-wizard .choice.selected,.sticker-choice.selected{border-color:var(--cta);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--cta)}.choice-title{font-size:14px}.choice small{font-size:12px}.choices{gap:10px}.ui-choice-arrow{color:var(--accent-ink)}.choice.selected>.ui-choice-arrow{color:var(--ctaink);background:var(--cta)}input,select,textarea{background:var(--card);color:var(--ink);border:1px solid var(--hair);border-radius:13px;min-height:48px;font-size:16px}textarea{line-height:1.6;resize:vertical}label{font-size:13px;font-weight:700}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.85}.note,.counter,.sticker-note{font-size:12px;color:var(--muted);line-height:1.6}.review,.result,.account-card,.order-card,.empty{border-radius:20px;background:var(--card);border-color:var(--hair);box-shadow:none}.wizard-hero{height:112px;border-radius:18px;background:var(--elev)}.wizard-hero img{object-fit:contain}.ui-writing-guide,.ui-photo-guide{border-radius:16px;background:var(--accent-soft);border:0}.ui-writing-guide strong,.ui-photo-guide strong{font-size:13px}.ui-writing-guide li{font-size:12px}.ui-journey{font-size:11px;margin:12px 0 16px}.ui-auto-note{font-size:11px;color:var(--accent-ink)}.pill,.chip{border-radius:999px;min-height:38px;font-size:12px}.pill.selected,.chip.selected{background:var(--cta);color:var(--ctaink);border-color:var(--cta)}.ui-upload{border-radius:15px}.photo-file,.sticker-upload{border-radius:15px}.photo-person,.sticker-agreement,.photo-child-agreement,.photo-advanced{border-radius:16px}.photo-scene{border-radius:17px;overflow:hidden}.photo-scene img{object-fit:cover}.photo-scene.selected{border-color:var(--cta)}.photo-package-grid .choice{border-radius:16px}.sticker-style-grid img{object-fit:contain}.sticker-caption-fold{border-radius:15px}.sticker-caption-fold>summary{min-height:68px}.sticker-caption-fold>summary strong{font-size:13px}.sticker-caption-fold>summary small{font-size:11px}.sticker-proof-grid{gap:9px}.sticker-proof-item{border-radius:16px}
/* Далі завжди під рукою; верхня кнопка повернення не конкурує з оплатою. */
body[data-studio-page=wizard] .shell>nav{display:none}body[data-studio-page=wizard] main{padding-bottom:calc(116px + env(safe-area-inset-bottom))}.ui-footer-actions{position:fixed;z-index:30;bottom:0;left:50%;transform:translateX(-50%);width:min(560px,100%);padding:12px 20px calc(12px + env(safe-area-inset-bottom));margin:0;background:var(--bg);border-top:1px solid var(--hair)}.ui-footer-actions>.back{display:none}.ui-footer-actions .primary{margin:0!important;width:100%}.ui-footer-actions #next{position:static;transform:none;box-shadow:none;min-height:50px}.ui-footer-actions:has(button:disabled){backdrop-filter:none}
.shell>nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(560px,100%);background:var(--card);border-top:1px solid var(--hair);padding:9px 12px calc(8px + env(safe-area-inset-bottom));z-index:35}.shell>nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:48px;color:var(--muted);font-size:11px;border-radius:12px}.shell>nav button.active,.shell>nav button.active span{color:var(--accent-ink)}.shell>nav span{font-size:10px}.shell>nav .ui-icon{width:21px;height:21px}.wallet-card{background:var(--cta);color:var(--ctaink);border:0}.wallet-card .eyebrow,.wallet-card .muted{color:inherit;opacity:.9}.wallet-card .big{font-size:36px;letter-spacing:-1px}.wallet-card .credit-line{border-color:currentColor}.wallet-card .primary{background:#fff;color:#482ca7;border-color:#fff}.wallet-card .secondary{background:transparent;color:inherit;border-color:currentColor}.profile-categories button{border-radius:14px;background:var(--elev);color:var(--ink)}.gallery-grid{gap:12px}.gallery-grid .order-card{border-radius:18px}.gallery-grid .gallery-thumb{aspect-ratio:4/3;object-fit:cover}.gallery-grid h3{font-size:15px}.empty{padding:24px 18px;text-align:center}.empty::before{content:'';display:block;height:110px;background:url('/img/pop-studio/brand.webp') center/cover no-repeat;border-radius:15px;margin:0 0 20px}.loading{color:var(--muted)}.image-viewer .primary{background:#6d4bff;color:white}.miniapp-payment{background:var(--bg);color:var(--ink);border-radius:24px}.miniapp-payment-stage{color-scheme:light}.miniapp-payment .miniapp-payment-head{background:var(--bg)}
/* Святкова атмосфера в межах тієї самої студії. */
/* Світла палітра майстра відеопривітань — лише для світлої теми (29.11: у темній білі картки з білим текстом, «299 ₴» не видно). :where() не змінює специфічність. */
:where(:root:not([data-theme=dark])) body:has(.greeting-wizard){--accent:#6d4bff;--cta:#6d4bff;--ctaink:#fff;--bg:#f7f7fb;--card:#fff;--ink:#171826;--muted:#5c5c70;--hair:#d9d8e8;--elev:#f0eeff;background:var(--bg);color:var(--ink)}:where(:root:not([data-theme=dark])) body:has(.greeting-wizard) header{background:var(--bg);border:0}:where(:root:not([data-theme=dark])) body:has(.greeting-wizard) .brand{color:var(--ink)}:where(:root:not([data-theme=dark])) body:has(.greeting-wizard) .brand-mark{background:#6d4bff;color:#fff}:where(:root:not([data-theme=dark])) .greeting-wizard{min-height:0;padding:0;--g-cream:#fff;--g-gold:#6d4bff}:where(:root:not([data-theme=dark])) .greeting-wizard h1{font-family:Manrope,system-ui,sans-serif;line-height:1.13;letter-spacing:-.045em}:where(:root:not([data-theme=dark])) .greeting-eyebrow{color:#482ca7;letter-spacing:1px;font-size:10px}:where(:root:not([data-theme=dark])) .greeting-lead,:where(:root:not([data-theme=dark])) .greeting-note{color:#5c5c70;font-size:13px}:where(:root:not([data-theme=dark])) .greeting-choice{background:#fff;color:#171826;border:1px solid #d9d8e8;box-shadow:none;border-radius:16px}:where(:root:not([data-theme=dark])) .greeting-choice.selected{background:#f0ebff;color:#171826;border-color:#6d4bff;box-shadow:inset 0 0 0 1px #6d4bff}:where(:root:not([data-theme=dark])) .greeting-choice:hover{background:#f0ebff}:where(:root:not([data-theme=dark])) .greeting-choice:focus-visible,:where(:root:not([data-theme=dark])) .greeting-wizard button:focus-visible{outline-color:#6d4bff}:where(:root:not([data-theme=dark])) .greeting-event-grid small,:where(:root:not([data-theme=dark])) .greeting-variant>button span{color:#5c5c70}:where(:root:not([data-theme=dark])) .greeting-hero-art{background:#f0ebff;border-radius:13px;overflow:hidden}:where(:root:not([data-theme=dark])) .greeting-event-grid .greeting-choice{padding:9px 9px 15px}:where(:root:not([data-theme=dark])) .greeting-event-grid .greeting-hero-art{height:110px}:where(:root:not([data-theme=dark])) .greeting-event-grid .greeting-hero-art img{object-fit:contain}:where(:root:not([data-theme=dark])) .greeting-price-strip{color:#5c5c70;border-color:#d9d8e8;background:#fff;border-radius:16px;padding:14px;margin-top:16px;border:1px solid #d9d8e8}:where(:root:not([data-theme=dark])) .greeting-price-strip b{color:#171826;font-size:17px}:where(:root:not([data-theme=dark])) .greeting-info,:where(:root:not([data-theme=dark])) .greeting-permission,:where(:root:not([data-theme=dark])) .greeting-summary,:where(:root:not([data-theme=dark])) .greeting-pack{background:#fff;color:#171826;border-color:#d9d8e8}:where(:root:not([data-theme=dark])) .greeting-permission{font-size:12px}:where(:root:not([data-theme=dark])) .greeting-info a,:where(:root:not([data-theme=dark])) .greeting-note a{color:#482ca7}:where(:root:not([data-theme=dark])) .greeting-pack.selected{background:#f0ebff;border-color:#6d4bff}:where(:root:not([data-theme=dark])) .greeting-pack strong{color:#171826}:where(:root:not([data-theme=dark])) .greeting-photo{background:#fff;border-color:#d9d8e8;color:#171826}:where(:root:not([data-theme=dark])) .greeting-photo p,:where(:root:not([data-theme=dark])) .greeting-photo small,:where(:root:not([data-theme=dark])) .greeting-photo strong{color:#5c5c70}:where(:root:not([data-theme=dark])) .greeting-upload{background:#f0ebff;color:#482ca7;min-height:40px}:where(:root:not([data-theme=dark])) .greeting-reuse{color:#482ca7}:where(:root:not([data-theme=dark])) .greeting-coming{border-color:#b5adc8;color:#171826}:where(:root:not([data-theme=dark])) .greeting-coming small{color:#5c5c70}:where(:root:not([data-theme=dark])) .greeting-variant{background:#fff;color:#171826;border:1px solid #d9d8e8;border-radius:16px}:where(:root:not([data-theme=dark])) .greeting-decor{opacity:.25}:where(:root:not([data-theme=dark])) .greeting-lights{border-top:0}:where(:root:not([data-theme=dark])) .greeting-lights i{background:#d9f570;box-shadow:none}:where(:root:not([data-theme=dark])) .greeting-decor>b{color:#b9b2d5}:where(:root:not([data-theme=dark])) .greeting-stage .spinner{border-color:#d9d8e8;border-top-color:#6d4bff}:where(:root:not([data-theme=dark])) .greeting-result .badge{background:#e6f4ed;color:#1c633d}:where(:root:not([data-theme=dark])) .greeting-scroll{scrollbar-color:#d9d8e8 transparent}:where(:root:not([data-theme=dark])) .greeting-demo{background:#fff;color:#171826}:where(:root:not([data-theme=dark])) .greeting-demo .primary{background:#6d4bff;color:white}:where(:root:not([data-theme=dark])) .greeting-demo .secondary{color:#171826;border-color:#d9d8e8}
@media(min-width:700px){.shell{max-width:680px}.shell>nav,.ui-footer-actions{width:680px}main{padding-inline:30px}.shell>header{padding-inline:30px}.studio-intro h1{font-size:38px}.service-list.pop-products .service{min-height:228px;padding:14px}.service-list.pop-products .service .art{height:135px}.service-list.pop-products .service h2{font-size:20px}.service-list.pop-products .service .price{font-size:12px}.service-list.pop-products .service[data-start=video_greeting]{min-height:94px}.ui-footer-actions{padding-inline:30px}.greeting-wizard .greeting-hero-art{height:150px}.greeting-person-grid .ui-person-art{height:140px}}
@media(max-width:360px){main{padding-inline:15px}.shell>header{padding-inline:15px}.studio-intro h1{font-size:28px}.service-list.pop-products .service{padding:9px;min-height:165px}.service-list.pop-products .service .art{height:74px}.service-list.pop-products .service h2{font-size:15px}.service-list.pop-products .service .price{font-size:10px}.service-list.pop-products .service[data-start=video_greeting] h2{font-size:14px}.ui-footer-actions{padding-inline:15px}.greeting-event-grid strong{font-size:13px}.greeting-event-grid .greeting-hero-art{height:88px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.greeting-decor>b{display:none}}
/* На автоматичних кроках не резервуємо місце під відсутню нижню кнопку. */
body[data-studio-page=wizard] main:not(:has(.ui-footer-actions)){padding-bottom:30px}:where(:root:not([data-theme=dark])) .greeting-stephead .ui-wizard-home{color:#482ca7}
/* Компактний профіль: окремі ресурси й прямі переходи замість довгої стрічки. */
.pop-wallet{padding:19px;margin-bottom:12px}.pop-wallet .big{font-size:34px;margin:3px 0 14px}.pop-wallet .primary{min-height:44px;margin:0;font-size:13px}.pop-credit-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}.pop-credit-metrics>div{display:flex;flex-direction:column;gap:5px;align-items:center;background:var(--card);border:1px solid var(--hair);border-radius:15px;padding:12px 4px}.pop-credit-metrics strong{font-size:22px}.pop-credit-metrics span{font-size:10px;color:var(--muted);text-align:center}.pop-profile-menu{background:var(--card);border:1px solid var(--hair);border-radius:19px;padding:3px 15px}.pop-profile-link,.pop-profile-menu>details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 0;margin:0;width:100%;font-size:13px;font-weight:600;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--hair);border-radius:0;color:var(--ink);cursor:pointer;list-style:none}.pop-profile-menu>details:last-child>summary{border-bottom:0}.pop-profile-menu summary::-webkit-details-marker{display:none}.pop-profile-link>span,.pop-profile-menu summary>span{color:var(--accent-ink);font-size:12px}.pop-profile-menu .profile-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.pop-profile-menu .profile-categories button{min-height:66px;padding:10px;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.pop-profile-menu .profile-categories strong{font-size:12px;word-break:normal}.pop-profile-menu .profile-categories span{font-size:20px}.pop-profile-menu .secondary{font-size:12px}.pop-profile-support{display:flex;align-items:center;justify-content:space-between;min-height:46px;font-size:13px;font-weight:700;text-decoration:none;margin-top:9px;color:var(--accent-ink)}.pop-profile-legal{font-size:10px;margin:9px 0}.pop-profile-logout{background:none;border:0;color:var(--muted);padding:5px 0;min-height:34px;font-size:11px;text-decoration:underline}.pop-song-review>div{padding:10px 0}.pop-song-review>div small{font-size:11px;margin-bottom:4px}.pop-review-details{border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);font-size:13px}.pop-review-details summary{min-height:42px;display:flex;align-items:center;color:var(--accent-ink);font-weight:700;cursor:pointer}.pop-review-details>div{padding:10px 0;font-size:13px}.pop-review-details>div:last-child{border:0}.pop-song-review .total{font-size:25px}
