/* Market 2: consistent surfaces, clear checkout and a phone-first catalogue. */
:root{--bg:#f3f6fb;--surface:#fff;--ink:#142139;--muted:#607089;--line:#dce5f0;--accent:#2467ca;--soft:#edf4ff;--action:#2467ca;--radius:24px;--shadow:0 12px 40px #152b4d07}
:root[data-theme="dark"]{--bg:#0d1420;--surface:#151f2f;--ink:#f1f5ff;--muted:#a5b4cb;--line:#2a3850;--accent:#8bb8ff;--soft:#1d2d46;--action:#2467ca;--shadow:0 12px 40px #00000016}
:root[data-accent="violet"]{--accent:#7041c7;--soft:#f1ecff;--action:#7041c7}
:root[data-theme="dark"][data-accent="violet"]{--accent:#c1a4ff;--soft:#2d2347;--action:#7041c7}
:root[data-accent="mint"]{--accent:#087961;--soft:#e5f6f0;--action:#087961}
:root[data-theme="dark"][data-accent="mint"]{--accent:#83d8ba;--soft:#1b3833;--action:#087961}
body{background:var(--bg);letter-spacing:-.015em}
button{transition:background .16s,border-color .16s,transform .16s;min-height:44px}
button:active:not(:disabled){transform:translateY(1px)}
.primary,:root[data-theme="dark"] .primary{background:var(--action);color:#fff;border:1px solid transparent;font-weight:700;border-radius:16px;min-height:54px}
.chip.active,:root[data-theme="dark"] .chip.active{background:var(--action);border-color:var(--action);color:#fff}
.secondary,.small-button{background:var(--surface);border:1px solid var(--line);color:var(--ink)}
.header{max-width:1040px;padding:22px 28px 26px;padding-top:max(22px,env(safe-area-inset-top),var(--tg-content-safe-area-inset-top,0px))}
.brand{font-size:23px;gap:11px;letter-spacing:-.8px}
.brand-icon,:root[data-theme="dark"] .brand-icon{background:var(--action);color:#fff;border:1px solid #ffffff20;border-radius:16px;width:44px;height:44px;line-height:42px}
.brand-dot{background:#a8d3ff;width:5px;height:5px;bottom:8px;right:7px}
.brand-sub{font-size:8px;letter-spacing:3.6px;color:var(--muted)}
.header-help,.header-settings{border-radius:15px;background:var(--surface);color:var(--muted);box-shadow:none}
main{max-width:1040px;padding-bottom:calc(126px + env(safe-area-inset-bottom))}
.market-heading{margin:0 0 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.market-heading .eyebrow{font-size:10px;letter-spacing:1.8px;display:block;margin-bottom:8px}
.market-heading h1{font-size:32px;letter-spacing:-1.2px;line-height:1.15;margin:0}
.market-heading p{font-size:13px;color:var(--muted);margin-top:10px}
.market-orders{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.market-feature{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(115deg,#175cc8,#25479f 65%,#303778);border:1px solid #ffffff14;min-height:320px;border-radius:28px;padding:30px;color:#fff;box-shadow:0 12px 32px #0c3e9c15}
.feature-copy{position:relative;z-index:1;max-width:65%;padding-bottom:72px}
.feature-label{display:inline-flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1.5px;font-weight:700;color:#d9e8ff}
.feature-dot{width:6px;height:6px;border-radius:100%;background:#c0e4ff;box-shadow:0 0 0 4px #ffffff12}
.feature-copy h2{white-space:pre-line;font-size:34px;letter-spacing:-1px;line-height:1.16;margin:17px 0 10px}
.feature-copy p{color:#d4e1f8;font-size:13px}
.feature-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;background:#fff;color:#154d9e;border:0;border-radius:14px;padding:12px 17px;margin-top:22px;font-size:13px;font-weight:750}
.feature-cta .icon{width:18px;height:18px}
.feature-art{position:absolute;width:42%;height:250px;right:-5px;top:10px;object-fit:contain;z-index:0;pointer-events:none;filter:drop-shadow(0 18px 24px #09245238)}
.feature-bottom{position:absolute;bottom:22px;left:30px;right:30px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid #ffffff30;padding-top:16px;z-index:1;font-size:13px}
.feature-bottom strong{font-size:21px;letter-spacing:-.5px}
.feature-caption{margin-left:auto;font-size:11px;color:#d1ddf4}
.market-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 24px}
.market-shortcuts button{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:18px;padding:16px;background:var(--surface);text-align:left;font-size:13px;font-weight:600}
.market-shortcuts button>.icon:first-child{color:var(--accent);padding:9px;background:var(--soft);width:40px;height:40px;border-radius:13px}
.market-shortcuts button>.icon:last-child{margin-left:auto;width:15px;height:15px;color:var(--muted)}
.catalog-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:28px 0 16px}
.catalog-heading h2{font-size:22px;letter-spacing:-.6px}
.catalog-heading .caption{color:var(--muted)}
.search-row{gap:10px}.search-wrap input{border-radius:16px;background:var(--surface);padding-left:44px;border-color:var(--line);height:50px}
.search-wrap>.icon{top:16px;left:16px;width:18px;height:18px}
.sort{background:var(--surface);border:1px solid var(--line);border-radius:16px!important;color:var(--muted)}
.chips{padding-bottom:10px;gap:8px}.chip{border-radius:13px;background:var(--surface);font-size:12px;font-weight:600;border-color:var(--line)}
.section-top{margin:20px 0 15px}.section-top h2{font-size:20px;letter-spacing:-.5px}.catalog-tools{gap:8px}.catalog-tools .small-button{width:38px;min-height:38px;height:38px;border-radius:12px;font-size:20px;background:transparent}
.count{color:var(--muted);background:var(--soft);padding:5px 9px;border-radius:8px;font-size:11px}
.grid{gap:18px}.card{border:1px solid var(--line);border-radius:23px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow);display:flex;flex-direction:column}
.card .cover,:root[data-theme="dark"] .card .cover{height:190px;background:var(--soft);border-bottom:1px solid var(--line);flex-shrink:0}
.card-info{padding:18px;display:flex;flex-direction:column;flex:1;min-width:0}.product-type{font-size:9px;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.product-title{font-size:17px;line-height:1.4;min-height:0;letter-spacing:-.4px}.summary{font-size:12px;color:var(--muted);line-height:1.6;min-height:0;margin:8px 0 2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-bottom{margin-top:auto;padding-top:18px;display:block}.price-button,.card .small-button{display:flex;width:100%;align-items:center;justify-content:space-between;background:var(--soft);border:1px solid transparent;color:var(--accent);padding:12px;border-radius:13px;font-size:17px;font-weight:750;letter-spacing:-.4px;min-height:46px}
.price-button .icon{width:18px;height:18px}.save{border-radius:13px;border-color:var(--line);background:var(--surface);width:38px;height:38px;min-height:38px;font-size:22px}
.panel,.record{background:var(--surface);border:1px solid var(--line);border-radius:23px;box-shadow:var(--shadow)}
.notice{background:var(--soft);color:var(--muted);border:1px solid var(--line);border-radius:14px;font-size:12px}
.bottom-nav{background:var(--surface);border:1px solid var(--line);box-shadow:0 10px 40px #00000020;border-radius:23px;bottom:12px;padding:6px;width:min(calc(100% - 24px),580px)}
.bottom-nav button{color:var(--muted);border-radius:17px;min-height:58px;font-weight:600;gap:6px;font-size:10px}.bottom-nav button.active{color:var(--accent);background:var(--soft)}.bottom-nav .icon{width:21px;height:21px}
.compact{max-width:660px;margin:0 auto}.stars-hero,:root[data-theme="dark"] .stars-hero{background:var(--surface);border-radius:24px;border-color:var(--line);padding:24px;box-shadow:var(--shadow)}
.stars-hero h1{font-size:29px;letter-spacing:-.9px}.stars-hero p{font-size:12px}.stars-hero-art{width:116px;height:114px}
.checkout-steps,.order-timeline{list-style:none;padding:0;display:flex;gap:10px;margin:22px 0;counter-reset:none}
.checkout-steps li,.order-timeline li{flex:1;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;font-weight:600;min-width:0}
.checkout-steps li>span,.order-timeline li>span{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border:1px solid var(--line);background:var(--surface);border-radius:10px;color:var(--muted);font-size:11px}
.checkout-steps .current{color:var(--accent)}.checkout-steps .current>span{background:var(--action);color:#fff;border-color:var(--action)}
.checkout-steps .done>span,.order-timeline .done>span{background:var(--soft);color:var(--accent);border-color:var(--line)}
.order-timeline{padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:14px;gap:8px}.order-timeline .done{color:var(--ink)}
.cancelled-label{font-size:12px;color:var(--muted);padding:12px 0}
.field{font-size:12px;color:var(--muted);font-weight:600;margin:20px 0}.field input,.field textarea{color:var(--ink);background:var(--bg);border-color:var(--line);border-radius:15px}.field input[type="number"]{font-size:38px;font-weight:730;letter-spacing:-1.4px;min-height:78px;padding:14px 18px}
.star-capacity{background:var(--soft);border-radius:18px;padding:16px;margin-bottom:24px}.star-capacity strong{font-size:24px}.star-capacity .small-button{background:var(--surface);font-size:11px;padding:9px 12px}
.package-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.package-row .chip{font-size:13px;border-radius:13px;background:var(--bg)}.package-row .chip.active{background:var(--action);color:#fff}
.stars-price-preview{background:var(--bg);border-radius:18px;padding:18px;border-color:var(--line)}.stars-price-preview .caption{font-size:11px}.price-summary{border-radius:17px}.stars-price-preview .price-summary>div:last-child strong{font-size:28px}
.price-summary>div{font-size:12px}.price-summary>div strong{font-weight:650}.recipient-history .caption{font-size:11px}.recipient-history .chips{gap:8px}
dialog{background:var(--surface);border:1px solid var(--line);box-shadow:0 24px 100px #00000040;border-radius:28px;max-width:590px;width:calc(100% - 24px);padding:28px;max-height:90dvh;overflow-x:hidden;overflow-y:auto}
dialog::backdrop{background:#07101cb3;backdrop-filter:blur(7px)}.close{border-radius:14px;background:var(--surface);box-shadow:0 2px 12px #00000010;margin:-14px -14px 0 0}
dialog h2{font-size:28px;letter-spacing:-.8px;line-height:1.25;margin:12px 0 18px}.product-detail-cover{margin-bottom:20px}.product-detail-cover .cover{height:225px;margin:26px 0 0;border:1px solid var(--line);border-radius:20px;background:var(--soft)}
.detail-type{display:block;font-size:9px;letter-spacing:1.2px}.product-price-block{display:flex;gap:12px;align-items:baseline;padding:0 0 20px;border-bottom:1px solid var(--line);margin-bottom:18px;flex-wrap:wrap}.product-price-block .dialog-price{font-size:32px;letter-spacing:-1px;color:var(--accent)}
.product-description{font-size:14px;color:var(--muted);margin-bottom:20px}.product-disclosure{border:1px solid var(--line);border-radius:15px;padding:16px;margin:14px 0;background:var(--bg)}.product-disclosure summary{cursor:pointer;font-size:13px;font-weight:650}.product-disclosure .text{margin-top:14px;font-size:13px;color:var(--muted);white-space:pre-wrap}.product-disclosure .field{margin:14px 0 0}.product-disclosure input{background:var(--surface)}
.delivery-callout{display:flex;align-items:center;gap:12px;padding:16px;background:var(--soft);border-radius:15px;margin:16px 0}.delivery-callout .icon{color:var(--accent);width:21px;height:21px}.delivery-callout p{font-size:12px;color:var(--muted)}.checkout-note{font-size:12px;color:var(--muted)}.check{line-height:1.6;align-items:flex-start;font-size:12px}.check input{accent-color:var(--action)}
.payment-options{background:var(--bg);border:1px solid var(--line);box-shadow:none;border-radius:19px;padding:20px}.payment-provider-icon{background:var(--soft);border:0}.payment-options .field select{width:100%;background:var(--surface);border-color:var(--line);color:var(--ink);font-size:13px;padding:12px}
.purchase-footer{position:sticky;bottom:-28px;background:var(--surface);border-top:1px solid var(--line);padding:16px 0 20px;margin-top:24px;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:12px;align-items:center;box-shadow:0 -10px 22px var(--surface)}
.footer-price{display:flex;flex-direction:column;gap:4px;min-width:0}.footer-price span{font-size:10px;color:var(--muted)}.footer-price strong{font-size:20px;letter-spacing:-.4px;overflow-wrap:anywhere}.purchase-footer .primary{width:100%;padding:12px;font-size:13px;box-shadow:none;white-space:normal}.footer-question{grid-column:1/-1;border:0;background:transparent;color:var(--muted);font-size:12px;min-height:30px;padding:4px}
.profile-head h1{font-size:29px;letter-spacing:-1px}.stats{gap:10px}.stat{border:1px solid var(--line);background:var(--surface);padding:18px 12px}.stat strong{font-size:27px}.record{padding:20px;margin-bottom:12px}.record-title{font-size:15px}.record .caption{color:var(--muted);margin:12px 0}.record .secondary,.record .small-button{margin:5px 5px 0 0}.status{font-size:10px;border:1px solid var(--line);background:var(--soft);color:var(--accent);white-space:normal}.record .order-timeline{margin:16px 0}
.settings-heading{margin:4px 0 20px}.settings-heading h1{font-size:30px;letter-spacing:-1px}.settings-heading p{font-size:12px}.settings-panel{padding:8px 24px}.setting-row{padding:22px 0}.setting-row:first-child{padding-top:22px}.setting-row h3{font-size:13px}.settings-options{gap:8px}.setting-choice{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:14px;font-size:12px;padding:12px 8px}.setting-choice[aria-pressed="true"]{background:var(--soft);color:var(--accent);border-color:var(--accent);box-shadow:none}.settings-privacy{font-size:11px}
.orders-page .profile-head{margin:6px 0 22px}.orders-page .profile-head .eyebrow{display:block;margin-bottom:8px;font-size:9px;letter-spacing:1.6px}.order-filter{margin-top:24px}.purchase-record-top{display:flex;align-items:center;gap:14px;margin-bottom:16px}.order-thumb{width:66px;height:66px;border-radius:17px;overflow:hidden;flex-shrink:0;background:var(--soft);display:grid;place-items:center;color:var(--accent);border:1px solid var(--line)}.order-thumb img{width:100%;height:100%;object-fit:cover}.order-thumb .icon{width:28px;height:28px}.purchase-record-copy{min-width:0;flex:1}.purchase-record-copy>.caption{display:block;margin:0 0 5px;font-size:10px}.purchase-record-copy h3{margin:0;line-height:1.5;font-size:15px}.order-amount{font-size:14px;display:block;margin-top:5px;color:var(--accent)}.record-actions{display:flex;flex-wrap:wrap;gap:8px}.record-actions>.small-button{background:var(--soft);color:var(--accent);border-color:transparent}.record-actions button{margin:0!important;flex:1;font-size:12px;min-width:100px}
.payment-choice-label{margin:18px 0 10px;font-size:11px}.gateway-choices{display:grid;grid-template-columns:1fr;gap:8px}.gateway-choice{display:flex;align-items:flex-start;gap:10px;text-align:left;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink)}.gateway-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.gateway-copy strong{font-size:13px}.gateway-copy small{font-size:10px;color:var(--muted)}.gateway-fee{font-size:11px;color:var(--muted);margin-top:3px}.choice-check{display:grid;place-items:center;flex-shrink:0;border:1px solid var(--line);border-radius:50%;width:20px;height:20px;font-size:11px;color:transparent;margin-top:1px}.gateway-choice[aria-pressed="true"]{background:var(--soft);border-color:var(--accent)}.gateway-choice[aria-pressed="true"] .choice-check{background:var(--action);color:#fff;border-color:var(--action)}.gateway-choice[aria-pressed="true"] .gateway-fee{color:var(--accent)}.currency-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.currency-choice{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:13px 5px;min-width:0}.currency-choice strong{font-size:14px}.currency-choice small{font-size:10px;color:var(--muted)}.currency-choice[aria-pressed="true"]{background:var(--soft);border-color:var(--accent);color:var(--accent)}.payment-choice-note{margin-top:14px;font-size:11px;line-height:1.7}
.accent-swatch{width:16px;height:16px;border-radius:50%;display:block;flex-shrink:0;box-shadow:inset 0 0 0 1px #ffffff20}.accent-swatch.ocean{background:#4389ee}.accent-swatch.violet{background:#9468ec}.accent-swatch.mint{background:#35b995}.theme-swatch{width:18px;height:18px;border-radius:6px;border:1px solid #8996ac;flex-shrink:0}.theme-swatch.light{background:#f6f8ff}.theme-swatch.dark{background:#111b2b}.theme-swatch.auto{background:linear-gradient(90deg,#f6f8ff 50%,#111b2b 50%)}
.appearance-preview{position:sticky;top:12px;z-index:2;box-shadow:0 10px 25px #00000012;background:var(--surface);padding:18px;border-radius:20px;gap:13px;margin:0 0 18px}.appearance-preview>div{flex:1;min-width:0}.appearance-preview .eyebrow{display:block;font-size:8px;margin-bottom:5px}.appearance-preview strong{font-size:14px;display:block}.appearance-preview p{font-size:11px}.preview-symbol{width:42px;height:42px;border-radius:13px;background:var(--soft);color:var(--accent);font-size:27px}.preview-button{background:var(--action);color:#fff;border-radius:10px;padding:10px 12px;font-size:11px;font-weight:700;white-space:nowrap}
.empty{background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:40px 24px}.empty h3{font-size:20px;letter-spacing:-.5px}.empty p{font-size:13px;color:var(--muted)}.empty .banner-star{font-size:40px;color:var(--accent)}
.loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:100px;color:var(--muted);font-size:13px}.skeleton-preview{display:grid;grid-template-columns:1fr 1fr;gap:16px}.skeleton-preview>div{background:var(--soft);border:1px solid var(--line);border-radius:24px;height:200px;animation:skeleton-pulse 1.5s ease-in-out infinite}.skeleton-preview>div:first-child{grid-column:1/-1;height:260px}
@keyframes skeleton-pulse{50%{opacity:.45}}
@media(hover:hover){.card:hover{border-color:var(--accent);box-shadow:var(--shadow)}.market-shortcuts button:hover{border-color:var(--accent)}.feature-cta:hover{background:#e8f1ff}}
@media(max-width:650px){
 .header{padding:18px 18px 23px;padding-top:max(18px,env(safe-area-inset-top),var(--tg-content-safe-area-inset-top,0px))}.brand{font-size:21px}.header-help{width:44px;padding:10px;font-size:0}.header-help .icon{display:block;width:20px;height:20px}.header-settings{width:44px}
 .market-heading{margin-bottom:20px}.market-heading h1{font-size:27px;letter-spacing:-1px}.market-heading p{font-size:12px;margin-top:8px}.market-orders{width:44px;height:44px}.market-heading .eyebrow{font-size:9px}
 .market-feature{padding:24px;min-height:300px;border-radius:25px}.feature-copy{max-width:78%;padding-bottom:64px}.feature-copy h2{font-size:28px;margin-top:16px}.feature-copy p{font-size:12px;max-width:200px}.feature-label{font-size:9px;letter-spacing:1.1px}.feature-art{width:185px;height:180px;right:-42px;top:40px;opacity:.8}.feature-cta{margin-top:20px;padding:11px 14px;gap:18px;font-size:12px}.feature-bottom{left:24px;right:24px;bottom:20px;gap:10px;font-size:11px}.feature-bottom strong{font-size:19px}.feature-caption{font-size:10px}
 .market-shortcuts{gap:9px;margin:12px 0 20px}.market-shortcuts button{flex-direction:column;justify-content:center;gap:8px;text-align:center;font-size:11px;padding:13px 6px;border-radius:17px}.market-shortcuts button>.icon:first-child{width:36px;height:36px;padding:8px;border-radius:12px}.market-shortcuts button>.icon:last-child{display:none}
 .catalog-heading{margin-top:23px}.catalog-heading h2{font-size:20px}.catalog-heading .caption{font-size:10px}.grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.card{border-radius:20px}.card .cover,:root[data-theme="dark"] .card .cover{height:148px}.card-info{padding:13px}.product-title{font-size:14px;line-height:1.45}.summary{font-size:11px;margin-top:7px}.product-type{font-size:8px;letter-spacing:.4px}.card-bottom{padding-top:14px}.card-bottom .small-button{font-size:16px;padding:10px;min-height:44px}.card-bottom .icon{width:16px;height:16px}.save{width:34px;height:34px;min-height:34px;border-radius:11px;top:8px;right:8px}
 .panel{padding:20px}.stars-hero,:root[data-theme="dark"] .stars-hero{padding:20px}.stars-hero h1{font-size:26px}.stars-hero-art{width:88px;height:100px}.checkout-steps{gap:7px;margin:18px 0}.checkout-steps li{font-size:10px;gap:6px}.checkout-steps li>span{width:26px;height:26px;border-radius:9px}.star-capacity{gap:8px;padding:14px}.star-capacity>div{min-width:120px}.star-capacity strong{font-size:22px}.field input[type="number"]{font-size:35px;min-height:74px}
 dialog{padding:22px;border-radius:26px;max-height:92dvh}.close{margin:-9px -9px 0 0}dialog h2{font-size:26px}.product-detail-cover .cover{height:195px}.purchase-footer{bottom:-22px;padding-bottom:16px;gap:10px}.footer-price strong{font-size:19px}.purchase-footer .primary{font-size:12px;padding:11px}.payment-options{padding:17px}.order-timeline{padding:13px}.order-timeline li{font-size:10px;gap:6px}.order-timeline li>span{width:24px;height:24px;border-radius:8px}
 .settings-panel{padding:4px 18px}.setting-row{padding:20px 0}.setting-row:first-child{padding-top:20px}.appearance-preview{top:6px;padding:15px;gap:10px}.appearance-preview p{font-size:10px}.preview-button{padding:9px;font-size:10px}.preview-symbol{width:36px;height:36px;font-size:23px}.setting-choice{font-size:11px;gap:6px}.settings-heading h1{font-size:28px}.bottom-nav{bottom:8px}.bottom-nav button{min-height:56px;font-size:9px}
}
@media(max-width:360px){main{padding-left:14px;padding-right:14px}.header{padding-left:14px;padding-right:14px}.market-heading h1{font-size:24px}.feature-copy h2{font-size:25px}.feature-copy{max-width:90%}.feature-art{opacity:.35;right:-62px}.feature-caption{display:none}.card .cover,:root[data-theme="dark"] .card .cover{height:125px}.card-info{padding:11px}.card-bottom .small-button{font-size:14px}.settings-options{gap:6px}.setting-choice{flex-basis:85px}.preview-button{display:none}.checkout-steps li{font-size:9px}.product-price-block .dialog-price{font-size:29px}.footer-price strong{font-size:17px}}
:root[data-layout="list"] .card{display:grid;grid-template-columns:140px 1fr}:root[data-layout="list"] .card .cover{height:100%;min-height:170px}:root[data-layout="list"] .card-bottom{margin-top:0}
:root[data-density="compact"] .card .cover{height:130px}:root[data-density="compact"] .card-info{padding:12px}
:root[data-artwork="quiet"] .feature-art{display:none}:root[data-artwork="quiet"] .feature-copy{max-width:100%}:root[data-artwork="quiet"] .card .cover:has([data-decoration]){height:50px;min-height:50px}
:root[data-text="large"] .product-title{font-size:19px}:root[data-text="large"] .summary,:root[data-text="large"] .text{font-size:16px}:root[data-text="large"] .setting-choice{font-size:14px}:root[data-text="large"] .appearance-preview strong{font-size:18px}:root[data-text="large"] .appearance-preview p{font-size:14px}:root[data-text="large"] .grid{grid-template-columns:1fr}
:root[data-contrast="high"]{--line:#8696b0;--muted:#3d4c65}:root[data-theme="dark"][data-contrast="high"]{--line:#7286a7;--muted:#cfdaed}
:root[data-motion="reduced"] *, :root[data-motion="reduced"] *::before{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*,*::before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:650px){:root[data-layout="list"] .card{grid-template-columns:110px 1fr}:root[data-layout="list"] .card .cover{min-height:150px}:root[data-density="compact"] .card .cover{height:115px}}

/* Market Plus: useful controls, calm surfaces and clear purchasing states. */
.market-feature{background:linear-gradient(125deg,#164da5 0%,#2756b5 54%,#393e85 100%);min-height:252px;box-shadow:0 18px 44px #17336d1a}
.feature-copy h2{font-size:37px;letter-spacing:-1.4px}.feature-copy{padding-bottom:55px}.feature-art{width:235px;height:220px;top:12px}.feature-cta{border:1px solid #ffffff50;box-shadow:0 5px 16px #091e3e12}
.continue-card{display:flex;align-items:center;gap:12px;padding:15px 17px;background:var(--surface);border:1px solid var(--line);border-radius:19px;margin:14px 0}.continue-card>div{flex:1;min-width:0}.continue-card strong{font-size:13px}.continue-card p{font-size:11px;color:var(--muted);margin-top:4px}.continue-card .small-button{width:auto;white-space:nowrap;background:var(--soft);color:var(--accent);padding:10px 12px;font-size:11px}.continue-icon{display:grid;place-items:center;width:36px;height:40px;color:var(--accent);background:var(--soft);border-radius:12px;flex-shrink:0}
.clear-search{position:absolute;right:7px;top:7px;min-height:36px;width:36px;background:var(--soft);border:0;border-radius:11px;font-size:23px;color:var(--muted)}.clear-search[hidden],.filter-reset[hidden]{display:none}.search-wrap:has(.clear-search:not([hidden])) input{padding-right:48px}
.category-chips .chip{display:flex;align-items:center;gap:8px}.category-count{font-size:10px;opacity:.7}.catalog-filters,.budget-tool{background:var(--surface);border:1px solid var(--line);border-radius:16px;margin:8px 0 16px;padding:13px 15px}.catalog-filters summary,.budget-tool summary{display:flex;align-items:center;gap:9px;cursor:pointer;font-size:12px;font-weight:650;list-style:none}.catalog-filters summary>.caption,.budget-tool summary>.caption{margin-left:auto;font-size:10px;font-weight:400}.catalog-filters summary .icon,.budget-tool summary .icon{width:18px;height:18px;color:var(--accent)}.catalog-filters[open] summary,.budget-tool[open] summary{margin-bottom:16px}.filter-fields{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.filter-fields .field{margin:0;flex:1;min-width:125px}.filter-fields input[type=number]{font-size:16px;min-height:44px;padding:10px;letter-spacing:0}.priced-toggle{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--ink);flex:1;min-width:125px}.priced-toggle input{min-height:20px;width:20px;height:20px;accent-color:var(--action);flex-shrink:0}.catalog-filters>p{margin-top:13px;font-size:10px}.filter-reset{background:none;border:0;font-size:10px;color:var(--accent);padding:5px;min-height:36px}.catalog-tools{flex-wrap:wrap;justify-content:flex-end}
.card .cover{position:relative}.cover-open{position:absolute;inset:0;border:0;border-radius:inherit;background:transparent;z-index:1;min-height:0}.card .save{z-index:3}.cover-open:focus-visible{outline-offset:-4px}.purchase-badge{display:inline-flex;align-self:flex-start;color:var(--muted);font-size:9px;line-height:1.4;margin:0 0 9px}.purchase-badge:before{content:'';width:5px;height:5px;background:var(--accent);border-radius:50%;align-self:center;margin-right:6px}.card .price-button{color:var(--accent)}
.quantity-control{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:9px;margin-top:9px}.quantity-control input[type=number]{text-align:center;margin:0;appearance:textfield;-moz-appearance:textfield}.quantity-control input::-webkit-inner-spin-button{appearance:none}.quantity-step{width:44px;height:48px;border:1px solid var(--line);background:var(--soft);color:var(--accent);border-radius:14px;font-size:26px;line-height:1}.package-row .chip{display:flex;flex-direction:column;gap:6px;align-items:center;padding:12px 6px;min-height:64px}.package-row .chip strong{font-size:14px}.package-row .chip small{font-size:10px;color:var(--muted);font-weight:400}.package-row .chip.active small{color:#eaf2ff}.budget-tool{background:var(--bg);margin:16px 0}.budget-input-row{display:flex;gap:8px;margin:14px 0 10px}.budget-input-row input{min-width:0;min-height:46px!important;font-size:17px!important;letter-spacing:0!important;padding:12px!important}.budget-input-row .small-button{width:auto;white-space:nowrap;background:var(--soft);color:var(--accent);font-size:11px}.budget-tool>p{font-size:11px;line-height:1.7}
.purchase-search{margin:18px 0 12px}.purchase-search input{font-size:13px}.purchase-states{padding-bottom:10px}.purchase-states .chip{font-size:11px;padding:10px 12px}.orders-content .empty{margin-top:18px}.section-top h2{white-space:nowrap}
@media(max-width:650px){.market-feature{min-height:265px;padding:23px}.feature-copy h2{font-size:29px;letter-spacing:-1px}.feature-copy p{max-width:175px;font-size:11px}.feature-copy{padding-bottom:50px;max-width:84%}.feature-art{width:160px;height:170px;right:-37px;top:35px}.feature-cta{margin-top:16px;padding:11px 14px}.feature-bottom{left:23px;right:23px;bottom:17px}.market-heading{margin-bottom:16px}.market-shortcuts{margin-bottom:17px}.catalog-heading{margin-top:20px}.continue-card{padding:13px;gap:9px}.continue-card strong{font-size:12px}.continue-card p{font-size:10px}.continue-card .small-button{font-size:10px;padding:8px}.continue-icon{display:none}.section-top{gap:7px}.section-top h2{font-size:18px}.catalog-tools{gap:5px}.catalog-tools .filter-reset{font-size:9px;max-width:65px;line-height:1.3}.catalog-tools .count{font-size:10px;padding:5px 6px}.catalog-filters{padding:12px}.catalog-filters summary>.caption{font-size:9px}.purchase-badge{font-size:8px;margin-bottom:8px}.card-info{padding:13px}.budget-tool summary{font-size:11px}.budget-tool summary>.caption{font-size:9px}.quantity-control{grid-template-columns:40px minmax(0,1fr) 40px;gap:7px}.quantity-step{width:40px;height:46px}.quantity-control input[type=number]{padding:12px 6px;font-size:34px}.package-row .chip strong{font-size:13px}.package-row .chip small{font-size:9px}}
@media(max-width:360px){.catalog-filters summary>.caption{display:none}.filter-fields{gap:12px}.filter-fields .field,.priced-toggle{min-width:100%;flex-basis:100%}.catalog-tools .filter-reset{max-width:55px}.feature-copy h2{font-size:27px}.quantity-control input[type=number]{font-size:30px}.purchase-states{gap:6px}.purchase-states .chip{font-size:10px;padding:9px}.package-row{gap:6px}.catalog-tools{max-width:78%}.market-feature{min-height:260px}}
/* Direct TON invoice details remain readable at narrow phone widths. */
.ton-invoice-field{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:14px;border:1px solid var(--line);border-radius:16px;margin:10px 0;background:var(--surface)}
.ton-invoice-field>.caption{flex-basis:100%;margin:0}.ton-invoice-field code{flex:1 1 180px;min-width:0;overflow-wrap:anywhere;word-break:break-all;font-size:13px;line-height:1.6;color:var(--ink)}
.currency-choice[hidden]{display:none!important}

/* Balance belongs to the signed-in buyer; rows are rendered as plain text. */
.balance-card{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:linear-gradient(115deg,color-mix(in srgb,var(--accent) 13%,var(--surface)),var(--surface));}
.balance-value{display:block;font-size:clamp(26px,7vw,36px);line-height:1.25;letter-spacing:-.04em;margin:6px 0;color:var(--ink);font-variant-numeric:tabular-nums;}
.balance-operation{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);}
.balance-operation>div{display:grid;gap:5px;min-width:0;}
.balance-operation>strong{white-space:nowrap;font-variant-numeric:tabular-nums;}
.balance-credit{color:var(--accent);}.balance-debit{color:var(--ink);}
.balance-history{max-height:52vh;overflow:auto;overscroll-behavior:contain;}
.cancel-order{min-height:44px;}

/* The launch logo uses opposite directions and clears on success or failure. */
.launch-splash{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px;background:var(--bg);color:var(--ink);overflow:hidden;transition:opacity .24s ease,visibility .24s ease;}
.launch-wordmark{display:flex;align-items:baseline;gap:10px;font-size:clamp(30px,8.4vw,56px);font-weight:750;letter-spacing:-.055em;line-height:1.2;}
.launch-dogemo{animation:launch-from-right .8s cubic-bezier(.15,.8,.2,1) both;}
.launch-market{color:var(--accent);animation:launch-from-left .8s cubic-bezier(.15,.8,.2,1) .08s both;}
.launch-splash>p{font-size:12px;color:var(--muted);margin:0;}
.launch-progress{width:112px;height:3px;border-radius:8px;background:var(--line);overflow:hidden;}
.launch-progress>span{display:block;height:100%;width:40%;border-radius:8px;background:var(--accent);animation:launch-progress 1.15s ease-in-out infinite;}
.launch-splash.finished{opacity:0;visibility:hidden;pointer-events:none;}
.launching .header,.launching .bottom-nav{visibility:hidden;}
@keyframes launch-from-right{from{opacity:0;transform:translateX(70px)}to{opacity:1;transform:translateX(0)}}
@keyframes launch-from-left{from{opacity:0;transform:translateX(-70px)}to{opacity:1;transform:translateX(0)}}
@keyframes launch-progress{from{transform:translateX(-110%)}to{transform:translateX(350%)}}
:root[data-motion="reduced"] .launch-dogemo,:root[data-motion="reduced"] .launch-market,:root[data-motion="reduced"] .launch-progress>span{animation:none;}
@media(prefers-reduced-motion:reduce){.launch-dogemo,.launch-market,.launch-progress>span{animation:none;}.launch-splash{transition:none;}}

/* Personal account: summary, purchases, ledger and preferences in one place. */
.personal-account{max-width:780px;margin:12px auto}.account-heading{display:flex;align-items:center;gap:14px;margin:20px 0}.account-avatar{width:56px;height:56px;flex-shrink:0;border-radius:20px;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-size:25px;font-weight:750;border:1px solid var(--line)}.account-identity{flex:1;min-width:0}.account-identity h1{font-size:27px;overflow-wrap:anywhere;margin:4px 0;line-height:1.2}.account-identity p{margin:0}.account-heading>.small-button{flex-shrink:0}.account-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px;background:var(--surface);border:1px solid var(--line);border-radius:17px;margin-bottom:20px}.account-tabs button{min-width:0;min-height:42px;padding:9px 3px;font-size:13px;background:transparent;color:var(--muted);border:0;border-radius:12px;font-weight:650}.account-tabs button.active{background:var(--soft);color:var(--accent)}.account-spending{background:var(--surface);border-color:var(--line)}.account-spending .section-top{margin:0 0 18px;align-items:center}.account-spending h2{font-size:21px;margin:5px 0 0}.account-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--soft);color:var(--accent);font-size:25px}.account-periods{display:flex;gap:6px;margin-bottom:18px}.account-periods button{background:var(--bg);color:var(--muted);border:1px solid var(--line);border-radius:11px;padding:7px 12px;min-height:36px;font-size:12px}.account-periods button.active{background:var(--soft);color:var(--accent);border-color:var(--accent)}.account-spend-row{display:flex;flex-direction:column;gap:5px;padding:12px 0;border-top:1px solid var(--line)}.account-spend-value{display:block;font-size:30px;letter-spacing:-.9px;color:var(--ink);font-weight:750;line-height:1.25;overflow-wrap:anywhere}.account-spending>.caption{margin:16px 0 0;font-size:11px;line-height:1.65}.account-counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.account-counters>.stat{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:15px 8px;text-align:center}.account-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.account-shortcuts button{display:flex;align-items:center;justify-content:flex-start;gap:9px;padding:14px 12px;font-size:13px;min-height:54px}.account-shortcuts .icon{width:20px;color:var(--accent)}.account-history>.chips{flex-wrap:wrap;overflow:visible;padding-bottom:12px}.account-balance>.panel{margin:16px 0}.personal-account .settings-page{max-width:none}.personal-account .settings-heading{margin-top:8px}.personal-account .settings-heading h1{font-size:25px}.account-ledger-summary p{padding:9px 0;border-bottom:1px solid var(--line);font-size:14px;color:var(--ink)}@media(max-width:480px){.account-heading{gap:10px}.account-avatar{width:46px;height:46px;border-radius:16px;font-size:21px}.account-identity h1{font-size:23px}.account-heading>.small-button{padding:8px;font-size:11px}.account-tabs button{font-size:11px;min-height:39px}.account-spending h2{font-size:19px}.account-spend-value{font-size:28px}.account-shortcuts button{font-size:12px;padding:12px 9px}.account-history .chip{font-size:11px;padding:8px 11px}.account-counters{gap:7px}}

.premium-feature{display:flex;align-items:center;position:relative;overflow:hidden;margin:18px 0;padding:24px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(125deg,var(--surface),var(--soft));gap:12px}.premium-feature-copy{position:relative;z-index:1;flex:1}.premium-feature h2{white-space:pre-line;margin:12px 0;font-size:25px}.premium-feature p{color:var(--muted);line-height:1.5}.premium-feature-art{width:35%;max-width:190px;flex-shrink:0}.premium-duration-badges{display:flex;gap:6px;margin:14px 0}.premium-duration-badges span{padding:6px 10px;border:1px solid var(--line);border-radius:999px;font-size:12px;color:var(--ink)}.premium-plan-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.premium-plan-choice{display:grid;gap:8px;padding:14px 6px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink)}.premium-plan-choice[aria-pressed=true]{outline:2px solid var(--accent)}.premium-plan-choice span{font-size:13px}.premium-plan-choice small{color:var(--muted);font-size:11px}.premium-page-hero{position:relative;padding:20px 0}.premium-page-art{width:150px;float:right}.premium-order-title{display:flex;align-items:center;gap:8px}.premium-order-title h3{font-size:15px;margin:0}.premium-feature button{max-width:220px}@media(max-width:450px){.premium-feature{padding:18px}.premium-feature h2{font-size:21px}.premium-feature-art{width:90px;position:absolute;right:0;top:5px;opacity:.45}.premium-feature-copy{padding-right:4px}.premium-feature p{max-width:240px}.premium-page-art{width:100px}.premium-plan-choice strong{font-size:15px}}

/* Compact catalogue banner: keep the price and action visible without a tall hero. */
.market-feature.market-feature-compact{min-height:0;padding:18px 20px;border-radius:22px}
.market-feature-compact .feature-copy{max-width:75%;padding-bottom:0}
.market-feature-compact .feature-copy h2{font-size:23px;margin:8px 0;line-height:1.15}
.market-feature-compact .feature-copy p{display:none}
.market-feature-compact .feature-label{font-size:9px}
.market-feature-compact .feature-cta{margin-top:9px;min-height:40px;padding:9px 13px;gap:15px}
.market-feature-compact .feature-art{width:115px;height:115px;top:10px;right:8px;opacity:.8}
.market-feature-compact .feature-bottom{position:relative;left:auto;right:auto;bottom:auto;margin-top:13px;padding-top:10px;gap:10px;font-size:12px}
.market-feature-compact .feature-bottom strong{font-size:17px}
.market-feature-compact .feature-caption{font-size:10px}
.premium-target-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.premium-target-choice{background:var(--surface);border:1px solid var(--line);color:var(--ink);border-radius:14px;padding:12px}
.premium-target-choice[aria-pressed=true]{background:var(--soft);border-color:var(--accent);color:var(--accent)}
@media(max-width:450px){.market-feature.market-feature-compact{padding:15px 17px}.market-feature-compact .feature-copy h2{font-size:21px}.market-feature-compact .feature-art{width:94px;height:100px;right:2px;top:12px}.market-feature-compact .feature-bottom{gap:8px}}
/* Private Telegram delivery: codes never appear in catalog cards. */
.telegram-phone,.telegram-code{display:block;font-size:28px;letter-spacing:2px;color:var(--text,#eef4ff);overflow-wrap:anywhere}
.telegram-code-box{padding:22px;margin:18px 0;border-radius:18px;background:rgba(64,135,255,.12);text-align:center}
.telegram-password{display:block;padding:12px;border-radius:12px;background:rgba(64,135,255,.1);overflow-wrap:anywhere;user-select:text}
.account-country-choices{display:flex;gap:10px;margin:16px 0}.account-country-choice{flex:1;min-height:48px;border:1px solid var(--line);border-radius:14px}.account-country-choice.selected{border-color:var(--accent,#439b82);box-shadow:0 0 0 1px var(--accent,#439b82)}
.approximate-crypto{display:block;color:var(--muted);font-size:11px;line-height:1.6;font-weight:450;margin-top:5px;white-space:normal;overflow-wrap:anywhere}.card-info>.approximate-crypto{margin-top:9px}.product-price-block>.approximate-crypto{flex-basis:100%;width:100%}.price-summary strong>.approximate-crypto,.order-summary strong>.approximate-crypto{font-size:10px;text-align:right}.feature-bottom>.approximate-crypto{width:100%;flex-basis:100%;font-size:10px}.premium-plan-choice>.approximate-crypto{font-size:9px;line-height:1.45}.premium-feature-copy>.approximate-crypto{color:inherit;opacity:.8}
.feature-bottom>.approximate-crypto{color:#d1ddf4;order:3;margin-top:0}.feature-bottom>.feature-caption{order:2}.package-row .package-conversion{font-size:9px;line-height:1.5}

/* Half-height Premium catalogue tile; independent of the purchase page. */
.premium-feature.premium-feature-compact{min-height:162px;margin:14px 0;padding:16px 20px;box-sizing:border-box;gap:12px}
.premium-feature-compact h2{font-size:22px;line-height:1.2;margin:0 0 7px}
.premium-feature-compact .premium-feature-subtitle{font-size:12px;line-height:1.4;margin:0 0 14px;max-width:none}
.premium-feature-compact .premium-feature-art{position:relative;width:100px;height:100px;max-width:100px;object-fit:contain;top:auto;right:auto;opacity:1}
.premium-feature-compact .premium-feature-footer{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.premium-feature-compact .primary{height:40px;min-height:40px;padding:10px 14px;font-size:13px;max-width:none;width:auto}
.premium-feature-compact .premium-feature-price{font-size:12px;line-height:1.4}
.premium-feature-compact .premium-feature-price .approximate-crypto{font-size:10px;margin-top:2px}
@media(max-width:450px){.premium-feature.premium-feature-compact{padding:14px 16px;min-height:162px}.premium-feature-compact h2{font-size:20px}.premium-feature-compact .premium-feature-art{width:56px;max-width:56px;align-self:flex-start}.premium-feature-compact .premium-feature-footer{gap:8px}.premium-feature-compact .premium-feature-copy{min-width:0;padding:0}.premium-feature-compact .premium-feature-subtitle{font-size:11px}.premium-feature-compact .primary{font-size:12px;padding:9px 12px}}

.bonus-balance-card{align-items:start;gap:20px;flex-wrap:wrap}.bonus-balance-info{flex:1;min-width:200px}.bonus-code-form{flex:1;min-width:220px;max-width:420px}.bonus-code-form>label{display:block;margin-bottom:8px}.bonus-code-entry{display:flex;gap:8px}.bonus-code-entry input{min-width:0;flex:1;text-transform:uppercase;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:12px}.bonus-code-entry button{width:auto;flex-shrink:0;padding:12px;font-size:12px}.bonus-code-entry input:focus{outline:2px solid var(--accent)}@media(max-width:450px){.bonus-balance-card{gap:12px}.bonus-code-form{width:100%;min-width:0;flex-basis:100%}}

/* Private recipient book and evidence-based order progress. */
.recipient-picker{display:grid;gap:8px;margin:-5px 0 18px}.recipient-picker-actions{display:flex;gap:14px;flex-wrap:wrap}.recipient-picker .chips{flex-wrap:wrap;overflow:visible}.recipient-picker .chip{white-space:normal;overflow-wrap:anywhere;text-align:left}
.recipient-book{display:grid;gap:14px}.recipient-row{display:flex;gap:14px;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:14px}.recipient-copy{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}.recipient-actions{display:flex;flex-wrap:wrap;gap:7px;flex-shrink:0}.recipient-book .section-top{margin:0}.order-help-context{white-space:pre-line;overflow-wrap:anywhere}
.order-progress{padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface);margin:12px 0}.order-progress .order-timeline-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px;padding:0;list-style:none}.order-timeline-four li{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;font-size:11px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}.order-timeline-four li::after,.order-timeline-four li::before{display:none}.order-timeline-four li.current{color:var(--ink);font-weight:700}.order-timeline-four li.current span{background:var(--action);color:#fff}.order-progress .progress-title{display:block;font-size:14px;color:var(--ink)}.order-progress .progress-explanation{margin:6px 0 0;line-height:1.55}.progress-review,.progress-expired{border-color:var(--accent)}.record-actions{flex-wrap:wrap}.progress-complete .progress-title{color:var(--ink)}
@media(max-width:520px){.recipient-row{align-items:stretch;flex-direction:column;gap:9px}.recipient-actions{width:100%}.recipient-actions button{flex:1;min-height:40px}.order-progress .order-timeline-four{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.order-timeline-four li{font-size:12px}.recipient-picker-actions button{min-height:40px}}

/* Persistent cart */
.cart-page{display:grid;gap:14px}.cart-page h1{margin:4px 0}.cart-count{position:absolute;top:2px;right:14px;background:var(--accent,#4e82f4);color:#fff;border-radius:20px;padding:1px 5px;font-size:10px;min-width:17px}.bottom-nav button{position:relative}.cart-row{display:flex;gap:16px;margin:0!important}.cart-thumb{width:90px;flex:0 0 90px}.cart-thumb .cover{height:84px;border-radius:16px;aspect-ratio:auto}.cart-thumb .cover-label{display:none}.cart-thumb .product-art{height:100%;object-fit:cover}.cart-row-content{flex:1;min-width:0}.cart-row-content h3{margin:0 0 6px;overflow-wrap:anywhere}.cart-row-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}.cart-quantity{display:flex;gap:12px;align-items:center}.cart-quantity button{min-width:36px;min-height:36px;padding:4px;font-size:20px}.cart-row-price{display:block;font-size:18px;color:var(--ink)}.cart-total{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:12px 0;font-size:17px}.cart-total strong{font-size:24px;color:var(--ink)}.cart-confirm-lines{display:grid;gap:10px;margin:16px 0}.cart-confirm-lines>div{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.cart-confirm-lines span{overflow-wrap:anywhere}.cart-confirm-lines strong{white-space:nowrap;color:var(--ink)}.cart-checkout .primary,.cart-pending button{width:100%;margin-top:10px}.cart-add-detail{display:flex;gap:8px;align-items:center;justify-content:center;width:100%;margin:12px 0}.cart-pending{border:1px solid var(--accent,#4e82f4)}@media(max-width:380px){.cart-row{gap:10px}.cart-thumb{width:64px;flex-basis:64px}.cart-thumb .cover{height:66px}.cart-row-tools{flex-wrap:wrap}.cart-total strong{font-size:20px}}

.wallet-payment-choices{display:grid;gap:10px;width:100%;margin:12px 0}.wallet-payment-choices button{width:100%}

/* Direct balance top-up and Premium checkout. */
.bank-balance-strip{display:flex;justify-content:space-between;align-items:center;padding:16px 0;color:var(--muted)}
.bank-balance-strip strong{color:var(--ink);font-size:22px}
.bank-amount-form{display:grid;gap:16px}.bank-amount-form input{font-size:30px;font-weight:700;min-width:0;width:100%}
.bank-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.bank-quick button{padding:10px 3px;font-size:13px}
.bank-pending{display:grid;gap:8px}.bank-history{margin-top:22px;border-top:1px solid var(--line);padding-top:16px}.bank-history summary{cursor:pointer;font-weight:700;min-height:40px}
.bank-history .balance-operation{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.bank-history small{display:block}
.bank-transfer-amount{display:none}.bank-transfer-status{padding:13px 15px;border-radius:14px;background:var(--soft);color:var(--ink);font-weight:650;line-height:1.5}.bank-transfer-status.credited{background:#e0f7ec;color:#146342}
.bank-copy-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:14px;padding:12px;margin:9px 0;background:var(--surface)}
.bank-copy-row>div{min-width:0}.bank-copy-row strong{display:block;font-size:17px;overflow-wrap:anywhere;line-height:1.5}.bank-copy-row .caption{display:block;margin:0}.bank-copy-row button{padding:8px 10px;flex-shrink:0;font-size:12px}
.bank-recipient{display:flex;justify-content:space-between;gap:12px;padding:4px 8px;color:var(--ink)}.bank-instruction{font-weight:650;margin:18px 0 8px}
.premium-redesign{max-width:680px;margin:auto}.premium-intro{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:22px 20px;margin-bottom:16px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(120deg,var(--surface),var(--soft));overflow:hidden}
.premium-intro h1{font-size:27px;line-height:1.12;margin:8px 0}.premium-intro p{font-size:14px;color:var(--muted);margin:0;line-height:1.5}.premium-intro-art{width:85px;height:85px;flex-shrink:0}.premium-intro .eyebrow{font-size:10px;letter-spacing:.08em}
.premium-purchase-form{display:grid;gap:14px}.premium-purchase-form h2{font-size:17px;margin:8px 0 0}.premium-purchase-form>.caption{margin:0}
.premium-duration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.premium-duration{display:flex;flex-direction:column;align-items:center;gap:3px;padding:16px 4px;background:var(--surface);border:1px solid var(--line);border-radius:18px;color:var(--ink)}
.premium-duration[aria-pressed="true"],.premium-method[aria-pressed="true"]{border:2px solid var(--accent);background:var(--soft)}.premium-duration strong{font-size:28px;line-height:1.1}.premium-duration span{font-size:12px;color:var(--muted)}.premium-duration b{font-size:14px;margin-top:8px;white-space:nowrap}.premium-duration small{font-size:10px;color:var(--muted)}
.premium-methods{display:grid;grid-template-columns:1fr 1fr;gap:8px}.premium-method{display:flex;flex-direction:column;text-align:left;padding:13px 10px;gap:5px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink)}.premium-method strong{font-size:13px}.premium-method small{font-size:11px;color:var(--muted);line-height:1.4}
.premium-total{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;border-top:1px solid var(--line);font-size:15px}.premium-total strong{font-size:24px;white-space:nowrap}.premium-bottom-links{display:grid;gap:8px;margin:16px 0}
@media(max-width:370px){.premium-duration b{font-size:12px}.premium-intro h1{font-size:23px}.premium-intro-art{width:65px;height:65px}.bank-copy-row strong{font-size:15px}.bank-copy-row button{font-size:11px}}

#dialog-body>h2{padding-right:42px}.bank-copy-row{padding:10px;margin:7px 0}.bank-instruction{margin:14px 0 6px}.wallet-product-price{color:var(--accent);font-size:15px}

/* ===== Плавность и отклик (2026-10-29) ===== */
html{-webkit-tap-highlight-color:transparent}
button,.card,.chip{transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .18s cubic-bezier(.2,.8,.2,1),opacity .2s ease}
button:not(:disabled):active,.chip:not(:disabled):active,.card:active{transform:scale(.965)}
.primary:not(:disabled):active{transform:scale(.98)}
.bottom-nav button:active{transform:scale(.92)}
.bottom-nav{view-transition-name:bottom-nav}
.header{view-transition-name:app-header}
/* Скользящая подсветка активной вкладки */
.bottom-nav .nav-pill{position:absolute;left:0;top:0;border-radius:17px;background:var(--soft);pointer-events:none;z-index:0;will-change:transform,width;opacity:0}
.bottom-nav .nav-pill.ready{opacity:1;transition:transform .34s cubic-bezier(.3,1.25,.4,1),width .34s cubic-bezier(.3,1.25,.4,1)}
.bottom-nav.has-pill button.active{background:transparent}
.bottom-nav button>*{position:relative;z-index:1}
.bottom-nav button .icon{transition:transform .3s cubic-bezier(.3,1.5,.4,1)}
.bottom-nav button.active .icon{transform:translateY(-1px) scale(1.12)}
/* Переход между разделами */
::view-transition-old(root){animation:vt-out .16s ease both}
::view-transition-new(root){animation:vt-in .26s cubic-bezier(.2,.8,.2,1) both}
@keyframes vt-out{to{opacity:0;transform:translateY(-6px)}}
@keyframes vt-in{from{opacity:0;transform:translateY(12px)}}
::view-transition-group(bottom-nav),::view-transition-group(app-header){animation-duration:0s}
/* Окна покупки выезжают снизу */
dialog[open]{animation:sheet-in .34s cubic-bezier(.2,.9,.25,1)}
dialog[open]::backdrop{animation:backdrop-in .28s ease}
@keyframes sheet-in{from{opacity:0;transform:translateY(40px) scale(.985)}}
@keyframes backdrop-in{from{opacity:0}}
/* Появление карточек по очереди */
#app.enter .card{animation:card-in .42s cubic-bezier(.2,.8,.2,1) both}
#app.enter .grid .card:nth-child(2){animation-delay:.05s}#app.enter .grid .card:nth-child(3){animation-delay:.1s}#app.enter .grid .card:nth-child(n+4){animation-delay:.14s}
@keyframes card-in{from{opacity:0;transform:translateY(14px)}}
/* Подписи на обложках не обрезаются */
.cover-label{white-space:normal;line-height:1.35;right:14px;max-width:calc(100% - 28px)}
/* Покупка звёзд: кнопка всегда под рукой, меньше шума */
.package-row .package-conversion{display:none}
.package-row .chip{display:flex;flex-direction:column;align-items:center;gap:3px;padding:12px 6px}
.stars-price-preview{padding:14px 16px}
.compact form:has(.quantity-control)>.primary[type="submit"]{position:sticky;bottom:calc(92px + env(safe-area-inset-bottom,0px));z-index:6;box-shadow:0 10px 30px rgb(0 0 0/.38);margin-top:16px}
.compact form:has(.quantity-control)>.primary[type="submit"]:disabled{box-shadow:none}
/* Мягкое появление текста цены */
.stars-price-preview strong{transition:color .2s ease}
.price-flash{animation:price-flash .45s ease}
@keyframes price-flash{40%{transform:scale(1.04);color:var(--accent)}}
:root[data-motion="reduced"] #app.enter .card,:root[data-motion="reduced"] dialog[open],:root[data-motion="reduced"] .price-flash{animation:none!important}
:root[data-motion="reduced"] .bottom-nav .nav-pill.ready,:root[data-motion="reduced"] .bottom-nav button .icon{transition:none!important}
@media(prefers-reduced-motion:reduce){#app.enter .card,dialog[open],.price-flash{animation:none!important}.bottom-nav .nav-pill.ready,.bottom-nav button .icon{transition:none!important}::view-transition-old(root),::view-transition-new(root){animation:none!important}}
/* Цена звёзд компактнее: подпись слева, сумма справа */
.stars-price-preview .price-summary>div{flex-wrap:nowrap;align-items:baseline;padding:5px 0}
.stars-price-preview .price-summary>div>span{flex:1 1 auto;min-width:0;font-size:12px;line-height:1.4}
.stars-price-preview .price-summary>div>strong{flex:0 0 auto;text-align:right;font-size:15px;white-space:nowrap}
.stars-price-preview .price-summary>div:last-child>strong{font-size:26px}
.stars-price-preview .price-summary strong>.approximate-crypto{margin-top:2px;white-space:normal;max-width:190px;margin-left:auto}
/* Карточки товаров: цена и кнопка не ломаются на две строки */
.card .price-button{justify-content:center;text-align:center;width:100%;padding:11px 10px}
.card .price-button>span{font-size:15px;font-weight:700;white-space:normal;line-height:1.25}
.card .price-button>.icon{display:none}
.card .notice{margin:10px 0;padding:10px 12px}
.card-info>.approximate-crypto{display:none}
.cover>.product-art{object-fit:contain;width:100%}

/* Блок доверия на главной */
.trust-strip{display:grid;gap:10px;margin:0 0 16px}
.trust-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.trust-fact{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);border-radius:16px;padding:12px;background:var(--surface)}
.trust-fact strong{font-size:12px}
.trust-fact span{font-size:11px;line-height:1.35;color:var(--muted)}
.trust-rating{display:flex;align-items:baseline;gap:10px;padding:2px 4px}
.trust-rating strong{font-size:20px}
.trust-rating span{font-size:12px;color:var(--muted)}
.trust-quote{margin:0;border:1px solid var(--line);border-radius:16px;padding:12px 14px;background:var(--soft);font-size:13px;line-height:1.45}
.trust-quote span{display:block;margin-top:6px;font-size:11px;color:var(--accent);letter-spacing:1px}
@media(max-width:420px){.trust-facts{grid-template-columns:1fr}}

/* Заголовок блока доверия и чистый каталог */
.trust-head h2{margin:0 0 2px;font-size:18px}
.trust-head .caption{margin:0}
.grid>.catalog-more{grid-column:1/-1;width:100%;margin-top:4px}
.trust-strip{margin-top:22px}

/* 01.11: логотип DM */
.brand-icon.brand-logo,:root[data-theme="dark"] .brand-icon.brand-logo{background:none;border:0;padding:0;line-height:0;overflow:hidden;box-shadow:0 0 0 1px #ffffff14}
.brand-logo svg{width:100%;height:100%;display:block}.launch-logo{display:block;width:76px;height:76px;margin:0 auto 18px;border-radius:20px;overflow:hidden;box-shadow:0 12px 32px #0f1a2e40}
