/*
Theme Name: Shalaby-tech
Theme URI: https://موقع-اختارلي.net
Author: اختارلي
Author URI: https://موقع-اختارلي.net
Description: A modern Arabic RTL applications and technology theme for اختارلي.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: shalaby-tech
*/

:root {
  --st-ink: #191a2b;
  --st-muted: #6e7087;
  --st-paper: #f7f6ff;
  --st-white: #ffffff;
  --st-line: #e8e7f2;
  --st-primary: #6c63ff;
  --st-accent: #ff6b6b;
  --st-font: "Cairo", sans-serif;
  --st-radius: 14px;
  --st-max: 1120px;
  --st-font-h1: clamp(2.5rem, 4vw, 3rem); /* 40–48px */
  --st-font-h2: clamp(2rem, 3.2vw, 2.25rem); /* 32–36px */
  --st-font-h3: clamp(1.5rem, 2.4vw, 1.75rem); /* 24–28px */
  --st-font-h4: clamp(1.25rem, 1.8vw, 1.375rem); /* 20–22px */
  --st-font-h5: 1.125rem; /* 18px */
  --st-font-h6: 1rem; /* 16px */
  --st-font-body: 1.0625rem; /* 17px (16–18px) */
}
html[data-theme-mode="dark"] {
  --st-ink: #f7f5ff;
  --st-muted: #b7b5c8;
  --st-paper: #10111b;
  --st-white: #181a28;
  --st-line: #2c2d43;
  --st-primary: #8f87ff;
  --st-accent: #ff8585;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  color: var(--st-ink);
  background: var(--st-paper);
  background-image: radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--st-primary) 10%, transparent), transparent 34%), radial-gradient(circle at 95% 12%, color-mix(in srgb, var(--st-accent) 9%, transparent), transparent 30%);
  font-family: var(--st-font), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--st-font-body);
  line-height: 1.75;
  font-weight: 400;
  direction: rtl;
  text-align: right;
}

/* ── Standardized Heading Hierarchy ── */
h1, .h1 { font-size: var(--st-font-h1); line-height: 1.2; font-weight: 750; color: var(--st-ink); margin-block: .4em .25em; letter-spacing: -.03em; }
h2, .h2 { font-size: var(--st-font-h2); line-height: 1.25; font-weight: 700; color: var(--st-ink); margin-block: .45em .25em; letter-spacing: -.02em; }
h3, .h3 { font-size: var(--st-font-h3); line-height: 1.3; font-weight: 650; color: var(--st-ink); margin-block: .5em .25em; }
h4, .h4 { font-size: var(--st-font-h4); line-height: 1.35; font-weight: 600; color: var(--st-ink); margin-block: .5em .25em; }
h5, .h5 { font-size: var(--st-font-h5); line-height: 1.4; font-weight: 600; color: var(--st-ink); margin-block: .5em .25em; }
h6, .h6 { font-size: var(--st-font-h6); line-height: 1.4; font-weight: 600; color: var(--st-ink); margin-block: .5em .25em; }
p { font-size: var(--st-font-body); line-height: 1.75; font-weight: 400; color: var(--st-ink); margin-block: 0 .8em; }

a { color: var(--st-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--st-accent); }
img { max-width: 100%; height: auto; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: min(100% - 40px, var(--st-max)); margin-inline: auto; }
.site-header { position: relative; z-index: 100; padding-top: 0; background: color-mix(in srgb, var(--st-white) 88%, transparent); border-bottom: 1px solid var(--st-line); backdrop-filter: blur(14px); transition: padding .25s ease, background .25s ease; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: min-height .25s ease, width .25s ease, padding .25s ease, border-radius .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { padding-top: 8px; background: transparent; border-bottom-color: transparent; }
.site-header.is-scrolled .header-inner { width: min(calc(100% - 64px), 980px); min-height: 62px; padding-inline: 16px; border: 1px solid var(--st-line); border-radius: 20px; background: color-mix(in srgb, var(--st-white) 93%, transparent); box-shadow: 0 16px 44px rgba(37, 31, 93, .12); }
.site-header.is-scrolled .nav-progress { width: min(calc(100% - 64px), 980px); margin-inline: auto; border-radius: 0 0 8px 8px; }
.site-brand { display: inline-flex; align-items: center; min-width: 150px; color: var(--st-ink); font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; text-decoration: none; transition: transform .25s ease, min-width .25s ease; }
.site-header.is-scrolled .site-brand { min-width: 110px; transform: scale(.92); transform-origin: right center; }
.site-brand span { color: var(--st-primary); }
.site-logo { display: block; width: var(--st-logo-width, 150px); max-height: 52px; object-fit: contain; transform: translateY(var(--st-logo-y, 0px)); transition: transform .2s ease; }
.theme-toggle { position: relative; display: inline-grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; padding: 0; border: 1px solid var(--st-line); border-radius: 50%; background: var(--st-white); color: var(--st-primary); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease; }
.theme-toggle:hover { border-color: var(--st-primary); background: color-mix(in srgb, var(--st-primary) 8%, var(--st-white)); box-shadow: 0 7px 18px color-mix(in srgb, var(--st-primary) 22%, transparent); transform: translateY(-2px); }
.theme-toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--st-accent) 52%, transparent); outline-offset: 3px; }
.theme-toggle-track { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; direction: ltr; }
.theme-toggle-thumb { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; color: currentColor; transition: transform .25s ease, color .25s ease; }
.theme-toggle-sun, .theme-toggle-moon { grid-area: 1 / 1; font-size: 1.25rem; line-height: 1; }
.theme-toggle-moon { display: none; }
html[data-theme-mode="dark"] .theme-toggle { border-color: color-mix(in srgb, var(--st-accent) 58%, var(--st-line)); background: color-mix(in srgb, var(--st-accent) 13%, var(--st-white)); color: var(--st-accent); }
html[data-theme-mode="dark"] .theme-toggle:hover { border-color: var(--st-accent); background: color-mix(in srgb, var(--st-accent) 20%, var(--st-white)); }
html[data-theme-mode="dark"] .theme-toggle-sun { display: none; }
html[data-theme-mode="dark"] .theme-toggle-moon { display: inline; }
.site-header.is-scrolled .theme-toggle { flex-basis: 38px; width: 38px; height: 38px; }
.nav-progress { height: 3px; width: 100%; transform: scaleX(.08); transform-origin: right center; background: linear-gradient(90deg, var(--st-accent), var(--st-primary)); opacity: 1; animation: st-progress 1.15s ease-in-out infinite alternate; transition: width .25s ease, opacity .4s ease; }
.nav-progress.is-complete { animation: none; transform: scaleX(1); opacity: 0; transition: opacity .4s ease .15s; }
@keyframes st-progress { from { transform: scaleX(.08); } to { transform: scaleX(.78); } }
.primary-nav ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.primary-nav li { list-style: none; }
.primary-nav a { color: var(--st-muted); font-size: .92rem; font-weight: 650; text-decoration: none; }
.primary-nav a:hover { color: var(--st-primary); }
.site-main { flex: 1; padding-block: 64px; }

