/* Native Android tablets: accepted landscape layout for PROD AAB 1.0.6 (108). */
@media (min-width: 800px) and (min-height: 600px) and (orientation: landscape) {
  html.native-android-app {
    --android-home-edge: clamp(16px, 2vw, 24px);
  }

  html.native-android-app body {
    background: #f8fafc;
  }

  html.native-android-app #root > .min-h-screen:not(.home-page) {
    width: min(100%, 820px);
    margin-right: auto;
    margin-left: auto;
  }

  html.native-android-app .home-page.home-telegram-fit-preview {
    width: 100%;
    max-width: none;
  }

  html.native-android-app .home-page.home-telegram-fit-preview .home-logo-header img {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    height: auto !important;
    max-height: none !important;
  }

  html.native-android-app .home-page.home-telegram-fit-preview .home-search-shell,
  html.native-android-app .home-page.home-telegram-fit-preview .home-stat-section,
  html.native-android-app .home-page.home-telegram-fit-preview .home-top-banner-section,
  html.native-android-app .home-page.home-telegram-fit-preview .home-middle-banner-section,
  html.native-android-app .home-page.home-telegram-fit-preview .home-popular-section,
  html.native-android-app .home-page.home-telegram-fit-preview .home-account-cta {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  html.native-android-app .home-page.home-telegram-fit-preview .home-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  html.native-android-app .home-page.home-telegram-fit-preview .home-category-grid > .home-category-card:nth-child(n) {
    aspect-ratio: 5 / 3 !important;
  }

  html.native-android-app .home-page.home-telegram-fit-preview .home-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    gap: 12px !important;
  }

  html.native-android-app .home-page.home-telegram-fit-preview .home-quick-grid > .home-quick-card {
    aspect-ratio: 3 / 1 !important;
  }
}
