:root{--bg:#f6f8fc;--card:#fff;--tx:#1b1f2a;--mu:#5f6678;--ln:#e6e9f1;--ac:#4f46e5;--ac2:#0ea5e9;--chip:#eaeefb;--sh:0 1px 2px rgba(20,30,60,.06),0 6px 20px rgba(20,30,60,.06)}
@media(prefers-color-scheme:dark){:root{--bg:#0f1219;--card:#181c26;--tx:#eef0f6;--mu:#9aa2b6;--ln:#272c3a;--chip:#222838;--sh:0 1px 2px rgba(0,0,0,.4)}}
*{box-sizing:border-box;margin:0;-webkit-tap-highlight-color:transparent}
body{font-family:'Plus Jakarta Sans',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--tx);min-height:100vh}
button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}
.wrap{max-width:980px;margin:0 auto;padding:0 16px 90px}
header{position:sticky;top:0;z-index:20;padding-top:env(safe-area-inset-top);background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(14px);padding:14px 0 10px}
.top{display:flex;align-items:center;gap:12px}
.logo{display:flex;align-items:center;gap:9px;font-weight:800;font-size:19px;letter-spacing:-.02em;cursor:pointer;white-space:nowrap}
.logo svg{width:34px;height:34px}
.search{flex:1;display:flex;align-items:center;gap:10px;background:var(--card);border-radius:999px;padding:0 16px;height:44px;box-shadow:var(--sh)}
.search input{flex:1;border:0;outline:0;background:none;font:inherit;color:var(--tx);min-width:0}
.search svg{width:19px;height:19px;color:var(--mu)}
.chips{display:flex;gap:8px;overflow-x:auto;padding:12px 0 2px;scrollbar-width:none}
.chips::-webkit-scrollbar,.row::-webkit-scrollbar,.shots::-webkit-scrollbar{display:none}
.chip{padding:8px 16px;border-radius:999px;background:var(--chip);font-weight:600;font-size:14px;white-space:nowrap;transition:.2s}
.chip.on{background:var(--ac);color:#fff}
h2{font-size:20px;font-weight:800;letter-spacing:-.02em}
.sec{margin-top:26px}
.sh{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.sh a{color:var(--ac);font-weight:700;font-size:14px;cursor:pointer}
.hero{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-top:8px}
.banner{flex:0 0 min(86%,520px);scroll-snap-align:start;border-radius:28px;padding:22px;color:#fff;position:relative;overflow:hidden;min-height:190px;cursor:pointer;display:flex;flex-direction:column;justify-content:flex-end}
.banner::before{content:"";position:absolute;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.14);right:-60px;top:-70px}
.banner::after{content:"";position:absolute;width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.1);right:70px;bottom:-60px}
.banner .ic{position:absolute;right:20px;top:20px;width:84px;height:84px;filter:drop-shadow(0 10px 18px rgba(0,0,0,.25));z-index:1}
.banner small{font-weight:600;opacity:.9;font-size:12.5px}
.banner b{font-size:23px;font-weight:800;letter-spacing:-.02em;margin:4px 0;max-width:70%;z-index:1}
.banner span{font-size:13.5px;opacity:.92;max-width:75%;z-index:1}
.row{display:flex;gap:14px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 8px}
.tile{flex:0 0 96px;cursor:pointer;transition:transform .2s}
.tile:hover{transform:translateY(-3px)}
.tile .ic{width:96px;height:96px;display:block;filter:drop-shadow(0 6px 10px rgba(30,40,80,.18))}
.tile b{display:block;font-size:13.5px;font-weight:700;margin-top:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tile em{font-style:normal;font-size:12px;color:var(--mu);display:flex;gap:4px;align-items:center}
.list{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:10px 18px}
.item{display:flex;gap:14px;align-items:center;background:var(--card);padding:12px;border-radius:22px;box-shadow:var(--sh);cursor:pointer;transition:.2s}
.item:hover{transform:translateY(-2px)}
.item .ic{width:64px;height:64px;flex:none;filter:drop-shadow(0 4px 7px rgba(30,40,80,.18))}
.item .m{flex:1;min-width:0}
.item b{display:block;font-weight:700;font-size:15px}
.item p{font-size:12.5px;color:var(--mu);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.item i{font-style:normal;font-size:12px;color:var(--mu)}
.get{padding:8px 16px;border-radius:999px;background:var(--chip);color:var(--ac);font-weight:700;font-size:13.5px;transition:.2s}
.get.done{background:transparent;color:var(--mu)}
.pwa{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:800;color:#fff;background:linear-gradient(135deg,#6366f1,#0ea5e9);padding:2px 7px;border-radius:999px;vertical-align:2px;margin-left:6px}
.star{width:11px;height:11px;fill:#f5b301}
/* Detail */
#detail{display:none}
.back{display:flex;align-items:center;gap:8px;font-weight:700;padding:16px 0 8px;color:var(--mu)}
.back svg{width:22px;height:22px}
.d-head{display:flex;gap:22px;align-items:flex-start;margin-top:6px}
.d-head .ic{width:124px;height:124px;flex:none;filter:drop-shadow(0 12px 18px rgba(30,40,80,.28))}
.d-head h1{font-size:28px;font-weight:800;letter-spacing:-.03em;line-height:1.1}
.d-head .dev{color:var(--ac);font-weight:700;margin-top:6px}
.d-head .tag{color:var(--mu);font-size:14px;margin-top:4px}
.stats{display:flex;background:var(--card);border-radius:22px;box-shadow:var(--sh);margin:22px 0;padding:14px 0}
.stat{flex:1;text-align:center;padding:0 6px;border-left:1px solid var(--ln)}
.stat:first-child{border:0}
.stat b{display:flex;gap:4px;justify-content:center;align-items:center;font-size:16px;font-weight:800}
.stat small{font-size:12px;color:var(--mu)}
.cta{display:flex;gap:10px}
.install{flex:1;height:48px;border-radius:999px;color:#fff;font-weight:800;font-size:15.5px;position:relative;overflow:hidden;background:var(--ac);transition:.25s}
.install .bar{position:absolute;inset:0 auto 0 0;width:0;background:rgba(255,255,255,.3)}
.install span{position:relative}
.ghost{width:48px;height:48px;border-radius:50%;background:var(--chip);display:grid;place-items:center}
.ghost svg{width:22px;height:22px}
.ghost.on{color:#e11d48}
.shots{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;margin-top:12px}
.shot{flex:0 0 168px;height:300px;border-radius:22px;overflow:hidden;position:relative;padding:14px 12px;color:#fff;box-shadow:var(--sh)}
.shot .b{height:12px;border-radius:6px;background:rgba(255,255,255,.35);margin-bottom:9px}
.shot .c{height:52px;border-radius:14px;background:rgba(255,255,255,.2);margin-bottom:9px}
.shot .big{height:96px;border-radius:18px;background:rgba(255,255,255,.28);margin-bottom:10px;display:grid;place-items:center}
.shot .big svg{width:58px;height:58px}
.shot .cap{position:absolute;left:12px;right:12px;bottom:12px;font-weight:800;font-size:15px;line-height:1.2}
.card{background:var(--card);border-radius:24px;padding:20px;box-shadow:var(--sh);margin-top:12px}
.card p{color:var(--mu);line-height:1.6;font-size:14.5px}
.feat{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:12px}
.f{display:flex;gap:12px;align-items:center;background:var(--card);padding:14px;border-radius:20px;box-shadow:var(--sh);font-size:14px;font-weight:600}
.f s{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:none;text-decoration:none;font-size:18px}
.rate{display:flex;gap:22px;align-items:center}
.rate big{font-size:54px;font-weight:800;letter-spacing:-.04em;line-height:1}
.bars{flex:1}
.bars div{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--mu);margin:3px 0}
.bars u{flex:1;height:7px;background:var(--chip);border-radius:4px;text-decoration:none;overflow:hidden}
.bars u i{display:block;height:100%;border-radius:4px;background:var(--ac)}
.how{display:flex;gap:14px;align-items:center;background:linear-gradient(135deg,#eef2ff,#e0f2fe);color:#27304a;border-radius:24px;padding:18px;margin-top:12px}
@media(prefers-color-scheme:dark){.how{background:linear-gradient(135deg,#1e2347,#14304a);color:#dfe5f7}}
.how svg{width:42px;height:42px;flex:none}
.how p{font-size:13.5px;line-height:1.5}
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,90px);background:#1b1f2a;color:#fff;padding:12px 20px;border-radius:16px;font-weight:600;font-size:14px;transition:.35s;z-index:50;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.toast.show{transform:translate(-50%,0)}
@media(max-width:520px){.logo b{display:none}.d-head .ic{width:92px;height:92px}.d-head h1{font-size:22px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

[hidden]{display:none!important}
.get[disabled],.install[disabled]{opacity:.55;cursor:default}
.get[disabled]{background:transparent;color:var(--mu)}
.empty{text-align:center;margin-top:26px}
.hero,.row,.chips,.shots{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;scroll-padding-left:16px}
.row{padding-top:12px;padding-bottom:24px;margin-top:-8px}
.hero{padding-top:4px;padding-bottom:8px}
.shots{padding-top:6px;padding-bottom:20px}
.hero::after,.row::after,.chips::after,.shots::after{content:"";flex:0 0 1px}
.search{min-width:0}
body{overflow-x:clip}
.ibar{display:flex;align-items:center;gap:12px;margin-top:12px;padding:10px 10px 10px 12px;border-radius:20px;background:var(--card);box-shadow:var(--sh);border:1.5px solid var(--ac)}
.ibar img{border-radius:12px;flex:none}
.ibar .it{flex:1;min-width:0}.ibar .it b{display:block;font-size:14.5px;font-weight:800}
.ibar .it span{display:block;font-size:12px;color:var(--mu);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ibar .ib{padding:10px 18px;border-radius:999px;background:var(--ac);color:#fff;font-weight:800;font-size:14px;flex:none}
.ibar .ix{width:30px;height:30px;border-radius:50%;font-size:20px;line-height:1;color:var(--mu);flex:none}
.pi{padding:8px 14px;border-radius:999px;background:var(--ac);color:#fff;font-weight:700;font-size:13px;white-space:nowrap}
.search input:focus-visible,.chip:focus-visible,.get:focus-visible,.install:focus-visible,.pi:focus-visible{outline:2px solid var(--ac);outline-offset:2px}
