#view-apps [hidden]{display:none!important}.store-tabs{display:flex;gap:28px;border-bottom:1px solid #dce1e8;margin-bottom:28px}.store-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:15px 0;color:#687787;font-weight:600;font-size:15px}.store-tabs button[aria-selected=true]{border-color:#1678ef;color:#172a40}.store-tabs span{font-size:9px;letter-spacing:.1em;background:#e7effa;color:#1763b6;border-radius:4px;margin-left:10px;padding:5px}.store-hero{display:flex;gap:28px;align-items:center;padding:34px 36px;background:linear-gradient(115deg,#101e2c,#203f58);border-radius:20px;color:#fff;position:relative;overflow:hidden}.store-brand{width:134px;height:134px;object-fit:contain;flex-shrink:0}.store-eyebrow{font-size:10px;font-weight:700;letter-spacing:.15em;color:#7e94a8}.store-hero .store-eyebrow{color:#9ec2df}.store-hero h2{font-size:clamp(24px,2.5vw,38px);letter-spacing:-.035em;font-weight:500;margin:10px 0}.store-hero p{color:#bdd0df;margin:0;line-height:1.6}.store-primary,.store-secondary{border:0;border-radius:9px;font-weight:600;padding:13px 19px;cursor:pointer;transition:background .2s,transform .2s}.store-primary{background:#1678ed;color:#fff}.store-primary:hover{background:#0965d0;transform:translateY(-1px)}.store-hero .store-primary{margin-left:auto;white-space:nowrap;background:#eef5fa;color:#19364d}.store-secondary{background:#eaf0f6;color:#344b60}.store-metrics{display:flex;padding:27px 0 32px;gap:48px;align-items:center}.store-metrics>div{display:flex;gap:12px;align-items:center}.store-metrics strong{font-size:26px;font-weight:500;letter-spacing:-.05em;color:#19324a}.store-metrics span{font-size:12px;color:#748396}.store-sync{margin-left:auto}.store-sync i{width:7px;height:7px;border-radius:50%;background:#26b380;box-shadow:0 0 0 4px #26b38015}.store-toolbar{display:flex;align-items:center;gap:12px;margin:5px 0 22px}.store-toolbar>div:first-child{margin-right:auto}.store-toolbar h3{font-size:23px;font-weight:600;letter-spacing:-.04em;margin:5px 0}.store-search{display:flex;gap:10px;align-items:center;padding:0 13px;background:white;border:1px solid #dce4ed;border-radius:9px;min-width:240px}.store-search input{padding:12px 0;border:0!important;background:transparent;outline:none;min-width:0;width:100%}.store-search:focus-within{outline:2px solid #7eb4f8}.store-toolbar select{padding:12px;border:1px solid #dce4ed;border-radius:9px;background:white;color:#53657a}.store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.store-app{background:#fff;border:1px solid #e1e7ee;border-radius:15px;padding:23px;min-width:0;transition:box-shadow .2s,transform .2s}.store-app:hover{box-shadow:0 12px 28px #173c6410;transform:translateY(-3px)}.store-app-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;gap:8px}.store-app img{width:86px;height:86px;object-fit:contain;border-radius:14px}.store-badge{font-size:9px;padding:5px 7px;background:#e9f7f0;color:#268162;border-radius:5px;white-space:nowrap}.store-badge.is-hidden{background:#f0f2f6;color:#7b8492}.store-app h4{font-size:17px;font-weight:600;margin:9px 0 8px;letter-spacing:-.025em;overflow-wrap:anywhere}.store-app p{font-size:12px;line-height:1.7;color:#7c8a99;min-height:42px;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.store-app-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:#8c99a7;margin-bottom:20px;overflow-wrap:anywhere}.store-edit{border:0;border-top:1px solid #edf0f4;background:transparent;padding:17px 0 0;display:flex;justify-content:space-between;width:100%;font-size:12px;font-weight:600;color:#244b70}.store-edit span{color:#5283b2}.store-footnote{color:#8794a2;font-size:11px;line-height:1.7;margin:23px 0}.store-empty{padding:45px;color:#718094;grid-column:1/-1}#storeMessage:not(:empty){padding:12px 16px;background:#eaf3fc;border-radius:9px;margin-bottom:16px;color:#246196}#storeEditor{width:min(700px,calc(100vw - 30px));max-height:90vh;padding:0;border:1px solid #dce4ec;border-radius:18px;color:#22374a;background:#fff;box-shadow:0 30px 100px #08152540}#storeEditor::backdrop{background:#10283a80;backdrop-filter:blur(5px)}#storeEditor header,#storeEditor footer{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid #e9eef4}#storeEditor h3{font-size:23px;margin:7px 0 0}.store-editor-body{padding:24px 26px}.store-icon-edit{display:flex;gap:24px;align-items:center;margin-bottom:25px}.store-icon-edit img{width:100px;height:100px;object-fit:contain;border-radius:14px}.store-icon-edit label{min-width:0}.store-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.store-wide{grid-column:1/-1}#storeEditor label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600}#storeEditor input:not([type=checkbox]),#storeEditor textarea,#storeEditor select{width:100%;border:1px solid #d9e2ec;border-radius:8px;padding:11px 12px;background:#f9fbfd;color:#254056;font-size:13px;box-sizing:border-box}#storeEditor input[type=file]{font-size:11px}#storeEditor small{font-size:10px;line-height:1.6;color:#8795a4;font-weight:400;overflow-wrap:anywhere}#storeEditor .store-publish{display:flex;flex-direction:row;align-items:center;padding:17px;background:#f2f7fc;border-radius:10px;margin-top:22px;gap:12px}.store-publish input{width:19px;height:19px;accent-color:#1678ed}.store-publish span{display:flex;flex-direction:column;gap:5px}#storeEditor footer{border-bottom:0;border-top:1px solid #e9eef4;gap:15px}#storeSaveHint{font-size:11px;color:#8795a4}#storeSaveMessage{font-size:12px;line-height:1.6;color:#b45c31;margin-top:12px}#view-apps button:disabled{opacity:.55;cursor:wait}#view-apps button:focus-visible,#storeEditor input:focus-visible,#storeEditor select:focus-visible,#storeEditor textarea:focus-visible{outline:2px solid #438cea;outline-offset:3px}@media(min-width:1600px){.store-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1200px){.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.store-hero{flex-wrap:wrap}.store-hero .store-primary{margin-left:162px}.store-metrics{gap:24px}.store-toolbar{flex-wrap:wrap}}@media(max-width:800px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-hero{padding:24px;gap:18px}.store-brand{width:90px;height:90px}.store-hero>div{flex:1;min-width:170px}.store-hero .store-primary{margin-left:0}.store-metrics{flex-wrap:wrap;gap:15px 24px}.store-sync{margin-left:0}.store-toolbar>div:first-child{width:100%}.store-search{min-width:150px;flex:1}.store-toolbar select{max-width:140px}.store-tabs{gap:18px}.store-tabs span{display:none}.store-app{padding:18px}.store-app img{width:72px;height:72px}.store-app-top{flex-wrap:wrap}.store-fields{grid-template-columns:1fr}.store-wide{grid-column:auto}.store-icon-edit{gap:14px}.store-editor-body{padding:20px}.store-icon-edit img{width:80px;height:80px}}@media(prefers-reduced-motion:reduce){#view-apps *{transition:none!important;animation:none!important}}