/* Premium navigation refresh. */
.site-header { padding: 10px 0 0; border-bottom: 0; background: transparent; backdrop-filter: none; }
.header-accent-line { width: 100%; height: 3px; margin-bottom: 8px; background: linear-gradient(90deg, transparent, var(--st-primary) 30%, var(--st-accent) 70%, transparent); opacity: .9; }
.header-inner { position: relative; min-height: 70px; padding: 9px 18px; border: 1px solid color-mix(in srgb, var(--st-primary) 16%, var(--st-line)); border-radius: 24px; background: color-mix(in srgb, var(--st-white) 90%, transparent); box-shadow: 0 14px 38px color-mix(in srgb, var(--st-primary) 10%, transparent); }
.site-header.is-scrolled { padding-top: 8px; }
.site-header.is-scrolled .header-inner { width: min(calc(100% - 64px), 1040px); min-height: 60px; padding: 7px 14px; border-radius: 20px; background: color-mix(in srgb, var(--st-white) 95%, transparent); box-shadow: 0 18px 48px color-mix(in srgb, var(--st-primary) 16%, transparent); }
.header-brand-cluster { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.site-brand { min-width: 0; gap: 10px; }
.site-brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(145deg, var(--st-primary), color-mix(in srgb, var(--st-primary) 58%, var(--st-accent))); box-shadow: 0 8px 18px color-mix(in srgb, var(--st-primary) 25%, transparent); color: #fff; font-size: .78rem; font-weight: 900; letter-spacing: .04em; }
.site-brand-name { color: var(--st-ink); font-weight: 850; }
.site-brand-name::after { color: var(--st-primary); content: "."; }
.header-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); border-radius: 999px; color: var(--st-muted); font-size: .66rem; font-weight: 750; white-space: nowrap; }
.header-status i { width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.12); }
.primary-nav { display: flex; flex: 1; justify-content: center; min-width: 0; }
.primary-nav ul { gap: 5px; padding: 4px; border: 1px solid color-mix(in srgb, var(--st-primary) 9%, var(--st-line)); border-radius: 999px; background: color-mix(in srgb, var(--st-primary) 3%, transparent); }
.primary-nav a { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: 999px; color: var(--st-muted); font-size: .82rem; font-weight: 750; transition: color .2s ease, background .2s ease, transform .2s ease; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { background: color-mix(in srgb, var(--st-primary) 11%, transparent); color: var(--st-primary); transform: translateY(-1px); }
.header-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.header-home-link { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--st-line); border-radius: 50%; background: color-mix(in srgb, var(--st-white) 80%, transparent); color: var(--st-muted); transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.header-home-link svg { width: 18px; height: 18px; }
.header-home-link:hover { border-color: var(--st-primary); background: color-mix(in srgb, var(--st-primary) 9%, var(--st-white)); color: var(--st-primary); transform: translateY(-2px); }
.site-header.is-scrolled .header-status { display: none; }
.site-header.is-scrolled .header-home-link { width: 34px; height: 34px; }
.nav-progress { width: min(calc(100% - 80px), 1040px); margin: 7px auto 0; border-radius: 0 0 8px 8px; }
html[data-theme-mode="dark"] .header-inner { border-color: color-mix(in srgb, var(--st-primary) 28%, var(--st-line)); background: color-mix(in srgb, var(--st-white) 94%, transparent); }
html[data-theme-mode="dark"] .primary-nav ul { background: color-mix(in srgb, var(--st-primary) 9%, transparent); }
html[data-theme-mode="dark"] .header-home-link { background: color-mix(in srgb, var(--st-white) 80%, transparent); }

/* Premium footer refresh. */
.site-footer { position: relative; padding: 66px 0 22px; border-top: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 92%, #17143e), color-mix(in srgb, var(--st-primary) 70%, #17143e) 58%, color-mix(in srgb, var(--st-accent) 42%, #17143e)); }
.site-footer::before { position: absolute; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); content: ""; }
.footer-glow { position: absolute; border-radius: 50%; background: rgba(255,255,255,.13); filter: blur(1px); pointer-events: none; }
.footer-glow-one { top: -90px; right: 8%; width: 220px; height: 220px; }
.footer-glow-two { bottom: -130px; left: 10%; width: 260px; height: 260px; background: rgba(255,255,255,.08); }
.footer-inner { position: relative; z-index: 1; align-items: stretch; gap: 30px; text-align: right; }
.footer-topline { display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.62); font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.footer-topline i { width: 42px; height: 1px; background: rgba(255,255,255,.38); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(150px, .7fr) minmax(190px, .85fr); gap: 54px; padding: 12px 0 30px; }
.footer-brand-column { max-width: 400px; }
.footer-brand { justify-content: flex-start; }
.footer-brand-name { color: #fff; font-size: 1.35rem; font-weight: 900; }
.footer-brand-name span { color: rgba(255,255,255,.7); }
.footer-brand-mark { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 15px; background: rgba(255,255,255,.13); box-shadow: 0 12px 24px rgba(0,0,0,.12); }
.footer-description { max-width: 350px; margin: 15px 0 18px; color: rgba(255,255,255,.73); font-size: .87rem; line-height: 1.8; }
.footer-back-home { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: .78rem; font-weight: 800; text-decoration: none; }
.footer-back-home b { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; transition: transform .2s ease, background .2s ease; }
.footer-back-home:hover { color: #fff; }
.footer-back-home:hover b { background: rgba(255,255,255,.16); transform: translateX(-4px); }
.footer-column-title { margin-bottom: 14px; color: #fff; font-size: .84rem; font-weight: 850; }
.footer-nav { width: auto; }
.footer-menu { align-items: flex-start; flex-direction: column; gap: 8px; }
.footer-menu a { color: rgba(255,255,255,.7); font-size: .82rem; font-weight: 650; }
.footer-menu a:hover { color: #fff; text-decoration: none; transform: translateX(-3px); }
.footer-social-column { min-width: 0; }
.footer-socials { justify-content: flex-start; gap: 8px; }
.footer-social-link { width: 38px; height: 38px; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.1); }
.footer-social-link:hover { border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.22); }
.footer-muted { margin: 0; color: rgba(255,255,255,.58); font-size: .78rem; }
.footer-bottom { justify-content: space-between; align-items: center; padding-top: 18px; border-top-color: rgba(255,255,255,.2); color: rgba(255,255,255,.66); font-size: .76rem; }
.footer-domain { display: inline-flex; align-items: center; gap: 7px; direction: ltr; }
.footer-domain-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--st-accent); box-shadow: 0 0 0 4px rgba(255,255,255,.1); }
html[data-theme-mode="dark"] .site-footer { background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 68%, #05050a), color-mix(in srgb, var(--st-primary) 42%, #05050a) 58%, color-mix(in srgb, var(--st-accent) 24%, #05050a)); }
html[data-theme-mode="dark"] .post-card { background: color-mix(in srgb, var(--st-white) 92%, var(--st-primary) 8%); box-shadow: 0 16px 40px rgba(0, 0, 0, .16); }
html[data-theme-mode="dark"] .button.button-ghost { color: var(--st-primary); }
.hero { padding: 46px 0 72px; }
.home-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 590px; padding: 72px 0 82px; background: linear-gradient(180deg, color-mix(in srgb, var(--st-primary) 7%, var(--st-paper)), var(--st-paper)); }
.home-hero::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 50% 72%, color-mix(in srgb, var(--st-accent) 10%, transparent), transparent 34%), radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--st-primary) 13%, transparent), transparent 42%); content: ""; pointer-events: none; }
.home-hero::after { position: absolute; z-index: -1; top: 16%; right: 11%; width: 170px; height: 170px; border: 1px solid color-mix(in srgb, var(--st-primary) 22%, transparent); border-radius: 50%; box-shadow: 0 0 0 18px color-mix(in srgb, var(--st-primary) 3%, transparent), 0 0 0 38px color-mix(in srgb, var(--st-primary) 2%, transparent); content: ""; opacity: .8; pointer-events: none; animation: home-orbit-float 9s ease-in-out infinite alternate; }
@keyframes home-orbit-float { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-16px, 18px, 0) rotate(8deg); } }
.home-hero-inner::before { display: none; }
.home-hero-inner > * { position: relative; }
.hero-grid-layer { position: absolute; z-index: -1; inset: -12%; opacity: .58; background-image: linear-gradient(to right, color-mix(in srgb, var(--st-primary) 20%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--st-primary) 20%, transparent) 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0,0,0,.84) 43%, transparent 78%); transform: perspective(520px) rotateX(52deg) scale(1.18) translateY(13%); transform-origin: center bottom; animation: home-grid-drift 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes home-grid-drift { from { transform: perspective(520px) rotateX(52deg) scale(1.18) translate3d(-1%, 13%, 0); } to { transform: perspective(520px) rotateX(52deg) scale(1.18) translate3d(1%, 9%, 0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-grid-layer, .home-hero-word { animation: none; transition: none; }
  .app-carousel-track { animation-play-state: paused !important; }
}
.home-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; flex-direction: column; text-align: center; }
.home-hero-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 5px 14px; border: 1px solid color-mix(in srgb, var(--st-primary) 16%, var(--st-line)); border-radius: 999px; background: color-mix(in srgb, var(--st-white) 86%, transparent); box-shadow: 0 9px 28px color-mix(in srgb, var(--st-primary) 10%, transparent); color: var(--st-muted); font-size: .78rem; font-weight: 700; backdrop-filter: blur(10px); }
.home-hero-badge::after { width: 5px; height: 5px; border-radius: 50%; background: var(--st-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--st-accent) 10%, transparent); content: ""; }
.home-hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st-primary); box-shadow: 0 0 0 5px color-mix(in srgb, var(--st-primary) 13%, transparent); }
.home-hero h1 { max-width: 980px; margin: 22px auto 14px; color: var(--st-ink); font-size: clamp(2.65rem, 6.8vw, 5.8rem); line-height: 1.13; letter-spacing: -.065em; }
.home-hero h1 > span { display: inline; }
.home-hero-accent { position: relative; z-index: 0; display: inline-block; min-width: 3.7em; height: 1.28em; margin-inline: .14em; color: var(--st-primary); font-weight: 900; vertical-align: baseline; }
.home-hero-word { position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--word-color, var(--st-primary)); white-space: nowrap; opacity: 0; transform: translateY(54%); transition: opacity .55s ease, transform .55s cubic-bezier(.22,.8,.27,1); }
.home-hero-word.is-active { opacity: 1; transform: translateY(0); }
.home-hero-word.is-leaving { opacity: 0; transform: translateY(-54%); }
.home-hero-accent::after { position: absolute; z-index: -1; right: -3%; bottom: .02em; left: -3%; height: .22em; border-radius: 999px; background: color-mix(in srgb, var(--st-primary) 18%, transparent); content: ""; transform: skewX(-12deg); }
.home-hero-description { max-width: 720px; margin: 0 auto; color: var(--st-muted); font-size: 1.08rem; }
.home-search { position: relative; display: flex; align-items: center; width: min(100%, 680px); min-height: 62px; margin-top: 30px; padding: 7px; border: 1px solid color-mix(in srgb, var(--st-primary) 16%, var(--st-line)); border-radius: 999px; background: var(--st-white); box-shadow: 0 18px 50px color-mix(in srgb, var(--st-primary) 15%, transparent); }
.home-search:focus-within { border-color: var(--st-primary); box-shadow: 0 18px 54px color-mix(in srgb, var(--st-primary) 23%, transparent), 0 0 0 4px color-mix(in srgb, var(--st-primary) 10%, transparent); }
.home-search-icon { display: grid; place-items: center; flex: 0 0 40px; color: var(--st-muted); }
.home-search-icon svg { width: 22px; height: 22px; }
.home-search input { flex: 1; min-width: 0; height: 48px; padding: 8px 10px; border: 0; outline: 0; background: transparent; color: var(--st-ink); font: inherit; font-size: .94rem; }
.home-search input::placeholder { color: color-mix(in srgb, var(--st-muted) 78%, transparent); }
.home-search-button { min-width: 92px; height: 48px; padding: 8px 19px; border: 0; border-radius: 999px; background: var(--st-primary); color: #fff; font: inherit; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.home-search-button:hover { background: var(--st-accent); box-shadow: 0 8px 20px color-mix(in srgb, var(--st-accent) 28%, transparent); transform: translateY(-1px); }
.home-search-status { min-height: 1.5em; margin: 9px 0 0; color: var(--st-muted); font-size: .8rem; }
.home-hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.home-hero-stat { display: flex; align-items: center; flex-direction: column; min-width: 126px; padding: 4px 20px; border-inline-end: 1px solid color-mix(in srgb, var(--st-primary) 16%, transparent); }
.home-hero-stat:last-child { border-inline-end: 0; }
.home-hero-stat strong { color: var(--st-ink); font-size: 1.72rem; line-height: 1.15; }
.home-hero-stat span { color: var(--st-muted); font-size: .79rem; font-weight: 700; }
.home-hero-actions { margin-top: 26px; justify-content: center; }
.home-hero-actions .button { min-width: 154px; box-shadow: 0 11px 24px color-mix(in srgb, var(--st-primary) 18%, transparent); }
.home-hero-actions .button.button-ghost { box-shadow: none; }
.home-hero-actions .button:hover { box-shadow: 0 15px 28px color-mix(in srgb, var(--st-primary) 28%, transparent); transform: translateY(-2px); }
.home-hero-stats { position: relative; }
.home-hero-stats::before { position: absolute; right: 15%; bottom: -7px; left: 15%; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--st-primary) 18%, transparent), transparent); content: ""; }
.home-about { margin: 42px 0 12px; padding: 48px 28px; border: 1px solid var(--st-line); border-radius: 24px; background: color-mix(in srgb, var(--st-white) 76%, var(--st-primary) 24%); text-align: center; }
.home-about h2 { margin: 8px 0 10px; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.home-about p { max-width: 680px; margin: 0 auto; color: var(--st-muted); }
.home-no-results { margin-top: 18px; padding: 20px; border: 1px dashed var(--st-line); border-radius: 16px; color: var(--st-muted); text-align: center; }
.app-carousel-section { position: relative; overflow: hidden; margin-top: 28px; padding: 40px 0 24px; border: 1px solid color-mix(in srgb, var(--st-primary) 15%, var(--st-line)); border-radius: 28px; background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 4%, var(--st-paper)), color-mix(in srgb, var(--st-white) 84%, transparent)); box-shadow: 0 22px 55px color-mix(in srgb, var(--st-primary) 7%, transparent); }
.app-carousel-section::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--st-primary) 8%, transparent), transparent 54%); content: ""; pointer-events: none; }
.app-carousel-heading { width: min(100% - 40px, var(--st-max)); margin: 0 auto 18px; }
.app-carousel-heading h2 { margin-top: 4px; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.carousel-category-chip { display: inline-flex; align-items: center; min-height: 31px; padding: 5px 12px; border: 1px solid color-mix(in srgb, var(--st-primary) 15%, var(--st-line)); border-radius: 999px; background: color-mix(in srgb, var(--st-white) 80%, transparent); color: var(--st-primary); font-size: .76rem; font-weight: 750; }
.app-carousel-window { position: relative; overflow: hidden; width: 100%; padding: 4px 0 12px; mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%); }
.app-carousel-track { display: flex; width: max-content; gap: 16px; padding-inline: 10px; direction: ltr; animation: app-carousel-marquee var(--carousel-speed, 28s) linear infinite; will-change: transform; }
.app-carousel-section:not(.is-autoplay) .app-carousel-track { animation-play-state: paused; }
.app-carousel-section.pause-on-hover:hover .app-carousel-track { animation-play-state: paused; }
@keyframes app-carousel-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.app-carousel-card { flex: 0 0 192px; overflow: hidden; border: 1px solid var(--st-line); border-radius: 19px; background: color-mix(in srgb, var(--st-white) 94%, var(--st-primary) 6%); box-shadow: 0 12px 30px color-mix(in srgb, var(--st-primary) 11%, transparent); direction: rtl; transition: transform .22s ease, box-shadow .22s ease; }
.app-carousel-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px color-mix(in srgb, var(--st-primary) 20%, transparent); }
.app-carousel-cover { display: block; overflow: hidden; width: 100%; aspect-ratio: 1 / 1; background: var(--st-paper); }
.app-carousel-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.app-carousel-card:hover .app-carousel-cover img { transform: scale(1.06); }
.app-carousel-cover > span { display: grid; place-items: center; height: 100%; color: var(--st-primary); font-size: 2rem; font-weight: 900; }
.app-carousel-card-body { padding: 13px 14px 15px; }
.app-carousel-card-body h3 { overflow: hidden; margin: 0 0 3px; font-size: .93rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.app-carousel-card-body h3 a { color: var(--st-ink); text-decoration: none; }
.app-carousel-card-body h3 a:hover { color: var(--st-primary); }
.app-carousel-rating { color: var(--st-muted); font-size: .74rem; font-weight: 700; }
.app-carousel-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; color: var(--st-muted); font-size: .75rem; }
.app-carousel-hint span { color: var(--st-primary); font-size: 1.1rem; }
html[data-theme-mode="dark"] .app-carousel-card { background: color-mix(in srgb, var(--st-white) 92%, var(--st-primary) 8%); }
html[data-theme-mode="dark"] .carousel-category-chip { background: color-mix(in srgb, var(--st-white) 88%, transparent); }
.app-list-section { position: relative; overflow: hidden; margin-top: 40px; padding: 34px 24px 20px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); border-radius: 26px; background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 3%, var(--st-paper)), color-mix(in srgb, var(--st-white) 88%, transparent)); box-shadow: 0 18px 44px color-mix(in srgb, var(--st-primary) 6%, transparent); }
.app-list-section::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--st-primary), var(--st-accent), transparent); content: ""; opacity: .8; }
.app-list-section .app-list-heading { position: relative; z-index: 1; }
.app-list-section + .app-list-section { margin-top: 18px; padding-top: 34px; border-top: 1px solid var(--st-line); }
.app-list-heading { width: min(100%, 980px); margin: 0 auto 16px; }
.app-list-heading h2 { margin-top: 4px; font-size: clamp(1.55rem, 3vw, 2.35rem); }
.app-list-items { display: grid; gap: 12px; width: min(100%, 980px); margin-inline: auto; }
.app-list-card { position: relative; display: flex; align-items: center; gap: 17px; min-height: 112px; padding: 14px 16px; border: 1px solid var(--st-line); border-radius: 18px; background: color-mix(in srgb, var(--st-white) 95%, var(--st-primary) 5%); box-shadow: 0 10px 28px color-mix(in srgb, var(--st-primary) 7%, transparent); direction: rtl; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.app-list-card::after { position: absolute; right: 0; bottom: 0; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--st-primary) 8%, transparent), transparent 68%); content: ""; pointer-events: none; }
.app-list-card .app-list-actions, .app-list-card .app-list-content, .app-list-card .app-list-icon { position: relative; z-index: 1; }
.app-list-card:hover { border-color: color-mix(in srgb, var(--st-primary) 35%, var(--st-line)); box-shadow: 0 15px 34px color-mix(in srgb, var(--st-primary) 13%, transparent); transform: translateY(-2px); }
.app-list-icon { display: block; flex: 0 0 78px; width: 78px; height: 78px; overflow: hidden; border-radius: 18px; background: var(--st-paper); box-shadow: 0 8px 18px rgba(31,36,48,.12); }
.app-list-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.app-list-icon > span { display: grid; place-items: center; width: 100%; height: 100%; color: var(--st-primary); font-weight: 900; }
.app-list-content { flex: 1; min-width: 0; }
.app-list-content h3 { overflow: hidden; margin: 0 0 3px; font-size: 1.05rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.app-list-content h3 a { color: var(--st-ink); text-decoration: none; }
.app-list-content h3 a:hover { color: var(--st-primary); }
.app-list-developer { overflow: hidden; margin-bottom: 5px; color: var(--st-muted); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.app-list-meta { display: flex; flex-wrap: wrap; gap: 6px 13px; color: var(--st-muted); font-size: .75rem; }
.app-list-rating { color: #f59e0b; font-weight: 800; }
.app-list-content p { overflow: hidden; max-width: 660px; margin: 6px 0 0; color: var(--st-muted); font-size: .82rem; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; }
.app-list-actions { display: flex; align-items: center; flex: 0 0 auto; flex-direction: column; gap: 6px; }
.app-list-actions .button { min-width: 76px; }
.app-list-details { color: var(--st-primary); font-size: .74rem; font-weight: 750; text-decoration: none; }
.app-list-details:hover { color: var(--st-accent); }
html[data-theme-mode="dark"] .app-list-card { background: color-mix(in srgb, var(--st-white) 91%, var(--st-primary) 9%); }
html[data-theme-mode="dark"] .app-carousel-section, html[data-theme-mode="dark"] .app-list-section { background: color-mix(in srgb, var(--st-white) 91%, var(--st-primary) 9%); }
html[data-theme-mode="dark"] .home-hero { background: linear-gradient(180deg, color-mix(in srgb, var(--st-primary) 11%, var(--st-paper)), var(--st-paper)); }
html[data-theme-mode="dark"] .home-hero-badge { background: color-mix(in srgb, var(--st-white) 88%, transparent); }
.eyebrow { color: var(--st-primary); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { max-width: 820px; margin: 10px 0 18px; font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: 1.12; letter-spacing: -.055em; }
.hero p { max-width: 670px; margin: 0; color: var(--st-muted); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 17px; border: 1px solid var(--st-primary); border-radius: 999px; background: var(--st-primary); color: #fff; font-weight: 750; text-decoration: none; }
.button:hover { background: var(--st-ink); border-color: var(--st-ink); color: #fff; }
.button.button-ghost { background: transparent; color: var(--st-primary); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: 1.4rem; letter-spacing: -.03em; }
.section-heading a { font-size: .9rem; font-weight: 700; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-showcase, .app-library { margin-top: 18px; padding: 34px; border: 1px solid var(--st-line); border-radius: 24px; background: color-mix(in srgb, var(--st-white) 88%, var(--st-primary) 12%); box-shadow: 0 18px 55px rgba(55, 47, 120, .08); }
.app-library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.saved-app-card { overflow: hidden; border: 1px solid var(--st-line); border-radius: 18px; background: var(--st-white); transition: transform .22s ease, box-shadow .22s ease; }
.saved-app-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(55, 47, 120, .13); }
.saved-app-cover, .post-card-cover { position: relative; display: block; overflow: hidden; height: 210px; background: var(--st-paper); }
.saved-app-cover img, .post-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.saved-app-card:hover .saved-app-cover img, .post-card:hover .post-card-cover img { transform: scale(1.04); }
.saved-app-cover > span, .post-card-cover > span { display: grid; place-items: center; height: 100%; color: var(--st-primary); font-size: 2rem; font-weight: 850; }
.saved-app-cover b, .post-card-cover b { position: absolute; right: 12px; bottom: 12px; padding: 5px 9px; border-radius: 999px; background: rgba(16,17,27,.75); color: #fff; font-size: .73rem; }
.saved-app-body { padding: 20px; }
.saved-app-body h3 { margin: 5px 0 8px; font-size: 1.25rem; }
.saved-app-body h3 a { color: var(--st-ink); text-decoration: none; }
.saved-app-body p { display: -webkit-box; overflow: hidden; margin: 0 0 14px; color: var(--st-muted); -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.saved-app-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--st-primary); font-size: .82rem; font-weight: 750; }
.saved-app-meta span { color: var(--st-muted); font-weight: 600; }
.empty-app-library { padding: 26px; border: 1px dashed var(--st-line); border-radius: 16px; background: color-mix(in srgb, var(--st-white) 88%, transparent); }
.empty-app-library p { max-width: 620px; color: var(--st-muted); }
.single-app-hero { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 34px; border: 1px solid var(--st-line); border-radius: 24px; background: color-mix(in srgb, var(--st-white) 88%, var(--st-primary) 12%); }
.single-app-copy { flex: 1; }
.single-app-icon { width: 150px; height: 150px; border-radius: 32px; object-fit: cover; box-shadow: 0 20px 40px rgba(55, 47, 120, .16); }
.single-app-description { max-width: 780px; margin: 28px auto; color: var(--st-muted); font-size: 1.08rem; line-height: 1.9; text-align: center; }
.single-app-gallery { display: flex; gap: 14px; overflow-x: auto; padding: 4px 0 20px; scrollbar-color: var(--st-primary) transparent; }
.single-app-gallery img { flex: 0 0 210px; width: 210px; height: 360px; object-fit: cover; border-radius: 16px; background: var(--st-paper); }
.store-app-page { max-width: 980px; margin-inline: auto; }
.store-app-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.store-back { color: var(--st-muted); font-size: .88rem; font-weight: 750; text-decoration: none; }
.store-back:hover { color: var(--st-primary); }
.store-app-label { color: var(--st-primary); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.store-app-hero { display: flex; align-items: center; gap: 30px; padding: 32px; border: 1px solid var(--st-line); border-radius: 26px; background: linear-gradient(135deg, color-mix(in srgb, var(--st-white) 92%, var(--st-primary) 8%), var(--st-white)); box-shadow: 0 18px 54px rgba(55,47,120,.08); }
.store-app-icon { flex: 0 0 160px; width: 160px; height: 160px; border-radius: 36px; object-fit: cover; box-shadow: 0 18px 38px rgba(55,47,120,.17); }
.store-app-summary { flex: 1; min-width: 0; }
.store-app-summary .entry-title { margin-top: 6px; margin-bottom: 12px; font-size: clamp(2.1rem, 5vw, 4.4rem); }
.single-app-stats { gap: 22px; margin: 20px 0 24px; }
.single-app-stats .app-stat { display: inline-flex; flex-direction: column; gap: 2px; min-width: 74px; }
.single-app-stats .app-stat strong { font-size: 1.16rem; }
.single-app-stats .app-stat small { color: var(--st-muted); font-size: .76rem; }
.store-download-button { min-width: 170px; text-align: center; }
.store-description, .store-screenshots, .store-post-content { margin-top: 30px; padding: 26px 0; border-top: 1px solid var(--st-line); }
.store-description h2, .store-screenshots h2, .store-post-content h2 { margin: 0 0 12px; font-size: 1.45rem; }
.store-description p { max-width: 780px; margin: 0; color: var(--st-muted); font-size: 1.05rem; line-height: 1.9; }
.saved-app-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.button-small { padding: 9px 13px; font-size: .8rem; }
.download-gate { max-width: 620px; margin: 50px auto; padding: 42px 30px; border: 1px solid var(--st-line); border-radius: 28px; background: linear-gradient(145deg, color-mix(in srgb, var(--st-white) 93%, var(--st-primary) 7%), var(--st-white)); box-shadow: 0 24px 70px rgba(55,47,120,.12); text-align: center; }
.download-gate-icon { width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 23px; object-fit: cover; box-shadow: 0 12px 28px rgba(55,47,120,.18); }
.download-gate h1 { margin: 8px 0 12px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.download-gate > p { color: var(--st-muted); line-height: 1.8; }
.download-countdown { display: inline-flex; align-items: baseline; justify-content: center; gap: 8px; min-width: 130px; margin: 20px auto 12px; color: var(--st-primary); }
.download-countdown span { font-size: 3.8rem; font-weight: 900; line-height: 1; }
.download-countdown small { color: var(--st-muted); font-size: 1rem; font-weight: 700; }
.download-progress { overflow: hidden; height: 8px; margin: 0 auto; border-radius: 999px; background: var(--st-line); }
.download-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--st-primary), var(--st-accent)); transition: width .2s linear; }
.download-status { min-height: 1.5em; margin: 12px 0 20px; color: var(--st-muted); font-size: .9rem; }
.download-cancel { display: inline-flex; }
html[data-theme-mode="dark"] .store-app-hero, html[data-theme-mode="dark"] .download-gate { background: linear-gradient(145deg, color-mix(in srgb, var(--st-white) 93%, var(--st-primary) 7%), var(--st-white)); }
.post-card-cover { height: 190px; margin: -22px -22px 18px; }
.play-store-form { display: flex; gap: 12px; align-items: stretch; }
.play-store-form input { flex: 1; min-width: 0; border: 1px solid var(--st-line); border-radius: 12px; padding: 12px 16px; background: var(--st-white); color: var(--st-ink); font: inherit; }
.play-store-form input:focus { outline: 3px solid color-mix(in srgb, var(--st-primary) 24%, transparent); border-color: var(--st-primary); }
.app-form-note, .app-status { color: var(--st-muted); font-size: .9rem; }
.app-status { min-height: 1.6em; margin-top: 14px; }
.app-result[hidden] { display: none; }
.app-card { margin-top: 18px; padding: 24px; border: 1px solid var(--st-line); border-radius: 18px; background: var(--st-white); }
.app-card-main { display: flex; gap: 20px; align-items: flex-start; }
.app-icon { flex: 0 0 104px; width: 104px; height: 104px; border-radius: 24px; object-fit: cover; box-shadow: 0 12px 24px rgba(37, 31, 93, .15); }
.app-copy { flex: 1; min-width: 0; }
.app-copy h3 { margin: 4px 0 8px; font-size: 1.8rem; line-height: 1.2; }
.app-copy p { margin: 0 0 14px; color: var(--st-muted); }
.app-stats { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 18px; color: var(--st-muted); font-size: .86rem; }
.app-stat strong { color: var(--st-ink); }
.app-screenshots { display: flex; gap: 12px; overflow-x: auto; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--st-line); scrollbar-color: var(--st-primary) transparent; }
.app-screenshots img { flex: 0 0 170px; width: 170px; height: 300px; object-fit: cover; border-radius: 12px; background: var(--st-paper); }
.app-developer { margin-top: 18px; color: var(--st-muted); font-size: .86rem; }
html[data-theme-mode="dark"] .app-showcase, html[data-theme-mode="dark"] .app-library, html[data-theme-mode="dark"] .single-app-hero { background: color-mix(in srgb, var(--st-white) 88%, var(--st-primary) 12%); box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.post-card { padding: 22px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: color-mix(in srgb, var(--st-white) 92%, var(--st-primary) 8%); box-shadow: 0 16px 40px rgba(55, 47, 120, .06); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(55, 47, 120, .12); }
.post-card h3 { margin: 7px 0 8px; font-size: 1.18rem; line-height: 1.25; }
.post-card h3 a { color: var(--st-ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--st-primary); }
.post-meta { color: var(--st-muted); font-size: .82rem; }
.post-excerpt { color: var(--st-muted); font-size: .94rem; }
.content-wrap { width: min(100%, 780px); margin-inline: auto; }
.entry-header { margin-bottom: 28px; }
.entry-title { margin: 8px 0 10px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.15; letter-spacing: -.045em; }
.entry-content { font-size: 1.08rem; }
.entry-content > * { margin-block: 1.2em; }
.entry-content h2, .entry-content h3 { line-height: 1.2; letter-spacing: -.035em; }
.entry-content blockquote { margin-inline: 0; padding: 8px 22px; border-left: 4px solid var(--st-accent); color: var(--st-muted); }
.entry-content pre { overflow: auto; padding: 18px; border-radius: 10px; background: #101820; color: #e6edf3; }
.pagination { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; }
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding: 74px 0 24px; border-top: 0; background: var(--st-primary); color: rgba(255,255,255,.88); font-size: .9rem; }
.footer-grid { position: absolute; z-index: -1; inset: -22%; pointer-events: none; opacity: .27; background-image: linear-gradient(rgba(255,255,255,.32) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.32) 1px, transparent 1px); background-size: 34px 34px; transform: translate3d(var(--footer-grid-shift-x, 0px), var(--footer-grid-shift-y, 0px), 0); mask-image: radial-gradient(circle at var(--footer-grid-x, 50%) var(--footer-grid-y, 50%), #000 0%, rgba(0,0,0,.85) 24%, transparent 70%); transition: transform .18s ease-out; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 25px; text-align: center; }
.footer-brand-row { display: flex; justify-content: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.25rem; font-weight: 850; text-decoration: none; }
.footer-brand:hover { color: #fff; opacity: .86; }
.footer-logo { display: block; width: 170px; max-height: 58px; object-fit: contain; }
.footer-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.36); border-radius: 13px; background: rgba(255,255,255,.12); color: #fff; font-size: .88rem; font-weight: 850; letter-spacing: .03em; }
.footer-nav { width: 100%; }
.footer-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.footer-menu li { list-style: none; }
.footer-menu a { color: rgba(255,255,255,.9); text-decoration: none; font-weight: 650; }
.footer-menu a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.footer-socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.footer-social-link { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.footer-social-link:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.2); color: #fff; }
.social-icon { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; width: 100%; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.76); font-size: .82rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 5px; left: 5px; width: auto; height: auto; padding: 12px 18px; margin: 0; clip: auto; background: #fff; color: #000; }
@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--st-max)); }
  .header-inner { align-items: stretch; flex-direction: column; padding-block: 14px; }
  .footer-inner { align-items: stretch; flex-direction: column; padding-block: 18px; }
  .header-brand-cluster { justify-content: space-between; }
  .primary-nav { width: 100%; justify-content: flex-start; overflow-x: auto; }
  .primary-nav ul { width: max-content; flex-wrap: nowrap; }
  .header-tools { position: absolute; top: 14px; left: 14px; }
  .site-header.is-scrolled .header-tools { top: 10px; }
  .header-status { margin-inline-start: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; padding-bottom: 22px; }
  .footer-brand-column { max-width: none; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .footer-topline { font-size: .6rem; }
  .site-brand { min-width: 0; }
  .theme-toggle { align-self: flex-start; }
  .site-header.is-scrolled .header-inner { width: calc(100% - 24px); padding-inline: 12px; border-radius: 16px; }
  .site-header.is-scrolled .nav-progress { width: calc(100% - 24px); }
  .site-header.is-scrolled .site-brand { min-width: 0; }
  .primary-nav ul { flex-wrap: wrap; gap: 12px 18px; }
  .site-main { padding-block: 36px; }
  .hero { padding-block: 28px 52px; }
  .home-hero { min-height: auto; padding: 52px 0 64px; }
  .home-hero h1 { max-width: 100%; margin-top: 18px; font-size: clamp(2.45rem, 13vw, 4.1rem); }
  .home-hero-accent { min-width: 3.5em; }
  .home-hero-description { font-size: .98rem; }
  .home-search { min-height: 58px; margin-top: 24px; }
  .home-search-button { min-width: 78px; padding-inline: 13px; }
  .home-hero-stats { gap: 0; width: 100%; }
  .home-hero-stat { min-width: 33.333%; padding-inline: 8px; }
  .home-hero-stat strong { font-size: 1.42rem; }
  .home-hero-stat span { font-size: .72rem; }
  .home-hero-actions { width: 100%; }
  .home-hero-actions .button { flex: 1; }
  .app-carousel-heading { width: min(100% - 28px, var(--st-max)); }
  .app-list-section { margin-top: 28px; padding: 28px 12px 15px; border-radius: 21px; }
  .home-hero::after { top: 7%; right: -58px; width: 130px; height: 130px; }

  .home-hero-actions .button { min-width: 0; }
  .app-list-heading { width: 100%; }
  .app-list-card { align-items: flex-start; gap: 11px; min-height: 96px; padding: 11px; }
  .app-list-icon { flex-basis: 62px; width: 62px; height: 62px; border-radius: 15px; }
  .app-list-content h3 { font-size: .9rem; }
  .app-list-content p { display: none; }
  .app-list-meta { gap: 4px 8px; font-size: .68rem; }
  .app-list-actions .button { min-width: 64px; padding-inline: 10px; font-size: .74rem; }
  .app-list-details { font-size: .68rem; }
  .app-carousel-heading .carousel-category-chip { display: none; }
  .app-carousel-card { flex-basis: 158px; }
  .app-carousel-card-body { padding: 11px 12px 13px; }
  .app-carousel-window { mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%); }
  .site-footer { padding-top: 54px; }
  .post-grid { grid-template-columns: 1fr; }
  .app-showcase, .app-library { padding: 22px; }
  .app-library-grid { grid-template-columns: 1fr; }
  .play-store-form, .app-card-main, .single-app-hero { align-items: stretch; flex-direction: column; }
  .single-app-icon { width: 104px; height: 104px; border-radius: 24px; }
  .store-app-topbar { align-items: flex-start; flex-direction: column; }
  .store-app-hero { align-items: flex-start; padding: 24px; }
  .store-app-icon { flex-basis: 104px; width: 104px; height: 104px; border-radius: 24px; }
  .single-app-gallery img { flex-basis: 160px; width: 160px; height: 280px; }
  .download-gate { margin-block: 26px; padding: 32px 20px; }
  .play-store-form .button { width: 100%; }
  .app-icon { flex-basis: auto; width: 88px; height: 88px; }
  .app-copy h3 { font-size: 1.45rem; }
  .app-screenshots img { flex-basis: 145px; width: 145px; height: 250px; }
}


/* Final visual overrides: keep the Premium direction above legacy theme rules. */
.home-hero h1 { max-width: 980px; margin: 22px auto 14px; font-size: clamp(2.65rem, 6.8vw, 5.8rem); line-height: 1.13; letter-spacing: -.065em; }
.home-hero-description { max-width: 720px; margin: 0 auto; font-size: 1.08rem; }
.home-hero-actions { margin-top: 26px; justify-content: center; }
.home-hero-actions .button { min-width: 154px; box-shadow: 0 11px 24px color-mix(in srgb, var(--st-primary) 18%, transparent); }
.home-hero-actions .button.button-ghost { box-shadow: none; }
.app-carousel-section { border: 1px solid color-mix(in srgb, var(--st-primary) 15%, var(--st-line)); border-radius: 28px; background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 4%, var(--st-paper)), color-mix(in srgb, var(--st-white) 84%, transparent)); box-shadow: 0 22px 55px color-mix(in srgb, var(--st-primary) 7%, transparent); }
.app-list-section { border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); border-radius: 26px; background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 3%, var(--st-paper)), color-mix(in srgb, var(--st-white) 88%, transparent)); box-shadow: 0 18px 44px color-mix(in srgb, var(--st-primary) 6%, transparent); }
.site-footer { position: relative; padding: 66px 0 22px; border-top: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 92%, #17143e), color-mix(in srgb, var(--st-primary) 70%, #17143e) 58%, color-mix(in srgb, var(--st-accent) 42%, #17143e)); }
.footer-inner { position: relative; z-index: 1; display: block; align-items: stretch; gap: 30px; text-align: right; }
.footer-topline { display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.62); font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(150px, .7fr) minmax(190px, .85fr); gap: 54px; padding: 12px 0 30px; }
.footer-brand-column { max-width: 400px; }
.footer-brand { justify-content: flex-start; color: #fff; }
.footer-brand-name { color: #fff; font-size: 1.35rem; font-weight: 900; }
.footer-brand-name span { color: rgba(255,255,255,.7); }
.footer-description { max-width: 350px; margin: 15px 0 18px; color: rgba(255,255,255,.73); font-size: .87rem; line-height: 1.8; }
.footer-back-home { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: .78rem; font-weight: 800; text-decoration: none; }
.footer-back-home b { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; transition: transform .2s ease, background .2s ease; }
.footer-back-home:hover { color: #fff; }
.footer-back-home:hover b { background: rgba(255,255,255,.16); transform: translateX(-4px); }
.footer-column-title { margin-bottom: 14px; color: #fff; font-size: .84rem; font-weight: 850; }
.footer-nav { width: auto; }
.footer-menu { display: flex; align-items: flex-start; justify-content: flex-start; flex-direction: column; flex-wrap: nowrap; gap: 8px; margin: 0; padding: 0; }
.footer-menu a { color: rgba(255,255,255,.7); font-size: .82rem; font-weight: 650; transition: color .2s ease, transform .2s ease; }
.footer-menu a:hover { color: #fff; text-decoration: none; transform: translateX(-3px); }
.footer-social-column { min-width: 0; }
.footer-socials { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
.footer-social-link { width: 38px; height: 38px; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.1); }
.footer-social-link:hover { border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.22); }
.footer-muted { margin: 0; color: rgba(255,255,255,.58); font-size: .78rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; width: 100%; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.66); font-size: .76rem; }
html[data-theme-mode="dark"] .site-footer { background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 68%, #05050a), color-mix(in srgb, var(--st-primary) 42%, #05050a) 58%, color-mix(in srgb, var(--st-accent) 24%, #05050a)); }
@media (max-width: 760px) {
  .home-hero h1 { max-width: 100%; margin-top: 18px; font-size: clamp(2.45rem, 13vw, 4.1rem); }
  .home-hero-description { font-size: .98rem; }
  .home-hero-actions .button { min-width: 0; }
  .footer-inner { display: block; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; padding-bottom: 22px; }
  .footer-brand-column { max-width: none; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .footer-topline { font-size: .6rem; }
}


/* Settings-driven navigation controls. */
.header-inner { width: min(calc(100% - 40px), var(--st-header-max, 1120px)); min-height: var(--st-header-height, 70px); padding-inline: var(--st-header-pad, 18px); border-radius: var(--st-header-radius, 24px); background: color-mix(in srgb, var(--st-white) var(--st-header-opacity, 90%), transparent); box-shadow: 0 14px 38px color-mix(in srgb, var(--st-primary) var(--st-header-shadow, 10%), transparent); }
.header-accent-line { height: var(--st-accent-line-height, 3px); }
.primary-nav ul { gap: var(--st-nav-gap, 5px); }
.primary-nav a { padding-inline: var(--st-nav-item-pad, 12px); font-size: var(--st-nav-font-size, 13px); }
.nav-progress { height: var(--st-progress-height, 3px); width: min(calc(100% - 80px), var(--st-header-max, 1120px)); }
@media (max-width: 760px) {
  .header-inner { width: min(calc(100% - 28px), var(--st-header-max, 1120px)); min-height: var(--st-header-height, 70px); padding-inline: var(--st-header-pad, 18px); border-radius: min(var(--st-header-radius, 24px), 20px); }
  .site-header.is-scrolled .header-inner { width: calc(100% - 24px); }
  .nav-progress { width: calc(100% - 28px); }
}


/* Settings-driven footer controls. */
.site-footer { padding-top: var(--st-footer-padding, 66px); border-radius: var(--st-footer-radius, 0) var(--st-footer-radius, 0) 0 0; background-color: color-mix(in srgb, var(--st-primary) var(--st-footer-opacity, 100%), #17143e); }
.footer-main { column-gap: var(--st-footer-gap, 54px); }
.footer-socials { gap: var(--st-social-gap, 8px); }
.footer-socials-column { flex-direction: column; }
.footer-socials-row { flex-direction: row; }
.footer-socials-column { display: flex; align-items: flex-start; }
.footer-socials-align-start { justify-content: flex-start; }
.footer-socials-align-center { justify-content: center; }
.footer-socials-align-end { justify-content: flex-end; }
.footer-social-link { width: var(--st-social-size, 38px); height: var(--st-social-size, 38px); }
.footer-social-link .social-icon { width: var(--st-social-icon, 19px); height: var(--st-social-icon, 19px); }
@media (max-width: 760px) {
  .site-footer { border-radius: min(var(--st-footer-radius, 0), 24px) min(var(--st-footer-radius, 0), 24px) 0 0; }
  .footer-main { row-gap: 26px; }
  .footer-socials-align-center, .footer-socials-align-end { justify-content: flex-start; }
}


/* Final footer palette controls. */
.site-footer { background: linear-gradient(135deg, color-mix(in srgb, var(--st-footer-bg, var(--st-primary)) 92%, var(--st-footer-bg-alt, #17143e)), color-mix(in srgb, var(--st-footer-bg, var(--st-primary)) 70%, var(--st-footer-bg-alt, #17143e)) 58%, color-mix(in srgb, var(--st-footer-bg-alt, #17143e) 58%, var(--st-footer-bg, var(--st-primary)))); color: var(--st-footer-text, #fff); box-shadow: 0 -16px 44px color-mix(in srgb, var(--st-footer-shadow-color, var(--st-primary)) var(--st-footer-shadow, 14%), transparent); }
.footer-grid { background-image: linear-gradient(color-mix(in srgb, var(--st-footer-grid, #fff) 32%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--st-footer-grid, #fff) 32%, transparent) 1px, transparent 1px); }
.footer-topline, .footer-bottom { color: color-mix(in srgb, var(--st-footer-muted, #e8e7f2) 76%, transparent); }
.footer-description, .footer-menu a, .footer-muted { color: color-mix(in srgb, var(--st-footer-muted, #e8e7f2) 78%, transparent); }
.footer-brand, .footer-brand:hover, .footer-back-home, .footer-back-home:hover, .footer-column-title { color: var(--st-footer-text, #fff); }
.footer-topline i, .footer-bottom { border-color: color-mix(in srgb, var(--st-footer-text, #fff) 24%, transparent); }
.footer-social-link { border-color: color-mix(in srgb, var(--st-footer-text, #fff) 28%, transparent); background: color-mix(in srgb, var(--st-footer-text, #fff) 10%, transparent); color: var(--st-footer-text, #fff); }
.footer-social-link:hover { border-color: color-mix(in srgb, var(--st-footer-text, #fff) 74%, transparent); background: color-mix(in srgb, var(--st-footer-text, #fff) 22%, transparent); color: var(--st-footer-text, #fff); }
.footer-brand-mark { border-color: color-mix(in srgb, var(--st-footer-text, #fff) 35%, transparent); background: color-mix(in srgb, var(--st-footer-text, #fff) 13%, transparent); }
@media (max-width: 760px) {
  .site-footer { box-shadow: 0 -10px 30px color-mix(in srgb, var(--st-footer-shadow-color, var(--st-primary)) var(--st-footer-shadow, 14%), transparent); }
}


/* Full-width application sections: no outer card shell. */
.app-list-section { width: 100vw; margin-inline: calc(50% - 50vw); margin-top: 40px; padding: 48px max(20px, calc((100vw - var(--st-max)) / 2)) 26px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.app-list-section::before { right: 0; left: 0; height: 2px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--st-primary) 72%, transparent) 28%, color-mix(in srgb, var(--st-accent) 64%, transparent) 72%, transparent); }
.app-list-section::after { position: absolute; top: 0; right: 12%; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--st-primary) 7%, transparent), transparent 70%); content: ""; pointer-events: none; }
.app-list-section + .app-list-section { margin-top: 0; padding-top: 42px; border-top: 1px solid color-mix(in srgb, var(--st-primary) 13%, var(--st-line)); }
.app-list-section .app-list-heading, .app-list-section .app-list-items { position: relative; z-index: 1; width: min(100%, var(--st-max)); }
.app-list-card { min-height: 118px; border-radius: 16px; background: color-mix(in srgb, var(--st-white) 96%, var(--st-primary) 4%); box-shadow: 0 8px 24px color-mix(in srgb, var(--st-primary) 6%, transparent); }
.app-list-card:hover { box-shadow: 0 14px 30px color-mix(in srgb, var(--st-primary) 14%, transparent); }
html[data-theme-mode="dark"] .app-list-section { background: transparent; }
html[data-theme-mode="dark"] .app-list-card { background: color-mix(in srgb, var(--st-white) 91%, var(--st-primary) 9%); }
@media (max-width: 760px) {
  .app-list-section { width: 100vw; margin-inline: calc(50% - 50vw); padding: 34px 14px 18px; border-radius: 0; }
  .app-list-section + .app-list-section { padding-top: 34px; }
  .app-list-section .app-list-heading, .app-list-section .app-list-items { width: 100%; }
  .app-list-card { min-height: 98px; border-radius: 14px; }
}


/* Dynamic Google Play-inspired single app page. */
.single-app-shell { width: min(calc(100% - 40px), 980px); }
.single-app-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--st-primary) 11%, var(--st-line)); border-radius: 14px; background: color-mix(in srgb, var(--st-white) 86%, transparent); color: var(--st-muted); font-size: .74rem; }
.single-app-breadcrumbs a { color: var(--st-muted); text-decoration: none; }
.single-app-breadcrumbs a:hover { color: var(--st-primary); }
.single-app-breadcrumbs span { color: var(--st-primary); font-size: 1.1rem; line-height: 1; }
.single-app-breadcrumbs strong { overflow: hidden; color: var(--st-ink); text-overflow: ellipsis; white-space: nowrap; }
.store-app-hero { display: grid; grid-template-columns: 142px minmax(0, 1fr); gap: 30px; align-items: center; margin-bottom: 20px; padding: 28px 32px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); border-radius: 24px; background: linear-gradient(135deg, color-mix(in srgb, var(--st-white) 95%, var(--st-primary) 5%), color-mix(in srgb, var(--st-accent) 5%, var(--st-white))); box-shadow: 0 18px 50px color-mix(in srgb, var(--st-primary) 9%, transparent); direction: rtl; }
.store-app-identity { display: flex; align-items: center; flex-direction: column; gap: 13px; }
.store-app-icon-frame { width: 126px; height: 126px; padding: 5px; border: 1px solid color-mix(in srgb, var(--st-primary) 20%, var(--st-line)); border-radius: 31px; background: linear-gradient(145deg, color-mix(in srgb, var(--st-primary) 12%, var(--st-white)), var(--st-white)); box-shadow: 0 15px 30px color-mix(in srgb, var(--st-primary) 18%, transparent); }
.store-app-icon { display: block; width: 100%; height: 100%; border-radius: 25px; object-fit: cover; }
.store-app-category { padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--st-primary) 11%, transparent); color: var(--st-primary); font-size: .72rem; font-weight: 800; }
.store-app-summary { min-width: 0; }
.store-app-summary .entry-title { margin: 8px 0 4px; font-size: clamp(2rem, 4.2vw, 3.55rem); }
.store-app-summary .app-developer { margin: 0 0 15px; }
.store-app-summary .app-developer strong { color: var(--st-ink); }
.single-app-stats { justify-content: flex-start; margin-top: 8px; }
.single-app-stats .app-stat { min-width: 86px; padding: 4px 15px; border-inline-end: 1px solid color-mix(in srgb, var(--st-primary) 15%, var(--st-line)); }
.single-app-stats .app-stat:first-child { padding-inline-start: 0; }
.single-app-stats .app-stat:last-child { border-inline-end: 0; }
.single-app-stats .app-stat strong { display: block; color: var(--st-ink); font-size: 1.12rem; }
.single-app-stats .app-stat small { color: var(--st-muted); font-size: .7rem; }
.store-app-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.store-app-actions .button { min-width: 142px; }
.store-content-link { font-size: .8rem; }
.app-detail-panel { margin-top: 20px; padding: 26px 30px; border: 1px solid color-mix(in srgb, var(--st-primary) 11%, var(--st-line)); border-radius: 22px; background: color-mix(in srgb, var(--st-white) 92%, var(--st-primary) 8%); box-shadow: 0 12px 34px color-mix(in srgb, var(--st-primary) 5%, transparent); }
.app-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.app-panel-heading h2 { margin: 3px 0 0; font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.2; }
.app-panel-mark { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--st-primary) 11%, transparent); color: var(--st-primary); font-size: .72rem; font-weight: 900; }
.store-description p { margin: 0; color: var(--st-muted); font-size: 1rem; line-height: 1.95; }
.single-app-gallery { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-color: var(--st-primary) transparent; }
.single-app-gallery figure { flex: 0 0 164px; width: 164px; margin: 0; }
.single-app-gallery img { display: block; width: 164px; height: 292px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); border-radius: 17px; background: var(--st-paper); box-shadow: 0 10px 24px color-mix(in srgb, var(--st-primary) 10%, transparent); object-fit: cover; }
.store-details-list { overflow: hidden; border: 1px solid var(--st-line); border-radius: 16px; }
.store-detail-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 54px; padding: 10px 16px; border-bottom: 1px solid var(--st-line); color: var(--st-muted); font-size: .82rem; }
.store-detail-row:last-child { border-bottom: 0; }
.store-detail-row strong, .store-detail-row a { color: var(--st-ink); font-weight: 800; text-decoration: none; }
.store-detail-row a { color: var(--st-primary); }
.store-detail-row a:hover { color: var(--st-accent); }
.store-post-content .entry-content { color: var(--st-ink); font-size: 1.02rem; line-height: 2; }
.store-post-content .entry-content > :first-child { margin-top: 0; }
.store-post-content .entry-content > :last-child { margin-bottom: 0; }
.store-post-content .entry-content img { display: block; max-width: 100%; margin-inline: auto; border-radius: 18px; box-shadow: 0 14px 32px color-mix(in srgb, var(--st-primary) 11%, transparent); }
.store-post-content .entry-content .wp-block-image { margin-inline: 0; }
html[data-theme-mode="dark"] .single-app-breadcrumbs, html[data-theme-mode="dark"] .app-detail-panel { background: color-mix(in srgb, var(--st-white) 91%, var(--st-primary) 9%); }
html[data-theme-mode="dark"] .store-app-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--st-white) 91%, var(--st-primary) 9%), color-mix(in srgb, var(--st-accent) 9%, var(--st-white))); }
@media (max-width: 760px) {
  .single-app-shell { width: min(calc(100% - 28px), 980px); }
  .store-app-hero { grid-template-columns: 1fr; gap: 20px; padding: 22px 18px; text-align: center; }
  .store-app-summary .entry-title { font-size: clamp(1.85rem, 10vw, 3rem); }
  .single-app-stats { justify-content: center; }
  .single-app-stats .app-stat:first-child { padding-inline-start: 15px; }
  .store-app-actions { justify-content: center; }
  .store-app-actions .button { flex: 1; min-width: 0; }
  .app-detail-panel { padding: 22px 17px; border-radius: 18px; }
  .single-app-gallery figure, .single-app-gallery img { flex-basis: 148px; width: 148px; }
  .single-app-gallery img { height: 264px; }
  .store-detail-row { align-items: flex-start; flex-direction: column; gap: 3px; }
}


/* Similar apps, social sharing, and WordPress ratings. */
.similar-app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.similar-app-card { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px; border: 1px solid var(--st-line); border-radius: 16px; background: color-mix(in srgb, var(--st-white) 96%, var(--st-primary) 4%); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.similar-app-card:hover { border-color: color-mix(in srgb, var(--st-primary) 35%, var(--st-line)); box-shadow: 0 12px 24px color-mix(in srgb, var(--st-primary) 10%, transparent); transform: translateY(-2px); }
.similar-app-cover { display: block; flex: 0 0 62px; width: 62px; height: 62px; overflow: hidden; border-radius: 16px; background: var(--st-paper); }
.similar-app-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.similar-app-cover span { display: grid; place-items: center; width: 100%; height: 100%; color: var(--st-primary); font-weight: 900; }
.similar-app-copy { min-width: 0; flex: 1; }
.similar-app-copy h3 { overflow: hidden; margin: 0 0 2px; font-size: .92rem; text-overflow: ellipsis; white-space: nowrap; }
.similar-app-copy h3 a { color: var(--st-ink); text-decoration: none; }
.similar-app-copy h3 a:hover { color: var(--st-primary); }
.similar-app-copy p { overflow: hidden; margin: 0 0 5px; color: var(--st-muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.similar-app-copy > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #f59e0b; font-size: .72rem; }
.similar-app-link { color: var(--st-primary); font-size: .7rem; font-weight: 800; text-decoration: none; }
.similar-app-link:hover { color: var(--st-accent); }
.app-share-links { display: flex; flex-wrap: wrap; gap: 9px; }
.app-share-links a, .app-share-links button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 7px 14px; border: 1px solid var(--st-line); border-radius: 999px; background: var(--st-white); color: var(--st-ink); font: inherit; font-size: .76rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease; }
.app-share-links a:hover, .app-share-links button:hover, .app-share-links button.is-copied { border-color: var(--share-color, var(--st-primary)); background: color-mix(in srgb, var(--share-color, var(--st-primary)) 10%, var(--st-white)); color: var(--share-color, var(--st-primary)); transform: translateY(-2px); }
.app-share-links .share-facebook { --share-color: #1877f2; }
.app-share-links .share-x { --share-color: #111827; }
.app-share-links .share-whatsapp { --share-color: #16a34a; }
.app-share-links .share-telegram { --share-color: #159bd7; }
.share-copy-status { min-height: 1.3em; margin: 10px 0 0; color: var(--st-primary); font-size: .76rem; font-weight: 700; }
.app-comments-note { margin: -4px 0 20px; color: var(--st-muted); font-size: .85rem; }
.app-rating-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; padding: 13px 15px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); border-radius: 14px; background: color-mix(in srgb, var(--st-primary) 5%, var(--st-white)); }
.app-rating-summary strong { color: var(--st-ink); font-size: 1.55rem; line-height: 1; }
.app-rating-summary span { color: #f59e0b; letter-spacing: 2px; }
.app-rating-summary small { margin-inline-start: auto; color: var(--st-muted); font-size: .72rem; }
.app-comments .comment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.app-comments .comment-form-comment, .app-comments .comment-rating-field, .app-comments .form-submit, .app-comments .comment-notes { grid-column: 1 / -1; }
.app-comments label, .app-comments legend { display: block; margin-bottom: 5px; color: var(--st-ink); font-size: .77rem; font-weight: 800; }
.app-comments input[type="text"], .app-comments input[type="email"], .app-comments textarea { width: 100%; border: 1px solid var(--st-line); border-radius: 12px; padding: 11px 13px; background: var(--st-white); color: var(--st-ink); font: inherit; font-size: .84rem; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.app-comments textarea { min-height: 125px; resize: vertical; }
.app-comments input:focus, .app-comments textarea:focus { border-color: var(--st-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--st-primary) 12%, transparent); }
.comment-rating-field { margin: 0; padding: 0; border: 0; }
.comment-rating-options { display: flex; flex-wrap: wrap; gap: 8px; }
.comment-rating-options label { position: relative; margin: 0; cursor: pointer; }
.comment-rating-options input { position: absolute; opacity: 0; pointer-events: none; }
.comment-rating-options span { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 12px; border: 1px solid var(--st-line); border-radius: 999px; background: var(--st-white); color: var(--st-muted); font-size: .78rem; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.comment-rating-options input:checked + span, .comment-rating-options label:hover span { border-color: #f59e0b; background: rgba(245,158,11,.1); color: #c87900; }
.app-comments .form-submit { margin: 0; }
.app-comments .form-submit .submit { min-width: 150px; border: 0; }
.app-comments .required { color: var(--st-accent); }
.app-comments-closed { color: var(--st-muted); }
html[data-theme-mode="dark"] .similar-app-card, html[data-theme-mode="dark"] .app-share-links a, html[data-theme-mode="dark"] .app-share-links button, html[data-theme-mode="dark"] .comment-rating-options span, html[data-theme-mode="dark"] .app-comments input[type="text"], html[data-theme-mode="dark"] .app-comments input[type="email"], html[data-theme-mode="dark"] .app-comments textarea { background: color-mix(in srgb, var(--st-white) 92%, var(--st-primary) 8%); }
@media (max-width: 760px) {
  .similar-app-grid { grid-template-columns: 1fr; }
  .app-share-links a, .app-share-links button { flex: 1 1 calc(50% - 9px); }
  .app-comments .comment-form { grid-template-columns: 1fr; }
  .app-rating-summary { align-items: flex-start; flex-wrap: wrap; }
  .app-rating-summary small { width: 100%; margin-inline-start: 0; }
}


.app-content-empty, .similar-app-empty { padding: 22px 18px; border: 1px dashed color-mix(in srgb, var(--st-primary) 24%, var(--st-line)); border-radius: 14px; background: color-mix(in srgb, var(--st-primary) 4%, var(--st-white)); color: var(--st-muted); font-size: .86rem; line-height: 1.8; }


.app-review-list { display: grid; gap: 10px; margin: 0 0 22px; }
.app-review { padding: 14px 16px; border: 1px solid var(--st-line); border-radius: 14px; background: color-mix(in srgb, var(--st-white) 94%, var(--st-primary) 6%); }
.app-review-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.app-review-head strong { color: var(--st-ink); font-size: .82rem; }
.app-review-stars { color: #f59e0b; font-size: .78rem; letter-spacing: 1px; }
.app-review-head time { margin-inline-start: auto; color: var(--st-muted); font-size: .68rem; }
.app-review p { margin: 8px 0 0; color: var(--st-muted); font-size: .82rem; line-height: 1.75; }
html[data-theme-mode="dark"] .app-review { background: color-mix(in srgb, var(--st-white) 92%, var(--st-primary) 8%); }


/* Full-width app details: spacious editorial layout instead of stacked cards. */
.single-app-shell { width: 100%; max-width: none; margin-inline: 0; padding-inline: 0; }
.single-app-shell .single-entry { width: 100%; }
.single-app-shell .single-app-breadcrumbs, .single-app-shell .store-app-hero, .single-app-shell .app-detail-panel { width: min(calc(100% - 40px), 1180px); margin-inline: auto; }
.single-app-shell .single-app-breadcrumbs { margin-bottom: 18px; }
.single-app-shell .store-app-hero { grid-template-columns: 172px minmax(0, 1fr); min-height: 250px; margin-bottom: 28px; padding: 38px 48px; border-radius: 0 0 30px 30px; box-shadow: 0 24px 60px color-mix(in srgb, var(--st-primary) 10%, transparent); }
.single-app-shell .store-app-icon-frame { width: 150px; height: 150px; }
.single-app-shell .store-app-summary .entry-title { font-size: clamp(2.4rem, 5vw, 4.8rem); }
.single-app-shell .app-detail-panel { position: relative; overflow: hidden; margin-top: 24px; padding: 34px 46px; border: 0; border-top: 1px solid color-mix(in srgb, var(--st-primary) 18%, var(--st-line)); border-bottom: 1px solid color-mix(in srgb, var(--st-primary) 9%, transparent); border-radius: 0; background: transparent; box-shadow: none; }
.single-app-shell .app-detail-panel::before { position: absolute; top: 15px; right: 0; width: 5px; height: 58px; border-radius: 999px; background: linear-gradient(180deg, var(--st-primary), var(--st-accent)); content: ""; }
.single-app-shell .app-detail-panel::after { position: absolute; top: -80px; left: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--st-primary) 5%, transparent), transparent 70%); content: ""; pointer-events: none; }
.single-app-shell .app-panel-heading, .single-app-shell .app-detail-panel > * { position: relative; z-index: 1; }
.single-app-shell .app-panel-heading { margin-bottom: 24px; }
.single-app-shell .app-panel-heading h2 { font-size: clamp(1.55rem, 3vw, 2.45rem); }
.single-app-shell .single-app-gallery { gap: 20px; padding-bottom: 18px; }
.single-app-shell .single-app-gallery figure, .single-app-shell .single-app-gallery img { flex-basis: 190px; width: 190px; }
.single-app-shell .single-app-gallery img { height: 338px; border-radius: 20px; }
.single-app-shell .store-details-list { border-radius: 0; border-inline: 0; }
.single-app-shell .store-detail-row { min-height: 64px; padding-inline: 0; }
.single-app-shell .similar-app-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.single-app-shell .similar-app-card { min-height: 122px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); border-radius: 18px; background: color-mix(in srgb, var(--st-white) 95%, var(--st-primary) 5%); }
.single-app-shell .app-share-links { gap: 12px; }
.single-app-shell .app-share-links a, .single-app-shell .app-share-links button { min-width: 112px; min-height: 45px; }
.single-app-shell .app-comments .comment-form { max-width: 900px; }
html[data-theme-mode="dark"] .single-app-shell .app-detail-panel { background: transparent; }
html[data-theme-mode="dark"] .single-app-shell .similar-app-card { background: color-mix(in srgb, var(--st-white) 91%, var(--st-primary) 9%); }
@media (max-width: 980px) {
  .single-app-shell .similar-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .single-app-shell .single-app-breadcrumbs, .single-app-shell .store-app-hero, .single-app-shell .app-detail-panel { width: 100%; }
  .single-app-shell .single-app-breadcrumbs { border-inline: 0; border-radius: 0; margin-bottom: 0; padding-inline: 18px; }
  .single-app-shell .store-app-hero { min-height: 0; padding: 30px 18px; border-radius: 0 0 24px 24px; }
  .single-app-shell .store-app-icon-frame { width: 126px; height: 126px; }
  .single-app-shell .app-detail-panel { margin-top: 0; padding: 30px 18px; }
  .single-app-shell .app-detail-panel::before { top: 15px; right: 10px; }
  .single-app-shell .similar-app-grid { grid-template-columns: 1fr; }
  .single-app-shell .single-app-gallery figure, .single-app-shell .single-app-gallery img { flex-basis: 156px; width: 156px; }
  .single-app-shell .single-app-gallery img { height: 278px; }
}


/* Download-store choices revealed after the countdown. */
.download-store-actions { width: min(100%, 720px); margin: 25px auto 20px; padding: 22px; border: 1px solid color-mix(in srgb, var(--st-primary) 22%, var(--st-line)); border-radius: 22px; background: color-mix(in srgb, var(--st-white) 94%, var(--st-primary) 6%); box-shadow: 0 16px 40px color-mix(in srgb, var(--st-primary) 12%, transparent); opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.download-store-actions[hidden] { display: block; max-height: 0; margin-block: 0; padding-block: 0; overflow: hidden; border: 0; box-shadow: none; opacity: 0; pointer-events: none; }
.download-store-actions.is-ready { opacity: 1; transform: translateY(0); }
.download-store-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; text-align: start; }
.download-store-heading strong { color: var(--st-ink); font-size: .92rem; }
.download-store-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.download-store-button { display: flex; align-items: flex-start; flex-direction: column; min-height: 68px; padding: 12px 15px; border: 0; border-radius: 15px; color: #fff; text-align: start; text-decoration: none; box-shadow: 0 10px 22px rgba(0,0,0,.12); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.download-store-button:hover { color: #fff; filter: saturate(1.13); box-shadow: 0 14px 27px rgba(0,0,0,.18); transform: translateY(-3px); }
.download-store-button span { font-size: .87rem; font-weight: 900; }
.download-store-button small { margin-top: 4px; color: rgba(255,255,255,.82); font-size: .65rem; font-weight: 600; }
.download-store-google { background: linear-gradient(135deg, #4285f4, #2563eb); }
.download-store-apple { background: linear-gradient(135deg, #111827, #374151); }
.download-store-direct { background: linear-gradient(135deg, var(--st-primary), var(--st-accent)); }
@media (max-width: 760px) {
  .download-store-actions { margin-inline: -8px; padding: 17px 14px; border-radius: 17px; }
  .download-store-heading { align-items: flex-start; flex-direction: column; }
  .download-store-buttons { grid-template-columns: 1fr; }
  .download-store-button { min-height: 59px; }
}


.download-faq { width: min(100%, 720px); margin: 30px auto 0; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--st-primary) 18%, var(--st-line)); text-align: start; }
.download-faq-heading { margin-bottom: 12px; }
.download-faq-heading h2 { margin: 4px 0 0; color: var(--st-ink); font-size: 1.35rem; }
.download-faq-item { border-bottom: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); }
.download-faq-item:last-child { border-bottom: 0; }
.download-faq-item summary { position: relative; padding: 15px 3px; color: var(--st-ink); font-size: .86rem; font-weight: 800; cursor: pointer; list-style: none; }
.download-faq-item summary::-webkit-details-marker { display: none; }
.download-faq-item summary::before { position: absolute; inset-inline-start: 2px; color: var(--st-primary); content: "+"; font-size: 1.25rem; font-weight: 400; transition: transform .2s ease; }
.download-faq-item[open] summary::before { content: "−"; }
.download-faq-item p { margin: -3px 28px 15px 3px; color: var(--st-muted); font-size: .78rem; line-height: 1.8; }


/* Open, full-bleed download experience: no enclosing card. */
.single-app-shell .download-gate { position: relative; width: 100vw; max-width: none; min-height: 72vh; margin: 0 0 0 calc(50% - 50vw); padding: clamp(56px, 9vw, 110px) max(20px, calc((100vw - 1120px) / 2)) 76px; overflow: hidden; border: 0; border-radius: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 9%, var(--st-paper)), var(--st-paper) 52%, color-mix(in srgb, var(--st-accent) 7%, var(--st-paper))); box-shadow: none; text-align: center; }
.single-app-shell .download-gate::before { position: absolute; top: 0; right: 0; width: 100%; height: 100%; background-image: linear-gradient(color-mix(in srgb, var(--st-primary) 8%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--st-primary) 8%, transparent) 1px, transparent 1px); background-size: 42px 42px; content: ""; opacity: .38; mask-image: linear-gradient(180deg, #000, transparent 86%); pointer-events: none; }
.single-app-shell .download-gate::after { position: absolute; top: 9%; right: 50%; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--st-primary) 12%, transparent), transparent 67%); content: ""; transform: translateX(50%); pointer-events: none; }
.single-app-shell .download-gate > * { position: relative; z-index: 1; }
.single-app-shell .download-gate-icon { width: 112px; height: 112px; margin-bottom: 22px; border: 5px solid color-mix(in srgb, var(--st-white) 78%, transparent); border-radius: 30px; box-shadow: 0 18px 42px color-mix(in srgb, var(--st-primary) 20%, transparent); }
.single-app-shell .download-gate h1 { margin: 10px auto 13px; color: var(--st-ink); font-size: clamp(2.1rem, 6vw, 4.8rem); }
.single-app-shell .download-gate > p { max-width: 650px; margin-inline: auto; }
.single-app-shell .download-store-actions { width: min(100%, 760px); margin: 30px auto 22px; padding: 25px 0 0; border: 0; border-top: 1px solid color-mix(in srgb, var(--st-primary) 18%, transparent); border-radius: 0; background: transparent; box-shadow: none; }
.single-app-shell .download-store-actions[hidden] { max-height: 0; padding-block: 0; border-top: 0; }
.single-app-shell .download-store-heading { justify-content: center; flex-direction: column; margin-bottom: 17px; text-align: center; }
.single-app-shell .download-store-buttons { gap: 12px; }
.single-app-shell .download-store-button { min-height: 62px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; box-shadow: none; }
.single-app-shell .download-store-button:hover { box-shadow: none; transform: translateY(-2px); }
.single-app-shell .download-faq { width: min(100%, 760px); margin-top: 42px; border-top-color: color-mix(in srgb, var(--st-primary) 20%, transparent); }
.single-app-shell .download-faq-item summary { padding-inline: 0 30px; }
.single-app-shell .download-faq-item p { margin-inline-start: 0; }
.single-app-shell .download-cancel { margin-top: 10px; }
html[data-theme-mode="dark"] .single-app-shell .download-gate { background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 18%, var(--st-paper)), var(--st-paper) 55%, color-mix(in srgb, var(--st-accent) 12%, var(--st-paper))); }
@media (max-width: 760px) {
  .single-app-shell .download-gate { width: 100vw; margin-inline-start: calc(50% - 50vw); min-height: 78vh; padding: 48px 18px 58px; }
  .single-app-shell .download-store-buttons { grid-template-columns: 1fr; }
}


/* Category archives and global navigation search. */
.header-search { display: flex; align-items: center; width: 38px; height: 38px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--st-primary) 14%, var(--st-line)); border-radius: 999px; background: color-mix(in srgb, var(--st-white) 84%, transparent); transition: width .3s ease, border-color .2s ease, box-shadow .2s ease; }
.header-search:focus-within { width: 190px; border-color: var(--st-primary); box-shadow: 0 5px 18px color-mix(in srgb, var(--st-primary) 14%, transparent); }
.header-search button { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border: 0; background: transparent; color: var(--st-nav-text, var(--st-muted)); cursor: pointer; }
.header-search button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-search input { width: 145px; min-width: 0; padding: 4px 0 4px 10px; border: 0; outline: 0; background: transparent; color: var(--st-ink); font: inherit; font-size: .72rem; }
.header-search input::placeholder { color: var(--st-muted); }
.category-page-shell { overflow: hidden; }
.category-hero { position: relative; min-height: 390px; padding: 55px 0 66px; background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 9%, var(--st-paper)), var(--st-paper) 54%, color-mix(in srgb, var(--st-accent) 8%, var(--st-paper))); text-align: center; }
.category-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--st-primary) 9%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--st-primary) 9%, transparent) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 86%); opacity: .5; }
.category-hero-inner { position: relative; z-index: 1; }
.category-breadcrumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; padding: 7px 12px; border: 1px solid color-mix(in srgb, var(--st-primary) 13%, var(--st-line)); border-radius: 999px; background: color-mix(in srgb, var(--st-white) 78%, transparent); color: var(--st-muted); font-size: .72rem; }
.category-breadcrumb a { color: var(--st-muted); text-decoration: none; }
.category-breadcrumb a:hover { color: var(--st-primary); }
.category-breadcrumb span { color: var(--st-primary); font-size: 1.05rem; }
.category-breadcrumb strong { color: var(--st-ink); }
.category-kicker { color: var(--st-primary); font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.category-hero h1 { margin: 14px 0 13px; color: var(--st-ink); font-size: clamp(2.2rem, 5.5vw, 4.8rem); letter-spacing: -.055em; }
.category-hero h1 span { color: var(--st-primary); }
.category-description { max-width: 720px; margin: 0 auto; color: var(--st-muted); font-size: 1rem; line-height: 1.8; }
.category-description p { margin: 0; }
.category-hero-stats { display: flex; justify-content: center; gap: 0; margin-top: 28px; }
.category-hero-stats > div { min-width: 142px; padding: 3px 22px; border-inline-end: 1px solid color-mix(in srgb, var(--st-primary) 17%, transparent); }
.category-hero-stats > div:last-child { border-inline-end: 0; }
.category-hero-stats strong { display: block; color: var(--st-ink); font-size: 1.45rem; }
.category-hero-stats span { color: var(--st-muted); font-size: .72rem; font-weight: 700; }
.category-content { width: min(calc(100% - 40px), 1180px); padding-top: 40px; padding-bottom: 64px; }
.category-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.category-toolbar h2 { margin: 4px 0 0; color: var(--st-ink); font-size: clamp(1.55rem, 3vw, 2.4rem); }
.category-search { display: flex; align-items: center; width: min(100%, 310px); min-height: 46px; padding: 5px 12px; border: 1px solid var(--st-line); border-radius: 999px; background: var(--st-white); }
.category-search svg { flex: 0 0 18px; width: 18px; height: 18px; margin-inline-end: 8px; fill: none; stroke: var(--st-muted); stroke-width: 1.7; stroke-linecap: round; }
.category-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--st-ink); font: inherit; font-size: .8rem; }
.category-search input::placeholder { color: var(--st-muted); }
.category-search span { color: var(--st-primary); font-size: .68rem; white-space: nowrap; }
.category-app-list { display: grid; gap: 12px; }
.category-app-row { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 15px 20px; border-top: 1px solid var(--st-line); border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.category-app-row:hover { border-color: color-mix(in srgb, var(--st-primary) 22%, var(--st-line)); background: color-mix(in srgb, var(--st-primary) 4%, transparent); transform: translateX(-3px); }
.category-app-media { position: relative; display: block; width: 84px; height: 84px; overflow: hidden; border-radius: 21px; background: var(--st-paper); box-shadow: 0 8px 22px color-mix(in srgb, var(--st-primary) 12%, transparent); }
.category-app-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.category-app-media span { display: grid; place-items: center; width: 100%; height: 100%; color: var(--st-primary); font-weight: 900; }
.category-app-media b { position: absolute; right: 5px; bottom: 5px; padding: 3px 6px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font-size: .58rem; }
.category-app-copy { min-width: 0; }
.category-app-index { display: block; margin-bottom: 4px; color: var(--st-primary); font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.category-app-copy h3 { overflow: hidden; margin: 0 0 2px; font-size: 1.12rem; text-overflow: ellipsis; white-space: nowrap; }
.category-app-copy h3 a { color: var(--st-ink); text-decoration: none; }
.category-app-copy h3 a:hover { color: var(--st-primary); }
.category-app-developer { overflow: hidden; margin: 0 0 5px; color: var(--st-muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.category-app-description { overflow: hidden; margin: 0 0 7px; color: var(--st-muted); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.category-app-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--st-muted); font-size: .7rem; }
.category-app-meta span:first-child { color: #f59e0b; font-weight: 800; }
.category-app-actions { display: flex; align-items: center; gap: 12px; }
.category-app-actions .button { min-width: 120px; }
.category-app-arrow { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid color-mix(in srgb, var(--st-primary) 22%, var(--st-line)); border-radius: 50%; color: var(--st-primary); text-decoration: none; transition: background .2s ease, color .2s ease; }
.category-app-arrow:hover { background: var(--st-primary); color: #fff; }
.category-no-results, .category-empty { padding: 42px 20px; text-align: center; }
.category-no-results span { display: block; margin-top: 6px; color: var(--st-muted); font-size: .82rem; }
.category-empty-icon { display: block; color: var(--st-primary); font-size: 3.5rem; }
.category-empty h2 { margin: 8px 0; color: var(--st-ink); }
.category-empty p { max-width: 560px; margin: 0 auto 18px; color: var(--st-muted); line-height: 1.8; }
html[data-theme-mode="dark"] .category-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 16%, var(--st-paper)), var(--st-paper) 54%, color-mix(in srgb, var(--st-accent) 12%, var(--st-paper))); }
html[data-theme-mode="dark"] .category-search { background: color-mix(in srgb, var(--st-white) 91%, var(--st-primary) 9%); }
@media (max-width: 760px) {
  .header-search:focus-within { width: 145px; }
  .header-search input { width: 105px; }
  .category-hero { min-height: 350px; padding: 37px 0 47px; }
  .category-content { width: 100%; padding-inline: 17px; }
  .category-toolbar { align-items: stretch; flex-direction: column; gap: 14px; }
  .category-search { width: 100%; }
  .category-hero-stats > div { min-width: 0; flex: 1; padding-inline: 10px; }
  .category-hero-stats strong { font-size: 1.1rem; }
  .category-app-row { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
  .category-app-media { width: 62px; height: 62px; border-radius: 16px; }
  .category-app-copy h3 { font-size: .94rem; }
  .category-app-description { display: none; }
  .category-app-actions { grid-column: 2; justify-content: flex-start; margin-top: -2px; }
  .category-app-actions .button { min-width: 106px; padding: 8px 11px; font-size: .7rem; }
  .category-app-arrow { display: none; }
}


/* Archive and search pages. */
.archive-page-shell { overflow: hidden; }
.archive-hero { position: relative; min-height: 300px; padding: 65px 0 70px; background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 9%, var(--st-paper)), var(--st-paper) 55%, color-mix(in srgb, var(--st-accent) 7%, var(--st-paper))); text-align: center; }
.archive-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--st-primary) 8%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--st-primary) 8%, transparent) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 90%); opacity: .48; }
.archive-hero-inner { position: relative; z-index: 1; }
.archive-hero h1 { margin: 12px 0; color: var(--st-ink); font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.05em; }
.archive-hero p { max-width: 640px; margin: 0 auto; color: var(--st-muted); line-height: 1.8; }
.archive-search-query { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 13px; border: 1px solid color-mix(in srgb, var(--st-primary) 16%, var(--st-line)); border-radius: 999px; background: color-mix(in srgb, var(--st-white) 82%, transparent); color: var(--st-muted); font-size: .74rem; }
.archive-search-query strong { color: var(--st-primary); }
.archive-content { width: min(calc(100% - 40px), 1180px); padding-top: 42px; padding-bottom: 70px; }
.archive-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.archive-section-heading h2 { margin: 4px 0 0; color: var(--st-ink); font-size: clamp(1.55rem, 3vw, 2.4rem); }
.archive-home-link { color: var(--st-primary); font-size: .78rem; font-weight: 800; text-decoration: none; }
.archive-home-link:hover { color: var(--st-accent); }
.archive-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.archive-empty { padding: 60px 20px; text-align: center; }
.archive-empty > span { color: var(--st-primary); font-size: 4rem; }
.archive-empty h2 { margin: 8px 0; color: var(--st-ink); }
.archive-empty p { margin: 0 auto 18px; color: var(--st-muted); }
html[data-theme-mode="dark"] .archive-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 16%, var(--st-paper)), var(--st-paper) 55%, color-mix(in srgb, var(--st-accent) 11%, var(--st-paper))); }
@media (max-width: 980px) { .archive-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .archive-hero { min-height: 260px; padding: 46px 0 52px; } .archive-content { width: 100%; padding-inline: 17px; } .archive-section-heading { align-items: flex-start; flex-direction: column; } .archive-post-grid { grid-template-columns: 1fr; } }


