:root {
  --bg: #fdfdfd;
  --card: #fff;
  --accent: #0b56cf;
  --text: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --placeholder: color-mix(in srgb, var(--text) 7%, var(--card));
  --placeholder-detail: color-mix(in srgb, var(--text) 35%, var(--card));
  --unit: clamp(32px, 10.5vw, 64px);
  font-family: Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: #101a24;
  color: var(--text);
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  --gutter: clamp(10px, calc(8.8vw - 24.3px), 32px);
  width: min(100%, 640px);
  min-height: 100dvh;
  margin-inline: auto;
  padding: calc(.59 * var(--unit) + env(safe-area-inset-top)) 0 env(safe-area-inset-bottom);
  background: var(--bg);
  overflow: clip;
}

.appbar {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-inline: var(--gutter);
}

.appbar .icon {
  width: 72px;
  height: 72px;
  flex: none;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 4px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 23%);
}

.appbar .meta {
  min-width: 0;
  overflow-wrap: anywhere;
}

.appbar h1 {
  margin: 0;
  font-size: calc(.666 * var(--unit));
  font-weight: 700;
  line-height: 1.13;
  color: var(--text);
}

.appbar .sub {
  margin: calc(.18 * var(--unit)) 0 0;
  color: var(--accent);
  font-size: calc(.444 * var(--unit));
  line-height: 1.25;
  font-weight: 600;
}

.app-type {
  margin: calc(.05 * var(--unit)) 0 0;
  color: var(--muted);
  font-size: calc(.333 * var(--unit));
  line-height: 1.4;
}

.facts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  width: min(calc(100% - 32px), 415px);
  margin: clamp(24px, calc(45.6px - 4vw), 30px) auto 0;
}

.facts:has(.fact:nth-child(3)) {
  grid-template-columns: 1fr 1fr 1.14fr;
}

.fact {
  position: relative;
  display: grid;
  min-height: 42px;
  justify-items: center;
  align-content: center;
  text-align: center;
  overflow-wrap: anywhere;
}

.fact + .fact::before {
  content: '';
  position: absolute;
  inset-block: 50% auto;
  inset-inline-start: 0;
  width: 1px;
  height: 24px;
  background: #e2e5e8;
  transform: translateY(-50%);
}

.fact b {
  font-size: calc(.38 * var(--unit));
  line-height: clamp(20px, 4.25vw, 25px);
  font-weight: 700;
  white-space: nowrap;
}

.fact small {
  color: var(--muted);
  font-size: calc(.333 * var(--unit));
  line-height: clamp(18px, 3.9vw, 22px);
}

.rating-star {
  font-size: .8em;
}

.age-mark {
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  margin-bottom: 4px;
  padding-inline: 2px;
  border-radius: 1px;
  background: #00a854;
  color: #fff;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
}

.cta {
  display: grid;
  grid-template-columns: 5fr 1fr;
  gap: calc(.05 * var(--unit));
  width: min(89%, 540px);
  margin: clamp(21px, calc(57px - 6vw), 34px) auto 0;
}

.appbar + .cta {
  margin-top: 32px;
}

.primary-action {
  min-width: 0;
}

.btn {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: calc(1.2 * var(--unit));
  padding: 7px 10px;
  border: 0;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: calc(.373 * var(--unit));
  line-height: 1.25;
  font-weight: 500;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.primary-action > .btn {
  height: 100%;
  border-radius: 100px 3px 3px 100px;
}

.btn-secondary {
  border-radius: 3px 100px 100px 3px;
}

.btn:disabled {
  opacity: .7;
  cursor: wait;
}

.chevron {
  width: calc(.27 * var(--unit));
  height: calc(.27 * var(--unit));
  margin-top: calc(-.12 * var(--unit));
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.device-note, .feedback {
  width: min(89%, 540px);
  margin: calc(.25 * var(--unit)) auto 0;
  text-align: center;
  color: #5e5e5e;
  font-size: calc(.31 * var(--unit));
  line-height: 1.4;
}

.utilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  width: min(89%, 540px);
  margin: calc(.55 * var(--unit)) auto 0;
}

.action {
  display: flex;
  align-items: center;
  min-height: calc(1.08 * var(--unit));
  gap: calc(.22 * var(--unit));
  padding: 0 6px 0 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: calc(.426 * var(--unit));
  font-weight: 500;
  line-height: 1.18;
  text-align: left;
  cursor: pointer;
}

.action svg {
  flex: none;
  width: 24px;
  height: 24px;
}

.action.share {
  grid-column: 1;
  padding-left: calc(.24 * var(--unit));
}

#wishlist {
  grid-column: 2;
}

