    :root {
      --bg: #eef3f7;
      --surface: #ffffff;
      --surface-soft: #f7fafc;
      --text: #183144;
      --muted: #617487;
      --border: #dbe6ef;
      --brand: #00aad5;
      --brand-dark: #0c4668;
      --brand-soft: #e7f8fc;
      --success: #15a46d;
      --warning: #f59e0b;
      --danger: #ef4444;
      --shadow-sm: 0 6px 16px rgba(8, 34, 53, 0.06);
      --shadow-md: 0 12px 28px rgba(8, 34, 53, 0.10);
      --shadow-lg: 0 24px 50px rgba(8, 34, 53, 0.14);
      --radius-sm: 12px;
      --radius-md: 18px;
      --radius-lg: 24px;
      --container: 100%;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 100px; }
    body {
      margin: 0;
      font-family: "Almarai", "Segoe UI", Tahoma, Arial, sans-serif;
      color: var(--text);
      background: linear-gradient(180deg, #edf4f8 0%, #f7fafc 100%);
      text-rendering: optimizeLegibility;
    }
    img { max-width: 100%; display: block; }
    a { color: var(--brand); text-decoration: none; }
    a:hover { opacity: .92; }
    p, ul, ol { line-height: 1.9; }
    h1, h2, h3, h4 { margin: 0; line-height: 1.35; }
    .container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
    .site-shell { background: var(--surface); box-shadow: var(--shadow-lg); min-height: 100vh; }
    .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;
    }

    .site-header {
      position: sticky; top: 0; z-index: 50;
      background: rgba(12,70,104,.97);
      backdrop-filter: blur(12px);
      color: #fff;
      box-shadow: var(--shadow-md);
    }
    .site-header__inner {
      display: flex; align-items: center; justify-content: space-between; gap: 20px;
      min-height: 84px;
    }
    .site-brand img { height: 42px; width: auto; }
    .site-brand-heading { margin: 0; padding: 0; font-size: inherit; line-height: normal; display: inline-flex; align-items: center; }
    .site-nav { display: flex; align-items: center; gap: 18px; }
    .site-nav__links { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
    .site-nav__links a {
      color: #fff; font-size: 1.25rem; padding: 8px; border-radius: 999px;
    }
    .site-nav__links a:hover { color: var(--brand); opacity: 1; }
    .menu-toggle {
      display: inline-flex; align-items: center; justify-content: center;
      min-width: 44px; min-height: 44px;
      border: 0; background: transparent; color: #fff; font-size: 1.25rem; cursor: pointer; padding: 8px;
    }

    .side-panel {
      position: fixed; inset: 0 auto 0 0; width: 340px; max-width: 85vw; transform: translateX(-101%); transition: .25s ease;
      background: var(--surface); box-shadow: var(--shadow-lg); z-index: 80; padding: 22px;
      overflow-y: auto;
    }
    .side-panel.is-open { transform: translateX(0); }
    .side-panel ul { list-style: none; padding: 0; margin: 10px 0 0; }
    .side-panel a { display: block; padding: 12px 14px; border-radius: 12px; color: var(--text); font-weight: 700; }
    .side-panel a:hover { background: var(--surface-soft); }
    .side-panel__title { display: block; margin-bottom: 14px; font-size: 1.05rem; font-weight: 800; }
    .side-group {
      border: 1px solid var(--border);
      border-radius: 16px;
      background: var(--surface-soft);
      margin-bottom: 10px;
      overflow: hidden;
    }
    .side-group summary {
      list-style: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      font-weight: 800;
      color: var(--text);
    }
    .side-group summary::-webkit-details-marker { display: none; }
    .side-group summary i { transition: transform .2s ease; }
    .side-group[open] summary i { transform: rotate(180deg); }
    .side-group__links {
      border-top: 1px solid var(--border);
      padding: 6px;
      display: grid;
      gap: 4px;
      background: rgba(255,255,255,.65);
    }
    .side-panel__pages {
      margin-top: 14px;
      display: grid;
      gap: 8px;
    }
    .backdrop {
      position: fixed; inset: 0; background: rgba(6,16,26,.48); opacity: 0; pointer-events: none; transition: .25s ease; z-index: 70;
    }
    .backdrop.is-open { opacity: 1; pointer-events: auto; }

    /* ---- Homepage top hero (title + subtitle + search) ---- */
    .site-hero { padding: 34px 0 8px; }
    .site-hero__inner {
      display: grid;
      justify-items: center;
      gap: 16px;
      text-align: center;
      padding: 40px 28px;
      border: 1px solid var(--border);
      border-radius: 30px;
      box-shadow: var(--shadow-sm);
      background:
        radial-gradient(circle at top left, rgba(0,170,213,.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(12,70,104,.16), transparent 34%),
        linear-gradient(135deg, #f7fbfe 0%, #eef8fd 100%);
    }
    .site-hero__title {
      position: relative;
      margin: 0;
      padding-bottom: 16px;
      font-size: clamp(1.8rem, 3.6vw, 2.6rem);
      color: var(--brand-dark);
    }
    .site-hero__title::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 72px;
      height: 5px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--brand), var(--brand-dark));
    }
    .site-hero__subtitle {
      margin: 0;
      max-width: 640px;
      color: var(--muted);
      font-size: clamp(1rem, 1.6vw, 1.2rem);
      line-height: 1.7;
    }
    .site-hero__search {
      position: relative;
      display: flex;
      align-items: center;
      gap: 8px;
      width: min(640px, 100%);
      margin-top: 4px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 999px;
      box-shadow: var(--shadow-sm);
      padding: 6px;
    }
    .site-hero__search input[type="search"] {
      flex: 1 1 auto;
      min-width: 0;
      border: 0;
      background: transparent;
      font: inherit;
      color: var(--text);
      padding: 12px 16px;
      outline: none;
    }
    .site-hero__search-btn {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      border: 0;
      cursor: pointer;
      border-radius: 999px;
      font-size: 1.05rem;
      color: #fff;
      background: var(--brand-dark);
      box-shadow: var(--shadow-sm);
      transition: transform .18s ease, background .18s ease;
    }
    .site-hero__search-btn:hover { transform: translateY(-1px); }
    /* Autosuggest dropdown */
    .search-suggest {
      position: absolute;
      top: calc(100% + 8px);
      inset-inline: 0;
      z-index: 40;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 16px;
      box-shadow: var(--shadow-md);
      overflow: hidden;
      text-align: start;
    }
    .search-suggest__item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 11px 16px;
      color: var(--text);
      border-bottom: 1px solid var(--border);
    }
    .search-suggest__item:last-child { border-bottom: 0; }
    .search-suggest__item > i {
      color: var(--brand-dark);
      font-size: .95rem;
      width: 18px;
      text-align: center;
      flex: 0 0 auto;
    }
    .search-suggest__title {
      flex: 1 1 auto;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .search-suggest__type {
      flex: 0 0 auto;
      font-size: .72rem;
      font-weight: 700;
      color: var(--muted);
      background: var(--surface-soft, #eef3f7);
      border-radius: 999px;
      padding: 3px 10px;
    }
    .search-suggest__item.is-active,
    .search-suggest__item:hover {
      background: var(--brand-soft, #eef8fd);
    }

    /* "الأكثر تحميلًا اليوم" strip */
    .site-hero__top {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 10px 14px;
      width: 100%;
      margin-top: 4px;
      padding-top: 16px;
      border-top: 1px dashed var(--border);
    }
    .site-hero__top-label {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--brand-dark);
      font-weight: 800;
      font-size: .92rem;
    }
    .site-hero__top-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
    }
    .site-hero__top-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px 6px 6px;
      border-radius: 999px;
      background: rgba(255,255,255,.8);
      border: 1px solid var(--border);
      color: var(--text);
      font-size: .85rem;
      font-weight: 700;
      max-width: 220px;
      transition: background .18s ease, transform .18s ease;
    }
    .site-hero__top-item img {
      width: 30px;
      height: 30px;
      border-radius: 8px;
      object-fit: cover;
      flex: 0 0 auto;
    }
    .site-hero__top-item span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .site-hero__top-item:hover {
      background: #fff;
      transform: translateY(-1px);
    }

    /* ---- Search results page ---- */
    .search-count {
      color: var(--muted);
      font-size: .9rem;
      font-weight: 700;
    }
    .search-group { margin-bottom: 30px; }
    .search-group:last-child { margin-bottom: 0; }
    .search-group__title {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
      font-size: 1.15rem;
      color: var(--brand-dark);
    }
    .search-group__title > i { color: var(--brand); }
    .search-group__count {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 24px;
      height: 24px;
      padding: 0 8px;
      border-radius: 999px;
      background: var(--surface-soft, #eef3f7);
      color: var(--muted);
      font-size: .8rem;
      font-weight: 700;
    }
    .search-empty {
      display: grid;
      justify-items: center;
      gap: 14px;
      text-align: center;
      padding: 30px 16px;
      color: var(--muted);
    }
    .search-empty > i {
      font-size: 2.4rem;
      color: var(--border);
    }
    .search-empty p { margin: 0; font-size: 1.05rem; }
    .search-empty .site-hero__search { margin-top: 4px; }

    .hero-home { padding: 32px 0 20px; }
    .home-featured { padding: 24px 0 20px; }
    .home-featured__title {
      margin: 0 0 16px;
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--brand-dark);
    }
    .hero-home__shell,
    .home-featured__shell {
      background:
        radial-gradient(circle at top left, rgba(0,170,213,.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(12,70,104,.14), transparent 32%),
        linear-gradient(135deg, #f7fbfe 0%, #eef8fd 100%);
      border: 1px solid var(--border);
      border-radius: 30px;
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      padding: 28px;
      position: relative;
    }
    .featured-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      align-items: stretch;
    }
    .hero-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      padding: 8px 14px;
      border-radius: 999px;
      background: var(--surface);
      border: 1px solid var(--border);
      color: var(--brand-dark);
      font-size: .9rem;
      font-weight: 800;
    }
    .featured-mini {
      background: rgba(255,255,255,.85);
      border: 1px solid var(--border);
      border-radius: 22px;
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      color: var(--text);
      transition: transform .22s ease, box-shadow .22s ease;
    }
    .featured-mini:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 36px rgba(12, 70, 104, .14);
    }
    .featured-mini img {
      width: 100%;
      height: 170px;
      object-fit: cover;
    }
    .featured-mini__body {
      display: grid;
      gap: 8px;
      padding: 16px;
    }
    .featured-mini__meta {
      color: var(--muted);
      font-size: .86rem;
    }
    .featured-mini p {
      margin: 0;
      color: var(--muted);
      font-size: .94rem;
    }
    .featured-mini__media {
      display: block;
      color: inherit;
    }
    .featured-mini__body h3 {
      font-size: 1.05rem;
    }
    .featured-mini__body h3 a,
    .post-card__body h3 a {
      color: var(--text);
    }
    .featured-mini__body h3 a:hover,
    .post-card__body h3 a:hover {
      color: var(--brand-dark);
      opacity: 1;
    }
    .blog-featured-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      align-items: stretch;
    }
    .blog-featured-grid .featured-mini img,
    .blog-featured-grid .featured-mini__placeholder {
      height: 190px;
    }
    .home-sections,
    .page-sections { display: grid; gap: 22px; padding: 6px 0 40px; }
    .content-section {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
    }
    .section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 18px;
      background: var(--brand-dark);
      color: #fff;
    }
    .section-head h1,
    .section-head h2,
    .section-head h3,
    .section-head h4 {
      font-size: 1.08rem;
      line-height: 1.4;
    }
    .section-head a { color: #d9f7ff; font-size: .92rem; font-weight: 700; }
    .section-body { padding: 22px; }
    .home-platform {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      margin: 0;
      padding: 18px 24px 22px;
      border: 1px solid var(--border);
      border-bottom: 0;
      border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
    /* Blend the platform title into the first section-head directly below it. */
    .home-platform + .content-section {
      margin-top: -22px;
      border-top-left-radius: 0;
      border-top-right-radius: 0;
    }
    .home-platform__line {
      flex: 1 1 auto;
      height: 2px;
      border-radius: 2px;
      background: linear-gradient(to left, var(--brand), transparent);
    }
    .home-platform__line--r { background: linear-gradient(to right, var(--brand), transparent); }
    .home-platform__center {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      flex: 0 0 auto;
    }
    .home-platform__chip {
      display: grid;
      place-items: center;
      width: 46px;
      height: 46px;
      border-radius: 14px;
      color: var(--brand);
      font-size: 1.35rem;
    }
    .home-platform__title {
      margin: 0;
      font-size: 1.9rem;
      font-weight: 800;
      color: var(--text);
      line-height: 1.2;
    }
    .home-cat-block {
      padding: 20px;
      background: var(--brand-soft);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
    }
    .home-cat-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
    }
    .home-cat-card {
      display: flex;
      flex-direction: column;
      gap: 18px;
      padding: 16px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      transition: border-color .2s ease, box-shadow .2s ease;
    }
    .home-cat-card:hover {
      border-color: var(--brand);
      box-shadow: var(--shadow-sm);
    }
    .home-cat-card__head {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      color: var(--text);
    }
    .home-cat-card__head i {
      flex: 0 0 auto;
      color: var(--brand);
      font-size: 1.25rem;
    }
    .home-cat-card__title {
      margin: 0;
      font-size: .98rem;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .home-cat-card__icons {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .home-cat-card__icon {
      display: block;
      width: 40px;
      height: 40px;
      line-height: 0;
      transition: transform .2s cubic-bezier(.55, 0, .1, 1);
    }
    .home-cat-card__icon:hover { transform: scale(1.1); }
    .home-cat-card__icon img {
      width: 40px;
      height: 40px;
      object-fit: cover;
      border-radius: 8px;
      background: var(--surface-soft);
    }
    .post-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }
    .post-card {
      background: var(--surface-soft);
      border: 1px solid var(--border);
      border-radius: 20px;
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      transition: transform .2s ease, box-shadow .2s ease;
    }
    .post-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
    }
    .post-card__media {
      display: block;
      color: inherit;
    }
    .post-card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }
    .post-card__placeholder {
      display: grid;
      place-items: center;
      height: 220px;
      background: linear-gradient(135deg, var(--brand-soft), #fff);
      color: var(--brand-dark);
      font-size: 2.15rem;
    }
    .post-card__body {
      display: grid;
      gap: 10px;
      padding: 16px;
    }
    .post-card__body h3 {
      font-size: 1.05rem;
    }
    .post-card__meta {
      color: var(--brand-dark);
      font-size: .86rem;
      font-weight: 800;
    }
    .post-card p {
      margin: 0;
      color: var(--muted);
      font-size: .92rem;
      line-height: 1.8;
    }

    .category-grid, .app-grid, .mini-grid, .phone-grid {
      display: grid;
      gap: 16px;
    }
    .category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .app-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .phone-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .carousel {
      position: relative;
    }
    .carousel__viewport {
      overflow: hidden;
    }
    .carousel__track {
      display: flex;
      gap: 16px;
      transition: transform .25s ease;
      will-change: transform;
    }
    .carousel__item {
      flex: 0 0 calc((100% - 176px) / 12);
      min-width: 0;
    }
    .carousel__controls {
      position: absolute;
      inset-inline: 14px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      justify-content: space-between;
      gap: 12px;
      z-index: 3;
      pointer-events: none;
    }
    .carousel__arrow {
      width: 42px;
      height: 42px;
      border: 1px solid var(--border);
      border-radius: 999px;
      background: rgba(255,255,255,.94);
      color: var(--text);
      cursor: pointer;
      font-size: 1rem;
      box-shadow: var(--shadow-sm);
      pointer-events: auto;
    }
    .carousel__arrow:hover {
      background: #fff;
      opacity: 1;
    }
    /* Hidden at the start/end of the track. visibility (not display:none) keeps
       the other arrow anchored to its edge and avoids layout shift. */
    .carousel__arrow.is-hidden {
      visibility: hidden;
    }
    .carousel__arrow.is-loading {
      opacity: .6;
      cursor: progress;
    }

    .category-card, .app-card, .bundle-card, .phone-card {
      background: var(--surface-soft);
      border: 1px solid var(--border);
      border-radius: 20px;
      overflow: hidden;
      transition: transform .2s ease, box-shadow .2s ease;
    }
    .category-card:hover,
    .app-card:hover,
    .bundle-card:hover,
    .phone-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
      opacity: 1;
    }

    .category-card {
      display: grid;
      place-items: center;
      gap: 10px;
      min-height: 150px;
      padding: 18px;
      text-align: center;
      color: var(--text);
      background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(231,248,252,.9) 100%);
    }
    .category-card i {
      color: var(--brand-dark);
      font-size: 1.7rem;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 18px;
      box-shadow: var(--shadow-sm);
      padding: 18px;
    }
    .category-card strong { display: block; font-size: 1rem; }
    .category-card span { color: var(--muted); font-size: .86rem; }
    .category-block-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }
    .category-block {
      overflow: hidden;
      background: var(--surface-soft);
      border: 1px solid var(--border);
      border-radius: 18px;
    }
    .category-block__head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      background: #fff;
      border-bottom: 1px solid var(--border);
    }
    .category-block__title {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
      color: var(--brand-dark);
      font-weight: 800;
    }
    .category-block__title i {
      flex: 0 0 auto;
      font-size: 1.1rem;
    }
    .category-block__head a {
      flex: 0 0 auto;
      color: var(--brand-dark);
      font-size: .86rem;
      font-weight: 800;
    }
    .category-list {
      display: grid;
      gap: 10px;
      padding: 12px;
    }
    .category-item {
      display: grid;
      grid-template-columns: 48px minmax(0, 1fr);
      gap: 10px;
      align-items: center;
      color: var(--text);
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 9px;
    }
    .category-item:hover {
      opacity: 1;
      transform: translateY(-1px);
      box-shadow: var(--shadow-sm);
    }
    .category-item img {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      object-fit: cover;
      background: var(--surface-soft);
    }
    .category-item strong {
      display: block;
      margin-bottom: 3px;
      font-size: .94rem;
      line-height: 1.35;
    }
    .category-item span,
    .category-block__empty {
      color: var(--muted);
      font-size: .84rem;
      line-height: 1.6;
    }
    .category-block__empty {
      margin: 0;
      padding: 10px;
      text-align: center;
    }
    .developer-hero__link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      margin-top: 18px;
      padding: 11px 16px;
      color: var(--brand-dark);
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 14px;
      font-weight: 800;
      box-shadow: var(--shadow-sm);
    }
    .developer-grid .carousel__item {
      flex: initial;
    }

    .app-card {
      display: grid;
      gap: 0;
      padding: 0 0 16px;
      color: var(--text);
    }
    .app-card__top {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      align-items: start;
    }
    .app-card__top img {
      width: 100%;
      aspect-ratio: 1 / 1;
      height: auto;
      border-radius: 0;
      object-fit: cover;
      box-shadow: none;
    }
    .app-card__top > div {
      padding: 5px 5px 0;
      text-align: center;
    }
    .app-card__title { display: block; font-size: 0.9rem; margin-bottom: 4px; font-weight: 800; color: var(--text); }
    .app-card__developer, .app-card__desc { color: var(--muted); font-size: .9rem; }
    .app-card__desc { margin: 0; padding: 5px 3px 0; font-size: .77rem; text-align: center; }
    .rating-mock {
      display: inline-flex; align-items: center; gap: 4px; color: #f59e0b; text-decoration: none;
    }
    .rating-mock:hover { opacity: 1; transform: translateY(-1px); }
    .rating-mock i { font-size: .95rem; }
    .pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 12px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid var(--border);
      color: var(--text);
      font-weight: 800;
      white-space: nowrap;
    }

    .bundle-card {
      padding: 0 0 14px;
      display: grid;
      gap: 0;
      color: var(--text);
    }
    .bundle-card img {
      width: 100%;
      aspect-ratio: 1 / 1;
      height: auto;
      object-fit: cover;
    }
    .bundle-card__body {
      display: grid;
      gap: 10px;
      padding: 14px;
    }
    .bundle-card p { color: var(--muted); margin: 0; }
    .carousel--tools .carousel__item {
      flex-basis: calc((100% - 112px) / 8);
    }
    .phone-card {
      color: var(--text);
      display: grid;
      align-content: start;
    }
    .phone-card img {
      width: 72%;
      height: 230px;
      object-fit: contain;
      background: #e8eef4;
      margin: 14px auto 0;
    }
    .carousel--phones .carousel__item {
      flex-basis: calc((100% - 96px) / 7);
    }
    .phone-card__body {
      display: grid;
      gap: 8px;
      padding: 16px;
    }
    .phone-card__category {
      color: var(--brand-dark);
      font-size: .88rem;
      font-weight: 800;
    }
    .phone-card h3 {
      font-size: 1.15rem;
    }
    .site-footer {
      background: linear-gradient(180deg, #0c4668 0%, #08364f 100%);
      color: #dbeaf3;
      margin-top: 28px;
      padding-top: 28px;
    }
    .site-footer__main {
      width: min(var(--container), calc(100% - 32px));
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.25fr .85fr .85fr;
      gap: 22px;
      padding-bottom: 22px;
    }
    .footer-column {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 20px;
      padding: 18px;
    }
    .footer-column h5 {
      margin: 0 0 14px;
      color: #fff;
      font-size: 1.02rem;
    }
    .footer-column p {
      color: #d0e3ee;
      line-height: 1.9;
      font-size: .94rem;
    }
    .footer-links-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 10px;
    }
    .footer-links-list a { color: #dbeaf3; }
    .social-links {
      display: flex;
      gap: 10px;
      margin-top: 14px;
    }
    .social-links__link {
      width: 40px;
      height: 40px;
      display: inline-grid;
      place-items: center;
      border-radius: 999px;
      color: #fff;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.12);
    }
    .site-footer__bottom {
      border-top: 1px solid rgba(255,255,255,.08);
      text-align: center;
      padding: 16px 20px 20px;
      color: #d0e3ee;
      font-size: .92rem;
    }

    .page-frame { padding-top: 32px; }
    .stack-section { margin-top: 24px; }
    .single-main--narrow { max-width: 900px; margin-inline: auto; }
    .content-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 340px;
      gap: 26px;
      align-items: start;
    }
    .section-body--flush { padding: 0; }
    .entry-content {
      color: var(--text);
      font-size: 1.05rem;
      line-height: 1.9;
    }
    .entry-content__title {
      margin: 0 0 18px;
      color: var(--brand-dark);
      font-size: 2rem;
      line-height: 1.35;
    }
    .section-head .entry-content__title {
      margin: 0;
      color: inherit;
    }
    .entry-content--article { font-size: 1.1rem; }
    .entry-content--page { font-size: 1.15rem; }

    /* Content tables (authored in the editor) */
    .entry-content table {
      width: 100%;
      margin: 24px 0;
      border-collapse: collapse;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      overflow: hidden;
      font-size: .95rem;
      box-shadow: var(--shadow-sm);
    }
    .entry-content table caption {
      caption-side: top;
      padding: 12px 16px;
      color: var(--muted);
      font-weight: 800;
      text-align: right;
    }
    .entry-content th,
    .entry-content td {
      padding: 12px 16px;
      border: 1px solid var(--border);
      text-align: right;
      vertical-align: top;
    }
    .entry-content thead th {
      background: var(--brand-dark);
      color: #fff;
      font-weight: 800;
      white-space: nowrap;
    }
    .entry-content tbody th {
      background: var(--surface-soft);
      color: var(--brand-dark);
      font-weight: 800;
    }
    .entry-content td a {
      display: inline-block;
      padding: 8px 16px;
      background: var(--brand-dark);
      color: #fff;
      border-radius: 8px;
      font-weight: 800;
      text-decoration: none;
      transition: background .18s ease, transform .18s ease;
    }
    .entry-content td a:hover {
      background: var(--brand);
      color: #fff;
      transform: translateY(-1px);
    }
    .entry-content tbody tr:nth-child(even) td {
      background: var(--surface-soft);
    }
    .entry-content tbody tr:hover td {
      background: var(--brand-soft);
    }
    .entry-content tfoot td {
      background: var(--surface-soft);
      font-weight: 800;
    }
    /* Horizontal scroll on small screens without breaking layout */
    @media (max-width: 640px) {
      .entry-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
      }
    }
    .empty-state {
      margin: 0;
      padding: 18px;
      color: var(--muted);
      background: var(--surface-soft);
      border: 1px solid var(--border);
      border-radius: 14px;
      font-weight: 700;
      text-align: center;
    }
    .featured-mini__title,
    .bundle-card__title,
    .phone-card__title {
      display: block;
      margin: 0;
      line-height: 1.4;
    }
    .featured-mini__title,
    .bundle-card__title { font-size: 1.05rem; }
    .bundle-card__category {
      color: var(--brand-dark);
      font-size: .85rem;
      font-weight: 700;
    }
    .featured-mini__placeholder {
      display: grid;
      place-items: center;
      height: 170px;
      background: linear-gradient(135deg, var(--brand-soft), #fff);
      color: var(--brand-dark);
      font-size: 2rem;
    }
    .rating-mock--compact { font-size: .9rem; }

    .carousel__viewport {
      overflow-x: auto;
      overflow-y: hidden;
      scroll-behavior: smooth;
      scrollbar-width: none;
    }
    .carousel__viewport::-webkit-scrollbar { display: none; }

    .archive-hero {
      text-align: center;
      padding: 40px 20px;
    }
    .archive-hero__badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      margin: 0 auto 16px;
      padding: 8px 12px;
      border-radius: 999px;
      color: var(--brand-dark);
      background: #fff;
      border: 1px solid var(--border);
      font-size: .85rem;
      font-weight: 800;
    }
    .archive-hero__title {
      font-size: clamp(2rem, 4vw, 3rem);
      margin-bottom: 16px;
    }
    .archive-hero__description {
      color: var(--muted);
      font-size: 1.1rem;
      max-width: 600px;
      margin: 0 auto 24px;
    }
    .archive-search {
      max-width: 500px;
      margin: 0 auto;
      display: flex;
      background: #fff;
      border-radius: 999px;
      padding: 6px;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border);
    }
    .archive-search__field {
      border: 0;
      background: transparent;
      padding: 10px 16px;
      width: 100%;
      outline: none;
      font-size: 1rem;
      font-family: inherit;
    }
    .archive-search__submit {
      background: var(--brand);
      color: #fff;
      border: 0;
      border-radius: 999px;
      padding: 10px 24px;
      font-weight: 700;
      cursor: pointer;
    }

    .load-more {
      display: flex;
      justify-content: center;
      margin-top: 32px;
    }
    .btn-load-more {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 200px;
      padding: 12px 32px;
      border-radius: 999px;
      background: var(--surface-soft);
      border: 1px solid var(--border);
      color: var(--brand-dark);
      font-weight: 700;
      transition: background .2s ease, transform .2s ease;
    }
    .btn-load-more:hover { background: #fff; transform: translateY(-1px); }

    .button-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 28px;
      color: #fff;
      font-weight: 800;
      border-radius: 18px;
      box-shadow: var(--shadow-md);
      font-size: 1.1rem;
      transition: transform .2s ease, box-shadow .2s ease;
    }
    .button-cta:hover {
      color: #fff;
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
      opacity: 1;
    }
    /* CTAs rendered as <button data-url> (see download-cta.php): strip UA styles
       so they are visually identical to the anchor variant. */
    button.button-cta {
      border: 0;
      font-family: inherit;
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
    }
    .button-cta--download { background: linear-gradient(90deg, var(--brand), #0188bf); }
    .button-cta--external { background: var(--brand-dark); }
    .button-cta--large {
      gap: 12px;
      padding: 18px 36px;
      border-radius: 20px;
      font-size: 1.3rem;
      box-shadow: var(--shadow-lg);
    }
    .button-cta--full {
      width: 100%;
      height: 100%;
      min-height: 66px;
      justify-content: space-around;
      flex-direction: row-reverse;
      border-radius: 12px;
      padding: 12px;
    }
    .button-cta--full > span {
      min-width: 0;
      max-width: calc(100% - 58px);
    }
    .button-cta strong,
    .button-cta small {
      display: block;
      color: #fff;
    }
    .button-cta small {
      margin-top: 4px;
      font-size: .8rem;
      font-weight: 400;
      opacity: .9;
    }
    .button-cta small.button-cta__subtext {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0 6px;
      min-width: 0;
      max-width: 100%;
      overflow: hidden;
      white-space: nowrap;
    }
    .button-cta .button-cta__subtext span {
      color: #fff;
      font-size: inherit;
    }
    .button-cta__version-meta {
      display: block;
      flex: 0 1 auto;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .button-cta__separator,
    .button-cta__updated-meta {
      flex: 0 0 auto;
    }
    .button-cta__meta {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 4px 8px;
    }
    .button-cta__meta span {
      display: inline-flex;
      align-items: center;
    }

    .single-intro {
      display: grid;
      gap: 18px;
      padding: 22px;
      margin-bottom: 24px;
      background: linear-gradient(135deg, #f7fbfe 0%, #eef8fd 100%);
    }
    .single-intro--tool {
      background: linear-gradient(135deg, #f7fbfe 0%, #eef8fd 100%);
    }
    .single-intro__top {
      display: grid;
      grid-template-columns: 110px minmax(0, 1fr);
      gap: 18px;
      align-items: stretch;
    }
    .single-intro__icon {
      width: 104px;
      height: 104px;
      border-radius: 26px;
      object-fit: cover;
      box-shadow: var(--shadow-md);
    }
    .single-intro__icon--tool {
      width: 110px;
      height: 110px;
      border-radius: 26px;
      object-fit: contain;
      background: #fff;
      border: 1px solid var(--border);
    }
    .single-intro__body {
      display: grid;
      gap: 0;
      min-width: 0;
    }
    .single-intro--software .single-intro__body {
      min-height: 104px;
      align-content: center;
      gap: 0;
    }
    .single-intro__title {
      color: var(--brand-dark);
      font-size: clamp(2rem, 4vw, 2.6rem);
      font-weight: 600;
      line-height: 1.12;
    }
    .single-intro__title a,
    .download-panel__title a {
      color: inherit;
      text-decoration: none;
    }
    .single-intro__title a:hover,
    .download-panel__title a:hover {
      color: var(--brand);
    }
    .single-intro--tool .single-intro__title { font-size: clamp(2rem, 4vw, 2.8rem); }
    .single-intro__developer {
      color: var(--brand);
      font-size: .98rem;
      font-weight: 700;
      line-height: 1.35;
    }
    .single-intro__developer a,
    .single-intro__developer .js-developer-link,
    .download-panel__developer a,
    .download-panel__developer .js-developer-link {
      color: inherit;
      text-decoration: none;
      cursor: pointer;
    }
    .single-intro__developer a:hover,
    .single-intro__developer .js-developer-link:hover,
    .download-panel__developer a:hover,
    .download-panel__developer .js-developer-link:hover {
      color: var(--brand-dark);
    }
    .single-intro__version {
      color: var(--brand-dark);
      font-size: .95rem;
      font-weight: 800;
      line-height: 1.35;
    }
    .single-intro__subtitle {
      color: var(--muted);
      font-size: 1.05rem;
      line-height: 1.9;
      max-width: 900px;
      margin: 0;
    }
    .single-intro__subtitle--standalone {
      max-width: none;
      padding-top: 2px;
    }
    .single-intro__meta {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      color: var(--muted);
      font-size: .95rem;
      margin-bottom: 14px;
    }
    .single-intro__actions { text-align: center; }
    .single-intro__meta-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .single-intro__meta-chips span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,.84);
      border: 1px solid var(--border);
      color: var(--muted);
      font-size: .9rem;
      font-weight: 700;
    }
    .single-stat-grid {
      display: grid;
      grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
      gap: 12px;
    }
    .single-stat-card {
      display: grid;
      align-content: center;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 12px;
      text-align: center;
    }
    .single-stat-card--download {
      padding: 0;
      border: 0;
      background: transparent;
      box-shadow: none;
    }
    .single-stat-card strong {
      display: block;
      margin-bottom: 6px;
      font-size: 1.08rem;
      font-weight: 800;
    }
    .single-stat-card span {
      color: var(--muted);
      font-size: .88rem;
    }
    .single-stat-card--rating {
      display: grid;
      align-content: center;
      justify-items: center;
      gap: 0;
    }
    .single-stat-card--rating .rating-ui {
      flex-direction: column;
      gap: 10px;
      font-size: .95rem;
      justify-content: center;
    }
    .single-stat-card--rating .rating-ui__summary {
      font-size: .88rem;
    }
    .single-stat-card--rating .rating-msg {
      margin: 0;
      min-height: 0;
    }
    .single-intro__screens {
      margin-top: 4px;
      padding-top: 18px;
      padding-bottom: 10px;
      border-top: 1px solid #caedf6;
      overflow-x: auto;
      scrollbar-color: var(--brand) #dfeef5;
      scrollbar-width: thin;
    }
    .single-intro__screens::-webkit-scrollbar { height: 8px; }
    .single-intro__screens::-webkit-scrollbar-track {
      background: #dfeef5;
      border-radius: 999px;
    }
    .single-intro__screens::-webkit-scrollbar-thumb {
      background: var(--brand);
      border-radius: 999px;
    }
    .single-screens {
      display: flex;
      gap: 12px;
      width: max-content;
      min-width: 100%;
    }
    .single-screens__item {
      flex: 0 0 auto;
      overflow: hidden;
      border-radius: 14px;
      cursor: pointer;
      transition: transform .18s ease, box-shadow .18s ease;
    }
    .single-screens__item:focus-visible {
      outline: 3px solid var(--brand);
      outline-offset: 3px;
    }
    .single-screens__item:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
      opacity: 1;
    }
    .single-screens__item img {
      display: block;
      width: auto;
      height: 190px;
      border-radius: 12px;
      object-fit: cover;
      box-shadow: var(--shadow-sm);
    }
    .single-screens--portrait .single-screens__item img {
      width: 160px;
      height: 320px;
      aspect-ratio: 1 / 2;
    }
    .has-lightbox-open { overflow: hidden; }
    .geekarabi-lightbox {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 28px 78px;
      background: rgba(5, 23, 35, .88);
    }
    .geekarabi-lightbox.is-open { display: flex; }
    .geekarabi-lightbox__figure {
      display: grid;
      gap: 12px;
      max-width: min(1100px, 100%);
      max-height: 100%;
      margin: 0;
      justify-items: center;
    }
    .geekarabi-lightbox__image {
      display: block;
      max-width: 100%;
      max-height: calc(100vh - 120px);
      border-radius: 16px;
      object-fit: contain;
      box-shadow: var(--shadow-lg);
    }
    .geekarabi-lightbox__caption {
      max-width: 760px;
      color: #fff;
      font-weight: 700;
      text-align: center;
    }
    .geekarabi-lightbox__close,
    .geekarabi-lightbox__nav {
      position: absolute;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 0;
      color: #fff;
      background: rgba(255,255,255,.14);
      cursor: pointer;
      transition: background .18s ease, transform .18s ease;
    }
    .geekarabi-lightbox__close:hover,
    .geekarabi-lightbox__nav:hover {
      background: rgba(255,255,255,.24);
      transform: translateY(-1px);
    }
    .geekarabi-lightbox__close {
      top: 22px;
      inset-inline-end: 22px;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      font-size: 1.45rem;
    }
    .geekarabi-lightbox__nav {
      top: 50%;
      width: 50px;
      height: 64px;
      border-radius: 14px;
      font-size: 1.5rem;
      transform: translateY(-50%);
    }
    .geekarabi-lightbox__nav:hover { transform: translateY(calc(-50% - 1px)); }
    .geekarabi-lightbox__nav--prev { inset-inline-start: 22px; }
    .geekarabi-lightbox__nav--next { inset-inline-end: 22px; }

    .rating-ui {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      color: var(--warning);
      font-size: 1.35rem;
    }
    .rating-ui__stars,
    .stars-display {
      --ga-star-size: 1.4rem;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      line-height: 1;
    }

    /* ---- SVG star icons (mask-based so they inherit theme colors) ---- */
    /* Size is driven by --ga-star-size (not font-size) so it can't be shrunk
       by generic descendant rules like `.single-stat-card span`. */
    .ga-star {
      position: relative;
      display: inline-block;
      width: var(--ga-star-size, 1.8rem);
      height: var(--ga-star-size, 1.8rem);
      line-height: 1;
      vertical-align: middle;
      flex: none;
    }
    .ga-star__ico {
      position: absolute;
      top: 0;
      inset-inline-start: 0;
      width: var(--ga-star-size, 1.8rem);
      height: var(--ga-star-size, 1.8rem);
      display: block;
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-position: center;
      mask-position: center;
      -webkit-mask-size: contain;
      mask-size: contain;
    }
    /* Empty "track" outline. */
    .ga-star__ico--empty {
      background-color: #cbd5e1;
      -webkit-mask-image: url('../icons/star-empty.svg');
      mask-image: url('../icons/star-empty.svg');
    }
    /* Filled layer, clipped by width to show full/half. Anchored to the inline
       start, so RTL fills from the right automatically. */
    .ga-star__fillwrap {
      position: absolute;
      inset-block: 0;
      inset-inline-start: 0;
      width: 0;
      height: 100%;
      overflow: hidden;
    }
    .ga-star[data-fill="full"] .ga-star__fillwrap { width: var(--ga-star-size, 1.8rem); }
    .ga-star[data-fill="half"] .ga-star__fillwrap { width: calc(var(--ga-star-size, 1.8rem) / 2); }
    .ga-star__ico--full {
      background-color: var(--warning);
      -webkit-mask-image: url('../icons/star-filled.svg');
      mask-image: url('../icons/star-filled.svg');
    }
    /* Numbered overlay: hidden by default, colored to match the fill state. */
    .ga-star__ico--num {
      display: none;
      background-color: #cbd5e1;
      -webkit-mask-image: var(--ga-num-url);
      mask-image: var(--ga-num-url);
    }
    .ga-star[data-fill="full"] .ga-star__ico--num,
    .ga-star[data-fill="half"] .ga-star__ico--num {
      background-color: var(--warning);
    }
    /* Reveal the numbers while hovering the interactive widget only. */
    .rating-ui:not(.has-rated):not(.is-loading) .rating-ui__stars:hover .ga-star__ico--empty,
    .rating-ui:not(.has-rated):not(.is-loading) .rating-ui__stars:hover .ga-star__fillwrap {
      visibility: hidden;
    }
    .rating-ui:not(.has-rated):not(.is-loading) .rating-ui__stars:hover .ga-star__ico--num {
      display: block;
    }
    /* Touch devices can't hover, so keep the numbers visible until a rating is
       submitted. Prevents mis-taps (e.g. 1 star instead of 5). */
    @media (hover: none) {
      .rating-ui:not(.has-rated):not(.is-loading) .ga-star__ico--empty,
      .rating-ui:not(.has-rated):not(.is-loading) .ga-star__fillwrap {
        visibility: hidden;
      }
      .rating-ui:not(.has-rated):not(.is-loading) .ga-star__ico--num {
        display: block;
      }
    }
    .single-stat-card .rating-ui__stars {
      color: var(--warning);
      font-size: 1.6rem;
    }
    .rating-ui__star {
      border: 0;
      background: transparent;
      color: inherit;
      cursor: pointer;
      padding: 0;
      font: inherit;
    }
    .rating-ui.has-rated .rating-ui__star,
    .rating-ui.is-loading .rating-ui__star { cursor: default; }
    .rating-ui__summary {
      color: var(--muted);
      font-size: .9rem;
      white-space: nowrap;
    }
    .rating-msg {
      margin-top: 4px;
      min-height: 1.4em;
      font-size: .85rem;
    }
    .rating-msg__text--success { color: var(--success); }
    .rating-msg__text--danger { color: var(--danger); }
    .rating-msg__text--muted { color: var(--muted); }

    .author-box {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .author-box {
      margin-top: 32px;
      padding: 20px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
    }
    .content-section--description > .author-box {
      margin-top: 0;
      padding: 18px 22px;
      border: 0;
      border-bottom: 0;
      border-radius: 0;
      box-shadow: none;
    }
    .content-section--description > .author-box + .section-body {
      padding-top: 0;
    }
    .author-box__avatar { border-radius: 50%; }
    .author-box__name {
      display: block;
      font-size: 1.1rem;
    }
    .author-box__date,
    .sidebar-list__meta {
      color: var(--muted);
      font-size: .9rem;
    }

    .download-panel {
      padding: 24px;
      background: linear-gradient(135deg, #f7fbfe 0%, #eef8fd 100%);
      border-radius: 26px;
    }
    .download-panel__header {
      display: grid;
      grid-template-columns: 94px minmax(0, 1fr);
      gap: 18px;
      align-items: stretch;
      margin-bottom: 20px;
    }
    .download-panel__icon {
      width: 94px;
      height: 94px;
      border-radius: 24px;
      object-fit: cover;
      box-shadow: var(--shadow-md);
    }
    .download-panel__body {
      display: grid;
      align-content: center;
      gap: 0;
      min-height: 94px;
      min-width: 0;
    }
    .download-panel__title {
      display: inline-block;
      justify-self: start;
      width: fit-content;
      max-width: 100%;
      margin: 0;
      color: var(--brand-dark);
      font-size: clamp(2rem, 4vw, 2.65rem);
      font-weight: 600;
      line-height: 1.12;
      text-decoration: none;
    }
    .download-panel__title:hover {
      color: var(--brand);
    }
    .download-panel__version,
    .download-panel__developer {
      font-size: .95rem;
      line-height: 1.35;
    }
    .download-panel__version {
      color: var(--brand-dark);
      font-weight: 800;
    }
    .download-panel__developer {
      color: var(--brand);
      font-weight: 700;
    }
    .download-panel__subtitle {
      margin: -6px 0 20px;
      color: var(--muted);
      font-size: 1.05rem;
      line-height: 1.9;
    }
    .download-panel__cta {
      width: min(100%, 340px);
      text-align: center;
      margin-bottom: 24px;
    }
    .download-panel__actions {
      display: flex;
      flex-wrap: wrap;
      align-items: stretch;
      justify-content: center;
      gap: 12px;
    }
    .download-panel__actions .download-panel__cta {
      margin-bottom: 0;
    }
    .download-panel .button-cta--download {
      background: linear-gradient(135deg, var(--success) 0%, #0f8e41 100%);
    }
    .download-panel .ga-dl-button {
      background: linear-gradient(90deg, var(--brand), #0188bf);
    }
    .download-panel .button-cta--large {
      direction: ltr;
      justify-content: space-between;
      width: 100%;
      min-width: 0;
      height: 66px;
      min-height: 66px;
      padding: 12px 28px;
      border-radius: 12px;
      font-size: 1.1rem;
      box-shadow: var(--shadow-md);
    }
    .download-panel .button-cta--large > span {
      direction: rtl;
      text-align: right;
      overflow: hidden;
    }
    .download-panel__description {
      color: var(--text);
      line-height: 1.8;
      background: #fff;
      padding: 16px;
      border: 1px solid var(--border);
      border-radius: 12px;
    }
    .download-box {
      display: grid;
      gap: 16px;
      background: transparent;
      border: 0;
      border-radius: 0;
      padding: 0;
      box-shadow: none;
      margin-top: 18px;
    }
    .download-box .download-panel__cta { margin-bottom: 0; }

    /* Cross-platform links on the download page: deliberately lighter than the
       primary download buttons and without the auto-download spinner flow. */
    .download-alt-platforms {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 12px;
      margin-top: 4px;
      padding-top: 16px;
      border-top: 1px dashed var(--border);
    }
    .download-alt-platforms__label {
      color: var(--muted);
      font-size: .95rem;
      font-weight: 700;
    }
    .download-alt-platforms__list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
    }
    .download-alt-platform {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 12px 22px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: var(--surface);
      color: var(--text);
      font-weight: 700;
      font-size: 1rem;
      line-height: 1.2;
      transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
    }
    .download-alt-platform:hover {
      color: var(--brand-dark);
      border-color: var(--brand);
      background: var(--surface);
      transform: translateY(-1px);
    }
    /* Off-site platform links render as <button data-url>, so reset UA styles to
       match the anchor variant exactly. */
    button.download-alt-platform {
      font-family: inherit;
      text-align: center;
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
    }
    .download-alt-platform i {
      color: var(--brand-dark);
      font-size: 1.25rem;
    }

    /* Auto-download "starting" state (see template-parts/components/download-cta.php). */
    .download-starting { text-align: center; }
    .ga-dl-status {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
      padding: 18px 10px;
    }
    .ga-dl-spinner {
      position: relative;
      width: 64px;
      height: 64px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .ga-dl-spinner::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 4px solid #e6edf5;
      border-top-color: #0d6efd;
      animation: gaDlSpin .9s linear infinite;
    }
    .ga-dl-icon {
      position: relative;
      color: #0d6efd;
      font-size: 1.5rem;
      line-height: 1;
    }
    .ga-dl-step {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin: 0;
      color: #475467;
      font-weight: 700;
      line-height: 2.2;
    }
    .ga-dl-message {
      margin: 0;
      color: #475467;
      font-weight: 700;
      line-height: 2.2;
    }
    .ga-dl-message a { color: #0d6efd; font-weight: 800; text-decoration: underline; }
    .ga-dl-message a.ga-dl-link {
      display: inline-block;
      margin-inline: 4px;
      padding: 2px 10px;
      border-radius: 8px;
      background: #0d6efd;
      color: #fff;
      font-weight: 800;
      text-decoration: none;
      box-shadow: 0 4px 12px rgba(13, 110, 253, .25);
      transition: background .2s ease;
    }
    .ga-dl-message a.ga-dl-link:hover { background: #0d6efd; }
    @keyframes gaDlSpin { to { transform: rotate(360deg); } }

    .download-meta-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 12px;
      margin-top: 18px;
    }
    .download-meta-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 14px;
      text-align: start;
    }
    .download-meta-card strong {
      display: block;
      margin-bottom: 6px;
      font-size: 1.04rem;
    }
    .download-meta-card span {
      color: var(--muted);
      font-size: .88rem;
    }

    .article-panel,
    .page-panel { padding: 24px; }
    .page-panel { padding: 32px; }
    .article-header { margin-bottom: 24px; }
    .article-header__title {
      font-size: 2.2rem;
      margin-bottom: 16px;
    }
    .post-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 16px;
      align-items: center;
      margin: 0;
      padding-top: 14px;
      color: var(--muted);
      border-top: 1px solid var(--border);
      font-size: .95rem;
      font-weight: 700;
      line-height: 1.7;
    }
    .post-meta span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }
    .post-meta i {
      color: var(--brand-dark);
      font-size: .92rem;
    }
    .post-meta a {
      color: var(--brand-dark);
      font-weight: 800;
    }
    .article-featured-image,
    .page-panel__image {
      margin-bottom: 24px;
      border: 1px solid var(--border);
      border-radius: 20px;
      overflow: hidden;
    }
    .page-panel__image { margin-bottom: 32px; border-radius: 24px; }
    .article-featured-image__media,
    .page-panel__image-media {
      width: 100%;
      height: auto;
      max-height: 420px;
      object-fit: cover;
    }
    .page-panel__image-media { max-height: 400px; }
    .page-panel__header {
      margin-bottom: 32px;
      text-align: center;
    }
    .page-panel__title {
      color: var(--brand-dark);
      font-size: 2.4rem;
      margin-bottom: 16px;
    }

    .sidebar-widget {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 20px;
      box-shadow: var(--shadow-sm);
      margin-bottom: 20px;
    }
    .sidebar-widget__title {
      margin-bottom: 16px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--brand-soft);
      color: var(--brand-dark);
      font-size: 1.1rem;
    }
    .sidebar-list {
      display: grid;
      gap: 14px;
    }
    .sidebar-list__item {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--text);
    }
    .sidebar-list__image {
      width: 54px;
      height: 54px;
      flex: 0 0 54px;
      border: 1px solid var(--border);
      border-radius: 12px;
      object-fit: cover;
    }
    .sidebar-list__heading {
      display: block;
      font-size: .95rem;
      line-height: 1.3;
    }
    .sidebar-list__meta { font-size: .85rem; }
    .btn-cross-platform {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 16px;
      border-radius: 16px;
      background: var(--brand-soft);
      color: var(--brand-dark);
      font-weight: 800;
    }
    .platform-links {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }
    .platform-links--center {
      grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
      justify-content: center;
    }
    .platform-card {
      display: grid;
      place-items: center;
      align-content: center;
      gap: 10px;
      min-height: 118px;
      padding: 18px;
      text-align: center;
      color: var(--text);
      background: var(--surface-soft);
      border: 1px solid var(--border);
      border-radius: 18px;
      box-shadow: var(--shadow-sm);
      transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    }
    .platform-card:hover {
      color: var(--text);
      border-color: var(--brand);
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
      opacity: 1;
    }
    .platform-card i {
      color: var(--brand-dark);
      font-size: 1.9rem;
    }
    .platform-card__label {
      display: block;
      font-weight: 800;
      font-size: 1rem;
      line-height: 1.5;
    }

    .specs-table {
      width: 100%;
      border-collapse: collapse;
      text-align: right;
    }
    .specs-table tr { border-bottom: 1px solid var(--border); }
    .specs-table th,
    .specs-table td {
      padding: 14px 18px;
      font-weight: 700;
      vertical-align: top;
    }
    .specs-table th {
      width: 30%;
      color: var(--muted);
      background: var(--surface-soft);
    }
    .specs-table__group-title {
      background: var(--surface-soft);
      padding: 12px 18px;
      font-weight: 800;
      color: var(--brand-dark);
      border-block: 1px solid var(--border);
    }

    .screenshots-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 14px;
    }
    .screenshots-grid__link {
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
    }
    .screenshots-grid__image {
      width: 100%;
      height: 160px;
      object-fit: cover;
      transition: transform .2s ease;
    }
    .screenshots-grid__link:hover .screenshots-grid__image { transform: scale(1.05); }

    .content-copy {
      position: relative;
      margin-top: 40px;
      padding: 30px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(247,251,254,.96) 0%, rgba(238,248,253,.96) 100%);
      border: 1px solid var(--border);
      border-radius: 24px;
      box-shadow: var(--shadow-sm);
    }
    .content-copy::before {
      content: "";
      position: absolute;
      inset-block: 0;
      inset-inline-start: 0;
      width: 6px;
      background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
    }
    .content-copy::after {
      content: "\f05a";
      position: absolute;
      inset-block-start: 22px;
      inset-inline-end: 24px;
      color: rgba(12,70,104,.08);
      font-family: "Font Awesome 7 Free";
      font-size: 4.2rem;
      font-weight: 900;
      line-height: 1;
      pointer-events: none;
    }
    .content-copy__inner {
      background: var(--surface-soft);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 32px;
    }
    .content-copy__title {
      color: var(--brand-dark);
      font-size: 1.4rem;
      margin-bottom: 16px;
    }
    .content-copy__content {
      color: var(--muted);
      font-size: 1.05rem;
      line-height: 1.9;
    }
    .about-category h2,
    .content-copy > h2,
    .content-copy > h1 {
      position: relative;
      margin: 0 0 16px;
      padding-inline-start: 44px;
      color: var(--brand-dark);
      font-size: 1.45rem;
    }
    .about-category h2::before,
    .content-copy > h2::before {
      content: "\f129";
      position: absolute;
      inset-inline-start: 0;
      top: 50%;
      display: grid;
      width: 32px;
      height: 32px;
      place-items: center;
      color: #fff;
      background: var(--brand-dark);
      border-radius: 10px;
      font-family: "Font Awesome 7 Free";
      font-size: .95rem;
      font-weight: 900;
      transform: translateY(-50%);
    }
    .about-category p,
    .content-copy > p {
      position: relative;
      max-width: 980px;
      margin: 0;
      color: var(--text);
      font-size: 1.06rem;
      line-height: 2;
    }
    .about-category p + p,
    .content-copy > p + p {
      margin-top: 12px;
    }

    /* Centered about sections (homepage about-site + category/archive about). */
    .about-site,
    .about-category {
      text-align: center;
    }
    .about-site > h2,
    .about-site > h1,
    .about-category h2 {
      padding-inline-start: 0;
    }
    .about-site > h2::before,
    .about-category h2::before {
      position: static;
      display: inline-grid;
      transform: none;
      vertical-align: middle;
      margin-inline-end: 10px;
    }
    .about-site > p,
    .about-category p {
      max-width: 980px;
      margin-inline: auto;
    }

    .toc-container {
      background: var(--surface-soft);
      border: 1px solid var(--border);
      border-radius: 22px;
      margin-bottom: 24px;
      overflow: hidden;
    }
    .toc-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 18px;
      background: var(--brand-dark);
      color: #fff;
    }
    .toc-title { font-size: 1rem; font-weight: 800; }
    .toc-toggle {
      background: transparent;
      border: 0;
      color: #fff;
      cursor: pointer;
      font-size: 1rem;
    }
    .toc-list {
      list-style: none;
      padding: 16px 22px;
      margin: 0;
      display: grid;
      gap: 8px;
    }
    .toc-list a {
      display: block;
      padding: 8px 12px;
      border-radius: 12px;
      color: var(--text);
      font-weight: 700;
    }
    .toc-list a:hover { background: rgba(0,170,213,.08); }
    .toc-list .toc-sub { padding-inline-start: 18px; }
    .toc-list .toc-sub a {
      color: var(--muted);
      font-weight: 400;
    }
    .toc-container.is-collapsed .toc-list { display: none; }

    .phone-hero {
      display: grid;
      grid-template-columns: 260px minmax(0, 1fr);
      gap: 32px;
      align-items: center;
      margin-bottom: 24px;
      padding: 32px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 30px;
      box-shadow: var(--shadow-sm);
    }
    .phone-hero > div:first-child { order: 2; }
    .phone-hero__media { order: 1; }
    .phone-hero__title {
      font-size: 2.5rem;
      margin-bottom: 20px;
    }
    .phone-hero__links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 24px;
    }
    .pill--square { border-radius: 8px; }
    .pill--success {
      color: var(--success);
      border-color: var(--success);
    }
    .pill--danger {
      color: var(--danger);
      border-color: var(--danger);
    }
    .quick-specs {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
    .quick-specs__item {
      background: var(--surface-soft);
      padding: 12px;
      border: 1px solid var(--border);
      border-radius: 12px;
    }
    .quick-specs__label {
      display: block;
      color: var(--brand-dark);
      font-size: .85rem;
      margin-bottom: 4px;
    }
    .quick-specs__value {
      font-size: 1rem;
      font-weight: 700;
    }
    .phone-hero__media {
      text-align: center;
      background: rgba(255,255,255,.78);
      border: 1px solid var(--border);
      border-radius: 26px;
      padding: 18px;
    }
    .phone-hero__image {
      width: 100%;
      height: 420px;
      margin: 0 auto;
      object-fit: contain;
    }
    .review-panel { padding: 24px; }
    .review-panel__summary {
      display: flex;
      flex-wrap: wrap;
      align-items: start;
      gap: 24px;
    }
    .review-panel__copy { flex: 1 1 320px; }
    .review-panel__title { margin-bottom: 16px; }
    .review-panel__text {
      color: var(--text);
      font-size: 1.05rem;
      line-height: 1.8;
    }
    .score-orb {
      width: 140px;
      height: 140px;
      display: grid;
      place-content: center;
      text-align: center;
      background: radial-gradient(circle, var(--surface) 0%, var(--surface-soft) 100%);
      border: 4px solid var(--brand);
      border-radius: 50%;
      box-shadow: var(--shadow-sm);
    }
    .score-orb__value {
      color: var(--brand-dark);
      font-size: 2.2rem;
      font-weight: 800;
    }
    .score-orb__label {
      color: var(--muted);
      font-size: .9rem;
    }
    .phone-gallery {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }
    .phone-gallery__image {
      width: 100%;
      height: 200px;
      object-fit: contain;
      background: var(--surface-soft);
      border: 1px solid var(--border);
      border-radius: 12px;
    }
    .price-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 14px;
    }
    .price-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 16px;
      text-align: center;
      box-shadow: var(--shadow-sm);
    }
    .price-card__country {
      display: block;
      color: var(--muted);
      margin-bottom: 8px;
    }
    .price-card__value {
      color: var(--success);
      font-size: 1.2rem;
      font-weight: 800;
    }
    .user-rating-panel {
      display: grid;
      grid-template-columns: 200px 1fr;
      gap: 32px;
      align-items: center;
    }
    .user-rating-panel__score { text-align: center; }
    .user-rating-panel__value {
      color: var(--warning);
      font-size: 3rem;
      font-weight: 800;
      line-height: 1;
    }
    .user-rating-panel__count {
      color: var(--muted);
      font-size: .9rem;
      margin-top: 8px;
    }
    .user-rating-panel__verdict {
      margin-top: 16px;
      color: var(--text);
      font-style: italic;
    }
    .rating-breakdown {
      display: grid;
      gap: 10px;
    }
    .rating-breakdown__row {
      display: grid;
      grid-template-columns: 58px 1fr 48px;
      align-items: center;
      gap: 10px;
    }
    .rating-breakdown__stars,
    .rating-breakdown__pct {
      color: var(--muted);
      font-size: .9rem;
      font-weight: 700;
    }
    .rating-breakdown__track {
      width: 100%;
      height: 10px;
      appearance: none;
      border: 0;
      border-radius: 999px;
      overflow: hidden;
      background: var(--surface-soft);
    }
    .rating-breakdown__track::-webkit-progress-bar { background: var(--surface-soft); }
    .rating-breakdown__track::-webkit-progress-value { background: var(--warning); }
    .rating-breakdown__track::-moz-progress-bar { background: var(--warning); }

    .single-lead {
      padding: 34px 0;
      text-align: center;
      background:
        radial-gradient(circle at top left, rgba(0, 170, 213, .12), transparent 45%),
        linear-gradient(135deg, #f7fbfe 0%, var(--brand-soft) 100%);
      border-bottom: 1px solid var(--border);
    }
    .single-lead__title {
      position: relative;
      margin: 0 auto 14px;
      padding-bottom: 30px;
      max-width: 850px;
      font-size: 1.7rem;
      font-weight: 800;
      line-height: 1.4;
      color: var(--brand-dark);
    }
    .single-lead__title::after {
      content: "";
      position: absolute;
      inset-inline: 0;
      bottom: 0;
      width: 90px;
      height: 4px;
      margin: 0 auto;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--brand), var(--brand-dark));
    }
    .single-lead__text {
      max-width: 800px;
      margin: 0 auto;
      color: var(--muted);
      line-height: 1.7;
    }
    .single-lead__text p {
      margin: 0 0 8px;
    }
    .single-lead__text p:last-child {
      margin-bottom: 0;
    }
    @media (max-width: 640px) {
      .single-lead { padding: 24px 0; }
      .single-lead__title { font-size: 1.5rem; }
    }

    .site-breadcrumbs {
      background: transparent;
      font-size: .9rem;
    }
    .breadcrumbs-container {
      display: flex;
      min-height: 0;
      align-items: center;
      margin: 0;
      padding: 18px 0 0;
      color: var(--muted);
      font-weight: 700;
    }
    .breadcrumbs-container a {
      color: var(--brand-dark);
      font-weight: 800;
    }
    .breadcrumbs-container p {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin: 0;
      line-height: 1.6;
    }
    .breadcrumbs-container .separator,
    .breadcrumbs-container .last {
      color: var(--muted);
    }
    .breadcrumbs-container .separator {
      opacity: .5;
    }
    .breadcrumbs-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .breadcrumbs-list__item:not(:last-child)::after {
      content: "/";
      margin-inline-start: 8px;
      color: var(--muted);
    }
    .faq-section { margin-top: 24px; }
    .faq-accordion {
      display: grid;
      gap: 12px;
    }
    .faq-item {
      border: 1px solid var(--border);
      border-radius: 14px;
      background: var(--surface-soft);
      overflow: hidden;
    }
    .faq-item__summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      cursor: pointer;
      font-weight: 800;
      list-style: none;
    }
    .faq-item__summary::-webkit-details-marker { display: none; }
    .faq-item__icon { transition: transform .2s ease; }
    .faq-item[open] .faq-item__icon { transform: rotate(180deg); }
    .faq-item__answer {
      padding: 0 16px 16px;
      color: var(--muted);
    }
    .pros-cons {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      margin-top: 20px;
    }
    .pros-cons__box {
      border: 1px solid var(--border);
      border-radius: 16px;
      background: var(--surface-soft);
      padding: 18px;
    }
    .pros-cons__title {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
      color: var(--brand-dark);
      font-size: 1.05rem;
    }
    .pros-cons__list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 10px;
    }
    .pros-cons__item {
      display: flex;
      align-items: start;
      gap: 10px;
      line-height: 1.7;
    }
    .pros-cons__box--pros .pros-cons__icon { color: var(--success); }
    .pros-cons__box--cons .pros-cons__icon { color: var(--danger); }

    .social-share {
      margin-top: 24px;
      padding: 18px;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      background: var(--surface);
      box-shadow: var(--shadow-sm);
    }
    .article-panel .social-share {
      margin: 22px;
      margin-top: 0;
      background: var(--surface-soft);
    }
    .social-share__title {
      margin-bottom: 14px;
      color: var(--brand-dark);
      font-size: 1.05rem;
      font-weight: 800;
    }
    .social-share__list {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .social-share__item {
      margin: 0;
    }
    .social-share__link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 44px;
      border-radius: 14px;
      color: #fff;
      font-size: 1.05rem;
      box-shadow: var(--shadow-sm);
      transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
      /* Button reset: these render as <button>, not <a>. */
      appearance: none;
      padding: 0;
      border: 0;
      font-family: inherit;
      line-height: 1;
      cursor: pointer;
    }
    .social-share__link:hover {
      color: #fff;
      opacity: 1;
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
    .social-share__link--facebook { background: #1877f2; }
    .social-share__link--x { background: #111827; }
    .social-share__link--linkedin { background: #0a66c2; }
    .social-share__link--messenger { background: #a334fa; }
    .social-share__link--whatsapp { background: #25d366; }
    .social-share__link--telegram { background: #229ed9; }

    @media (max-width: 1200px) {
      .featured-grid,
      .blog-featured-grid,
      .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .category-block-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .home-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .phone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .single-stat-grid,
      .download-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .carousel__item { flex-basis: calc((100% - 48px) / 4); }
      .carousel--phones .carousel__item { flex-basis: calc((100% - 32px) / 3); }
      .carousel--tools .carousel__item { flex-basis: calc((100% - 48px) / 4); }
    }
    @media (max-width: 860px) {
      .site-nav__links { display: none; }
      .hero-home__shell,
      .home-featured__shell { padding: 20px; }
      .content-layout,
      .phone-hero,
      .user-rating-panel,
      .pros-cons { grid-template-columns: 1fr; }
      .phone-hero > div:first-child,
      .phone-hero__media { order: initial; }
      .single-intro__top { grid-template-columns: 1fr; }
      .single-intro__icon,
      .download-panel__icon { margin-inline: auto; }
      .download-panel__header {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .single-intro--software .single-intro__body,
      .download-panel__body {
        min-height: auto;
        justify-items: center;
        text-align: center;
      }
      .platform-links { grid-template-columns: 1fr; }
      .featured-grid,
      .blog-featured-grid,
      .post-grid,
      .category-grid,
      .category-block-grid,
      .app-grid,
      .mini-grid,
      .phone-grid,
      .phone-gallery { grid-template-columns: 1fr; }
      .home-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .carousel__item { flex-basis: calc((100% - 16px) / 2); }
      .carousel--phones .carousel__item { flex-basis: calc((100% - 16px) / 2); }
      .carousel--tools .carousel__item { flex-basis: calc((100% - 16px) / 2); }
      .site-footer__main { grid-template-columns: 1fr; }
    }
    @media (max-width: 580px) {
      .container { width: min(var(--container), calc(100% - 20px)); }
      .hero-home { padding-top: 20px; }
      .home-featured { padding-top: 20px; }
      .hero-home__shell,
      .home-featured__shell,
      .site-hero__inner,
      .section-body { padding: 16px; }
      .section-head { padding: 13px 16px; }
      .home-platform { padding: 14px 16px 18px; }
      .home-platform__line { display: none; }
      .home-platform__title { font-size: 1.5rem; }
      .home-platform__chip { width: 40px; height: 40px; font-size: 1.15rem; }
      .hero-home h1 { font-size: 2rem; }
      .site-hero__title { font-size: 1.9rem; }
      .single-stat-grid,
      .download-meta-grid { grid-template-columns: 1fr; }
      .single-intro,
      .download-panel,
      .article-panel,
      .page-panel,
      .review-panel,
      .phone-hero { padding: 18px; }
      .geekarabi-lightbox { padding: 22px 16px; }
      .geekarabi-lightbox__image { max-height: calc(100vh - 150px); }
      .geekarabi-lightbox__nav {
        top: auto;
        bottom: 20px;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        transform: none;
      }
      .geekarabi-lightbox__nav:hover { transform: translateY(-1px); }
      .single-intro__title,
      .single-intro--tool .single-intro__title,
      .download-panel__title,
      .article-header__title,
      .page-panel__title,
      .phone-hero__title { font-size: 1.8rem; }
      .download-panel .button-cta--large {
        width: 100%;
        min-width: 0;
      }
      .single-screens__item img { height: 160px; }
      .single-screens--portrait .single-screens__item img {
        width: 130px;
        height: 260px;
      }
      .archive-search { border-radius: 18px; }
      .metric-card,
      .category-card,
      .app-card,
      .bundle-card,
      .phone-card { border-radius: 18px; }
      .carousel__item { flex-basis: 100%; }
      .carousel__controls {
        inset-inline: 10px;
        top: 50%;
      }
      .carousel--phones .carousel__item { flex-basis: 100%; }
      .carousel--tools .carousel__item { flex-basis: 100%; }
    }