/* Premium 404 page. */
.error-page-shell { min-height: 70vh; overflow: hidden; }
.error-hero { position: relative; display: grid; min-height: 70vh; place-items: center; padding: 78px 0 96px; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 10%, var(--st-paper)), var(--st-paper) 54%, color-mix(in srgb, var(--st-accent) 8%, var(--st-paper))); text-align: center; }
.error-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--st-primary) 10%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--st-primary) 10%, transparent) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 5%, transparent 78%); opacity: .55; }
.error-hero-inner { position: relative; z-index: 1; width: min(calc(100% - 40px), 760px); }
.error-code { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1vw, 15px); margin-bottom: 2px; color: color-mix(in srgb, var(--st-primary) 30%, var(--st-paper)); font-size: clamp(5rem, 17vw, 12rem); font-weight: 950; line-height: .8; letter-spacing: -.12em; }
.error-code strong { color: var(--st-primary); font-size: 1.1em; text-shadow: 0 15px 35px color-mix(in srgb, var(--st-primary) 20%, transparent); }
.error-kicker { color: var(--st-primary); font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.error-hero h1 { margin: 14px 0 13px; color: var(--st-ink); font-size: clamp(2rem, 5vw, 4.5rem); letter-spacing: -.055em; }
.error-hero h1 span { color: var(--st-primary); }
.error-hero p { max-width: 580px; margin: 0 auto; color: var(--st-muted); line-height: 1.9; }
.error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.error-actions .button { min-width: 145px; }
.error-search { display: flex; align-items: center; max-width: 510px; min-height: 52px; margin: 24px auto 0; padding: 5px 7px 5px 14px; border: 1px solid color-mix(in srgb, var(--st-primary) 20%, var(--st-line)); border-radius: 999px; background: color-mix(in srgb, var(--st-white) 85%, transparent); box-shadow: 0 14px 32px color-mix(in srgb, var(--st-primary) 9%, transparent); }
.error-search svg { flex: 0 0 18px; width: 18px; height: 18px; margin-inline-end: 9px; fill: none; stroke: var(--st-muted); stroke-width: 1.7; stroke-linecap: round; }
.error-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--st-ink); font: inherit; font-size: .82rem; }
.error-search input::placeholder { color: var(--st-muted); }
.error-search button { min-height: 40px; padding: 0 19px; border: 0; border-radius: 999px; background: var(--st-primary); color: #fff; font: inherit; font-size: .76rem; font-weight: 800; cursor: pointer; }
.error-orbit { position: absolute; border: 1px solid color-mix(in srgb, var(--st-primary) 20%, transparent); border-radius: 50%; pointer-events: none; }
.error-orbit-one { width: 430px; height: 430px; top: 8%; right: -220px; }
.error-orbit-two { width: 270px; height: 270px; bottom: -130px; left: -100px; border-color: color-mix(in srgb, var(--st-accent) 24%, transparent); }
html[data-theme-mode="dark"] .error-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 18%, var(--st-paper)), var(--st-paper) 54%, color-mix(in srgb, var(--st-accent) 12%, var(--st-paper))); }
@media (max-width: 760px) { .error-hero { min-height: 68vh; padding: 56px 0 70px; } .error-hero-inner { width: min(calc(100% - 34px), 760px); } .error-actions { flex-direction: column; align-items: stretch; } .error-actions .button { width: 100%; } .error-search { min-height: 49px; } .error-search button { padding-inline: 15px; } }


