/* Google Maps preland ??static mock */
:root {
  --gm-blue: #1a73e8;
  --gm-blue-bright: #4285f4;
  --gm-green: #34a853;
  --gm-ink: #0b1220;
  --gm-muted: #64748b;
  --gm-line: #e2e8f0;
  --gm-surface: #f7f9fc;
  --gm-developer: #34a853;
  --font-display: var(--font, 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  --font-body: var(--font, 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  --radius-pill: 999px;
  --radius-card: 20px;
  --shadow-cta: 0 14px 36px rgba(26, 115, 232, 0.38);
  --max: 1024px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: #fff;
  background: #070b14;
  -webkit-font-smoothing: antialiased;
}

body.gmaps-preland-page {
  margin: 0;
  font-family: var(--font-body);
  color: #fff;
  background: #070b14;
  -webkit-font-smoothing: antialiased;
  /* Override project --container (min(1300px, 92%)) so these pages cap at 1024 */
  --container: 1124px;
}

body.gmaps-preland-page .container {
  width: min(1324px, calc(100% - 40px));
  max-width: 1324px;
  margin-inline: auto;
}

/* Project site-header on dark hero (same treatment as .page-hero) */
body.gmaps-preland-page .hero__content > .site-header--hero {
  margin-top: 0;
}

body.gmaps-preland-page .main-nav-item {
  color: rgba(255, 255, 255, 0.78);
}

body.gmaps-preland-page .main-nav-item:hover,
body.gmaps-preland-page .main-nav-item.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

body.gmaps-preland-page .header_search.searchbar {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

body.gmaps-preland-page .search-input {
  color: #ffffff;
}

body.gmaps-preland-page .search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

body.gmaps-preland-page .lang-picker {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

body.gmaps-preland-page .nav-toggle,
body.gmaps-preland-page .header-search-toggle {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

body.gmaps-preland-page .header-search-toggle:hover,
body.gmaps-preland-page .header-search-toggle.is-active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1024px, calc(100% - 40px));
  max-width: 1024px;
  margin-inline: auto;
}

/* ?? Hero shell ?? */
.hero {
  position: relative;
  min-height: calc(100vh - 105px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
}
/* /satellite-earth-maps & /satellite-earth-install: no forced viewport min-height */
body.earth-adaptive-ads .hero,
body.earth-adaptive-ads .hero--install {
  min-height: 0;
}
body.earth-adaptive-ads.page-home .hero {
  overflow: visible;
}
.ads_box{
  text-align: center;
}

.hero__bg,
.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg {
  background-color: #0a1220;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: none;
  filter: brightness(0.5) saturate(0.95);
}

/* Default / other apps: unified app-download hero background */
.page-home .hero__bg,
.hero__bg--home,
.preland-theme-apps.page-home .hero__bg,
.preland-theme-apps .hero__bg--home {
  background-image: url("../images/gmaps-preland/hero-bg-apps.webp");
  background-size: cover;
  background-position: center center;
  filter: brightness(0.62) saturate(1.02);
}

.page-install .hero__bg,
.hero__bg--install,
.preland-theme-apps.page-install .hero__bg,
.preland-theme-apps .hero__bg--install {
  background-image: url("../images/gmaps-preland/hero-bg-apps.webp");
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.45) saturate(0.95) blur(8px);
  transform: scale(1.04);
}

/* Google Maps only: map navigation hero */
.preland-theme-maps.page-home .hero__bg,
.preland-theme-maps .hero__bg--home {
  background-image: url("../images/gmaps-preland/hero-bg-shared.webp");
  background-size: cover;
  background-position: center center;
  filter: brightness(0.55) saturate(1.05);
}

.preland-theme-maps.page-install .hero__bg,
.preland-theme-maps .hero__bg--install {
  background-image: url("../images/gmaps-preland/hero-bg-shared.webp");
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.4) saturate(0.95) blur(8px);
  transform: scale(1.04);
}

/* Google Earth only: satellite Earth from space */
.preland-theme-earth.page-home .hero__bg,
.preland-theme-earth .hero__bg--home {
  background-image: url("../images/gmaps-preland/hero-bg-earth.webp?v=2");
  background-size: cover;
  background-position: center center;
  filter: brightness(0.58) saturate(1.08);
}

.preland-theme-earth.page-install .hero__bg,
.preland-theme-earth .hero__bg--install {
  background-image: url("../images/gmaps-preland/hero-bg-earth.webp?v=2");
  background-size: cover;
  background-position: center 45%;
  filter: brightness(0.42) saturate(1.02) blur(8px);
  transform: scale(1.04);
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.45) 0%, rgba(7, 11, 20, 0.55) 45%, rgba(7, 11, 20, 0.55) 100%),
    linear-gradient(120deg, rgba(7, 11, 20, 0.35) 0%, transparent 35%);
}



.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: visible;
  width: min(100%, 1280px);
  max-width: 1280px;
  margin-inline: auto;
}

.hero__content > .site-header {
  position: relative;
  z-index: 50;
  overflow: visible;
}

/* Ã¢ÂÂÃ¢ÂÂ Hero main Ã¢ÂÂÃ¢ÂÂ */
.hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding: 48px 0 56px;
  animation: heroIn 0.7s ease both;
}

.hero-main__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  width: min(100%, 1024px);
  margin-inline: auto;
}

.hero-main__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main__icon {
  width: clamp(112px, 18vw, 100px);
  height: clamp(112px, 18vw, 100px);
  border-radius: 36px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  background: #fff;
}

.hero-main__copy {
  text-align: left;
  min-width: 0;
}

@keyframes heroIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-main__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: none;
}

