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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  width: 100%;
  max-width: 100%;
}

body {
  color: #202124;
  font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

img {
  border: 0;
  max-width: 100%;
}

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

button,
.install-button {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
}

.play-page {
  background: #fff;
  color: #202124;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  width: 100%;
}

.top-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e8eaed;
  display: flex;
  min-height: 64px;
  padding: 0 24px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  position: sticky;
  top: 0;
  z-index: 30;
}

.top-nav__brand {
  align-items: center;
  color: #5f6368;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 22px;
  margin-right: 28px;
  white-space: nowrap;
}

.top-nav__brand .play-logo {
  margin-right: 8px;
}

.play-logo {
  display: block;
  flex: 0 0 auto;
  height: 36px;
  width: 36px;
}

.top-nav__menu {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.top-nav__link {
  color: #5f6368;
  flex: 0 0 auto;
  font-size: 14px;
  padding: 22px 0;
  position: relative;
  white-space: nowrap;
}

.top-nav__link + .top-nav__link {
  margin-left: 26px;
}

.top-nav__link--active {
  color: #01875f;
  font-weight: 600;
}

.top-nav__link--active::after {
  background: #01875f;
  border-radius: 999px 999px 0 0;
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

.page-shell {
  margin: 0 auto;
  max-width: 1240px;
  min-width: 0;
  padding: 70px 24px 64px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  width: 100%;
}

.content-grid {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 320px;
  min-width: 0;
  width: 100%;
}

.main-column,
.side-column,
.screenshots-block,
.section-block {
  min-width: 0;
  max-width: 100%;
}

.app-hero {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  grid-template-areas:
    "title visual"
    "dev visual"
    "stats visual"
    "actions visual"
    "note visual";
  column-gap: 72px;
  margin-bottom: 74px;
  min-width: 0;
}

.app-hero h1 {
  color: #202124;
  font-size: 56px;
  font-weight: 600;
  grid-area: title;
  line-height: 1.05;
  margin: 0;
  max-width: 720px;
  overflow-wrap: anywhere;
}

.developer-link {
  color: #01875f;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  grid-area: dev;
  margin-top: 12px;
}

.app-hero__visual {
  display: flex;
  grid-area: visual;
  justify-content: flex-end;
}

.app-hero__icon {
  border-radius: 44px;
  box-shadow: rgba(1, 135, 95, 0.2) 0 22px 30px;
  height: 240px;
  max-width: none;
  object-fit: cover;
  width: 240px;
}

.mobile-hero-stats {
  display: none;
}

.app-stats {
  display: flex;
  grid-area: stats;
  margin-top: 28px;
}

.app-stat {
  min-width: 92px;
}

.app-stat + .app-stat {
  margin-left: 36px;
}

.app-stat strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.app-stat span {
  color: #5f6368;
  display: block;
  font-size: 12px;
  margin-top: 5px;
}

.app-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  grid-area: actions;
  margin-top: 28px;
}

.app-actions > * + * {
  margin-left: 18px;
}

.install-button {
  align-items: center;
  background: #01875f;
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  min-width: 160px;
  padding: 0 34px;
  text-decoration: none;
}

.install-button,
.text-button {
  cursor: pointer;
  font-size: 14px;
}

.install-button:hover {
  background: #047857;
}

.text-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #01875f;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  min-height: 44px;
  padding: 0;
}

.text-button__icon {
  margin-right: 6px;
}

.text-button__label--mobile {
  display: none;
}

.device-note {
  color: #5f6368;
  font-size: 13px;
  grid-area: note;
  margin: 22px 0 0;
}

.screenshots-block {
  margin-top: 0;
  overflow: hidden;
}

.screenshots-strip {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  width: 100%;
}

.screenshots-strip::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.shot-card {
  background: #f1f3f4;
  border: 1px solid #dadce0;
  border-radius: 14px;
  flex: 0 0 166px;
  margin: 0 14px 0 0;
  overflow: hidden;
  width: 166px;
}

.shot-card:last-child {
  margin-right: 0;
}

.shot-card img {
  display: block;
  height: 296px;
  max-width: none;
  object-fit: cover;
  width: 166px;
}

.section-block {
  margin-top: 42px;
}

.section-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-heading > span,
.side-card__title > span {
  color: #5f6368;
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  margin-left: 16px;
}

.section-heading h2,
.side-card__title h2 {
  color: #202124;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  min-width: 0;
}

.section-heading--split {
  align-items: flex-start;
  flex-wrap: wrap;
}

.body-copy {
  color: #3c4043;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 14px;
  overflow-wrap: break-word;
}

.meta-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0 18px;
}

.meta-label {
  color: #5f6368;
  display: block;
  font-size: 12px;
  margin-bottom: 7px;
}

