/* Telegram boutique: keep the established palette and checkout logic. */
/* Main is a navigation target, not a control: don't frame the whole page
   when a browser restores focus. Interactive elements keep their outlines. */
#main:focus{outline:none}
.purchase-layout{align-items:start;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:28px}
.purchase-layout #buy-form{padding:30px;position:relative;overflow:hidden}
.purchase-form-label{display:block;margin-bottom:12px;color:var(--muted)}
.purchase-layout #buy-form h2{font-size:25px;letter-spacing:-.7px}
.purchase-layout .amount-grid{margin-top:22px;gap:10px}
.purchase-layout .amount-option{min-height:76px;padding:15px 12px;text-align:left}
.purchase-layout .amount-option strong{font-size:17px}
.purchase-layout .amount-option small{font-size:11px}
.purchase-layout .recipient-picker{margin-top:27px}
.purchase-layout .summary{padding-top:23px;margin-top:26px}
.purchase-layout .summary strong{font-size:32px}
.purchase-companion{display:grid;gap:22px;min-width:0}
.product-showcase.feature-poster{display:flex;flex-direction:column;position:relative;min-height:440px;padding:28px;overflow:hidden;isolation:isolate;background:var(--hero);border:1px solid var(--line)}
.product-showcase.premium{background:var(--secondary)}
html[data-theme] .product-showcase.ton{background:var(--tertiary)}
.product-showcase>.eyebrow{z-index:2;color:var(--muted)}
.product-showcase .product-mascot.hero-art{position:relative;inset:auto;width:100%;height:245px;opacity:1;display:grid;place-items:center;margin:2px auto 6px;transform:none}
.product-mascot img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 22px #0003)}
.product-showcase .product-mascot.hero-art{animation:mascot-breathe 7s ease-in-out infinite}
.showcase-caption{z-index:2;position:relative}
.product-showcase .showcase-caption h2{max-width:none;font-size:30px;line-height:1.16;letter-spacing:-.8px;margin:0}
.showcase-caption p{margin-top:10px;font-size:12px;line-height:1.7;color:var(--muted)}
.showcase-orbit{position:absolute;width:320px;height:320px;right:-80px;top:35px;border:1px solid color-mix(in srgb,var(--accent) 16%,transparent);border-radius:50%;transform:rotate(-25deg) scaleY(.6);z-index:-1}
.mascot-glint,.launch-home .spotlight-art:after{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;background:linear-gradient(115deg,transparent 42%,#c0edff24 47%,#fff6 50%,#b2e8ff24 53%,transparent 58%);background-size:280% 100%;background-position:100% 50%;mix-blend-mode:screen;mask-repeat:no-repeat;mask-position:center;mask-size:contain}
.mascot-glint{mask-image:url('/assets/mascot/storefront-v2.png')}
.purchase-guide{padding:0 6px}
.purchase-guide h2{font-size:16px;letter-spacing:-.3px;margin:0 0 18px}
.purchase-guide ol{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.purchase-guide li{display:flex;gap:14px}
.purchase-guide li>span{flex:0 0 29px;color:var(--accent);font-size:11px;line-height:22px;font-variant-numeric:tabular-nums}
.purchase-guide strong{font-size:12px}.purchase-guide p{font-size:11px;line-height:1.7;margin:5px 0 0;color:var(--muted);max-width:40ch}
.purchase-companion .purchase-notes{margin:0;padding:18px 6px 0;border-top:1px solid var(--line);gap:6px}
.news-card{border-top:1px solid var(--line);display:flex;align-items:center;gap:20px;padding:28px 0;margin-top:26px}
.news-mark{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;background:var(--soft);border:1px solid var(--line);border-radius:15px;color:var(--accent)}
.news-mark svg{width:23px;height:23px}
.news-card h2{margin:8px 0;font-size:23px;letter-spacing:-.5px}
.news-card p{color:var(--muted);font-size:12px;line-height:1.7;max-width:50ch;margin:0}
.news-card>a{margin-left:auto;display:flex;align-items:center;gap:13px;flex-shrink:0;font-size:12px;font-weight:700;text-decoration:none;color:var(--accent);min-height:44px;border-bottom:1px solid transparent}
.news-card>a svg{width:18px;height:18px;transition:transform 200ms}
.purchase-companion .news-card{padding:22px;margin:0;border:1px solid var(--line);border-radius:18px;background:var(--surface);display:grid;grid-template-columns:35px minmax(0,1fr);gap:14px}
.purchase-companion .news-mark{width:35px;height:35px;border-radius:11px}
.purchase-companion .news-card h2{font-size:17px;margin-top:7px}
.purchase-companion .news-card p{font-size:11px}
.purchase-companion .news-card>a{grid-column:2;margin:0;justify-content:space-between}
.launch-home .star-spotlight{isolation:isolate;transition:border-color 250ms,box-shadow 250ms}
.launch-home .spotlight-art{pointer-events:none;animation:mascot-breathe 7s ease-in-out infinite}
.launch-home .spotlight-art .spotlight-mascot{animation:none}
.launch-home .spotlight-art:after{content:"";mask-image:url('/assets/mascot/mallstars.png')}
html[data-theme] .launch-home .star-spotlight:focus-within{border-color:var(--accent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 30%,transparent),0 8px 28px #509eff18}
.star-dust i{animation-name:constellation-drift;animation-duration:16s;opacity:.55;will-change:transform}
.star-dust i:nth-child(3n){animation-duration:21s;animation-direction:reverse}
.star-dust i:nth-child(4n){background:#e4efff;width:4px;height:4px}
.star-dust i:nth-child(5n){border-radius:0;clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);width:8px;height:8px}
@media(hover:hover) and (pointer:fine){
 html[data-theme] .launch-home .star-spotlight:hover{border-color:var(--accent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 30%,transparent),0 8px 28px #509eff18}
 .product-showcase:hover .mascot-glint,.launch-home .star-spotlight:hover .spotlight-art:after{animation:mascot-sheen 1.8s ease-in-out both}
 .product-showcase:hover .product-mascot img,.launch-home .star-spotlight:hover .spotlight-mascot{filter:drop-shadow(0 8px 18px #65c6ff38)}
 .product-showcase:hover .product-mascot.hero-art,.launch-home .star-spotlight:hover .spotlight-art{scale:1.015}
 .product-mascot.hero-art,.spotlight-art{transition:scale 500ms}
 .product-mascot img,.spotlight-mascot{transition:filter 500ms}
 .purchase-layout .amount-option:not(:disabled):hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 5px 14px var(--shadow)}
 .news-card>a:hover{border-bottom-color:var(--accent)}
 .news-card>a:hover svg{transform:translateX(4px)}
}
@keyframes mascot-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes mascot-sheen{0%{opacity:0;background-position:100% 50%}25%{opacity:.65}75%{opacity:.4}100%{opacity:0;background-position:0 50%}}
@keyframes constellation-drift{0%,100%{transform:translate3d(0,0,0);opacity:.2}35%{opacity:.85}50%{transform:translate3d(18px,-32px,0);opacity:.5}75%{opacity:.8}}
@media(min-width:1100px){.purchase-companion{position:sticky;top:24px}.purchase-layout{gap:32px}}
@media(min-width:701px) and (max-width:950px){.desktop-nav a:last-child{display:inline-flex}}
@media(max-width:900px) and (min-width:701px){.purchase-layout{gap:20px}.purchase-layout #buy-form{padding:23px}.product-showcase.feature-poster{padding:22px;min-height:390px}.product-showcase .product-mascot.hero-art{height:215px}.product-showcase .showcase-caption h2{font-size:25px}.news-card{gap:15px}.news-card>a{font-size:11px}}
@media(max-width:700px){
 .purchase-layout{grid-template-columns:minmax(0,1fr);gap:26px}
 .purchase-layout #buy-form{padding:22px}.purchase-layout #buy-form h2{font-size:22px}
 .purchase-layout .amount-option{padding:12px 9px;min-height:70px}.purchase-layout .amount-option strong{font-size:15px}
 .purchase-companion{gap:20px}.product-showcase.feature-poster{display:flex;min-height:290px;padding:23px}
 .product-showcase .product-mascot.hero-art{position:relative;inset:auto;width:100%;height:180px;margin:0 auto 14px}
 .product-showcase .showcase-caption{margin-top:auto;max-width:none;padding-top:0}
 .product-showcase .showcase-caption h2{font-size:24px}.showcase-caption p{font-size:11px;max-width:22ch}
 .purchase-guide{padding:0 3px}.news-card{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;padding:23px 0}
 .news-mark{width:40px;height:40px;border-radius:12px}.news-card h2{font-size:20px}.news-card p{font-size:11px}.news-card>a{grid-column:2;margin:0;justify-content:space-between}
 .purchase-companion .news-card{padding:20px}.launch-home .spotlight-art{overflow:visible}
 .star-dust i:nth-child(n+9){display:none}
}
@media(max-width:370px){.purchase-layout #buy-form{padding:18px}.purchase-layout .amount-grid{gap:7px}.purchase-layout .amount-option strong{font-size:13px}.purchase-layout .summary strong{font-size:28px}.product-showcase .showcase-caption h2{font-size:21px}.product-showcase .product-mascot.hero-art{height:145px}.purchase-companion .news-card{padding:16px}}
@media(prefers-reduced-motion:reduce){
 .product-mascot.hero-art,.launch-home .spotlight-art,.star-dust i{animation:none!important;will-change:auto}
 .mascot-glint,.launch-home .spotlight-art:after{display:none!important}
 .product-showcase:hover .product-mascot.hero-art,.launch-home .star-spotlight:hover .spotlight-art{scale:1}
 .purchase-layout .amount-option:hover,.news-card>a:hover svg{transform:none}
}
/* Promo settings retain the store's existing compact admin controls. */
.promo-admin-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
.promo-admin-row:last-child{border-bottom:0}
.promo-admin-row small{display:block;margin-top:6px;color:var(--muted);overflow-wrap:anywhere}
.promo-admin-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}
@media(max-width:600px){.promo-admin-row{align-items:flex-start;flex-direction:column}.promo-admin-actions{width:100%}.promo-admin-actions .btn{flex:1}#promo-form .admin-grid{grid-template-columns:minmax(0,1fr)}}