#wishlist[aria-pressed="true"] svg {
  fill: var(--accent);
  stroke: #fff;
}

.gallery {
  margin: calc(.6 * var(--unit)) var(--gutter) 0;
}

.shots, .sims {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.shots::-webkit-scrollbar, .sims::-webkit-scrollbar {
  display: none;
}

.shots > :is(img, .shot-placeholder) {
  flex: none;
  width: 126px;
  height: 224px;
  border-radius: 8px;
  scroll-snap-align: start;
}

.shots img {
  object-fit: cover;
  background: var(--card);
  color: var(--muted);
  box-shadow: 0 1px 3px rgb(0 0 0 / 26%);
}

.shot-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--placeholder);
}

.shot-placeholder::before {
  content: '';
  width: 34px;
  height: 26px;
  border: 1.5px solid var(--placeholder-detail);
  border-radius: 4px;
  background: radial-gradient(circle, var(--placeholder-detail) 2px, transparent 2.5px) right 4px top 3px / 9px 9px no-repeat,
    linear-gradient(135deg, transparent 50%, var(--placeholder-detail) 51%) left 5px bottom 5px / 10px 10px no-repeat,
    linear-gradient(45deg, var(--placeholder-detail) 49%, transparent 50%) left 15px bottom 5px / 10px 10px no-repeat;
}

.card {
  margin: calc(.62 * var(--unit)) calc(var(--gutter) + 4px) 0;
  font-size: calc(.388 * var(--unit));
  line-height: 1.43;
}

.card h2 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 calc(.51 * var(--unit));
  font-size: calc(.5 * var(--unit));
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 700;
}

.card h2 span {
  color: var(--muted);
  font-size: 1.05em;
}

.card p {
  margin: 0;
}

.desc, .privacy, .review p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.gallery + .card {
  margin-top: min(19px, calc(.39 * var(--unit)));
}

.card .updated {
  display: grid;
  gap: 3px;
  margin-top: calc(.62 * var(--unit));
}

.updated time {
  color: var(--muted);
}

.category {
  display: inline-block;
  margin-top: calc(.82 * var(--unit));
  padding: 3px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-weight: 600;
  font-size: .94em;
  letter-spacing: .06em;
}

.privacy h2 {
  color: var(--text);
}

.privacy-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.safety-list {
  display: grid;
  gap: 21px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.safety-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.safety-list svg, .review-devices svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.safety-list svg {
  margin-top: 1px;
}

.safety-details {
  margin-top: 25px;
}

.safety-details summary {
  display: block;
  width: fit-content;
  padding-inline: 9px;
  color: var(--accent);
  cursor: pointer;
}

.safety-details summary::-webkit-details-marker {
  display: none;
}

.safety-details p {
  margin: 12px 9px 0;
}

.reviews h2 {
  margin-bottom: 8px;
}

.review-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: .91em;
  line-height: 1.45;
}

.review-info {
  position: relative;
}

.review-info summary {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 11px;
  cursor: pointer;
}

.review-info summary::-webkit-details-marker {
  display: none;
}

.review-info p {
  position: absolute;
  z-index: 1;
  inset-inline-end: 0;
  top: 100%;
  width: min(225px, 72vw);
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 2px 6px rgb(0 0 0 / 12%);
}

