:root{
  --bg:#ffffff; --surface:#ffffff; --surface-soft:#f7f9fc; --line:#e5e9ef; --line-hover:#cfd6df;
  --text:#101828; --muted:#667085; --muted-2:#98a2b3; --brand:#1677e8; --brand-2:#0b63c9;
  --brand-soft:#edf5ff; --input:#ffffff; --icon-bg:#f3f6f9; --footer:#fafbfc;
  --shadow:0 12px 34px rgba(16,24,40,.07); color-scheme:light;
}
:root[data-theme="dark"]{
  --bg:#09111c; --surface:#0f1a28; --surface-soft:#0b1622; --line:#203044; --line-hover:#30455d;
  --text:#f4f7fb; --muted:#a7b4c4; --muted-2:#8291a4; --brand:#58a6ff; --brand-2:#2f86ef;
  --brand-soft:#122b47; --input:#0b1725; --icon-bg:#152334; --footer:#08121e;
  --shadow:0 18px 42px rgba(0,0,0,.22); color-scheme:dark;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;transition:background .2s,color .2s}
a{text-decoration:none;color:inherit}button,input{font:inherit}button{cursor:pointer}
.site-header{height:68px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}
.header-inner{max-width:1280px;height:100%;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;justify-content:flex-start;width:160px;height:44px;max-width:160px;overflow:hidden}.brand-image{display:block;width:auto;height:auto;max-width:150px;max-height:36px;object-fit:contain;object-position:left center}
.header-actions{display:flex;align-items:center}.theme-btn{width:44px;height:44px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:13px;font-size:19px;display:grid;place-items:center;box-shadow:0 2px 8px rgba(16,24,40,.04);transition:.18s}.theme-btn:hover{border-color:var(--brand);transform:translateY(-1px)}
.container{max-width:1280px;margin:auto;padding:42px 28px 72px}.hero-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}.eyebrow{font-size:11px;font-weight:800;color:var(--brand);letter-spacing:1.8px}.hero-intro h1{font-size:38px;line-height:1.08;margin:8px 0 9px;letter-spacing:-1.2px}.hero-intro p{margin:0;color:var(--muted);font-size:14px;line-height:1.65;max-width:690px}.summary{display:flex;gap:18px;color:var(--muted);font-size:12px;white-space:nowrap}.summary b{color:var(--text);font-size:14px}
.category-section{padding:18px 0 2px}.section-title{font-size:13px;font-weight:750;margin-bottom:12px}.category-bar{display:flex;gap:8px;flex-wrap:wrap}.category{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:999px;padding:9px 13px;font-size:12px;transition:.15s}.category span{color:var(--muted-2);margin-left:3px}.category:hover{border-color:var(--line-hover);color:var(--text)}.category.active{background:var(--brand-soft);border-color:color-mix(in srgb,var(--brand) 25%,var(--line));color:var(--brand);font-weight:700}.category.active span{color:var(--brand)}
.search-section{margin:24px 0 18px}.search-label{font-size:13px;font-weight:750;margin-bottom:10px}.search-box{position:relative;display:flex;align-items:center;border:2px solid color-mix(in srgb,var(--brand) 32%,var(--line));background:var(--input);border-radius:17px;box-shadow:0 8px 26px color-mix(in srgb,var(--brand) 10%,transparent);transition:.18s}.search-box:focus-within{border-color:var(--brand);box-shadow:0 0 0 5px color-mix(in srgb,var(--brand) 12%,transparent),0 14px 34px color-mix(in srgb,var(--brand) 10%,transparent)}.search-icon{font-size:28px;color:var(--brand);line-height:1;margin-left:17px}.search-box input{width:100%;height:60px;border:0;outline:0;background:transparent;color:var(--text);padding:0 102px 0 13px;font-size:15px}.search-box input::placeholder{color:var(--muted-2)}.search-clear{position:absolute;right:54px;width:30px;height:30px;border:0;border-radius:9px;background:var(--surface-soft);color:var(--muted);font-size:20px;line-height:1}.search-shortcut{position:absolute;right:14px;padding:5px 7px;border:1px solid var(--line);border-radius:7px;color:var(--muted-2);font-size:10px;background:var(--surface-soft)}
.result-line{height:24px;color:var(--muted-2);font-size:12px;margin:0 0 10px}.result-line b{color:var(--muted)}.result-line strong{color:var(--text)}
.app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.app-card{min-height:206px;border:1px solid var(--line);border-radius:19px;background:var(--surface);padding:25px;display:flex;align-items:flex-start;gap:20px;box-shadow:0 1px 1px rgba(16,24,40,.015);transition:transform .18s,border-color .18s,box-shadow .18s;animation:cardIn .34s both;animation-delay:var(--delay)}.app-card:hover{transform:translateY(-2px);border-color:var(--line-hover);box-shadow:var(--shadow)}@keyframes cardIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.app-icon{width:76px;height:76px;border-radius:18px;flex:0 0 76px;background:var(--icon-bg);display:flex;align-items:center;justify-content:center;overflow:hidden}.app-icon img{width:100%;height:100%;object-fit:contain;padding:7px}.icon-fallback{font-size:36px;line-height:1}.app-content{min-width:0;flex:1}.app-title-row{display:flex;align-items:center;gap:8px}.app-title-row h2{font-size:18px;line-height:1.25;margin:0;letter-spacing:-.25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.featured{font-size:9px;font-weight:750;color:var(--brand);background:var(--brand-soft);border-radius:5px;padding:4px 6px;white-space:nowrap}.app-content>p{font-size:13px;line-height:1.55;color:var(--muted);margin:9px 0 13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.app-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.app-category{font-size:11px;color:var(--muted);background:var(--surface-soft);border:1px solid var(--line);border-radius:7px;padding:5px 8px}.downloads{font-size:11px;color:var(--muted-2)}.app-actions{display:flex;gap:8px}.download-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:8px 13px;background:var(--brand);color:#fff;font-size:12px;font-weight:700;transition:.15s}.download-btn:hover{background:var(--brand-2)}.backup-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:9px;padding:8px 11px;color:var(--muted);font-size:11px;background:var(--surface)}.backup-btn:hover{border-color:var(--line-hover);color:var(--text)}
.empty-state{grid-column:1/-1;text-align:center;padding:80px 20px;border:1px dashed var(--line);border-radius:20px;background:var(--surface-soft)}.empty-icon{font-size:36px;color:var(--muted-2)}.empty-state h2{font-size:18px;margin:10px 0 5px}.empty-state p{font-size:13px;color:var(--muted);margin:0}
.site-footer{border-top:1px solid var(--line);background:var(--footer);color:var(--muted);font-size:12px}.footer-inner{max-width:1280px;margin:auto;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-inner strong{color:var(--brand)}
@media(max-width:1080px){.app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.site-header{height:62px}.header-inner{padding:0 18px}.brand{width:140px;height:38px;max-width:140px}.brand-image{max-width:132px;max-height:31px}.theme-btn{width:40px;height:40px}.container{padding:28px 18px 55px}.hero-intro{display:block;margin-bottom:20px}.hero-intro h1{font-size:31px}.summary{margin-top:15px;white-space:normal;flex-wrap:wrap}.app-grid{grid-template-columns:1fr;gap:14px}.app-card{min-height:0;padding:20px;gap:16px;border-radius:17px}.app-icon{width:64px;height:64px;flex-basis:64px;border-radius:15px}.icon-fallback{font-size:30px}.app-title-row h2{font-size:17px}.app-content>p{font-size:12.5px}.footer-inner{padding:20px 18px;display:block}.footer-inner div+div{margin-top:7px}.search-box input{font-size:14px;height:56px}.search-shortcut{display:none}.search-clear{right:13px}.search-box input{padding-right:48px}}
@media(max-width:420px){.brand{width:125px;height:34px;max-width:125px}.brand-image{max-width:118px;max-height:28px}.hero-intro h1{font-size:28px}.app-card{padding:17px}.app-icon{width:58px;height:58px;flex-basis:58px;border-radius:14px}.search-icon{margin-left:13px}.search-box input{padding-left:10px}}