/* Match the live SWAG dark theme. */
.store-tabs{border-color:#252b31}.store-tabs button{color:#8a97a5}.store-tabs button[aria-selected=true]{color:#f2f5f8}.store-metrics strong{color:#f1f4f7}.store-toolbar h3{color:#f1f4f7}.store-app{background:#13191f;border-color:#29323b}.store-app h4{color:#edf2f7}.store-app p{color:#9aa9b8}.store-app-meta{color:#8192a2}.store-edit{border-color:#28333e;color:#d4e3f0}.store-app:hover{background:#18212b;box-shadow:0 14px 32px #0003}.store-badge{background:#173c31;color:#72d6af}.store-badge.is-hidden{background:#30373e;color:#aab3be}.store-search,.store-toolbar select{background:#141c24;border-color:#2a3643;color:#c9d6e3}.store-search input{color:#edf4fa}.store-secondary{background:#25323f;color:#d7e3ee}.store-hero{border:1px solid #304154}.store-toolbar select{color-scheme:dark}.store-hero h2{color:#fff}.store-metrics span{color:#99a9b8}.store-footnote{color:#8d9dac}.store-primary:focus-visible,.store-edit:focus-visible{outline:2px solid #89bfff;outline-offset:3px}

/* APK-first editor with live upload and detection status. */
#storeEditor .store-drop{padding:23px;border:1px dashed #96b4d1;border-radius:13px;background:linear-gradient(120deg,#f1f7fc,#f8fbfd);margin-bottom:16px;gap:10px;transition:border-color .2s,background .2s}
#storeEditor .store-drop strong{font-size:17px;font-weight:600;letter-spacing:-.025em;color:#183b59}
.store-drop-sub{font-size:12px;font-weight:400;color:#667f94;line-height:1.6}
#storeEditor .store-drop.is-dragging{background:#e1efff;border:2px solid #1678ed}
#storeEditor .store-drop input[type=file]{background:white;border-color:#d4e2ef;padding:10px}
#storeEditor input[type=file]::file-selector-button{border:0;border-radius:5px;padding:8px 12px;margin-right:12px;background:#e6eef7;color:#224f77;cursor:pointer}
.store-detect{padding:12px 15px;margin-bottom:22px;border-radius:9px;background:#eaf5ef;color:#276a51;font-size:12px;line-height:1.6}
.store-detect>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.store-detect button{border:0;background:transparent;text-decoration:underline;color:inherit;white-space:nowrap}
.store-detect progress{width:100%;height:5px;accent-color:#267fdc;margin-top:10px;display:block}
#storeIconSource{display:block;color:#5f7f98!important;max-width:380px}
#storeEditor header{position:sticky;top:0;background:#fff;z-index:2}#storeEditor footer{position:sticky;bottom:0;background:#fff;z-index:2}
#storeEditor [hidden]{display:none!important}

#storeEditor .store-drop{padding:16px;gap:7px}#storeEditor header{padding:17px 26px}#storeEditor footer{padding:16px 26px}

/* Catalog deletion: compact glass actions and explicit app/version confirmation. */
#view-apps .store-app-actions{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:auto;padding-top:12px;border-top:1px solid #abd8ff25}
#view-apps .store-app-actions .store-edit{margin:0!important;border:0!important;padding:10px!important;flex:1;justify-content:center}
#view-apps .store-delete{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 12px;border:1px solid #ef9cad45!important;border-radius:8px!important;background:#ec91a00c!important;color:#ffc4cf!important;font-size:12px;cursor:pointer;box-shadow:inset 0 1px 0 #ffffff0d}
#view-apps .store-delete:hover{background:#ec91a024!important;border-color:#ef9cad80!important}
#storeDeleteDialog{box-sizing:border-box;width:min(540px,calc(100vw - 32px));max-height:90dvh;overflow:auto;padding:28px;border:1px solid #abd8ff55;border-radius:15px;color:#eef4ff;background:#091426f5;backdrop-filter:blur(20px);box-shadow:0 30px 90px #0009;font-family:inherit}
#storeDeleteDialog::backdrop{background:#000a;backdrop-filter:blur(6px)}
#storeDeleteDialog h3{font-weight:300;font-size:25px;margin:10px 0 24px}
#storeDeleteDialog p{font-size:13px;line-height:1.7;color:#b8cce0}
.store-delete-target{display:flex;align-items:center;gap:18px;padding:18px;border:1px solid #abd8ff25;border-radius:8px;background:#abd8ff08}
.store-delete-target img{width:56px;height:56px;object-fit:contain;flex-shrink:0}
.store-delete-target div{min-width:0;display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}
.store-delete-target strong{font-size:19px;font-weight:400}.store-delete-target span,.store-delete-target small{font-size:12px;color:#b8cce0}
#storeDeleteDialog footer{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #abd8ff25;margin-top:24px;padding-top:18px}
#storeDeleteDialog #storeDeleteCancel{min-height:44px;background:#abd8ff0c;border:1px solid #abd8ff35;color:#eef4ff}
#storeDeleteError:not(:empty){padding:12px;border:1px solid #ef9cad45;border-radius:8px;color:#ffc4cf;font-size:13px;line-height:1.6;margin-top:16px}
@supports not (backdrop-filter:blur(1px)){#storeDeleteDialog{background:#091426}}
