:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1d2533;background:#f8f9fc}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}.hidden{display:none!important}.app{display:flex;min-height:100vh}.sidebar{width:272px;flex:none;min-height:100vh;background:#ffffffcf;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;backdrop-filter:blur(20px)}.brand{height:82px;padding:20px;display:flex;align-items:center;gap:12px}.brand-logo{width:40px;height:40px;border-radius:11px;background:#0c6dfa;color:white;display:grid;place-items:center;font-size:28px;box-shadow:0 2px 8px #0002}.brand strong{font-size:17px;letter-spacing:-.2px}.side-nav{flex:1;padding:6px 12px}.nav-link{width:100%;border:0;background:transparent;border-radius:12px;color:#596273;font-size:15px;font-weight:600;min-height:46px;display:flex;gap:12px;align-items:center;text-align:left;padding:9px 15px;margin-bottom:4px}.nav-link span{font-size:23px;line-height:1;width:20px;text-align:center}.nav-link:hover{background:#f1f5fb}.nav-link.active{background:#0867ea;color:white;box-shadow:0 5px 14px #007aff38}.sidebar-foot{border-top:1px solid #e8ebef;padding:12px}.theme-button{width:100%;min-height:44px;text-align:left;border:1px solid #e3e7ec;border-radius:11px;background:#fff;color:#596273;padding:8px 15px;font-size:20px}.theme-button span{font-size:14px;margin-left:12px}.main{flex:1;min-width:0;background:#f8f9fc}.page{max-width:1060px;margin:0 auto;padding:28px 30px 60px}.page-title{font-size:34px;letter-spacing:-1.2px;font-weight:700;line-height:1.12;margin:0 0 26px}.blue-button{border:0;border-radius:999px;background:#0867ea;color:#fff;padding:11px 22px;font-size:14px;font-weight:700;min-height:40px}.blue-button:hover{background:#0058d3}.blue-button:disabled{opacity:.55;cursor:wait}.welcome{height:330px;position:relative;overflow:hidden;border-radius:24px;background:linear-gradient(125deg,#1a63df,#4679f0 60%,#755af1);color:#fff;padding:35px 42px;display:flex;align-items:center}.welcome:before,.welcome:after{content:"";position:absolute;border-radius:50%;filter:blur(45px)}.welcome:before{width:220px;height:220px;background:#94e9ff55;left:-60px;top:-80px}.welcome:after{width:200px;height:200px;background:#eea8ff44;left:42%;bottom:-130px}.welcome-copy{position:relative;z-index:2;max-width:670px}.store-chip{background:#ffffff25;border:1px solid #ffffff40;padding:7px 13px;border-radius:100px;font-size:12px}.welcome h1{font-size:39px;letter-spacing:-1px;margin:27px 0 10px}.welcome p{font-size:16px;color:#eef4ff;line-height:1.6;margin:0}.white-button{margin-top:29px;border:0;border-radius:999px;background:white;color:#1264d8;padding:12px 19px;font-size:14px;font-weight:700}.welcome-art{position:absolute;right:14px;bottom:-22px;display:grid;grid-template-columns:repeat(2,87px);gap:11px;transform:rotate(5deg);padding:16px;border:1px solid #ffffff3b;border-radius:34px;background:#ffffff1c}.welcome-art span{height:87px;border-radius:20px;display:grid;place-items:center;font-size:33px;background:#ffffffc9;color:#276add}.welcome-art span:nth-child(2){background:#b4c4ff;color:#4e47cc}.welcome-art span:nth-child(3){background:#a2e8d9;color:#009a85}.welcome-art span:nth-child(4){font-size:23px;font-weight:800}.home-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.home-stat{border:1px solid #e4e8ee;border-radius:16px;background:white;padding:22px;position:relative}.home-stat p{font-size:13px;color:#697586;margin:0}.home-stat strong{display:block;font-size:30px;letter-spacing:-1px;margin-top:5px}.home-stat span{position:absolute;right:19px;top:20px;background:#e9f1ff;color:#1467e7;border-radius:14px;display:grid;place-items:center;width:44px;height:44px;font-size:24px}.home-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.home-actions button{border:1px solid #e3e8ee;border-radius:16px;background:white;text-align:left;min-height:150px;padding:22px;position:relative}.home-actions button:hover{border-color:#a7c7ff;background:#fbfdff}.home-actions button>span{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#e9f1ff;color:#1467e7;font-size:25px;margin-bottom:14px}.home-actions strong,.home-actions small{display:block}.home-actions strong{font-size:16px}.home-actions small{font-size:12px;color:#8793a2;margin-top:6px}.home-actions b{position:absolute;right:21px;top:25px;color:#9aa6b7}.search-box{background:white;border:1px solid #edf0f3;border-radius:24px;padding:16px;box-shadow:0 1px 3px #0000000b;margin-bottom:30px}.search-line{display:flex;gap:10px}.search-line input{flex:1;min-width:0;border:0;border-radius:15px;background:#f2f3f6;padding:12px 16px;outline:none;font-size:16px}.search-line input:focus{box-shadow:0 0 0 3px #78abff80}.search-options{border-top:1px solid #f0f1f4;margin-top:13px;padding:13px 4px 0;display:flex;gap:12px;font-size:12px;color:#7f899a}.search-options span{width:50%;background:#f3f4f6;border-radius:11px;padding:10px}.empty-card{background:white;border-radius:24px;text-align:center;padding:60px 20px;box-shadow:0 1px 3px #00000010}.empty-icon{margin:0 auto 20px;width:64px;height:64px;border-radius:18px;background:#eaf2ff;color:#1267e8;display:grid;place-items:center;font-size:40px}.empty-card h2{font-size:18px;margin:0 0 7px}.empty-card p{color:#8995a3;font-size:14px;margin:0}.search-results{background:white;border-radius:24px;overflow:hidden;border:1px solid #edf0f3}.search-item{width:100%;border:0;border-bottom:1px solid #f0f1f4;background:white;text-align:left;display:flex;align-items:center;gap:16px;padding:16px}.search-item:last-child{border-bottom:0}.search-item:hover{background:#f8faff}.app-icon{width:54px;height:54px;flex:none;border-radius:13px;background:linear-gradient(145deg,#60a5fa,#145bca);display:grid;place-items:center;color:white;font-size:23px;font-weight:800}.search-item .app-info{flex:1;min-width:0}.app-info strong,.app-info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-info strong{font-size:15px}.app-info small{font-size:12px;color:#7f899a;margin-top:5px}.search-chevron{height:32px;width:32px;border-radius:50%;background:#f2f3f6;color:#1267e8;display:grid;place-items:center;font-size:24px;flex:none}.message{font-size:13px;color:#697586}.message.error{color:#d23737}.downloads-head{display:flex;justify-content:space-between;align-items:flex-start}.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}.filters button{border:1px solid #e9ecf0;background:white;color:#596273;border-radius:999px;padding:9px 15px;font-size:13px;font-weight:700;box-shadow:0 1px 3px #00000008}.filters button.active{background:#0867ea;color:white;border-color:#0867ea}.notice{border:1px solid #f4db71;background:#fffbee;color:#ac5712;padding:16px 18px;border-radius:14px;font-size:13px;margin-bottom:22px}.download-list{display:flex;flex-direction:column;gap:15px}.download-item{border:1px solid #e1e6ee;border-radius:15px;background:white;padding:20px;display:flex;gap:16px;align-items:flex-start}.download-item .app-icon{width:48px;height:48px;font-size:21px}.download-info{flex:1;min-width:0}.download-info strong{display:block;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.download-info small{display:block;color:#8793a2;margin-top:5px;font-size:13px}.download-actions{display:flex;gap:8px;margin-top:12px}.download-actions button,.download-actions a{border:1px solid #bed6ff;background:white;color:#1267e8;border-radius:9px;padding:8px 12px;text-decoration:none;font-size:13px;font-weight:700}.download-actions button.delete{border-color:#ffc6c6;color:#d62828}.status{font-size:13px;font-weight:700;border-radius:999px;padding:7px 13px;white-space:nowrap;background:#fff5d9;color:#a66b03}.status.completed{background:#dff9e8;color:#0b8b45}.status.failed{background:#ffeded;color:#cd3838}.download-empty{border:2px dashed #dfe5ee;border-radius:16px;text-align:center;padding:65px;color:#8c98a6}.download-empty span{display:block;font-size:40px;color:#1267e8;margin-bottom:10px}.settings-card{background:white;border:1px solid #e4e8ee;border-radius:22px;padding:24px}.settings-card h2{margin:0 0 5px}.settings-card>p{color:#8290a0;font-size:13px}.setting-row{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #edf0f4;padding:16px 0;font-size:14px}.setting-row strong{text-align:right}.mobile-nav{display:none}.modal{border:0;border-radius:23px;box-shadow:0 20px 70px #14294d50;width:min(480px,calc(100% - 32px));padding:25px;color:#1d2533}.modal::backdrop{background:#14294d70}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head h2{font-size:23px;margin:0}.close-modal{background:none;border:0;font-size:28px;color:#8c96a3}.modal p{font-size:13px;color:#7b8797;line-height:1.6}.modal label{display:block;margin:18px 0 7px;font-size:13px;font-weight:700}.modal input{width:100%;border:0;border-radius:11px;background:#f3f4f6;padding:13px;outline:none}.modal input:focus{box-shadow:0 0 0 3px #78abff80}.modal .submit-job{width:100%;margin-top:13px}.error-text{color:#d23737!important;min-height:14px;font-size:12px!important}.detail-app{display:flex;gap:15px;align-items:center;margin:25px 0}.detail-app h3{margin:0 0 5px;font-size:17px}.detail-app p{margin:3px 0;font-size:12px}.login-screen{display:none}
body.dark{background:#111827;color:#eef2f8}body.dark .main{background:#111827}body.dark .sidebar,body.dark .search-box,body.dark .empty-card,body.dark .search-results,body.dark .search-item,body.dark .download-item,body.dark .settings-card,body.dark .home-stat,body.dark .home-actions button,body.dark .theme-button{background:#1f2937;color:#eef2f8;border-color:#374151}body.dark .search-line input,body.dark .search-options span,body.dark .modal input{background:#374151;color:#f9fafb}body.dark .search-item:hover{background:#25354c}body.dark .notice{background:#453516;color:#fbd78a;border-color:#75591f}body.dark .modal{background:#263245;color:#f9fafb}body.dark .sidebar-foot{border-color:#374151}
@media(max-width:850px){.sidebar{width:220px}.page{padding:23px}.welcome-art{display:none}.welcome h1{font-size:32px}}@media(max-width:640px){.sidebar{display:none}.main{padding-bottom:65px}.page{padding:20px 16px}.page-title{font-size:31px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;height:62px;z-index:5;display:flex;background:#f8f9fcee;border-top:1px solid #e3e7ec;backdrop-filter:blur(20px)}.mobile-nav button{flex:1;border:0;background:transparent;color:#728092;font-size:25px;display:flex;flex-direction:column;align-items:center;justify-content:center}.mobile-nav button.active{color:#0867ea}.mobile-nav small{font-size:10px}.welcome{height:300px;padding:25px}.welcome h1{font-size:28px}.welcome p{font-size:14px}.home-stats{grid-template-columns:1fr;gap:10px}.home-stat{padding:15px}.home-stat strong{font-size:25px}.home-actions{grid-template-columns:1fr}.filters{gap:6px}.filters button{font-size:11px;padding:8px 10px}.download-item{flex-wrap:wrap}.download-info{width:calc(100% - 64px)}.status{margin-left:64px}.search-options{font-size:11px}}@media(max-width:390px){.search-line button{padding:10px 14px}.search-line input{font-size:14px}.downloads-head .blue-button{font-size:12px;padding:9px 15px}}
.search-options{align-items:center}.search-options label{font-size:13px;font-weight:700;color:#5f6b7c;min-width:34px}.search-options select{width:160px;background:#f3f4f6;border:0;border-radius:11px;padding:10px 12px;color:#364153;outline:none}.modal select{width:100%;border:0;border-radius:11px;background:#f3f4f6;padding:13px;color:#364153;outline:none}body.dark .search-options select,body.dark .modal select{background:#374151;color:#f9fafb}
.version-heading{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.version-heading label{margin:0}.text-button{border:0;background:transparent;color:#0867ea;font-size:13px;font-weight:700;padding:8px;cursor:pointer}.text-button:disabled{opacity:.5}.cache-actions{display:flex;align-items:center;gap:12px;margin-top:24px}.cache-actions .blue-button{text-decoration:none;display:inline-flex;align-items:center}.force-button{margin-top:16px;padding-left:0}.modal .message{margin:7px 0 0;font-size:12px}.settings-card{max-width:760px}.setting-row strong{max-width:65%;overflow-wrap:anywhere}
.login-link{display:inline-block;text-decoration:none;margin-top:16px}
.search-options{flex-wrap:wrap}.search-options select{width:auto;max-width:100%;min-width:105px}.search-options #search-account{flex:1;min-width:160px}.stores-card{margin-top:24px}.store-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-top:1px solid #edf0f4}.store-item .download-actions{margin:0;flex-wrap:wrap}.import-session{margin-top:18px;font-size:13px}.import-session summary{cursor:pointer;color:#0867ea}.modal textarea{display:block;width:100%;height:74px;resize:vertical;border:1px solid #dde3eb;border-radius:10px;padding:10px;font:12px ui-monospace,monospace}.modal{max-height:90vh;overflow:auto}body.dark .modal textarea{background:#374151;color:#fff;border-color:#536075}@media(max-width:640px){.store-item{display:block}.store-item .download-actions{margin-top:12px}.search-options #search-account{flex-basis:100%}}

.guest-login{margin-top:28px;padding-top:20px;border-top:1px solid #e4e8ee;display:grid;gap:12px}.guest-login input,#guest-key-value{width:100%;box-sizing:border-box;padding:10px;border:1px solid #e4e8ee;border-radius:8px;background:#f3f4f6;color:inherit}

.guest-key-card{margin-top:24px}

.white-button{display:inline-flex;align-items:center;gap:9px}.white-button .ui-icon{width:18px;height:18px}

@media(max-width:640px){.download-item{display:grid!important;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:10px!important}.download-item .download-info{width:auto;min-width:0}.download-info>small{overflow-wrap:anywhere}.download-item>.status{grid-column:2;justify-self:start;margin:0}.download-actions{flex-wrap:wrap}.download-info strong{white-space:normal;overflow-wrap:anywhere}}

.download-progress{margin-top:14px}.download-progress progress{display:block;width:100%;height:9px;border:0;border-radius:999px;overflow:hidden;accent-color:#1267e8}.download-progress progress::-webkit-progress-bar{background:#e8edf5;border-radius:999px}.download-progress progress::-webkit-progress-value{background:#1267e8;border-radius:999px}.download-progress-label{font-variant-numeric:tabular-nums;line-height:1.6}.download-progress progress:indeterminate{opacity:.6}

.ui-icon{display:block;width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-link>span{display:grid;place-items:center;line-height:1}.brand-logo .ui-icon{width:26px;height:26px}.theme-button{display:flex;align-items:center;justify-content:center;gap:8px}.home-stat>span,.home-actions button>span,.home-actions button>b,.empty-icon,.search-chevron,.close-modal{display:grid;place-items:center;line-height:1}.home-stat>span .ui-icon,.home-actions button>span .ui-icon{width:25px;height:25px}.empty-icon .ui-icon{width:32px;height:32px}.download-empty>span{display:grid;place-items:center}.download-empty .ui-icon{width:40px;height:40px}.close-modal{width:32px;height:32px;padding:4px}.app-icon{position:relative;overflow:hidden}.app-icon img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.job-facts{font-size:12px!important;line-height:1.6}.metadata-facts{margin:12px 0;display:grid;gap:9px;font-size:13px}.metadata-facts>div{display:flex;justify-content:space-between;gap:16px}.metadata-facts span{color:#7b8797}.metadata-facts strong{text-align:right;font-weight:500}.app-description{margin:14px 0;font-size:13px}.app-description p{white-space:pre-wrap;max-height:190px;overflow:auto}.detail-app>div:last-child{min-width:0}.detail-app h3{overflow-wrap:anywhere}.search-item .app-info small{line-height:1.6}.download-info>small{line-height:1.6}.home-actions button>b .ui-icon{width:20px;height:20px}@media(max-width:760px){.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;line-height:1}.mobile-nav button .ui-icon{width:23px;height:23px}.mobile-nav small{margin:0}.download-item{gap:10px}.download-item>.status{font-size:11px;padding:6px 8px}}
