/* Responsive finishing layer shared by store and studio. */
html{width:100%;scrollbar-gutter:stable}body{min-width:0}*,*::before,*::after{box-sizing:border-box}img,video,canvas{max-width:100%}input,select,textarea{max-width:100%}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}h1,h2,h3,p,strong,small{overflow-wrap:break-word}dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}.container{width:100%;max-width:1500px;padding-inline:clamp(16px,3vw,42px)}.catalog-main,.account-main,.product-sections,.product-intro,.card-body,.header-search,.profile-grid>*,.customer-grid>*,.admin-main,.panel,.editor-grid>*,.settings-grid>*{min-width:0}.catalog-layout{grid-template-columns:205px minmax(0,1fr)}.catalog-tools{display:flex;flex-wrap:wrap;gap:10px}.catalog-tools .search-form{flex:1 1 210px;min-width:0}.header-inner{gap:clamp(12px,2vw,28px)}.header-search{flex:1 1 180px;min-width:150px}.header-actions{flex-shrink:0}.account-layout{grid-template-columns:220px minmax(0,1fr)}.account-main .account-card{max-width:100%}.customer-order-filters{flex-wrap:wrap}.button-row,.account-section-actions{flex-wrap:wrap}.customer-secret,.code,.preserve-text{overflow-wrap:anywhere}.ticket-row{min-width:0}.ticket-row>span:first-child{min-width:0;overflow-wrap:anywhere}.ticket-message header{flex-wrap:wrap;gap:8px}.product-purchase{min-width:0}.product-main-art img{object-fit:contain}.toast,#toast{max-width:calc(100vw - 32px);overflow-wrap:anywhere}.site-footer .footer-top{flex-wrap:wrap}.admin-content{max-width:1800px;margin-inline:auto}.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.filters,.bulk-bar,.table-footer,.row-actions,.dialog-actions{flex-wrap:wrap;gap:10px}.editor-grid .field-pair{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-topbar{min-width:0}.operations-tabs{max-width:100%}.operation-record header span{overflow-wrap:anywhere}
@media(min-width:1500px){.catalog-main #catalogResults:not(.catalog-view-list) .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.discovery-shelf .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero h1{font-size:clamp(40px,3.2vw,54px)}.account-layout{grid-template-columns:240px minmax(0,1fr);gap:30px}}
@media(max-width:1180px){.header-inner{flex-wrap:wrap;min-height:82px;height:auto;padding-block:14px;gap:13px}.header-inner .header-search{order:3;flex-basis:100%;max-width:none}.header-inner .nav-links{display:none}.header-inner .header-actions{margin-left:auto}.catalog-layout{grid-template-columns:180px minmax(0,1fr);gap:22px}.catalog-main #catalogResults:not(.catalog-view-list) .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-layout{grid-template-columns:190px minmax(0,1fr);gap:20px}.customer-grid{grid-template-columns:1fr}.product-page-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.product-purchase{grid-column:2;position:static}.product-gallery{grid-row:1 / span 2}.analytics-grid{grid-template-columns:minmax(0,1fr)}.settings-row{gap:12px;flex-wrap:wrap}.download-row .button-row{flex-wrap:wrap}}
@media(max-width:760px){.catalog-layout{display:block}.catalog-layout>.sidebar{display:none}.catalog-layout>.sidebar.open{display:block;padding:18px;background:#fff;border:1px solid #dfe8f1;border-radius:12px;margin-bottom:20px}.mobile-filter-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px}.account-layout{display:block}.account-nav{position:static;margin-bottom:22px;padding:10px}.account-nav-person{display:none}.account-nav nav{display:flex;overflow-x:auto;gap:6px;padding:3px;overscroll-behavior-x:contain}.account-nav nav button{flex-direction:column;justify-content:center;min-width:84px;flex-shrink:0;text-align:center;font-size:12px;padding:10px 8px}.account-nav nav .wallet-nav-item{margin:0}.account-signout,.account-nav>.text-link{display:inline-flex;padding:12px 10px;font-size:12px}.product-content-layout{display:flex;flex-direction:column}.product-specs{width:100%}.product-page-top{display:flex;flex-direction:column}.product-gallery,.product-intro,.product-purchase{width:100%}.admin-app>.sidebar{z-index:1001;max-width:calc(100vw - 48px);height:100dvh;overflow-y:auto}.admin-main{margin-left:0}.admin-topbar{padding-inline:14px}.admin-content{padding:24px 16px 40px}.editor-grid{grid-template-columns:1fr;padding:18px}.upload-column{padding-left:0;border-left:0}.operations-body{padding:16px}.gallery-editor{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){input,textarea,.styled-select-trigger{font-size:16px!important}.header-inner{gap:10px}.header-inner .brand-name{max-width:none;font-size:23px}.header-actions{gap:5px}.header-actions .sign-in span{display:none}.header-actions .sign-in{padding:6px;min-height:38px}.header-actions .header-wallet{min-height:38px}.header-actions .header-cart{padding:7px;min-width:34px;min-height:38px}.header-actions .extra-action{display:none}.hero{padding:24px 20px}.hero h1{font-size:clamp(28px,7vw,38px)}.hero-buttons{flex-wrap:wrap;gap:12px}.hero-trust{flex-wrap:wrap}.floating-code{right:0}.catalog-heading{flex-wrap:wrap;gap:12px}.catalog-heading h2{font-size:22px}.catalog-tools .search-form{flex-basis:100%}.catalog-tools>.styled-select{flex:1;min-width:0}.account-welcome h1{font-size:24px}.account-section-heading{gap:12px;flex-wrap:wrap}.account-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.account-stats button{min-width:0}.account-stats strong{font-size:22px}.library-toolbar input{width:100%}.library-toolbar>.styled-select{flex:1 1 135px}.library-toolbar .styled-select-trigger{font-size:13px!important}.customer-wallet{padding:23px 78px 23px 20px}.customer-wallet strong{font-size:clamp(24px,6vw,34px);overflow-wrap:anywhere}.customer-list article>span{float:none;display:block;margin-top:6px}.telegram-support{gap:12px}.telegram-support .telegram-contact{margin-left:0}.payment-provider-strip{flex-wrap:wrap}.payment-summary h3{font-size:22px}.order-item{flex-wrap:wrap}.order-item>div{flex:1 1 150px}.order-meta{flex-wrap:wrap;gap:7px}.profile-grid{grid-template-columns:1fr}.login-form-wrap{padding-inline:20px}.admin-content .search{width:100%!important}.admin-content .filters{align-items:stretch}.filter-tabs{max-width:100%;overflow-x:auto}.editor-grid .field-pair{grid-template-columns:1fr}.dialog-header,.detail-body{padding:18px}.dialog-actions{padding:14px 18px;position:static}.dialog-actions .primary{min-height:42px}.operations-tabs{padding-inline:16px}.admin-topbar .crumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:110px}}
@media(max-width:420px){.header-inner .header-actions{order:2;flex-basis:100%;justify-content:space-between;margin:0}.header-inner .header-search{order:3}.header-actions .sign-in span{display:inline}.header-actions .header-wallet span{display:inline}.header-actions .header-wallet-mode{display:none}.header-actions .language-trigger{padding:7px}.account-stats{grid-template-columns:1fr}.account-stats button{display:flex;align-items:center;gap:12px}.account-stats strong{margin-top:0}.product-grid,.catalog-main #catalogResults:not(.catalog-view-list) .product-grid,.discovery-shelf .product-grid,.related-products .product-grid{grid-template-columns:minmax(0,1fr)}.catalog-view-list .product-card{grid-template-columns:85px minmax(0,1fr)}.product-card .card-button{width:auto}.product-buy-actions{grid-template-columns:1fr}.product-specs dl{grid-template-columns:1fr}.trust-strip{flex-wrap:wrap;justify-content:flex-start;gap:14px}.trust-item{font-size:12px}.stats-grid,.quick-actions-grid{grid-template-columns:1fr}.library-toolbar>.styled-select{flex-basis:100%}.admin-topbar .crumb{max-width:70px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:420px){.header-actions .header-wallet>span,.header-actions .sign-in>span{display:none}.header-actions .header-wallet{flex-shrink:1;min-width:0}.header-actions .header-wallet-balance{font-size:11px}.header-inner .header-actions{gap:4px}.admin-topbar .topbar-tools{min-width:0}}
/* Horizontal catalog rows: full available width, compact height. */
.catalog-view-list .product-grid{max-width:none;width:100%;margin-inline:0;gap:10px}.catalog-view-list .product-card{grid-template-columns:120px minmax(0,1fr);min-height:112px}.catalog-view-list .product-art{height:100%;min-height:112px;max-height:none}.catalog-view-list .card-body{display:grid;grid-template-columns:minmax(0,1fr) 165px;grid-template-rows:auto auto auto auto;column-gap:22px;row-gap:3px;padding:12px 16px}.catalog-view-list .card-topline{grid-column:1;grid-row:1;margin:0;min-height:18px}.catalog-view-list .card-title{grid-column:1;grid-row:2;font-size:15px;line-height:1.4;align-self:center}.catalog-view-list .card-description{grid-column:1;grid-row:3;margin:1px 0;min-height:0;font-size:12px;line-height:1.5;-webkit-line-clamp:1}.catalog-view-list .card-meta{grid-column:1;grid-row:4;margin:2px 0 0;font-size:11px;line-height:1.4}.catalog-view-list .card-bottom{grid-column:2;grid-row:1 / 5;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:7px;padding:0 0 0 16px;margin:0;border-top:0;border-left:1px solid #e7edf4;min-width:0}.catalog-view-list .price-block{text-align:right;align-items:flex-end;gap:1px}.catalog-view-list .price{font-size:20px}.catalog-view-list .reference-note{max-width:none;font-size:11px}.catalog-view-list .card-button{width:auto;min-width:120px;min-height:32px;margin:0}.catalog-view-list .card-utilities button{width:22px;height:22px;padding:4px}.catalog-view-list .sample-tag{font-size:11px;top:6px;right:6px}.catalog-view-list .platform-tag{font-size:11px;bottom:6px;left:6px}
@media(max-width:700px){.catalog-view-list .product-card{grid-template-columns:90px minmax(0,1fr)}.catalog-view-list .card-body{grid-template-columns:minmax(0,1fr) 120px;column-gap:12px;padding:10px 12px}.catalog-view-list .card-bottom{padding-left:10px}.catalog-view-list .card-button{min-width:0;font-size:11px;padding:7px 9px}.catalog-view-list .price{font-size:17px}.catalog-view-list .card-title{font-size:14px}}
@media(max-width:480px){.catalog-view-list .product-card{grid-template-columns:78px minmax(0,1fr)}.catalog-view-list .product-art{min-height:125px}.catalog-view-list .card-body{grid-template-columns:minmax(0,1fr);gap:3px;padding:10px}.catalog-view-list .card-description{display:none}.catalog-view-list .card-meta{grid-row:3}.catalog-view-list .card-bottom{grid-column:1;grid-row:4;flex-direction:row;justify-content:space-between;align-items:center;border:0;padding:5px 0 0;gap:8px}.catalog-view-list .price-block{text-align:left;align-items:flex-start}.catalog-view-list .reference-note{display:none}.catalog-view-list .card-topline .card-category{font-size:11px}.catalog-view-list .card-button{font-size:11px}.catalog-view-list .sample-tag{font-size:11px;padding:3px}}
/* One compact introduction + discovery panel above the main catalog. */
.home-overview{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:32px;align-items:center;margin:24px 0;background:linear-gradient(110deg,#eaf5ff,#fff);border:1px solid #dce8f5;border-radius:18px;padding:25px 28px}.overview-intro{min-width:0}.overview-intro .eyebrow{font-size:11px;letter-spacing:1.5px}.overview-intro h1{font-size:clamp(23px,2.4vw,34px);line-height:1.2;letter-spacing:-1px;color:#203b58;margin:12px 0}.overview-intro h1 span{display:block;color:#008dff;font-size:.75em;margin-top:5px;letter-spacing:-.4px}.overview-intro>p{font-size:13px;line-height:1.65;color:#63768c;max-width:480px}.overview-intro .hero-buttons{margin-top:17px;gap:15px;flex-wrap:wrap}.overview-intro .hero-buttons .primary{padding:10px 14px;min-height:37px}.overview-intro .text-link{font-size:12px}.overview-platforms{display:flex;flex-wrap:wrap;gap:14px;margin-top:18px;color:#56718b;font-size:11px}.overview-platforms span{display:flex;align-items:center;gap:6px}.home-overview .discovery-shelf{margin:0;padding:0;background:transparent;border:0;border-radius:0;min-width:0}.home-overview .discovery-tabs{gap:6px;margin-bottom:12px}.home-overview .discovery-tabs button{padding:8px 10px;font-size:11px;border:1px solid #e0eaf5;background:#fff}.home-overview .discovery-tabs button.active{background:#008dff;border-color:#008dff;color:#fff}.home-overview .discovery-shelf .product-grid{grid-template-columns:1fr;gap:8px}.home-overview .product-card{display:grid;grid-template-columns:72px minmax(0,1fr);border-radius:10px;box-shadow:none;min-height:66px}.home-overview .product-card .product-art{height:100%;min-height:66px;aspect-ratio:auto;border-radius:9px 0 0 9px}.home-overview .product-card .product-art img{object-fit:cover}.home-overview .product-card .platform-tag,.home-overview .product-card .sample-tag,.home-overview .product-card .card-topline,.home-overview .product-card .card-description,.home-overview .product-card .card-meta,.home-overview .product-card .reference-note,.home-overview .product-card .price-block del{display:none}.home-overview .product-card .card-body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 13px}.home-overview .product-card .card-title{font-size:13px;text-align:left;line-height:1.45}.home-overview .product-card .card-bottom{border:0;margin:0;padding:0;gap:7px;justify-content:flex-end}.home-overview .product-card .price{font-size:15px;white-space:nowrap}.home-overview .product-card .price small{font-size:11px}.home-overview .product-card .card-button{font-size:11px;min-height:29px;padding:6px 8px;width:auto}.home-overview .product-card .card-button svg{width:12px;height:12px}.home-overview .discovery-empty{padding:22px 12px;font-size:13px}.home-overview+.catalog-layout{margin-top:26px}
@media(max-width:1100px){.home-overview{gap:22px;padding:22px}.home-overview .product-card .card-button{display:none}.overview-intro h1{font-size:27px}.home-overview .product-card .card-bottom{flex-wrap:nowrap}.home-overview .discovery-tabs{overflow-x:auto}}@media(max-width:760px){.home-overview{grid-template-columns:1fr;gap:20px;padding:20px;margin-top:18px}.overview-intro h1{font-size:27px}.overview-intro>p{font-size:12px;max-width:none}.overview-platforms{margin-top:13px}.home-overview .product-card .card-button{display:inline-flex}.home-overview .discovery-shelf .product-card:last-child:nth-child(odd){grid-column:auto}}@media(max-width:420px){.home-overview{padding:16px}.home-overview .product-card{grid-template-columns:56px minmax(0,1fr)}.home-overview .product-card .card-body{padding:10px;gap:8px}.home-overview .product-card .card-button{display:none}.home-overview .product-card .price{font-size:14px}.overview-platforms{gap:9px}}
main.search-active>.home-overview,main.search-active>#discoveryShelf{display:none}main.search-active>.catalog-layout{margin-top:24px}
.product-sharing{margin-top:20px;padding-top:15px;border-top:1px solid #e5edf5}.product-sharing>strong{font-size:12px;font-weight:600;color:#587087;display:block;margin-bottom:10px}.share-buttons{display:flex;flex-wrap:wrap;gap:7px}.share-network,.share-copy{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;border:1px solid #dde7f1;border-radius:8px;background:#fff;font-size:12px;font-weight:600;color:#47627b;min-height:34px}.share-network>span:first-child{font-size:15px;font-weight:750;line-height:1}.share-telegram{color:#168dbf;background:#edf9ff;border-color:#cfebf8}.share-whatsapp{color:#178849;background:#effaf3;border-color:#d7efdf}.share-facebook{color:#2169d2;background:#eff5ff;border-color:#dce8fa}.share-x{color:#26323e;background:#f4f6f8}.share-network:hover,.share-copy:hover{filter:brightness(.96)}.share-url{width:100%;padding:13px;font-size:14px;border:1px solid #c9dcec;border-radius:8px}.footer-social{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.product-card [data-share-product]{color:#168dbf}.product-sharing .ui-icon{width:16px;height:16px}@media(max-width:640px){.share-buttons{gap:6px}.share-network,.share-copy{min-height:40px;padding:9px 11px}.product-card .card-utilities{display:flex;flex-wrap:wrap}.footer-social{gap:8px}}

/* Automatic product covers: platform color and category folder. */
.auto-cover{--cover-accent:#0864df;--cover-end:#178bff;--cover-bg:#dceeff;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;height:100%;min-height:inherit;padding:24px 12px;background:var(--cover-bg);color:#10233f;overflow:hidden;text-align:center;box-sizing:border-box;container-type:inline-size}
.auto-cover.cover-mt5{--cover-accent:#6823d3;--cover-end:#a253ff;--cover-bg:#eee2ff}.auto-cover.cover-dual{--cover-accent:#0876e8;--cover-end:#7924df;--cover-bg:#e4e7ff}
.auto-cover::before,.auto-cover::after{content:none}
.cover-folder{display:flex;position:relative;align-items:center;justify-content:center;width:30%;max-width:110px;aspect-ratio:1.25;border-radius:9px;background:linear-gradient(125deg,var(--cover-accent),var(--cover-end));color:white;margin-top:8px}.cover-folder::before{content:'';position:absolute;top:-6px;left:0;width:44%;height:12px;border-radius:6px 6px 0 0;background:var(--cover-accent)}.cover-folder svg{width:60%;height:60%}
.auto-cover .cover-name{color:#10233f!important;font-size:clamp(13px,8cqi,34px);font-weight:800;line-height:1.12;overflow-wrap:anywhere;max-width:100%}.cover-category{font-size:clamp(7px,3cqi,12px);letter-spacing:1px;font-weight:700;color:#455371}.cover-platform{font-size:clamp(9px,4cqi,17px);font-weight:800;color:#fff;background:linear-gradient(110deg,var(--cover-accent),var(--cover-end));padding:5px 13px;border-radius:20px;white-space:nowrap}
.product-art:has(.auto-cover){background:transparent}.product-art:has(.auto-cover)>.platform-tag{display:none}.product-art:has(.auto-cover)>.sample-tag{display:none}
.catalog-view-list .auto-cover{padding:12px 6px;gap:5px}.catalog-view-list .cover-folder{width:30px;margin-top:3px;border-radius:4px}.catalog-view-list .cover-platform{padding:3px 7px}.catalog-view-list .cover-category{letter-spacing:.4px}
.home-overview .auto-cover{padding:8px 4px;gap:4px}.home-overview .cover-folder{width:24px;margin-top:2px;border-radius:4px}.home-overview .cover-name{font-size:10px}.home-overview .cover-category{display:none}.home-overview .cover-platform{font-size:8px;padding:2px 5px}
.product-main-art>.auto-cover{min-height:430px;gap:20px;padding:36px}.gallery-thumbnail .auto-cover{padding:7px 3px;gap:3px}.gallery-thumbnail .cover-folder,.gallery-thumbnail .cover-category{display:none}.gallery-thumbnail .cover-name{font-size:9px}.gallery-thumbnail .cover-platform{font-size:7px;padding:2px 4px}
.cart-item>.auto-cover,.order-item .auto-cover{width:64px;height:70px;flex-shrink:0;padding:6px;gap:4px;border-radius:8px}.cart-item>.auto-cover .cover-folder,.order-item .auto-cover .cover-folder,.cart-item>.auto-cover .cover-category,.order-item .auto-cover .cover-category{display:none}.cart-item>.auto-cover .cover-name,.order-item .auto-cover .cover-name{font-size:10px}.cart-item>.auto-cover .cover-platform,.order-item .auto-cover .cover-platform{font-size:8px;padding:2px 4px}.compare-item>.auto-cover{height:220px}
@media(max-width:480px){.product-main-art>.auto-cover{min-height:300px;padding:22px}.catalog-view-list .auto-cover .cover-name{font-size:11px}.catalog-view-list .cover-platform{font-size:8px;padding:3px 5px}}

/* Name first, category presented as a compact badge. */
.product-card .card-title{font-size:20px;font-weight:750;line-height:1.3;margin:0 0 8px;text-align:left}
.product-card .card-category{display:inline-flex;align-items:center;width:fit-content;padding:4px 9px;border:1px solid #cfe5ff;border-radius:6px;background:#edf6ff;color:#1765ac;font-size:12px;font-weight:650;line-height:1.4;letter-spacing:0;text-transform:none}
.product-card .card-topline{margin:0 0 8px;gap:8px}
.catalog-view-list .card-title{grid-row:1;font-size:19px;margin:0 0 3px}.catalog-view-list .card-topline{grid-row:2;margin:0 0 3px}.catalog-view-list .card-topline .card-category{font-size:12px}
.home-overview .product-card .card-title{font-size:15px;margin:0}
html[data-theme=dark] .product-card .card-category{background:#193955;color:#93ccff;border-color:#315573}
@media(max-width:480px){.catalog-view-list .card-title{font-size:16px}.catalog-view-list .card-topline .card-category{font-size:11px;padding:3px 6px}.catalog-view-list .card-topline{flex-wrap:wrap}.home-overview .product-card .card-title{font-size:13px}}

/* Anchor discovery tabs and reserve the three-row shelf when empty. */
.home-overview .overview-products{align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start;min-width:0}
.home-overview .overview-products .discovery-tabs{flex:0 0 auto;align-content:flex-start}
.home-overview .overview-products>.product-grid{min-height:260px;align-content:start;flex:1}
.home-overview .overview-products .discovery-empty{margin:0;align-self:start}
@media(max-width:480px){.home-overview .overview-products>.product-grid{min-height:280px}}

/* Keep the category badge beside the product name. */
.product-card .card-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0;margin-bottom:7px}
.product-card .card-heading .card-title{margin:0}
.product-card .card-heading .card-category{flex-shrink:0;font-size:12px}
.catalog-view-list .card-heading{grid-column:1;grid-row:1;margin:0 0 3px}
.catalog-view-list .card-heading .card-title{font-size:19px}
.catalog-view-list .card-topline{grid-row:2;justify-content:flex-end}
.home-overview .product-card .card-heading{margin:0;gap:4px}
.home-overview .product-card .card-heading .card-category{display:none}
.home-overview .product-card .card-heading .card-title{font-size:15px}
@media(max-width:480px){.catalog-view-list .card-heading{gap:4px 8px}.catalog-view-list .card-heading .card-title{font-size:16px}.catalog-view-list .card-heading .card-category{font-size:11px;padding:3px 6px}.home-overview .product-card .card-heading .card-title{font-size:13px}}
.google-signin{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 16px;margin:0 0 18px;border:1px solid #cbd5e1;border-radius:9px;background:white;color:#24364c;font-weight:600;text-decoration:none}.google-signin>span{font:bold 24px Arial;color:#4285f4}.google-signin:hover{background:#f3f7fc}html[data-theme=dark] .google-signin{background:#243449;color:#e2eaf5;border-color:#42556d}

.card-heading .card-label{display:inline-flex;align-items:center;flex-shrink:0;padding:4px 8px;border:1px solid transparent;border-radius:6px;font-size:12px;font-weight:650;line-height:1.4;white-space:nowrap}.card-heading{column-gap:8px!important}.card-label.platform-four{color:#1765ac;background:#edf6ff;border-color:#cfe5ff}.card-label.platform-five{color:#7137b8;background:#f3ebff;border-color:#e4d4fc}.card-label.platform-both{color:#5440ad;background:#eeedff;border-color:#dad7fa}.card-label.access-free{color:#137653;background:#e7f8ef;border-color:#bce8d2}.card-label.access-paid{color:#92600c;background:#fff5dd;border-color:#f2dfad}.home-overview .card-heading .card-label{display:none}html[data-theme=dark] .card-label.platform-four{color:#91caff;background:#1e3850;border-color:#315777}html[data-theme=dark] .card-label.platform-five,html[data-theme=dark] .card-label.platform-both{color:#ccb3ff;background:#342848;border-color:#594170}html[data-theme=dark] .card-label.access-free{color:#84dfb1;background:#183d30;border-color:#2f624e}html[data-theme=dark] .card-label.access-paid{color:#f0ce84;background:#413720;border-color:#685536}@media(max-width:480px){.card-heading .card-label{font-size:11px;padding:3px 6px}}

/* Shared metrics prevent category/platform/access badges from sitting at different heights. */
.product-card .card-heading{align-items:center;align-content:center;row-gap:7px;column-gap:8px!important}
.product-card .card-heading .card-title{display:block;align-self:center;padding:0;margin:0;line-height:26px}
.product-card .card-heading :is(.card-category,.card-label){display:inline-flex;align-items:center;justify-content:center;align-self:center;box-sizing:border-box;height:24px;min-height:24px;margin:0;padding:0 8px;font-size:11px;font-weight:600;line-height:1;border-radius:6px;vertical-align:middle}
@media(max-width:480px){.product-card .card-heading{gap:6px!important}.product-card .card-heading .card-title{line-height:23px}.product-card .card-heading :is(.card-category,.card-label){height:22px;min-height:22px;font-size:11px;padding:0 6px}}
.home-overview .product-card .card-heading :is(.card-category,.card-label){display:none}
.product-card .card-heading .category-ea{color:#1765ac;background:#edf6ff;border-color:#cfe5ff}.product-card .card-heading .category-indicator{color:#087c78;background:#e5f8f5;border-color:#a9e4da}.product-card .card-heading .category-script{color:#a65a13;background:#fff0e2;border-color:#f5d2ac}
html[data-theme=dark] .product-card .card-heading .category-ea{color:#94caff!important;background:#1e3850;border-color:#315777}html[data-theme=dark] .product-card .card-heading .category-indicator{color:#80e0d4!important;background:#183e3b;border-color:#30625c}html[data-theme=dark] .product-card .card-heading .category-script{color:#ffc38a!important;background:#45311e;border-color:#705034}

/* Category-colored hover and keyboard focus without moving the cards. */
.product-card{--hover-fill:#eef6ff;--hover-line:#8bc1fb;--hover-shadow:#1684ed16;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
.product-card:has(.category-indicator){--hover-fill:#edf9f6;--hover-line:#78cfc0;--hover-shadow:#099f8416}
.product-card:has(.category-script){--hover-fill:#fff6ec;--hover-line:#efbb83;--hover-shadow:#e8872116}
@media(hover:hover){.product-card:hover{background-color:var(--hover-fill);border-color:var(--hover-line);box-shadow:0 5px 18px var(--hover-shadow)}.product-card:hover .card-body{background-color:var(--hover-fill)}}
.product-card:focus-within{background-color:var(--hover-fill);border-color:var(--hover-line)}.product-card:focus-within .card-body{background-color:var(--hover-fill)}
html[data-theme=dark] .product-card{--hover-fill:#20344c;--hover-line:#447aad;--hover-shadow:#0003}html[data-theme=dark] .product-card:has(.category-indicator){--hover-fill:#1b3838;--hover-line:#3f8e81}html[data-theme=dark] .product-card:has(.category-script){--hover-fill:#393025;--hover-line:#aa7945}
@media(hover:hover){html[data-theme=dark] .product-card:hover,html[data-theme=dark] .product-card:hover .card-body{background:var(--hover-fill)!important;border-color:var(--hover-line)!important}}
html[data-theme=dark] .product-card:focus-within,html[data-theme=dark] .product-card:focus-within .card-body{background:var(--hover-fill)!important;border-color:var(--hover-line)!important}
@media(prefers-reduced-motion:reduce){.product-card{transition:none}}

.product-full-description{white-space:pre-line;overflow-wrap:anywhere}.product-intro .product-lead{overflow-wrap:anywhere}

.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:18px;padding:24px 0;color:#6c819b;font-size:13px}.catalog-pagination button{display:inline-flex;align-items:center;gap:8px;min-height:42px}

/* Storefront design audit: readable details and usable controls. */
#app .header-search{overflow:visible;position:relative}#app .header-search>input{min-width:0;border-radius:11px 0 0 11px}#app .header-search>button{flex-shrink:0;border-radius:0 10px 10px 0}
#app :is(button,a,input,select,textarea):focus-visible{outline:2px solid #008dff;outline-offset:3px}
#app :is(.price,.section-meta,.count,.catalog-pagination,.intro-specs dd){font-variant-numeric:tabular-nums}
#app :is(.product-intro h1,.section-divider h2,.catalog-heading h2){text-wrap:balance}
#app .product-intro .detail-features li{font-size:13px;line-height:1.65;color:#52657b}#app .product-intro .detail-features svg{flex-shrink:0}
#app .product-content-card>p{max-width:78ch;overflow-wrap:anywhere}#app .product-full-description{line-height:1.85}
#app .product-gallery-meta{flex-wrap:wrap;gap:10px 18px;line-height:1.5}
#app .product-card .card-utilities{flex-wrap:nowrap;gap:4px}#app .product-card .card-utilities button{width:36px;height:36px;min-width:36px;padding:9px}
#app .catalog-view-toggle button{min-width:38px;min-height:38px}#app .filter-button{min-height:42px}#app .filter-check{min-height:34px}
#app .catalog-pagination{flex-wrap:wrap}#app .catalog-pagination button{min-width:140px}
html[data-theme=dark] #app .product-intro .detail-features li{color:#b6c9e1}
@media(max-width:760px){#app .product-page-top{gap:20px;padding:16px}#app .product-intro h1{font-size:clamp(23px,5vw,29px)}#app .product-content-layout{gap:18px;margin-top:22px}#app .product-content-card{padding:20px}#app .product-card .card-utilities button{width:40px;height:40px;min-width:40px}#app .product-buy-actions :is(a,button){min-height:46px}#app .product-purchase{padding:18px}#app .product-gallery{grid-row:auto}#app .header-search input{font-size:16px}#app .search-form input{font-size:16px}}
@media(prefers-reduced-motion:reduce){#app *,#app *::before,#app *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Compact header: secondary destinations grouped under Account. */
#app .header-actions{gap:10px;flex-wrap:nowrap}#app .header-wallet{gap:7px;padding:8px 10px;min-height:40px}#app .header-wallet>span{display:none}#app .header-wallet-balance{border:0;padding:0;white-space:nowrap}#app .header-wallet-mode{font-size:11px}
.header-account-menu{position:relative;flex-shrink:0}.header-account-menu>summary{list-style:none;cursor:pointer;min-height:40px;display:flex;gap:7px;align-items:center}.header-account-menu>summary::-webkit-details-marker{display:none}.header-account-popover{position:absolute;right:0;top:calc(100% + 10px);z-index:100;min-width:205px;padding:7px;background:#fff;border:1px solid #dce7f5;border-radius:12px;box-shadow:0 12px 32px #18365320}.header-account-popover :is(button,a){display:flex;align-items:center;gap:11px;width:100%;min-height:42px;padding:10px 12px;color:#395570;font-size:13px;border-radius:7px;background:transparent;text-decoration:none;text-align:left}.header-account-popover :is(button,a):hover{background:#edf6ff;color:#008dff}
#app .theme-switch{padding:3px}#app .theme-switch [aria-pressed=true]{display:none}#app .theme-switch button{width:32px;height:32px}
html[data-theme=dark] .header-account-popover{background:#192436;border-color:#354962}html[data-theme=dark] .header-account-popover :is(button,a){color:#c4d8ee}html[data-theme=dark] .header-account-popover :is(button,a):hover{background:#24405b}
@media(max-width:600px){#app .header-actions{gap:6px}#app .header-account-menu>summary{padding:9px}#app .header-account-menu>summary span{display:none}#app .header-wallet{padding:7px}#app .header-wallet-balance{font-size:12px}}

.header-account-popover{width:240px;max-width:calc(100vw - 32px)}.account-menu-language{padding:7px 5px 12px;margin-bottom:5px;border-bottom:1px solid #e1eaf4}.account-menu-label{display:block;padding:0 8px 7px;font-size:12px;color:#74869b}.account-menu-language .language-picker{width:100%}.account-menu-language .language-trigger{width:100%;justify-content:flex-start}.account-menu-language .language-menu{position:static;width:100%;min-width:0;box-shadow:none;margin-top:6px}.account-menu-language .language-menu[hidden]{display:none}.header-account-popover .language-flag{flex-shrink:0}html[data-theme=dark] .account-menu-language{border-color:#354962}

#app .header-actions .header-account-menu{order:100}#app .header-actions .theme-switch{order:90}

#referralDialog{width:min(620px,94vw);padding:22px}#referralDialog label{display:grid;gap:8px;margin:16px 0}#referralDialog input:not([type=checkbox]){width:100%;padding:12px;border:1px solid #cadcf0;border-radius:8px}#referralDialog p{line-height:1.6;margin:14px 0}.referral-reward{display:grid;gap:8px;padding:14px 0;border-bottom:1px solid #cadcf0}

#referralDialog{padding:0;width:min(620px,calc(100vw - 28px));max-height:90dvh;border:1px solid #dce7f4;border-radius:20px;box-shadow:0 24px 80px #132d5033;color:#243b56;background:#fff}#referralDialog::backdrop{background:#10233e66;backdrop-filter:blur(5px)}#referralDialog .dialog-header{display:flex;align-items:center;justify-content:space-between;padding:24px 26px;border-bottom:1px solid #e7eef6}#referralDialog h2{margin:4px 0 0;font-size:25px;color:#183453}.referral-eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:700;color:#008dff}#referralDialog [data-referral-close]{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;background:#eff5fb;color:#56718d;font-size:24px;cursor:pointer}#referralDialog .detail-body{padding:24px 26px}#referralDialog .referral-program-status{display:inline-flex;margin:0;padding:7px 11px;border-radius:7px;background:#f2f5f9;color:#677b92;font-size:12px}#referralDialog .referral-program-status.is-active{background:#e7f8f1;color:#168363}#referralDialog .referral-intro{font-size:14px;color:#61768d;margin:15px 0 22px}.referral-link-box{padding:16px;background:#f3f8fe;border:1px solid #dceafa;border-radius:12px}#referralDialog .referral-link-box label{margin:0 0 10px;font-size:12px;font-weight:600}.referral-copy-row{display:flex;gap:8px;min-width:0}#referralDialog .referral-copy-row input{min-width:0;flex:1;font-size:12px;background:#fff}#referralDialog .referral-copy-row button{flex-shrink:0;white-space:nowrap;padding:10px 14px;min-height:44px}.referral-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 27px}.referral-stats>div{padding:15px 12px;border:1px solid #e1eaf4;border-radius:12px}.referral-stats span{display:block;color:#71849a;font-size:12px;margin-bottom:9px}.referral-stats strong{font-size:21px;font-variant-numeric:tabular-nums;color:#1e4269}.referral-stats small{font-size:11px}#referralDialog h3{font-size:16px;margin:0 0 14px;color:#25415f}.referral-empty{text-align:center;padding:20px;border:1px dashed #d8e4f0;border-radius:12px}.referral-empty>span{display:grid;place-items:center;margin:0 auto 10px;width:35px;height:35px;background:#edf6ff;color:#008dff;border-radius:10px;font-size:22px}.referral-empty strong{display:block;font-size:13px}#referralDialog .referral-empty p{font-size:12px;color:#789;margin:8px 0 0}#referralError:empty{display:none}html[data-theme=dark] #referralDialog{background:#192436;color:#d8e6f7;border-color:#344960}html[data-theme=dark] #referralDialog :is(.referral-link-box,.referral-program-status,.referral-empty>span){background:#22354b;color:#b7cee5}html[data-theme=dark] #referralDialog :is(.referral-stats strong,h3){color:#d6eaff}html[data-theme=dark] #referralDialog :is(.dialog-header,.referral-stats>div,.referral-link-box,.referral-empty){border-color:#344960}@media(max-width:480px){#referralDialog :is(.dialog-header,.detail-body){padding:20px 16px}.referral-copy-row{flex-direction:column}.referral-stats{gap:6px}.referral-stats>div{padding:12px 8px}.referral-stats strong{font-size:18px}}

#referralDialog [data-referral-close]{flex:0 0 40px;width:40px;height:40px;padding:10px;line-height:1;margin:0 0 0 16px;align-self:flex-start}#referralDialog [data-referral-close]:hover{background:#dfedfc;color:#0074d4}#referralDialog [data-referral-close]:focus-visible{outline:2px solid #008dff;outline-offset:3px}html[data-theme=dark] #referralDialog [data-referral-close]{background:#283c53;color:#bdd8f4}

#referralDialog label[hidden]{display:none}#referralDialog select{padding:12px;border:1px solid #cadcf0;border-radius:8px;width:100%;background:transparent;color:inherit}

#referralDialog label.referral-enable{display:flex;align-items:center;gap:10px;margin:0 0 22px;min-height:44px;cursor:pointer;font-weight:600}#referralDialog .referral-enable input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:0;padding:0;accent-color:#008dff}#referralDialog .referral-enable span{line-height:1.5}

.order-item .order-product-image{display:block;width:64px;height:70px;flex:0 0 64px;border-radius:8px;overflow:hidden}.order-product-image img{width:100%;height:70px;object-fit:cover}.order-product-image .art-placeholder{min-height:70px}.order-product-name{display:inline-block;padding:8px 0}.order-product-name:hover{text-decoration:underline;color:#008dff}

/* Compact artwork must remain bounded independently of link wrappers. */
.order-item .auto-cover,.cart-item .auto-cover{flex:0 0 64px;width:64px;height:70px;min-height:0;overflow:hidden}
:is(.order-item,.cart-item) .auto-cover .cover-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.15;max-width:100%;overflow-wrap:anywhere}
:is(.order-item,.cart-item) .auto-cover .cover-platform{max-width:100%;font-size:8px;padding:2px 3px}
.order-item .order-product-image>img{width:64px;height:70px;display:block;object-fit:cover}
.order-item .order-product-image>.art-placeholder{height:70px;min-height:0}
.order-item-actions :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 10px;line-height:1.4;text-align:center}
.order-item-actions{gap:4px}.order-top,.review-top,.review-head{flex-wrap:wrap;gap:8px}
:is(.order-number,.review-meta,.review-card p,.customer-list article,.download-info,.referral-reward){overflow-wrap:anywhere;min-width:0}
.header-account-menu>summary:focus-visible{outline:2px solid #008dff;outline-offset:3px}
.header-account-popover{max-height:calc(100dvh - 120px);overflow-y:auto;overscroll-behavior:contain}
@media(max-width:640px){.order-item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px 12px}.order-item>.order-item-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;justify-content:flex-start}.order-item-actions :is(a,button){min-height:44px}.customer-order-filters>*{max-width:100%;min-width:0}.download-row{flex-wrap:wrap}.download-row>.button-row{flex-basis:100%}.review-head time{white-space:normal}.referral-stats{grid-template-columns:1fr}.referral-stats>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.referral-stats span{margin:0}}
html[data-theme=dark] #referralDialog h2{color:#d6eaff}
html[data-theme=dark] #referralDialog :is(input:not([type=checkbox]),select){background:#22354b;color:#d8e6f7;border-color:#435b76}
html[data-theme=dark] .catalog-layout>.sidebar.open{background:#192436;border-color:#354962}