.hero-main__desc {
  margin: 0 0 12px;
  max-width: auto;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.hero-main__trust {
  margin: 0 0 22px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* App stats strip */
.app-stats {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 14px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 28, 42, 0.75), rgba(10, 14, 24, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  text-align: left;
  animation: statsIn 0.8s 0.15s ease both;
  width: max-content;
  max-width: 100%;
}

@keyframes statsIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.app-stats__icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.app-stats__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.app-stats__developer {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gm-developer);
}

.app-stats__metrics {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
}

.app-stats__metric {
  padding: 0 16px;
  position: relative;
  min-width: 0;
}

.app-stats__metric:first-child {
  padding-left: 0;
}

.app-stats__metric:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}
.hero::after{
  display: none;
}
.app-stats__value {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.app-stats__value--text {
  font-size: 1.05rem;
  line-height: 1.25;
  max-width: 11em;
}

.app-stats__value .star {
  font-size: 0.95rem;
  color: #f59e0b;
}

.app-stats__label {
  margin-top: 2px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.cta-install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 280px;
  max-width: 100%;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 16px;
  background: #1a73e8;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-cta);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s, opacity 0.25s;
}

.cta-install.is-gated {
  pointer-events: none;
}

.cta-install:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(26, 115, 232, 0.45);
}

.cta-install svg {
  width: 22px;
  height: 22px;
}

/* Spinner overlays the CTA; the label stays visible */
.cta-install .gm-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity 0.25s;
}

.cta-install.is-gated .gm-spinner {
  opacity: 1;
}

.gm-spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  vertical-align: middle;
}

.hero-ad {
  width: min(100%, 1024px);
  margin: 36px 0 0;
}


/* ?? White section (screen 2) ?? */
.panel {
  background: #fff;
  color: var(--gm-ink);
  padding: 0px 0 88px;
  position: relative;
}

.panel__eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gm-blue);
  margin-bottom: 20px;
}

.panel__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gm-ink);
}

.panel__lead {
  margin: 0 0 40px;
  max-width: 620px;
  color: var(--gm-muted);
  line-height: 1.6;
}

.section-block + .section-block {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--gm-line);
}

.overview-body {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.7;
}

.overview-body p {
  margin: 0 0 1em;
}

.overview-body ul {
  margin: 0 0 1.2em;
  padding-left: 1.15em;
}

.overview-body li {
  margin-bottom: 0.45em;
}

.overview-body strong {
  color: var(--gm-ink);
}

.data-safety {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 0;
  width: max-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 14px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 28, 42, 0.75), rgba(10, 14, 24, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
  text-align: left;
  animation: statsIn 0.8s 0.1s ease both;
}

.data-safety__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 0 14px;
  position: relative;
}

.data-safety__item:nth-child(3n + 1) {
  padding-left: 0;
}

.data-safety__item:nth-child(3n) {
  padding-right: 0;
}

.data-safety__item:not(:nth-child(3n + 1))::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.data-safety__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  place-items: center;
}

.data-safety__body {
  min-width: 0;
}

.data-safety__title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}

.data-safety__sub,
.data-safety__link {
  display: block;
  margin-top: 3px;
  font-size: 0.7rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
}

.data-safety__link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.data-safety__link:hover {
  color: #fff;
}

.hero-main > .cta-install,
.hero-land-main > .cta-install,
.cta-install--desktop,
.cta-install--bar {
  align-self: center;
  min-width: min(420px, 100%);
  min-height: 68px;
  padding: 0 40px;
  font-size: 1.35rem;
  border-radius: 18px;
  margin-top: 8px;
}

/* Earth landing: first-screen left copy + right ranking/stats */
.hero-main--split {
  align-items: stretch;
}

body.gmaps-preland-page .container.hero-main--split {
  width: min(1364px, calc(100% - 40px));
  max-width: 1364px;
}

