@media (max-width: 980px) {
  body.site-banner-enabled {
    padding-top: 142px;
  }

  .site-global-banner__shell {
    gap: 14px;
    min-height: auto;
  }

  .site-global-banner__brand {
    order: -1;
    font-size: 20px;
  }

  .site-global-banner__actions {
    order: 2;
  }

  .site-global-banner__nav {
    width: 100%;
    order: 1;
  }
}

@media (max-width: 720px) {
  body.site-banner-enabled {
    padding-top: 168px;
  }

  .site-global-banner {
    padding: 12px 10px 10px;
  }

  .site-global-banner__shell {
    gap: 12px;
    padding: 14px;
    border-radius: 24px;
  }

  .site-global-banner__brand {
    width: 100%;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    letter-spacing: 0.05em;
  }

  .site-global-banner__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .site-global-banner__nav a {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 12px;
    font-size: 15px;
  }

  .site-global-banner__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .site-global-banner__cta,
  .site-global-banner__register {
    min-width: 0;
    min-height: 54px;
    width: 100%;
    padding-inline: 14px;
    border-radius: 18px;
    font-size: 15px;
  }

  body[data-loader-theme="torix"] section,
  body[data-loader-theme="green-games"] section {
    padding: 44px 0;
  }

  body[data-loader-theme="torix"] .hero,
  body[data-loader-theme="green-games"] .hero {
    padding-top: 18px;
  }

  body[data-loader-theme="torix"] .hero-layout,
  body[data-loader-theme="green-games"] .hero-layout {
    gap: 24px;
  }

  body[data-loader-theme="torix"] .hero-actions,
  body[data-loader-theme="green-games"] .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  body[data-loader-theme="torix"] .hero-actions a,
  body[data-loader-theme="green-games"] .hero-actions a {
    width: 100%;
    justify-content: center;
  }

  body[data-loader-theme="torix"] .hero-desc,
  body[data-loader-theme="green-games"] .hero-desc,
  body[data-loader-theme="torix"] .section-heading p,
  body[data-loader-theme="green-games"] .section-heading p,
  body[data-loader-theme="green-games"] .hub-heading p {
    font-size: 15px;
    line-height: 1.82;
  }

  body[data-loader-theme="torix"] .hero-copy,
  body[data-loader-theme="green-games"] .hero-copy {
    gap: 16px;
  }

  body[data-loader-theme="torix"] .company-shell,
  body[data-loader-theme="torix"] .services-shell,
  body[data-loader-theme="torix"] .apps-shell,
  body[data-loader-theme="torix"] .spotlight-shell,
  body[data-loader-theme="torix"] .cta-panel,
  body[data-loader-theme="green-games"] .hub-card-copy {
    border-radius: 24px;
  }

  body[data-loader-theme="torix"] .company-shell,
  body[data-loader-theme="torix"] .services-shell,
  body[data-loader-theme="torix"] .apps-shell,
  body[data-loader-theme="torix"] .spotlight-shell,
  body[data-loader-theme="torix"] .cta-panel {
    padding: 18px;
  }

  body[data-loader-theme="torix"] .product-card,
  body[data-loader-theme="torix"] .service-card,
  body[data-loader-theme="torix"] .product-mini {
    padding: 18px;
  }

  body[data-loader-theme="torix"] .product-points li,
  body[data-loader-theme="torix"] .service-card p,
  body[data-loader-theme="torix"] .product-card p,
  body[data-loader-theme="green-games"] .community-note,
  body[data-loader-theme="green-games"] .community-subnote,
  body[data-loader-theme="green-games"] .hub-card-copy p {
    font-size: 14px;
    line-height: 1.82;
  }

  body[data-loader-theme="torix"] .spotlight-layout,
  body[data-loader-theme="green-games"] .hub-carousel {
    gap: 16px;
  }

  body[data-loader-theme="green-games"] .hero-device {
    width: 100%;
    padding: 16px;
    border-radius: 28px;
  }

  body[data-loader-theme="green-games"] .device-body {
    gap: 14px;
  }

  body[data-loader-theme="green-games"] .hero-main-shot,
  body[data-loader-theme="green-games"] .feature-screen {
    border-radius: 22px;
  }

  body[data-loader-theme="green-games"] .hub-card picture {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 22px;
  }
}

@media (max-width: 520px) {
  body.site-banner-enabled {
    padding-top: 190px;
  }

  .site-global-banner__actions,
  .site-global-banner__nav {
    grid-template-columns: 1fr;
  }

  body[data-loader-theme="torix"] .hero-title,
  body[data-loader-theme="green-games"] .hero-title {
    font-size: clamp(30px, 10.6vw, 44px);
  }

  body[data-loader-theme="torix"] .hero-visual,
  body[data-loader-theme="green-games"] .hero-visual {
    min-height: auto;
  }

  body[data-loader-theme="green-games"] .avatar-row {
    grid-template-columns: 1fr;
  }

  body[data-loader-theme="green-games"] .comment-card-new {
    min-width: 250px;
    max-width: 250px;
  }
}