/* Dedicated search, archive, tag, author and date templates. */
.special-archive { overflow: hidden; }
.special-archive .archive-hero { min-height: 330px; padding: 48px 0 66px; }
.special-archive .archive-hero-inner { width: min(calc(100% - 40px), 960px); }
.special-archive .archive-hero h1 { max-width: 920px; margin: 15px auto 12px; }
.special-archive .archive-hero h1 span { color: var(--st-primary); }
.special-archive .archive-hero p { max-width: 680px; }
.archive-breadcrumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--st-muted); font-size: .72rem; }
.archive-breadcrumb a { color: var(--st-muted); text-decoration: none; }
.archive-breadcrumb a:hover { color: var(--st-primary); }
.archive-breadcrumb span { color: var(--st-primary); font-size: 1.1rem; }
.archive-breadcrumb strong { color: var(--st-ink); font-weight: 800; }
.archive-hero-stat { display: inline-flex; align-items: baseline; gap: 9px; margin-top: 23px; padding-top: 13px; border-top: 1px solid color-mix(in srgb, var(--st-primary) 22%, transparent); color: var(--st-muted); font-size: .72rem; }
.archive-hero-stat strong { color: var(--st-primary); font-size: 1.5rem; line-height: 1; }
.archive-hero-description { max-width: 680px; margin: 0 auto; color: var(--st-muted); line-height: 1.85; }
.archive-hero-description p { margin: 0; }
.special-archive-content { padding-top: 38px; padding-bottom: 80px; }
.archive-search-bar { display: flex; align-items: center; width: min(100%, 620px); min-height: 54px; margin: 0 auto 42px; padding: 6px 7px 6px 16px; border: 1px solid color-mix(in srgb, var(--st-primary) 18%, var(--st-line)); border-radius: 999px; background: var(--st-white); box-shadow: 0 14px 34px color-mix(in srgb, var(--st-primary) 8%, transparent); }
.archive-search-bar:focus-within { border-color: var(--st-primary); box-shadow: 0 14px 34px color-mix(in srgb, var(--st-primary) 15%, transparent); }
.archive-search-bar svg { flex: 0 0 19px; width: 19px; height: 19px; margin-inline-end: 10px; fill: none; stroke: var(--st-muted); stroke-width: 1.7; stroke-linecap: round; }
.archive-search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--st-ink); font: inherit; font-size: .84rem; }
.archive-search-bar input::placeholder { color: var(--st-muted); }
.archive-search-bar button { min-height: 41px; padding: 0 21px; border: 0; border-radius: 999px; background: var(--st-primary); color: #fff; font: inherit; font-size: .76rem; font-weight: 800; cursor: pointer; }
.archive-heading-count { color: var(--st-muted); font-size: .75rem; font-weight: 700; }
.archive-result-list { display: grid; gap: 0; border-top: 1px solid var(--st-line); }
.archive-result-row { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 23px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--st-line); transition: background .2s ease, padding-inline .2s ease, border-color .2s ease; }
.archive-result-row:hover { padding-inline: 13px; border-color: color-mix(in srgb, var(--st-primary) 25%, var(--st-line)); background: color-mix(in srgb, var(--st-primary) 4%, transparent); }
.archive-result-media { display: block; width: 104px; height: 104px; overflow: hidden; border-radius: 25px; background: color-mix(in srgb, var(--st-primary) 8%, var(--st-paper)); box-shadow: 0 12px 25px color-mix(in srgb, var(--st-primary) 13%, transparent); }
.archive-result-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.archive-result-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--st-primary); font-size: 1.6rem; font-weight: 950; }
.archive-result-content { min-width: 0; }
.archive-result-topline { display: flex; align-items: center; gap: 11px; margin-bottom: 6px; color: var(--st-muted); font-size: .66rem; }
.archive-result-type { color: var(--st-primary); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.archive-result-content h2 { overflow: hidden; margin: 0; color: var(--st-ink); font-size: clamp(1.05rem, 2vw, 1.45rem); letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.archive-result-content h2 a { color: inherit; text-decoration: none; }
.archive-result-content h2 a:hover { color: var(--st-primary); }
.archive-result-developer { margin: 4px 0 0; color: var(--st-muted); font-size: .75rem; }
.archive-result-excerpt { display: -webkit-box; overflow: hidden; max-width: 720px; margin: 7px 0 8px; color: var(--st-muted); font-size: .79rem; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.archive-result-meta { display: flex; flex-wrap: wrap; gap: 6px 15px; color: var(--st-muted); font-size: .69rem; }
.archive-result-meta span { white-space: nowrap; }
.archive-result-meta .archive-rating { color: #d58b00; font-weight: 800; }
.archive-result-meta .archive-rating b { font-size: .85rem; }
.archive-result-taxonomy { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.archive-result-taxonomy a { padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--st-primary) 15%, var(--st-line)); border-radius: 999px; color: var(--st-primary); font-size: .63rem; text-decoration: none; }
.archive-result-taxonomy a:hover { background: var(--st-primary); color: #fff; }
.archive-result-actions { display: flex; align-items: center; gap: 10px; }
.archive-result-actions .button { white-space: nowrap; }
.archive-result-download { display: inline-flex; align-items: center; gap: 5px; color: var(--st-primary); font-size: .72rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.archive-result-download:hover { color: var(--st-accent); }
.archive-result-download span { font-size: 1rem; }
.archive-pagination { margin-top: 34px; }
.archive-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.archive-pagination a, .archive-pagination span { display: grid; min-width: 36px; min-height: 36px; place-items: center; padding: 0 9px; border: 1px solid var(--st-line); border-radius: 50%; color: var(--st-muted); font-size: .72rem; text-decoration: none; }
.archive-pagination .current { border-color: var(--st-primary); background: var(--st-primary); color: #fff; }
.archive-pagination a:hover { border-color: var(--st-primary); color: var(--st-primary); }
.author-archive-identity { display: flex; align-items: center; justify-content: center; gap: 17px; margin-bottom: 7px; text-align: start; }
.author-archive-identity .category-kicker { display: block; }
.author-archive-identity h1 { margin-top: 10px !important; }
.author-archive-avatar { width: 86px; height: 86px; border: 3px solid color-mix(in srgb, var(--st-primary) 30%, transparent); border-radius: 50%; box-shadow: 0 12px 28px color-mix(in srgb, var(--st-primary) 15%, transparent); }
html[data-theme-mode="dark"] .archive-search-bar { background: color-mix(in srgb, var(--st-white) 91%, var(--st-primary) 9%); }
html[data-theme-mode="dark"] .special-archive .archive-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 17%, var(--st-paper)), var(--st-paper) 55%, color-mix(in srgb, var(--st-accent) 12%, var(--st-paper))); }
@media (max-width: 820px) { .archive-result-row { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; } .archive-result-media { width: 84px; height: 84px; border-radius: 20px; } .archive-result-actions { grid-column: 2; justify-content: flex-start; margin-top: -5px; } }
@media (max-width: 600px) { .special-archive .archive-hero { min-height: 300px; padding: 38px 0 50px; } .special-archive .archive-hero-inner { width: calc(100% - 34px); } .special-archive-content { width: 100%; padding-inline: 17px; } .archive-breadcrumb { margin-bottom: 20px; } .archive-search-bar { margin-bottom: 32px; } .archive-search-bar button { padding-inline: 16px; } .archive-section-heading { align-items: flex-start; gap: 7px; } .archive-result-row { gap: 12px; padding: 17px 0; } .archive-result-row:hover { padding-inline: 5px; } .archive-result-media { width: 64px; height: 64px; border-radius: 17px; } .archive-result-content h2 { font-size: .98rem; } .archive-result-excerpt { display: none; } .archive-result-meta { gap: 5px 10px; font-size: .64rem; } .archive-result-actions { gap: 10px; } .archive-result-actions .button { padding: 8px 11px; font-size: .68rem; } .archive-result-download { font-size: .67rem; } .author-archive-identity { align-items: flex-start; gap: 12px; } .author-archive-avatar { width: 64px; height: 64px; } }


/* Accessibility and reduced-motion polish. */
:where(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid color-mix(in srgb, var(--st-accent) 72%, #fff); outline-offset: 4px; }
.skip-link:focus { left: auto; right: 16px; top: 12px; border-radius: 8px; background: var(--st-primary); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
[hidden] { display: none !important; }
.app-carousel-section[aria-roledescription="كاروسيل"] .app-carousel-cover:focus-visible { outline-offset: 6px; }
.download-store-actions[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .app-carousel-section.is-autoplay .app-carousel-track { animation-play-state: paused !important; }
}


/* Final calm navigation system: open on desktop, two clean rows on mobile. */
.site-header { padding-top: 7px; }
.header-inner { gap: 15px; box-shadow: 0 10px 30px color-mix(in srgb, var(--st-primary) 8%, transparent); }
.primary-nav ul { border-color: transparent; background: transparent; }
.primary-nav a { min-height: 33px; }
.header-tools { gap: 6px; }
.header-search, .header-home-link, .theme-toggle { flex-shrink: 0; }
.header-home-link, .theme-toggle { width: 36px; height: 36px; }
@media (max-width: 760px) {
  .site-header { padding-top: 6px; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand tools" "nav nav"; align-items: center; gap: 8px 10px; width: calc(100% - 20px); min-height: 0; padding: 10px 11px 8px; border-radius: 18px; }
  .header-brand-cluster { grid-area: brand; min-width: 0; gap: 7px; }
  .site-brand { min-width: 0; max-width: 100%; gap: 8px; }
  .site-brand-mark { width: 35px; height: 35px; border-radius: 11px; font-size: .7rem; }
  .site-brand-name { overflow: hidden; max-width: 112px; font-size: .92rem; text-overflow: ellipsis; white-space: nowrap; }
  .header-status { display: none; }
  .header-tools { position: static; grid-area: tools; gap: 5px; justify-content: flex-end; }
  .header-home-link, .theme-toggle, .header-search { width: 34px; height: 34px; }
  .header-home-link svg { width: 16px; height: 16px; }
  .theme-toggle-sun, .theme-toggle-moon { font-size: 1.08rem; }
  .header-search { width: 34px; }
  .header-search:focus-within { position: absolute; z-index: 4; top: 10px; right: 10px; left: 10px; width: auto; background: var(--st-white); box-shadow: 0 10px 28px color-mix(in srgb, var(--st-primary) 18%, transparent); }
  .header-search:focus-within input { width: 100%; padding-inline: 8px; }
  .primary-nav { grid-area: nav; width: 100%; min-width: 0; justify-content: flex-start; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; border-top: 1px solid color-mix(in srgb, var(--st-primary) 10%, var(--st-line)); padding-top: 6px; }
  .primary-nav::-webkit-scrollbar { display: none; }
  .primary-nav ul { width: max-content; max-width: none; flex-wrap: nowrap; gap: 5px; padding: 0; border: 0; background: transparent; }
  .primary-nav a { min-height: 33px; padding: 6px 10px; border: 1px solid transparent; border-radius: 9px; font-size: .72rem; font-weight: 750; white-space: nowrap; }
  .primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { transform: none; }
  .site-header.is-scrolled { padding-top: 5px; }
  .site-header.is-scrolled .header-inner { display: grid; width: calc(100% - 16px); min-height: 0; padding: 8px 9px 7px; border-radius: 15px; }
  .site-header.is-scrolled .header-tools { position: static; top: auto; }
  .site-header.is-scrolled .site-brand { min-width: 0; transform: none; }
  .site-header.is-scrolled .site-brand-mark { width: 32px; height: 32px; border-radius: 10px; }
  .site-header.is-scrolled .header-home-link, .site-header.is-scrolled .theme-toggle, .site-header.is-scrolled .header-search { width: 32px; height: 32px; }
  .site-header.is-scrolled .nav-progress { width: calc(100% - 16px); margin-top: 5px; }
}
@media (max-width: 380px) {
  .header-inner { gap: 7px; padding-inline: 9px; }
  .site-brand-name { max-width: 86px; }
  .header-home-link, .theme-toggle, .header-search { width: 31px; height: 31px; }
  .primary-nav a { padding-inline: 8px; font-size: .68rem; }
}


/* App importer content block inside Classic Editor. */
body#tinymce { direction: rtl; text-align: right; font-family: var(--st-font), "Cairo", Arial, sans-serif; }
.shalaby-tech-app-block { max-width: 780px; margin: 28px auto; padding: 28px 30px 32px; border-top: 3px solid var(--st-primary, #6c63ff); border-bottom: 1px solid var(--st-line, #e8e7f2); background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary, #6c63ff) 5%, transparent), transparent 62%); direction: rtl; text-align: right; }
.shalaby-tech-app-block .shalaby-tech-app-icon { display: block; width: 86px; height: 86px; margin: 0 0 19px auto; border-radius: 22px; object-fit: cover; box-shadow: 0 10px 24px rgba(40, 33, 110, .15); }
.shalaby-tech-app-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 9px; }
.shalaby-tech-app-kicker { color: var(--st-primary, #6c63ff); font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.shalaby-tech-app-block h2 { margin: 3px 0 0; color: var(--st-ink, #191a2b); font-size: 30px; line-height: 1.25; }
.shalaby-tech-app-description { max-width: 680px; margin: 14px 0; color: var(--st-muted, #6e7087); font-size: 16px; line-height: 1.9; }
.shalaby-tech-app-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 10px; padding: 13px 0; border-top: 1px solid var(--st-line, #e8e7f2); border-bottom: 1px solid var(--st-line, #e8e7f2); color: var(--st-muted, #6e7087); font-size: 13px; }
.shalaby-tech-app-stats span strong { color: var(--st-ink, #191a2b); }
.shalaby-tech-app-developer { margin: 8px 0 15px; color: var(--st-muted, #6e7087); font-size: 13px; }
.shalaby-tech-app-block .button { display: inline-block; padding: 10px 17px; border-radius: 9px; background: var(--st-primary, #6c63ff); color: #fff; font-weight: 800; text-decoration: none; }
.shalaby-tech-app-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--st-line, #e8e7f2); }
.shalaby-tech-app-gallery figure { margin: 0; overflow: hidden; border-radius: 12px; background: var(--st-paper, #f7f6ff); }
.shalaby-tech-app-gallery img { display: block; width: 100%; height: 220px; object-fit: cover; }
@media (max-width: 680px) { .shalaby-tech-app-block { padding: 23px 18px 26px; } .shalaby-tech-app-block h2 { font-size: 24px; } .shalaby-tech-app-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; } .shalaby-tech-app-gallery img { height: 180px; } }


/* Final download action: intentionally placed after all app content. */
.app-final-download { width: min(100%, 760px); margin: 48px auto 0; padding: 34px 0 12px; border-top: 1px solid color-mix(in srgb, var(--st-primary) 24%, var(--st-line)); text-align: center; }
.app-final-download .app-panel-heading { justify-content: center; margin-bottom: 13px; }
.app-final-download .app-panel-heading > div { text-align: center; }
.app-final-download p { max-width: 620px; margin: 0 auto 20px; color: var(--st-muted); }
.app-final-download .store-download-button { min-width: 220px; min-height: 54px; justify-content: center; box-shadow: 0 12px 25px color-mix(in srgb, var(--st-primary) 18%, transparent); }
.app-final-download .store-download-button:hover { transform: translateY(-2px); }
@media (max-width: 760px) { .app-final-download { margin-top: 36px; padding: 28px 17px 10px; } .app-final-download .store-download-button { width: 100%; min-width: 0; } }


/* Refined LTR app carousel: smaller icons, clearer visibility, lighter presentation. */
.app-carousel-section { margin-top: 24px; padding: 31px 0 17px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.app-carousel-section::before { display: none; }
.app-carousel-heading { margin-bottom: 14px; }
.app-carousel-window { padding: 5px 0 10px; mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%); }
.app-carousel-track { gap: 12px; padding-inline: 8px; direction: ltr; }
.app-carousel-card { flex: 0 0 148px; border-radius: 16px; box-shadow: 0 8px 21px color-mix(in srgb, var(--st-primary) 8%, transparent); direction: rtl; }
.app-carousel-card:hover { transform: translateY(-4px); box-shadow: 0 13px 27px color-mix(in srgb, var(--st-primary) 15%, transparent); }
.app-carousel-card-body { padding: 10px 11px 12px; }
.app-carousel-card-body h3 { font-size: .84rem; }
.app-carousel-rating { font-size: .68rem; }
.app-carousel-hint { margin-top: 1px; font-size: .7rem; }
@media (max-width: 760px) {
  .app-carousel-section { margin-top: 19px; padding: 25px 0 13px; }
  .app-carousel-heading { width: calc(100% - 28px); }
  .app-carousel-track { gap: 10px; padding-inline: 6px; }
  .app-carousel-card { flex-basis: 132px; border-radius: 14px; }
  .app-carousel-card-body { padding: 8px 9px 10px; }
  .app-carousel-card-body h3 { font-size: .76rem; }
  .app-carousel-rating { font-size: .62rem; }
  .app-carousel-hint { font-size: .64rem; }
}
@media (max-width: 380px) {
  .app-carousel-card { flex-basis: 120px; }
  .app-carousel-track { gap: 8px; }
}


/* Calm classic app sheet: slim bars, quiet hierarchy, and editable editor flow. */
.single-app-shell .single-app-breadcrumbs { margin-bottom: 6px; padding: 8px 0; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--st-primary) 10%, var(--st-line)); border-radius: 0; background: transparent; }
.single-app-shell .store-app-hero { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; margin-bottom: 22px; padding: 22px 0 24px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); border-radius: 0; background: transparent; box-shadow: none; }
.single-app-shell .store-app-identity { gap: 8px; }
.single-app-shell .store-app-icon-frame { width: 88px; height: 88px; padding: 4px; border-radius: 22px; box-shadow: 0 8px 18px color-mix(in srgb, var(--st-primary) 12%, transparent); }
.single-app-shell .store-app-icon { border-radius: 18px; }
.single-app-shell .store-app-category { padding: 3px 9px; font-size: .66rem; }
.single-app-shell .store-app-summary .entry-title { margin: 4px 0 2px; font-size: clamp(1.7rem, 4vw, 2.8rem); }
.single-app-shell .store-app-summary .app-developer { margin-bottom: 10px; font-size: .84rem; }
.single-app-shell .single-app-stats { gap: 0; margin-top: 5px; }
.single-app-shell .single-app-stats .app-stat { min-width: 72px; padding: 3px 11px; }
.single-app-shell .single-app-stats .app-stat strong { font-size: .98rem; }
.single-app-shell .single-app-stats .app-stat small { font-size: .64rem; }
.single-app-shell .app-detail-panel { margin-top: 0; padding: 20px 0; border: 0; border-top: 1px solid color-mix(in srgb, var(--st-primary) 10%, var(--st-line)); border-radius: 0; background: transparent; box-shadow: none; }
.single-app-shell .app-detail-panel::before { display: none; }
.single-app-shell .app-panel-heading { align-items: center; margin-bottom: 13px; }
.single-app-shell .app-panel-heading h2 { font-size: 1.15rem; }
.single-app-shell .app-panel-mark { flex-basis: 30px; width: 30px; height: 30px; border-radius: 9px; font-size: .64rem; }
.single-app-shell .app-content-sheet { padding-top: 22px; }
.single-app-shell .app-content-flow { font-size: .96rem; line-height: 1.9; }
.single-app-shell .app-content-flow > .shalaby-tech-app-block { margin: 0; }
.single-app-shell .app-author-content { margin-top: 24px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--st-primary) 10%, var(--st-line)); }
.single-app-shell .app-author-content-heading { margin-bottom: 12px; }
.single-app-shell .app-author-content-heading h3 { margin: 4px 0 0; font-size: 1.2rem; }
.single-app-shell .similar-apps, .single-app-shell .app-share, .single-app-shell .app-comments, .single-app-shell .app-final-download { padding-block: 20px; }
.single-app-shell .similar-app-card { border-radius: 10px; box-shadow: none; }
.single-app-shell .app-share-links a, .single-app-shell .app-share-links button { min-width: 94px; min-height: 38px; border-radius: 8px; font-size: .74rem; }
.single-app-shell .app-final-download { margin-top: 8px; padding-inline: 0; }

/* Shared app sheet used by the front end and Classic Editor HTML. */
.shalaby-tech-app-block { direction: rtl; margin: 0 auto; color: var(--st-ink, #172033); font-family: inherit; }
.shalaby-tech-app-block .st-app-sheet { max-width: 100%; margin: 0; }
.shalaby-tech-app-block .st-app-sheet-header { display: flex; align-items: center; gap: 16px; padding: 4px 0 18px; border-bottom: 1px solid color-mix(in srgb, var(--st-primary, #6c63ff) 12%, var(--st-line, #e2e6ef)); }
.shalaby-tech-app-block .st-app-sheet-icon { flex: 0 0 76px; width: 76px; height: 76px; padding: 4px; border: 1px solid color-mix(in srgb, var(--st-primary, #6c63ff) 18%, var(--st-line, #e2e6ef)); border-radius: 18px; background: var(--st-white, #fff); }
.shalaby-tech-app-block .st-app-sheet-icon img { display: block; width: 100%; height: 100%; border-radius: 14px; object-fit: cover; }
.shalaby-tech-app-block .st-app-sheet-title { min-width: 0; }
.shalaby-tech-app-block .st-app-sheet-kicker { display: block; margin-bottom: 3px; color: var(--st-primary, #6c63ff); font-size: .68rem; font-weight: 800; }
.shalaby-tech-app-block .st-app-sheet-title h2 { margin: 0; font-size: clamp(1.25rem, 3vw, 1.8rem); line-height: 1.25; }
.shalaby-tech-app-block .st-app-sheet-title p { margin: 5px 0 0; color: var(--st-muted, #6d7482); font-size: .78rem; }
.shalaby-tech-app-block .st-app-sheet-title p strong { color: var(--st-ink, #172033); }
.shalaby-tech-app-block .st-app-sheet-section { padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, var(--st-primary, #6c63ff) 9%, var(--st-line, #e2e6ef)); }
.shalaby-tech-app-block .st-app-sheet-section:last-child { border-bottom: 0; }
.shalaby-tech-app-block .st-app-sheet-section-title { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.shalaby-tech-app-block .st-app-sheet-section-title > span { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px; background: color-mix(in srgb, var(--st-primary, #6c63ff) 10%, transparent); color: var(--st-primary, #6c63ff); font-size: .61rem; font-weight: 900; }
.shalaby-tech-app-block .st-app-sheet-section-title h3 { margin: 0; font-size: 1rem; }
.shalaby-tech-app-block .st-app-sheet-description > p { margin: 0; color: var(--st-muted, #6d7482); font-size: .9rem; line-height: 1.95; }
.shalaby-tech-app-block .st-app-sheet-rows { overflow: hidden; border: 1px solid color-mix(in srgb, var(--st-primary, #6c63ff) 9%, var(--st-line, #e2e6ef)); border-radius: 10px; }
.shalaby-tech-app-block .st-app-sheet-row { display: grid; grid-template-columns: 24px minmax(100px, 1fr) minmax(0, 2fr); align-items: center; gap: 9px; min-height: 42px; padding: 7px 11px; border-bottom: 1px solid color-mix(in srgb, var(--st-primary, #6c63ff) 7%, var(--st-line, #e2e6ef)); font-size: .79rem; }
.shalaby-tech-app-block .st-app-sheet-row:last-child { border-bottom: 0; }
.shalaby-tech-app-block .st-app-sheet-row-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; color: #fff; font-size: .56rem; }
.shalaby-tech-app-block .st-app-sheet-row-icon.purple { background: #6557e8; }
.shalaby-tech-app-block .st-app-sheet-row-icon.green { background: #12a98b; }
.shalaby-tech-app-block .st-app-sheet-row-label { color: var(--st-muted, #6d7482); }
.shalaby-tech-app-block .st-app-sheet-row strong { color: var(--st-ink, #172033); font-weight: 800; text-align: left; }
.shalaby-tech-app-block .st-app-sheet-row a { color: var(--st-primary, #6c63ff); text-decoration: none; }
.shalaby-tech-app-block .st-app-sheet-gallery-section .shalaby-tech-app-gallery { display: flex; gap: 10px; overflow-x: auto; padding: 1px 1px 8px; }
.shalaby-tech-app-block .st-app-sheet-gallery-section .shalaby-tech-app-gallery figure { flex: 0 0 132px; width: 132px; margin: 0; }
.shalaby-tech-app-block .st-app-sheet-gallery-section .shalaby-tech-app-gallery img { display: block; width: 132px; height: 236px; border: 1px solid color-mix(in srgb, var(--st-primary, #6c63ff) 11%, var(--st-line, #e2e6ef)); border-radius: 12px; object-fit: cover; }
.shalaby-tech-app-block .st-app-writing-fields { padding: 15px 16px; border: 1px dashed color-mix(in srgb, var(--st-primary, #6c63ff) 24%, var(--st-line, #e2e6ef)); border-radius: 10px; background: color-mix(in srgb, var(--st-primary, #6c63ff) 3%, transparent); }
.shalaby-tech-app-block .st-app-writing-fields h4 { margin: 0 0 4px; font-size: .9rem; }
.shalaby-tech-app-block .st-app-writing-fields h4:not(:first-child) { margin-top: 16px; }
.shalaby-tech-app-block .st-app-writing-hint { margin: 0; color: var(--st-muted, #6d7482); font-size: .82rem; }
.single-app-shell .shalaby-tech-app-block .st-app-writing-fields { display: none; }
html[data-theme-mode="dark"] .shalaby-tech-app-block .st-app-sheet-row, html[data-theme-mode="dark"] .shalaby-tech-app-block .st-app-sheet-rows { border-color: color-mix(in srgb, var(--st-primary) 18%, var(--st-line)); }
html[data-theme-mode="dark"] .shalaby-tech-app-block .st-app-writing-fields { background: color-mix(in srgb, var(--st-primary) 8%, transparent); }
@media (max-width: 760px) {
  .single-app-shell .store-app-hero { grid-template-columns: 1fr; gap: 12px; padding-block: 18px; text-align: center; }
  .single-app-shell .store-app-identity { flex-direction: row; justify-content: center; }
  .single-app-shell .single-app-stats { justify-content: center; }
  .shalaby-tech-app-block .st-app-sheet-header { align-items: flex-start; }
  .shalaby-tech-app-block .st-app-sheet-icon { flex-basis: 62px; width: 62px; height: 62px; border-radius: 15px; }
  .shalaby-tech-app-block .st-app-sheet-icon img { border-radius: 11px; }
  .shalaby-tech-app-block .st-app-sheet-row { grid-template-columns: 24px minmax(85px, 1fr) minmax(0, 1.4fr); font-size: .73rem; }
  .shalaby-tech-app-block .st-app-sheet-row strong { overflow-wrap: anywhere; }
  .shalaby-tech-app-block .st-app-sheet-gallery-section .shalaby-tech-app-gallery figure, .shalaby-tech-app-block .st-app-sheet-gallery-section .shalaby-tech-app-gallery img { flex-basis: 112px; width: 112px; }
  .shalaby-tech-app-block .st-app-sheet-gallery-section .shalaby-tech-app-gallery img { height: 200px; }
}


/* Keep the front-end sheet focused; writing prompts remain available in Classic Editor. */
.single-app-shell .app-content-sheet { padding-top: 0; }
.single-app-shell .app-content-sheet > .app-panel-heading { display: none; }
.single-app-shell .st-app-sheet-writing { display: none; }
.single-app-shell .app-content-flow { margin: 0; }


/* Wide editorial app page: full X-axis canvas with a calm, premium rhythm. */
.single-app-shell { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); padding-inline: max(22px, calc((100vw - 1380px) / 2)); }
.single-app-shell .single-entry { width: 100%; }
.single-app-shell .single-app-breadcrumbs { width: 100%; }
.single-app-shell .store-app-hero { width: 100%; grid-template-columns: 128px minmax(0, 1fr); gap: 30px; padding: 30px 0 32px; }
.single-app-shell .store-app-icon-frame { width: 112px; height: 112px; border-radius: 27px; }
.single-app-shell .store-app-icon { border-radius: 22px; }
.single-app-shell .store-app-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 28px; }
.single-app-shell .store-app-summary > .eyebrow, .single-app-shell .store-app-summary > .entry-title, .single-app-shell .store-app-summary > .app-developer { grid-column: 1; }
.single-app-shell .store-app-summary .single-app-stats { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.single-app-shell .app-content-sheet { width: 100%; }
.single-app-shell .app-content-flow { width: 100%; }
.single-app-shell .shalaby-tech-app-block { width: 100%; }
.single-app-shell .shalaby-tech-app-block .st-app-sheet { width: 100%; }
.single-app-shell .shalaby-tech-app-block .st-app-sheet-rows { width: 100%; }
.single-app-shell .shalaby-tech-app-block .st-app-sheet-row { grid-template-columns: 30px minmax(170px, .6fr) minmax(0, 2fr); min-height: 48px; padding-inline: 14px; }
.single-app-shell .shalaby-tech-app-block .st-app-sheet-gallery-section .shalaby-tech-app-gallery { gap: 14px; }
.single-app-shell .shalaby-tech-app-block .st-app-sheet-gallery-section .shalaby-tech-app-gallery figure, .single-app-shell .shalaby-tech-app-block .st-app-sheet-gallery-section .shalaby-tech-app-gallery img { flex-basis: 152px; width: 152px; }
.single-app-shell .shalaby-tech-app-block .st-app-sheet-gallery-section .shalaby-tech-app-gallery img { height: 270px; }
.single-app-shell .similar-app-grid { width: 100%; }
.single-app-shell .app-share-links { width: 100%; }
@media (max-width: 820px) {
  .single-app-shell { padding-inline: 18px; }
  .single-app-shell .store-app-summary { display: block; }
  .single-app-shell .store-app-summary .single-app-stats { margin-top: 12px; }
}
@media (max-width: 560px) {
  .single-app-shell { padding-inline: 14px; }
  .single-app-shell .store-app-hero { grid-template-columns: 1fr; gap: 13px; padding-block: 20px 24px; }
  .single-app-shell .store-app-icon-frame { width: 82px; height: 82px; }
  .single-app-shell .store-app-summary .single-app-stats { justify-content: center; }
  .single-app-shell .shalaby-tech-app-block .st-app-sheet-row { grid-template-columns: 24px minmax(84px, 1fr) minmax(0, 1.5fr); }
  .single-app-shell .shalaby-tech-app-block .st-app-sheet-gallery-section .shalaby-tech-app-gallery figure, .single-app-shell .shalaby-tech-app-block .st-app-sheet-gallery-section .shalaby-tech-app-gallery img { flex-basis: 112px; width: 112px; }
  .single-app-shell .shalaby-tech-app-block .st-app-sheet-gallery-section .shalaby-tech-app-gallery img { height: 200px; }
}


/* Remove the legacy editor block width when it is rendered on the full-width app page. */
.single-app-shell .shalaby-tech-app-block { max-width: none; margin: 0; padding: 0; border: 0; background: transparent; }
.single-app-shell .shalaby-tech-app-block .st-app-sheet { max-width: none; }
.single-app-shell .app-content-flow, .single-app-shell .app-content-flow > * { box-sizing: border-box; }


/* Full-width without viewport-scrollbar overflow. */
.single-app-shell { width: 100%; margin-inline: 0; padding-inline: max(22px, calc((100% - 1380px) / 2)); }
@media (max-width: 560px) { .single-app-shell { padding-inline: 14px; } }


/* Preserve every screenshot's native aspect ratio, including wide 16:9 images. */
.shalaby-tech-app-block .shalaby-tech-app-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 14px; margin-top: 0; padding-top: 0; border-top: 0; }
.shalaby-tech-app-block .shalaby-tech-app-gallery figure { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; overflow: hidden; aspect-ratio: auto; background: color-mix(in srgb, var(--st-primary, #6c63ff) 4%, var(--st-paper, #f7f6ff)); }
.shalaby-tech-app-block .shalaby-tech-app-gallery img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; }
.single-app-shell .shalaby-tech-app-block .shalaby-tech-app-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.single-app-shell .shalaby-tech-app-block .shalaby-tech-app-gallery figure { border: 1px solid color-mix(in srgb, var(--st-primary) 11%, var(--st-line)); border-radius: 12px; }
.single-app-shell .shalaby-tech-app-block .shalaby-tech-app-gallery img { width: 100%; height: auto; border-radius: 11px; box-shadow: none; }
@media (max-width: 900px) {
  .shalaby-tech-app-block .shalaby-tech-app-gallery, .single-app-shell .shalaby-tech-app-block .shalaby-tech-app-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .shalaby-tech-app-block .shalaby-tech-app-gallery, .single-app-shell .shalaby-tech-app-block .shalaby-tech-app-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 390px) {
  .shalaby-tech-app-block .shalaby-tech-app-gallery, .single-app-shell .shalaby-tech-app-block .shalaby-tech-app-gallery { grid-template-columns: 1fr; }
}
/* Soft minimal system — final visual layer. Keep the editorial layout open and quiet. */
:root { --st-radius: 10px; }
body { background-image: none; }
.site-header { padding: 0; background: var(--st-white); border-bottom: 1px solid var(--st-line); backdrop-filter: none; }
.header-accent-line { height: 2px; margin-bottom: 0; background: var(--st-primary); opacity: .3; }
.header-inner,
.site-header.is-scrolled .header-inner { width: min(100% - 40px, var(--st-max)); min-height: 68px; padding: 8px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.site-header.is-scrolled { padding-top: 0; background: var(--st-white); border-bottom-color: var(--st-line); }
.site-header.is-scrolled .header-inner { min-height: 62px; padding-inline: 0; }
.site-header.is-scrolled .nav-progress { width: 100%; margin-top: 0; border-radius: 0; }
.site-brand-mark { border-radius: 10px; background: var(--st-primary); box-shadow: none; }
.header-status { padding: 0; border: 0; border-radius: 0; background: transparent; }
.header-home-link { border: 0; background: transparent; box-shadow: none; }
.primary-nav ul { gap: 2px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.primary-nav a { border-radius: 8px; }
.nav-progress { height: 2px; margin-top: 0; border-radius: 0; opacity: .75; }
.theme-toggle { border-radius: 9px; box-shadow: none; }
.theme-toggle:hover { box-shadow: none; transform: none; }
.site-main { padding-block: 48px; }
.home-hero { min-height: 0; padding: 56px 0 62px; background: transparent; }
.home-hero::before { opacity: .45; }
.home-hero::after { display: none; }
.hero-grid-layer { opacity: .16; }
.home-hero-badge { border-radius: 8px; background: transparent; box-shadow: none; backdrop-filter: none; }
.home-search { min-height: 56px; margin-top: 26px; padding: 5px; border-radius: 10px; box-shadow: none; }
.home-search:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--st-primary) 10%, transparent); }
.home-search-button { height: 44px; border-radius: 8px; }
.home-hero-actions .button { box-shadow: none; }
.home-hero-actions .button:hover { box-shadow: none; transform: none; }
.button,
.home-search-button,
.shalaby-tech-app-block .button { border-radius: 8px; box-shadow: none; }
.button:hover { box-shadow: none; transform: translateY(-1px); }
.section-heading { margin-bottom: 18px; }
.carousel-category-chip,
.archive-result-taxonomy a { border-radius: 7px; background: transparent; }
.app-carousel-section { margin-top: 18px; padding: 26px 0 16px; border-top: 1px solid var(--st-line); }
.app-carousel-card { border: 1px solid var(--st-line); border-radius: 10px; box-shadow: none; }
.app-carousel-card:hover { transform: translateY(-2px); box-shadow: none; }
.app-carousel-cover { border-radius: 9px 9px 0 0; }
.app-list-section { padding-block: 34px 18px; background: transparent; }
.app-list-section::after { display: none; }
.app-list-section + .app-list-section { padding-top: 34px; border-top-color: var(--st-line); }
.app-list-card { min-height: 108px; border: 1px solid var(--st-line); border-radius: 10px; background: var(--st-white); box-shadow: none; }
.app-list-card:hover { box-shadow: none; border-color: color-mix(in srgb, var(--st-primary) 28%, var(--st-line)); }
.app-list-icon { border-radius: 10px; box-shadow: none; }
.app-list-actions .button { box-shadow: none; }
.single-app-shell .single-app-breadcrumbs { margin-bottom: 4px; padding-block: 7px; border-bottom-color: var(--st-line); }
.single-app-shell .store-app-hero { padding-block: 28px 30px; }
.single-app-shell .store-app-icon-frame { border-radius: 16px; box-shadow: none; }
.single-app-shell .store-app-icon { border-radius: 12px; }
.app-detail-panel { margin-top: 42px; padding-top: 30px; border-top-color: var(--st-line); }
.app-panel-heading { margin-bottom: 16px; }
.app-panel-mark { border: 0; background: transparent; color: var(--st-muted); }
.single-app-shell .shalaby-tech-app-block .st-app-sheet { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.shalaby-tech-app-block .st-app-sheet-header { padding-bottom: 18px; border-bottom-color: var(--st-line); }
.shalaby-tech-app-block .st-app-sheet-rows { border-top-color: var(--st-line); border-bottom-color: var(--st-line); }
.shalaby-tech-app-block .st-app-sheet-row { min-height: 46px; border-bottom-color: var(--st-line); }
.shalaby-tech-app-block .st-app-sheet-gallery-section { padding-top: 22px; border-top-color: var(--st-line); }
.shalaby-tech-app-block .shalaby-tech-app-gallery figure,
.single-app-shell .shalaby-tech-app-block .shalaby-tech-app-gallery figure { border-color: var(--st-line); border-radius: 8px; background: var(--st-paper); }
.shalaby-tech-app-block .shalaby-tech-app-gallery img,
.single-app-shell .shalaby-tech-app-block .shalaby-tech-app-gallery img { border-radius: 7px; box-shadow: none; }
.app-author-content { margin-top: 32px; padding-top: 28px; border-top-color: var(--st-line); }
.similar-app-card { border: 1px solid var(--st-line); border-radius: 10px; background: var(--st-white); box-shadow: none; }
.similar-app-card:hover { box-shadow: none; transform: translateY(-2px); }
.app-share-links a,
.app-share-links button { border-radius: 8px; box-shadow: none; }
.app-final-download { margin-top: 42px; padding-top: 28px; border-top-color: var(--st-line); }
.app-final-download .store-download-button { box-shadow: none; }
.archive-result { border-bottom-color: var(--st-line); }
.archive-result-media { border-radius: 12px; box-shadow: none; }
.download-gate { border: 1px solid var(--st-line); border-radius: 12px; box-shadow: none; }
.site-footer { padding-top: 52px; background: var(--st-primary); }
.site-footer::before,
.footer-glow { display: none; }
.footer-brand-mark { border-radius: 10px; box-shadow: none; }
.footer-bottom { border-top-color: rgba(255,255,255,.24); }
@media (max-width: 760px) {
  .header-inner,
  .site-header.is-scrolled .header-inner { width: min(100% - 28px, var(--st-max)); }
  .site-main { padding-block: 34px; }
  .home-hero { padding-block: 40px 46px; }
  .app-list-card { border-radius: 9px; }
}
html[data-theme-mode="dark"] .site-header { background: var(--st-paper); }
html[data-theme-mode="dark"] .app-list-card,
html[data-theme-mode="dark"] .app-carousel-card,
html[data-theme-mode="dark"] .similar-app-card { background: var(--st-white); }

/* Telegram community link under the final download action. */
.telegram-download-link { display: flex; align-items: center; gap: 11px; width: min(100%, 360px); margin: 13px auto 0; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--st-primary) 18%, var(--st-line)); border-radius: 9px; background: transparent; color: var(--st-ink); text-align: right; text-decoration: none; transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease; }
.telegram-download-link svg { flex: 0 0 25px; width: 25px; height: 25px; fill: var(--st-primary); }
.telegram-download-link span { display: grid; gap: 1px; min-width: 0; flex: 1; }
.telegram-download-link strong { color: inherit; font-size: .8rem; line-height: 1.35; }
.telegram-download-link small { color: var(--st-muted); font-size: .67rem; line-height: 1.4; }
.telegram-download-link b { color: var(--st-primary); font-size: 1rem; font-weight: 700; }
.telegram-download-link:hover { border-color: var(--st-primary); background: color-mix(in srgb, var(--st-primary) 5%, transparent); color: var(--st-primary); transform: translateY(-1px); }
.download-gate .telegram-download-link { margin-top: 15px; }
.app-final-download .telegram-download-link { margin-top: 14px; }
@media (max-width: 560px) { .telegram-download-link { width: 100%; } }

/* Hero refinement: smaller type with restrained geometric accents. */
.home-hero { overflow: hidden; }
.home-hero h1 { max-width: 820px; font-size: clamp(2.15rem, 5.1vw, 4.35rem); letter-spacing: -.045em; }
.home-hero-inner { isolation: isolate; }
.home-hero-inner::before,
.home-hero-inner::after { position: absolute; z-index: -1; display: block; content: ""; pointer-events: none; }
.home-hero-inner::before { top: 7%; right: 4%; width: 116px; height: 116px; border: 1px solid color-mix(in srgb, var(--st-primary) 24%, transparent); border-radius: 30px; opacity: .55; transform: rotate(18deg); animation: st-soft-shape-drift 10s ease-in-out infinite alternate; }
.home-hero-inner::after { bottom: 8%; left: 5%; width: 84px; height: 84px; border: 1px solid color-mix(in srgb, var(--st-accent) 30%, transparent); border-radius: 50%; box-shadow: 0 0 0 12px color-mix(in srgb, var(--st-accent) 5%, transparent), 0 0 0 24px color-mix(in srgb, var(--st-primary) 4%, transparent); opacity: .58; animation: st-soft-circle-drift 8s ease-in-out infinite alternate; }
@keyframes st-soft-shape-drift { from { transform: translate3d(0, 0, 0) rotate(18deg); } to { transform: translate3d(-12px, 10px, 0) rotate(28deg); } }
@keyframes st-soft-circle-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(10px, -8px, 0) scale(1.08); } }
@media (max-width: 760px) {
  .home-hero h1 { max-width: 620px; font-size: clamp(1.85rem, 8.8vw, 3rem); letter-spacing: -.035em; }
  .home-hero-inner::before { top: 5%; right: -20px; width: 78px; height: 78px; border-radius: 20px; }
  .home-hero-inner::after { bottom: 7%; left: -12px; width: 58px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-inner::before, .home-hero-inner::after { animation: none; }
}
/* Latest apps are a static six-item grid, not a moving carousel. */
.app-latest-section .app-carousel-heading { margin-bottom: 20px; }
.app-latest-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.app-latest-grid .app-carousel-card { min-width: 0; width: 100%; }
.app-latest-grid .app-carousel-cover { aspect-ratio: 1 / 1; }
.app-latest-grid .app-carousel-card-body h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-latest-grid .app-carousel-card:hover { transform: translateY(-2px); }
@media (max-width: 1050px) { .app-latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .app-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* Download gate suggestions and same-position store reveal. */
.single-app-shell .download-stage { width: min(100%, 760px); margin: 28px auto 0; }
.single-app-shell .download-waiting-area { min-height: 174px; display: grid; place-items: center; align-content: center; gap: 11px; }
.single-app-shell .download-waiting-area[hidden] { display: none; }
.single-app-shell .download-stage .download-store-actions { width: 100%; min-height: 174px; margin: 0 auto; padding: 22px 0 0; }
.single-app-shell .download-stage .download-store-actions[hidden] { display: none; }
.single-app-shell .download-stage .download-store-actions.is-ready { animation: st-download-reveal .42s ease both; }
@keyframes st-download-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.download-suggested { width: min(100%, 960px); margin: 35px auto 0; padding-top: 23px; border-top: 1px solid color-mix(in srgb, var(--st-primary) 18%, var(--st-line)); text-align: start; }
.download-suggested-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.download-suggested-heading h2 { margin: 5px 0 0; color: var(--st-ink); font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
.download-suggested-count { color: var(--st-primary); font-size: .72rem; font-weight: 800; white-space: nowrap; }
.download-suggested-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.download-suggested-item { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--st-primary) 10%, var(--st-line)); color: var(--st-ink); text-decoration: none; transition: color .2s ease, padding-inline .2s ease; }
.download-suggested-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--st-primary) 13%, var(--st-line)); border-radius: 11px; background: color-mix(in srgb, var(--st-primary) 5%, var(--st-paper)); color: var(--st-primary); }
.download-suggested-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.download-suggested-copy { display: grid; flex: 1; min-width: 0; gap: 2px; }
.download-suggested-copy strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.download-suggested-copy small { overflow: hidden; color: var(--st-muted); font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.download-suggested-arrow { color: var(--st-primary); font-size: .95rem; opacity: .75; }
.download-suggested-item:hover { padding-inline: 5px; color: var(--st-primary); }
.download-suggested-item:hover .download-suggested-arrow { opacity: 1; }
html[data-theme-mode="dark"] .download-suggested-item { border-bottom-color: color-mix(in srgb, var(--st-white) 12%, transparent); }
@media (max-width: 760px) {
  .single-app-shell .download-stage { margin-top: 22px; }
  .single-app-shell .download-waiting-area,
  .single-app-shell .download-stage .download-store-actions { min-height: 150px; }
  .download-suggested { margin-top: 28px; }
  .download-suggested-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .single-app-shell .download-stage .download-store-actions.is-ready { animation: none; } }

/* Suggested apps: centered editorial list, intentionally not card-based. */
.single-app-shell .download-suggested { width: min(100%, 820px); margin-inline: auto; text-align: center; }
.single-app-shell .download-suggested-heading { align-items: center; flex-direction: column; gap: 4px; text-align: center; }
.single-app-shell .download-suggested-heading h2 { margin-top: 2px; }
.single-app-shell .download-suggested-count { display: block; }
.single-app-shell .download-suggested-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; max-width: 760px; margin-inline: auto; }
.single-app-shell .download-suggested-item { flex: 0 1 350px; justify-content: center; width: 100%; min-height: 61px; padding: 10px 8px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); border-radius: 0; background: transparent; box-shadow: none; text-align: center; }
.single-app-shell .download-suggested-item:hover { padding-inline: 8px; background: transparent; color: var(--st-primary); transform: none; }
.single-app-shell .download-suggested-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 50%; background: transparent; box-shadow: none; }
.single-app-shell .download-suggested-copy { flex: 0 1 auto; max-width: 220px; text-align: center; }
.single-app-shell .download-suggested-copy strong,
.single-app-shell .download-suggested-copy small { max-width: 220px; }
.single-app-shell .download-suggested-arrow { display: none; }
@media (max-width: 760px) {
  .single-app-shell .download-suggested-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
  .single-app-shell .download-suggested-item { flex-basis: auto; max-width: 100%; }
}

/* RTL full-width correction: keep the single page and its gate edge-to-edge. */
.single-app-shell { width: 100%; max-width: none; margin-inline: 0; box-sizing: border-box; overflow-x: clip; }
.single-app-shell .download-gate { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); box-sizing: border-box; }
@media (max-width: 760px) {
  .single-app-shell { padding-inline: 14px; }
  .single-app-shell .download-gate { width: 100vw; margin-inline: calc(50% - 50vw); padding-inline: 18px; }
}

/* Download page typography: compact title for long Arabic app headlines. */
.single-app-shell .download-gate h1 { max-width: 780px; margin: 8px auto 10px; font-size: clamp(1.55rem, 3.2vw, 2.7rem); line-height: 1.28; letter-spacing: -.025em; }
@media (max-width: 760px) {
  .single-app-shell .download-gate h1 { max-width: 560px; font-size: clamp(1.35rem, 7vw, 2.15rem); line-height: 1.35; }
}

/* Fixed header refresh: one calm navigation bar, no scroll morphing. */
:root { --st-fixed-header-space: 92px; }
.site-header,
.site-header.is-scrolled { position: relative; z-index: 1000; width: 100%; height: auto; padding: 8px 0 0; border-bottom: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); background: color-mix(in srgb, var(--st-white) 96%, transparent); backdrop-filter: blur(16px); transition: none; }
.header-inner,
.site-header.is-scrolled .header-inner { width: min(calc(100% - 32px), 1240px); min-height: 66px; padding: 8px 16px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); border-radius: 16px; background: color-mix(in srgb, var(--st-white) 92%, transparent); box-shadow: 0 8px 26px color-mix(in srgb, var(--st-primary) 8%, transparent); transition: none; }
.site-header.is-scrolled { padding-top: 8px; background: color-mix(in srgb, var(--st-white) 96%, transparent); border-bottom-color: color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); }
.site-header.is-scrolled .site-brand,
.site-header.is-scrolled .theme-toggle,
.site-header.is-scrolled .header-home-link,
.site-header.is-scrolled .header-inner { min-width: initial; width: auto; min-height: initial; padding: initial; border-radius: initial; box-shadow: none; transform: none; transition: none; }
.site-header.is-scrolled .header-inner { width: min(calc(100% - 32px), 1240px); min-height: 66px; padding: 8px 16px; border-radius: 16px; box-shadow: 0 8px 26px color-mix(in srgb, var(--st-primary) 8%, transparent); }
.site-header.is-scrolled .site-brand { min-width: 0; transform: none; }
.site-header.is-scrolled .header-status { display: inline-flex; }
.site-header.is-scrolled .header-home-link { width: 38px; height: 38px; }
.site-header.is-scrolled .theme-toggle { flex-basis: 42px; width: 42px; height: 42px; }
.site-header .header-accent-line { height: 2px; margin-bottom: 6px; opacity: .75; }
.site-header .nav-progress { width: min(calc(100% - 64px), 1180px); height: 2px; margin: 6px auto 0; border-radius: 0; animation: none; opacity: .7; }
.site-header .nav-progress.is-complete { opacity: .28; transform: scaleX(1); transition: none; }
.site-main { padding-top: var(--st-fixed-header-space); }
@media (max-width: 760px) {
  :root { --st-fixed-header-space: 120px; }
  .site-header,
  .site-header.is-scrolled { padding-top: 6px; }
  .header-inner,
  .site-header.is-scrolled .header-inner { width: calc(100% - 20px); min-height: 58px; padding: 7px 10px; border-radius: 14px; gap: 8px; }
  .header-brand-cluster { gap: 7px; min-width: 0; }
  .site-brand { min-width: 0; gap: 7px; font-size: .9rem; }
  .site-brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: .68rem; }
  .header-status { display: none !important; }
  .primary-nav { order: 3; flex-basis: 100%; justify-content: stretch; overflow-x: auto; }
  .primary-nav ul { width: max-content; min-width: 100%; justify-content: center; gap: 2px; padding: 3px; }
  .primary-nav a { min-height: 30px; padding: 5px 9px; font-size: .7rem; }
  .header-tools { gap: 4px; }
  .header-search { width: 34px; height: 34px; border-radius: 50%; }
  .header-search:focus-within { width: 150px; }
  .header-search button { flex-basis: 34px; width: 34px; height: 34px; }
  .header-search input { display: none; }
  .header-search:focus-within input { display: block; width: 110px; font-size: .68rem; }
  .header-home-link,
  .site-header.is-scrolled .header-home-link { width: 34px; height: 34px; }
  .theme-toggle,
  .site-header.is-scrolled .theme-toggle { flex-basis: 34px; width: 34px; height: 34px; }
  .theme-toggle-sun, .theme-toggle-moon { font-size: 1rem; }
  .site-header .nav-progress { width: calc(100% - 26px); margin-top: 5px; }
}

/* Natural header mode: not sticky, not fixed, and no scroll morphing. */
:root { --st-fixed-header-space: 0px; }
.site-header,
.site-header.is-scrolled { position: relative; inset: auto; z-index: 100; width: 100%; height: auto; padding: 10px 0 0; border-bottom: 0; background: transparent; backdrop-filter: none; transition: none; }
.header-inner,
.site-header.is-scrolled .header-inner { width: min(calc(100% - 40px), 1240px); min-height: 70px; padding: 9px 18px; border: 1px solid color-mix(in srgb, var(--st-primary) 14%, var(--st-line)); border-radius: 16px; background: color-mix(in srgb, var(--st-white) 92%, transparent); box-shadow: 0 8px 26px color-mix(in srgb, var(--st-primary) 7%, transparent); transition: none; }
.site-header.is-scrolled .site-brand,
.site-header.is-scrolled .theme-toggle,
.site-header.is-scrolled .header-home-link,
.site-header.is-scrolled .header-inner { min-width: initial; min-height: initial; padding: initial; border-radius: initial; box-shadow: none; transform: none; transition: none; }
.site-header.is-scrolled .header-inner { width: min(calc(100% - 40px), 1240px); min-height: 70px; padding: 9px 18px; border-radius: 16px; box-shadow: 0 8px 26px color-mix(in srgb, var(--st-primary) 7%, transparent); }
.site-header.is-scrolled .site-brand { min-width: 0; transform: none; }
.site-header.is-scrolled .header-status { display: inline-flex; }
.site-header.is-scrolled .header-home-link { width: 38px; height: 38px; }
.site-header.is-scrolled .theme-toggle { flex-basis: 42px; width: 42px; height: 42px; }
.site-header .nav-progress { width: min(calc(100% - 80px), 1180px); height: 2px; margin: 6px auto 0; animation: none; opacity: .7; }
.site-main { padding-top: 48px; }
@media (max-width: 760px) {
  :root { --st-fixed-header-space: 0px; }
  .site-header,
  .site-header.is-scrolled { padding-top: 6px; }
  .header-inner,
  .site-header.is-scrolled .header-inner { width: calc(100% - 20px); min-height: 58px; padding: 7px 10px; border-radius: 14px; }
  .site-header.is-scrolled .header-inner { width: calc(100% - 20px); min-height: 58px; padding: 7px 10px; border-radius: 14px; }
  .site-main { padding-top: 32px; }
}

/* Full X-axis navigation bar: edge-to-edge outer bar with centered inner content. */
.site-header .header-inner,
.site-header.is-scrolled .header-inner { width: 100%; max-width: none; min-height: 70px; margin-inline: 0; padding-inline: max(22px, calc((100% - 1380px) / 2)); border-inline: 0; border-radius: 0; box-shadow: none; }
.site-header .header-inner { background: color-mix(in srgb, var(--st-white) 92%, transparent); }
.site-header.is-scrolled .header-inner { width: 100%; max-width: none; min-height: 70px; padding-inline: max(22px, calc((100% - 1380px) / 2)); border-inline: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 760px) {
  .site-header .header-inner,
  .site-header.is-scrolled .header-inner { width: 100%; min-height: 58px; padding-inline: 14px; border-inline: 0; border-radius: 0; }
}

/* Repeated app-section titles: allow clean two-line wrapping on phones. */
.app-list-heading > div { min-width: 0; }
.app-list-heading h2 { max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
@media (max-width: 760px) {
  .app-list-heading { align-items: flex-start; gap: 10px; }
  .app-list-heading > div { width: 100%; min-width: 0; }
  .app-list-heading h2 { display: block; max-width: 100%; overflow: visible; font-size: clamp(1.08rem, 5.4vw, 1.55rem); line-height: 1.35; text-overflow: clip; white-space: normal; word-break: normal; }
  .app-list-heading .carousel-category-chip { align-self: flex-start; }
}

/* Article contents timeline: open editorial section, not a heavy card. */
.article-outline { margin-block: 26px 8px; padding-block: 22px 8px; border-block: 1px solid var(--st-line); background: transparent; }
.article-outline .app-panel-heading { margin-bottom: 14px; }
.article-outline-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: article-outline; }
.article-outline-item { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 48px; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--st-line) 78%, transparent); counter-increment: article-outline; }
.article-outline-item:last-child { border-bottom: 0; }
.article-outline-number { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--st-primary) 9%, transparent); color: var(--st-primary); font-size: .68rem; font-weight: 900; }
.article-outline-title { min-width: 0; color: var(--st-ink); font-size: .92rem; line-height: 1.65; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .article-outline { margin-block: 20px 4px; padding-block: 18px 4px; }
  .article-outline-item { grid-template-columns: 36px minmax(0, 1fr); gap: 9px; min-height: 44px; padding: 8px 0; }
  .article-outline-number { width: 27px; height: 27px; font-size: .62rem; }
  .article-outline-title { font-size: .8rem; line-height: 1.6; }
}

/* Brief polish layer: reviews, sharing, typography, categories and responsive footer. */
body { font-size: 16px; }
.entry-content, .app-content-flow, .app-author-content, .app-review p, .app-comments-note, .comment-form label, .comment-form input, .comment-form textarea, .article-category-links a, .footer-category-menu a { font-size: 16px; line-height: 1.85; }

/* ── Calm Single App Hero ── */
.store-app-hero-calm { display: flex; align-items: center; gap: 28px; padding: 28px 32px; border: 1px solid color-mix(in srgb, var(--st-primary) 14%, var(--st-line)); border-radius: 24px; background: linear-gradient(135deg, color-mix(in srgb, var(--st-white) 96%, var(--st-primary) 4%), var(--st-white)); box-shadow: 0 10px 32px color-mix(in srgb, var(--st-primary) 6%, transparent); direction: rtl; }
.store-app-hero-calm .store-app-identity { flex: 0 0 auto; }
.store-app-hero-calm .store-app-icon-frame { width: 104px; height: 104px; border-radius: 22px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--st-primary) 15%, var(--st-line)); background: var(--st-white); box-shadow: 0 8px 24px rgba(0,0,0,.06); display: grid; place-items: center; }
.store-app-hero-calm .store-app-icon { width: 100%; height: 100%; object-fit: cover; }
.store-app-hero-calm .store-app-summary { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.store-app-meta-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 2px; }
.store-app-category { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--st-primary) 12%, transparent); color: var(--st-primary); font-size: .78rem; font-weight: 800; text-decoration: none; transition: all .2s ease; }
.store-app-category:hover { background: var(--st-primary); color: #fff; }
.store-app-dev-badge { color: var(--st-muted); font-size: .8rem; font-weight: 600; }
.store-app-hero-calm h1.entry-title { font-size: clamp(1.4rem, 3.2vw, 2.2rem); color: var(--st-ink); margin: 0; line-height: 1.25; font-weight: 850; }
.store-app-rating-row { display: flex; align-items: center; gap: 8px; margin-top: 2px; flex-wrap: wrap; }
.store-stars { color: #f59e0b; font-size: 1.15rem; letter-spacing: 2px; line-height: 1; }
.store-rating-score { color: var(--st-ink); font-size: 1.05rem; font-weight: 900; }
.store-rating-count { color: var(--st-muted); font-size: .82rem; }
.store-app-hero-calm .single-app-stats { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.store-app-hero-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.store-hero-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 22px; font-size: .9rem; font-weight: 800; border-radius: 12px; background: linear-gradient(135deg, var(--st-primary), color-mix(in srgb, var(--st-primary) 76%, var(--st-accent))); color: #fff !important; box-shadow: 0 8px 22px color-mix(in srgb, var(--st-primary) 22%, transparent); text-decoration: none; transition: all .25s ease; }
.store-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px color-mix(in srgb, var(--st-primary) 32%, transparent); filter: brightness(1.06); }
.store-hero-share { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; font-size: .85rem; border-radius: 12px; text-decoration: none; }

/* ── High-End User Ratings & Reviews Dashboard ── */
.app-reviews-top { margin-block: 20px 28px; }
.app-rating-dashboard { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 8px; direction: rtl; }
.app-rating-main-card { padding: 24px 18px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--st-primary) 15%, var(--st-line)); background: color-mix(in srgb, var(--st-white) 92%, var(--st-primary) 8%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.app-rating-big-score { font-size: 3.4rem; font-weight: 900; line-height: 1; color: var(--st-ink); letter-spacing: -.03em; }
.app-rating-stars-gold { color: #f59e0b; font-size: 1.4rem; letter-spacing: 3px; line-height: 1; }
.app-rating-total-label { color: var(--st-muted); font-size: .82rem; font-weight: 750; }
.app-rating-add-btn { margin-top: 6px; width: 100%; border-radius: 10px; text-decoration: none; }
.app-review-list { display: flex; flex-direction: column; gap: 12px; }
.app-review-card { padding: 16px 18px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); background: var(--st-white); display: flex; flex-direction: column; gap: 10px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.app-review-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--st-primary) 26%, var(--st-line)); box-shadow: 0 8px 24px color-mix(in srgb, var(--st-primary) 8%, transparent); }
.app-review-header { display: flex; align-items: center; gap: 12px; }
.app-review-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--st-primary), var(--st-accent)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .95rem; flex-shrink: 0; }
.app-review-user { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.app-review-user strong { font-size: .88rem; color: var(--st-ink); display: flex; align-items: center; gap: 6px; }
.app-verified-badge { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #10b981; color: #fff; font-size: .64rem; font-weight: 900; line-height: 1; }
.app-review-user time { color: var(--st-muted); font-size: .74rem; }
.app-review-stars-badge { color: #f59e0b; font-size: .95rem; letter-spacing: 2px; flex-shrink: 0; }
.app-review-body { margin: 0; color: var(--st-ink); font-size: .9rem; line-height: 1.65; background: color-mix(in srgb, var(--st-primary) 3%, transparent); padding: 10px 14px; border-radius: 12px; }
.app-no-reviews-box { padding: 32px 20px; border-radius: 16px; border: 1px dashed color-mix(in srgb, var(--st-primary) 24%, var(--st-line)); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; background: color-mix(in srgb, var(--st-white) 80%, transparent); }
.app-no-reviews-icon { font-size: 2.2rem; color: #f59e0b; line-height: 1; margin-bottom: 2px; }
.app-no-reviews-box strong { font-size: .96rem; color: var(--st-ink); }
.app-no-reviews-box p { margin: 0; font-size: .84rem; color: var(--st-muted); }

/* ── Calm, Sleek Most Visited Cards in Home Page ── */
.app-latest-grid .app-carousel-card { padding: 16px 14px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: 18px; background: var(--st-white); border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); box-shadow: 0 4px 18px color-mix(in srgb, var(--st-primary) 6%, transparent); transition: all .25s cubic-bezier(.22,.8,.27,1); cursor: pointer; text-decoration: none; }
.app-latest-grid .app-carousel-card:hover { transform: translateY(-4px); border-color: var(--st-primary); box-shadow: 0 12px 28px color-mix(in srgb, var(--st-primary) 16%, transparent); }
.app-latest-grid .app-carousel-cover { width: 76px; height: 76px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 18px; overflow: hidden; background: color-mix(in srgb, var(--st-primary) 8%, var(--st-white)); border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); transition: transform .25s ease; }
.app-latest-grid .app-carousel-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.app-latest-grid .app-carousel-card:hover .app-carousel-cover { transform: scale(1.08); }
.app-latest-grid .app-carousel-card-body { padding: 0; width: 100%; }
.app-latest-grid .app-carousel-card-body h3 { font-size: .88rem; font-weight: 800; margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-latest-grid .app-carousel-rating { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--st-primary) 10%, transparent); color: var(--st-primary); font-size: .74rem; font-weight: 800; }

html[data-theme-mode="dark"] .store-app-hero-calm { background: linear-gradient(135deg, color-mix(in srgb, var(--st-white) 90%, var(--st-primary) 10%), var(--st-white)); border-color: color-mix(in srgb, var(--st-primary) 26%, var(--st-line)); }
html[data-theme-mode="dark"] .app-rating-main-card { background: color-mix(in srgb, var(--st-white) 88%, var(--st-primary) 12%); border-color: color-mix(in srgb, var(--st-primary) 28%, var(--st-line)); }
html[data-theme-mode="dark"] .app-review-card { background: color-mix(in srgb, var(--st-white) 92%, transparent); border-color: color-mix(in srgb, var(--st-primary) 20%, var(--st-line)); }
html[data-theme-mode="dark"] .app-latest-grid .app-carousel-card { background: color-mix(in srgb, var(--st-white) 92%, transparent); border-color: color-mix(in srgb, var(--st-primary) 20%, var(--st-line)); }
html[data-theme-mode="dark"] .app-latest-grid .app-carousel-cover { background: color-mix(in srgb, var(--st-white) 96%, transparent); border-color: color-mix(in srgb, var(--st-primary) 24%, var(--st-line)); }

/* ── Categorized Similar Apps Section (2 Apps per Category) ── */
.similar-apps-categorized { margin-block: 28px 20px; }
.similar-categories-flow { display: flex; flex-direction: column; gap: 24px; direction: rtl; }
.similar-category-block { padding: 22px 24px; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--st-primary) 14%, var(--st-line)); background: color-mix(in srgb, var(--st-white) 94%, var(--st-primary) 6%); box-shadow: 0 8px 24px color-mix(in srgb, var(--st-primary) 5%, transparent); transition: all .25s ease; }
.similar-category-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid color-mix(in srgb, var(--st-primary) 10%, var(--st-line)); flex-wrap: wrap; }
.similar-category-title-wrap { display: flex; align-items: center; gap: 8px; }
.similar-category-tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; background: color-mix(in srgb, var(--st-primary) 14%, transparent); color: var(--st-primary); font-size: .72rem; font-weight: 850; }
.similar-category-name { margin: 0; font-size: 1.08rem; font-weight: 850; color: var(--st-ink); }
.similar-category-link-all { display: inline-flex; align-items: center; gap: 5px; color: var(--st-primary); font-size: .82rem; font-weight: 800; text-decoration: none; transition: transform .2s ease; }
.similar-category-link-all:hover { transform: translateX(-4px); }
.similar-category-link-all svg { transform: rotate(180deg); }
.similar-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.similar-app-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); background: var(--st-white); box-shadow: 0 4px 14px color-mix(in srgb, var(--st-primary) 5%, transparent); transition: all .25s cubic-bezier(.22,.8,.27,1); cursor: pointer; text-decoration: none; }
.similar-app-item:hover { transform: translateY(-3px); border-color: var(--st-primary); box-shadow: 0 10px 24px color-mix(in srgb, var(--st-primary) 14%, transparent); }
.similar-app-icon-link { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 16px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); background: color-mix(in srgb, var(--st-primary) 8%, var(--st-white)); display: grid; place-items: center; transition: transform .25s ease; text-decoration: none; }
.similar-app-icon-link img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.similar-app-item:hover .similar-app-icon-link { transform: scale(1.06); }
.similar-app-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.similar-app-title { margin: 0; font-size: .94rem; font-weight: 800; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.similar-app-title a { color: var(--st-ink); text-decoration: none; }
.similar-app-title a:hover { color: var(--st-primary); }
.similar-app-author { margin: 0; color: var(--st-muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.similar-app-meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.similar-app-score { color: #f59e0b; font-size: .76rem; font-weight: 800; }
.similar-app-dl { color: var(--st-muted); font-size: .72rem; }
.similar-app-action { flex: 0 0 auto; }
.similar-app-btn { min-height: 34px; padding: 4px 14px; font-size: .78rem; border-radius: 999px; text-decoration: none; }

html[data-theme-mode="dark"] .similar-category-block { background: color-mix(in srgb, var(--st-white) 90%, var(--st-primary) 10%); border-color: color-mix(in srgb, var(--st-primary) 24%, var(--st-line)); }
html[data-theme-mode="dark"] .similar-app-item { background: color-mix(in srgb, var(--st-white) 94%, transparent); border-color: color-mix(in srgb, var(--st-primary) 20%, var(--st-line)); }
html[data-theme-mode="dark"] .similar-app-icon-link { background: color-mix(in srgb, var(--st-white) 96%, transparent); border-color: color-mix(in srgb, var(--st-primary) 24%, var(--st-line)); }

.app-share-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.app-share-links a, .app-share-links .share-copy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 18px; border: 1px solid var(--st-line); border-radius: 12px; background: transparent; color: var(--st-ink); font-size: 16px; font-weight: 800; text-decoration: none; transition: all .25s ease; }
.app-share-links a:hover, .app-share-links .share-copy:hover { border-color: var(--st-primary); color: var(--st-primary); background: color-mix(in srgb, var(--st-primary) 7%, transparent); transform: translateY(-3px); box-shadow: 0 8px 20px color-mix(in srgb, var(--st-primary) 12%, transparent); }
.app-share-links svg { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.footer-main { grid-template-columns: minmax(1.2fr, 1.4fr) repeat(3, minmax(0, 1fr)); }
.footer-category-menu { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-category-menu a { display: inline-flex; color: var(--st-footer-muted, #e8e7f2); text-decoration: none; font-size: 14px; }
.footer-category-menu a:hover { color: var(--st-footer-text, #fff); }
.article-category-links { display: flex; flex-wrap: wrap; gap: 10px; }
.article-category-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--st-line); border-radius: 12px; color: var(--st-ink); text-decoration: none; transition: all .2s ease; }
.article-category-links a:hover { border-color: var(--st-primary); color: var(--st-primary); background: color-mix(in srgb, var(--st-primary) 6%, transparent); transform: translateY(-2px); }
.app-carousel-cover, .app-list-icon { cursor: pointer; text-decoration: none; }
@media (max-width: 760px) {
  .store-app-hero-calm { flex-direction: column; text-align: center; padding: 22px 16px; gap: 16px; }
  .store-app-hero-calm .store-app-summary { align-items: center; }
  .store-app-meta-top { justify-content: center; }
  .store-app-rating-row { justify-content: center; }
  .store-app-hero-calm .single-app-stats { justify-content: center; }
  .store-app-hero-actions { justify-content: center; width: 100%; }
  .store-hero-cta, .store-hero-share { width: 100%; justify-content: center; }
  .app-rating-dashboard { grid-template-columns: 1fr; gap: 16px; }
  .app-latest-grid .app-carousel-card { padding: 12px 10px 10px; }
  .app-latest-grid .app-carousel-cover { width: 62px; height: 62px; border-radius: 14px; }
  .app-latest-grid .app-carousel-cover img { border-radius: 14px; }
  .similar-category-grid { grid-template-columns: 1fr; gap: 10px; }
  .similar-category-block { padding: 14px 12px; }
  .similar-app-item { padding: 10px 12px; gap: 10px; }
  .similar-app-icon-link { width: 48px; height: 48px; border-radius: 12px; }
  .similar-app-icon-link img { border-radius: 12px; }
  .similar-app-title { font-size: .84rem; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .app-share-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .app-share-links a, .app-share-links .share-copy { width: 100%; padding-inline: 8px; font-size: 16px; }
  .app-share-links svg { width: 17px; height: 17px; }
  .article-category-links { gap: 8px; }
  .article-category-links a { font-size: 16px; }
}


/* ═══════════════════════════════════════════════════════════════════
   DESIGN OVERHAUL 2026 — Premium, spacious, modern Arabic theme
   ═══════════════════════════════════════════════════════════════════ */

/* ── Global typography: enforce minimum 14px everywhere ── */
.primary-nav a { font-size: max(var(--st-nav-font-size, 13px), 14px); }
.eyebrow { font-size: .82rem; letter-spacing: .1em; }
.app-carousel-card-body h3 { font-size: .92rem; }
.app-carousel-rating { font-size: .78rem; }
.app-list-content h3 { font-size: 1.1rem; }
.app-list-developer { font-size: .84rem; }
.app-list-meta { font-size: .82rem; }
.app-list-details { font-size: .8rem; }
.app-list-downloads { font-size: .82rem; }
.category-app-copy h3 { font-size: 1.15rem; }
.category-app-developer { font-size: .82rem; }
.category-app-description { font-size: .84rem; }
.footer-menu a { font-size: .88rem; }
.footer-description { font-size: .92rem; }
.footer-bottom { font-size: .82rem; }
.app-review-head strong { font-size: .88rem; }
.app-review p { font-size: .88rem; line-height: 1.85; }
.app-review-stars { font-size: .84rem; }
.similar-app-copy h3 { font-size: .96rem; }
.similar-app-copy p { font-size: .8rem; }
.store-detail-row { font-size: .88rem; }
.app-comments label, .app-comments legend { font-size: .84rem; }
.app-comments input[type="text"], .app-comments input[type="email"], .app-comments textarea { font-size: .88rem; }
.app-comments-note { font-size: .88rem; }
.home-hero-description { font-size: 1.12rem; }
.single-app-breadcrumbs { font-size: .82rem; }
.single-app-breadcrumbs a { font-size: .82rem; }

/* ── Enhanced spacing: breathing room between sections ── */
.site-main { padding-block: 28px 48px; }
.home-hero { min-height: 0 !important; padding: 28px 0 14px; }
.app-carousel-section { margin-top: 24px; padding: 26px 0 18px; }
.app-list-section { padding-block: 36px 22px; }
.app-list-section + .app-list-section { padding-top: 36px; }
.app-list-items { gap: 14px; }
.app-list-card { padding: 16px 18px; min-height: 110px; gap: 18px; }
.section-heading { margin-bottom: 20px; }
.app-detail-panel { margin-top: 36px; padding-top: 28px; }
.single-app-shell .app-detail-panel { padding: 24px 0; }
.single-app-shell .store-app-hero { padding-block: 28px 32px; margin-bottom: 6px; }
.single-app-shell .single-app-breadcrumbs { margin-bottom: 6px; padding-block: 8px; }
.similar-app-grid { gap: 14px; }
.similar-app-card { padding: 14px; gap: 12px; min-height: 94px; }
.app-share-links { gap: 10px; margin-top: 6px; }
.app-final-download { margin-top: 42px; padding-top: 28px; }
.single-app-shell .app-panel-heading { margin-bottom: 16px; }

/* ── Compact Hero Section (Reduced Y-Axis) ── */
.home-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 0 !important; padding: 24px 0 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--st-primary) 6%, var(--st-paper)), var(--st-paper)); }
.home-hero-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 3px 12px; border: 1px solid color-mix(in srgb, var(--st-primary) 16%, var(--st-line)); border-radius: 999px; background: color-mix(in srgb, var(--st-white) 88%, transparent); color: var(--st-muted); font-size: .74rem; font-weight: 750; }
.home-hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--st-primary); }
.home-hero h1 { max-width: 820px; margin: 10px auto 6px; color: var(--st-ink); font-size: clamp(1.65rem, 3.8vw, 2.75rem); line-height: 1.2; letter-spacing: -.04em; }
.home-hero-accent { min-width: 3.2em; height: 1.2em; }
.home-hero-description { max-width: 580px; margin: 0 auto 6px; color: var(--st-muted); font-size: .95rem; line-height: 1.6; }
.home-search { width: min(100%, 540px); min-height: 46px; margin: 10px auto 0; padding: 4px 6px; border: 1px solid color-mix(in srgb, var(--st-primary) 18%, var(--st-line)); border-radius: 999px; background: var(--st-white); box-shadow: 0 8px 24px color-mix(in srgb, var(--st-primary) 10%, transparent); }
.home-search input { height: 38px; padding: 4px 10px; font-size: .84rem; }
.home-search-button { min-width: 78px; height: 38px; padding: 6px 14px; font-size: .82rem; border-radius: 999px; }
.home-search-status { min-height: 1.2em; margin: 4px 0 0; font-size: .74rem; }
.home-hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.home-hero-stat { min-width: 100px; padding: 2px 14px; }
.home-hero-stat strong { font-size: 1.35rem; line-height: 1.1; }
.home-hero-stat span { font-size: .72rem; }
.home-hero-actions { margin-top: 12px; gap: 10px; justify-content: center; }
.home-hero-actions .button { min-width: 130px; min-height: 40px; padding: 7px 16px; font-size: .84rem; }

/* ── Automated Categories Strip Bar (Compact & Sleek) ── */
.home-categories-bar { width: 100%; padding: 6px 0 16px; }
.home-categories-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; padding: 10px 16px; border: 1px solid color-mix(in srgb, var(--st-primary) 14%, var(--st-line)); border-radius: 18px; background: color-mix(in srgb, var(--st-white) 90%, transparent); backdrop-filter: blur(12px); box-shadow: 0 4px 16px color-mix(in srgb, var(--st-primary) 5%, transparent); }
.home-categories-label { display: inline-flex; align-items: center; gap: 6px; color: var(--st-primary); font-size: .82rem; font-weight: 850; white-space: nowrap; }
.home-categories-label svg { flex-shrink: 0; }
.home-categories-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; }
.home-category-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 12px; border: 1px solid color-mix(in srgb, var(--st-primary) 16%, var(--st-line)); border-radius: 999px; background: var(--st-white); color: var(--st-ink); font-size: .82rem; font-weight: 750; text-decoration: none; transition: all .2s cubic-bezier(.22,.8,.27,1); }
.home-category-badge:hover { border-color: var(--st-primary); background: color-mix(in srgb, var(--st-primary) 10%, var(--st-white)); color: var(--st-primary); transform: translateY(-2px); box-shadow: 0 6px 16px color-mix(in srgb, var(--st-primary) 14%, transparent); }
.home-category-badge-name { white-space: nowrap; }
.home-category-badge-count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: color-mix(in srgb, var(--st-primary) 12%, transparent); color: var(--st-primary); font-size: .68rem; font-weight: 900; }
html[data-theme-mode="dark"] .home-categories-strip { background: color-mix(in srgb, var(--st-white) 88%, transparent); border-color: color-mix(in srgb, var(--st-primary) 30%, var(--st-line)); }
html[data-theme-mode="dark"] .home-category-badge { background: color-mix(in srgb, var(--st-white) 94%, transparent); border-color: color-mix(in srgb, var(--st-primary) 28%, var(--st-line)); color: var(--st-ink); }
html[data-theme-mode="dark"] .home-category-badge:hover { background: color-mix(in srgb, var(--st-primary) 24%, var(--st-white)); border-color: var(--st-primary); color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--st-primary) 30%, transparent); }

/* ── Premium Dark Mode Buttons & Interactive Elements ── */
html[data-theme-mode="dark"] .button { background: linear-gradient(135deg, #7c73ff, #635bff); border-color: transparent; color: #ffffff !important; box-shadow: 0 6px 18px rgba(124, 115, 255, .28); }
html[data-theme-mode="dark"] .button:hover { background: linear-gradient(135deg, #8f87ff, #756dff); border-color: transparent; color: #ffffff !important; box-shadow: 0 10px 28px rgba(124, 115, 255, .45); transform: translateY(-2px); }
html[data-theme-mode="dark"] .button.button-ghost { background: color-mix(in srgb, var(--st-primary) 14%, transparent); border: 1px solid color-mix(in srgb, var(--st-primary) 42%, var(--st-line)); color: var(--st-primary) !important; box-shadow: none; }
html[data-theme-mode="dark"] .button.button-ghost:hover { background: color-mix(in srgb, var(--st-primary) 26%, transparent); border-color: var(--st-primary); color: #ffffff !important; box-shadow: 0 8px 22px color-mix(in srgb, var(--st-primary) 30%, transparent); }
html[data-theme-mode="dark"] .app-list-actions .button,
html[data-theme-mode="dark"] .button.button-small { background: linear-gradient(135deg, #7c73ff, color-mix(in srgb, #7c73ff 80%, var(--st-accent))); border: none; color: #ffffff !important; }
html[data-theme-mode="dark"] .app-list-actions .button:hover,
html[data-theme-mode="dark"] .button.button-small:hover { filter: brightness(1.15); box-shadow: 0 8px 22px rgba(124, 115, 255, .42); }
html[data-theme-mode="dark"] .store-download-button,
html[data-theme-mode="dark"] .app-final-download .store-download-button { background: linear-gradient(135deg, #7c73ff, #ff6b6b); border: none; color: #ffffff !important; box-shadow: 0 10px 30px rgba(124, 115, 255, .35); }
html[data-theme-mode="dark"] .store-download-button:hover,
html[data-theme-mode="dark"] .app-final-download .store-download-button:hover { filter: brightness(1.15); box-shadow: 0 16px 38px rgba(124, 115, 255, .5); }
html[data-theme-mode="dark"] .download-store-button { background: color-mix(in srgb, var(--st-white) 90%, var(--st-primary) 10%); border: 1px solid color-mix(in srgb, var(--st-primary) 32%, var(--st-line)); color: var(--st-ink); }
html[data-theme-mode="dark"] .download-store-button:hover { background: color-mix(in srgb, var(--st-primary) 22%, var(--st-white)); border-color: var(--st-primary); color: #fff; box-shadow: 0 10px 26px color-mix(in srgb, var(--st-primary) 30%, transparent); }
html[data-theme-mode="dark"] .download-store-button small { color: var(--st-muted); }
html[data-theme-mode="dark"] .download-store-button:hover small { color: rgba(255,255,255,.85); }
html[data-theme-mode="dark"] .home-search { background: color-mix(in srgb, var(--st-white) 92%, var(--st-primary) 8%); border-color: color-mix(in srgb, var(--st-primary) 28%, var(--st-line)); }
html[data-theme-mode="dark"] .home-search-button { background: linear-gradient(135deg, #7c73ff, color-mix(in srgb, #7c73ff 72%, var(--st-accent))); color: #fff !important; }
html[data-theme-mode="dark"] .home-search-button:hover { filter: brightness(1.14); }
html[data-theme-mode="dark"] .app-share-links a,
html[data-theme-mode="dark"] .app-share-links .share-copy { background: color-mix(in srgb, var(--st-white) 88%, transparent); border: 1px solid color-mix(in srgb, var(--st-primary) 22%, var(--st-line)); color: var(--st-ink); }
html[data-theme-mode="dark"] .app-share-links a:hover,
html[data-theme-mode="dark"] .app-share-links .share-copy:hover { border-color: var(--share-color, var(--st-primary)); color: var(--share-color, var(--st-primary)); background: color-mix(in srgb, var(--share-color, var(--st-primary)) 16%, var(--st-white)); box-shadow: 0 8px 20px color-mix(in srgb, var(--share-color, var(--st-primary)) 25%, transparent); }
html[data-theme-mode="dark"] .app-comments .form-submit .submit { background: linear-gradient(135deg, #7c73ff, #635bff); border: none; color: #fff !important; }
html[data-theme-mode="dark"] .app-comments .form-submit .submit:hover { filter: brightness(1.15); box-shadow: 0 10px 25px rgba(124, 115, 255, .4); }
html[data-theme-mode="dark"] .telegram-download-link { background: color-mix(in srgb, #159bd7 15%, var(--st-white)); border-color: color-mix(in srgb, #159bd7 40%, var(--st-line)); color: #fff; }
html[data-theme-mode="dark"] .telegram-download-link:hover { background: color-mix(in srgb, #159bd7 25%, var(--st-white)); border-color: #159bd7; box-shadow: 0 10px 24px rgba(21, 155, 215, .3); }
html[data-theme-mode="dark"] .article-category-links a { background: color-mix(in srgb, var(--st-white) 88%, transparent); border-color: color-mix(in srgb, var(--st-primary) 25%, var(--st-line)); color: var(--st-ink); }
html[data-theme-mode="dark"] .article-category-links a:hover { background: color-mix(in srgb, var(--st-primary) 20%, var(--st-white)); border-color: var(--st-primary); color: #fff; }

/* ── Enhanced download button ── */
.app-list-actions .button,
.button.button-small { min-height: 40px; padding: 8px 15px; font-size: .82rem; font-weight: 800; border-radius: 10px; transition: all .25s ease; }
.app-list-actions .button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px color-mix(in srgb, var(--st-primary) 18%, transparent); }
.app-final-download .store-download-button { min-height: 54px; font-size: .96rem; border-radius: 14px; background: linear-gradient(135deg, var(--st-primary), color-mix(in srgb, var(--st-primary) 78%, var(--st-accent))); border-color: transparent; transition: all .3s ease; }
.app-final-download .store-download-button:hover { transform: translateY(-3px); box-shadow: 0 14px 30px color-mix(in srgb, var(--st-primary) 22%, transparent); filter: brightness(1.06); }

/* ── Enhanced share buttons with prominent icons ── */
.app-share-links .share-facebook { --share-color: #1877f2; }
.app-share-links .share-x { --share-color: #111827; }
.app-share-links .share-whatsapp { --share-color: #16a34a; }
.app-share-links .share-telegram { --share-color: #159bd7; }
.app-share-links a:hover, .app-share-links .share-copy:hover { border-color: var(--share-color, var(--st-primary)); color: var(--share-color, var(--st-primary)); background: color-mix(in srgb, var(--share-color, var(--st-primary)) 8%, transparent); }

/* ── Table of contents: clickable links ── */
.article-outline-link { display: block; min-width: 0; color: var(--st-ink); font-size: .92rem; line-height: 1.6; overflow-wrap: anywhere; text-decoration: none; transition: color .2s ease, padding .2s ease; }
.article-outline-link:hover { color: var(--st-primary); padding-inline-start: 6px; }
.article-outline-item { transition: background .2s ease; border-radius: 8px; }
.article-outline-item:hover { background: color-mix(in srgb, var(--st-primary) 4%, transparent); }

/* ── Enhanced review cards ── */
.app-review { padding: 16px 18px; border-radius: 14px; transition: transform .2s ease, border-color .2s ease; }
.app-review:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--st-primary) 22%, var(--st-line)); }
.app-rating-summary { padding: 14px 18px; border-radius: 14px; }
.app-rating-summary strong { font-size: 1.6rem; }

/* ── Enhanced card interactions ── */
.app-carousel-card { transition: all .3s cubic-bezier(.22,.8,.27,1); }
.app-carousel-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 28px color-mix(in srgb, var(--st-primary) 14%, transparent); border-color: color-mix(in srgb, var(--st-primary) 28%, var(--st-line)); }
.app-list-card { transition: all .3s cubic-bezier(.22,.8,.27,1); }
.app-list-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px color-mix(in srgb, var(--st-primary) 12%, transparent); border-color: color-mix(in srgb, var(--st-primary) 32%, var(--st-line)); }
.similar-app-card { transition: all .3s cubic-bezier(.22,.8,.27,1); }
.similar-app-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px color-mix(in srgb, var(--st-primary) 10%, transparent); border-color: color-mix(in srgb, var(--st-primary) 28%, var(--st-line)); }

/* ── Premium section separators with accent gradient ── */
.app-list-section::before { height: 3px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--st-primary) 62%, transparent) 25%, color-mix(in srgb, var(--st-accent) 55%, transparent) 75%, transparent); opacity: .7; }
.single-app-shell .app-detail-panel { border-top: 2px solid color-mix(in srgb, var(--st-primary) 14%, var(--st-line)); }

/* ── Improved mobile tap targets and clickable images ── */
.app-carousel-cover img,
.app-list-icon img,
.similar-app-cover img { cursor: pointer; }
.app-carousel-cover { display: flex; align-items: center; justify-content: center; }
.app-list-icon { transition: transform .25s ease; }
.app-list-card:hover .app-list-icon { transform: scale(1.05); }

/* ── Footer enhanced ── */
.site-footer { padding-top: 52px; padding-bottom: 24px; }
.footer-main { gap: 38px; padding: 16px 0 30px; }
.footer-column-title { font-size: .88rem; margin-bottom: 16px; position: relative; padding-bottom: 8px; }
.footer-column-title::after { content: ""; position: absolute; bottom: 0; right: 0; width: 28px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.35); }
.footer-bottom { padding-top: 20px; font-size: .82rem; }
.footer-description { font-size: .9rem; line-height: 1.8; }
.footer-menu a { font-size: .84rem; padding: 3px 0; display: inline-block; }
.footer-social-link { width: 40px; height: 40px; transition: all .3s ease; }
.footer-social-link:hover { transform: translateY(-3px) scale(1.06); }

/* ── App list heading improvements ── */
.app-list-heading h2 { font-size: clamp(1.45rem, 2.8vw, 2.2rem); }
.app-carousel-heading h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); }

/* ── Store app hero (article page) enhancements ── */
.single-app-shell .store-app-summary .entry-title { font-size: clamp(1.75rem, 4.2vw, 3rem); margin: 6px 0 4px; }
.single-app-shell .store-app-summary .app-developer { font-size: .88rem; }
.single-app-shell .single-app-stats .app-stat strong { font-size: 1rem; }
.single-app-shell .single-app-stats .app-stat small { font-size: .7rem; }
.single-app-shell .store-app-icon-frame { border-radius: 18px; background: linear-gradient(145deg, color-mix(in srgb, var(--st-primary) 10%, var(--st-white)), var(--st-white)); }

/* ── Comments form improvement ── */
.app-comments .comment-form { gap: 14px; }
.app-comments input[type="text"], .app-comments textarea { padding: 12px 15px; border-radius: 12px; font-size: .88rem; }
.app-comments textarea { min-height: 130px; }
.app-comments .form-submit .submit { min-height: 46px; min-width: 160px; font-size: .88rem; border-radius: 12px; }
.comment-rating-options span { min-height: 38px; padding: 6px 12px; font-size: .8rem; border-radius: 999px; }

/* ── Most downloaded section enhancements ── */
.app-most-downloaded-section .app-list-heading { margin-bottom: 18px; }
.app-most-downloaded-card .app-list-actions .button { background: linear-gradient(135deg, var(--st-primary), color-mix(in srgb, var(--st-primary) 72%, var(--st-accent))); border-color: transparent; }
.app-most-downloaded-card .app-list-actions .button:hover { filter: brightness(1.08); }

/* ── Telegram link refinement ── */
.telegram-download-link { padding: 12px 14px; border-radius: 12px; gap: 12px; }
.telegram-download-link strong { font-size: .84rem; }
.telegram-download-link small { font-size: .72rem; }
.telegram-download-link svg { flex-basis: 26px; width: 26px; height: 26px; }

/* ═══════════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE — 100% visible without scrolling!
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  /* ── Ultra-compact mobile spacing ── */
  .site-main { padding-block: 14px 28px; }

  /* ── Ultra-compact Mobile Hero: fits above the fold ── */
  .home-hero { padding: 14px 0 8px !important; min-height: 0 !important; }
  .home-hero-badge { min-height: 24px; padding: 2px 9px; font-size: .7rem; }
  .home-hero-badge-dot { width: 6px; height: 6px; }
  .home-hero h1 { max-width: 100%; margin: 6px auto 4px; font-size: clamp(1.28rem, 5.4vw, 1.7rem) !important; line-height: 1.25; }
  .home-hero-accent { min-width: 3em; }
  .home-hero-description { max-width: 96%; margin: 0 auto 4px; font-size: .82rem !important; line-height: 1.45; }
  .home-search { width: 100%; min-height: 40px; margin: 6px auto 0; padding: 3px 5px; }
  .home-search input { height: 32px; font-size: .78rem; padding: 2px 8px; }
  .home-search-button { height: 32px; min-width: 62px; font-size: .76rem; padding: 4px 10px; }
  .home-search-status { min-height: 0; margin-top: 2px; font-size: .68rem; }
  .home-hero-stats { margin-top: 6px; gap: 4px; }
  .home-hero-stat { min-width: 70px; padding: 2px 8px; }
  .home-hero-stat strong { font-size: 1.1rem; }
  .home-hero-stat span { font-size: .66rem; }
  .home-hero-actions { margin-top: 6px; gap: 6px; }
  .home-hero-actions .button { min-height: 34px; padding: 5px 12px; font-size: .76rem; min-width: 96px; }

  /* ── Clean Mobile Categories Bar: Clear & visible without scrolling! ── */
  .home-categories-bar { padding: 4px 0 10px; }
  .home-categories-strip { padding: 6px 8px; border-radius: 12px; gap: 5px; justify-content: center; background: color-mix(in srgb, var(--st-white) 94%, transparent); }
  .home-categories-label { display: none; /* Saved space for immediate view of all badges */ }
  .home-categories-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; width: 100%; }
  .home-category-badge { min-height: 28px; padding: 3px 8px; font-size: .74rem; border-radius: 999px; }
  .home-category-badge-name { font-size: .74rem; font-weight: 700; }
  .home-category-badge-count { min-width: 17px; height: 17px; font-size: .6rem; padding: 0 4px; }

  /* ── App cards mobile ── */
  .app-list-card { padding: 12px; gap: 12px; min-height: 94px; }
  .app-list-icon { flex-basis: 64px; width: 64px; height: 64px; border-radius: 13px; }
  .app-list-content h3 { font-size: .92rem; }
  .app-list-developer { font-size: .78rem; }
  .app-list-meta { font-size: .74rem; }
  .app-list-actions .button { min-height: 38px; min-width: 68px; padding: 7px 11px; font-size: .76rem; }
  .app-list-details { font-size: .72rem; }
  .app-list-section { padding-block: 28px 16px; }
  .app-list-section + .app-list-section { padding-top: 28px; }

  /* ── Section headings mobile ── */
  .section-heading { margin-bottom: 16px; }
  .app-list-heading h2 { font-size: clamp(1.15rem, 5.2vw, 1.45rem); }

  /* ── Carousel cards mobile ── */
  .app-carousel-card { border-radius: 12px; }
  .app-carousel-card-body { padding: 9px 11px 11px; }
  .app-carousel-card-body h3 { font-size: .82rem; }
  .app-carousel-rating { font-size: .7rem; }
  .app-latest-grid { gap: 8px; }

  /* ── Single app page mobile ── */
  .single-app-shell .app-detail-panel { padding: 20px 0; }
  .single-app-shell .store-app-hero { padding-block: 20px 24px; gap: 14px; }
  .single-app-shell .store-app-icon-frame { width: 88px; height: 88px; }
  .single-app-shell .store-app-summary .entry-title { font-size: clamp(1.45rem, 7.5vw, 2.2rem); }
  .single-app-shell .app-panel-heading h2 { font-size: 1.05rem; }
  .app-detail-panel { margin-top: 0; }

  /* ── Reviews mobile ── */
  .app-review { padding: 12px 14px; border-radius: 12px; }
  .app-rating-summary { padding: 12px 14px; border-radius: 12px; }
  .app-review-head strong { font-size: .82rem; }

  /* ── Similar apps mobile ── */
  .similar-app-card { padding: 12px; border-radius: 12px; gap: 10px; }
  .similar-app-cover { flex-basis: 52px; width: 52px; height: 52px; border-radius: 12px; }
  .similar-app-copy h3 { font-size: .86rem; }
  .similar-app-link { font-size: .74rem; }

  /* ── Share buttons mobile ── */
  .app-share-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .app-share-links a, .app-share-links .share-copy { min-height: 42px; padding: 8px 10px; font-size: 14px; border-radius: 10px; }
  .app-share-links svg { width: 17px; height: 17px; }

  /* ── Download button mobile ── */
  .app-final-download .store-download-button { min-height: 50px; font-size: .92rem; border-radius: 12px; }
  .app-final-download { margin-top: 32px; padding-top: 24px; }

  /* ── TOC mobile ── */
  .article-outline-link { font-size: .82rem; }
  .article-outline-item { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; min-height: 42px; }

  /* ── Categories in article mobile ── */
  .article-category-links { gap: 7px; }
  .article-category-links a { padding: 8px 12px; font-size: 14px; border-radius: 10px; }

  /* ── Comments form mobile ── */
  .app-comments .comment-form { gap: 12px; }
  .app-comments input[type="text"], .app-comments textarea { padding: 11px 13px; font-size: .84rem; }
  .app-comments .form-submit .submit { min-height: 44px; width: 100%; font-size: .86rem; }

  /* ── Footer mobile ── */
  .site-footer { padding-top: 38px; }
  .footer-main { gap: 22px; padding: 12px 0 24px; }
  .footer-column-title { font-size: .84rem; margin-bottom: 12px; }
  .footer-bottom { padding-top: 16px; }
  .footer-menu a { font-size: .82rem; }
  .footer-social-link { width: 38px; height: 38px; }

  /* ── Breadcrumbs mobile ── */
  .single-app-breadcrumbs { padding: 7px 12px; font-size: .76rem; }
  .single-app-breadcrumbs a { font-size: .76rem; }

  /* ── Telegram link mobile ── */
  .telegram-download-link { width: 100%; padding: 10px 12px; }
}

/* ═══════════════════════════════════════════════════════════════════
   ULTRA-MINIMAL SLEEK FOOTER (Clean, Light, Sophisticated)
   ═══════════════════════════════════════════════════════════════════ */
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding: 36px 0 18px !important; border-top: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)) !important; border-radius: 0 !important; background: #0c0e17 !important; color: #94a3b8 !important; box-shadow: none !important; }
.site-footer::before { display: none !important; }
.footer-grid, .footer-glow { display: none !important; }
.footer-topline { display: none !important; }
.footer-inner { max-width: min(calc(100% - 40px), 1160px); margin: 0 auto; }
.footer-main { display: grid; grid-template-columns: minmax(1.3fr, 1.5fr) repeat(3, minmax(0, 1fr)) !important; gap: 32px !important; padding: 0 0 24px !important; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.footer-brand-column { display: flex; flex-direction: column; gap: 10px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: #ffffff !important; text-decoration: none; font-weight: 850; font-size: 1.15rem; }
.footer-brand-mark { width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(255, 255, 255, .12) !important; color: #fff !important; font-size: .78rem; font-weight: 900; display: grid; place-items: center; }
.footer-description { margin: 0; color: #64748b !important; font-size: .84rem !important; line-height: 1.6 !important; max-width: 320px; }
.footer-back-home { display: inline-flex; align-items: center; gap: 6px; color: var(--st-primary) !important; font-size: .8rem !important; font-weight: 700; text-decoration: none; margin-top: 2px; }
.footer-back-home:hover { text-decoration: underline; }
.footer-column-title { font-size: .8rem !important; font-weight: 800 !important; color: #f1f5f9 !important; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px !important; padding-bottom: 0 !important; }
.footer-column-title::after { display: none !important; }
.footer-menu, .footer-category-menu { display: flex; flex-direction: column; gap: 7px !important; margin: 0; padding: 0; list-style: none; }
.footer-menu a, .footer-category-menu a { display: inline-block; color: #94a3b8 !important; font-size: .82rem !important; text-decoration: none; transition: color .2s ease, transform .2s ease; padding: 0 !important; }
.footer-menu a:hover, .footer-category-menu a:hover { color: #8f87ff !important; transform: translateX(-3px); }
.footer-social-column { display: flex; flex-direction: column; gap: 10px; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-social-link { width: 34px !important; height: 34px !important; border-radius: 50% !important; background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(255, 255, 255, .08) !important; color: #94a3b8 !important; display: grid; place-items: center; text-decoration: none; transition: all .2s ease !important; transform: none !important; }
.footer-social-link svg { width: 15px; height: 15px; fill: currentColor; }
.footer-social-link:hover { background: color-mix(in srgb, var(--st-primary) 20%, transparent) !important; border-color: var(--st-primary) !important; color: #ffffff !important; transform: translateY(-2px) !important; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 14px !important; border-top: none !important; color: #64748b !important; font-size: .78rem !important; }
.footer-domain { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); color: #94a3b8; font-size: .74rem; }
.footer-domain-dot { width: 5px; height: 5px; border-radius: 50%; background: #10b981; }

html[data-theme-mode="dark"] .site-footer { background: #07080f !important; border-top-color: rgba(255, 255, 255, .06) !important; }
html[data-theme-mode="dark"] .footer-main { border-bottom-color: rgba(255, 255, 255, .04); }

@media (max-width: 760px) {
  .site-footer { padding: 26px 0 16px !important; }
  .footer-main { grid-template-columns: 1fr 1fr !important; gap: 20px 16px !important; padding-bottom: 18px !important; }
  .footer-brand-column { grid-column: 1 / -1; }
  .footer-description { max-width: 100%; font-size: .8rem !important; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding-top: 12px !important; }
}

@media (max-width: 480px) {
  .footer-main { grid-template-columns: 1fr !important; gap: 18px !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   STRICT TYPOGRAPHY ENFORCEMENT (Global Standard Compliance)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  :root {
    --st-font-h1: 1.875rem; /* 30px (28–32px) */
    --st-font-h2: 1.5625rem; /* 25px (24–26px) */
    --st-font-h3: 1.3125rem; /* 21px (20–22px) */
    --st-font-h4: 1.125rem; /* 18px */
    --st-font-h5: 1rem; /* 16px */
    --st-font-h6: 0.90625rem; /* 14.5px (14–15px) */
    --st-font-body: 1rem; /* 16px */
  }

  h1, .h1, .entry-title, .home-hero h1, .single-app-shell .store-app-summary .entry-title {
    font-size: var(--st-font-h1) !important;
    line-height: 1.2 !important;
    font-weight: 750 !important;
  }

  h2, .h2, .section-heading h2, .app-list-heading h2, .app-carousel-heading h2, .app-panel-heading h2, .download-suggested-heading h2, .download-faq-heading h2 {
    font-size: var(--st-font-h2) !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }

  h3, .h3, .app-author-content-heading h3, .similar-category-name, .download-store-heading strong {
    font-size: var(--st-font-h3) !important;
    line-height: 1.3 !important;
    font-weight: 650 !important;
  }

  h4, .h4, .similar-app-title, .similar-app-info h4 {
    font-size: var(--st-font-h4) !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
  }

  h5, .h5 {
    font-size: var(--st-font-h5) !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
  }

  h6, .h6 {
    font-size: var(--st-font-h6) !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
  }

  body, p, .entry-content, .entry-content p, .app-content-flow, .app-content-flow p, .app-author-content, .app-author-content p {
    font-size: var(--st-font-body) !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   MASTER DESIGN SYSTEM OVERHAUL (Premium Glass, Depth & Micro-interactions)
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Luxury Light/Dark Mode Switch (Orb / Pill Masterpiece) ── */
.theme-toggle {
  position: relative !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid color-mix(in srgb, var(--st-primary) 22%, var(--st-line)) !important;
  background: linear-gradient(135deg, #ffffff, #f1f5f9) !important;
  color: #f59e0b !important;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--st-primary) 14%, transparent) !important;
  cursor: pointer !important;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1) !important;
  outline: none !important;
}
.theme-toggle:hover {
  transform: translateY(-2px) scale(1.08) !important;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--st-primary) 28%, transparent) !important;
  border-color: var(--st-primary) !important;
}
.theme-toggle:active {
  transform: scale(0.9) !important;
}
.theme-toggle-track {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.theme-toggle-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.theme-toggle-sun {
  display: inline-block;
  font-size: 1.35rem;
  line-height: 1;
  color: #f59e0b;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  transition: transform .35s ease;
}
.theme-toggle:hover .theme-toggle-sun {
  transform: rotate(45deg);
}

html[data-theme-mode="dark"] .theme-toggle {
  background: linear-gradient(135deg, #1e1b4b, #2e1065) !important;
  border-color: rgba(143, 135, 255, 0.45) !important;
  color: #c4b5fd !important;
  box-shadow: 0 0 18px rgba(143, 135, 255, 0.35) !important;
}
html[data-theme-mode="dark"] .theme-toggle:hover {
  box-shadow: 0 0 24px rgba(143, 135, 255, 0.55) !important;
  border-color: #8f87ff !important;
}
html[data-theme-mode="dark"] .theme-toggle-sun { display: none !important; }
html[data-theme-mode="dark"] .theme-toggle-moon {
  display: inline-block !important;
  font-size: 1.3rem;
  line-height: 1;
  color: #c4b5fd;
  text-shadow: 0 0 12px rgba(196, 181, 253, 0.8);
  transition: transform .35s ease;
}
html[data-theme-mode="dark"] .theme-toggle:hover .theme-toggle-moon {
  transform: rotate(-20deg) scale(1.1);
}

/* ── 2. Glassmorphic Floating Header ── */
.site-header {
  padding-top: 10px;
}
.header-inner {
  border-radius: 22px !important;
  background: color-mix(in srgb, var(--st-white) 85%, transparent) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid color-mix(in srgb, var(--st-primary) 16%, var(--st-line)) !important;
  box-shadow: 0 12px 34px color-mix(in srgb, var(--st-primary) 8%, transparent) !important;
}
.site-brand-mark {
  background: linear-gradient(135deg, var(--st-primary), var(--st-accent)) !important;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--st-primary) 30%, transparent) !important;
  border-radius: 12px !important;
}
.primary-nav a {
  transition: all .25s cubic-bezier(.22, .8, .27, 1) !important;
}
.primary-nav a:hover {
  background: color-mix(in srgb, var(--st-primary) 12%, transparent) !important;
  color: var(--st-primary) !important;
  transform: translateY(-1px) !important;
}

/* ── 3. Atmospheric Hero & Ambient Depth ── */
.home-hero {
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--st-primary) 14%, transparent) 0%, transparent 65%), linear-gradient(180deg, color-mix(in srgb, var(--st-primary) 5%, var(--st-paper)), var(--st-paper)) !important;
}
.home-hero-badge {
  box-shadow: 0 4px 14px color-mix(in srgb, var(--st-primary) 10%, transparent) !important;
}
.home-search {
  transition: all .25s cubic-bezier(.22, .8, .27, 1) !important;
}
.home-search:focus-within {
  border-color: var(--st-primary) !important;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--st-primary) 22%, transparent) !important;
  transform: translateY(-2px);
}

/* ── 4. Polished App Cards & Squircle Icons ── */
.app-list-card, .app-carousel-card, .similar-app-item {
  position: relative;
  overflow: hidden;
  transition: all .28s cubic-bezier(.34, 1.56, .64, 1) !important;
}
.app-list-card:hover, .app-carousel-card:hover, .similar-app-item:hover {
  transform: translateY(-4px) !important;
}
.app-list-icon img, .app-carousel-cover img, .similar-app-icon-link img {
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1) !important;
}
.app-list-card:hover .app-list-icon img,
.app-carousel-card:hover .app-carousel-cover img,
.similar-app-item:hover .similar-app-icon-link img {
  transform: scale(1.08) !important;
}

/* ── 5. Master Button Aesthetics & Tactile Feedback ── */
.button {
  transition: all .25s cubic-bezier(.34, 1.56, .64, 1) !important;
  cursor: pointer;
}
.button:active {
  transform: scale(0.96) !important;
}
.button.button-ghost {
  transition: all .25s ease !important;
}
.button.button-ghost:hover {
  background: color-mix(in srgb, var(--st-primary) 12%, transparent) !important;
  border-color: var(--st-primary) !important;
  transform: translateY(-2px) !important;
}

/* ── 6. Smooth Scrollbar ── */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: var(--st-paper);
}
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--st-primary) 35%, var(--st-line));
  border-radius: 999px;
  border: 2px solid var(--st-paper);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--st-primary);
}

/* ═══════════════════════════════════════════════════════════════════
   PAGE TEMPLATES (About, Contact, Legal, FAQ, Full-Width)
   ═══════════════════════════════════════════════════════════════════ */
.page-template-shell { padding-bottom: 60px; direction: rtl; }
.page-hero-banner { padding: 46px 0 38px; text-align: center; background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--st-primary) 12%, transparent) 0%, transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--st-primary) 5%, var(--st-paper)), var(--st-paper)); border-bottom: 1px solid color-mix(in srgb, var(--st-primary) 10%, var(--st-line)); margin-bottom: 36px; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 14px; border-radius: 999px; background: color-mix(in srgb, var(--st-white) 90%, transparent); border: 1px solid color-mix(in srgb, var(--st-primary) 18%, var(--st-line)); color: var(--st-primary); font-size: .8rem; font-weight: 800; margin-bottom: 12px; }
.page-hero-badge .badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--st-primary); }
.page-hero-title { font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 850; color: var(--st-ink); margin: 0 0 8px; line-height: 1.2; letter-spacing: -.03em; }
.page-hero-subtitle { max-width: 680px; margin: 0 auto; color: var(--st-muted); font-size: 1.05rem; line-height: 1.65; }

/* ── About Us Template Styles ── */
.about-grid-vision { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 32px; }
.about-card { padding: 32px 28px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); background: var(--st-white); box-shadow: 0 8px 24px color-mix(in srgb, var(--st-primary) 6%, transparent); }
.about-card-icon { font-size: 2.2rem; margin-bottom: 12px; line-height: 1; }
.about-card h2 { margin: 0 0 8px; font-size: 1.45rem; font-weight: 800; color: var(--st-ink); }
.about-card p { margin: 0; color: var(--st-muted); line-height: 1.7; font-size: .96rem; }
.about-stats-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 28px 24px; border-radius: 22px; background: color-mix(in srgb, var(--st-primary) 8%, var(--st-white)); border: 1px solid color-mix(in srgb, var(--st-primary) 14%, var(--st-line)); text-align: center; margin-bottom: 40px; }
.about-stat-item strong { display: block; font-size: 1.8rem; font-weight: 900; color: var(--st-primary); line-height: 1.1; font-family: var(--font-heading, inherit); }
.about-stat-item span { font-size: .82rem; font-weight: 750; color: var(--st-muted); }
.about-features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; margin-bottom: 40px; }
.about-feature-item { padding: 24px; border-radius: 18px; border: 1px solid var(--st-line); background: var(--st-white); display: flex; flex-direction: column; gap: 8px; }
.about-feature-item .feature-icon { font-size: 1.8rem; line-height: 1; margin-bottom: 4px; }
.about-feature-item h3 { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--st-ink); }
.about-feature-item p { margin: 0; color: var(--st-muted); font-size: .92rem; line-height: 1.6; }
.about-cta-card { padding: 44px 32px; border-radius: 26px; text-align: center; background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 14%, var(--st-white)), color-mix(in srgb, var(--st-accent) 10%, var(--st-white))); border: 1px solid color-mix(in srgb, var(--st-primary) 18%, var(--st-line)); margin-top: 32px; }
.about-cta-card h2 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 850; color: var(--st-ink); }
.about-cta-card p { max-width: 580px; margin: 0 auto 20px; color: var(--st-muted); font-size: .98rem; }
.about-cta-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Contact Page Styles ── */
.contact-alert { padding: 16px 20px; border-radius: 14px; margin-bottom: 28px; display: flex; align-items: flex-start; gap: 14px; }
.contact-alert-success { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.3); color: #065f46; }
.contact-alert-error { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.3); color: #991b1b; }
.contact-alert .alert-icon { font-size: 1.4rem; line-height: 1; }
.contact-alert strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.contact-alert p { margin: 0; font-size: .9rem; }
.contact-layout-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 40px; }
.contact-info-card { padding: 28px 24px; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); background: var(--st-white); display: flex; flex-direction: column; gap: 22px; box-shadow: 0 8px 24px color-mix(in srgb, var(--st-primary) 5%, transparent); }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.contact-info-item strong { display: block; font-size: .95rem; color: var(--st-ink); margin-bottom: 2px; }
.contact-info-item p { margin: 0 0 4px; color: var(--st-muted); font-size: .84rem; line-height: 1.5; }
.contact-info-item a { color: var(--st-primary); font-size: .88rem; font-weight: 750; text-decoration: none; word-break: break-all; }
.contact-info-item a:hover { text-decoration: underline; }
.contact-promise-card { padding: 22px 20px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); background: color-mix(in srgb, var(--st-primary) 6%, var(--st-white)); margin-top: 18px; }
.contact-promise-card h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; color: var(--st-ink); }
.contact-promise-card p { margin: 0; color: var(--st-muted); font-size: .84rem; line-height: 1.6; }
.contact-form-card { padding: 34px 32px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--st-primary) 14%, var(--st-line)); background: var(--st-white); box-shadow: 0 10px 30px color-mix(in srgb, var(--st-primary) 7%, transparent); }
.contact-form-card h2 { margin: 0 0 6px; font-size: 1.45rem; font-weight: 850; color: var(--st-ink); }
.contact-form-desc { margin: 0 0 24px; color: var(--st-muted); font-size: .92rem; }
.st-custom-contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-custom-contact-form .form-group { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.st-custom-contact-form label { font-size: .86rem; font-weight: 750; color: var(--st-ink); }
.st-custom-contact-form input[type="text"],
.st-custom-contact-form input[type="email"],
.st-custom-contact-form textarea { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--st-primary) 18%, var(--st-line)); background: color-mix(in srgb, var(--st-paper) 60%, var(--st-white)); font-family: inherit; font-size: .92rem; color: var(--st-ink); box-sizing: border-box; transition: all .2s ease; }
.st-custom-contact-form input:focus,
.st-custom-contact-form textarea:focus { outline: none; border-color: var(--st-primary); background: var(--st-white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--st-primary) 18%, transparent); }
.contact-submit-btn { align-self: flex-start; min-height: 46px; padding: 10px 26px; font-size: .92rem; font-weight: 800; border-radius: 12px; gap: 8px; }

/* ── Legal Page Styles ── */
.page-hero-legal .page-legal-meta { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--st-muted); font-size: .88rem; margin-top: 8px; flex-wrap: wrap; }
.legal-layout-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.legal-sidebar-card { padding: 24px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); background: var(--st-white); position: sticky; top: 100px; }
.legal-sidebar-card h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; color: var(--st-ink); }
.legal-sidebar-card p { margin: 0 0 16px; color: var(--st-muted); font-size: .84rem; line-height: 1.6; }
.legal-quick-links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.legal-badge-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: color-mix(in srgb, var(--st-primary) 8%, var(--st-white)); border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); color: var(--st-primary); font-size: .76rem; font-weight: 800; }
.legal-contact-box { padding-top: 14px; border-top: 1px solid var(--st-line); }
.legal-contact-box small { display: block; color: var(--st-muted); font-size: .78rem; margin-bottom: 4px; }
.legal-contact-box a { color: var(--st-primary); font-size: .82rem; font-weight: 750; text-decoration: none; }
.legal-content-card { padding: 38px 36px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); background: var(--st-white); box-shadow: 0 8px 26px color-mix(in srgb, var(--st-primary) 5%, transparent); }
.legal-clause { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid color-mix(in srgb, var(--st-primary) 10%, var(--st-line)); }
.legal-clause:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.legal-clause h2 { font-size: 1.25rem; font-weight: 800; color: var(--st-ink); margin: 0 0 10px; }
.legal-clause p { margin: 0; color: var(--st-ink); font-size: .94rem; line-height: 1.75; }

/* ── FAQ Page Styles ── */
.faq-accordion-wrap { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin: 0 auto 36px; }
.faq-accordion-item { padding: 18px 22px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); background: var(--st-white); transition: all .2s ease; }
.faq-accordion-item[open] { border-color: var(--st-primary); box-shadow: 0 8px 22px color-mix(in srgb, var(--st-primary) 8%, transparent); }
.faq-accordion-summary { font-size: 1.05rem; font-weight: 750; color: var(--st-ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; user-select: none; }
.faq-accordion-summary::-webkit-details-marker { display: none; }
.faq-toggle-icon { font-size: 1.4rem; color: var(--st-primary); font-weight: 800; line-height: 1; transition: transform .25s ease; }
.faq-accordion-item[open] .faq-toggle-icon { transform: rotate(45deg); }
.faq-accordion-body { padding-top: 12px; margin-top: 10px; border-top: 1px solid color-mix(in srgb, var(--st-primary) 8%, var(--st-line)); color: var(--st-muted); font-size: .94rem; line-height: 1.75; }
.faq-support-cta { padding: 36px; border-radius: 22px; text-align: center; background: color-mix(in srgb, var(--st-primary) 8%, var(--st-white)); border: 1px solid color-mix(in srgb, var(--st-primary) 14%, var(--st-line)); max-width: 640px; margin: 30px auto 0; }
.faq-support-icon { font-size: 2.2rem; margin-bottom: 8px; line-height: 1; }
.faq-support-cta h3 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 800; color: var(--st-ink); }
.faq-support-cta p { margin: 0 0 18px; color: var(--st-muted); font-size: .92rem; }

/* ── Full Width Page Template Styles ── */
.page-fullwidth-container { width: 100%; max-width: min(calc(100% - 40px), 1200px); margin: 0 auto; }

/* Dark Mode for Page Templates */
html[data-theme-mode="dark"] .about-card,
html[data-theme-mode="dark"] .about-feature-item,
html[data-theme-mode="dark"] .contact-info-card,
html[data-theme-mode="dark"] .contact-form-card,
html[data-theme-mode="dark"] .legal-sidebar-card,
html[data-theme-mode="dark"] .legal-content-card,
html[data-theme-mode="dark"] .faq-accordion-item {
  background: color-mix(in srgb, var(--st-white) 92%, transparent);
  border-color: color-mix(in srgb, var(--st-primary) 20%, var(--st-line));
}
html[data-theme-mode="dark"] .about-stats-bar,
html[data-theme-mode="dark"] .about-cta-card,
html[data-theme-mode="dark"] .contact-promise-card,
html[data-theme-mode="dark"] .faq-support-cta {
  background: color-mix(in srgb, var(--st-white) 90%, var(--st-primary) 10%);
  border-color: color-mix(in srgb, var(--st-primary) 26%, var(--st-line));
}
html[data-theme-mode="dark"] .st-custom-contact-form input,
html[data-theme-mode="dark"] .st-custom-contact-form textarea {
  background: color-mix(in srgb, var(--st-white) 96%, transparent);
  border-color: color-mix(in srgb, var(--st-primary) 24%, var(--st-line));
  color: #fff;
}

@media (max-width: 760px) {
  .page-hero-banner { padding: 32px 0 24px; margin-bottom: 24px; }
  .about-grid-vision, .about-features-grid, .about-stats-bar, .contact-layout-grid, .legal-layout-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-card, .contact-info-card, .contact-form-card, .legal-content-card { padding: 22px 18px; }
  .form-row-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-submit-btn { width: 100%; justify-content: center; }
  .about-stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .legal-sidebar-card { position: static; }
}







/* ── Rating percentage overview on the single app page ── */
.single-app-shell .app-rating-distribution {
  margin-top: 18px;
  padding: 22px 24px 24px;
  border: 1px solid color-mix(in srgb, var(--st-primary) 16%, var(--st-line));
  border-radius: 22px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 5%, var(--st-white)), var(--st-white));
  box-shadow: 0 12px 32px color-mix(in srgb, var(--st-primary) 8%, transparent);
}
.single-app-shell .app-rating-distribution .app-panel-heading { margin-bottom: 18px; }
.single-app-shell .app-rating-distribution-layout { display: grid; grid-template-columns: minmax(190px, .75fr) minmax(0, 1.45fr); align-items: center; gap: 28px; direction: rtl; }
.app-rating-total { display: flex; align-items: center; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); border-radius: 17px; background: color-mix(in srgb, var(--st-white) 84%, var(--st-primary) 16%); text-align: center; }
.app-rating-total > strong { color: var(--st-ink); font-size: clamp(2.8rem, 6vw, 4rem); font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.app-rating-total .app-rating-stars-gold { font-size: 1.25rem; letter-spacing: 2px; }
.app-rating-total > small { color: var(--st-muted); font-size: .82rem; font-weight: 750; }
.app-rating-total > em { color: var(--st-primary); font-size: .76rem; font-style: normal; font-weight: 850; }
.app-rating-overall-track { overflow: hidden; width: min(100%, 172px); height: 7px; border-radius: 99px; background: color-mix(in srgb, var(--st-primary) 12%, var(--st-line)); direction: ltr; }
.app-rating-overall-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--st-primary), var(--st-accent)); }
.app-rating-bars { display: flex; flex-direction: column; gap: 11px; }
.app-rating-bar-row { display: grid; grid-template-columns: 45px minmax(0, 1fr) 42px; align-items: center; gap: 10px; direction: ltr; }
.app-rating-bar-row > span { color: #f59e0b; font-size: .84rem; font-weight: 850; text-align: left; white-space: nowrap; }
.app-rating-bar-row > strong { color: var(--st-muted); font-size: .78rem; font-weight: 800; text-align: right; }
.app-rating-bar-track { overflow: hidden; height: 9px; border-radius: 99px; background: color-mix(in srgb, var(--st-primary) 10%, var(--st-line)); }
.app-rating-bar-track > span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: linear-gradient(90deg, #f59e0b, var(--st-accent)); transition: width .35s ease; }
.app-rating-data-note { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--st-primary) 10%, var(--st-line)); color: var(--st-muted); font-size: .82rem; }
.single-app-shell .app-written-reviews { margin-top: 24px; }
.single-app-shell .app-written-reviews .app-rating-main-card { display: none; }
.app-comments .comment-form-author { display: flex; flex-direction: column; gap: 6px; }
.app-comments .comment-form-author input { width: 100%; }
.app-comments .comment-form-author input::placeholder { color: color-mix(in srgb, var(--st-muted) 74%, transparent); }
html[data-theme-mode="dark"] .single-app-shell .app-rating-distribution { background: linear-gradient(135deg, color-mix(in srgb, var(--st-white) 86%, var(--st-primary) 14%), var(--st-white)); }
html[data-theme-mode="dark"] .app-rating-total { background: color-mix(in srgb, var(--st-white) 86%, var(--st-primary) 14%); }