.hero-land-layout {
  display: grid;
  grid-template-columns: minmax(0, 1000px) minmax(0, 340px);
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

.hero-land-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero-land-main > .nt-ad--pc-top,
.hero-land-main > .nt-ad--pc-top .nt-ad__box,
.hero-land-main > .nt-ad--pc-top [id^="div-gpt-ad"] {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1400px) {
  .hero-land-layout {
    grid-template-columns: 1000px 340px;
  }

  .hero-land-main {
    width: 1000px;
    max-width: 1000px;
  }
}

.hero-main--split .hero-main__row {
  width: 100%;
}

.hero-land-main > .hero-ad {
  margin-top: auto;
  width: 100%;
}

.hero-insights {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-insights__tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-insights__tab {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-insights__tab-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #fff;
  color: #111;
}

.hero-insights__tab.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hero-insights__panel[hidden] {
  display: none !important;
}

.hero-insights__panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-insights .ranking-card,
.hero-insights .app-meta {
  padding: 14px 16px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.hero-insights .ranking-card__head {
  margin-bottom: 8px;
}

.hero-insights .ranking-card__title,
.hero-insights .ranking-card__others-title,
.hero-insights .app-meta__title {
  color: rgba(255, 255, 255, 0.7);
}

.hero-insights .app-meta__title {
  margin: 0 0 8px;
  font-size: 0.92rem;
  line-height: 1.3;
}

.hero-insights .ranking-card__bell {
  filter: grayscale(0.2);
  opacity: 0.85;
}

.hero-insights .ranking-card__main {
  margin-bottom: 10px;
}

.hero-insights .ranking-card__hash {
  color: rgba(255, 255, 255, 0.42);
}

.hero-insights .ranking-card__value {
  font-size: 2.35rem;
  color: #8ab4f8;
}

.hero-insights .ranking-card__others-title {
  margin: 0 0 4px;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-insights .ranking-list__item {
  padding: 6px 0;
  border-top-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
}

.hero-insights .ranking-list__rank {
  color: #fff;
}

.hero-insights .ranking-list__label {
  overflow-wrap: anywhere;
}

.hero-insights .app-meta__head {
  margin-bottom: 8px;
}

.hero-insights .app-meta__tags {
  gap: 6px;
}

.hero-insights .app-meta__tag {
  min-height: 22px;
  padding: 0 8px;
  font-size: 0.68rem;
  background: rgba(138, 180, 248, 0.16);
  color: #c5d9fb;
}

.hero-insights .app-meta__tag:first-child {
  background: #1a73e8;
  color: #fff;
}

.hero-insights .app-meta__row {
  padding: 6px 0;
  border-top-color: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  gap: 6px;
}

.hero-insights .app-meta__label {
  min-width: 92px;
  color: rgba(255, 255, 255, 0.52);
}

.hero-insights .app-meta__value,
.hero-insights .app-meta__value a {
  color: #fff;
}

.hero-insights .app-meta__value--link,
.hero-insights .app-meta__value a {
  color: #8ab4f8;
}

.hero-insights .app-meta__value--muted {
  color: rgba(255, 255, 255, 0.5);
}

.hero-insights .app-meta__badge--up {
  background: rgba(22, 163, 74, 0.22);
  color: #86efac;
}

.hero-insights .app-meta__badge--date {
  background: rgba(245, 158, 11, 0.22);
  color: #fcd34d;
}

.hero-insights .app-meta__row:last-child {
  display: none;
}

body.earth-adaptive-ads.page-home .panel .ranking-card,
body.earth-adaptive-ads.page-home .panel .app-meta,
body.earth-adaptive-ads.page-home .panel .store-meta-panel {
  display: none !important;
}

body.earth-adaptive-ads.page-home .panel .store-panel__grid {
  grid-template-columns: minmax(0, 1fr);
}

/* Mobile float CTA lives outside hero; hide on desktop */
.cta-install-bar {
  display: none;
}

.cta-install--bar {
  display: none;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 18px;
  border-radius: 16px;
  background: var(--gm-surface);
  border: 1px solid transparent;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.info-card:hover {
  border-color: #cfe0fb;
  background: #f3f7fd;
  transform: translateY(-2px);
}

.info-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #e8f0fe;
  color: var(--gm-blue);
  font-size: 1rem;
  flex-shrink: 0;
}

.info-card__label {
  display: block;
  width: 100%;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gm-muted);
  margin: 0 0 6px;
}

.info-card__value {
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gm-ink);
  word-break: break-word;
  line-height: 1.3;
}

.panel-cta {
  margin-top: 40px;
}

.panel-cta .cta-install {
  min-width: 280px;
}

/* Store insights (reviews + app info) */
.store-insights {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--gm-line);
}

.store-insights__head {
  margin-bottom: 28px;
}

/* Heading kept in the document while the rest of the panel is deferred */
.store-insights--pending,
.store-insights--pending .store-insights__head {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.panel-defer__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Keeps the page scrollable so the scroll-triggered injection can fire. */
  min-height: 620px;
  color: #94a3b8;
}

.panel-defer__placeholder .gm-spinner {
  width: 48px;
  height: 48px;
}

.store-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding: 6px;
  border-radius: 14px;
  background: var(--gm-surface);
  border: 1px solid var(--gm-line);
}

.store-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--gm-muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.store-tab__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #fff;
}

.store-tab.is-active {
  background: #fff;
  color: var(--gm-ink);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.store-panel[hidden],
.store-meta-panel[hidden] {
  display: none !important;
}

/* Fixed ad host between store panels and stats Ã¢ÂÂ never hidden with tabs */
.panel-ad-host {
  width: 100%;
  margin: 20px 0 0;
}
.store-meta-panel {
  width: 100%;
  margin-top: 20px;
}
.store-meta-panel .app-meta {
  margin: 0;
}

.store-panel__grid {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.store-panel__grid--solo {
  grid-template-columns: minmax(0, 1fr);
}

.ranking-card {
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--gm-line);
}

.ranking-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ranking-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gm-muted);
}

.ranking-card__bell {
  font-size: 0.95rem;
  opacity: 0.7;
}

.ranking-card__main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
}

.ranking-card__hash {
  font-size: 1.6rem;
  font-weight: 600;
  color: #94a3b8;
}

.ranking-card__value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gm-blue);
}

.ranking-card__trend {
  font-size: 0.82rem;
  font-weight: 700;
}

.ranking-card__trend--up {
  color: #16a34a;
}

.ranking-card__trend--down {
  color: #dc2626;
}

.ranking-card__others-title {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gm-muted);
}

.ranking-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-top: 1px solid #e8edf4;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #334155;
}

.ranking-list__rank {
  font-weight: 700;
  color: var(--gm-ink);
}

.ranking-list__label {
  flex: 1 1 auto;
  min-width: 0;
}

.ranking-list__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f59e0b;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.ranking-list__trend {
  font-size: 0.75rem;
  font-weight: 700;
}

.ranking-list__trend--up {
  color: #16a34a;
}

.ranking-list__trend--down {
  color: #dc2626;
}

.store-panel__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reviews-block,
.app-meta {
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--gm-line);
}

.reviews-block__head,
.app-meta__head {
  margin-bottom: 16px;
}

.reviews-block__title,
.app-meta__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gm-ink);
}

.reviews-block__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gm-muted);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card {
  padding: 14px 0;
  border-top: 1px solid #edf2f7;
}

.review-card:first-child {
  padding-top: 0;
  border-top: none;
}

.review-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.review-card__author {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gm-ink);
}

.review-stars {
  display: inline-flex;
  gap: 1px;
}

.review-stars__star {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1;
}

.review-stars__star.is-filled {
  color: #f59e0b;
}

.review-card__date {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--gm-muted);
}

.review-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
}

.app-meta__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-meta__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8f0fe;
  color: var(--gm-blue);
  font-size: 0.78rem;
  font-weight: 600;
}

.app-meta__tag:first-child {
  background: var(--gm-blue);
  color: #fff;
}

.app-meta__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-meta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  border-top: 1px solid #edf2f7;
  font-size: 0.9rem;
  line-height: 1.5;
}

.app-meta__row:first-child {
  border-top: none;
  padding-top: 0;
}

.app-meta__label {
  min-width: 132px;
  color: var(--gm-muted);
  font-weight: 500;
}

.app-meta__value {
  color: var(--gm-ink);
  font-weight: 600;
}

