.store-shell{--hero-width:88%;--stack-width:84%;--editor-width:68%;--compact-width:88px;--rail-gap:12px}.store-wrap{width:min(100%,1200px);margin-inline:auto;padding-inline:16px}.store-header{z-index:40;background:var(--bg-base);border-bottom:1px solid var(--border);position:sticky;top:0}.store-topbar{height:var(--topbar-h);justify-content:space-between;align-items:center;gap:12px;display:flex}.store-brand{letter-spacing:-.02em;white-space:nowrap;align-items:center;gap:9px;min-height:44px;font-size:1.05rem;font-weight:800;display:flex}.store-brand img{flex:none}.store-top-actions,.store-desktop-nav,.store-rail-actions{align-items:center;display:flex}.store-desktop-nav,.store-desktop-search{display:none}.store-icon-button{border-radius:var(--radius-pill);width:44px;height:44px;color:var(--text-secondary);flex:0 0 44px;place-items:center;display:grid;position:relative}.store-icon-button:enabled:hover,.store-desktop-nav button:hover{background:var(--bg-elevated);color:var(--text-primary)}.store-icon-button:disabled{opacity:.4}.store-bell>span{text-align:center;background:var(--danger);min-width:16px;height:16px;color:var(--bg-base);border-radius:var(--radius-pill);padding:0 3px;font-size:10px;font-weight:800;line-height:16px;position:absolute;top:4px;right:4px}.store-avatar{border:1.5px solid var(--accent);width:34px;height:34px;color:var(--accent-text);background:var(--accent-soft);border-radius:50%;flex:none;place-items:center;font-weight:800;display:grid}.store-main{align-content:start;gap:var(--section-gap);padding-top:14px;padding-bottom:calc(var(--bottom-nav-h) + 20px + env(safe-area-inset-bottom));min-height:calc(100dvh - var(--topbar-h));display:grid}.store-categories{scroll-snap-type:x mandatory;gap:8px;min-width:0;padding-block:4px;display:flex;overflow-x:auto}.store-categories button{border:1px solid var(--border);border-radius:var(--radius-pill);min-height:44px;color:var(--text-secondary);background:var(--bg-surface);scroll-snap-align:start;flex:none;align-items:center;gap:7px;padding:0 13px;font-size:.82rem;font-weight:700;display:flex}.store-categories button:hover{background:var(--bg-elevated)}.store-market-head{animation:store-enter .25s var(--ease-spring) both;align-items:center;gap:14px;padding-top:8px;display:flex}.store-market-head h1{font-size:clamp(1.5rem,4vw,2.25rem);font-weight:800;line-height:1.2}.store-market-mark{background:var(--bg-surface);width:48px;height:48px;color:var(--accent-text);border:1px solid var(--border);border-radius:var(--radius-md);flex:none;place-items:center;display:grid}.store-market-grid{grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;display:grid}.store-market-grid li{min-width:0}.store-market-card{text-align:start;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--bg-surface);flex-direction:column;width:100%;height:100%;transition:border-color .16s,background-color .16s,translate .16s;display:flex;overflow:hidden}.store-market-card:hover{border-color:var(--accent);background:var(--bg-elevated)}.store-market-card:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}.store-market-card:active{translate:0 1px}.store-market-card-main{flex:1;align-items:flex-start;gap:14px;width:100%;padding:16px;display:flex}.store-market-card-copy{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.store-market-card-copy strong{font-size:1rem;font-weight:800}.store-market-developer,.store-market-card-footer{color:var(--text-secondary);font-size:.8rem}.store-market-card-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.store-market-card-meta:empty{display:none}.store-market-card-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px 16px;display:flex}.store-market-card-footer>:last-child{flex:none}.store-market-version{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-elevated);overflow-wrap:anywhere;min-width:0;padding:3px 7px}@media (min-width:768px){.store-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1200px){.store-market-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.store-market-head{animation:none}.store-market-card{transition:none}.store-market-card:active{translate:none}}.store-categories button[aria-pressed=true],.store-desktop-nav button[aria-current]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-text)}.store-section{min-width:0}.store-section h2{letter-spacing:-.015em;font-size:1.08rem;font-weight:700}.store-section-hero{animation:store-enter .38s var(--ease-spring) both}@keyframes store-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.store-section-head{justify-content:space-between;align-items:center;gap:5px;min-height:44px;margin-bottom:6px;display:flex}.store-rail-actions{gap:4px}.store-rail-actions button{background:var(--bg-surface);border:1px solid var(--border)}.store-rail{gap:var(--rail-gap);scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-block:5px;display:flex;overflow:auto hidden}.store-rail>*{scroll-snap-align:start;flex:none;min-width:0}.store-rail-hero>*{width:var(--hero-width)}.store-rail-stack>*{width:var(--stack-width)}.store-rail-editor>*{width:var(--editor-width)}.store-rail-popular>*{width:var(--compact-width)}.store-hero-card,.store-editor-card{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-lg);text-align:start;transition:transform .25s var(--ease-spring), border-color .25s;overflow:hidden}.store-editor-card{border-radius:var(--radius-md)}.store-hero-open{width:100%;display:block}.store-hero-open:focus-visible{outline-offset:-4px}.store-banner{aspect-ratio:16/9;background:var(--accent-soft);isolation:isolate;align-items:end;display:grid;position:relative}.store-banner img{object-fit:cover}.store-banner strong{text-align:start;background:var(--bg-base);border-radius:var(--radius-sm);letter-spacing:-.02em;overflow-wrap:anywhere;justify-self:start;max-width:72%;margin:0 12px 12px;padding:7px 9px;font-size:1.15rem;font-weight:800;line-height:1.2;position:relative}.store-banner-fallback{color:var(--accent-text);place-items:center;display:grid;position:absolute;inset:0}.store-hero-footer,.store-editor-footer{align-items:center;gap:9px;padding:10px;display:flex}.store-app-icon{object-fit:cover;border-radius:24%;flex:none}.store-placeholder{background:var(--accent-soft);color:var(--accent-text);place-items:center;display:grid}.store-hero-name,.store-app-row-copy{text-align:start;flex:1;gap:2px;min-width:0;display:grid}.store-hero-name strong,.store-app-row-copy strong,.store-popular strong{text-align:start;font-size:.9rem;font-weight:700}.store-meta{color:var(--text-secondary);align-items:center;gap:4px;min-width:0;font-size:.74rem;display:flex}.store-rating{white-space:nowrap;align-items:center;gap:3px;display:inline-flex}.store-rating svg{color:var(--star)}.store-ellipsis{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.store-download{background:var(--accent);min-height:44px;color:var(--bg-base);border-radius:var(--radius-pill);transition:background .2s, transform .2s var(--ease-spring);flex:none;padding:0 12px;font-size:.81rem;font-weight:800}.store-download:enabled:hover{background:var(--accent-text)}.store-download:enabled:active,.store-icon-button:enabled:active,.store-categories button:active{transform:scale(.95)}.store-download:disabled{color:var(--text-secondary);background:var(--bg-elevated)}.store-download-large{width:100%}a.store-download{justify-content:center;align-items:center;display:inline-flex}.store-vip-badge{border-radius:var(--radius-pill);max-width:100%;color:var(--star);background:var(--bg-elevated);justify-self:start;align-items:center;padding:2px 5px;font-size:.65rem;font-weight:800;display:inline-flex}.store-vip-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-elevated);min-height:68px;color:var(--text-primary);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.store-vip-card:hover{border-color:var(--star)}.store-vip-card>svg:first-child{color:var(--star)}.store-vip-card>span{gap:2px;display:grid}.store-vip-card>span>span{color:var(--text-secondary);font-size:.8rem}.store-stack{align-content:start;gap:2px;display:grid}.store-app-row{border-radius:var(--radius-md);width:100%;min-width:0;min-height:70px;transition:background .2s, transform .25s var(--ease-spring);align-items:center;gap:12px;padding:7px 8px;display:flex}.store-app-row .store-app-row-copy>span{color:var(--text-secondary);font-size:.75rem}.store-app-row strong{overflow-wrap:anywhere}.store-popular{background:var(--bg-base);border-radius:var(--radius-md);transition:transform .25s var(--ease-spring);align-content:start;justify-items:start;gap:5px;padding-bottom:6px;display:grid}.store-popular .store-app-icon{width:var(--compact-width)!important;height:var(--compact-width)!important}.store-popular strong{max-width:100%}.store-popular .store-rating{color:var(--text-secondary);font-size:.74rem}@media (hover:hover){.store-hero-card:hover,.store-editor-card:hover,.store-popular:hover{border-color:var(--accent);transform:translateY(-3px)}.store-app-row:hover{background:var(--bg-surface);transform:translate(3px)}}.store-footer{border-top:1px solid var(--border);color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:4px 15px;font-size:.76rem;display:flex}.store-footer button,.store-profile-legal button{min-height:44px}.store-footer button:hover,.store-profile-legal button:hover{color:var(--accent-text);text-decoration:underline}.store-bottom-nav{z-index:50;bottom:0;min-height:calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--bg-surface);border-top:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr));display:grid;position:fixed;inset-inline:0}.store-bottom-nav button{color:var(--text-secondary);grid-template-rows:30px 18px;align-content:center;justify-items:center;gap:2px;font-size:.74rem;font-weight:700;line-height:18px;display:grid;position:relative}.store-bottom-nav button:focus-visible{outline-offset:-4px}.store-nav-icon{place-items:center;width:58px;height:30px;display:grid}.store-bottom-nav button[aria-current]{color:var(--text-primary)}.store-bottom-nav button[aria-current] .store-nav-icon{color:var(--accent-text)}.store-nav-indicator{pointer-events:none;top:calc((var(--bottom-nav-h) - 51px) / 2);border-radius:var(--radius-pill);background:var(--accent-soft);opacity:0;width:58px;height:30px;transition:left .22s var(--ease-spring), opacity .18s ease;position:absolute;left:calc(16.6667% - 29px)}.store-bottom-nav[data-active] .store-nav-indicator{opacity:1}.store-bottom-nav[data-active=apps] .store-nav-indicator{left:calc(50% - 29px)}.store-nav-scene{perspective:70px;place-items:center;width:20px;height:20px;display:grid;position:relative}.store-nav-cube{transform-style:preserve-3d;opacity:0;animation:.22s ease-out both store-nav-flip;position:absolute;inset:4px}.store-nav-cube>span{border:1px solid var(--accent-text);background:var(--accent);backface-visibility:hidden;transform:rotateY(var(--face-angle,0deg)) translateZ(6px);position:absolute;inset:0}.store-nav-cube>span:nth-child(2){--face-angle:90deg;background:var(--accent-hover)}.store-nav-cube>span:nth-child(3){--face-angle:180deg}.store-nav-cube>span:nth-child(4){--face-angle:270deg;background:var(--accent-hover)}.store-nav-settle{animation:.22s ease-out both store-nav-settle}@keyframes store-nav-flip{0%{opacity:1;transform:rotateY(-35deg)}70%{opacity:1}to{opacity:0;transform:rotateY(235deg)}}@keyframes store-nav-settle{0%,55%{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.store-nav-indicator{transition:none}.store-nav-cube{display:none}.store-nav-settle{animation:none}}.store-search{min-width:0;color:var(--text-secondary);background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-pill);align-items:center;gap:9px;padding:0 12px;display:flex}.store-search svg{flex:none}.store-search:focus-within{border-color:var(--accent)}.store-search input{width:100%;min-height:44px;color:var(--text-primary);outline:none;font-size:.83rem}.store-search input::placeholder{color:var(--text-secondary)}.store-results{gap:3px;margin-block-start:10px;display:grid}.store-empty{color:var(--text-secondary);border:1px solid var(--border);border-radius:var(--radius-md);margin-top:10px;padding:15px}.store-dialog{width:100%;max-width:none;max-height:min(90dvh,800px);color:var(--text-primary);background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-lg) var(--radius-lg) 0 0;overscroll-behavior:contain;margin:0;position:fixed;inset:auto 0 0}.store-dialog[open]{animation:store-enter .25s var(--ease-spring) both}.store-dialog::backdrop{background:#000000a6}.store-dialog-profile,.store-dialog-account,.store-dialog-request,.store-dialog-inbox,.store-dialog-search{border-radius:0;height:100dvh;max-height:none;inset:0}.store-dialog-body{padding:12px 16px calc(18px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.store-dialog-top{justify-content:end;align-items:center;display:flex;position:relative}.store-dialog-detail{translate:0 var(--detail-drag-y,0px);transition:translate .2s ease-out}.store-dialog-detail[data-dragging]{transition:none}.store-drag{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;place-items:center;width:96px;display:grid;position:absolute;inset:0 auto 0 50%;translate:-50%}.store-drag:before{content:"";border-radius:var(--radius-pill);background:var(--text-muted);width:36px;height:4px}.store-dialog-detail[data-dragging] .store-drag{cursor:grabbing}.store-dialog h2{font-size:1.15rem;font-weight:800}.store-dialog h3{font-size:.93rem;font-weight:700}.store-dialog p{color:var(--text-secondary);font-size:.85rem}.store-description{overflow-wrap:anywhere;white-space:pre-wrap}.store-detail-head,.store-account{align-items:center;gap:12px;min-width:0;display:flex}.store-detail-head>div,.store-account>div:nth-child(2){overflow-wrap:anywhere;flex:1;min-width:0}.store-detail-head small,.store-bookmark[aria-pressed=true]{color:var(--accent-text)}.store-metrics{border-block:1px solid var(--border);text-align:center;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding-block:10px;display:grid}.store-metrics dt{color:var(--text-secondary);font-size:.74rem}.store-metrics dd{overflow-wrap:anywhere;font-size:.84rem;font-weight:800}.store-features{gap:6px;display:grid}.store-features li{background:var(--bg-elevated);border-radius:var(--radius-sm);align-items:center;gap:8px;padding:8px 10px;font-size:.83rem;display:flex}.store-features svg{color:var(--success);flex:none}.store-account,.store-profile-group,.store-info-box{border-radius:var(--radius-lg);background:var(--bg-elevated);border:1px solid var(--border)}.store-account{flex-wrap:wrap;padding:12px}.store-account>.store-avatar{width:52px;height:52px}.store-avatar{overflow:hidden}.store-avatar img{object-fit:cover;width:100%;height:100%}.store-account-back{text-align:start;min-height:44px;color:var(--accent-text);justify-self:start;align-items:center;gap:8px;display:inline-flex}.store-account-back svg{flex:none}.store-account-form,.store-account-form label{gap:8px;display:grid}.store-account-form input,.store-account-form textarea{width:100%;min-height:44px;color:var(--text-primary);background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-md);padding:8px 12px}.store-account-form textarea{resize:vertical}.store-verified-name{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:5px;display:flex}.store-verified{object-fit:contain;flex:none;width:20px;height:20px}.store-inbox-trigger{position:relative}.store-inbox-count{border-radius:var(--radius-pill);background:var(--accent-hover);color:#fff;text-align:center;min-width:18px;padding:1px 3px;font-size:.62rem;font-weight:800;line-height:16px;position:absolute;inset:0 -2px auto auto}.store-inbox-list{border-block-start:1px solid var(--border);display:grid}.store-inbox-list button{text-align:start;border-block-end:1px solid var(--border);align-items:flex-start;gap:10px;width:100%;min-height:44px;padding:12px 8px;display:flex}.store-inbox-list button:hover{background:var(--bg-hover)}.store-inbox-list button>svg{color:var(--accent-text);flex:none}.store-inbox-list button>span{overflow-wrap:anywhere;gap:3px;min-width:0;display:grid}.store-inbox-list small{color:var(--text-secondary)}.store-inbox-message{overflow-wrap:anywhere;gap:8px;display:grid}.store-inbox-pages{flex-wrap:wrap;justify-content:space-between;gap:12px;display:flex}.store-account button[aria-expanded=true] svg{transform:rotate(180deg)}.store-switcher{flex-basis:100%;display:grid}.store-switcher button{text-align:start;border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:6px;min-height:44px;display:flex}.store-switcher span{color:var(--text-secondary);font-size:.74rem}.store-profile-group{overflow:hidden}.store-profile-group button{text-align:start;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 13px;font-size:.9rem;font-weight:600;display:flex}.store-profile-group button+button{border-top:1px solid var(--border)}.store-profile-group button:hover,.store-switcher button:hover{background:var(--bg-hover)}.store-profile-group svg{color:var(--text-secondary);flex:none}.store-profile-actions button:first-child svg{color:var(--accent-text)}.store-profile-actions button:nth-child(2) svg{color:var(--cyan)}.store-profile-group small{margin-left:auto}.store-profile-legal{color:var(--text-secondary);flex-wrap:wrap;justify-content:center;gap:12px;font-size:.73rem;display:flex}.store-info-box{align-items:center;gap:10px;padding:12px;display:flex}.store-info-box>svg{color:var(--accent-text);flex:none}.store-toast,.store-dialog .store-dialog-toast{color:var(--bg-base);background:var(--text-primary);border-radius:var(--radius-pill);justify-self:center;padding:10px 14px;font-size:.8rem;font-weight:700}.store-toast{z-index:60;inset:auto 12px calc(var(--bottom-nav-h) + 12px + env(safe-area-inset-bottom));align-items:center;gap:8px;width:fit-content;max-width:calc(100% - 24px);margin-inline:auto;display:flex;position:fixed}.store-toast svg{flex:none}@media (min-width:768px){.store-shell{--hero-width:46%;--stack-width:44%;--editor-width:38%}.store-desktop-nav{gap:4px;display:flex}.store-desktop-nav button{border-radius:var(--radius-pill);min-height:44px;color:var(--text-secondary);border:1px solid #0000;padding:0 11px;font-size:.82rem;font-weight:700}.store-bottom-nav{display:none}.store-main{padding-bottom:24px}.store-dialog,.store-dialog-profile,.store-dialog-account,.store-dialog-request,.store-dialog-inbox,.store-dialog-search{border-radius:var(--radius-lg);width:calc(100% - 32px);max-width:560px;height:auto;max-height:min(90dvh,800px);margin:auto;inset:0}.store-dialog-profile,.store-dialog-account,.store-dialog-info{max-width:460px}.store-toast{bottom:20px}}@media (min-width:1024px){.store-shell{--hero-width:38%;--stack-width:31%;--editor-width:28%;--compact-width:104px}.store-desktop-search{width:260px;margin-right:6px;display:block}.store-search-trigger{display:none}}@media (prefers-reduced-motion:reduce){.store-section-hero,.store-dialog[open]{animation:none}.store-dialog-detail{transition:none}.store-hero-card,.store-editor-card,.store-app-row,.store-popular{transform:none!important}}
