/* V5 storefront extension. Additive to the existing Venom identity. */
.store-page{padding-top:32px;padding-bottom:80px;min-height:65vh}
.store-page-intro{margin-bottom:24px}
.store-controls{padding:22px;border:1px solid #2c3a4e;border-radius:16px;background:linear-gradient(145deg,#111c2b,#0d1620);margin:14px 0 20px;box-shadow:0 14px 40px #0002}
.store-controls label,.store-library-controls label{display:grid;gap:7px;font-weight:650;font-size:12px;letter-spacing:.015em;color:#c9d1dd}
.store-query{max-width:850px}
.store-controls input,.store-controls select,.store-library-controls input,.store-library-controls select{box-sizing:border-box;width:100%;min-width:0;height:45px;border-radius:9px;border:1px solid #334359;background:#09131e;color:#f3f6fb;padding:10px 12px;font-size:15px;font-family:inherit}
.store-controls :is(input,select):focus-visible,.store-library-controls :is(input,select):focus-visible{outline:2px solid #c94b58;outline-offset:2px}
.store-filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:13px;margin-top:16px}
.store-tag-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:20px}
.store-tag-heading{font-size:12px;font-weight:750;color:#adb9c8;margin-right:4px}
.store-tag{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid #35465b;color:#d5dfeb;background:#162335;padding:7px 12px;font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer;text-decoration:none;white-space:nowrap}
.store-tag:hover,.store-tag:focus-visible{border-color:#e2707a;color:white}
.store-tag.chosen{background:#4b1e2a;border-color:#cf4d5a;color:#fff}
.store-clear{border:0;background:transparent;color:#e7a4a8;text-decoration:underline;cursor:pointer;padding:7px 10px;font-family:inherit;font-size:12px;font-weight:600;margin-left:auto}
.store-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0;color:#b6c3d0;font-size:13px}
.store-results-head strong{color:white;font-size:16px}
.store-grid{margin-top:12px}
.store-empty{grid-column:1/-1;border:1px dashed #394859;background:#101925;padding:38px 26px;border-radius:14px;text-align:center}
.store-empty h2,.store-empty h3{margin-top:0;color:#f3f6fa}
.store-empty p{color:#adb8c6;max-width:660px;margin:12px auto 24px}
.store-product-page{padding-bottom:75px}
.product-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;margin-bottom:12px}
.product-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(265px,0.8fr);gap:25px;margin-top:27px;align-items:start}
.product-main,.product-aside{display:grid;gap:20px;min-width:0}
.product-main .account-card,.product-aside .account-card{margin:0}
.product-long-copy{white-space:pre-line;line-height:1.75;overflow-wrap:anywhere}
.store-feature-list{display:grid;gap:12px;padding-left:22px;margin:12px 0 0;color:#d7e0eb}
.store-facts{display:grid;grid-template-columns:110px 1fr;gap:10px;font-size:13px;line-height:1.6}
.store-facts dt{color:#aebacc}.store-facts dd{color:#f4f6f8;margin:0;overflow-wrap:anywhere}
.product-access-status{padding:12px;background:#172438;border-left:3px solid #bb4d5a;border-radius:5px;line-height:1.55}
.product-aside .btn{margin:6px 0;display:inline-flex;max-width:100%;white-space:normal}
.product-gallery{padding:17px 0}.product-gallery h2{margin:0 0 16px}
.store-screenshot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:12px}
.store-screenshot-grid a{border-radius:12px;overflow:hidden;border:1px solid #3a475b;background:#132031;aspect-ratio:16/9;display:block}
.store-screenshot-grid a:focus-visible{outline:3px solid #ce5361}
.store-screenshot-grid img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.store-screenshot-grid a:hover img{transform:scale(1.035)}
.product-update{padding:12px 0;border-bottom:1px solid #2c394a}
.product-update:last-child{border-bottom:0}.product-update small{display:block;color:#adb4c5;margin-top:5px}.product-update p{white-space:pre-wrap;color:#d5deeb}
.store-dashboard-welcome{border:1px solid #304054;border-radius:17px;padding:30px;display:flex;justify-content:space-between;align-items:center;gap:25px;flex-wrap:wrap;background:radial-gradient(circle at 80% 0%,#273149 0%,#162335 40%,#111a28 100%)}
.store-dashboard-welcome h2{font-size:clamp(25px,3vw,37px);line-height:1.12;margin:6px 0 12px}
.store-dashboard-welcome p{max-width:680px;color:#bcc9d7}
.store-dashboard-count{border-radius:12px;border:1px solid #3a4b5e;display:grid;gap:3px;min-width:155px;text-align:center;padding:21px;background:#0c1725}
.store-dashboard-count strong{font-size:40px;line-height:1.1;font-variant-numeric:tabular-nums;color:white}
.store-dashboard-count span{font-size:12px;color:#b4c1cf}
.store-dash-section{margin-top:32px}.store-dash-section p{color:#bdc7d2}
.store-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.store-section-head a{color:#ef9ea5;font-weight:650;text-decoration:none}
.store-library-controls{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:12px 0 26px}
.store-library-controls label{flex:1 1 220px}.store-library-controls label:nth-child(2){flex:0 1 180px}
.store-library-list{display:grid;gap:14px}
.store-library-item{display:grid;grid-template-columns:minmax(120px,190px) 1fr;gap:23px;align-items:center;background:#111e2c;border:1px solid #314051;border-radius:13px;padding:15px}
.store-library-art{height:130px;border-radius:8px;overflow:hidden;background:#1c2837;display:flex;align-items:center;justify-content:center}
.store-library-art img{height:100%;width:100%;object-fit:cover}
.store-library-item h3{margin:3px 0 8px;color:white;font-size:21px}
.store-library-item p{margin:5px 0 10px;color:#b9c6d5}
.store-editor-preview{padding:15px;border-radius:10px;border:1px solid #344559;background:#132135;display:grid;gap:9px}
.store-editor-preview span{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.13em;color:#b6c2d1}
.store-editor-preview strong{font-size:19px}.store-editor-preview p{color:#b4c4d6;line-height:1.45;max-height:5em;overflow:hidden}
@media(max-width:860px){.product-layout{grid-template-columns:1fr}.product-aside{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}}
@media(max-width:560px){.store-controls{padding:15px}.store-filter-row{grid-template-columns:1fr 1fr}.store-dashboard-welcome{padding:20px}.store-dashboard-count{width:100%;box-sizing:border-box}.store-library-item{grid-template-columns:1fr;gap:12px}.store-library-art{height:160px}.store-facts{grid-template-columns:100px 1fr}.store-clear{margin-left:0}}
@media(max-width:370px){.store-filter-row{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.store-screenshot-grid img{transition:none}}
/* Focused admin sections keep the page from becoming one enormous form. */
.store-admin-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:22px 0 15px;padding:7px;background:#111d2c;border:1px solid #324154;border-radius:12px}
.store-admin-tab{border:1px solid transparent;background:transparent;color:#c5d0dd;border-radius:8px;padding:11px 13px;font:600 13px/1.25 system-ui,sans-serif;cursor:pointer}
.store-admin-tab.chosen{background:#54232d;color:#fff;border-color:#a84450}
.store-admin-tab:hover{color:#fff;border-color:#5b6474}
.store-admin-products,.store-admin-advanced,.admin-tool-section{display:none!important}
.store-admin-products.is-active,.store-admin-advanced.is-active,.admin-tool-section.is-active{display:block!important}
.admin-tool-grid{grid-template-columns:minmax(0,1fr)!important;max-width:900px}
.admin-tool-grid>.account-card{width:100%;box-sizing:border-box}
.store-admin-advanced>.account-card{max-width:900px}
@media(max-width:620px){.store-admin-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.store-admin-tab{white-space:nowrap;flex-shrink:0}}
/* v0.6: three-destination site navigation, contextual worlds, integrated account billing */
.store-page-intro{max-width:760px}
.store-page-intro h1{font-size:clamp(2rem,4vw,3.1rem)}
.store-controls{padding:22px 24px}
.store-query{max-width:none}
.store-filter-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.store-advanced-filters{margin-top:16px;border-top:1px solid #2b3d50;padding-top:14px}
.store-advanced-filters summary{font-size:13px;font-weight:700;color:#d6e0eb;cursor:pointer;display:table;list-style:revert}
.store-advanced-filters[open] .store-filter-row{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:15px}
.store-filter-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#93a4b5;margin-top:10px}
.store-filter-actions .store-clear{margin:0}
.store-product-worlds{margin:25px 0;padding:23px;border:1px solid #33465a;border-radius:15px;background:linear-gradient(120deg,#111b29,#0e1925)}
.store-world-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.store-world-heading h2{margin:3px 0 6px;font-size:23px}
.store-world-heading p{max-width:550px;font-size:13px;margin:0 0 6px}
.store-world-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:18px}
.store-world-card{padding:16px;background:#132033;border:1px solid #36495b;border-radius:10px;min-width:0}
.store-world-card p{font-size:13px;margin:7px 0 12px}
.store-world-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.store-world-top h3{font-size:17px;margin:0;overflow-wrap:anywhere}
.store-world-badge{font-size:11px;border:1px solid #5f5056;padding:4px 7px;border-radius:50px;color:#cbb2b9;white-space:nowrap}
.store-world-badge.online{color:#a7e4c5;border-color:#39825e}
.account-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.account-settings-grid>.account-card{margin:0}
.account-billing{grid-column:1/-1}
.account-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;padding:19px 22px;margin:0 0 20px;border:1px solid #34495c;border-radius:14px;background:#121f2e}
.account-summary>div{display:flex;align-items:center;gap:15px}
.account-summary h2{margin:0 0 4px;font-size:20px}
.account-summary p{font-size:13px;margin:0}
.account-summary>span{color:#bdd7d4;font-size:12px}
.account-quick-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}
.account-billing .account-plans{margin-top:18px;border-top:1px solid #364759;padding-top:14px}
.account-billing .account-plans summary{cursor:pointer;color:#d8e4f3;font-weight:700;font-size:13px}
.account-billing .account-plans .catalog-admin-grid{margin-top:17px}
.account-billing .account-plans .account-card{background:#1b2b3a}
.account-credit-balance{font-size:32px;font-weight:800;color:#f2f6fc;line-height:1.3}
.account-credit-balance span{font-size:12px;color:#cbd6df}
.account-admin-entry{margin-top:20px}
.local-start-help{max-width:840px;margin:70px auto 0;border:1px solid #bd5663;background:#17212d;padding:35px;border-radius:14px}
.local-start-help h1{font-size:clamp(2rem,4vw,3rem)}
.local-start-help p,.local-start-help li{color:#d3dfeb;line-height:1.75}
.local-start-help code{font-family:Consolas,monospace;color:#f6abb0}
.local-start-help ol{padding-left:24px;margin:16px 0 20px}
@media(max-width:960px){.store-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.store-advanced-filters[open] .store-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.account-settings-grid{grid-template-columns:1fr}.account-billing{grid-column:1}.store-product-worlds{padding:15px}.account-summary{padding:16px}.store-page-intro{margin-bottom:16px}}
@media(max-width:500px){.store-filter-row,.store-advanced-filters[open] .store-filter-row{grid-template-columns:1fr}.store-controls{padding:16px}.local-start-help{margin:25px 16px 0;padding:20px}}

/* v0.7: compact, predictable tag picker. Avoid the OS's very tall native select menu. */
.store-tag-picker-field{display:grid;gap:7px;min-width:0;color:#c9d1dd;font-weight:650;font-size:12px;letter-spacing:.015em;position:relative}
.store-tag-picker{position:relative;min-width:0;font-size:15px;font-weight:400;letter-spacing:normal}
.store-tag-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;box-sizing:border-box;height:45px;width:100%;min-width:0;padding:10px 12px;background:#09131e;border:1px solid #334359;border-radius:9px;color:#f3f6fb;cursor:pointer;list-style:none;user-select:none}
.store-tag-summary::-webkit-details-marker{display:none}
.store-tag-summary:focus-visible{outline:2px solid #c94b58;outline-offset:2px}
.store-tag-summary #catalogTagValue{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.store-tag-chevron{flex:0 0 7px;height:7px;border-right:1.7px solid #c5d0df;border-bottom:1.7px solid #c5d0df;transform:rotate(45deg) translateY(-2px)}
.store-tag-picker[open] .store-tag-chevron{transform:rotate(225deg) translateY(-1px)}
.store-tag-picker[open]{z-index:25}
.store-tag-panel{position:absolute;z-index:30;top:calc(100% + 7px);left:0;width:max(100%,260px);max-width:min(310px,calc(100vw - 40px));box-sizing:border-box;padding:10px;background:#111f2e;border:1px solid #486077;box-shadow:0 12px 30px #0009;border-radius:11px}
.store-tag-panel #catalogTagSearch{width:100%;height:41px;font-size:14px;min-height:41px}
.store-tag-options{margin-top:7px;max-height:208px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:2px;scrollbar-width:thin}
.store-tag-option{font:inherit;color:#e2e8ee;text-align:left;cursor:pointer;background:transparent;border:1px solid transparent;border-radius:7px;min-height:41px;padding:8px 12px;flex-shrink:0;overflow-wrap:anywhere}
.store-tag-option:hover,.store-tag-option:focus-visible{background:#29384c;border-color:#54708a;outline:none}
.store-tag-option.chosen{background:#4d2631;border-color:#b45464;color:#fff}
.store-tag-option[hidden]{display:none}
.store-tag-no-matches{font-size:12px;color:#b7c9da;text-align:center;padding:7px}
@media(max-width:600px){
 .store-tag-panel{position:static;box-shadow:none;max-width:none;width:100%;margin-top:6px;padding:9px}
 .store-tag-options{max-height:196px}
 .store-tag-option{min-height:44px}
 .store-controls select,.store-controls input,.store-tag-summary{min-height:44px;font-size:16px}
 .store-filter-actions{flex-wrap:wrap}
}