.app-meta__value--link {
  color: var(--gm-blue);
}

.app-meta__value--muted {
  color: var(--gm-muted);
  font-weight: 500;
}

.app-meta__value a {
  color: var(--gm-blue);
  text-decoration: none;
}

.app-meta__value a:hover {
  text-decoration: underline;
}

.app-meta__sep {
  color: #cbd5e1;
}

.app-meta__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.app-meta__badge--up {
  background: #dcfce7;
  color: #15803d;
}

.app-meta__badge--date {
  background: #ffedd5;
  color: #c2410c;
}

.app-meta__devices {
  display: inline-flex;
  gap: 8px;
  font-size: 1.1rem;
}

/* ?? Install page ?? */
.hero--install {
  min-height: calc(100vh - 150px);
}

.identify {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  width: 100%;
  padding: 36px 0 48px;
  text-align: center;
}

/* Earth install: left content + You May Like sidebar */
.identify.identify--split {
  align-items: stretch;
  text-align: left;
  padding: 20px 0 32px;
}
.identify-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  width: 100%;
}
.identify-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.identify-main .glass-card {
  width: 100%;
  max-width: none;
}
.identify-sidebar {
  min-width: 0;
  position: sticky;
  top: 16px;
}
.identify-sidebar .sidebar-section {
  margin: 0;
}
.identify-sidebar .sidebar-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.identify-sidebar .popular-apps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.identify-sidebar .popular-app-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.identify-sidebar .popular-app-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.identify-sidebar .popular-app-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.identify-sidebar .popular-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.identify-sidebar .popular-app-details {
  flex: 1;
  min-width: 0;
}
.identify-sidebar .popular-app-name {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 650;
  color: #fff;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.identify-sidebar .popular-app-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
}
.identify-sidebar .popular-app-category {
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.identify-sidebar .popular-app-rating {
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}
.identify-sidebar .rating-star {
  color: #fbbf24;
}
@media (max-width: 980px) {
  .identify-layout {
    grid-template-columns: 1fr;
  }
  .identify-sidebar,
  .identify-layout > .rf-tools-sidebar {
    position: static;
    width: min(100%, 420px);
    margin: 0 auto;
  }
  .hero-land-layout {
    grid-template-columns: 1fr;
  }
  .hero-land-main {
    width: auto;
    max-width: none;
  }
  .hero-insights {
    position: static;
    max-height: none;
    width: min(100%, 420px);
    margin: 0 auto;
  }
}


.is-hidden {
  display: none !important;
}

/* One glass box ?? fixed height for loading + result */
.glass-card {
  width: min(100%, 960px);
  min-height: 340px;
  padding: 36px 32px 28px;
  border-radius: 22px;
  background: rgba(28, 30, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  animation: cardIn 0.45s ease both;
}

.glass-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.glass-card__subtitle {
  margin: 0 0 22px;
  max-width: 36em;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.98rem;
  line-height: 1.45;
}

.glass-card__stage {
  width: 100%;
  flex: 1;
  position: relative;
  min-height: 160px;
}

.glass-progress {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 420px);
  transition: opacity 0.3s ease;
}

.glass-card.is-complete .glass-progress {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.glass-card.is-complete .glass-card__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 72px;
}

.glass-progress__track {
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.glass-progress__bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #3b82f6;
  transition: width 0.15s linear;
}

.glass-progress__pct {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #3b82f6;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes optionIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glass-stores {
 
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin-top: 20px;
}

.glass-stores.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.glass-stores.is-single {
  justify-content: center;
}

.glass-chip[hidden],
.glass-store-notice[hidden] {
  display: none !important;
}

.glass-stores.is-single .glass-chip.is-visible {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
}

.glass-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  min-height: 60px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font: inherit;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, border-color 0.2s, background 0.2s;
}

.glass-chip[data-store="play"],
.glass-chip[data-store="apple"],
.glass-chip[data-store="chrome"],
.glass-chip[data-store="edge"],
.glass-chip[data-store="firefox"] {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.glass-chip.is-visible {
  opacity: 1;
  animation: optionIn 0.35s ease both;
}

.glass-chip.is-selected,
.glass-chip:hover {
  background: rgba(30, 41, 59, 0.88);
}

.glass-chip.is-selected {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.12);
}

.glass-chip.is-selected:hover {
  border-color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25);
}

.glass-chip__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.glass-chip__icon--img {
  background: transparent;
}

.glass-chip__icon--img img {
  display: block;
  width: 24px;
  height: 24px;
}

.glass-store-notice {
  width: 100%;
  max-width: 520px;
  margin: 20px auto 0;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(120, 53, 15, 0.28);
  color: #fde68a;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.glass-store-notice.is-visible {
  opacity: 1;
  visibility: visible;
  animation: optionIn 0.35s ease both;
}

.glass-store-notice__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #fef3c7;
}

.glass-store-notice__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #fde68a;
}

.glass-chip__text {
  font-weight: 700;
  font-size: 1rem;
}

.continue-btn {
  position: absolute;
  left: 50%;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 360px;
  padding: 0 44px;
  border-radius: 999px;
  background: #1a73e8;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.3s ease, filter 0.2s;
}

.continue-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: continueIn 0.35s ease both;
}

@keyframes continueIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.continue-btn:hover {
  filter: brightness(1.08);
}

.continue-btn--glass {
  margin-top: 0;
}

/* Advertisement block */
.ad-block {
  width: min(100%, 920px);
  margin-top: 28px;
}

.ad-block__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  font-style: italic;
}

.ad-block__divider::before,
.ad-block__divider::after {
  content: "";
  flex: 1;
  border-top: 1px dashed rgba(255, 255, 255, 0.28);
}

/* White panel ad label (Maps/Earth panel HTML uses .loading_ads .ad-label) */
.panel .loading_ads,
.panel .panel-ad {
  margin: 28px 0 36px;
  text-align: center;
}