@media (max-width: 760px) {
  .single-app-shell .app-rating-distribution { padding: 18px 14px 20px; border-radius: 18px; }
  .single-app-shell .app-rating-distribution-layout { grid-template-columns: 1fr; gap: 18px; }
  .app-rating-total { padding: 15px 14px; }
  .app-rating-bars { gap: 9px; }
  .app-rating-bar-row { grid-template-columns: 42px minmax(0, 1fr) 38px; gap: 8px; }
  .app-rating-bar-row > span, .app-rating-bar-row > strong { font-size: .76rem; }
  .app-rating-bar-track { height: 8px; }
  .app-rating-data-note { font-size: .78rem; }
}


/* ── Professional information card on the individual app page ── */
.single-app-shell .app-info-card {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 26px 24px 28px;
  border: 1px solid color-mix(in srgb, var(--st-primary) 18%, var(--st-line));
  border-radius: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--st-primary) 10%, var(--st-white)) 0%, var(--st-white) 58%, color-mix(in srgb, var(--st-accent) 7%, var(--st-white)) 100%);
  box-shadow: 0 16px 42px color-mix(in srgb, var(--st-primary) 10%, transparent);
}
.single-app-shell .app-info-card::before {
  position: absolute;
  top: -74px;
  left: -46px;
  width: 190px;
  height: 190px;
  border: 1px solid color-mix(in srgb, var(--st-primary) 18%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 16px color-mix(in srgb, var(--st-primary) 4%, transparent), 0 0 0 34px color-mix(in srgb, var(--st-primary) 2%, transparent);
  content: "";
  pointer-events: none;
}
.single-app-shell .app-info-card > * { position: relative; z-index: 1; }
.single-app-shell .app-info-card .app-panel-heading { align-items: center; margin-bottom: 20px; }
.single-app-shell .app-info-card .app-panel-heading h2 { margin-top: 4px; }
.single-app-shell .app-info-card .app-panel-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid color-mix(in srgb, var(--st-primary) 22%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--st-white) 72%, transparent); color: var(--st-primary); font-size: .85rem; font-weight: 900; }
.single-app-shell .app-info-card .store-details-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.single-app-shell .app-info-card .store-detail-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 12px 15px; border: 1px solid color-mix(in srgb, var(--st-primary) 10%, var(--st-line)); border-radius: 15px; background: color-mix(in srgb, var(--st-white) 76%, transparent); }
.single-app-shell .app-info-card .store-detail-row span { color: var(--st-muted); font-size: .84rem; font-weight: 700; }
.single-app-shell .app-info-card .store-detail-row strong { color: var(--st-ink); font-size: .92rem; font-weight: 850; text-align: left; }
html[data-theme-mode="dark"] .single-app-shell .app-info-card { background: linear-gradient(135deg, color-mix(in srgb, var(--st-white) 86%, var(--st-primary) 14%), var(--st-white)); border-color: color-mix(in srgb, var(--st-primary) 30%, var(--st-line)); }
html[data-theme-mode="dark"] .single-app-shell .app-info-card .store-detail-row { background: color-mix(in srgb, var(--st-white) 86%, transparent); border-color: color-mix(in srgb, var(--st-primary) 22%, var(--st-line)); }
html[data-theme-mode="dark"] .single-app-shell .app-info-card .app-panel-mark { background: color-mix(in srgb, var(--st-white) 82%, transparent); }

