/*
Theme Name: Yono Store Complete
Description: Premium responsive WordPress app directory theme with unlimited apps, categories, app manager and SEO.
Version: 12.0 Premium Showcase
*/
:root{--accent:#2563eb;--bg:#f5f7fb;--surface:#fff;--surface2:#f8fafc;--text:#111827;--muted:#6b7280;--border:#e5e7eb;--shadow:0 12px 35px rgba(15,23,42,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5}a{text-decoration:none;color:inherit}.container{width:min(1160px,92%);margin:auto}
.site-header{background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:50}.header-inner{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:18px}.logo{font-size:22px;font-weight:900;color:var(--accent)}.logo img,.custom-logo{max-height:42px;width:auto}.header-actions{display:flex;align-items:center;gap:9px}.menu ul{display:flex;gap:18px;list-style:none;margin:0;padding:0}.menu a{font-size:13px;font-weight:800}.header-telegram,.theme-toggle{border:1px solid var(--border);border-radius:10px;padding:8px 11px;font-size:12px;font-weight:800;background:var(--surface)}.header-telegram{background:#229ed9;color:#fff;border-color:#229ed9}.theme-toggle{cursor:pointer}
.hero{padding:30px 0 16px}.hero-box{position:relative;overflow:hidden;background:linear-gradient(135deg,#fff,#f8fbff);border:1px solid var(--border);border-radius:26px;padding:44px 28px;text-align:center;box-shadow:var(--shadow)}.hero-glow{display:none}.eyebrow{display:inline-block;font-size:10px;letter-spacing:.12em;font-weight:900;color:var(--accent);margin-bottom:7px}.hero h1{margin:0 0 9px;font-size:40px;line-height:1.1;letter-spacing:-.04em}.hero p{color:var(--muted);max-width:720px;margin:auto}.search{display:flex;max-width:720px;margin:23px auto 0}.search input{flex:1;min-width:0;padding:15px 17px;border:1px solid var(--border);border-right:0;border-radius:13px 0 0 13px;font-size:15px;background:#fff}.search button{border:0;background:var(--accent);color:#fff;padding:0 24px;border-radius:0 13px 13px 0;font-weight:900}.hero-stats{display:flex;justify-content:center;gap:10px;margin-top:25px}.hero-stats div{min-width:105px;padding:10px 15px;background:rgba(255,255,255,.8);border:1px solid var(--border);border-radius:13px}.hero-stats strong,.hero-stats span{display:block}.hero-stats strong{font-size:17px}.hero-stats span{font-size:10px;color:var(--muted);font-weight:700}
.section{padding:12px 0 10px}.section-head{display:flex;justify-content:space-between;align-items:end;margin:12px 0 15px}.section-head h2{margin:0;font-size:23px;letter-spacing:-.02em}.muted{color:var(--muted);font-size:12px}.categories{display:flex;gap:9px;overflow:auto;padding:2px 0 13px}.cat{background:var(--surface);border:1px solid var(--border);padding:9px 15px;border-radius:999px;white-space:nowrap;font-size:12px;font-weight:800}.cat.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.card{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:15px;display:grid;grid-template-columns:70px 1fr;gap:12px;min-width:0;transition:transform .2s,box-shadow .2s}.premium-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.app-logo{width:70px;height:70px;border-radius:17px;object-fit:cover;background:#eef1f6;grid-row:2;box-shadow:0 5px 12px rgba(15,23,42,.08)}.info{min-width:0;grid-column:2;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title buttons" "stats stats";column-gap:9px;align-items:center}.title{grid-area:title;font-size:15px;font-weight:900;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-mini-stats{grid-area:stats}.buttons{grid-area:buttons;display:flex;gap:6px;margin:0;align-items:center;justify-content:flex-end}.buttons .btn{white-space:nowrap}.btn{display:inline-block;padding:8px 13px;border-radius:9px;font-size:12px;font-weight:900}.primary{background:var(--accent);color:#fff}.card-top{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;min-height:18px}.card-cat{font-size:10px;font-weight:800;color:var(--muted);background:var(--surface2);border:1px solid var(--border);padding:4px 7px;border-radius:999px}.rank-badge,.latest-badge{font-size:9px;font-weight:900;padding:4px 7px;border-radius:999px;background:#eef2ff;color:#4338ca}.latest-badge{background:#ecfdf5;color:#047857}.featured-card{min-height:145px}
.detail-wrap{padding:30px 0}.app-detail-card{background:var(--surface);border:1px solid var(--border);border-radius:24px;padding:26px;box-shadow:var(--shadow);max-width:850px;margin:auto}.back-link{font-size:12px;color:var(--muted);font-weight:800}.detail-hero{display:flex;gap:20px;align-items:center;margin-top:18px}.detail-logo{width:120px;height:120px;border-radius:26px;object-fit:cover;box-shadow:0 12px 30px rgba(15,23,42,.12)}.detail-logo.placeholder{background:#eef1f6}.detail-heading h1{font-size:34px;margin:0 0 5px}.detail-heading p{color:var(--muted);margin:0}.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.big{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:11px;font-weight:900}.primary-big{background:var(--accent);color:#fff}.telegram-big{background:#229ed9;color:#fff}.detail-content{border-top:1px solid var(--border);padding-top:22px}.detail-content h2{font-size:20px}.detail-content p{color:#4b5563}.detail-meta-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px}.detail-meta-grid div{background:var(--surface2);border:1px solid var(--border);border-radius:13px;padding:12px}.detail-meta-grid span,.detail-meta-grid strong{display:block}.detail-meta-grid span{font-size:10px;color:var(--muted)}.detail-meta-grid strong{font-size:13px;margin-top:3px}
.seo-keywords-section{padding:22px 0 30px}.seo-keywords-box{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:24px;box-shadow:0 6px 20px rgba(15,23,42,.04)}.seo-keywords-box h2{margin:0 0 5px;font-size:20px}.seo-keywords-box p{margin:0 0 15px;color:var(--muted);font-size:13px}.keyword-list{display:flex;flex-wrap:wrap;gap:7px}.keyword-tag{display:inline-flex;align-items:center;background:var(--surface2);border:1px solid var(--border);color:#4b5563;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800}
.footer{margin-top:42px;background:#0f172a;color:#cbd5e1;padding:35px 0 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-brand{font-size:21px;font-weight:900;color:#fff}.footer h3{font-size:13px;color:#fff;margin:0 0 10px}.footer p{font-size:12px;color:#94a3b8}.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}.footer ul a{font-size:12px}.telegram-footer{display:inline-flex;align-items:center;gap:7px;background:#229ed9;color:#fff!important;padding:10px 14px;border-radius:10px;font-size:12px;font-weight:900}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:28px;padding:15px 0;display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#64748b}
body.dark-mode{--bg:#0b1120;--surface:#111827;--surface2:#172033;--text:#f8fafc;--muted:#94a3b8;--border:#253047}.dark-mode .site-header{background:rgba(15,23,42,.92)}.dark-mode .hero-box{background:linear-gradient(135deg,#111827,#172033)}.dark-mode .search input{background:#0f172a;color:#fff}.dark-mode .detail-content p{color:#cbd5e1}.dark-mode .keyword-tag,.dark-mode .card-cat{color:#cbd5e1}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.detail-meta-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.header-inner{min-height:62px}.menu{display:none}.header-actions{margin-left:auto}.hero-box{padding:32px 16px}.hero h1{font-size:29px}.hero-stats{gap:6px}.hero-stats div{min-width:85px;padding:8px}.grid{grid-template-columns:1fr}.card{grid-template-columns:62px 1fr;padding:12px}.app-logo{width:62px;height:62px}.detail-hero{align-items:flex-start}.detail-logo{width:88px;height:88px;border-radius:19px}.detail-heading h1{font-size:26px}.app-detail-card{padding:18px}.detail-meta-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:4px}.header-telegram{font-size:10px;padding:7px 8px}.theme-toggle{padding:7px 9px}}

/* v11 Premium Pro */
.breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:4px 0 14px}.breadcrumbs a{color:var(--accent);font-weight:800}.premium-detail{max-width:900px}.detail-category{display:inline-flex;background:var(--surface2);border:1px solid var(--border);padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900;color:var(--accent);margin-bottom:7px}.detail-heading h1{letter-spacing:-.04em}.detail-actions{position:sticky;bottom:14px;z-index:10;background:rgba(255,255,255,.88);backdrop-filter:blur(12px);padding:10px;border:1px solid var(--border);border-radius:15px}.dark-mode .detail-actions{background:rgba(17,24,39,.9)}.screenshots{border-top:1px solid var(--border);padding-top:22px;margin-top:24px}.screenshot-row{display:flex;gap:12px;overflow:auto;padding-bottom:8px;scroll-snap-type:x mandatory}.screenshot-row img{width:220px;height:390px;object-fit:cover;border-radius:18px;border:1px solid var(--border);background:var(--surface2);scroll-snap-align:start;box-shadow:0 8px 25px rgba(15,23,42,.08)}.related-section{padding-top:5px}.categories .cat{display:inline-flex;align-items:center;gap:6px}.categories .cat small{font-size:9px;opacity:.7}.premium-card{overflow:hidden}.premium-card .buttons .btn{min-width:90px;text-align:center}.hero-box{box-shadow:0 18px 50px rgba(37,99,235,.08)}
@media(max-width:650px){.detail-actions{bottom:8px}.detail-actions .big{flex:1;min-width:140px}.screenshot-row img{width:185px;height:330px}.breadcrumbs{font-size:10px}}


/* v11.1 visual safety layer */
.site-header,.hero,.section,.detail-wrap,.footer{display:block;width:100%}.site-header .container,.hero .container,.section .container,.detail-wrap .container,.footer .container{max-width:1160px;margin-left:auto;margin-right:auto}.app-logo{display:block}.grid{align-items:stretch}.card img{max-width:100%;height:auto}.hero-box{width:100%}.search input{outline:none}.search input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(37,99,235,.10)}

/* v11.3 hard layout safeguards */
img{max-width:100%;height:auto}
.card img.app-logo,.app-logo{width:84px!important;height:84px!important;max-width:84px!important;object-fit:cover!important}
.screenshot-row img{width:220px!important;height:140px!important;object-fit:cover!important;border-radius:14px!important}
.featured-card{overflow:hidden}

/* v11.4 homepage head fix: index.php now calls get_header(), so wp_head and the stylesheet load normally. */

/* v11.6 premium polish: trending strip + trust cards */
.trending-section{padding-top:4px}.trending-bar{display:flex;align-items:center;gap:18px;background:linear-gradient(135deg,#eef5ff,#fff);border:1px solid var(--border);border-radius:18px;padding:12px 14px;box-shadow:0 8px 24px rgba(37,99,235,.06)}.trending-label{display:flex;align-items:center;gap:9px;min-width:155px}.trending-label .eyebrow{margin:0;font-size:9px}.trending-label strong{display:block;font-size:12px}.trend-dot{width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px rgba(37,99,235,.1)}.trending-list{display:flex;gap:8px;overflow:auto;flex:1;padding:2px}.trending-item{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;background:#fff;border:1px solid var(--border);border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800;transition:transform .18s,box-shadow .18s}.trending-item:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(15,23,42,.08)}.trending-item img{width:24px;height:24px;border-radius:7px;object-fit:cover}.trust-section{padding-top:6px}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.trust-card{display:flex;align-items:flex-start;gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:15px;padding:13px;box-shadow:0 6px 18px rgba(15,23,42,.035)}.trust-icon{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:10px;background:#eef4ff;color:var(--accent);font-size:12px;font-weight:900}.trust-card strong{display:block;font-size:12px}.trust-card p{margin:3px 0 0;color:var(--muted);font-size:10px;line-height:1.35}.dark-mode .trending-bar{background:linear-gradient(135deg,#111827,#172033)}.dark-mode .trending-item{background:var(--surface)}.dark-mode .trust-icon{background:#172554}
@media(max-width:850px){.trust-grid{grid-template-columns:repeat(2,1fr)}.trending-bar{align-items:flex-start}.trending-label{min-width:125px}}
@media(max-width:650px){.trending-bar{display:block;padding:12px}.trending-label{margin-bottom:8px}.trending-list{margin:0 -2px}.trust-grid{grid-template-columns:1fr 1fr}.trust-card{padding:11px}.trust-card p{font-size:9px}}

/* v11.6 premium polish: trending strip + trust cards */
.trending-section{padding-top:4px}.trending-bar{display:flex;align-items:center;gap:18px;background:linear-gradient(135deg,#eef5ff,#fff);border:1px solid var(--border);border-radius:18px;padding:12px 14px;box-shadow:0 8px 24px rgba(37,99,235,.06)}.trending-label{display:flex;align-items:center;gap:9px;min-width:155px}.trending-label .eyebrow{margin:0;font-size:9px}.trending-label strong{display:block;font-size:12px}.trend-dot{width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px rgba(37,99,235,.1)}.trending-list{display:flex;gap:8px;overflow:auto;flex:1;padding:2px}.trending-item{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;background:#fff;border:1px solid var(--border);border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800;transition:transform .18s,box-shadow .18s}.trending-item:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(15,23,42,.08)}.trending-item img{width:24px;height:24px;border-radius:7px;object-fit:cover}.trust-section{padding-top:6px}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.trust-card{display:flex;align-items:flex-start;gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:15px;padding:13px;box-shadow:0 6px 18px rgba(15,23,42,.035)}.trust-icon{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:10px;background:#eef4ff;color:var(--accent);font-size:12px;font-weight:900}.trust-card strong{display:block;font-size:12px}.trust-card p{margin:3px 0 0;color:var(--muted);font-size:10px;line-height:1.35}.dark-mode .trending-bar{background:linear-gradient(135deg,#111827,#172033)}.dark-mode .trending-item{background:var(--surface)}.dark-mode .trust-icon{background:#172554}
@media(max-width:850px){.trust-grid{grid-template-columns:repeat(2,1fr)}.trending-bar{align-items:flex-start}.trending-label{min-width:125px}}
@media(max-width:650px){.trending-bar{display:block;padding:12px}.trending-label{margin-bottom:8px}.trending-list{margin:0 -2px}.trust-grid{grid-template-columns:1fr 1fr}.trust-card{padding:11px}.trust-card p{font-size:9px}}

/* v12 Premium Showcase */
:root{--accent:#2563eb;--accent2:#7c3aed;--premium-shadow:0 20px 55px rgba(30,41,59,.10)}
.site-header{box-shadow:0 5px 25px rgba(15,23,42,.04)}
.hero{padding-top:34px}.hero-box{isolation:isolate;min-height:390px;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 15% 15%,rgba(37,99,235,.14),transparent 30%),radial-gradient(circle at 85% 20%,rgba(124,58,237,.12),transparent 28%),linear-gradient(135deg,#ffffff 0%,#f5f8ff 55%,#faf7ff 100%);border:1px solid rgba(148,163,184,.28);box-shadow:var(--premium-shadow)}.hero-box:before,.hero-box:after{content:"";position:absolute;border-radius:50%;z-index:-1;filter:blur(2px)}.hero-box:before{width:170px;height:170px;right:-70px;bottom:-85px;background:rgba(37,99,235,.12)}.hero-box:after{width:130px;height:130px;left:-55px;top:-65px;background:rgba(124,58,237,.10)}.hero .eyebrow{background:rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.12);padding:7px 11px;border-radius:999px}.hero h1{font-size:clamp(34px,5vw,54px);max-width:800px;margin-left:auto;margin-right:auto}.hero p{font-size:14px;max-width:650px}.premium-search{box-shadow:0 12px 35px rgba(37,99,235,.12);border-radius:15px}.premium-search input{background:rgba(255,255,255,.95);padding:17px 18px}.premium-search button{min-width:110px}.hero-stats div{box-shadow:0 8px 22px rgba(15,23,42,.045);backdrop-filter:blur(8px)}
.section-head h2{font-size:25px}.section-head .eyebrow{margin-bottom:4px}
.categories{scrollbar-width:none}.categories::-webkit-scrollbar,.trending-list::-webkit-scrollbar{display:none}.cat{transition:.18s ease;box-shadow:0 3px 10px rgba(15,23,42,.025)}.cat:hover{transform:translateY(-1px);border-color:rgba(37,99,235,.35)}
.featured-grid{grid-template-columns:repeat(3,1fr)}.featured-card{min-height:158px;background:linear-gradient(145deg,#fff,#f7faff);border-color:rgba(37,99,235,.12);box-shadow:0 10px 28px rgba(37,99,235,.07)}.featured-card:first-child{grid-column:span 2;grid-template-columns:92px 1fr;min-height:190px;padding:20px}.featured-card:first-child .app-logo{width:92px!important;height:92px!important;border-radius:23px}.featured-card:first-child .title{font-size:19px}.featured-card:first-child .card-top{padding-bottom:4px}.rank-badge{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;border:0!important}.latest-badge{background:#ecfdf5!important;color:#047857!important;border:1px solid #a7f3d0!important}
.card{box-shadow:0 7px 20px rgba(15,23,42,.035)}.card:hover{border-color:rgba(37,99,235,.18)}.app-logo{box-shadow:0 8px 20px rgba(15,23,42,.10)}.btn.primary{box-shadow:0 7px 16px rgba(37,99,235,.18);transition:.18s ease}.btn.primary:hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(37,99,235,.24)}
.trending-bar{background:linear-gradient(105deg,#eef5ff,#fff 55%,#faf5ff);box-shadow:0 12px 30px rgba(37,99,235,.07)}.trend-dot{background:linear-gradient(135deg,#2563eb,#7c3aed);box-shadow:0 0 0 5px rgba(99,102,241,.10)}
.trust-card{transition:.18s ease}.trust-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(15,23,42,.07)}.trust-icon{background:linear-gradient(135deg,#eef4ff,#f3e8ff)}
.seo-keywords-box{background:linear-gradient(135deg,#fff,#f8faff);box-shadow:0 12px 35px rgba(15,23,42,.05)}.keyword-tag{transition:.15s}.keyword-tag:hover{border-color:rgba(37,99,235,.35);transform:translateY(-1px)}
.footer{background:linear-gradient(145deg,#0b1220,#111827 60%,#172033)}
.dark-mode .hero-box{background:radial-gradient(circle at 15% 15%,rgba(37,99,235,.16),transparent 30%),radial-gradient(circle at 85% 20%,rgba(124,58,237,.14),transparent 28%),linear-gradient(135deg,#0f172a,#111827 55%,#17132a)}.dark-mode .featured-card,.dark-mode .seo-keywords-box{background:linear-gradient(145deg,#111827,#172033)}.dark-mode .latest-badge{background:#052e26!important;color:#6ee7b7!important;border-color:#065f46!important}
@media(max-width:900px){.featured-grid{grid-template-columns:repeat(2,1fr)}.featured-card:first-child{grid-column:span 2}}
@media(max-width:650px){.hero{padding-top:18px}.hero-box{min-height:350px;padding:30px 15px;border-radius:22px}.hero h1{font-size:31px}.hero p{font-size:13px}.hero-stats div{min-width:78px}.featured-grid{grid-template-columns:1fr}.featured-card:first-child{grid-column:span 1;grid-template-columns:70px 1fr;min-height:155px;padding:14px}.featured-card:first-child .app-logo{width:70px!important;height:70px!important;border-radius:18px}.featured-card:first-child .title{font-size:16px}.section-head h2{font-size:21px}}


/* Live visitor indicator */
.live-stat strong{display:flex;align-items:center;gap:8px}.live-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12);animation:yonoPulse 1.8s ease-in-out infinite}@keyframes yonoPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.85)}}

/* v12.2 real analytics */
.app-mini-stats{display:flex;gap:9px;color:var(--muted);font-size:9px;font-weight:800;margin-top:2px}.trending-item .trend-rank{font-size:9px;color:var(--accent);font-weight:900}.trending-item .trend-stats{font-size:9px;color:var(--muted);font-weight:700}.live-activity{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.activity-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:13px;box-shadow:0 7px 20px rgba(15,23,42,.04)}.activity-card strong{display:block;font-size:18px}.activity-card span{font-size:10px;color:var(--muted);font-weight:800}@media(max-width:650px){.live-activity{grid-template-columns:1fr 1fr}.activity-card:last-child{grid-column:1/-1}}

/* App sharing */
.app-share{margin-top:24px;padding:18px;border:1px solid var(--border);border-radius:18px;background:var(--surface2)}
.share-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.share-head h3{margin:2px 0 0;font-size:18px}.share-hint{font-size:11px;color:var(--muted)}
.share-buttons{display:flex;gap:8px;flex-wrap:wrap}.share-btn{appearance:none;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:9px 13px;border-radius:10px;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.share-btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(15,23,42,.08);border-color:var(--accent)}.native-share{background:var(--accent);border-color:var(--accent);color:#fff}.share-status{display:block;min-height:16px;margin-top:7px;font-size:11px;color:var(--accent);font-weight:700}
@media(max-width:650px){.share-head{align-items:flex-start;flex-direction:column;gap:2px}.share-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.share-btn{text-align:center}.app-share{padding:14px}}
/* v12.7: force brand/logo to the far left of the header */
.site-header .header-inner{display:flex!important;align-items:center!important;justify-content:flex-start!important;position:relative!important}
.site-header .logo{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:0 0 auto!important;margin:0!important;padding:0!important;text-align:left!important}
.site-header .logo img,.site-header .logo .custom-logo,.site-header .logo .custom-logo-link img{display:block!important;margin:0!important;max-width:180px!important;width:auto!important;height:auto!important;max-height:44px!important}
.site-header .header-actions{margin-left:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important}
@media(max-width:650px){.site-header .header-inner{min-height:62px!important}.site-header .logo img,.site-header .logo .custom-logo,.site-header .logo .custom-logo-link img{max-width:145px!important;max-height:38px!important}.site-header .header-actions{margin-left:auto!important}}

/* v12.8: logo + site name */
.site-header .header-inner{justify-content:space-between}
.site-header .logo{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;text-decoration:none!important;min-width:0}
.site-header .logo-mark{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto}
.site-header .logo-mark .custom-logo-link{display:inline-flex!important;align-items:center!important}
.site-header .logo-mark img,.site-header .logo-mark .custom-logo{display:block!important;width:auto!important;max-width:48px!important;height:auto!important;max-height:42px!important;object-fit:contain!important}
.site-header .logo-fallback{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:var(--accent);color:#fff;font-size:20px;font-weight:900}
.site-header .site-name{display:inline-block!important;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:20px!important;line-height:1.1!important;font-weight:900!important;color:var(--accent)!important}
@media(max-width:600px){
 .site-header .header-inner{gap:8px}
 .site-header .logo{gap:8px!important}
 .site-header .logo-mark img,.site-header .logo-mark .custom-logo{max-width:40px!important;max-height:36px!important}
 .site-header .site-name{font-size:17px!important;max-width:150px}
}

/* v14 Premium Pro: dashboard, favorites, instant search and screenshot lightbox */
.yono-dashboard{margin:0 0 18px;padding:16px;border:1px solid #dbe4f0;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.yono-dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.yono-dashboard-head h2{margin:2px 0 0;font-size:18px}.yono-dash-eyebrow{font-size:9px;font-weight:900;letter-spacing:.12em;color:#2563eb}.yono-dash-live{font-size:10px;font-weight:800;color:#16a34a}.yono-dashboard-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.yono-dashboard-stats>div{padding:12px;border:1px solid #e5eaf1;border-radius:11px;background:#f8fafc}.yono-dashboard-stats strong{display:block;font-size:20px}.yono-dashboard-stats span{font-size:10px;color:#64748b;font-weight:700}.yono-dashboard-top{margin-top:12px}.yono-dashboard-top h3{font-size:12px;margin:0 0 7px}.yono-top-list{display:grid;gap:5px}.yono-top-list>div{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;padding:7px 8px;border:1px solid #edf1f6;border-radius:9px;font-size:11px}.yono-top-list b{color:#2563eb}.yono-top-list small{color:#64748b;font-size:9px}.favorite-btn,.favorite-detail{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:9px;padding:8px 10px;font-size:11px;font-weight:800;cursor:pointer}.favorite-btn.is-saved,.favorite-detail.is-saved{color:#e11d48;border-color:#fecdd3;background:#fff1f2}.detail-actions{display:flex;flex-wrap:wrap;gap:8px}.screenshots img{cursor:zoom-in}.yono-lightbox{position:fixed;inset:0;background:rgba(2,6,23,.88);display:flex;align-items:center;justify-content:center;padding:24px;z-index:99999;cursor:zoom-out}.yono-lightbox img{max-width:min(920px,94vw);max-height:90vh;width:auto;height:auto;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.dark-mode .yono-dashboard{background:#111827;border-color:#263244}.dark-mode .yono-dashboard-stats>div{background:#172033;border-color:#263244}.dark-mode .yono-top-list>div{border-color:#263244}.dark-mode .favorite-btn,.dark-mode .favorite-detail{background:#111827;border-color:#263244}
@media(max-width:650px){.yono-dashboard-stats{grid-template-columns:1fr 1fr}.yono-dashboard-stats>div:last-child{grid-column:1/-1}.yono-top-list>div{grid-template-columns:24px 1fr}.yono-top-list small{grid-column:2}.favorite-btn{padding:7px 8px}}

/* v14.1: keep Download beside the app title on mobile too */
@media(max-width:650px){.info{grid-template-columns:minmax(0,1fr) auto;column-gap:6px}.buttons{gap:4px}.buttons .btn{padding:7px 9px;font-size:11px}.favorite-btn{padding:7px 8px;font-size:10px}.app-mini-stats{font-size:9px}}

/* v14.2: Always-visible Home button */
.site-header .home-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;padding:8px 12px!important;border:1px solid var(--border)!important;border-radius:10px!important;background:var(--surface)!important;color:var(--text)!important;font-size:12px!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important;transition:.18s ease!important}
.site-header .home-link:hover{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important;transform:translateY(-1px)}
@media(max-width:650px){.site-header .home-link{padding:7px 10px!important;font-size:11px!important}.site-header .header-actions{gap:6px!important}.site-header .header-telegram{font-size:10px!important}}

/* v14.3 premium usability upgrades */
.install-app-btn{border:1px solid #dbe3f0;background:#fff;color:#1d4ed8;border-radius:999px;padding:8px 12px;font-weight:700;font-size:12px;cursor:pointer;box-shadow:0 4px 14px rgba(37,99,235,.08)}
.install-app-btn:hover{background:#eff6ff}
.recently-viewed-section{position:relative}
.recent-clear{border:0;background:#eef2ff;color:#3155c7;border-radius:999px;padding:7px 12px;font-weight:700;cursor:pointer}
.recent-grid .recent-card{display:none}.recent-grid .recent-card:not([hidden]){display:flex}
.recent-grid .buttons{margin-top:10px}.recent-grid .btn{padding:8px 12px}
@media(max-width:700px){.install-app-btn{padding:7px 9px;font-size:11px}.site-name{max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-actions{gap:6px}.recently-viewed-section .section-head{align-items:center}}
.dark-mode .install-app-btn{background:#172033;border-color:#334155;color:#dbeafe}.dark-mode .recent-clear{background:#172033;color:#bfdbfe}
/* v14.5: cleaner app details heading */
.detail-heading h1{margin-bottom:0}
.detail-content p{line-height:1.75}

/* Top 3 Apps — displayed above the Discover Apps hero */
.top3-apps-section{margin:18px 0 22px}
.top3-heading{display:flex;align-items:center;justify-content:space-between;margin:0 2px 10px}
.top3-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.top3-card{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid rgba(15,23,42,.09);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.06)}
.top3-rank{flex:0 0 28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:800;background:var(--accent,#2563eb);color:#fff;font-size:13px}
.top3-logo{width:48px;height:48px;border-radius:12px;object-fit:cover;flex:0 0 48px}
.top3-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.top3-info strong{font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top3-info span{font-size:11px;line-height:1.25;color:#64748b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.top3-download{flex:0 0 auto;padding:8px 11px;border-radius:10px;background:var(--accent,#2563eb);color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:700}
@media(max-width:800px){.top3-grid{grid-template-columns:1fr}.top3-card{padding:10px}.top3-download{padding:8px 10px}}


/* v14.5 mobile search + hero spacing fix */
.search {
    width:100%;
    max-width:720px;
    min-width:0;
    box-sizing:border-box;
}
.search input,
.search button {
    box-sizing:border-box;
}
.search input {
    min-width:0;
    width:auto;
}
.search button {
    flex:0 0 auto;
}

/* Remove unnecessary empty vertical space above the search area */
.hero-box {
    min-height:0 !important;
    justify-content:flex-start !important;
}
.hero-box .search {
    margin-top:18px;
}

@media (max-width:650px) {
    .hero {
        padding:12px 0 10px !important;
    }
    .hero-box {
        width:100% !important;
        min-height:0 !important;
        padding:22px 12px 18px !important;
        border-radius:22px;
    }
    .hero-box .eyebrow {
        margin-bottom:5px;
    }
    .hero h1 {
        font-size:28px !important;
        line-height:1.12;
        margin-bottom:6px;
    }
    .hero p {
        font-size:13px;
        line-height:1.4;
    }
    .premium-search {
        width:100% !important;
        max-width:none !important;
        margin:16px 0 0 !important;
        display:flex !important;
    }
    .premium-search input {
        flex:1 1 auto !important;
        width:0 !important;
        min-width:0 !important;
        padding:14px 12px !important;
        font-size:14px !important;
    }
    .premium-search button {
        flex:0 0 88px !important;
        width:88px !important;
        min-width:88px !important;
        padding:0 10px !important;
        font-size:14px !important;
    }
    .hero-stats {
        width:100%;
        gap:6px;
        margin-top:16px !important;
    }
    .hero-stats div {
        flex:1 1 0;
        min-width:0 !important;
        padding:9px 6px !important;
    }
}

/* Prevent horizontal overflow on phones */
html, body {
    max-width:100%;
    overflow-x:hidden;
}


/* v14.5 final mobile cleanup: hide empty hero badge/pill and remove top blank strip */
.hero .eyebrow:empty,
.hero-box > .eyebrow:empty {
    display:none !important;
}
@media (max-width:650px) {
    .hero {
        padding-top:8px !important;
        padding-bottom:8px !important;
    }
    .hero-box {
        min-height:0 !important;
        height:auto !important;
        padding-top:18px !important;
    }
    .hero-box:before,
    .hero-box:after {
        display:none !important;
    }
}


/* Premium UI refresh */
.app-card, .app-item, .application-card {
    border-radius:18px !important;
    box-shadow:0 6px 22px rgba(20,45,90,.08) !important;
    transition:transform .18s ease, box-shadow .18s ease;
    overflow:hidden;
}
.app-card:hover, .app-item:hover, .application-card:hover {
    transform:translateY(-2px);
    box-shadow:0 10px 28px rgba(20,45,90,.13) !important;
}

button, .btn, .download-btn, .download-button {
    border-radius:12px !important;
    font-weight:700;
    transition:transform .15s ease, opacity .15s ease;
}
button:hover, .btn:hover, .download-btn:hover, .download-button:hover {
    transform:translateY(-1px);
}

@media (max-width:650px) {
    .app-grid, .apps-grid, .application-grid, .app-list {
        gap:12px !important;
    }
    .app-card, .app-item, .application-card {
        border-radius:16px !important;
    }
}

/* Numbered featured/top-app badges */
.top-badge, .rank-badge, .featured-badge {
    border-radius:999px !important;
    font-weight:800 !important;
}

/* Cleaner section headings */
.section-title, .apps-title, .category-title {
    letter-spacing:-.2px;
}


/* v14.5+ App Store sections: Top 3 / Featured / Latest / Category */
.app-store-section {
    margin: 24px 0;
}
.app-store-section-title {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:0 0 14px;
}
.app-store-section-title h2 {
    margin:0;
    font-size:21px;
    line-height:1.2;
    letter-spacing:-.2px;
}
.app-store-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.app-store-card {
    position:relative;
    min-width:0;
    border-radius:18px;
    background:#fff;
    box-shadow:0 6px 22px rgba(20,45,90,.08);
    padding:14px;
    overflow:hidden;
    transition:transform .18s ease,box-shadow .18s ease;
}
.app-store-card:hover {
    transform:translateY(-2px);
    box-shadow:0 10px 28px rgba(20,45,90,.13);
}
.app-store-rank {
    position:absolute;
    top:10px;
    left:10px;
    min-width:28px;
    height:28px;
    padding:0 8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#111827;
    color:#fff;
    font-weight:800;
    font-size:13px;
}
.app-store-tabs {
    display:flex;
    gap:8px;
    overflow-x:auto;
    scrollbar-width:none;
    margin:0 0 16px;
}
.app-store-tabs::-webkit-scrollbar { display:none; }
.app-store-tab {
    white-space:nowrap;
    border:0;
    border-radius:999px;
    padding:9px 13px;
    background:#f2f5f9;
    font-weight:700;
    cursor:pointer;
}
.app-store-tab.active {
    background:#111827;
    color:#fff;
}
.app-store-hidden { display:none !important; }

@media (max-width:650px) {
    .app-store-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:11px;
    }
    .app-store-card {
        padding:11px;
        border-radius:16px;
    }
    .app-store-section-title h2 { font-size:19px; }
}


/* ===== Modern App Store UI v2 ===== */

/* Cleaner section rhythm */
.section { margin-bottom: 6px; }
.section-head h2 { font-weight: 900; }
.section-head { margin-bottom: 13px; }

/* Trending strip */
.trending-bar {
    display:flex;
    align-items:center;
    gap:14px;
    padding:12px 14px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow:0 6px 20px rgba(15,23,42,.05);
}
.trending-label { display:flex; align-items:center; gap:9px; flex:0 0 auto; }
.trending-label strong { display:block; font-size:12px; }
.trend-dot {
    width:9px; height:9px; border-radius:50%;
    background:#22c55e;
    box-shadow:0 0 0 5px rgba(34,197,94,.12);
}
.trending-list {
    display:flex;
    gap:8px;
    overflow:auto;
    scrollbar-width:none;
    min-width:0;
}
.trending-list::-webkit-scrollbar { display:none; }
.trending-item {
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:7px;
    padding:7px 10px;
    border:1px solid var(--border);
    background:var(--surface2);
    border-radius:12px;
    font-size:11px;
    font-weight:800;
}
.trending-item img {
    width:28px; height:28px; border-radius:8px;
    object-fit:cover;
}
.trend-stats { color:var(--muted); font-size:9px; font-weight:700; }

/* Better featured cards */
.featured-card {
    border-top:3px solid var(--accent);
    padding-top:12px;
}
.featured-card .rank-badge {
    background:rgba(37,99,235,.10);
    color:var(--accent);
}

/* New badge */
.latest-badge {
    display:inline-flex;
    align-items:center;
    gap:4px;
}
.latest-badge:before {
    content:"";
    width:5px; height:5px;
    border-radius:50%;
    background:#10b981;
}

/* Category chips */
.categories {
    padding-bottom:10px;
    scroll-snap-type:x proximity;
}
.categories .cat {
    scroll-snap-align:start;
    transition:transform .15s ease, background .15s ease;
}
.categories .cat:hover { transform:translateY(-1px); }

/* Top 3 polish */
.top3-card {
    border-top:3px solid var(--accent);
    background:linear-gradient(180deg,var(--surface),var(--surface2));
}
.top3-card:nth-child(1) .top3-rank { background:#d6a11e; }
.top3-card:nth-child(2) .top3-rank { background:#64748b; }
.top3-card:nth-child(3) .top3-rank { background:#a16207; }

/* Trust cards */
.trust-card {
    border-radius:16px !important;
    transition:transform .15s ease, box-shadow .15s ease;
}
.trust-card:hover { transform:translateY(-2px); }

/* Dark mode coverage for new sections */
.dark-mode .trending-bar,
.dark-mode .trending-item,
.dark-mode .top3-card,
.dark-mode .app-store-card {
    background:var(--surface);
    color:var(--text);
}
.dark-mode .trending-item { border-color:var(--border); }
.dark-mode .top3-info span,
.dark-mode .trend-stats { color:var(--muted); }
.dark-mode .featured-card { border-top-color:var(--accent); }
.dark-mode .latest-badge { background:rgba(16,185,129,.12); color:#6ee7b7; }

/* Mobile: compact two-column app catalogue */
@media (max-width:650px) {
    .trending-bar {
        align-items:flex-start;
        flex-direction:column;
        gap:9px;
        padding:11px;
    }
    .trending-list { width:100%; }
    .top3-grid { gap:9px; }
    .top3-card { min-height:70px; }
    .top3-info span { display:none; }
    .top3-download { padding:7px 9px; font-size:11px; }

    .catalogue-live .grid,
    .featured-grid,
    .related-grid {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:10px !important;
    }
    .catalogue-live .card,
    .featured-grid .card,
    .related-grid .card {
        display:block !important;
        padding:10px !important;
        border-radius:15px !important;
    }
    .catalogue-live .card .card-top,
    .featured-grid .card .card-top,
    .related-grid .card .card-top {
        margin-bottom:8px;
    }
    .catalogue-live .app-logo,
    .featured-grid .app-logo,
    .related-grid .app-logo {
        display:block;
        width:58px !important;
        height:58px !important;
        margin-bottom:8px;
        border-radius:14px !important;
    }
    .catalogue-live .info,
    .featured-grid .info,
    .related-grid .info {
        display:block !important;
    }
    .catalogue-live .title,
    .featured-grid .title,
    .related-grid .title {
        display:block;
        font-size:13px;
        margin-bottom:5px;
    }
    .catalogue-live .app-mini-stats,
    .featured-grid .app-mini-stats,
    .related-grid .app-mini-stats {
        font-size:9px;
        margin-bottom:8px;
    }
    .catalogue-live .buttons,
    .featured-grid .buttons,
    .related-grid .buttons {
        justify-content:stretch !important;
    }
    .catalogue-live .buttons .favorite-btn,
    .featured-grid .buttons .favorite-btn,
    .related-grid .buttons .favorite-btn {
        display:none;
    }
    .catalogue-live .buttons .btn,
    .featured-grid .buttons .btn,
    .related-grid .buttons .btn {
        width:100%;
        min-width:0 !important;
        text-align:center;
        padding:8px 6px;
        font-size:11px;
    }
}


/* Advanced search helpers */
.search-hints {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:6px;
    margin-top:9px;
    font-size:11px;
}
.search-hints > span { opacity:.7; }
.search-hints a {
    padding:5px 9px;
    border-radius:999px;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(100,116,139,.18);
    text-decoration:none;
    font-weight:700;
}
.dark-mode .search-hints a {
    background:rgba(255,255,255,.07);
    border-color:rgba(255,255,255,.12);
}
.latest-badge {
    padding:4px 8px;
    border-radius:999px;
    background:rgba(16,185,129,.10);
    color:#059669;
    font-weight:800;
}
@media (max-width:650px){
    .search-hints { justify-content:flex-start; overflow:auto; flex-wrap:nowrap; }
    .search-hints a { flex:0 0 auto; }
}

/* Next-level marketplace */
.app-rating{margin-top:22px;padding:16px 18px;border:1px solid var(--border);border-radius:18px;background:var(--surface2);display:flex;justify-content:space-between;align-items:center;gap:20px}.rating-copy strong{display:block;margin-top:3px;font-size:22px}.rating-copy small,.rating-vote small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.stars-display{font-size:14px;letter-spacing:1px;color:#f59e0b;margin-left:4px}.rating-vote{text-align:right}.rate-label{display:block;font-size:10px;font-weight:800;color:var(--muted);margin-bottom:4px}.rating-stars{display:flex;gap:2px}.rating-stars button{border:0;background:transparent;color:#cbd5e1;font-size:25px;line-height:1;padding:0;cursor:pointer}.rating-stars button:hover,.rating-stars button.selected{color:#f59e0b}.rating-stars button:disabled{cursor:default;opacity:.8}.mobile-bottom-nav{display:none}
@media(max-width:650px){.app-rating{display:block;padding:14px}.rating-vote{text-align:left;margin-top:12px}.rating-stars button{font-size:28px}.mobile-bottom-nav{position:fixed;display:flex;left:10px;right:10px;bottom:10px;z-index:9999;justify-content:space-around;gap:4px;padding:8px 5px;border:1px solid var(--border);border-radius:18px;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);box-shadow:0 10px 30px rgba(15,23,42,.15)}.mobile-bottom-nav a{flex:1;text-align:center;color:var(--muted);font-weight:800;font-size:18px;line-height:1}.mobile-bottom-nav small{display:block;font-size:9px;margin-top:3px}.dark-mode .mobile-bottom-nav{background:rgba(17,24,39,.94)}body{padding-bottom:64px}}

/* Functional mobile bottom navigation */
.favorites-section[hidden]{display:none!important}
.favorites-grid{margin-top:2px}
.mobile-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;min-height:40px;border-radius:12px}
.mobile-bottom-nav a:active,.mobile-bottom-nav a.active{background:var(--surface2);color:var(--accent)}
@media(max-width:650px){.mobile-bottom-nav{padding-bottom:calc(8px + env(safe-area-inset-bottom));bottom:6px}.favorites-section{scroll-margin-top:12px}.hero#search,.section#categories{scroll-margin-top:10px}}

/* ===== Beautiful mobile tools UI ===== */
.mobile-tools-overlay{
  align-items:stretch!important;
  justify-content:stretch!important;
  background:var(--bg,#f6f8fc);
}
.mobile-tools-backdrop{display:none!important}
.mobile-tools-sheet{
  width:100%!important;
  max-height:none!important;
  min-height:100%!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0 16px calc(90px + env(safe-area-inset-bottom))!important;
  overflow:auto;
  background:var(--bg,#f6f8fc)!important;
}
.mobile-tools-sheet:before{
  content:"";
  display:block;
  height:env(safe-area-inset-top);
}
.mobile-tools-close{
  top:calc(12px + env(safe-area-inset-top))!important;
  right:14px!important;
  width:38px!important;height:38px!important;
  background:var(--surface)!important;
  border:1px solid var(--border)!important;
  box-shadow:0 5px 16px rgba(15,23,42,.08);
  z-index:2;
}
.mobile-tool-panel{
  padding:62px 0 20px!important;
}
.mobile-tool-panel .eyebrow{
  display:inline-flex;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(37,99,235,.09);
  color:var(--accent);
  font-size:10px;
  font-weight:900;
  letter-spacing:.5px;
}
.mobile-tool-panel h2{
  font-size:28px!important;
  letter-spacing:-.6px;
  margin:10px 0 5px!important;
}
.mobile-tool-panel p{
  font-size:13px!important;
  line-height:1.5;
  max-width:330px;
}
.mobile-category-list{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin-top:18px;
}
.mobile-category-item{
  min-height:62px;
  padding:12px 13px!important;
  border-radius:16px!important;
  background:var(--surface)!important;
  box-shadow:0 5px 18px rgba(15,23,42,.05);
  transition:transform .15s ease,box-shadow .15s ease;
}
.mobile-category-item:active{
  transform:scale(.98);
}
.mobile-category-item span{
  min-width:27px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:var(--surface2);
}
.mobile-tool-search{
  margin:20px 0 12px!important;
  padding:6px;
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:17px;
  box-shadow:0 7px 22px rgba(15,23,42,.06);
}
.mobile-tool-search input{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:13px 11px!important;
}
.mobile-tool-search button{
  min-height:44px;
  border-radius:12px!important;
}
.search-hints{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
}
.search-hints span{
  color:var(--muted);
  font-size:11px;
  font-weight:700;
}
.search-hints a{
  padding:7px 10px;
  border-radius:999px;
  background:var(--surface);
  border:1px solid var(--border);
  color:var(--text);
  font-size:10px;
  font-weight:800;
}
@media(max-width:650px){
  .mobile-tools-sheet{padding-left:14px!important;padding-right:14px!important}
}

/* ===== FINAL: reliable premium mobile navigation ===== */
.mobile-tools-overlay[hidden]{display:none!important}
body.mobile-tools-open{overflow:hidden}
.mobile-tools-sheet{
  color:var(--text)!important;
}
.mobile-tools-sheet .mobile-tool-panel[hidden]{display:none!important}
.mobile-category-item{
  position:relative;
  text-decoration:none!important;
}
.mobile-category-item:after{
  content:"›";
  margin-left:auto;
  color:var(--muted);
  font-size:18px;
  line-height:1;
}
.mobile-tools-close:active{transform:scale(.94)}
.mobile-bottom-nav{
  padding-left:7px!important;
  padding-right:7px!important;
}
.mobile-bottom-nav a{
  position:relative;
  gap:2px;
  color:var(--muted)!important;
  transition:transform .15s ease,background .15s ease,color .15s ease;
}
.mobile-bottom-nav a span{
  font-size:19px!important;
  line-height:20px!important;
}
.mobile-bottom-nav a small{
  font-weight:800!important;
  letter-spacing:.1px;
}
.mobile-bottom-nav a.active{
  color:var(--accent)!important;
  background:rgba(37,99,235,.09)!important;
}
.mobile-bottom-nav a:active{transform:scale(.94)}
.mobile-bottom-nav:before{
  content:"";
  position:absolute;
  width:42px;height:3px;
  top:0;left:50%;
  transform:translateX(-50%);
  border-radius:99px;
  background:var(--accent);
  opacity:.7;
}
@media(max-width:650px){
  .mobile-tools-sheet{
    padding-bottom:calc(96px + env(safe-area-inset-bottom))!important;
  }
  .mobile-category-list{grid-template-columns:1fr 1fr!important}
}
@media(max-width:390px){
  .mobile-category-list{grid-template-columns:1fr!important}
}

/* Final reliable navigation: use the real page sections, never an overlay. */
.mobile-tools-overlay{display:none!important}
.mobile-tools-open{overflow:auto!important}
.mobile-bottom-nav{z-index:10000!important}

/* ===== Top Apps bottom navigation + section ===== */
.top-apps-section{margin:18px 0 24px}
.top-apps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.top-app-card{
  position:relative;display:flex;align-items:center;gap:10px;min-width:0;
  padding:12px;border:1px solid var(--border);border-radius:16px;
  background:var(--surface);box-shadow:0 6px 20px rgba(15,23,42,.06);
}
.top-app-card img{width:48px;height:48px;border-radius:13px;object-fit:cover;flex:0 0 auto}
.top-app-rank{position:absolute;top:7px;left:7px;background:var(--accent);color:#fff;border-radius:999px;padding:3px 6px;font-size:9px;font-weight:900}
.top-app-info{min-width:0;display:flex;flex-direction:column;gap:3px}
.top-app-info strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-app-info small{font-size:9px;color:var(--muted)}
.top-app-open{margin-left:auto;flex:0 0 auto;padding:7px 9px;border-radius:10px;background:var(--accent);color:#fff!important;font-size:9px;font-weight:900;text-decoration:none}
@media(max-width:650px){
  .top-apps-grid{grid-template-columns:1fr;gap:9px}
  .top-app-card{padding:11px}
  .top-app-open{padding:8px 10px}
}
@media(max-width:420px){
  .mobile-bottom-nav a small{font-size:8px!important}
  .mobile-bottom-nav a span{font-size:17px!important}
}

/* Top Apps selector + nav polish */
.top3-apps-section{scroll-margin-top:18px}
.top3-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
@media(max-width:650px){
  .mobile-bottom-nav a{flex:1;min-width:0}
  .mobile-bottom-nav a small{font-size:9px}
}

/* ===== Performance optimization ===== */
html{scroll-behavior:auto!important}
*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.08s!important}
img{content-visibility:auto}
.app-card,.app-item,.application-card,.top-app-card,.mobile-category-item,.app-store-card{
  box-shadow:0 2px 10px rgba(15,23,42,.06)!important;
  transition:none!important;
}
.app-card:hover,.app-item:hover,.application-card:hover,.app-store-card:hover{
  transform:none!important;
  box-shadow:0 2px 10px rgba(15,23,42,.06)!important;
}
.mobile-tools-sheet{backdrop-filter:none!important}
@media(max-width:650px){
  .mobile-bottom-nav{backdrop-filter:none!important}
  .hero-box,.search,.app-card,.app-item,.application-card,.top-app-card{
    will-change:auto!important;
  }
}

/* ===== Bottom-nav Top Apps section ===== */
.top-apps-bottom-section{margin:24px 0 28px}
.top-apps-bottom-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.top-app-bottom-card{
 position:relative;display:flex;align-items:center;gap:10px;min-width:0;
 padding:12px;border:1px solid var(--border);border-radius:16px;
 background:var(--surface);box-shadow:0 2px 10px rgba(15,23,42,.06);
}
.top-app-bottom-card img{width:48px;height:48px;border-radius:13px;object-fit:cover;flex:0 0 auto}
.top-app-bottom-rank{position:absolute;top:7px;left:7px;padding:3px 6px;border-radius:999px;background:var(--accent);color:#fff;font-size:9px;font-weight:900}
.top-app-bottom-info{min-width:0;display:flex;flex-direction:column;gap:3px}
.top-app-bottom-info strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-app-bottom-info small{font-size:9px;color:var(--muted)}
.top-app-bottom-btn{margin-left:auto;flex:0 0 auto;padding:7px 9px;border-radius:10px;background:var(--accent);color:#fff!important;font-size:9px;font-weight:900;text-decoration:none}
@media(max-width:900px){.top-apps-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 .top-apps-bottom-grid{grid-template-columns:1fr 1fr;gap:9px}
 .top-app-bottom-card{padding:10px;border-radius:14px}
 .top-app-bottom-card img{width:42px;height:42px}
 .top-app-bottom-btn{padding:7px 8px}
}

/* Premium extras */
.trending-premium{margin:18px 0 24px}
.trending-premium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.trending-premium-card{position:relative;display:flex;align-items:center;gap:9px;min-width:0;padding:11px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:0 2px 10px rgba(15,23,42,.06)}
.trending-premium-card img{width:44px;height:44px;border-radius:12px;object-fit:cover;flex:0 0 auto}
.trend-rank{position:absolute;top:6px;left:6px;background:var(--accent);color:#fff;border-radius:999px;padding:2px 5px;font-size:8px;font-weight:900}
.trend-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.trend-copy strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trend-copy small{font-size:9px;color:var(--muted)}
.trend-open{margin-left:auto;padding:6px 8px;border-radius:9px;background:var(--accent);color:#fff!important;font-size:9px;font-weight:900;text-decoration:none}
.new-app-badge{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;background:rgba(16,185,129,.11);color:#059669;font-size:9px;font-weight:900}
.app-share-btn{border:1px solid var(--border);background:var(--surface2);color:var(--text);border-radius:10px;padding:7px 9px;font-size:10px;font-weight:800;cursor:pointer}
@media(max-width:900px){.trending-premium-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.trending-premium-grid{grid-template-columns:1fr 1fr;gap:8px}.trending-premium-card{padding:9px}.trending-premium-card img{width:40px;height:40px}.trend-open{padding:6px}}

/* ===== Popular / Recently Updated / Rating ===== */
.premium-stats-section{margin:18px 0 24px}
.premium-discover-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.premium-discover-box{padding:13px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 2px 10px rgba(15,23,42,.06)}
.discover-box-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.discover-box-head strong{font-size:13px}
.discover-box-head span{font-size:9px;color:var(--muted);font-weight:800}
.discover-row{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid var(--border);text-decoration:none;color:var(--text)!important}
.discover-row img{width:34px;height:34px;border-radius:9px;object-fit:cover}
.discover-row strong{min-width:0;flex:1;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.discover-num{width:20px;text-align:center;font-size:10px;font-weight:900;color:var(--accent)}
.discover-arrow{font-size:17px;color:var(--muted)}
.app-rating{display:flex;align-items:center;gap:1px;margin:5px 0 7px}
.app-rating .rating-label{font-size:9px;color:var(--muted);margin-right:3px}
.app-rating button{border:0;background:transparent;color:#cbd5e1;padding:1px;font-size:13px;line-height:1;cursor:pointer}
.app-rating button.is-rated{color:#f59e0b}
@media(max-width:650px){
 .premium-discover-grid{grid-template-columns:1fr}
 .premium-discover-box{padding:11px}
}

.app-autocomplete{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:999;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 10px 28px rgba(15,23,42,.12);overflow:hidden}
.app-autocomplete[hidden]{display:none}
.app-autocomplete button{display:block;width:100%;padding:11px 13px;border:0;border-bottom:1px solid var(--border);background:var(--surface);color:var(--text);text-align:left;font-size:12px;font-weight:700}
.app-autocomplete button:last-child{border-bottom:0}

.discover-manual-note{font-size:10px;color:var(--muted);margin-top:8px}

/* New apps first */
.new-app-badge{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;background:rgba(16,185,129,.11);color:#059669;font-size:9px;font-weight:900}

/* ===== Premium detail + download counter ===== */
.yono-auto-new{
 position:absolute;top:8px;right:8px;z-index:2;
 padding:4px 7px;border-radius:999px;
 background:#10b981;color:#fff;font-size:8px;font-weight:900;
 letter-spacing:.3px;box-shadow:0 3px 8px rgba(16,185,129,.22);
}
.yono-download-count{
 display:inline-flex;align-items:center;gap:5px;
 margin-left:7px;padding:5px 8px;border-radius:999px;
 background:var(--surface2);color:var(--muted);font-size:10px;font-weight:800;
}
#yono-back-top{
 position:fixed;right:16px;bottom:82px;z-index:10001;
 width:42px;height:42px;border:1px solid var(--border);
 border-radius:50%;background:var(--surface);color:var(--text);
 box-shadow:0 7px 20px rgba(15,23,42,.14);
 font-size:19px;font-weight:900;cursor:pointer;
 opacity:0;visibility:hidden;transform:translateY(8px);
 transition:opacity .15s ease,transform .15s ease,visibility .15s ease;
}
#yono-back-top.show{opacity:1;visibility:visible;transform:translateY(0)}
@media(max-width:650px){
 #yono-back-top{bottom:86px;right:12px}
 .yono-auto-new{top:6px;right:6px}
}

/* ===== Premium Top Apps redesign ===== */
.top-apps-bottom-section{
  margin:26px 0 30px;
  padding:0;
}
.top-apps-heading{
  align-items:flex-end;
  margin-bottom:13px;
}
.top-apps-heading h2{
  margin-top:4px;
  letter-spacing:-.4px;
}
.top-apps-bottom-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.top-app-bottom-card{
  position:relative;
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  min-height:78px;
  padding:12px 12px 12px 14px;
  border:1px solid var(--border);
  border-radius:18px;
  background:linear-gradient(180deg,var(--surface),var(--surface2));
  box-shadow:0 5px 18px rgba(15,23,42,.07);
  overflow:hidden;
}
.top-app-bottom-card:before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;width:3px;
  background:var(--accent);
  opacity:.85;
}
.top-app-rank-circle{
  position:absolute;
  top:8px;left:8px;
  width:22px;height:22px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  background:var(--accent);
  color:#fff;
  font-size:9px;
  font-weight:900;
  box-shadow:0 3px 8px rgba(37,99,235,.2);
}
.top-app-logo-wrap{
  width:54px;height:54px;
  flex:0 0 54px;
  margin-left:8px;
  display:flex;align-items:center;justify-content:center;
  border-radius:15px;
  background:var(--surface);
  border:1px solid var(--border);
  overflow:hidden;
}
.top-app-logo-wrap img{
  width:100%;height:100%;object-fit:cover;
}
.top-app-logo-wrap span{
  font-size:9px;font-weight:900;color:var(--muted);
}
.top-app-bottom-info{
  min-width:0;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.top-app-bottom-info strong{
  font-size:12px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.top-app-bottom-info small{
  font-size:9px;
  color:var(--muted);
  font-weight:800;
}
.top-app-bottom-btn{
  flex:0 0 auto;
  padding:8px 11px;
  border-radius:11px;
  background:var(--accent);
  color:#fff!important;
  font-size:10px;
  font-weight:900;
  text-decoration:none;
}
.top-app-bottom-btn:active{transform:scale(.97)}
@media(max-width:900px){
  .top-apps-bottom-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .top-apps-bottom-grid{grid-template-columns:1fr 1fr;gap:9px}
  .top-app-bottom-card{
    min-height:76px;
    padding:10px 9px 10px 10px;
    border-radius:15px;
    gap:8px;
  }
  .top-app-logo-wrap{width:46px;height:46px;flex-basis:46px;margin-left:7px;border-radius:12px}
  .top-app-bottom-info strong{font-size:11px}
  .top-app-bottom-btn{padding:7px 8px;font-size:9px}
}
@media(max-width:390px){
  .top-apps-bottom-grid{grid-template-columns:1fr}
}

/* ===== Premium app detail page ===== */
.yono-detail-meta{
  display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 15px;
}
.yono-detail-meta span{
  display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;
  background:var(--surface2);border:1px solid var(--border);
  color:var(--muted);font-size:9px;font-weight:900;
}
#yono-sticky-download{
  display:none;
}
#yono-detail-top{
  position:fixed;right:16px;bottom:82px;z-index:10001;
  width:42px;height:42px;border:1px solid var(--border);border-radius:50%;
  background:var(--surface);color:var(--text);
  box-shadow:0 7px 20px rgba(15,23,42,.14);
  font-size:18px;font-weight:900;cursor:pointer;
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .15s ease,transform .15s ease,visibility .15s ease;
}
#yono-detail-top.show{opacity:1;visibility:visible;transform:translateY(0)}
@media(max-width:650px){
  .yono-detail-meta{gap:5px}
  .yono-detail-meta span{font-size:8px;padding:5px 7px}
  .yono-gallery{margin:17px 0;padding:12px;border-radius:17px}
  .yono-gallery-img{width:145px!important;height:255px!important;flex-basis:145px}
  #yono-sticky-download{
    display:block;position:fixed;left:10px;right:10px;
    bottom:calc(68px + env(safe-area-inset-bottom));z-index:10000;
  }
  #yono-sticky-download a{
    display:block;text-align:center;padding:13px 15px;border-radius:14px;
    background:var(--accent);color:#fff!important;text-decoration:none;
    font-size:13px;font-weight:900;box-shadow:0 8px 24px rgba(37,99,235,.25);
  }
  #yono-detail-top{bottom:126px;right:12px}
}

/* ===== App Detail Premium Extras ===== */
.yono-premium-hero{
  display:flex;align-items:center;gap:14px;margin:0 0 16px;padding:17px;
  border:1px solid var(--border);border-radius:22px;
  background:linear-gradient(180deg,var(--surface),var(--surface2));
  box-shadow:0 7px 22px rgba(15,23,42,.07);
}
.yono-detail-hero-logo{
  width:72px!important;height:72px!important;flex:0 0 72px;
  object-fit:cover;border-radius:18px;border:1px solid var(--border);
}
.yono-premium-hero h1,.yono-premium-hero h2{margin:0!important;min-width:0}
.yono-detail-hero-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.yono-detail-hero-badges span{
  padding:5px 7px;border-radius:999px;background:var(--surface);
  border:1px solid var(--border);font-size:8px;color:var(--muted);font-weight:900;
}
.yono-detail-box{
  margin:14px 0;padding:14px 15px;border:1px solid var(--border);
  border-radius:18px;background:var(--surface);
  box-shadow:0 3px 13px rgba(15,23,42,.05);
}
.yono-detail-box-title{font-size:13px;font-weight:900;margin-bottom:6px}
.yono-detail-box p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}
.yono-detail-box a{
  display:inline-block;padding:7px 9px;margin:4px 5px 0 0;border-radius:10px;
  background:var(--surface2);border:1px solid var(--border);
  color:var(--text)!important;font-size:10px;font-weight:800;text-decoration:none;
}
#yono-verified-badge{
  display:inline-flex;align-items:center;margin:5px 0 10px;padding:5px 9px;
  border-radius:999px;background:rgba(16,185,129,.11);color:#059669;
  font-size:9px;font-weight:900;
}
@media(max-width:650px){
  .yono-premium-hero{padding:13px;border-radius:18px;gap:10px}
  .yono-detail-hero-logo{width:58px!important;height:58px!important;flex-basis:58px;border-radius:14px}
  .yono-detail-hero-badges span{font-size:7px;padding:4px 6px}
}

/* ===== Smart Download / Related Apps / Tags ===== */
.yono-related-box{
 margin:22px 0;padding:15px;border:1px solid var(--border);
 border-radius:20px;background:var(--surface);
 box-shadow:0 4px 16px rgba(15,23,42,.06);
}
.yono-related-title{font-size:14px;font-weight:900;margin-bottom:11px}
.yono-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.yono-related-card{
 display:flex;flex-direction:column;gap:7px;min-width:0;padding:9px;
 border:1px solid var(--border);border-radius:14px;background:var(--surface2);
 text-decoration:none;color:var(--text)!important;
}
.yono-related-img{width:100%;height:92px;object-fit:cover;border-radius:11px}
.yono-related-card strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yono-auto-tags{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}
.yono-auto-tags span{
 display:inline-flex;padding:3px 6px;border-radius:999px;
 background:var(--surface2);border:1px solid var(--border);
 color:var(--muted);font-size:7px;font-weight:900;
}
#yono-header-search-btn{
 margin-left:8px;width:38px;height:38px;border:1px solid var(--border);
 border-radius:11px;background:var(--surface);color:var(--text);cursor:pointer;
}
@media(max-width:650px){
 .yono-related-grid{grid-template-columns:1fr 1fr}
 .yono-related-img{height:100px}
 #yono-header-search-btn{width:34px;height:34px}
}

/* ===== Admin badges / QR / analytics ===== */
.yono-admin-badge-row{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 10px}
.yono-admin-badge-row span{
 display:inline-flex;padding:5px 8px;border-radius:999px;
 background:var(--surface2);border:1px solid var(--border);
 color:var(--muted);font-size:8px;font-weight:900;
}
.yono-qr-box{
 margin:18px 0;padding:15px;border:1px solid var(--border);
 border-radius:18px;background:var(--surface);text-align:center;
}
.yono-qr-inner{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.yono-qr-inner img{width:150px;height:150px;border-radius:12px;border:1px solid var(--border);background:#fff}
.yono-qr-inner span{font-size:10px;color:var(--muted);font-weight:800}

.app-long-description{color:var(--text);font-size:14px;line-height:1.75;margin-top:8px;white-space:normal}
.app-long-description br+br{display:block;content:"";margin-top:10px}

.discover-row{display:flex;align-items:center;gap:8px}
.discover-row strong{flex:1;min-width:0}
.discover-download-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:0;border-radius:6px;padding:7px 12px;background:var(--accent,#2563eb);color:#fff!important;font-size:12px;font-weight:700;line-height:1;cursor:pointer;text-decoration:none}
.discover-download-btn:hover{opacity:.9}

.yono-section-download-btn{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:7px 13px;border-radius:7px;text-decoration:none;font-weight:700;font-size:13px;line-height:1;cursor:pointer}

.discover-row{cursor:default}.discover-download-btn{cursor:pointer}

/* Compact share box */
.share-box,.share-card,.share-section,.app-share{
  padding:10px !important;
  margin-top:10px !important;
  margin-bottom:10px !important;
}
.share-box .share-actions,.share-card .share-actions,.share-section .share-actions,.app-share .share-actions{
  gap:6px !important;
}

/* Removed from app detail pages: Category, Updated, Community Rating */
.detail-meta .detail-category,
.detail-meta .detail-updated,
.app-rating,
.community-rating,
.community-rating-box{display:none !important;}

.app-keywords-section{margin-top:14px;padding:10px 0}
.app-keywords-title{font-size:14px;font-weight:800;margin-bottom:7px}
.app-keywords-list{display:flex;flex-wrap:wrap;gap:6px}
.app-keyword{display:inline-block;padding:5px 8px;border:1px solid var(--border);border-radius:999px;background:var(--surface2);font-size:11px;line-height:1.2}


/* ===== App Code Copy Box ===== */
.app-code-section{
  margin-top:16px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:18px;
  background:var(--surface);
  box-shadow:0 3px 13px rgba(15,23,42,.05);
}
.app-code-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.app-code-head h2{margin:2px 0 0;font-size:15px}
.app-code-copy{
  border:0;border-radius:9px;padding:8px 12px;
  background:var(--accent,#2563eb);color:#fff;
  font-size:11px;font-weight:800;cursor:pointer;
}
.app-code-copy:hover{opacity:.92}
.app-code-wrap{overflow:auto;border:1px solid var(--border);border-radius:12px;background:#0f172a}
.app-code-box{
  margin:0;padding:13px 14px;min-height:70px;max-height:420px;
  overflow:auto;color:#e5e7eb;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  white-space:pre-wrap;word-break:break-word;
}
.app-code-box code{font:inherit;color:inherit}
.app-code-status{display:block;margin-top:7px;min-height:14px;font-size:10px;font-weight:700;color:var(--muted)}

/* Promo Code copy box outside the app detail card */
.app-code-outside{max-width:900px;margin:18px auto 0;}
.app-code-outside-title{font-size:14px;font-weight:900;letter-spacing:.04em;margin-bottom:10px;}
.app-code-copy-outside{display:block;width:100%;margin-top:10px;padding:11px 14px;}

/* Dashboard Promo Codes - appears below the All Apps catalogue */
.dashboard-promo-codes{margin-top:24px}
.dashboard-code-list{display:grid;gap:14px}
.dashboard-code-item{padding:16px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 3px 13px rgba(15,23,42,.05)}
.dashboard-code-title{font-size:15px;font-weight:900;margin-bottom:10px}
.app-code-copy-dashboard{margin-top:10px;width:100%}

/* Dashboard Promo Codes - below the All Apps catalogue */
.dashboard-promo-codes{margin-top:24px}
.dashboard-code-list{display:grid;gap:14px}
.dashboard-code-item{padding:16px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 3px 13px rgba(15,23,42,.05)}
.dashboard-code-title{font-size:15px;font-weight:900;margin-bottom:10px}
.app-code-copy-dashboard{margin-top:10px;width:100%}


/* Today Promo Code - clearly separated from app cards */
.dashboard-promo-codes {
  display:block !important;
  width:100%;
  clear:both;
  margin:28px 0 0;
  padding:18px;
  border:1px solid var(--border);
  border-radius:20px;
  background:var(--surface);
  box-sizing:border-box;
}
.dashboard-promo-codes .section-head { margin-bottom:14px; }
.dashboard-promo-codes .dashboard-code-list { width:100%; }
.dashboard-promo-codes .dashboard-code-item { width:100%; box-sizing:border-box; }

/* FINAL: TODAY PROMO CODE dashboard section - outside the All Apps catalogue */
#today-promo-code.dashboard-promo-codes{
  display:block !important;
  position:relative;
  width:100%;
  max-width:none;
  clear:both;
  margin:32px 0 24px !important;
  padding:20px !important;
  border:1px solid var(--border);
  border-radius:22px;
  background:var(--surface);
  box-shadow:var(--shadow);
}
#today-promo-code .dashboard-code-list{display:grid;grid-template-columns:1fr;gap:14px;width:100%}
#today-promo-code .dashboard-code-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:14px;background:var(--surface2);box-sizing:border-box;flex-wrap:wrap}
#today-promo-code .dashboard-code-title{font-size:16px;font-weight:900;margin-bottom:10px}
#today-promo-code .app-code-copy-dashboard{display:inline-flex;width:auto;margin:0;min-width:88px;padding:7px 11px;font-size:12px}
#today-promo-code .dashboard-promo-empty{padding:18px;border:1px dashed var(--border);border-radius:14px;color:var(--muted);font-weight:800;text-align:center;background:var(--surface2)}

/* Promo code app identity + direct download */
#today-promo-code .dashboard-promo-app{display:flex;align-items:center;gap:9px;text-decoration:none;color:inherit;margin:0;min-width:0;flex:1 1 220px}
#today-promo-code .dashboard-promo-logo{width:42px;height:42px;min-width:42px;border-radius:11px;object-fit:cover;border:1px solid var(--border);background:var(--surface)}
#today-promo-code .dashboard-promo-placeholder{display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;color:var(--muted)}
#today-promo-code .dashboard-promo-app-info{display:flex;flex-direction:column;gap:3px;min-width:0}
#today-promo-code .dashboard-promo-app-info .dashboard-code-title{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#today-promo-code .dashboard-promo-app-info small{font-size:11px;color:var(--muted);font-weight:700}
#today-promo-code .dashboard-promo-actions{margin:0}
#today-promo-code .dashboard-promo-download{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:7px 11px;border-radius:9px;font-size:12px;white-space:nowrap;margin-left:auto}

/* Compact promo code layout: app name and Download stay on the same row. */
#today-promo-code .app-code-wrap{flex:1 1 150px;min-width:130px;margin:0}
#today-promo-code .app-code-box{margin:0 !important;padding:6px 9px !important;min-height:0 !important;font-size:12px !important;line-height:1.2 !important;border-radius:8px !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#today-promo-code .app-code-box code{font-size:12px !important}
#today-promo-code .app-code-status{font-size:11px}
@media(max-width:600px){#today-promo-code .dashboard-code-item{gap:8px;padding:8px}.dashboard-promo-app{flex-basis:calc(100% - 100px)!important}.dashboard-promo-download{font-size:11px!important;padding:6px 9px!important}.app-code-wrap{flex-basis:calc(100% - 100px)!important}}

/* Share button for the Today Promo Code page */
.promo-section-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.promo-share-btn{white-space:nowrap;cursor:pointer}
@media(max-width:600px){
  .promo-section-actions{width:100%;justify-content:space-between}
  .promo-share-btn{font-size:11px;padding:8px 10px}
}

/* Multiple promo codes */
.app-detail-promo-list{display:grid;gap:10px}.app-detail-promo-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.app-detail-promo-row .app-code-wrap{flex:1 1 220px;min-width:0;margin:0}.app-detail-promo-row .app-code-copy{flex:0 0 auto}.dashboard-promo-code-list{display:grid;gap:8px;flex:1 1 100%;min-width:100%}.dashboard-promo-code-row{display:flex;align-items:center;gap:8px;flex:1 1 100%;width:100%}.dashboard-promo-code-row .app-code-wrap{flex:1 1 auto;min-width:120px;margin:0}.dashboard-promo-code-row .app-code-copy{flex:0 0 auto}.dashboard-promo-code-row .app-code-status{flex:0 0 auto}.dashboard-promo-code-list .app-code-box{margin:0}
@media(max-width:600px){.app-detail-promo-row{display:grid;grid-template-columns:1fr auto}.app-detail-promo-row .app-code-wrap{width:100%}.dashboard-promo-code-row{flex-wrap:wrap}.dashboard-promo-code-row .app-code-wrap{flex:1 1 calc(100% - 100px)}}


/* FINAL: compact spacing between multiple promo codes */
#today-promo-code .dashboard-promo-code-list{gap:4px !important;}
#today-promo-code .dashboard-promo-code-row{gap:5px !important;min-height:0 !important;margin:0 !important;padding:0 !important;}
#today-promo-code .dashboard-promo-code-row .app-code-status{display:none !important;margin:0 !important;min-height:0 !important;}
#today-promo-code .dashboard-promo-code-row .app-code-box{min-height:0 !important;padding:5px 9px !important;line-height:1.15 !important;}
#today-promo-code .dashboard-promo-code-row .app-code-wrap{margin:0 !important;}

/* Final compact promo-code spacing on app detail pages */
.app-code-section{margin-top:12px;padding:12px;border-radius:16px}
.app-code-head{margin-bottom:7px}
.app-code-head h2{font-size:15px}
.app-detail-promo-list{gap:5px}
.app-detail-promo-row{gap:6px;margin:0}
.app-detail-promo-row .app-code-wrap{margin:0}
.app-detail-promo-row .app-code-box{min-height:0;max-height:none;padding:9px 12px;font-size:12px;line-height:1.35;white-space:pre-wrap}
.app-detail-promo-row .app-code-copy{padding:8px 11px;font-size:11px}
.app-detail-promo-row .app-code-status{margin-top:2px;min-height:0}

/* Keep the share block compact too */
.app-share{margin-top:12px !important;margin-bottom:8px !important;padding:12px !important}
.app-share .share-head{margin-bottom:7px}
.app-share .share-head h3{font-size:16px}
.app-share .share-hint{font-size:10px}
@media(max-width:600px){
  .app-detail-promo-row{grid-template-columns:minmax(0,1fr) auto;gap:5px}
  .app-detail-promo-row .app-code-box{padding:8px 10px;font-size:11px;line-height:1.3}
  .app-detail-promo-row .app-code-copy{padding:8px 10px;font-size:11px}
}


/* Compact reference-style after-app-list section. */
.yono-reference-after-list{margin:22px 0 8px}
.yono-info-card,.yono-tags-card,.yono-seo-content-card,.yono-telegram-card,.yono-share-card{background:var(--surface,#fff);border:1px solid var(--border,#e5e7eb);border-radius:14px;box-shadow:0 6px 18px rgba(15,23,42,.045)}
.yono-info-card{padding:16px 17px}
.yono-info-card h2,.yono-tags-card h2,.yono-seo-content-card h2,.yono-telegram-card h2,.yono-share-card h2{margin:2px 0 7px;font-size:17px;line-height:1.25}
.yono-info-card p,.yono-seo-content-card p,.yono-telegram-card p,.yono-share-card p{line-height:1.55;margin:6px 0;color:var(--muted,#64748b);font-size:12px}
.yono-info-eyebrow{font-size:9px;font-weight:900;letter-spacing:.1em;color:var(--accent,#2563eb)}
.yono-warning-box{margin:10px 0;padding:9px 11px;border-radius:10px;background:var(--surface2,#f8fafc);border:1px solid var(--border,#e5e7eb);line-height:1.5;font-size:11px}
.yono-disclaimer-link a{font-weight:800;color:var(--accent,#2563eb)}
.yono-tags-card{padding:15px 17px;margin-top:12px}
.yono-tag-cloud{display:block;margin-top:8px;line-height:1.9;font-size:12px}
.yono-topic-tag{display:inline;color:var(--accent,#2563eb);font-weight:700;text-decoration:none;border:0;background:none;padding:0;margin:0}
.yono-topic-tag:hover{text-decoration:underline}
.yono-seo-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.yono-seo-content-card{padding:15px 16px}
.yono-telegram-card,.yono-share-card{margin-top:12px;padding:15px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.yono-telegram-btn,.yono-reference-share{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border:0;border-radius:9px;background:var(--accent,#2563eb);color:#fff!important;text-decoration:none;font-size:11px;font-weight:900;cursor:pointer;white-space:nowrap}
@media(max-width:700px){.yono-info-card,.yono-tags-card,.yono-seo-content-card,.yono-telegram-card,.yono-share-card{padding:13px 14px;border-radius:12px}.yono-seo-content-grid{grid-template-columns:1fr;gap:8px}.yono-telegram-card,.yono-share-card{align-items:flex-start;flex-direction:column}.yono-telegram-btn,.yono-reference-share{width:100%}.yono-tag-cloud{font-size:11px;line-height:1.85}}


/* v21: top apps moved to the top + light reference-inspired footer. */
.top-apps-bottom-section{margin:14px 0 24px}
.top-apps-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.yono-light-footer{margin-top:24px;background:linear-gradient(180deg,#f8fbff 0%,#eef5ff 55%,#f8fbff 100%);color:var(--text,#111827);padding:18px 0 82px;border-top:1px solid #dbe7f5}
.yono-footer-content{max-width:760px}
.yono-footer-card{background:rgba(255,255,255,.72);border:1px solid #d9e4f2;border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.yono-footer-card h2{margin:0 0 8px;font-size:24px;line-height:1.15}
.yono-footer-card p{margin:6px 0;color:#7b8797;font-size:13px;line-height:1.75}
.yono-footer-action{margin-top:12px;background:rgba(255,255,255,.76);border:1px solid #d9e4f2;border-radius:18px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 7px 20px rgba(15,23,42,.045)}
.yono-footer-action-text{display:flex;align-items:center;gap:10px;min-width:0}
.yono-footer-action-text div{display:flex;flex-direction:column;gap:2px}
.yono-footer-action-text strong{font-size:16px;line-height:1.2}
.yono-footer-action-text small{font-size:11px;color:#8a94a3;line-height:1.35}
.yono-footer-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#239bd8;color:#fff;font-size:18px;font-weight:900;flex:none}
.yono-footer-icon.share{background:#f59e0b}
.yono-footer-action-btn{border:0;border-radius:999px;min-height:44px;padding:0 22px;font-size:13px;font-weight:900;color:#fff!important;text-decoration:none;cursor:pointer;white-space:nowrap}
.yono-footer-action-btn.telegram{background:linear-gradient(90deg,#238bf1,#8b4de8)}
.yono-footer-action-btn.share{background:linear-gradient(90deg,#f59e0b,#ffd21a);color:#111827!important}
.yono-footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;padding:18px 8px 5px}
.yono-footer-links a{color:#2185d7;font-size:15px;font-weight:800;text-decoration:underline}
.yono-footer-community{text-align:center;padding:10px 0 14px}
.yono-footer-community h3{margin:0 0 10px;font-size:17px}
.yono-footer-community a{color:#2185d7;font-size:13px;font-weight:800;text-decoration:underline}
.yono-footer-bottom{border-top:1px solid #d6e1ee;margin-top:8px;padding:14px 4px 0;display:flex;justify-content:center;gap:8px;flex-wrap:wrap;text-align:center;color:#6f7b8d;font-size:10px}
@media(max-width:650px){.top-apps-bottom-grid{grid-template-columns:1fr;gap:10px}.yono-footer-content{padding:0 12px}.yono-footer-card{padding:16px 15px}.yono-footer-card h2{font-size:23px}.yono-footer-action{align-items:flex-start}.yono-footer-action-text strong{font-size:15px}.yono-footer-action-btn{padding:0 16px;font-size:12px;min-height:42px}.yono-footer-links{gap:8px 18px}}


/* Working footer information pages */
.yono-info-page{padding:28px 16px 110px}
.yono-info-card{max-width:900px;margin:0 auto;padding:26px 22px;border-radius:24px;background:rgba(255,255,255,.92);box-shadow:0 12px 35px rgba(15,23,42,.08);border:1px solid rgba(148,163,184,.25)}
.yono-info-breadcrumb{font-size:14px;margin-bottom:18px;opacity:.75}
.yono-info-card h1{margin:0 0 8px;font-size:34px;line-height:1.15}
.yono-info-intro{font-size:18px;font-weight:600;margin:0 0 22px;opacity:.78}
.yono-info-card .content{font-size:16px;line-height:1.75}
.yono-info-card .content h2{font-size:21px;margin:26px 0 8px}
.yono-info-card .content ul{padding-left:22px}
.yono-info-card .content a{font-weight:700}
.yono-info-contact-box{display:block;margin:14px 0;padding:16px 18px;border-radius:16px;background:#f5f8ff;border:1px solid #dbe5ff}
.yono-info-back{display:inline-block;margin-top:24px;padding:12px 18px;border-radius:12px;text-decoration:none;font-weight:700;background:#2563eb;color:#fff!important}
@media(max-width:600px){.yono-info-page{padding:18px 12px 100px}.yono-info-card{padding:22px 17px;border-radius:20px}.yono-info-card h1{font-size:29px}.yono-info-card .content{font-size:15.5px}}

/* Colorful information pages — each page has its own visual identity */
.yono-info-page{position:relative}
.yono-info-card{position:relative;overflow:hidden}
.yono-info-card:before{content:"";position:absolute;left:0;right:0;top:0;height:6px;border-radius:24px 24px 0 0}
.yono-info-card h1{letter-spacing:-.4px}
.yono-info-card .content h2{padding:10px 13px;border-radius:12px}
.yono-info-card .content p{margin:13px 0}
.yono-info-card .content li{margin:7px 0}
.yono-info-page:nth-of-type(1) .yono-info-card:before{background:linear-gradient(90deg,#2563eb,#06b6d4)}
.yono-info-page:nth-of-type(1) .yono-info-card h1{color:#2563eb}
.yono-info-page:nth-of-type(1) .yono-info-card .content h2{background:#eff6ff;color:#1d4ed8}

body:has(.yono-info-page) .yono-info-card .yono-info-intro{color:#64748b}

/* Page-specific colors based on the URL body class-independent markup */
body:has(.yono-info-card) .yono-info-card{background:linear-gradient(145deg,#ffffff 0%,#f8fbff 100%)}
body:has(.yono-contact-telegram) .yono-info-card:before{background:linear-gradient(90deg,#0ea5e9,#14b8a6)}
body:has(.yono-contact-telegram) .yono-info-card h1{color:#0284c7}
body:has(.yono-contact-telegram) .yono-info-card .content h2{background:#ecfeff;color:#0f766e}
.yono-contact-telegram{background:linear-gradient(135deg,#eff6ff,#ecfeff)!important;border:1px solid #7dd3fc!important}
.yono-contact-telegram strong{color:#0284c7}
.yono-contact-telegram a{color:#0f766e!important}

body:has(.yono-info-card) .yono-info-card .yono-info-back{background:linear-gradient(135deg,#2563eb,#7c3aed)}
body:has(.yono-info-card) .yono-info-card .content a{transition:transform .15s ease,opacity .15s ease}
body:has(.yono-info-card) .yono-info-card .content a:hover{opacity:.82}

.yono-info-card .content ul{list-style:disc}
.yono-info-card .content strong{color:#172554}
.yono-info-breadcrumb a{color:#2563eb}
@media(max-width:600px){
  .yono-info-card .content h2{font-size:19px}
  .yono-info-card{box-shadow:0 10px 28px rgba(15,23,42,.09)}
}


body.yono-page-about .yono-info-card:before{background:linear-gradient(90deg,#2563eb,#06b6d4)}
body.yono-page-about .yono-info-card h1{color:#2563eb}
body.yono-page-about .yono-info-card .content h2{background:#eff6ff;color:#1d4ed8}
body.yono-page-disclaimer .yono-info-card:before{background:linear-gradient(90deg,#f59e0b,#ef4444)}
body.yono-page-disclaimer .yono-info-card h1{color:#d97706}
body.yono-page-disclaimer .yono-info-card .content h2{background:#fff7ed;color:#c2410c}
body.yono-page-contact .yono-info-card:before{background:linear-gradient(90deg,#0ea5e9,#14b8a6)}
body.yono-page-contact .yono-info-card h1{color:#0284c7}
body.yono-page-contact .yono-info-card .content h2{background:#ecfeff;color:#0f766e}
body.yono-page-privacy .yono-info-card:before{background:linear-gradient(90deg,#10b981,#22c55e)}
body.yono-page-privacy .yono-info-card h1{color:#059669}
body.yono-page-privacy .yono-info-card .content h2{background:#ecfdf5;color:#047857}
body.yono-page-terms .yono-info-card:before{background:linear-gradient(90deg,#8b5cf6,#ec4899)}
body.yono-page-terms .yono-info-card h1{color:#7c3aed}
body.yono-page-terms .yono-info-card .content h2{background:#faf5ff;color:#7e22ce}


/* Keep list cards compact on mobile too */
@media (max-width: 600px) {
  .app-card img,
  .app-item img,
  .app-logo,
  .app-icon,
  .app-card .logo,
  .app-item .logo {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    border-radius: 15px !important;
  }
}

/* App names: colorful gradient text while staying readable */
.app-card h3,
.app-item h3,
.app-card .app-name,
.app-item .app-name,
.app-card .title,
.app-item .title,
.app-card a.app-title,
.app-item a.app-title {
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 45%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2563eb;
  font-weight: 800 !important;
}

/* If the theme uses a generic title class */
.app-card h2,
.app-item h2 {
  background: linear-gradient(90deg, #0891b2, #2563eb, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800 !important;
}

/* Detail-page app title */
.single-app h1,
.app-detail h1,
.app-details h1 {
  background: linear-gradient(90deg, #2563eb, #7c3aed, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900 !important;
}

/* v25: match the compact Most Download logo size across app cards */
.app-card img,
.app-item img,
.app-logo,
.app-icon,
.app-card .logo,
.app-item .logo {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: cover !important;
  border-radius: 14px !important;
}
@media (max-width: 600px) {
  .app-card img,
  .app-item img,
  .app-logo,
  .app-icon,
  .app-card .logo,
  .app-item .logo {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border-radius: 13px !important;
  }
}

/* v26: same compact logo size everywhere as the Most Download cards */
.app-card img,.app-item img,.app-logo,.app-icon,.app-card .logo,.app-item .logo,
.dashboard-promo-logo,.discover-list img,.discover-item img,.trending-premium-grid img {
  width:52px !important;height:52px !important;max-width:52px !important;max-height:52px !important;
  object-fit:cover !important;
}
@media(max-width:600px){
 .app-card img,.app-item img,.app-logo,.app-icon,.app-card .logo,.app-item .logo,
 .dashboard-promo-logo,.discover-list img,.discover-item img,.trending-premium-grid img {
  width:48px !important;height:48px !important;max-width:48px !important;max-height:48px !important;
 }
}

/* =========================================================
   v27 Colorful mobile theme — visual/layout only
   ========================================================= */
:root{
  --ya-blue:#2563eb;
  --ya-purple:#7c3aed;
  --ya-pink:#ec4899;
  --ya-cyan:#06b6d4;
  --ya-green:#16a34a;
  --ya-orange:#f59e0b;
  --ya-red:#ef4444;
}

/* Main app catalogue: compact 2-column cards on phones */
.grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.card.premium-card{
  min-width:0;
  padding:13px;
  border-radius:22px;
  background:linear-gradient(145deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid rgba(148,163,184,.25);
  box-shadow:0 9px 24px rgba(15,23,42,.07);
}
.card.premium-card .card-top{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin-bottom:10px;
}
.card.premium-card .app-logo,
.card.premium-card img{
  width:54px !important;height:54px !important;
  max-width:54px !important;max-height:54px !important;
  border-radius:15px !important;
  object-fit:cover !important;
  flex:0 0 54px;
}
.card.premium-card .title{
  font-size:18px !important;
  line-height:1.2;
  margin:8px 0 7px !important;
  font-weight:900 !important;
  background:linear-gradient(90deg,#2563eb,#7c3aed,#ec4899);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}
.card.premium-card .buttons{
  display:block !important;
  margin-top:9px;
}
.card.premium-card .buttons .btn.primary{
  display:flex !important;
  width:100% !important;
  min-height:44px;
  align-items:center;
  justify-content:center;
  border-radius:13px !important;
  font-weight:800 !important;
  background:linear-gradient(90deg,#2563eb,#7c3aed) !important;
  color:#fff !important;
  box-shadow:0 7px 16px rgba(37,99,235,.20);
}

/* Stats stay compact and readable under the app name */
.card.premium-card .muted,
.card.premium-card .stats,
.card.premium-card .app-stats{
  font-size:13px !important;
  line-height:1.25;
}

/* Category pills get a soft colorful treatment */
.card.premium-card .category,
.card.premium-card .badge,
.card.premium-card .latest-badge{
  border-radius:999px !important;
  font-weight:800 !important;
  padding:5px 10px !important;
  background:linear-gradient(135deg,#eff6ff,#f5f3ff) !important;
  border:1px solid #dbeafe !important;
}

/* Alternating accent cards */
.grid .premium-card:nth-child(4n+1) .title{background:linear-gradient(90deg,#d946ef,#7c3aed);-webkit-background-clip:text;background-clip:text}
.grid .premium-card:nth-child(4n+2) .title{background:linear-gradient(90deg,#f97316,#f59e0b);-webkit-background-clip:text;background-clip:text}
.grid .premium-card:nth-child(4n+3) .title{background:linear-gradient(90deg,#2563eb,#06b6d4);-webkit-background-clip:text;background-clip:text}
.grid .premium-card:nth-child(4n) .title{background:linear-gradient(90deg,#16a34a,#06b6d4);-webkit-background-clip:text;background-clip:text}

/* Popular/search area */
.trending-premium,
.trust-section,
.section{
  border-radius:22px;
}
.trending-premium .section-head h2,
.section .section-head h2{
  font-weight:900;
}

/* Telegram + share action blocks */
.yono-footer-action,
.yono-footer-card{
  border-radius:20px !important;
  border:1px solid rgba(96,165,250,.22) !important;
  box-shadow:0 8px 22px rgba(15,23,42,.05);
}
.yono-footer-action{
  background:linear-gradient(135deg,#eff6ff,#ecfeff) !important;
}
.yono-footer-card{
  background:linear-gradient(135deg,#faf5ff,#eff6ff) !important;
}

/* Info links as separate colorful cards where existing markup supports them */
.yono-info-card{
  border-radius:22px;
}

/* Mobile navigation remains fixed/usable */
@media(max-width:700px){
  .container{padding-left:12px !important;padding-right:12px !important}
  .grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:11px !important;
  }
  .card.premium-card{
    padding:11px !important;
    border-radius:18px !important;
  }
  .card.premium-card .app-logo,
  .card.premium-card img{
    width:50px !important;height:50px !important;
    max-width:50px !important;max-height:50px !important;
    flex-basis:50px;
    border-radius:13px !important;
  }
  .card.premium-card .title{
    font-size:16px !important;
    margin-top:7px !important;
  }
  .card.premium-card .buttons .btn.primary{
    min-height:42px !important;
    font-size:14px !important;
    border-radius:12px !important;
  }
  .card.premium-card .buttons{
    margin-top:8px !important;
  }
}

/* Very narrow phones: still 2 columns, with smaller typography */
@media(max-width:380px){
  .grid{gap:8px !important}
  .card.premium-card{padding:9px !important}
  .card.premium-card .app-logo,
  .card.premium-card img{
    width:46px !important;height:46px !important;
    max-width:46px !important;max-height:46px !important;
  }
  .card.premium-card .title{font-size:14px !important}
  .card.premium-card .buttons .btn.primary{font-size:13px !important}
}

/* =========================================================
   v28 — Full reference-style visual system
   Keeps existing HTML/PHP logic and links intact.
   ========================================================= */

/* ---------- Global ---------- */
html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(circle at 8% 14%,rgba(37,99,235,.08),transparent 26%),
    radial-gradient(circle at 92% 38%,rgba(236,72,153,.07),transparent 24%),
    #f8fafc !important;
  color:#172033;
}
a{transition:opacity .15s ease,transform .15s ease}

/* ---------- Header / hero ---------- */
.site-header,.header,.top-header,.main-header{
  background:linear-gradient(110deg,#164de5 0%,#2563eb 48%,#4f46e5 100%) !important;
  border:0 !important;
  box-shadow:0 7px 24px rgba(37,99,235,.18) !important;
}
.site-header a,.header a,.top-header a,.main-header a{color:#fff}

/* Search box */
.search-box,.search-form,.header-search,.site-search{
  border-radius:18px !important;
  background:#fff !important;
  border:2px solid rgba(255,255,255,.35) !important;
  box-shadow:0 6px 18px rgba(15,23,42,.10) !important;
}

/* ---------- Section headings ---------- */
.eyebrow{
  font-weight:900 !important;
  letter-spacing:.6px;
  color:#2563eb !important;
}
.section-head h2{
  font-weight:950 !important;
  letter-spacing:-.5px;
}

/* ---------- Top / main app grid ---------- */
.grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:14px !important;
}
.card.premium-card{
  padding:12px !important;
  border-radius:21px !important;
  background:linear-gradient(145deg,#fff 0%,#f8fbff 100%) !important;
  border:1px solid rgba(148,163,184,.22) !important;
  box-shadow:0 8px 22px rgba(15,23,42,.065) !important;
  overflow:hidden;
}
.card.premium-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(37,99,235,.11) !important;
}
.card.premium-card .card-top{
  margin-bottom:7px !important;
}
.card.premium-card img,
.card.premium-card .app-logo,
.card.premium-card .app-icon{
  width:52px !important;height:52px !important;
  max-width:52px !important;max-height:52px !important;
  border-radius:14px !important;
  object-fit:cover !important;
  box-shadow:0 4px 10px rgba(15,23,42,.10);
}
.card.premium-card .title{
  font-size:17px !important;
  line-height:1.2 !important;
  font-weight:950 !important;
  margin:7px 0 5px !important;
  background:linear-gradient(90deg,#7c3aed,#ec4899) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  -webkit-text-fill-color:transparent !important;
}
.card.premium-card .buttons{
  margin-top:8px !important;
}
.card.premium-card .buttons .btn.primary{
  width:100% !important;
  min-height:42px !important;
  border:0 !important;
  border-radius:12px !important;
  background:linear-gradient(90deg,#2563eb,#7c3aed) !important;
  box-shadow:0 7px 15px rgba(37,99,235,.18) !important;
  color:#fff !important;
  font-weight:900 !important;
}
.card.premium-card:nth-child(4n+1) .buttons .btn.primary{
  background:linear-gradient(90deg,#7c3aed,#ec4899) !important;
}
.card.premium-card:nth-child(4n+2) .buttons .btn.primary{
  background:linear-gradient(90deg,#f97316,#f59e0b) !important;
}
.card.premium-card:nth-child(4n+3) .buttons .btn.primary{
  background:linear-gradient(90deg,#2563eb,#06b6d4) !important;
}
.card.premium-card:nth-child(4n) .buttons .btn.primary{
  background:linear-gradient(90deg,#16a34a,#06b6d4) !important;
}

/* Stats */
.card.premium-card .muted,
.card.premium-card .stats,
.card.premium-card .app-stats{
  font-size:12.5px !important;
  font-weight:700;
  color:#64748b !important;
}

/* ---------- Compact discover / Most Download ---------- */
.premium-discover-box{
  border-radius:20px !important;
  border:1px solid rgba(37,99,235,.14) !important;
  background:linear-gradient(135deg,#eff6ff,#faf5ff) !important;
  box-shadow:0 8px 22px rgba(15,23,42,.055) !important;
}
.discover-item,.discover-row{
  border-radius:14px !important;
}
.discover-item img,.discover-row img,.discover-list img{
  width:48px !important;height:48px !important;
  max-width:48px !important;max-height:48px !important;
  border-radius:13px !important;
}
.discover-download-btn{
  border-radius:11px !important;
  background:linear-gradient(90deg,#2563eb,#7c3aed) !important;
  color:#fff !important;
  font-weight:800 !important;
}

/* ---------- Telegram + Share ---------- */
.yono-footer-action{
  background:linear-gradient(135deg,#eff6ff,#ecfeff) !important;
  border:1px solid #bfdbfe !important;
  border-radius:20px !important;
  box-shadow:0 8px 20px rgba(37,99,235,.07) !important;
}
.yono-footer-action-text strong{color:#2563eb !important}
.yono-footer-action a,
.telegram-big{
  border-radius:13px !important;
  background:linear-gradient(90deg,#2563eb,#7c3aed) !important;
  color:#fff !important;
}

/* Share blocks */
[data-share-footer],.share-footer,.share-box{
  border-radius:20px !important;
  background:linear-gradient(135deg,#fff7ed,#fffbeb) !important;
  border:1px solid #fed7aa !important;
}

/* ---------- Popular searches / tags ---------- */
.popular-searches,.tags-section,.keyword-section{
  border-radius:20px !important;
  background:#fff !important;
  border:1px solid rgba(37,99,235,.10) !important;
  padding:16px !important;
}
.popular-searches a,.tags-section a,.keyword-section a{
  display:inline !important;
  font-weight:800 !important;
  text-decoration:none !important;
  margin-right:7px;
}
.popular-searches a:nth-child(4n+1){color:#2563eb !important}
.popular-searches a:nth-child(4n+2){color:#16a34a !important}
.popular-searches a:nth-child(4n+3){color:#ec4899 !important}
.popular-searches a:nth-child(4n){color:#f97316 !important}

/* ---------- Footer information cards ---------- */
.info-links,.footer-links,.footer-info-grid{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:10px !important;
}
.info-links a,.footer-links a,.footer-info-grid a{
  border-radius:16px !important;
  padding:14px 11px !important;
  background:#fff !important;
  border:1px solid rgba(148,163,184,.25) !important;
  box-shadow:0 6px 16px rgba(15,23,42,.045) !important;
  font-weight:850 !important;
}
.info-links a:nth-child(1){color:#7c3aed !important;background:#faf5ff !important}
.info-links a:nth-child(2){color:#16a34a !important;background:#f0fdf4 !important}
.info-links a:nth-child(3){color:#f97316 !important;background:#fff7ed !important}
.info-links a:nth-child(4){color:#ec4899 !important;background:#fdf2f8 !important}
.info-links a:nth-child(5){color:#2563eb !important;background:#eff6ff !important}

/* ---------- Main footer ---------- */
.site-footer,.footer{
  background:linear-gradient(180deg,#f8fbff 0%,#eef4ff 100%) !important;
  color:#334155 !important;
  border-top:1px solid #dbeafe !important;
}
.yono-footer-card{
  background:linear-gradient(135deg,#faf5ff,#eff6ff) !important;
  border:1px solid #ddd6fe !important;
  border-radius:20px !important;
}
.yono-footer-card h2{color:#2563eb !important}

/* ---------- Mobile bottom navigation ---------- */
.mobile-nav,.bottom-nav,.site-bottom-nav{
  background:rgba(255,255,255,.96) !important;
  backdrop-filter:blur(14px);
  border:1px solid #e2e8f0 !important;
  box-shadow:0 -8px 25px rgba(15,23,42,.09) !important;
  border-radius:22px 22px 0 0 !important;
}
.mobile-nav a,.bottom-nav a,.site-bottom-nav a{
  font-weight:750 !important;
}

/* ---------- Info pages ---------- */
.yono-info-card{
  background:linear-gradient(145deg,#fff,#f8fbff) !important;
  border-radius:24px !important;
  border:1px solid rgba(148,163,184,.23) !important;
  box-shadow:0 12px 30px rgba(15,23,42,.07) !important;
}
.yono-info-card h1{font-weight:950 !important}
.yono-info-card h2{border-radius:12px}

/* ---------- Responsive ---------- */
@media(max-width:700px){
  .grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  .card.premium-card{
    padding:10px !important;
    border-radius:17px !important;
  }
  .card.premium-card img,.card.premium-card .app-logo,.card.premium-card .app-icon{
    width:48px !important;height:48px !important;
    max-width:48px !important;max-height:48px !important;
    border-radius:13px !important;
  }
  .card.premium-card .title{font-size:15px !important}
  .card.premium-card .buttons .btn.primary{
    min-height:40px !important;
    font-size:13px !important;
    border-radius:11px !important;
  }
  .info-links,.footer-links,.footer-info-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:390px){
  .grid{gap:8px !important}
  .card.premium-card{padding:8px !important}
  .card.premium-card img,.card.premium-card .app-logo,.card.premium-card .app-icon{
    width:44px !important;height:44px !important;
    max-width:44px !important;max-height:44px !important;
  }
  .card.premium-card .title{font-size:14px !important}
  .card.premium-card .buttons .btn.primary{font-size:12px !important}
}

/* v29 exact reference structure */
body.home .premium-hero, body.home .hero.premium-hero{display:none !important}
body.home .site-header .home-link{display:none !important}
body.home .site-header .menu{display:none !important}
.site-header .header-inner{min-height:78px !important}
.site-header .logo{display:flex !important;align-items:center;gap:8px !important}
.site-header .logo-mark{width:48px !important;height:48px !important}
.site-header .logo-mark img,.site-header .logo-mark .custom-logo,
.site-header .logo-mark .custom-logo-link img{width:48px !important;height:48px !important;object-fit:contain !important}
.site-header .site-name{font-size:25px !important;font-weight:950 !important;color:#fff !important;line-height:.95 !important}
.site-header .header-actions{display:flex !important;align-items:center !important;gap:12px !important}
#yono-header-search-form{display:flex;align-items:center;flex:1;max-width:480px;order:2}
#yono-header-search-form input{width:100%;height:48px;border:0;border-radius:16px;padding:0 48px 0 18px;font-size:16px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.12)}
#yono-header-search-form button{margin-left:-48px;width:44px;height:44px;border:0;background:transparent;font-size:22px;color:#172554}
#yono-header-telegram{order:3;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#16a5e5;color:#fff!important;text-decoration:none;font-size:24px;box-shadow:0 6px 16px rgba(14,165,233,.25)}
.site-header .theme-toggle{order:4;width:48px;height:48px;border-radius:50%;background:#0f172a;color:#fff;border:0;font-size:22px}
.yono-reference-content{width:100%}
.yono-popular-searches{margin:18px 0 22px;padding:0 4px}
.yono-popular-searches h3{font-size:18px;margin:0 0 10px;color:#2563eb;font-weight:950}
.yono-popular-searches .search-tags{line-height:2}
.yono-popular-searches a{font-weight:800;text-decoration:none;margin-right:7px}
.yono-popular-searches a:nth-child(5n+1){color:#2563eb}
.yono-popular-searches a:nth-child(5n+2){color:#16a34a}
.yono-popular-searches a:nth-child(5n+3){color:#ec4899}
.yono-popular-searches a:nth-child(5n+4){color:#f97316}
.yono-popular-searches a:nth-child(5n){color:#7c3aed}
.yono-ref-info-links{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:8px 0 18px}
.yono-ref-info-links a{display:flex;flex-direction:column;justify-content:space-between;min-height:108px;padding:12px;border-radius:15px;text-decoration:none;background:#fff;border:1px solid rgba(148,163,184,.28);box-shadow:0 6px 16px rgba(15,23,42,.05);font-weight:900}
.yono-ref-info-links a:nth-child(1){color:#7c3aed;background:#faf5ff}
.yono-ref-info-links a:nth-child(2){color:#16a34a;background:#f0fdf4}
.yono-ref-info-links a:nth-child(3){color:#f97316;background:#fff7ed}
.yono-ref-info-links a:nth-child(4){color:#ec4899;background:#fdf2f8}
.yono-ref-info-links a:nth-child(5){color:#2563eb;background:#eff6ff}
.yono-ref-info-links small{color:#475569;font-weight:600;line-height:1.45;margin-top:8px}
.yono-ref-info-links .arrow{align-self:flex-end;font-size:22px}
@media(max-width:700px){
 .site-header .header-inner{min-height:72px!important;gap:8px!important}
 .site-header .logo{gap:5px!important}
 .site-header .logo-mark{width:42px!important;height:42px!important}
 .site-header .logo-mark img,.site-header .logo-mark .custom-logo,.site-header .logo-mark .custom-logo-link img{width:42px!important;height:42px!important}
 .site-header .site-name{font-size:20px!important}
 #yono-header-search-form{max-width:none;min-width:0;flex:1}
 #yono-header-search-form input{height:42px;font-size:14px;padding-left:14px}
 #yono-header-search-form button{height:38px;width:40px;margin-left:-42px}
 #yono-header-telegram{width:42px;height:42px;font-size:21px}
 .site-header .theme-toggle{width:42px;height:42px;font-size:19px}
 .yono-ref-info-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .yono-ref-info-links a{min-height:100px;padding:10px;font-size:14px}
}
@media(max-width:390px){
 .site-header .site-name{font-size:17px!important}
 .site-header .logo-mark,.site-header .logo-mark img,.site-header .logo-mark .custom-logo,.site-header .logo-mark .custom-logo-link img{width:38px!important;height:38px!important}
 #yono-header-telegram,.site-header .theme-toggle{width:38px;height:38px}
}

/* moved reference footer stack */
body.home main>.yono-footer-content{display:block!important;width:100%;margin-top:18px}
body.home .footer.yono-footer-moved{background:transparent!important;border:0!important;padding:0!important;margin:0!important}
body.home .footer.yono-footer-moved>.container{display:none!important}
@media(max-width:700px){
 body.home main>.yono-footer-content{padding-bottom:86px}
}

/* v30: footer stays at the bottom; all download buttons use one blue */
.card.premium-card .buttons .btn.primary,
.top-app-bottom-btn,
.discover-download-btn,
.dashboard-promo-download,
.trend-open,
.big.primary-big,
.download-btn,
.download-button{
  background:linear-gradient(90deg,#1d4ed8,#2563eb) !important;
  color:#fff !important;
  border-color:transparent !important;
}
.card.premium-card:nth-child(4n+1) .buttons .btn.primary,
.card.premium-card:nth-child(4n+2) .buttons .btn.primary,
.card.premium-card:nth-child(4n+3) .buttons .btn.primary,
.card.premium-card:nth-child(4n) .buttons .btn.primary{
  background:linear-gradient(90deg,#1d4ed8,#2563eb) !important;
}
.yono-footer-content{display:flex;flex-direction:column;gap:14px}
.yono-ref-telegram-share{order:1;min-height:78px;border-radius:18px !important}
.yono-reference-content{order:2}
.yono-footer-community{order:3}
.yono-footer-bottom{order:4}
.yono-popular-searches{margin-top:4px;padding:2px 0 6px}
.yono-popular-searches h3{color:#1d4ed8 !important;font-size:18px !important;font-weight:900 !important;margin:0 0 10px}
.yono-popular-searches .search-tags{line-height:2;font-weight:750}
.yono-ref-info-links{display:grid !important;grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:10px !important;margin-top:10px}
.yono-ref-info-links a{min-height:112px;padding:13px 11px !important;border-radius:15px !important;display:flex !important;flex-direction:column !important;justify-content:space-between !important;text-decoration:none !important;border:1px solid rgba(148,163,184,.22) !important;box-shadow:0 6px 15px rgba(15,23,42,.04)}
.yono-ref-info-links a:nth-child(1){background:#faf5ff !important;color:#6d28d9 !important}
.yono-ref-info-links a:nth-child(2){background:#f0fdf4 !important;color:#16a34a !important}
.yono-ref-info-links a:nth-child(3){background:#fff7ed !important;color:#ea580c !important}
.yono-ref-info-links a:nth-child(4){background:#fdf2f8 !important;color:#db2777 !important}
.yono-ref-info-links a:nth-child(5){background:#eff6ff !important;color:#2563eb !important}
.yono-ref-info-links a span:first-child{font-weight:900 !important}
.yono-ref-info-links a small{color:#475569 !important;line-height:1.4}
.yono-ref-info-links .arrow{align-self:flex-end;font-size:20px;font-weight:900}
@media(max-width:700px){
 .yono-ref-info-links{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:9px !important}
 .yono-ref-info-links a{min-height:105px;padding:11px !important}
 .yono-ref-info-links a:last-child{grid-column:1/-1}
 .yono-popular-searches .search-tags{font-size:14px;line-height:1.9}
}

/* v31: removed extra discovery sections from homepage */
#popular-updated,
#trending-apps,
.yono-recently-viewed-section,
#yono-recently-viewed,
.trending-section{
  display:none !important;
}

/* v32: remove middle activity/trust blocks */
.live-activity,
.trust-section,
.section.trust-section,
[aria-label="What's happening"]{
  display:none !important;
}

/* v33: no automatic Popular/New badges on app cards */
.yono-auto-tags,
.yono-auto-new{
  display:none !important;
}

/* =========================================================
   v34 — Complete UI polish
   Visual-only layer: keeps links, app data, tracking and
   download flow unchanged.
   ========================================================= */

/* ---------- Global visual consistency ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:#172033 !important;
  background:#f6f8fc !important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
  -webkit-font-smoothing:antialiased;
}
.container{max-width:1180px !important}

/* ---------- Header ---------- */
.site-header,.header,.top-header,.main-header{
  min-height:76px !important;
  background:linear-gradient(110deg,#174fe8 0%,#2563eb 55%,#4f46e5 100%) !important;
  box-shadow:0 8px 24px rgba(37,99,235,.20) !important;
}
.site-header .container,.header .container,.top-header .container,.main-header .container{
  min-height:76px;
}
.site-header a,.header a,.top-header a,.main-header a{color:#fff}
.logo,.site-logo,.brand-logo{
  transition:transform .2s ease;
}
.logo:hover,.site-logo:hover,.brand-logo:hover{transform:scale(1.02)}
.search-box,.search-form,.header-search,.site-search{
  min-height:48px !important;
  border-radius:16px !important;
  background:#fff !important;
  border:1px solid rgba(255,255,255,.55) !important;
  box-shadow:0 6px 18px rgba(15,23,42,.12) !important;
}
.search-box input,.search-form input,.header-search input,.site-search input{
  font-size:15px !important;
  color:#172033 !important;
}

/* ---------- Page sections ---------- */
main{padding-bottom:30px}
.section,.trending-premium,.premium-discover-box{
  margin-bottom:18px !important;
}
.section-head{
  margin-bottom:12px !important;
}
.section-head h1,.section-head h2{
  color:#172033 !important;
  font-weight:900 !important;
  letter-spacing:-.45px;
}
.section-head .eyebrow{
  color:#2563eb !important;
  font-size:13px !important;
  font-weight:900 !important;
  letter-spacing:.7px;
  text-transform:uppercase;
}

/* ---------- App grid ---------- */
.grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:14px !important;
}
.card.premium-card{
  position:relative;
  min-width:0;
  padding:13px !important;
  border-radius:20px !important;
  background:linear-gradient(145deg,#fff 0%,#f9fbff 100%) !important;
  border:1px solid #e3e8f1 !important;
  box-shadow:0 7px 22px rgba(15,23,42,.055) !important;
  transition:transform .18s ease,box-shadow .18s ease;
}
.card.premium-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(37,99,235,.11) !important;
}
.card.premium-card .card-top{
  min-height:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:7px;
}
.card.premium-card img,
.card.premium-card .app-logo,
.card.premium-card .app-icon{
  width:52px !important;
  height:52px !important;
  max-width:52px !important;
  max-height:52px !important;
  object-fit:cover !important;
  border-radius:14px !important;
  box-shadow:0 4px 10px rgba(15,23,42,.09);
}
.card.premium-card .title{
  margin:8px 0 5px !important;
  font-size:17px !important;
  line-height:1.18 !important;
  font-weight:900 !important;
  letter-spacing:-.2px;
  color:#7c3aed !important;
}
.card.premium-card .muted,
.card.premium-card .stats,
.card.premium-card .app-stats{
  color:#64748b !important;
  font-size:12.5px !important;
  font-weight:750 !important;
}
.card.premium-card .buttons{
  margin-top:9px !important;
}
.card.premium-card .buttons .btn.primary{
  width:100% !important;
  min-height:43px !important;
  border:0 !important;
  border-radius:12px !important;
  background:linear-gradient(90deg,#1d4ed8,#2563eb) !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:900 !important;
  box-shadow:0 7px 16px rgba(37,99,235,.20) !important;
  transition:transform .15s ease,box-shadow .15s ease;
}
.card.premium-card .buttons .btn.primary:active{
  transform:translateY(1px);
  box-shadow:0 4px 10px rgba(37,99,235,.16) !important;
}
/* One blue download button everywhere */
.download-btn,.download-button,.discover-download-btn,.dashboard-promo-download{
  background:linear-gradient(90deg,#1d4ed8,#2563eb) !important;
  color:#fff !important;
  border:0 !important;
}

/* ---------- Category pills ---------- */
.card.premium-card .category,
.card.premium-card .badge,
.card.premium-card .latest-badge{
  display:inline-flex !important;
  align-items:center;
  min-height:30px;
  padding:5px 10px !important;
  border-radius:999px !important;
  background:#f1f5f9 !important;
  border:1px solid #e2e8f0 !important;
  color:#64748b !important;
  font-size:12px !important;
  font-weight:850 !important;
}

/* ---------- Footer actions ---------- */
.yono-footer-action{
  min-height:78px;
  padding:13px 15px !important;
  border-radius:18px !important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid #dbe5f2 !important;
  box-shadow:0 7px 20px rgba(15,23,42,.05) !important;
}
.yono-footer-action-text{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}
.yono-footer-action-text strong{
  display:block;
  font-size:16px !important;
  font-weight:900 !important;
}
.yono-footer-action-text small{
  display:block;
  margin-top:3px;
  color:#64748b !important;
}
.yono-footer-icon{
  width:46px;height:46px;
  flex:0 0 46px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#e0f2fe;
  color:#2563eb;
  font-size:22px;
  font-weight:900;
}
.yono-footer-action-btn{
  min-height:42px;
  padding:0 18px !important;
  border:0 !important;
  border-radius:12px !important;
  font-weight:900 !important;
  white-space:nowrap;
}
.yono-footer-action-btn.telegram{
  background:linear-gradient(90deg,#2563eb,#4f46e5) !important;
  color:#fff !important;
}
.yono-footer-action-btn.share{
  background:linear-gradient(90deg,#f59e0b,#fbbf24) !important;
  color:#111827 !important;
}

/* ---------- Popular searches ---------- */
.yono-popular-searches{
  padding:4px 2px 10px !important;
}
.yono-popular-searches h3{
  margin:0 0 9px !important;
  color:#2563eb !important;
  font-size:16px !important;
  font-weight:900 !important;
}
.yono-popular-searches .search-tags{
  color:#94a3b8;
  line-height:2 !important;
  font-size:14px !important;
}
.yono-popular-searches .search-tags a{
  font-weight:800 !important;
  text-decoration:none !important;
}
.yono-popular-searches .search-tags a:nth-child(4n+1){color:#2563eb !important}
.yono-popular-searches .search-tags a:nth-child(4n+2){color:#7c3aed !important}
.yono-popular-searches .search-tags a:nth-child(4n+3){color:#ec4899 !important}
.yono-popular-searches .search-tags a:nth-child(4n){color:#f59e0b !important}

/* ---------- Bottom info cards ---------- */
.yono-ref-info-links{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:10px !important;
}
.yono-ref-info-links a{
  min-height:108px !important;
  padding:12px !important;
  border-radius:16px !important;
  border:1px solid rgba(148,163,184,.22) !important;
  box-shadow:0 6px 16px rgba(15,23,42,.045) !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:space-between !important;
  text-decoration:none !important;
}
.yono-ref-info-links a span:first-child{
  font-size:14px !important;
  font-weight:900 !important;
}
.yono-ref-info-links a small{
  color:#475569 !important;
  line-height:1.4 !important;
}
.yono-ref-info-links .arrow{
  align-self:flex-end;
  font-size:19px !important;
  font-weight:900 !important;
}

/* ---------- Footer ---------- */
.yono-light-footer{
  margin-top:28px !important;
  padding-top:24px !important;
  background:linear-gradient(180deg,#f8fbff,#eef4ff) !important;
  border-top:1px solid #dbeafe !important;
}
.yono-footer-community{
  text-align:center;
  padding:10px 0 3px;
}
.yono-footer-community h3{
  margin:0 0 6px !important;
  color:#2563eb !important;
  font-weight:900 !important;
}
.yono-footer-community a{
  color:#2563eb !important;
  font-weight:850 !important;
}
.yono-footer-bottom{
  margin-top:8px;
  padding-top:14px;
  border-top:1px solid #dbe5f2;
  color:#64748b !important;
  text-align:center;
  font-size:13px;
}

/* ---------- Back-to-top ---------- */
#yono-back-top,#yono-detail-top{
  width:56px !important;
  height:56px !important;
  border:0 !important;
  border-radius:17px !important;
  background:#fff !important;
  color:#172033 !important;
  box-shadow:0 9px 24px rgba(15,23,42,.14) !important;
  font-size:25px !important;
}

/* ---------- Mobile navigation ---------- */
.mobile-nav,.bottom-nav,.site-bottom-nav{
  border:1px solid #e2e8f0 !important;
  background:rgba(255,255,255,.97) !important;
  backdrop-filter:blur(16px);
  box-shadow:0 -8px 25px rgba(15,23,42,.09) !important;
  border-radius:20px 20px 0 0 !important;
}
.mobile-nav a,.bottom-nav a,.site-bottom-nav a{
  font-size:12px !important;
  font-weight:800 !important;
}

/* ---------- Mobile ---------- */
@media(max-width:700px){
  .container{padding-left:12px !important;padding-right:12px !important}
  .site-header,.header,.top-header,.main-header{min-height:68px !important}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}
  .card.premium-card{padding:10px !important;border-radius:17px !important}
  .card.premium-card img,
  .card.premium-card .app-logo,
  .card.premium-card .app-icon{
    width:48px !important;height:48px !important;
    max-width:48px !important;max-height:48px !important;
    border-radius:13px !important;
  }
  .card.premium-card .title{font-size:15px !important}
  .card.premium-card .buttons .btn.primary{
    min-height:41px !important;
    font-size:13px !important;
    border-radius:11px !important;
  }
  .yono-footer-action{
    min-height:72px !important;
    padding:11px !important;
  }
  .yono-footer-action-text strong{font-size:14px !important}
  .yono-footer-action-text small{font-size:11px !important}
  .yono-footer-icon{width:42px;height:42px;flex-basis:42px;font-size:20px}
  .yono-footer-action-btn{min-height:39px;padding:0 12px !important;font-size:12px !important}
  .yono-ref-info-links{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px !important}
  .yono-ref-info-links a{min-height:102px !important;padding:10px !important}
  .yono-ref-info-links a:last-child{grid-column:1/-1}
}

/* Extra-small phones */
@media(max-width:380px){
  .grid{gap:8px !important}
  .card.premium-card{padding:8px !important}
  .card.premium-card img,
  .card.premium-card .app-logo,
  .card.premium-card .app-icon{
    width:45px !important;height:45px !important;
    max-width:45px !important;max-height:45px !important;
  }
  .card.premium-card .title{font-size:14px !important}
  .card.premium-card .buttons .btn.primary{font-size:12px !important}
}

/* =========================================================
   v35 — Top Apps first-section reference match
   ========================================================= */
.top-apps-reference-section{
  margin:20px 0 28px !important;
}
.top-apps-reference-section .section-head{
  margin-bottom:12px !important;
}
.top-apps-reference-section .section-head h2{
  margin:2px 0 0 !important;
  font-size:30px !important;
  font-weight:950 !important;
  color:#172033 !important;
}
.top-apps-reference-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.top-app-reference-card{
  min-width:0;
  padding:13px !important;
  border:1px solid #e3e8f1 !important;
  border-radius:19px !important;
  background:#fff !important;
  box-shadow:0 5px 16px rgba(15,23,42,.045) !important;
}
.top-app-reference-category{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 11px;
  border-radius:999px;
  background:#eff6ff;
  color:#2563eb;
  font-size:12px;
  font-weight:900;
  margin-bottom:9px;
}
.top-app-reference-card:nth-child(4n+2) .top-app-reference-category{
  background:#ecfdf5;color:#16a34a;
}
.top-app-reference-card:nth-child(4n+3) .top-app-reference-category{
  background:#f5f3ff;color:#7c3aed;
}
.top-app-reference-card:nth-child(4n) .top-app-reference-category{
  background:#fff7ed;color:#ea580c;
}
.top-app-reference-main{
  display:grid;
  grid-template-columns:74px minmax(0,1fr) 92px;
  align-items:center;
  gap:12px;
  min-height:76px;
}
.top-app-reference-logo img,
.top-app-reference-logo{
  width:74px !important;
  height:74px !important;
  max-width:74px !important;
  max-height:74px !important;
}
.top-app-reference-logo{
  border-radius:16px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:#f1f5f9;
}
.top-app-reference-logo img{
  object-fit:cover !important;
  border-radius:16px !important;
}
.top-app-reference-name{
  min-width:0;
}
.top-app-reference-name strong{
  display:block;
  font-size:21px;
  line-height:1.15;
  font-weight:950;
  letter-spacing:-.3px;
  color:#a21caf;
}
.top-app-reference-card:nth-child(4n+2) .top-app-reference-name strong{color:#ea8a00}
.top-app-reference-card:nth-child(4n+3) .top-app-reference-name strong{color:#16a34a}
.top-app-reference-card:nth-child(4n) .top-app-reference-name strong{color:#2563eb}
.top-app-reference-stats{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:10px;
  color:#374151;
  font-size:14px;
  font-weight:750;
  white-space:nowrap;
}
.top-app-reference-download{
  display:flex !important;
  width:100% !important;
  min-height:47px !important;
  margin-top:12px !important;
  align-items:center;
  justify-content:center;
  border-radius:12px !important;
  background:linear-gradient(90deg,#1d4ed8,#2563eb) !important;
  color:#fff !important;
  text-decoration:none !important;
  font-size:16px !important;
  font-weight:900 !important;
  box-shadow:0 7px 15px rgba(37,99,235,.18) !important;
}
@media(max-width:700px){
  .top-apps-reference-section{margin-top:14px !important}
  .top-apps-reference-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .top-app-reference-card{
    padding:9px !important;
    border-radius:17px !important;
  }
  .top-app-reference-category{
    min-height:26px;
    padding:3px 9px;
    font-size:11px;
    margin-bottom:7px;
  }
  .top-app-reference-main{
    grid-template-columns:50px minmax(0,1fr) 62px;
    gap:7px;
    min-height:55px;
  }
  .top-app-reference-logo,
  .top-app-reference-logo img{
    width:50px !important;
    height:50px !important;
    max-width:50px !important;
    max-height:50px !important;
    border-radius:12px !important;
  }
  .top-app-reference-name strong{
    font-size:14px;
  }
  .top-app-reference-stats{
    font-size:11px;
    gap:6px;
  }
  .top-app-reference-download{
    min-height:42px !important;
    margin-top:8px !important;
    border-radius:11px !important;
    font-size:13px !important;
  }
}
@media(max-width:390px){
  .top-apps-reference-grid{gap:7px}
  .top-app-reference-main{grid-template-columns:45px minmax(0,1fr) 56px;gap:6px}
  .top-app-reference-logo,.top-app-reference-logo img{
    width:45px !important;height:45px !important;max-width:45px !important;max-height:45px !important;
  }
  .top-app-reference-name strong{font-size:13px}
  .top-app-reference-stats{font-size:10px}
  .top-app-reference-download{font-size:12px !important}
}

/* =========================================================
   v36 — Full mobile-screen reference layout
   Desktop layout remains unchanged.
   ========================================================= */
html,body{
  width:100% !important;
  max-width:100% !important;
  overflow-x:hidden !important;
}
@media(max-width:700px){
  /* Full viewport: remove desktop-style side gutters */
  body{
    width:100vw !important;
    min-width:100vw !important;
    overflow-x:hidden !important;
  }
  .container,
  main .container,
  header .container,
  footer .container{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }

  /* Header fills the complete phone width */
  .site-header,.header,.top-header,.main-header{
    width:100vw !important;
    max-width:none !important;
    min-height:68px !important;
  }
  .site-header .container,.header .container,.top-header .container,.main-header .container{
    width:100% !important;
    min-height:68px !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }

  /* Keep the reference header in one compact row */
  .site-header .header-inner,
  .header .header-inner,
  .top-header .header-inner,
  .main-header .header-inner,
  .site-header .container,
  .header .container{
    gap:8px !important;
  }
  .search-box,.search-form,.header-search,.site-search{
    width:auto !important;
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:none !important;
  }

  /* Top Apps fills the entire phone screen */
  .top-apps-reference-section{
    width:100% !important;
    margin:12px 0 22px !important;
    padding:0 !important;
  }
  .top-apps-reference-grid{
    width:100% !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:9px !important;
  }
  .top-app-reference-card{
    width:100% !important;
    min-width:0 !important;
    padding:9px !important;
    border-radius:17px !important;
  }

  /* Reference card proportions */
  .top-app-reference-main{
    width:100% !important;
    grid-template-columns:50px minmax(0,1fr) 61px !important;
    gap:7px !important;
  }
  .top-app-reference-logo,
  .top-app-reference-logo img{
    width:50px !important;
    height:50px !important;
    max-width:50px !important;
    max-height:50px !important;
  }
  .top-app-reference-name{
    min-width:0 !important;
    overflow:hidden !important;
  }
  .top-app-reference-name strong{
    font-size:14px !important;
    line-height:1.15 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
  .top-app-reference-stats{
    min-width:0 !important;
    font-size:10.5px !important;
    gap:6px !important;
  }
  .top-app-reference-download{
    width:100% !important;
    min-height:42px !important;
    margin-top:8px !important;
    font-size:13px !important;
  }

  /* Other catalogue cards also use the full mobile width */
  .grid{
    width:100% !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:9px !important;
  }
  .card.premium-card{
    width:100% !important;
    min-width:0 !important;
  }

  /* Footer blocks span the phone cleanly */
  .yono-footer-content{
    width:100% !important;
    max-width:none !important;
  }
  .yono-footer-action{
    width:100% !important;
  }
  .yono-reference-content{
    width:100% !important;
  }
  .yono-ref-info-links{
    width:100% !important;
  }

  /* Prevent fixed/bottom UI from making the page look cropped */
  .mobile-nav,.bottom-nav,.site-bottom-nav{
    width:calc(100vw - 20px) !important;
    max-width:none !important;
    left:10px !important;
    right:10px !important;
  }
}

@media(max-width:390px){
  .container,
  main .container,
  header .container,
  footer .container{
    padding-left:9px !important;
    padding-right:9px !important;
  }
  .top-apps-reference-grid,.grid{gap:7px !important}
  .top-app-reference-card{padding:8px !important}
  .top-app-reference-main{
    grid-template-columns:45px minmax(0,1fr) 55px !important;
    gap:5px !important;
  }
  .top-app-reference-logo,
  .top-app-reference-logo img{
    width:45px !important;height:45px !important;
    max-width:45px !important;max-height:45px !important;
  }
  .top-app-reference-name strong{font-size:13px !important}
  .top-app-reference-stats{font-size:9.5px !important}
  .top-app-reference-download{font-size:12px !important}
}

/* v37 — mobile header: menu -> logo -> name -> search -> Telegram -> dark mode */
@media(max-width:700px){
  .site-header{
    width:100vw !important;
    overflow:hidden !important;
  }
  .site-header .header-inner{
    width:100% !important;
    max-width:none !important;
    min-height:68px !important;
    padding:0 9px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:6px !important;
    overflow:hidden !important;
  }

  .yono-header-menu{
    order:1 !important;
    flex:0 0 34px !important;
    width:34px !important;
    height:42px !important;
    padding:0 !important;
    font-size:28px !important;
    display:grid !important;
    place-items:center !important;
  }

  .site-header .logo{
    order:2 !important;
    flex:0 1 112px !important;
    width:112px !important;
    min-width:0 !important;
    max-width:112px !important;
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
    overflow:hidden !important;
  }
  .site-header .logo-mark{
    flex:0 0 37px !important;
    width:37px !important;
    height:37px !important;
    display:grid !important;
    place-items:center !important;
    overflow:hidden !important;
  }
  .site-header .logo-mark img,
  .site-header .logo-mark .custom-logo,
  .site-header .logo-mark .custom-logo-link,
  .site-header .logo-mark .custom-logo-link img{
    width:37px !important;
    height:37px !important;
    max-width:37px !important;
    max-height:37px !important;
    object-fit:contain !important;
  }
  .site-header .site-name{
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:none !important;
    font-size:15px !important;
    line-height:1 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  #yono-header-search-form{
    order:3 !important;
    flex:1 1 150px !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    display:flex !important;
  }
  #yono-header-search-form input{
    width:100% !important;
    min-width:0 !important;
    height:40px !important;
    padding:0 37px 0 12px !important;
    border-radius:14px !important;
    font-size:13px !important;
    box-shadow:none !important;
  }
  #yono-header-search-form button{
    flex:0 0 36px !important;
    width:36px !important;
    height:36px !important;
    margin-left:-38px !important;
    font-size:20px !important;
  }

  .header-actions{
    order:4 !important;
    flex:0 0 auto !important;
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
    min-width:0 !important;
  }
  #yono-header-telegram{
    order:1 !important;
    flex:0 0 38px !important;
    width:38px !important;
    height:38px !important;
    font-size:19px !important;
  }
  .site-header .theme-toggle{
    order:2 !important;
    flex:0 0 38px !important;
    width:38px !important;
    height:38px !important;
    font-size:18px !important;
  }
  .install-app-btn,.header-actions .menu{
    display:none !important;
  }
}

@media(max-width:390px){
  .site-header .header-inner{
    padding:0 6px !important;
    gap:4px !important;
  }
  .yono-header-menu{
    flex-basis:30px !important;
    width:30px !important;
    font-size:25px !important;
  }
  .site-header .logo{
    flex-basis:91px !important;
    width:91px !important;
    max-width:91px !important;
    gap:4px !important;
  }
  .site-header .logo-mark,
  .site-header .logo-mark img,
  .site-header .logo-mark .custom-logo,
  .site-header .logo-mark .custom-logo-link,
  .site-header .logo-mark .custom-logo-link img{
    width:32px !important;
    height:32px !important;
    max-width:32px !important;
    max-height:32px !important;
  }
  .site-header .site-name{font-size:13px !important}
  #yono-header-search-form{flex-basis:120px !important}
  #yono-header-search-form input{height:37px !important;font-size:12px !important}
  #yono-header-telegram,
  .site-header .theme-toggle{
    flex-basis:34px !important;
    width:34px !important;
    height:34px !important;
  }
}

/* =========================================================
   v38 — Mobile header final fit
   Full site name + full search field + Telegram + dark mode
   ========================================================= */
@media(max-width:700px){
  .site-header .header-inner{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    padding:0 7px !important;
    gap:4px !important;
    overflow:hidden !important;
  }

  .yono-header-menu{
    flex:0 0 30px !important;
    width:30px !important;
    max-width:30px !important;
    height:40px !important;
    font-size:25px !important;
  }

  /* Logo + FULL website name */
  .site-header .logo{
    flex:0 0 105px !important;
    width:105px !important;
    max-width:105px !important;
    min-width:105px !important;
    gap:4px !important;
    overflow:visible !important;
  }
  .site-header .logo-mark,
  .site-header .logo-mark img,
  .site-header .logo-mark .custom-logo,
  .site-header .logo-mark .custom-logo-link,
  .site-header .logo-mark .custom-logo-link img{
    flex:0 0 31px !important;
    width:31px !important;
    height:31px !important;
    max-width:31px !important;
    max-height:31px !important;
    object-fit:contain !important;
  }
  .site-header .site-name{
    flex:1 1 auto !important;
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    font-size:12.5px !important;
    letter-spacing:-.3px !important;
    line-height:1 !important;
    white-space:nowrap !important;
    overflow:visible !important;
    text-overflow:clip !important;
  }

  /* Full search box — never clipped */
  #yono-header-search-form{
    order:3 !important;
    flex:1 1 0 !important;
    width:auto !important;
    min-width:92px !important;
    max-width:none !important;
    margin:0 !important;
  }
  #yono-header-search-form input{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    height:39px !important;
    padding:0 35px 0 10px !important;
    border-radius:13px !important;
    font-size:12px !important;
    box-shadow:none !important;
  }
  #yono-header-search-form input::placeholder{
    opacity:.72 !important;
  }
  #yono-header-search-form button{
    flex:0 0 34px !important;
    width:34px !important;
    height:35px !important;
    margin-left:-36px !important;
    font-size:19px !important;
  }

  .header-actions{
    flex:0 0 auto !important;
    gap:4px !important;
    min-width:0 !important;
  }
  #yono-header-telegram{
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
    font-size:17px !important;
  }
  .site-header .theme-toggle{
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
    font-size:17px !important;
  }
}

@media(max-width:370px){
  .site-header .header-inner{
    padding:0 5px !important;
    gap:3px !important;
  }
  .yono-header-menu{
    flex-basis:27px !important;
    width:27px !important;
    max-width:27px !important;
    font-size:23px !important;
  }
  .site-header .logo{
    flex-basis:94px !important;
    width:94px !important;
    max-width:94px !important;
    min-width:94px !important;
  }
  .site-header .logo-mark,
  .site-header .logo-mark img,
  .site-header .logo-mark .custom-logo,
  .site-header .logo-mark .custom-logo-link,
  .site-header .logo-mark .custom-logo-link img{
    width:28px !important;
    height:28px !important;
    max-width:28px !important;
    max-height:28px !important;
  }
  .site-header .site-name{
    font-size:11.5px !important;
  }
  #yono-header-search-form{
    min-width:82px !important;
  }
  #yono-header-search-form input{
    height:37px !important;
    font-size:11px !important;
    padding-left:8px !important;
  }
  #yono-header-telegram,
  .site-header .theme-toggle{
    flex-basis:31px !important;
    width:31px !important;
    height:31px !important;
    font-size:15px !important;
  }
}

/* v39 — give the search field all remaining mobile space */
@media(max-width:700px){
  .site-header .header-inner{
    gap:3px !important;
  }
  .yono-header-menu{
    flex:0 0 29px !important;
    width:29px !important;
    max-width:29px !important;
  }
  .site-header .logo{
    flex:0 0 98px !important;
    width:98px !important;
    max-width:98px !important;
    min-width:98px !important;
    gap:3px !important;
  }
  .site-header .site-name{
    font-size:12px !important;
    letter-spacing:-.4px !important;
  }
  #yono-header-search-form{
    flex:1 1 auto !important;
    min-width:0 !important;
    width:auto !important;
    max-width:none !important;
  }
  #yono-header-search-form input{
    width:100% !important;
    height:40px !important;
    font-size:12.5px !important;
  }
  .header-actions{
    flex:0 0 71px !important;
    width:71px !important;
    gap:3px !important;
  }
  #yono-header-telegram,
  .site-header .theme-toggle{
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
  }
  /* Do not render any site-side menu/ellipsis control on mobile. */
  .header-actions .menu,
  .header-actions .menu *,
  .install-app-btn{
    display:none !important;
  }
}
@media(max-width:370px){
  .site-header .logo{
    flex-basis:91px !important;
    width:91px !important;
    max-width:91px !important;
    min-width:91px !important;
  }
  .site-header .site-name{font-size:11.5px !important}
  .header-actions{flex-basis:67px !important;width:67px !important}
  #yono-header-telegram,
  .site-header .theme-toggle{
    flex-basis:32px !important;
    width:32px !important;
    height:32px !important;
  }
}

/* =========================================================
   v40 — Reference mobile header
   Menu | Logo + Name | Search | Telegram | Dark Mode
   ========================================================= */
.site-header .header-inner{
  display:flex;
  align-items:center;
}
@media(max-width:700px){
  .site-header{
    width:100vw !important;
    min-width:100vw !important;
    overflow:hidden !important;
    background:linear-gradient(105deg,#1453e8 0%,#2458ee 55%,#4f46e5 100%) !important;
  }
  .site-header .header-inner{
    width:100vw !important;
    max-width:none !important;
    height:72px !important;
    min-height:72px !important;
    margin:0 !important;
    padding:0 8px !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:5px !important;
    overflow:hidden !important;
  }

  /* 1. Hamburger */
  .yono-header-menu{
    order:1 !important;
    display:grid !important;
    place-items:center !important;
    flex:0 0 34px !important;
    width:34px !important;
    max-width:34px !important;
    height:46px !important;
    padding:0 !important;
    margin:0 !important;
    color:#fff !important;
    background:transparent !important;
    border:0 !important;
    font-size:29px !important;
    line-height:1 !important;
  }

  /* 2. Brand: logo + complete name, never above/overlapping */
  .site-header .logo{
    order:2 !important;
    flex:0 0 112px !important;
    width:112px !important;
    min-width:112px !important;
    max-width:112px !important;
    height:48px !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:5px !important;
    overflow:hidden !important;
    color:#fff !important;
    text-decoration:none !important;
  }
  .site-header .logo-mark{
    flex:0 0 38px !important;
    width:38px !important;
    height:38px !important;
    max-width:38px !important;
    max-height:38px !important;
    margin:0 !important;
    padding:0 !important;
    display:grid !important;
    place-items:center !important;
    overflow:hidden !important;
  }
  .site-header .logo-mark img,
  .site-header .logo-mark .custom-logo,
  .site-header .logo-mark .custom-logo-link,
  .site-header .logo-mark .custom-logo-link img{
    display:block !important;
    width:38px !important;
    height:38px !important;
    max-width:38px !important;
    max-height:38px !important;
    object-fit:contain !important;
    margin:0 !important;
    padding:0 !important;
  }
  .site-header .site-name{
    flex:1 1 auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    display:block !important;
    color:#fff !important;
    font-size:15px !important;
    line-height:1.05 !important;
    font-weight:900 !important;
    letter-spacing:-.35px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  /* 3. Search: directly beside brand, using all available middle space */
  #yono-header-search-form{
    order:3 !important;
    flex:1 1 auto !important;
    width:auto !important;
    min-width:105px !important;
    max-width:none !important;
    height:46px !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    position:relative !important;
  }
  #yono-header-search-form input{
    display:block !important;
    flex:1 1 auto !important;
    width:100% !important;
    height:44px !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 39px 0 13px !important;
    border:0 !important;
    outline:0 !important;
    border-radius:15px !important;
    background:#fff !important;
    color:#172033 !important;
    font-size:13px !important;
    box-shadow:0 5px 14px rgba(0,0,0,.10) !important;
  }
  #yono-header-search-form button{
    position:absolute !important;
    right:3px !important;
    top:5px !important;
    width:35px !important;
    height:35px !important;
    min-width:35px !important;
    margin:0 !important;
    padding:0 !important;
    display:grid !important;
    place-items:center !important;
    background:transparent !important;
    color:#173a8f !important;
    border:0 !important;
    font-size:21px !important;
    line-height:1 !important;
  }

  /* 4 + 5. Telegram then dark mode */
  .header-actions{
    order:4 !important;
    flex:0 0 72px !important;
    width:72px !important;
    min-width:72px !important;
    max-width:72px !important;
    height:48px !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:4px !important;
    overflow:visible !important;
  }
  #yono-header-telegram{
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    margin:0 !important;
    padding:0 !important;
    display:grid !important;
    place-items:center !important;
    border-radius:50% !important;
    background:#16aeea !important;
    color:#fff !important;
    font-size:17px !important;
    line-height:1 !important;
  }
  .site-header .theme-toggle{
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    margin:0 !important;
    padding:0 !important;
    display:grid !important;
    place-items:center !important;
    border-radius:12px !important;
    background:#101828 !important;
    color:#fff !important;
    border:0 !important;
    font-size:18px !important;
    line-height:1 !important;
  }

  /* No extra three-dot/menu element inside the website header */
  .header-actions .menu,
  .header-actions .menu *,
  .install-app-btn{
    display:none !important;
  }
}

@media(max-width:380px){
  .site-header .header-inner{
    padding:0 5px !important;
    gap:3px !important;
  }
  .yono-header-menu{
    flex-basis:31px !important;width:31px !important;max-width:31px !important;
    font-size:27px !important;
  }
  .site-header .logo{
    flex-basis:101px !important;width:101px !important;min-width:101px !important;max-width:101px !important;
  }
  .site-header .logo-mark,
  .site-header .logo-mark img,
  .site-header .logo-mark .custom-logo,
  .site-header .logo-mark .custom-logo-link,
  .site-header .logo-mark .custom-logo-link img{
    width:34px !important;height:34px !important;max-width:34px !important;max-height:34px !important;
  }
  .site-header .site-name{font-size:13px !important}
  #yono-header-search-form{min-width:88px !important}
  #yono-header-search-form input{height:42px !important;font-size:12px !important}
  .header-actions{flex-basis:69px !important;width:69px !important;min-width:69px !important}
  #yono-header-telegram,.site-header .theme-toggle{
    flex-basis:32px !important;width:32px !important;height:32px !important;min-width:32px !important;
  }
}

/* =========================================================
   v41 — Mobile header only, no dots between brand/search
   Mobile order: logo + full name -> search -> Telegram -> dark
   ========================================================= */
@media(max-width:700px){
  .site-header .header-inner{
    justify-content:flex-start !important;
    flex-wrap:nowrap !important;
    overflow:hidden !important;
    gap:5px !important;
  }

  /* Do not show any generated/pseudo dots around the brand. */
  .site-header .logo::before,
  .site-header .logo::after,
  .site-header .logo-mark::before,
  .site-header .logo-mark::after,
  .site-header .site-name::before,
  .site-header .site-name::after,
  #yono-header-search-form::before,
  #yono-header-search-form::after{
    content:none !important;
    display:none !important;
  }

  /* Brand is first: logo and full name on ONE row. */
  .site-header .logo{
    order:1 !important;
    flex:0 0 112px !important;
    width:112px !important;
    min-width:112px !important;
    max-width:112px !important;
    display:flex !important;
    align-items:center !important;
    flex-direction:row !important;
    gap:5px !important;
    overflow:hidden !important;
    white-space:nowrap !important;
  }
  .site-header .logo-mark{
    flex:0 0 38px !important;
    width:38px !important;
    height:38px !important;
    max-width:38px !important;
    max-height:38px !important;
    overflow:hidden !important;
  }
  .site-header .site-name{
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:none !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    margin:0 !important;
    padding:0 !important;
  }

  /* Search immediately beside the brand. */
  #yono-header-search-form{
    order:2 !important;
    flex:1 1 auto !important;
    min-width:100px !important;
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    position:relative !important;
  }
  #yono-header-search-form input{
    width:100% !important;
    min-width:0 !important;
    height:42px !important;
    padding:0 38px 0 12px !important;
    border-radius:14px !important;
    white-space:nowrap !important;
  }

  /* Only Telegram + dark mode after search. */
  .header-actions{
    order:3 !important;
    flex:0 0 72px !important;
    width:72px !important;
    min-width:72px !important;
    display:flex !important;
    align-items:center !important;
    gap:4px !important;
  }
  #yono-header-telegram{
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
  }
  .site-header .theme-toggle{
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
  }

  /* No website-side menu / three-dot control. */
  .header-actions .menu,
  .header-actions .menu *,
  .install-app-btn,
  .site-header .header-actions button:not(.theme-toggle),
  .site-header .header-actions a:not(#yono-header-telegram){
    display:none !important;
  }

  /* Hamburger is not placed between logo and name/search. */
  .yono-header-menu{
    display:none !important;
  }
}

@media(max-width:380px){
  .site-header .logo{
    flex-basis:106px !important;
    width:106px !important;
    min-width:106px !important;
    max-width:106px !important;
  }
  .site-header .logo-mark,
  .site-header .logo-mark img,
  .site-header .logo-mark .custom-logo,
  .site-header .logo-mark .custom-logo-link,
  .site-header .logo-mark .custom-logo-link img{
    width:35px !important;
    height:35px !important;
    max-width:35px !important;
    max-height:35px !important;
  }
  .site-header .site-name{font-size:13px !important}
  #yono-header-search-form{min-width:90px !important}
  .header-actions{flex-basis:68px !important;width:68px !important;min-width:68px !important}
  #yono-header-telegram,.site-header .theme-toggle{
    flex-basis:32px !important;width:32px !important;height:32px !important;
  }
}

/* =========================================================
   v42 — Screenshot-based mobile header correction
   Logo + full site name -> search -> Telegram -> dark mode
   No hamburger / no dots / no clipping.
   ========================================================= */
@media(max-width:700px){
  .site-header .header-inner{
    width:100vw !important;
    height:72px !important;
    min-height:72px !important;
    padding:0 6px !important;
    gap:4px !important;
    overflow:hidden !important;
  }

  /* No hamburger in the requested mobile header */
  .yono-header-menu{display:none !important;}

  /* Brand gets a fixed, slightly wider area */
  .site-header .logo{
    flex:0 0 122px !important;
    width:122px !important;
    min-width:122px !important;
    max-width:122px !important;
    height:48px !important;
    gap:5px !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
  }
  .site-header .logo-mark,
  .site-header .logo-mark img,
  .site-header .logo-mark .custom-logo,
  .site-header .logo-mark .custom-logo-link,
  .site-header .logo-mark .custom-logo-link img{
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
    max-width:34px !important;
    max-height:34px !important;
    object-fit:contain !important;
    margin:0 !important;
  }
  .site-header .site-name{
    flex:1 1 auto !important;
    min-width:0 !important;
    width:auto !important;
    max-width:none !important;
    font-size:13px !important;
    line-height:1 !important;
    font-weight:900 !important;
    letter-spacing:-.35px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  /* Search sits immediately beside the name */
  #yono-header-search-form{
    flex:1 1 auto !important;
    width:auto !important;
    min-width:110px !important;
    max-width:none !important;
    height:46px !important;
    margin:0 !important;
  }
  #yono-header-search-form input{
    width:100% !important;
    height:42px !important;
    min-width:0 !important;
    padding:0 38px 0 12px !important;
    border-radius:14px !important;
    font-size:12.5px !important;
    overflow:hidden !important;
  }
  #yono-header-search-form button{
    right:2px !important;
    top:4px !important;
    width:35px !important;
    height:35px !important;
  }

  /* Telegram + dark mode always remain visible */
  .header-actions{
    flex:0 0 70px !important;
    width:70px !important;
    min-width:70px !important;
    max-width:70px !important;
    gap:3px !important;
    overflow:visible !important;
  }
  #yono-header-telegram,
  .site-header .theme-toggle{
    flex:0 0 33px !important;
    width:33px !important;
    height:33px !important;
    min-width:33px !important;
  }

  /* Absolutely no pseudo-dot/ellipsis around brand/search */
  .site-header .logo::before,
  .site-header .logo::after,
  .site-header .logo-mark::before,
  .site-header .logo-mark::after,
  .site-header .site-name::before,
  .site-header .site-name::after,
  #yono-header-search-form::before,
  #yono-header-search-form::after{
    content:none !important;
    display:none !important;
  }
}

@media(max-width:380px){
  .site-header .header-inner{
    padding:0 4px !important;
    gap:3px !important;
  }
  .site-header .logo{
    flex-basis:113px !important;
    width:113px !important;
    min-width:113px !important;
    max-width:113px !important;
  }
  .site-header .logo-mark,
  .site-header .logo-mark img,
  .site-header .logo-mark .custom-logo,
  .site-header .logo-mark .custom-logo-link,
  .site-header .logo-mark .custom-logo-link img{
    width:31px !important;
    height:31px !important;
    max-width:31px !important;
    max-height:31px !important;
  }
  .site-header .site-name{font-size:12px !important}
  #yono-header-search-form{min-width:96px !important}
  #yono-header-search-form input{font-size:11.5px !important}
  .header-actions{
    flex-basis:67px !important;
    width:67px !important;
    min-width:67px !important;
  }
  #yono-header-telegram,
  .site-header .theme-toggle{
    flex-basis:32px !important;
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
  }
}

/* v44 — mobile full brand name, no desktop-style squeeze */
@media (max-width:700px){
  .site-header .header-inner{
    width:100vw!important;
    max-width:none!important;
    padding:0 6px!important;
    gap:4px!important;
    flex-wrap:nowrap!important;
    overflow:hidden!important;
  }

  /* Give the brand enough room for the complete site name */
  .site-header .logo{
    flex:0 0 142px!important;
    width:142px!important;
    min-width:142px!important;
    max-width:142px!important;
    gap:5px!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }
  .site-header .logo-mark{
    flex:0 0 34px!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    max-height:34px!important;
  }
  .site-header .logo-mark img,
  .site-header .logo-mark .custom-logo,
  .site-header .logo-mark .custom-logo-link,
  .site-header .logo-mark .custom-logo-link img{
    width:34px!important;
    height:34px!important;
    max-width:34px!important;
    max-height:34px!important;
    object-fit:contain!important;
  }
  .site-header .site-name{
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    font-size:13px!important;
    line-height:1!important;
    letter-spacing:-.35px!important;
  }

  /* Search stays immediately beside the complete name */
  #yono-header-search-form{
    flex:1 1 0!important;
    width:auto!important;
    min-width:78px!important;
    max-width:none!important;
    margin:0!important;
  }
  #yono-header-search-form input{
    width:100%!important;
    min-width:0!important;
    height:42px!important;
    font-size:12px!important;
    padding:0 37px 0 11px!important;
  }

  .header-actions{
    flex:0 0 70px!important;
    width:70px!important;
    min-width:70px!important;
    max-width:70px!important;
    gap:3px!important;
  }
  #yono-header-telegram,
  .site-header .theme-toggle{
    flex:0 0 33px!important;
    width:33px!important;
    height:33px!important;
    min-width:33px!important;
  }
}

@media (max-width:380px){
  .site-header .header-inner{padding:0 4px!important;gap:3px!important}
  .site-header .logo{
    flex-basis:132px!important;
    width:132px!important;
    min-width:132px!important;
    max-width:132px!important;
  }
  .site-header .logo-mark,
  .site-header .logo-mark img,
  .site-header .logo-mark .custom-logo,
  .site-header .logo-mark .custom-logo-link,
  .site-header .logo-mark .custom-logo-link img{
    width:31px!important;
    height:31px!important;
    max-width:31px!important;
    max-height:31px!important;
  }
  .site-header .site-name{font-size:12px!important}
  #yono-header-search-form{min-width:72px!important}
  .header-actions{flex-basis:67px!important;width:67px!important;min-width:67px!important}
  #yono-header-telegram,
  .site-header .theme-toggle{
    flex-basis:32px!important;width:32px!important;height:32px!important;min-width:32px!important;
  }
}

/* =========================================================
   v45 — CLEAN MOBILE HEADER
   No desktop-style squeeze. Compact brand + full name,
   then search, Telegram, dark mode.
   ========================================================= */
@media (max-width:700px){
  .site-header .header-inner{
    width:100vw!important;
    max-width:none!important;
    height:68px!important;
    min-height:68px!important;
    box-sizing:border-box!important;
    padding:0 5px!important;
    margin:0!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:4px!important;
    overflow:hidden!important;
  }

  /* BRAND = small logo + complete yonoagent.org */
  .site-header .logo{
    order:1!important;
    flex:0 0 112px!important;
    width:112px!important;
    min-width:112px!important;
    max-width:112px!important;
    height:42px!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:4px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }

  .site-header .logo-mark{
    flex:0 0 30px!important;
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
    max-width:30px!important;
    max-height:30px!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    overflow:hidden!important;
  }

  .site-header .logo-mark img,
  .site-header .logo-mark .custom-logo,
  .site-header .logo-mark .custom-logo-link,
  .site-header .logo-mark .custom-logo-link img{
    display:block!important;
    width:30px!important;
    height:30px!important;
    max-width:30px!important;
    max-height:30px!important;
    object-fit:contain!important;
    margin:0!important;
    padding:0!important;
  }

  .site-header .site-name{
    flex:0 0 78px!important;
    width:78px!important;
    min-width:78px!important;
    max-width:78px!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:900!important;
    line-height:1!important;
    letter-spacing:-.55px!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }

  /* SEARCH immediately after brand */
  #yono-header-search-form{
    order:2!important;
    flex:1 1 auto!important;
    width:auto!important;
    min-width:80px!important;
    max-width:none!important;
    height:42px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    position:relative!important;
    overflow:visible!important;
  }

  #yono-header-search-form input{
    flex:1 1 auto!important;
    width:100%!important;
    min-width:0!important;
    height:40px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:0 34px 0 10px!important;
    border:0!important;
    border-radius:13px!important;
    font-size:12px!important;
    background:#fff!important;
  }

  #yono-header-search-form button{
    position:absolute!important;
    right:1px!important;
    top:3px!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border:0!important;
    background:transparent!important;
    color:#173a8f!important;
  }

  /* RIGHT CONTROLS */
  .header-actions{
    order:3!important;
    flex:0 0 65px!important;
    width:65px!important;
    min-width:65px!important;
    max-width:65px!important;
    height:42px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:3px!important;
    overflow:visible!important;
  }

  #yono-header-telegram,
  .site-header .theme-toggle{
    flex:0 0 31px!important;
    width:31px!important;
    min-width:31px!important;
    height:31px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:0!important;
  }

  /* Nothing extra in the website header */
  .yono-header-menu,
  .header-actions .menu,
  .header-actions .menu *,
  .install-app-btn{
    display:none!important;
  }

  .site-header .logo::before,
  .site-header .logo::after,
  .site-header .logo-mark::before,
  .site-header .logo-mark::after,
  .site-header .site-name::before,
  .site-header .site-name::after,
  #yono-header-search-form::before,
  #yono-header-search-form::after{
    content:none!important;
    display:none!important;
  }
}

@media (max-width:380px){
  .site-header .header-inner{
    padding:0 4px!important;
    gap:3px!important;
  }
  .site-header .logo{
    flex-basis:108px!important;
    width:108px!important;
    min-width:108px!important;
    max-width:108px!important;
  }
  .site-header .logo-mark,
  .site-header .logo-mark img,
  .site-header .logo-mark .custom-logo,
  .site-header .logo-mark .custom-logo-link,
  .site-header .logo-mark .custom-logo-link img{
    width:28px!important;
    height:28px!important;
    max-width:28px!important;
    max-height:28px!important;
  }
  .site-header .site-name{
    flex-basis:76px!important;
    width:76px!important;
    min-width:76px!important;
    max-width:76px!important;
    font-size:11.5px!important;
  }
  #yono-header-search-form{
    min-width:76px!important;
  }
  #yono-header-search-form input{
    font-size:11px!important;
  }
  .header-actions{
    flex-basis:63px!important;
    width:63px!important;
    min-width:63px!important;
  }
  #yono-header-telegram,
  .site-header .theme-toggle{
    flex-basis:30px!important;
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
  }
}

/* Compact app card layout: logo left, name + stats right, download below */
.card.premium-card{
  display:grid;
  grid-template-columns:78px minmax(0,1fr);
  grid-template-rows:auto auto auto;
  column-gap:12px;
  row-gap:10px;
  align-items:center;
  padding:13px;
}
.card.premium-card .card-top{
  grid-column:1/-1;
  grid-row:1;
}
.card.premium-card .app-logo{
  grid-column:1;
  grid-row:2;
  width:78px!important;
  height:78px!important;
  max-width:78px!important;
  border-radius:18px;
  margin:0;
}
.card.premium-card .info{
  grid-column:2;
  grid-row:2;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:7px;
  min-width:0;
}
.card.premium-card .title{
  width:100%;
  font-size:16px;
  line-height:1.2;
  margin:0;
}
.card.premium-card .app-mini-stats{
  display:flex;
  gap:12px;
  font-size:12px;
  line-height:1;
  color:var(--muted);
}
.card.premium-card .buttons{
  grid-column:1/-1;
  grid-row:3;
  width:100%;
  display:flex;
  margin:0;
}
.card.premium-card .buttons .btn.primary{
  width:100%;
  text-align:center;
  padding:10px 12px;
  border-radius:11px;
  font-size:13px;
}
.card.premium-card .favorite-btn,
.card.premium-card .app-share-btn{
  display:none;
}
@media(max-width:650px){
  .card.premium-card{
    grid-template-columns:72px minmax(0,1fr);
    padding:11px;
    column-gap:10px;
    row-gap:9px;
  }
  .card.premium-card .app-logo{
    width:72px!important;
    height:72px!important;
    max-width:72px!important;
  }
  .card.premium-card .title{font-size:15px}
  .card.premium-card .app-mini-stats{font-size:11px;gap:9px}
  .card.premium-card .buttons .btn.primary{padding:9px 10px}
}


/* v51 exact compact app card layout */
.catalogue-live .card,
.favorites-section .card,
.related-grid .card {
  display:block;
  padding:14px;
}
.catalogue-live .card .card-top,
.favorites-section .card .card-top,
.related-grid .card .card-top {
  display:flex;
  width:100%;
  margin-bottom:10px;
}
.app-card-main {
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  gap:12px;
  align-items:center;
}
.catalogue-live .app-logo,
.favorites-section .app-logo,
.related-grid .app-logo {
  grid-row:auto;
  width:84px!important;
  height:84px!important;
  max-width:84px!important;
  border-radius:17px;
  object-fit:cover!important;
  margin:0;
}
.app-card-main .info {
  grid-column:auto;
  display:block;
  min-width:0;
}
.app-card-main .title {
  display:block;
  font-size:16px;
  line-height:1.2;
  margin:0 0 7px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.app-card-main .app-mini-stats {
  display:flex;
  gap:12px;
  align-items:center;
  font-size:12px;
  color:var(--muted);
}
.catalogue-live .card > .buttons,
.favorites-section .card > .buttons,
.related-grid .card > .buttons {
  display:flex;
  width:100%;
  margin-top:12px;
  gap:7px;
  justify-content:stretch;
}
.catalogue-live .card > .buttons .favorite-btn,
.favorites-section .card > .buttons .favorite-btn,
.related-grid .card > .buttons .favorite-btn {
  display:none;
}
.catalogue-live .card > .buttons .btn,
.favorites-section .card > .buttons .btn,
.related-grid .card > .buttons .btn {
  display:flex;
  width:100%;
  min-height:44px;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:11px;
  font-size:13px;
}
@media(max-width:650px){
  .catalogue-live .card,
  .favorites-section .card,
  .related-grid .card {padding:12px;}
  .app-card-main {grid-template-columns:84px minmax(0,1fr);gap:11px;}
  .catalogue-live .app-logo,
  .favorites-section .app-logo,
  .related-grid .app-logo {
    width:70px!important;height:70px!important;max-width:70px!important;
  }
}


/* Final: All Apps logos match the Top Apps logo proportions */
.card.premium-card .app-logo{
  width:74px !important;
  height:74px !important;
  max-width:74px !important;
  max-height:74px !important;
  object-fit:cover !important;
  border-radius:16px !important;
  grid-column:1 !important;
  grid-row:2 !important;
}
@media(max-width:700px){
  .card.premium-card .app-logo{
    width:50px !important;
    height:50px !important;
    max-width:50px !important;
    max-height:50px !important;
    border-radius:12px !important;
  }
}

/* Final requested All Apps layout: original square logo, title close beside it */
@media(max-width:700px){
  .catalogue-live .app-card-main,
  .favorites-section .app-card-main,
  .related-grid .app-card-main{
    grid-template-columns:70px minmax(0,1fr) !important;
    gap:8px !important;
    align-items:center !important;
  }
  .catalogue-live .app-logo,
  .favorites-section .app-logo,
  .related-grid .app-logo{
    width:70px !important;
    height:70px !important;
    max-width:70px !important;
    max-height:70px !important;
    border-radius:16px !important;
    object-fit:cover !important;
  }
  .catalogue-live .app-card-main .info,
  .favorites-section .app-card-main .info,
  .related-grid .app-card-main .info{
    min-width:0 !important;
  }
  .catalogue-live .app-card-main .title,
  .favorites-section .app-card-main .title,
  .related-grid .app-card-main .title{
    font-size:16px !important;
    line-height:1.2 !important;
    margin:0 0 6px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  .catalogue-live .app-card-main .app-mini-stats,
  .favorites-section .app-card-main .app-mini-stats,
  .related-grid .app-card-main .app-mini-stats{
    display:flex !important;
    gap:10px !important;
    font-size:12px !important;
  }
}

/* Final fix: show the complete app name beside the logo on All Apps cards. */
@media(max-width:700px){
  .catalogue-live .app-card-main .title,
  .favorites-section .app-card-main .title,
  .related-grid .app-card-main .title{
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
    font-size:15px !important;
    line-height:1.25 !important;
    margin:0 0 6px !important;
    display:block !important;
  }
  .catalogue-live .app-card-main .info,
  .favorites-section .app-card-main .info,
  .related-grid .app-card-main .info{
    min-width:0 !important;
    width:100% !important;
  }
}


/* Bundled YONO APPS website logo */
.site-header .logo-mark .yono-bundled-logo{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;margin:0;padding:0;}
@media(max-width:700px){.site-header .logo-mark .yono-bundled-logo{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;object-fit:contain!important;}}