.panel .loading_ads .ad-label,
.panel .panel-ad .ad-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: #94a3b8;
  font-size: 0.78rem;
  font-style: italic;
  user-select: none;
}

.panel .loading_ads .ad-label::before,
.panel .loading_ads .ad-label::after,
.panel .panel-ad .ad-label::before,
.panel .panel-ad .ad-label::after {
  content: "";
  flex: 1;
  border-top: 1px dashed #cbd5e1;
}

.panel .loading_ads .ad-label span,
.panel .panel-ad .ad-label span {
  flex-shrink: 0;
}

/* PC short viewport (~1080 and below): compress hero so bottom ad stays visible */
@media (max-height: 1080px) and (min-width: 770px) {
  body.gmaps-preland-page .install-logo-header__brand {
    padding: 6px 8px;
  }

  body.gmaps-preland-page .install-logo-header__brand img {
    height: 28px;
  }

  .hero {
    min-height: 0;
  }

  .hero-main {
    flex: 0 0 auto;
    min-height: 0;
    padding: 8px 0 12px;
    justify-content: flex-start;
  }

  .hero-main__row {
    gap: 20px;
    width: min(100%, 1024px);
  }

  .hero-main__icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  }

  .hero-main__title {
    margin: 0 0 6px;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
  }

  .hero-main__desc {
    margin: 0 0 8px;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .data-safety {
    gap: 8px 0;
    margin: 0 0 8px;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .data-safety__item {
    padding: 0 10px;
  }

  .data-safety__title {
    font-size: 0.74rem;
  }

  .data-safety__sub,
  .data-safety__link {
    font-size: 0.62rem;
    margin-top: 2px;
  }

  .hero-main__trust {
    margin: 0 0 8px;
    font-size: 0.8rem;
  }

  .app-stats {
    margin-bottom: 8px;
    padding: 8px 14px;
    gap: 12px;
  }

  .app-stats__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .app-stats__developer {
    font-size: 0.85rem;
  }

  .app-stats__body {
    gap: 6px;
  }

  .app-stats__value {
    font-size: 1rem;
  }

  .app-stats__label {
    font-size: 0.65rem;
  }

  .hero-main > .cta-install,
  .hero-land-main > .cta-install,
  .cta-install--desktop,
  .cta-install--bar {
    min-width: min(320px, 100%);
    min-height: 48px;
    padding: 0 24px;
    font-size: 1.05rem;
    border-radius: 14px;
    margin-top: 4px;
  }

  .nt-ad--pc-top {
    margin-bottom: 10px;
  }

  .hero-ad,
  .nt-ad.hero-ad {
    margin: 12px 0 0;
  }
}

/* Earth landing: from 1000px height, compress stepwise so both ads stay on the first screen */
@media (max-height: 1000px) and (min-width: 770px) {
  body.earth-adaptive-ads.page-home .install-logo-header__brand {
    padding: 4px 8px;
  }

  body.earth-adaptive-ads.page-home .install-logo-header__brand img {
    height: 24px;
  }

  body.earth-adaptive-ads.page-home .hero,
  body.earth-adaptive-ads.page-home .hero-main {
    min-height: 0;
  }

  body.earth-adaptive-ads.page-home .hero-main {
    padding: 4px 0 6px;
  }

  body.earth-adaptive-ads.page-home .hero-land-layout {
    gap: 16px;
  }

  body.earth-adaptive-ads.page-home .hero-main__row {
    gap: 12px;
  }

  body.earth-adaptive-ads.page-home .hero-main__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
  }

  body.earth-adaptive-ads.page-home .hero-main__title {
    margin: 0 0 4px;
    font-size: 1.4rem;
  }

  body.earth-adaptive-ads.page-home .hero-main__desc {
    margin: 0 0 6px;
    font-size: 0.8rem;
    line-height: 1.3;
  }

  body.earth-adaptive-ads.page-home .data-safety {
    gap: 4px 0;
    margin: 0 0 6px;
    padding: 8px 12px;
    border-radius: 12px;
  }

  body.earth-adaptive-ads.page-home .data-safety__title {
    font-size: 0.72rem;
  }

  body.earth-adaptive-ads.page-home .data-safety__sub,
  body.earth-adaptive-ads.page-home .data-safety__link {
    font-size: 0.58rem;
    margin-top: 1px;
  }

  body.earth-adaptive-ads.page-home .hero-main__trust {
    margin: 0 0 4px;
    font-size: 0.72rem;
  }

  body.earth-adaptive-ads.page-home .app-stats {
    margin-bottom: 6px;
    padding: 6px 12px;
    gap: 10px;
  }

  body.earth-adaptive-ads.page-home .app-stats__value {
    font-size: 0.92rem;
  }

  body.earth-adaptive-ads.page-home .app-stats__label {
    font-size: 0.6rem;
  }

  body.earth-adaptive-ads.page-home .hero-land-main > .cta-install {
    min-width: min(280px, 100%);
    min-height: 42px;
    padding: 0 22px;
    font-size: 0.98rem;
    margin-top: 2px;
  }

  body.earth-adaptive-ads.page-home .hero-land-main > .nt-ad--pc-top {
    margin-bottom: 6px;
  }

  body.earth-adaptive-ads.page-home .hero-land-main > .hero-ad,
  body.earth-adaptive-ads.page-home .hero-land-main > .nt-ad.hero-ad {
    margin-top: 8px;
  }
}

@media (max-height: 960px) and (min-width: 770px) {
  body.earth-adaptive-ads.page-home .hero-main__trust {
    margin: 0 0 2px;
    font-size: 0.68rem;
  }

  body.earth-adaptive-ads.page-home .hero-main__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  body.earth-adaptive-ads.page-home .hero-main__title {
    font-size: 1.28rem;
  }

  body.earth-adaptive-ads.page-home .hero-main__desc {
    font-size: 0.76rem;
    margin: 0 0 4px;
  }

  body.earth-adaptive-ads.page-home .data-safety {
    padding: 6px 10px;
    margin: 0 0 4px;
  }

  body.earth-adaptive-ads.page-home .hero-land-main > .cta-install {
    min-height: 38px;
    font-size: 0.92rem;
  }
}

