:root{
 --bg-body:#f7f9fc;--surface:#fff;--text:#0f172a;--muted:#64748b;
 --primary:#173d8f;--primary-hover:#123170;--primary-light:#edf3ff;
 --gold:#c56d00;--border:#e1e7ef;--radius:9px;--radius-lg:13px;
 --shadow:0 1px 3px rgba(15,23,42,.06);--font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
}
*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}body{font-family:var(--font);background:var(--bg-body);color:var(--text);font-size:14px;line-height:1.5;-webkit-text-size-adjust:100%}
a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}button,input{font:inherit}
.container{width:100%;max-width:1080px;margin:auto;padding:0 12px}
.site-header{height:56px;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:50}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:8px}
.brand-logo{font-size:17px;font-weight:800;color:var(--primary);letter-spacing:-.3px}.custom-logo{max-height:40px;width:auto}
.header-nav{display:flex;align-items:center;gap:6px}.btn-icon{background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:5px 9px;cursor:pointer}.header-apps{font-size:12px;font-weight:700;color:var(--primary);background:var(--primary-light);padding:6px 10px;border-radius:7px}
.mobile-menu{display:none;background:#fff;border-bottom:1px solid var(--border);padding:8px 12px}.mobile-menu.open{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.mobile-menu a{padding:9px;border:1px solid var(--border);border-radius:7px;font-size:12px;font-weight:650}
.hero-compact{padding:16px 0 12px}.hero-compact h1{font-size:21px;font-weight:850;letter-spacing:-.5px;margin-bottom:3px}.hero-compact p{font-size:13px;color:var(--muted);margin-bottom:11px}
.search-form-compact{display:flex;gap:6px}.search-form-compact input{flex:1;min-width:0;border:1px solid var(--border);border-radius:7px;background:#fff;padding:9px 11px;outline:none}.search-form-compact input:focus{border-color:var(--primary)}.search-form-compact button{border:0;border-radius:7px;background:var(--primary);color:#fff;padding:0 15px;font-weight:750}
.category-strip{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:3px 0 11px}.category-strip::-webkit-scrollbar{display:none}.pill{white-space:nowrap;border:1px solid var(--border);background:#fff;border-radius:999px;padding:5px 11px;font-size:12px;font-weight:600}.pill.active{background:var(--primary);border-color:var(--primary);color:#fff}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:15px 0 9px}.section-title h2{font-size:16px;font-weight:800}.section-title a{font-size:12px;color:var(--primary);font-weight:650}
.app-grid{display:grid;grid-template-columns:1fr;gap:7px}.app-card{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:9px;background:#fff;border:1px solid var(--border);border-radius:10px;padding:9px;box-shadow:var(--shadow);min-width:0}.app-icon-wrap{width:50px;height:50px;border-radius:10px;overflow:hidden;background:#edf1f6;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:9px}.app-icon-wrap img{width:100%;height:100%;object-fit:cover}.app-info{min-width:0}.app-title{font-size:14px;font-weight:750;line-height:1.25;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-meta{font-size:11px;color:var(--muted);display:flex;gap:5px;white-space:nowrap;overflow:hidden}.app-highlight{font-size:11px;color:var(--gold);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.btn-view{background:var(--primary-light);color:var(--primary);border-radius:7px;padding:6px 11px;font-size:12px;font-weight:750;white-space:nowrap}
.info-strip,.empty-box{background:#fff;border:1px solid var(--border);border-radius:8px;padding:11px;margin-top:16px;font-size:12px;color:var(--muted)}.info-strip strong{color:var(--text);display:block;margin-bottom:3px}
.app-hero{display:grid;grid-template-columns:64px minmax(0,1fr);gap:11px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:13px;padding:13px;margin-top:12px;box-shadow:var(--shadow)}.app-hero-icon{width:64px;height:64px;border-radius:15px;overflow:hidden;background:#edf1f6}.app-hero-icon img{width:100%;height:100%;object-fit:cover}.app-hero-title{font-size:20px;line-height:1.2;font-weight:850;margin-bottom:3px}.app-hero-desc{font-size:12px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.app-hero-badges{display:flex;gap:5px;font-size:11px;color:var(--muted);margin-top:4px;white-space:nowrap}.btn-download-primary{grid-column:1/-1;display:block;background:var(--primary);color:#fff;text-align:center;padding:10px;border-radius:7px;font-size:13px;font-weight:800}.btn-download-primary:hover{background:var(--primary-hover)}
.spec-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:8px}.spec-item{background:#fff;border:1px solid var(--border);border-radius:7px;padding:7px 3px;text-align:center;min-width:0}.spec-label{font-size:9px;color:var(--muted);text-transform:uppercase}.spec-value{font-size:11px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.action-row{display:flex;gap:6px;margin-top:8px}.btn-secondary{flex:1;text-align:center;background:#fff;border:1px solid var(--border);color:var(--primary);border-radius:7px;padding:8px;font-size:12px;font-weight:700}
.screenshots-rail{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:2px 0}.screenshots-rail::-webkit-scrollbar{display:none}.screenshots-rail img{width:112px;height:200px;object-fit:cover;border-radius:7px;border:1px solid var(--border);flex:0 0 auto}
.content-block{background:#fff;border:1px solid var(--border);border-radius:9px;padding:13px;margin-top:15px}.entry-content{font-size:13px;color:#475569}.entry-content h2,.entry-content h3{margin:13px 0 6px;color:var(--text)}.entry-content p{margin:0 0 9px}.entry-content ul,.entry-content ol{padding-left:20px;margin-bottom:9px}.feature-list{padding-left:20px;color:#475569;font-size:13px}.feature-list li{margin-bottom:5px}
.step-list{list-style:none;counter-reset:step;padding:0}.step-list li{counter-increment:step;position:relative;padding-left:30px;margin:9px 0;font-size:13px;color:#475569}.step-list li:before{content:counter(step);position:absolute;left:0;top:0;width:21px;height:21px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--primary-light);color:var(--primary);font-weight:800;font-size:11px}
.faq-accordion{border:1px solid var(--border);border-radius:7px;background:#fff;margin-bottom:6px}.faq-accordion summary{padding:10px 12px;font-weight:700;font-size:12px;cursor:pointer;list-style:none;display:flex;justify-content:space-between}.faq-accordion summary::-webkit-details-marker{display:none}.faq-accordion summary:after{content:"+";color:var(--muted)}.faq-accordion[open] summary:after{content:"−"}.faq-content{padding:0 12px 10px;color:var(--muted);font-size:12px}
.notice-box{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:7px;padding:10px 12px;font-size:11px;margin:15px 0}
.page-wrap{padding-top:15px}.page-title{font-size:21px;font-weight:850;margin-bottom:12px}.site-footer{background:#fff;border-top:1px solid var(--border);padding:20px 0;margin-top:24px;text-align:center;font-size:11px;color:var(--muted)}.footer-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:7px}.pagination{margin:16px 0}
@media(min-width:768px){.app-grid{grid-template-columns:repeat(2,1fr)}.app-hero{grid-template-columns:72px 1fr auto}.app-hero-icon{width:72px;height:72px}.btn-download-primary{grid-column:auto;padding:10px 18px}.app-hero-badges{justify-content:flex-start}.mobile-menu{display:none!important}}

/* Centered, highlighted homepage hero */
.hero-centered{text-align:center;padding:24px 0 15px}
.hero-centered .hero-badge{display:none}
.hero-centered h1{display:table;margin:0 auto 6px;padding:4px 11px;font-size:23px;line-height:1.2;background:#eaf1ff;color:#102f70;border-radius:8px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.hero-centered p{max-width:680px;margin:0 auto 13px;font-size:12.5px;line-height:1.45}

/* Small floating Telegram button */
.floating-telegram{position:fixed;right:12px;bottom:18px;z-index:100;display:flex;align-items:center;gap:6px;background:#173d8f;color:#fff;border-radius:999px;padding:8px 11px 8px 9px;box-shadow:0 5px 18px rgba(15,23,42,.18);font-size:11px;font-weight:800}
.floating-telegram:hover{background:#123170;color:#fff}
.telegram-plane{width:20px;height:20px;border-radius:50%;background:#fff;color:#173d8f;display:flex;align-items:center;justify-content:center;font-size:12px;line-height:1;transform:rotate(-12deg)}
.telegram-text{line-height:1}
@media(max-width:380px){.floating-telegram{right:9px;bottom:13px;padding:7px 9px}.telegram-text{display:none}.telegram-plane{width:22px;height:22px}}

.brand-image{display:block;max-height:38px;width:auto;max-width:160px;object-fit:contain}
.seo-article{margin-top:15px}
.seo-article .entry-content{line-height:1.7}
@media(max-width:767px){.brand-image{max-height:34px;max-width:145px}}

/* ---------- v4 UI polish ---------- */
:root{transition:background-color .2s,color .2s}
.brand-logo{min-width:0}
.theme-toggle{min-width:38px;height:34px;display:inline-flex;align-items:center;justify-content:center;font-size:17px}
.theme-icon{line-height:1}
.app-card{transition:transform .15s ease,box-shadow .15s ease}
.app-card:active{transform:scale(.995)}
.btn-view{background:var(--primary);color:#fff;box-shadow:none}
.btn-view:hover{background:var(--primary-hover);color:#fff}
.app-highlight{display:inline-block;margin-top:3px;background:#fff4df;border-radius:5px;padding:1px 6px;color:var(--gold)}
.spec-item{padding:8px 4px}
.spec-label{letter-spacing:.3px}
.spec-item:nth-child(2) .spec-label{color:var(--gold)}
.content-block{box-shadow:var(--shadow)}
.content-block .section-title{margin-top:0}
.entry-content h2{font-size:20px;line-height:1.25;padding-bottom:6px;border-bottom:1px solid var(--border)}
.entry-content h3{font-size:16px}
.feature-list{display:grid;gap:6px;padding-left:0;list-style:none}
.feature-list li{background:var(--primary-light);border-radius:7px;padding:8px 10px;color:var(--text)}
.feature-list li:before{content:"✓";font-weight:800;color:var(--primary);margin-right:7px}
.step-list li{background:var(--bg-body);border:1px solid var(--border);border-radius:8px;padding:9px 10px 9px 37px}
.notice-box{border-radius:9px}

/* ---------- v6 clean light UI ---------- */
.theme-toggle,.theme-icon{display:none!important}
.brand-image{display:block;max-height:38px;width:auto;max-width:160px;object-fit:contain}
.btn-view{background:var(--primary);color:#fff}
.app-highlight{display:inline-block;margin-top:3px;background:#fff4df;border-radius:5px;padding:1px 6px;color:var(--gold)}
.feature-list{display:grid;gap:6px;padding-left:0;list-style:none}
.feature-list li{background:var(--primary-light);border-radius:7px;padding:8px 10px;color:var(--text)}
.feature-list li:before{content:"✓";font-weight:800;color:var(--primary);margin-right:7px}
.step-list li{background:var(--bg-body);border:1px solid var(--border);border-radius:8px;padding:9px 10px 9px 37px}
.homepage-seo{margin-top:15px}
.homepage-seo .entry-content{line-height:1.7}
.homepage-seo .entry-content h2,.homepage-seo .entry-content h3{margin-top:16px}
@media(max-width:767px){.brand-image{max-height:34px;max-width:145px}}

/* ---------- Theme-matched breadcrumb ---------- */
.app-breadcrumb{display:flex;align-items:center;gap:6px;margin:10px 0 12px;padding:8px 11px;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow);font-size:12px;line-height:1.35;color:var(--muted);white-space:nowrap;overflow:hidden}
.app-breadcrumb a{color:var(--primary);font-weight:650;text-decoration:none}
.app-breadcrumb a:hover{color:var(--primary-hover);text-decoration:none}
.app-breadcrumb span[aria-hidden="true"]{color:#a0a8b2;font-size:13px}
.app-breadcrumb span:last-child{color:var(--text);font-weight:650;overflow:hidden;text-overflow:ellipsis}
@media(max-width:380px){.app-breadcrumb{margin-top:8px;margin-bottom:10px;padding:7px 9px;font-size:11px;gap:5px}}

/* More Apps lazy loader */
.more-apps-loading{text-align:center;color:var(--muted);font-size:11px;padding:10px 0 4px}.more-apps-sentinel{height:1px}.more-apps-section{min-height:20px}