.review-devices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 17px;
}

.review-devices button, .review-helpfulness button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 33px;
  padding: 3px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
}

.review-devices button[aria-pressed="true"] {
  border-color: #e2f1ed;
  background: #e2f1ed;
  color: #006044;
}

.review-devices svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.65;
}

.rating-summary {
  display: grid;
  grid-template-columns: minmax(0, 31%) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  margin: 34px 0 20px;
}

.score {
  display: grid;
  gap: 5px;
}

.score strong {
  font-size: clamp(50px, 16vw, 96px);
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 400;
}

.score .rstars {
  font-size: clamp(14px, 4vw, 19px);
  white-space: nowrap;
}

.score small {
  color: var(--muted);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.rating-bars {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: .9em;
}

.rating-bars > div {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  line-height: 1;
}

.rating-bars progress {
  width: 100%;
  height: 10px;
  border: 0;
  border-radius: 100px;
  overflow: hidden;
  appearance: none;
  background: #e6e7e9;
}

.rating-bars progress::-webkit-progress-bar {
  border-radius: 100px;
  background: #e6e7e9;
}

.rating-bars progress::-webkit-progress-value {
  border-radius: 100px;
  background: var(--accent);
}

.rating-bars progress::-moz-progress-bar {
  border-radius: 100px;
  background: var(--accent);
}

.review {
  padding: 16px 0;
}

.review-empty {
  color: var(--muted);
}

.review-placeholder {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px 9px;
  padding: 13px 0;
}

.review-placeholder span {
  grid-column: 2;
  width: 94%;
  height: 8px;
  border-radius: 100px;
  background: var(--placeholder);
}

.review-placeholder span:first-child {
  grid-column: 1;
  width: 34px;
  height: 34px;
}

.review-placeholder span:nth-child(2) {
  width: 34%;
  height: 10px;
}

.review-placeholder span:last-child {
  width: 63%;
}

.rhead, .review-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.avatar {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8effb;
  color: #154993;
  font-weight: 700;
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
}

.avatar-placeholder {
  background: radial-gradient(circle at 50% 34%, #8e9db0 15%, transparent 18%), radial-gradient(ellipse at 50% 85%, #8e9db0 28%, transparent 31%), #e8effb;
}

.rhead b, .review p {
  font-weight: 400;
  overflow-wrap: anywhere;
}

.rstars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 1px;
}

.review-meta :is(time, small) {
  color: var(--muted);
  font-size: .81em;
}

.review-helpfulness {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  color: var(--muted);
  font-size: .81em;
}

.review-helpfulness div {
  display: flex;
  gap: 8px;
}

.review-helpfulness button {
  min-height: 32px;
  font-size: 1em;
  padding-inline: 15px;
}

.review-helpfulness button[aria-pressed="true"] {
  border-color: transparent;
  background: #e8f0fe;
  color: #174ea6;
}

.sim {
  flex: none;
  width: 92px;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  scroll-snap-align: start;
}

.sim img {
  border: 1px solid var(--line);
  border-radius: 14px;
}

.sim b, .sim small {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.store-footer {
  margin-inline: 6%;
  padding: 36px 0 72px;
  color: var(--muted);
  font-family: "Google Sans", Helvetica, Arial, sans-serif;
}

.store-footer::before {
  content: '';
  display: block;
  margin-bottom: 36px;
  border-top: 1px solid #e8eaed;
}

.store-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-groups {
  display: grid;
  row-gap: 24px;
  font-size: clamp(12.8px, 4vw, 25.6px);
  line-height: 32px;
}

.footer-groups h2 {
  margin: 0;
  font: inherit;
  font-weight: 500;
}

.store-footer .footer-meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 32px;
  column-gap: 24px;
}

.footer-meta, .footer-country {
  font-size: clamp(10.7px, 3.33vw, 21.3px);
  line-height: 48px;
}

.footer-country {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-country img {
  flex: none;
  width: 24px;
  height: 18px;
}

.modal {
  position: fixed;
  inset: 0;
  width: min(320px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
}

.modal:not([open]) {
  display: none;
}

.modal::backdrop {
  background: rgb(0 0 0 / 65%);
}

.modal .sheet {
  position: relative;
  padding: 22px;
}

.modal h2 {
  margin: 0 24px 12px 0;
  font-size: 19px;
  line-height: 1.35;
}

.modal ol {
  padding-inline-start: 20px;
}

.modal li + li {
  margin-top: 8px;
}

.modal .close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b7b7b7;
  color: white;
  font-size: 19px;
  cursor: pointer;
}

.modal .btn {
  min-height: 45px;
  font-size: 15px;
}

.modal[data-mode="quick"] h2 {
  margin: 0 0 13px;
  color: #666;
  font-size: 27px;
  font-weight: 400;
  text-align: center;
}

.quick-icon {
  width: 28px;
  height: 28px;
  margin-inline-end: 7px;
  border-radius: 6px;
  vertical-align: -5px;
}

.install-progress {
  position: relative;
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  color: var(--accent);
  font-size: 20px;
}

.progress-ring {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-inline-color: var(--accent);
  border-radius: 50%;
  animation: installation-spin .65s linear infinite;
}

@keyframes installation-spin {
  to {
    transform: rotate(1turn);
  }
}

.install-ready {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.ready-tag {
  padding: 3px 12px;
  border-radius: 20px;
  background: #e1fccc;
  color: #028760;
  font-size: 16px;
  font-weight: 700;
}

.browser-guide {
  line-height: 1.45;
}

.apk-fallback {
  margin-top: 12px;
}

.modal[data-mode="ios"] {
  width: min(88%, 550px);
  margin: auto auto max(20px, env(safe-area-inset-bottom));
  background: #f0f1f1;
  color: #151515;
  border-radius: 19px;
}

.modal[data-mode="ios"]::backdrop {
  background: rgb(0 0 0 / 75%);
}

.modal[data-mode="ios"] .sheet {
  padding: 23px 21px 37px;
}

.modal[data-mode="ios"] h2 {
  margin-bottom: 12px;
  font-weight: 600;
}

.ios-note {
  font-size: 14px;
  margin: 0 0 11px;
}

.ios-toolbar {
  position: relative;
  margin-bottom: 29px;
  padding: 6px;
  border-radius: 12px;
  background: #f6f7f7;
}

.ios-address {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 9px;
  background: #fff;
  font-size: 13px;
  box-shadow: 0 4px 9px rgb(30 34 39 / 10%);
}

.ios-browser-controls {
  display: flex;
  justify-content: space-between;
  padding: 7px 3px;
  color: #2886ff;
}

.ios-share-symbol {
  display: grid;
  place-items: center;
  position: absolute;
  top: 9px;
  left: 50%;
  width: 68px;
  height: 68px;
  transform: translateX(-50%);
  border: 2px solid #969696;
  border-radius: 50%;
  background: #fff;
  color: #2886ff;
  box-shadow: 0 4px 12px rgb(0 0 0 / 26%);
}

.ios-share-symbol b, .ios-target b {
  position: absolute;
  bottom: -15px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #101010;
  color: #fff;
}

.ios-menu {
  display: grid;
  gap: 2px;
  margin-inline: 5px;
}

.ios-menu > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  font-size: 14px;
  line-height: 1.25;
}

.ios-menu > div:first-child {
  margin-bottom: 5px;
  border-radius: 7px;
}

.ios-menu > div:nth-child(2) {
  border-radius: 7px 7px 0 0;
}

.ios-menu span {
  font-size: 18px;
}

.ios-menu .ios-target {
  position: relative;
  padding-block: 10px;
  border: 2px solid #969696;
  border-radius: 8px;
  box-shadow: 0 5px 14px rgb(0 0 0 / 20%);
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .progress-ring {
    animation: none;
  }
}
