*{box-sizing:border-box}
:root{color-scheme:light}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#f7f8fa;color:#17191d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{-webkit-tap-highlight-color:transparent}
.topbar{position:sticky;top:0;z-index:50;background:rgba(247,248,250,.94);border-bottom:1px solid rgba(20,24,30,.05);backdrop-filter:saturate(180%) blur(18px);-webkit-backdrop-filter:saturate(180%) blur(18px)}
.topbar-inner{max-width:1320px;height:68px;margin:0 auto;padding:0 22px;display:flex;align-items:center;justify-content:space-between}
.brand{display:inline-flex;align-items:center;gap:10px;color:#141619;text-decoration:none;min-width:0}
.brand-mark{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:var(--brand);color:#fff;font-weight:900;font-size:18px;box-shadow:0 7px 18px color-mix(in srgb,var(--brand) 25%,transparent)}
.brand-name{font-size:21px;line-height:1;font-weight:850;letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.install-btn{appearance:none;border:1px solid #e2e5e9;background:#fff;color:#1c1f23;border-radius:999px;padding:8px 13px;font:700 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;box-shadow:0 2px 8px rgba(17,24,39,.05)}
.install-btn:active{transform:scale(.97)}
.catalog-wrap{max-width:1320px;margin:0 auto;padding:18px 22px 96px}
.catalog-section{margin:0 0 34px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 2px 14px}
.section-head h2{margin:0;font-size:22px;line-height:1.2;font-weight:850;letter-spacing:-.03em;color:#17191d}
.section-head p{margin:5px 0 0;font-size:13px;line-height:1.4;color:#7b828b}
.section-count{flex:none;font-size:11px;font-weight:750;color:#858c95;background:#eef0f3;border-radius:999px;padding:6px 9px}
.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:22px 16px;align-items:start}
.catalog-item{min-width:0}
.item-link{display:block;color:inherit;text-decoration:none;outline:none}
.cover-shell{position:relative;width:100%;aspect-ratio:1/1;border-radius:18px;overflow:hidden;background:#e8ebef;box-shadow:0 8px 22px rgba(25,31,38,.10);isolation:isolate;transform:translateZ(0);transition:transform .22s ease,box-shadow .22s ease}
.cover-shell img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .28s ease,filter .28s ease}
.badge{position:absolute;left:10px;top:10px;max-width:calc(100% - 20px);padding:6px 9px;border-radius:999px;background:rgba(17,19,22,.82);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;font-size:10px;line-height:1;font-weight:850;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 3px 10px rgba(0,0,0,.15)}
.item-link h3{margin:9px 3px 0;font-size:14px;line-height:1.35;font-weight:760;letter-spacing:-.015em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}
.item-link:hover .cover-shell{transform:translateY(-3px);box-shadow:0 14px 28px rgba(25,31,38,.15)}
.item-link:hover img{transform:scale(1.035)}
.item-link:focus-visible .cover-shell{outline:3px solid color-mix(in srgb,var(--brand) 45%,white);outline-offset:3px}
.apk-float{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:70;display:flex;align-items:center;gap:9px;padding:9px 13px 9px 9px;border-radius:999px;background:#15171a;color:#fff;text-decoration:none;box-shadow:0 12px 28px rgba(0,0,0,.22);font-size:12px;font-weight:800;transition:transform .18s ease,box-shadow .18s ease}
.apk-float:hover{transform:translateY(-2px);box-shadow:0 15px 32px rgba(0,0,0,.27)}
.download-icon{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:var(--brand);font-size:18px;line-height:1}
.empty-state{min-height:56vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#777f89;gap:7px;padding:40px 20px}
.empty-icon{width:52px;height:52px;border-radius:17px;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:22px;font-weight:900;margin-bottom:5px;box-shadow:0 10px 24px color-mix(in srgb,var(--brand) 22%,transparent)}
.empty-state strong{color:#24272b;font-size:17px}.empty-state span{font-size:13px;max-width:300px;line-height:1.5}
@media(max-width:900px){.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 13px}}
@media(max-width:640px){
  .topbar-inner{height:58px;padding:0 14px}
  .brand{gap:8px}.brand-mark{width:31px;height:31px;border-radius:10px;font-size:15px}.brand-name{font-size:19px}
  .install-btn{padding:7px 11px;font-size:11px}
  .catalog-wrap{padding:14px 12px 84px}
  .catalog-section{margin-bottom:28px}
  .section-head{align-items:center;margin:0 2px 11px;gap:10px}
  .section-head h2{font-size:18px;line-height:1.2}
  .section-head p{font-size:11.5px;margin-top:3px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
  .section-count{font-size:9.5px;padding:5px 7px}
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 10px}
  .cover-shell{aspect-ratio:1/1;border-radius:15px;box-shadow:0 7px 17px rgba(25,31,38,.10)}
  .badge{left:8px;top:8px;padding:5px 8px;font-size:9px}
  .item-link h3{margin:7px 2px 0;font-size:13px;line-height:1.3;min-height:34px}
  .apk-float{right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:8px}.download-icon{width:30px;height:30px}.download-label{display:none}
}
@media(max-width:350px){.catalog-grid{gap:15px 8px}.catalog-wrap{padding-left:9px;padding-right:9px}.item-link h3{font-size:12.5px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