@media (max-height: 900px) and (min-width: 770px) {
  body.earth-adaptive-ads.page-home .hero-main {
    padding: 2px 0 4px;
  }

  body.earth-adaptive-ads.page-home .hero-main__desc {
    font-size: 0.72rem;
    line-height: 1.25;
    margin: 0 0 4px;
  }

  body.earth-adaptive-ads.page-home .data-safety {
    padding: 4px 8px;
    margin: 0 0 4px;
    gap: 2px 0;
  }

  body.earth-adaptive-ads.page-home .app-stats {
    margin-bottom: 4px;
    padding: 4px 10px;
  }
}

@media (max-height: 840px) and (min-width: 770px) {
  body.earth-adaptive-ads.page-home .hero-main__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  body.earth-adaptive-ads.page-home .hero-main__title {
    font-size: 1.15rem;
    margin: 0 0 2px;
  }

  body.earth-adaptive-ads.page-home .hero-land-main > .cta-install {
    min-height: 36px;
    font-size: 0.88rem;
  }
}


/* 1366x768 / 1024x720: keep ad + Reviews heading fully in the first screen */
@media (max-height: 768px) and (min-width: 770px) {
  body.gmaps-preland-page .install-logo-header__brand {
    padding: 4px 8px;
  }

  body.gmaps-preland-page .install-logo-header__brand img {
    height: 26px;
  }

  .hero {
    min-height: 0;
  }

  .hero-main {
    flex: 0 0 auto;
    min-height: 0;
    padding: 4px 0 8px;
    justify-content: flex-start;
  }

  .hero-main__row {
    gap: 16px;
  }

  .hero-main__icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  }

  .hero-main__title {
    margin: 0 0 4px;
    font-size: 1.5rem;
  }

  .hero-main__desc {
    margin: 0 0 6px;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .data-safety {
    gap: 6px 0;
    margin: 0 0 6px;
    padding: 8px 12px;
    border-radius: 12px;
  }

  .data-safety__item {
    padding: 0 10px;
  }

  .data-safety__title {
    font-size: 0.72rem;
  }

  .data-safety__sub,
  .data-safety__link {
    font-size: 0.58rem;
    margin-top: 2px;
  }

  .hero-main__trust {
    margin: 0 0 4px;
    font-size: 0.74rem;
  }

  .app-stats {
    margin-bottom: 4px;
    padding: 6px 12px;
  }

  .app-stats__developer {
    font-size: 0.8rem;
  }

  .app-stats__body {
    gap: 4px;
  }

  .app-stats__value {
    font-size: 0.95rem;
  }

  .app-stats__label {
    font-size: 0.62rem;
  }

  .hero-main > .cta-install,
  .hero-land-main > .cta-install,
  .cta-install--bar {
    min-width: min(300px, 100%);
    min-height: 44px;
    padding: 0 22px;
    font-size: 1rem;
    border-radius: 12px;
    margin-top: 4px;
  }

  .hero-ad {
    flex-shrink: 0;
    margin: 8px 0 0;
  }

  .hero-ad .ad-block__divider {
    margin-bottom: 8px;
  }

  body.gmaps-preland-page:not(.earth-adaptive-ads) .hero-ad .ads_box {
    min-height: 250px;
  }
  body.earth-adaptive-ads .hero-ad .ads_box,
  body.earth-adaptive-ads .hero-ad .nt-ad__box,
  body.earth-adaptive-ads .hero-ad [id^="div-gpt-ad"] {
    min-height: 0;
  }

  .panel {
    padding-top: 12px;
  }

  .store-insights--pending .panel__title {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
  }
}

@media (max-height: 720px) and (min-width: 770px) {
  .hero-main__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .hero-main__title {
    font-size: 1.35rem;
  }

  .hero-main__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .data-safety {
    padding: 6px 10px;
    margin: 0 0 4px;
  }

  .hero-main > .cta-install,
  .hero-land-main > .cta-install,
  .cta-install--bar {
    min-height: 40px;
    font-size: 0.95rem;
  }
}