@media (max-width: 760px) {
  .single-app-shell .app-info-card { margin-top: 20px; padding: 20px 14px 22px; border-radius: 19px; }
  .single-app-shell .app-info-card .app-panel-heading { margin-bottom: 15px; }
  .single-app-shell .app-info-card .store-details-list { grid-template-columns: 1fr; gap: 8px; }
  .single-app-shell .app-info-card .store-detail-row { min-height: 54px; padding: 10px 12px; }
  .single-app-shell .app-info-card .store-detail-row span { font-size: .8rem; }
  .single-app-shell .app-info-card .store-detail-row strong { font-size: .86rem; }
}


/* ── Always-visible most visited apps section ── */
.home-page .app-most-visited-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 120px;
}
.home-page .app-most-visited-section .app-latest-grid {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100%;
}
.home-page .app-most-visited-section .app-carousel-card {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}
@media (max-width: 760px) {
  .home-page .app-most-visited-section {
    display: block !important;
    margin-top: 18px;
    padding: 22px 0 14px !important;
  }
  .home-page .app-most-visited-section .app-carousel-heading {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-bottom: 14px;
  }
  .home-page .app-most-visited-section .app-carousel-heading h2 {
    display: block !important;
    max-width: 78vw;
    margin: 4px 0 0;
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
  }
  .home-page .app-most-visited-section .app-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
  .home-page .app-most-visited-section .app-carousel-card {
    min-width: 0;
    padding: 11px 8px 10px !important;
    border-radius: 14px;
  }
  .home-page .app-most-visited-section .app-carousel-cover {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 9px;
    border-radius: 15px;
  }
  .home-page .app-most-visited-section .app-carousel-card-body h3 {
    font-size: .82rem !important;
  }
  .home-page .app-most-visited-section .app-carousel-rating {
    font-size: .7rem !important;
  }
}