.meta-grid strong {
  font-size: 14px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
}

.chip {
  align-items: center;
  border: 1px solid #dadce0;
  border-radius: 999px;
  color: #5f6368;
  display: inline-flex;
  font-size: 13px;
  margin: 0 10px 10px 0;
  min-height: 34px;
  padding: 0 16px;
}

.chip-row--ratings {
  margin: 26px 0 24px;
}

.chip--selected {
  background: #e6f4ef;
  border-color: transparent;
  color: #01875f;
  font-weight: 600;
}

.safety-box {
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 18px 20px;
}

.safety-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 24px minmax(0, 1fr);
  padding: 14px 0;
}

.safety-row + .safety-row {
  border-top: 1px solid #f1f3f4;
}

.safety-row__icon {
  height: 20px;
  margin-top: 2px;
  width: 20px;
}

.safety-row span,
.safety-row strong {
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

.safety-row span {
  color: #5f6368;
  margin-top: 3px;
}

.inline-link {
  color: #01875f;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
}

.rating-verified {
  color: #5f6368;
  flex: 1 1 220px;
  font-size: 14px;
  margin: 6px 0 0;
}

.rating-overview {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: 150px minmax(0, 1fr);
}

.rating-score strong {
  display: block;
  font-size: 68px;
  font-weight: 400;
  line-height: 0.9;
}

.rating-score span {
  color: #5f6368;
  display: block;
  font-size: 13px;
  margin-top: 8px;
  width: auto;
}

.rating-stars {
  color: #01875f;
  font-size: 18px;
  letter-spacing: 2px;
}

.rating-bars {
  display: flex;
  flex-direction: column;
}

.rating-bar {
  align-items: center;
  color: #5f6368;
  display: grid;
  font-size: 13px;
  gap: 12px;
  grid-template-columns: 14px minmax(0, 1fr);
}

.rating-bar + .rating-bar {
  margin-top: 10px;
}

.rating-bar__track {
  background: #e3e7eb;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.rating-bar__fill {
  background: #01875f;
  border-radius: inherit;
  height: 100%;
}

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

.report-link {
  align-items: center;
  color: #3c4043;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  margin-top: 70px;
}

.report-link + .review-card {
  margin-top: 28px;
}

.review-card__header {
  align-items: flex-start;
  display: flex;
}

.review-card__avatar {
  background: #e6f4ef;
  border-radius: 50%;
  color: #01875f;
  display: flex;
  flex: 0 0 auto;
  font-weight: 700;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  width: 36px;
}

.review-card__meta {
  color: #5f6368;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  margin-top: 5px;
}

.review-card__meta span + span {
  margin-left: 10px;
}

.review-card__helpful {
  color: #5f6368;
  display: block;
  font-size: 12px;
}

.icon-button,
.profile-badge {
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #5f6368;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
}

.icon-button--small {
  height: 28px;
  margin-left: auto;
  width: 28px;
}

.body-copy--review {
  color: #202124;
  margin-top: 14px;
}

.side-column {
  display: flex;
  flex-direction: column;
}

.side-card + .side-card {
  margin-top: 24px;
}

.side-card {
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 20px;
}

.side-card--plain {
  border: 0;
  padding: 0;
}

.side-card__title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.rating-card {
  display: flex;
}

.rating-card__image {
  flex: 0 0 auto;
  height: 38px;
  margin-right: 14px;
  width: 38px;
}

.rating-card a,
.rating-card span,
.rating-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

.rating-card span {
  color: #5f6368;
}

.rating-card a {
  color: #01875f;
  font-weight: 600;
  margin-top: 6px;
}

.app-list__item {
  display: flex;
}

.app-list__item + .app-list__item {
  margin-top: 16px;
}

.app-list__icon {
  border-radius: 14px;
  flex: 0 0 auto;
  height: 64px;
  margin-right: 14px;
  object-fit: cover;
  width: 64px;
}

.app-list__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-list__copy strong {
  font-size: 14px;
  line-height: 1.3;
}

.app-list__copy span {
  color: #5f6368;
  font-size: 12px;
  margin-top: 4px;
}

.footer {
  border-top: 1px solid #e8eaed;
  margin: 0 auto;
  max-width: 1240px;
  padding: 44px 24px 60px;
  padding-bottom: max(60px, calc(24px + env(safe-area-inset-bottom)));
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  width: 100%;
}

.footer__grid {
  display: grid;
  gap: 28px 80px;
  grid-template-columns: repeat(2, minmax(0, 180px));
}

.footer__column {
  display: flex;
  flex-direction: column;
}

.footer__column a + a {
  margin-top: 14px;
}

.footer__column a,
.footer__legal a,
.footer__locale {
  color: #5f6368;
  font-size: 13px;
}

.footer__bottom {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 50px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
}

.footer__legal a {
  margin: 0 18px 8px 0;
}

.toast {
  background: #202124;
  border-radius: 8px;
  bottom: max(24px, env(safe-area-inset-bottom));
  color: #fff;
  display: none;
  font-size: 14px;
  left: 50%;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 50;
}

.toast.is-visible {
  display: block;
}

@media (max-width: 960px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .side-column {
    max-width: 560px;
  }

  .app-hero {
    column-gap: 32px;
    grid-template-columns: minmax(0, 1fr) 180px;
  }

  .app-hero h1 {
    font-size: 42px;
  }

  .app-hero__icon {
    border-radius: 36px;
    height: 180px;
    width: 180px;
  }
}

@media (max-width: 720px) {
  .top-nav {
    align-items: center;
    flex-wrap: wrap;
    min-height: auto;
    padding: 10px 16px 0;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    padding-top: max(10px, env(safe-area-inset-top));
  }

  .top-nav__brand {
    flex: 1 1 auto;
    font-size: 20px;
    margin-right: 0;
    min-height: 44px;
    min-width: 0;
  }

  .top-nav__brand span {
    font-size: 20px;
  }

  .top-nav__menu {
    display: grid;
    flex: 0 0 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
    overflow: visible;
    width: 100%;
  }

  .top-nav__link {
    font-size: 13px;
    justify-self: center;
    line-height: 1.2;
    padding: 12px 0 11px;
    text-align: center;
  }

  .top-nav__link + .top-nav__link {
    margin-left: 0;
  }

  .page-shell {
    padding: 24px 16px 48px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .app-hero {
    align-items: start;
    column-gap: 14px;
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas:
      "visual title"
      "visual dev"
      "mstats mstats"
      "actions actions"
      "note note";
    margin-bottom: 28px;
  }

  .app-hero__visual {
    justify-content: flex-start;
  }

  .app-hero__icon {
    border-radius: 14px;
    box-shadow: rgba(60, 64, 67, 0.15) 0 1px 2px;
    height: 64px;
    width: 64px;
  }

  .app-hero h1 {
    font-size: 22px;
    line-height: 1.15;
    margin-top: 2px;
  }

  .developer-link {
    font-size: 14px;
    margin-top: 6px;
  }

  .mobile-hero-stats {
    display: grid;
    grid-area: mstats;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 22px auto 0;
    max-width: 240px;
    width: 100%;
  }

  .mobile-hero-stat {
    align-items: center;
    color: #5f6368;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    justify-content: center;
    min-height: 42px;
    padding: 0 8px;
    text-align: center;
  }

  .mobile-hero-stat + .mobile-hero-stat {
    border-left: 1px solid #dadce0;
  }

  .mobile-hero-stat img {
    height: 20px;
    margin-bottom: 4px;
    width: 20px;
  }

  .mobile-hero-stat strong {
    color: #202124;
    font-size: 14px;
    line-height: 1.2;
  }

  .app-stats {
    display: none;
  }

  .app-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 22px;
  }

  .app-actions > * + * {
    margin-left: 0;
  }

  .install-button {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
  }

  .text-button {
    font-size: 13px;
    justify-self: center;
    line-height: 1.25;
    max-width: 100%;
    min-height: 40px;
    padding: 0 6px;
    width: auto;
  }

  .text-button__label--desktop {
    display: none;
  }

  .text-button__label--mobile {
    display: inline;
  }

  .device-note {
    margin-top: 14px;
  }

  .screenshots-block {
    margin: 0 -16px;
    padding: 0 16px;
  }

  .shot-card {
    border-radius: 8px;
    flex-basis: 108px;
    margin-right: 10px;
    width: 108px;
  }

  .shot-card img {
    height: 192px;
    width: 108px;
  }

  .rating-overview {
    gap: 18px;
    grid-template-columns: minmax(0, 1fr);
  }

  .rating-score strong {
    font-size: 54px;
  }

  .report-link {
    margin-top: 34px;
  }

  .review-card {
    padding: 20px 0;
  }

  .section-heading h2,
  .side-card__title h2 {
    font-size: 22px;
  }

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

  .safety-box {
    padding: 14px 16px;
  }

  .footer {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .footer__grid {
    gap: 28px 24px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .top-nav__link {
    font-size: 12px;
  }

  .app-hero h1 {
    font-size: 20px;
  }

  .shot-card,
  .shot-card img {
    width: 96px;
  }

  .shot-card {
    flex-basis: 96px;
  }

  .shot-card img {
    height: 171px;
  }
}