/* ?? Responsive ?? */
@media (max-width: 768px) {
  .hero-ad{
    margin-top: 0;
  }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(7, 11, 20, 0.72) 0%, rgba(7, 11, 20, 0.82) 45%, rgba(7, 11, 20, 0.88) 100%),
      linear-gradient(120deg, rgba(7, 11, 20, 0.55) 0%, transparent 40%);
  }
  .hero{
    padding-top: 5px;
  }
  .ad-block{
    margin-top: 0;
  }
  .identify{
    padding-top: 0;
  }
  .hero-main {
    padding: 5px 0 40px;
    align-items: stretch;
  }
  .hero-insights {
    width: 100%;
  }
  body.gmaps-preland-page .container{
    width: 98%;
  }
  .ad-block__divider{
    margin-bottom: 2px;
  }

  .hero-main__row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 10px;
    align-items: center;
  }

  .hero-main__copy {
    display: contents;
  }

  .hero-main__visual {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
  }

  .hero-main__icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
  }

  .hero-main__title {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    font-size: 22px;
    margin: 0;
    align-self: center;
  }

  .hero-main__desc,
  .data-safety,
  .hero-main__trust,
  .app-stats {
    grid-column: 1 / -1;
  }

  .hero-main__desc {
    margin: 0px 0 0px;
    font-size: 14px;
  }

  .hero-main__trust {
    margin: 0 0 0px;
    font-size: 12px;
  }

  .app-stats {
    width: 100%;
    gap: 14px;
    padding: 5px 12px;
    margin-bottom: 8px;
  }
  .app-stats__developer{
    font-size: 12px;
  }
  .cta-install{
    min-height: 55px !important;
    padding: 0 40px !important;
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }
  .data-safety {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .data-safety__item {
    padding: 0;
  }

  .data-safety__item:not(:nth-child(3n + 1))::before {
    display: none;
  }

  .data-safety__title {
    font-size: 0.82rem;
  }

  .data-safety__sub,
  .data-safety__link {
    font-size: 0.72rem;
  }

  body.gmaps-preland-page.page-home .hero {
    overflow: visible;
  }

  .cta-install--desktop {
    display: none !important;
  }

  .cta-install-bar {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 10050 !important;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom, 8px));
    background: #fff;
    box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08);
  }

  .cta-install-bar .cta-install--bar {
    display: inline-flex !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 52px !important;
    margin: 0 !important;
    font-size: 1.1rem !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 28px rgba(26, 115, 232, 0.35) !important;
  }

  body.gmaps-preland-page.page-home {
    padding-bottom: 96px;
  }

  body.gmaps-preland-page.page-home .panel {
    padding-bottom: 100px;
  }

  body.gmaps-preland-page.page-home .panel-cta {
    display: none;
  }

  .app-stats__value {
    font-size: 13px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 48px 0 64px;
  }

  .glass-card {
    height: auto;
    padding: 8px;
    min-height: auto;
    margin-top: 10px;
  }

  .glass-card__title {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .glass-card__subtitle {
    margin: 0 0 0px;
    font-size: 0.88rem;
  }

  .glass-stores {
    top: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 2px;
    margin-top: 10px;
    justify-content: center;
  }

  .glass-stores.is-single {
    justify-content: center;
  }

  .glass-chip {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    min-height: 50px;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .glass-stores.is-single .glass-chip.is-visible {
    flex: 0 1 auto;
    width: auto;
    min-width: 180px;
    max-width: calc(100% - 8px);
  }
  .glass-card__stage{
    min-height: 140px;
  }

  .glass-chip__icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }

  .glass-chip__text {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .continue-btn {
    left: 50%;
    width: calc(100% - 8px);
    min-width: 0;
    min-height: 50px;
    padding: 0 20px;
    font-size: 1rem;
    transform: translateX(-50%);
  }

  .store-tabs {
    display: flex;
    width: 100%;
  }

  .store-tab {
    flex: 1 1 0;
    justify-content: center;
  }

  .store-panel__grid {
    grid-template-columns: 1fr;
  }

  .ranking-card__value {
    font-size: 2.4rem;
  }

  .reviews-block,
  .app-meta {
    padding: 16px;
  }

  .page-home .hero__bg,
  .hero__bg--home,
  .preland-theme-apps.page-home .hero__bg,
  .preland-theme-apps .hero__bg--home {
    background-image: url("../images/gmaps-preland/bg-apps-home.webp?v=1");
    background-size: cover;
    background-position: center top;
    filter: brightness(0.55) saturate(0.98);
  }

  .page-install .hero__bg,
  .hero__bg--install,
  .preland-theme-apps.page-install .hero__bg,
  .preland-theme-apps .hero__bg--install {
    background-image: url("../images/gmaps-preland/bg-apps-install.webp?v=1");
    background-size: cover;
    background-position: center top;
    filter: brightness(0.42) saturate(0.92) blur(6px);
    transform: none;
  }

  .preland-theme-maps.page-home .hero__bg,
  .preland-theme-maps .hero__bg--home {
    background-image: url("../images/gmaps-preland/bg-shared-home.webp?v=1");
    background-size: auto 100%;
    background-position: center top;
    filter: brightness(0.48) saturate(0.92);
  }

  .preland-theme-maps.page-install .hero__bg,
  .preland-theme-maps .hero__bg--install {
    background-image: url("../images/gmaps-preland/bg-shared-install.webp?v=1");
    background-size: auto 100%;
    background-position: center top;
    filter: brightness(0.38) saturate(0.9) blur(6px);
    transform: none;
  }

  .preland-theme-earth.page-home .hero__bg,
  .preland-theme-earth .hero__bg--home {
    background-image: url("../images/gmaps-preland/bg-earth-home.webp?v=1");
    background-size: cover;
    background-position: center top;
    filter: brightness(0.5) saturate(1.05);
  }

  .preland-theme-earth.page-install .hero__bg,
  .preland-theme-earth .hero__bg--install {
    background-image: url("../images/gmaps-preland/bg-earth-install.webp?v=1");
    background-size: cover;
    background-position: center top;
    filter: brightness(0.4) saturate(1) blur(6px);
    transform: none;
  }
}

@media (max-width: 480px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .store-panel__grid {
    grid-template-columns: 1fr;
  }

  .review-card__date {
    margin-left: 0;
    width: 100%;
  }

  .app-meta__label {
    min-width: 100%;
  }
}

body.gmaps-preland-page .install-logo-header {
  position: relative;
  z-index: 3;
  margin-bottom: 0;
}

body.gmaps-preland-page .install-logo-header .container {
  display: flex;
  align-items: center;
}

body.gmaps-preland-page .install-logo-header__brand {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 14px;
}

body.gmaps-preland-page .install-logo-header__brand img {
  display: block;
  width: auto;
  height: 32px;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

/* Earth adaptive GPT ads (satellite-earth-maps / satellite-earth-install) — mirrors new_onlinetrackpackage nt-ad */
.earth-adaptive-ads .nt-ad {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.earth-adaptive-ads .nt-ad.hero-ad,
.earth-adaptive-ads .nt-ad[data-ad-slot="earth_bottom"],
.earth-adaptive-ads .nt-ad.panel-ad {
  width: 100%;
  max-width: 970px;
  margin-left: auto;
  margin-right: auto;
}
.earth-adaptive-ads .nt-ad.hero-ad {
  margin-top: 36px;
}
.earth-adaptive-ads .nt-ad [id^="div-gpt-ad"] {
  min-width: 0;
  min-height: 0;
  width: 100%;
  text-align: center;
}
.earth-adaptive-ads .nt-ad.hero-ad .nt-ad__box,
.earth-adaptive-ads .nt-ad.hero-ad [id^="div-gpt-ad"],
.earth-adaptive-ads .nt-ad[data-ad-slot="earth_bottom"] .nt-ad__box,
.earth-adaptive-ads .nt-ad[data-ad-slot="earth_bottom"] [id^="div-gpt-ad"],
.earth-adaptive-ads .nt-ad.panel-ad .nt-ad__box,
.earth-adaptive-ads .nt-ad.panel-ad [id^="div-gpt-ad"] {
  max-width: 970px;
  margin-left: auto;
  margin-right: auto;
}
.earth-adaptive-ads .panel-ad-host {
  width: 100%;
  max-width: 970px;
  margin-left: auto;
  margin-right: auto;
}
.earth-adaptive-ads .nt-ad__label {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.56);
  text-align: center;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.4;
}
.earth-adaptive-ads .nt-ad__box {
  min-width: 0;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.earth-adaptive-ads .nt-ad--light .nt-ad__label {
  color: #7c8798;
}
.earth-adaptive-ads .panel .nt-ad.panel-ad {
  margin: 28px 0 36px;
}
/* Earth PC top leaderboard — visible even if body class lags */
.nt-ad--pc-top {
  margin: 0 auto 20px;
  width: 100%;
  max-width: 970px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nt-ad--pc-top .nt-ad__label {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.56);
  text-align: center;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.4;
}
.nt-ad--pc-top .nt-ad__box,
.nt-ad--pc-top [id^="div-gpt-ad"] {
  min-height: 90px;
  width: 100%;
  max-width: 970px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}
.earth-adaptive-ads .nt-ad--pc-top {
  margin: 0 auto 16px;
  width: 100%;
  max-width: 970px;
}
.hero-land-main > .nt-ad--pc-top,
.earth-adaptive-ads .hero-land-main > .nt-ad--pc-top {
  margin: 0 0 16px;
  width: 100%;
  max-width: 100%;
}
.hero-land-main > .nt-ad--pc-top .nt-ad__box,
.hero-land-main > .nt-ad--pc-top [id^="div-gpt-ad"],
.earth-adaptive-ads .hero-land-main > .nt-ad--pc-top .nt-ad__box,
.earth-adaptive-ads .hero-land-main > .nt-ad--pc-top [id^="div-gpt-ad"] {
  width: 100%;
  max-width: 100%;
}
.earth-adaptive-ads .nt-ad--pc-top .nt-ad__box,
.earth-adaptive-ads .nt-ad--pc-top [id^="div-gpt-ad"] {
  min-width: 0;
  min-height: 90px;
  max-width: 970px;
}
.earth-adaptive-ads .identify > .nt-ad--pc-top {
  margin: 0 auto 20px;
  width: 100%;
  max-width: 970px;
}
.earth-adaptive-ads .identify > .nt-ad:not(.nt-ad--pc-top),
.earth-adaptive-ads .identify-main .nt-ad:not(.nt-ad--pc-top) {
  width: 100%;
  max-width: 100%;
  margin: 16px auto;
}
.earth-adaptive-ads .identify > .nt-ad:not(.nt-ad--pc-top) .nt-ad__box,
.earth-adaptive-ads .identify > .nt-ad:not(.nt-ad--pc-top) [id^="div-gpt-ad"],
.earth-adaptive-ads .identify-main .nt-ad:not(.nt-ad--pc-top) .nt-ad__box,
.earth-adaptive-ads .identify-main .nt-ad:not(.nt-ad--pc-top) [id^="div-gpt-ad"] {
  min-height: 0;
  max-width: 100%;
  overflow: hidden;
}

/* Identify: compress glass card on short / small viewports so bottom ad stays visible */
@media (max-height: 860px), (max-width: 768px) {
  .identify-page .hero--install {
    min-height: 0;
  }
  .identify-page .identify {
    padding: 12px 0 16px;
    gap: 10px;
  }
  .identify-page .glass-card {
    min-height: 0;
    padding: 16px 20px 14px;
    border-radius: 16px;
  }
  .identify-page .glass-card__title {
    margin: 0 0 6px;
    font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  }
  .identify-page .glass-card__subtitle {
    margin: 0 0 10px;
    font-size: 0.86rem;
    line-height: 1.35;
  }
  .identify-page .glass-card__stage {
    min-height: 88px;
    flex: 0 0 auto;
  }
  .identify-page .glass-card.is-complete .glass-card__stage {
    padding-bottom: 0;
    min-height: 0;
  }
  .identify-page .glass-progress {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(100%, 360px);
    margin: 4px auto 0;
  }
  .identify-page .glass-progress__pct {
    margin-top: 8px;
    font-size: 0.85rem;
  }
  .identify-page .glass-stores {
    margin-top: 8px;
    gap: 8px;
  }
  .identify-page .glass-chip {
    min-height: 48px;
    padding: 10px 14px;
  }
  .identify-page .earth-adaptive-ads .identify > .nt-ad--pc-top,
  .earth-adaptive-ads.identify-page .identify > .nt-ad--pc-top {
    margin-bottom: 10px;
  }
  .earth-adaptive-ads.identify-page .identify > .nt-ad:not(.nt-ad--pc-top) {
    margin: 10px auto;
  }
}

@media (max-height: 720px) {
  .identify-page .glass-card {
    padding: 12px 16px 10px;
  }
  .identify-page .glass-card__stage {
    min-height: 72px;
  }
  .identify-page .identify {
    padding: 8px 0 12px;
  }
}

.rf-tools-sidebar {
  min-width: 0;
  color: #fff;
  text-align: left;
}
.rf-tools-sidebar__brand {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.rf-tools-sidebar__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.rf-tools-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rf-tool-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.rf-tool-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}
.rf-tool-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.55);
}
.rf-tool-card__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rf-tool-card__copy strong {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.rf-tool-card__copy span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.74rem;
  line-height: 1.3;
}
.rf-tools-note {
  margin-top: 14px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.rf-tools-note h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.rf-tools-note p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.5;
}
.rf-tools-note ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  line-height: 1.55;
}


