:root {
  --play-green: #0b57d0;
  --play-green-dark: #0842a0;
  --play-blue: #1a73e8;
  --ink: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --soft-line: #e8eaed;
  --paper: #fff;
  --soft-paper: #f8fafd;
  --chip: #f1f3f4;
  --shadow: 0 1px 2px rgba(60, 64, 67, 0.16), 0 1px 3px rgba(60, 64, 67, 0.08);
  --page: min(1280px, calc(100vw - 96px));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Google Sans", "Product Sans", "Avenir Next", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.play-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  padding: 0 24px 0 32px;
  border-bottom: 1px solid var(--soft-line);
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.play-brand {
  width: 145px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.play-brand img {
  width: 144px;
  height: auto;
}

.play-tabs {
  display: flex;
  align-items: stretch;
  gap: 32px;
  align-self: stretch;
}

.play-tabs a {
  position: relative;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.play-tabs a.active {
  color: var(--play-green);
}

.play-tabs a.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  content: "";
  background: var(--play-green);
}

.play-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.play-actions button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.play-actions svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.play-actions button:hover {
  background: var(--chip);
}

.language-picker {
  position: relative;
  height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  background: transparent;
}

.language-picker:hover {
  background: var(--chip);
}

.language-picker svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.language-picker select {
  max-width: 96px;
  padding: 0 15px 0 0;
  border: 0;
  outline: 0;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.language-picker::after {
  position: absolute;
  right: 9px;
  top: 50%;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top-color: currentColor;
  content: "";
  pointer-events: none;
  transform: translateY(-1px);
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #ff6037, #ed174f);
  font-weight: 800;
}

.review-avatar-blue {
  background: linear-gradient(135deg, #3185f4, #0751b7);
}

.page {
  width: var(--page);
  margin: 0 auto;
  padding: 64px 0 72px;
}

.mobile-feature-art,
.mobile-bottom-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: clamp(72px, 9vw, 132px);
  align-items: start;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.1rem, 5vw, 4.45rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.developer,
.mobile-title a {
  margin-top: 10px;
  display: inline-flex;
  color: var(--play-green);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.store-meta {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.mobile-title {
  display: none;
}

.app-icon-card {
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-icon-plate,
.mobile-icon-plate {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: #090617;
}

.app-icon-plate {
  width: 240px;
  height: 240px;
  border-radius: 52px;
}

.app-icon-plate img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.mobile-icon-plate {
  width: 82px;
  height: 82px;
  border-radius: 20px;
}

.mobile-icon-plate img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.stats {
  margin-top: 40px;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.stat {
  min-width: 124px;
  padding: 0 30px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.install-row {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.install-button {
  min-width: 214px;
  height: 40px;
  padding: 0 32px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--play-green);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.install-button:hover {
  background: var(--play-green-dark);
}

.install-button:focus-visible,
.text-action:focus-visible,
.language-picker select:focus-visible,
.install-fallback button:focus-visible,
.install-fallback a:focus-visible,
.install-success button:focus-visible {
  outline: 3px solid rgba(1, 135, 95, 0.28);
  outline-offset: 3px;
}

.install-button-spinner {
  display: none;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 2px solid rgba(1, 135, 95, 0.22);
  border-top-color: var(--play-green);
  border-radius: 999px;
  animation: material-spin 760ms linear infinite;
}

body.is-installing .install-button {
  border: 1px solid var(--line);
  color: var(--play-green);
  background: #fff;
  box-shadow: none;
  cursor: wait;
}

body.is-installing .install-button-spinner {
  display: inline-block;
}

body.is-installed .install-button {
  color: #fff;
  background: var(--play-green);
}

.install-progress[hidden] {
  display: none;
}

.install-progress {
  width: min(100%, 420px);
  margin-top: 16px;
}

.install-progress-meta {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.install-progress-meta strong {
  color: var(--play-green);
  font-variant-numeric: tabular-nums;
}

.install-progress-track {
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: #e6e9ee;
}

.install-progress-track > span {
  width: 0;
  height: 100%;
  border-radius: inherit;
  display: block;
  background: var(--play-green);
  box-shadow: 0 0 0 1px rgba(11, 87, 208, 0.04);
  transform-origin: left center;
}

@keyframes material-spin {
  to {
    transform: rotate(360deg);
  }
}

.text-action {
  border: 0;
  color: var(--play-green);
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.text-action svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.device-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.screenshot-strip {
  margin-top: 56px;
  padding-bottom: 12px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 230px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}

.screenshot-strip figure {
  height: 408px;
  margin: 0;
  border: 1px solid var(--soft-line);
  border-radius: 18px;
  overflow: hidden;
  background: #f8f9fa;
  scroll-snap-align: start;
}

.screenshot-strip .wide-shot {
  grid-column: span 2;
}

.screenshot-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 72px;
  align-items: start;
}

.main-column,
.side-column {
  min-width: 0;
}

.card-section {
  padding: 32px 0;
  border-top: 1px solid var(--soft-line);
}

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

.card-section h2,
.side-card h2 {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.018em;
}

.card-section p,
.side-card p {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.about-copy {
  display: grid;
  gap: 14px;
}

.about-copy .about-lede {
  font-weight: 500;
}

.about-copy h3 {
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 600;
}

.feature-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  display: grid;
  gap: 2px;
}

.feature-list li::before {
  position: absolute;
  top: 8px;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  content: "";
  background: var(--play-green);
}

.feature-list strong {
  font-size: 14px;
  font-weight: 600;
}

.feature-list span {
  color: var(--muted);
  font-size: 13px;
}

.muted {
  color: var(--muted) !important;
}

.chip-row,
.device-tabs {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip-row span,
.device-tabs button {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.device-tabs button {
  cursor: pointer;
}

.device-tabs button.active {
  border-color: #d7f1e7;
  color: var(--play-green);
  background: #eff8f4;
}

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

.update-list div {
  margin: 0;
}

.update-list dt {
  color: var(--muted);
  font-size: 13px;
}

.update-list dd {
  margin: 3px 0 0;
  font-size: 14px;
}

.promotion-section > .muted {
  margin-bottom: 18px;
}

.promotion-card {
  position: relative;
  min-height: 230px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: #3c241b;
}

.promotion-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.promotion-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(16, 7, 4, 0.92) 0%, rgba(16, 7, 4, 0.62) 45%, rgba(16, 7, 4, 0.08) 78%);
}

.promotion-shade {
  min-height: 230px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
}

.promotion-shade > span {
  padding: 4px 9px;
  border-radius: 999px;
  background: #ff3d2e;
  font-size: 11px;
  font-weight: 700;
}

.promotion-shade strong {
  margin-top: 12px;
  font-size: 25px;
  line-height: 1.15;
}

.promotion-shade small {
  max-width: 320px;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.promotion-shade button {
  min-height: 34px;
  margin-top: 18px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #151515;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.safety-card {
  margin-top: 22px;
  padding: 2px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.safety-card div {
  min-height: 76px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.safety-card div + div {
  border-top: 1px solid var(--soft-line);
}

.safety-card > div > span {
  color: var(--muted);
  font-size: 22px;
  text-align: center;
}

.safety-card .safety-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.safety-card .safety-icon img {
  width: 24px;
  height: 24px;
  opacity: 0.68;
}

.safety-card .safety-details {
  min-height: 52px;
  display: flex;
  align-items: center;
  color: var(--play-green);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.review-summary {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.score strong {
  display: block;
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.score span {
  color: var(--play-green);
  letter-spacing: 1px;
}

.score small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.bars {
  display: grid;
  gap: 8px;
}

.bars div {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.bars i {
  position: relative;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #eceff1;
}

.bars i::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  border-radius: inherit;
  content: "";
  background: var(--play-green);
}

.review {
  margin-top: 28px;
}

.review header {
  display: grid;
  grid-template-columns: 40px minmax(0, max-content) minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: center;
}

.review header strong {
  font-size: 14px;
  font-weight: 600;
}

.review header small,
.review > small {
  color: var(--muted);
  font-size: 12px;
}

.review header button {
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.stars {
  margin-top: 12px;
  color: var(--play-green);
  font-size: 13px;
  letter-spacing: 1px;
}

.review p {
  margin-top: 8px;
}

.review-helpful {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.review-helpful span {
  margin-right: auto;
}

.review-helpful button {
  min-width: 52px;
  height: 30px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}

.link-button {
  margin-top: 26px;
  padding: 0;
  border: 0;
  color: var(--play-green);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.release-label {
  margin-bottom: 10px !important;
  color: var(--muted) !important;
  font-size: 13px !important;
}

.release-list {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 15px;
}

.release-list li + li {
  margin-top: 6px;
}

.store-collection {
  padding: 34px 0 8px;
  border-top: 1px solid var(--soft-line);
}

.store-collection h2 {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 22px;
  font-weight: 500;
}

.app-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 156px;
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}

.app-tile {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: start;
  gap: 2px;
  scroll-snap-align: start;
}

.real-app-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.2);
}

.app-tile strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-tile small,
.app-tile > span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.recommended-collection {
  margin-top: 28px;
}

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

.recommended-list article {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.real-app-icon.mini {
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 13px;
}

.recommended-list div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.recommended-list strong {
  font-size: 14px;
  font-weight: 500;
}

.recommended-list small,
.recommended-list div span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-column {
  display: grid;
  gap: 28px;
}

.side-card {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--soft-line);
}

.side-card a {
  min-height: 64px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  text-decoration: none;
}

.side-card a + a {
  border-top: 1px solid var(--soft-line);
}

.side-card a > span {
  color: var(--muted);
  text-align: center;
}

.side-card strong,
.side-card small {
  display: block;
}

.side-card strong {
  font-size: 14px;
  font-weight: 500;
}

.side-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.rating-box {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.rating-box > strong {
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.rating-box p {
  margin: 0;
  font-size: 14px;
}

.rating-box small {
  color: var(--muted);
}

.support-card {
  padding-bottom: 34px;
}

.support-card h2 {
  margin-bottom: 26px;
}

.support-card .support-row {
  min-height: 62px;
  border-top: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.support-card .support-row + .support-row {
  margin-top: 18px;
  border-top: 0;
}

.support-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5f6368;
}

.support-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.support-copy {
  min-width: 0;
  display: block;
}

.support-card .support-copy strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.support-card .support-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.developer-info {
  margin-top: 34px;
}

.developer-info h3 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.developer-info p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.developer-info p + p {
  margin-top: 2px;
}

.install-fallback[hidden] {
  display: none;
}

.install-fallback {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(32, 33, 36, 0.42);
  animation: fallback-backdrop-in 160ms ease-out both;
}

.install-fallback-card {
  width: min(100%, 420px);
  padding: 24px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 42px rgba(32, 33, 36, 0.3);
  animation: fallback-card-in 190ms cubic-bezier(0.2, 0, 0, 1) both;
}

.install-fallback-card > img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.install-fallback-copy h2 {
  margin: 2px 0 8px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.install-fallback-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.install-fallback-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.install-fallback-actions button,
.install-fallback-actions a {
  min-width: 80px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.fallback-cancel {
  border: 0;
  color: var(--play-green);
  background: transparent;
}

.fallback-apk {
  color: #fff;
  background: var(--play-green);
}

.install-success[hidden] {
  display: none;
}

.install-success {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(32, 33, 36, 0.42);
  animation: fallback-backdrop-in 160ms ease-out both;
}

.install-success-card {
  width: min(100%, 430px);
  padding: 24px;
  border-radius: 28px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 42px rgba(32, 33, 36, 0.3);
  animation: fallback-card-in 190ms cubic-bezier(0.2, 0, 0, 1) both;
}

.install-success-app {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.install-success-icon {
  position: relative;
  width: 72px;
  height: 72px;
  display: block;
}

.install-success-icon > img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.install-success-icon > span {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 27px;
  height: 27px;
  border: 3px solid #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--play-green);
  font-size: 15px;
  font-weight: 800;
}

.install-success-card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

.install-success-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.install-success-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.install-success-actions button {
  min-width: 82px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.success-later {
  border: 0;
  color: var(--play-green);
  background: transparent;
}

.success-open {
  border: 0;
  color: #fff;
  background: var(--play-green);
}

@keyframes fallback-backdrop-in {
  from { opacity: 0; }
}

@keyframes fallback-card-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

@media (max-width: 900px) {
  :root {
    --page: min(100vw - 32px, 720px);
  }

  .play-header {
    padding: 0 16px;
    gap: 16px;
  }

  .play-brand {
    width: 136px;
  }

  .play-brand img {
    width: 134px;
  }

  .play-tabs {
    display: none;
  }

  .play-actions {
    gap: 8px;
  }

  .page {
    padding-top: 28px;
  }

  .hero {
    display: block;
  }

  .desktop-title,
  .app-icon-card {
    display: none;
  }

  .mobile-title {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
  }

  .mobile-title h1 {
    font-size: 2.3rem;
  }

  .stats {
    margin-top: 28px;
    width: 100%;
    max-width: 100%;
    display: flex !important;
    overflow: hidden;
  }

  body .page .hero .hero-copy .stats > .stat {
    width: auto !important;
    min-width: 0 !important;
    max-width: 33.333% !important;
    flex: 0 0 33.333% !important;
    padding: 0 10px;
  }

  .install-row {
    gap: 14px;
  }

  .install-button {
    width: 100%;
  }

  .screenshot-strip {
    grid-auto-columns: 184px;
    margin-right: -16px;
  }

  .screenshot-strip figure {
    height: 326px;
  }

  .content-grid {
    display: block;
  }

  .side-column {
    margin-top: 10px;
  }

  .review-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  :root {
    --page: min(100vw - 24px, 480px);
  }

  .play-header {
    height: 58px;
    gap: 8px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .play-brand {
    width: 118px;
  }

  .play-brand img {
    width: 118px;
  }

  .play-actions button:last-child {
    display: none;
  }

  .language-picker {
    width: 104px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .language-picker select {
    min-width: 0;
    max-width: 74px;
    padding-right: 12px;
    font-size: 12px;
  }

  .language-picker svg {
    width: 18px;
    height: 18px;
  }

  .mobile-title {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .mobile-icon-plate {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .mobile-icon-plate img {
    width: 100%;
    height: 100%;
  }

  .hero-copy h1,
  .mobile-title h1 {
    font-size: 2rem;
  }

  .developer,
  .mobile-title a {
    font-size: 14px;
  }

  .stats {
    display: flex !important;
  }

  body .page .hero .hero-copy .stats > .stat {
    min-width: 0 !important;
    max-width: 50% !important;
    flex-basis: 50% !important;
    padding: 0 6px;
  }

  body .page .hero .hero-copy .stats > .stat:nth-child(3) {
    display: none;
  }

  .stat strong {
    font-size: 15px;
  }

  .stat span {
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .screenshot-strip {
    grid-auto-columns: 160px;
  }

  .screenshot-strip figure {
    height: 284px;
    border-radius: 14px;
  }

  .install-fallback {
    align-items: end;
    padding: 0;
  }

  .install-fallback-card {
    width: 100%;
    padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-radius: 28px 28px 0 0;
  }

  .install-success {
    align-items: end;
    padding: 0;
  }

  .install-success-card {
    width: 100%;
    padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-radius: 28px 28px 0 0;
  }

  .card-section h2,
  .side-card h2 {
    font-size: 20px;
  }

  .update-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* Final small-screen guard: only screenshot rows may scroll horizontally. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 520px) {
  .play-header,
  .page,
  .hero,
  .hero-copy,
  .content-grid,
  .main-column,
  .side-column {
    max-width: 100%;
    overflow-x: hidden;
  }

  .stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .stats > .stat {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
  }

  .stats > .stat:nth-child(3) {
    display: none !important;
  }

  .install-row,
  .install-button {
    width: 100%;
    max-width: 100%;
  }

  .screenshot-strip {
    max-width: 100vw;
    overflow-x: auto;
  }
}

/* Current Google Play mobile detail layout, matched to the phone reference. */
@media (max-width: 520px) {
  :root {
    --page: 100%;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .play-header {
    height: 56px;
    padding: 0 14px 0 16px;
    border-bottom-color: #eef0f3;
    gap: 8px;
  }

  .play-brand {
    width: 126px;
    height: 56px;
  }

  .play-brand img {
    width: 124px;
  }

  .play-actions {
    gap: 0;
  }

  .play-actions button {
    width: 42px;
    height: 42px;
  }

  .play-actions button:last-child {
    display: none;
  }

  .page {
    width: 100%;
    padding: 0 0 32px;
    overflow: visible;
  }

  .mobile-feature-art {
    position: relative;
    width: 100%;
    height: min(72vw, 286px);
    display: block;
    overflow: hidden;
    background: #36170f;
  }

  .mobile-feature-art > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 21%;
  }

  .mobile-feature-art::after {
    position: absolute;
    inset: auto 0 0;
    height: 52%;
    content: "";
    background: linear-gradient(transparent, rgba(17, 8, 6, 0.8));
  }

  .feature-art-shade {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 1;
    display: grid;
    gap: 3px;
    color: #fff;
  }

  .feature-art-shade span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
  }

  .feature-art-shade strong {
    max-width: 280px;
    font-size: 19px;
    line-height: 1.2;
  }

  .hero {
    padding: 20px 18px 0;
  }

  .mobile-title {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .mobile-icon-plate {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .hero-copy h1,
  .mobile-title h1 {
    margin-top: 1px;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.23;
  }

  .developer,
  .mobile-title a {
    margin-top: 4px;
    display: block;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .store-meta {
    margin-top: 3px;
    font-size: 10px;
  }

  h1.desktop-title,
  .developer.desktop-title,
  .store-meta.desktop-title {
    display: none !important;
  }

  .stats {
    margin-top: 22px;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    overflow: visible;
  }

  body .page .hero .hero-copy .stats > .stat,
  .stats > .stat {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 7px !important;
    display: flex !important;
    flex: none !important;
  }

  .stat:first-child {
    padding-left: 0 !important;
  }

  .stat strong {
    font-size: 13px;
    line-height: 1.2;
  }

  .stat span {
    font-size: 10px;
    line-height: 1.3;
  }

  .install-row {
    width: 100%;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
  }

  .install-button {
    grid-column: 1 / -1;
    width: 100%;
    height: 40px;
    border-radius: 20px;
    font-size: 14px;
  }

  .text-action {
    min-height: 36px;
    justify-content: center;
    font-size: 12px;
  }

  .text-action svg {
    width: 18px;
    height: 18px;
  }

  .device-note {
    margin-top: 9px;
    font-size: 11px;
  }

  .screenshot-strip {
    width: 100%;
    max-width: 100%;
    margin: 22px 0 0;
    padding: 0 18px 12px;
    grid-auto-columns: 154px;
    gap: 10px;
  }

  .screenshot-strip figure {
    height: 274px;
    border-radius: 12px;
  }

  .screenshot-strip .wide-shot {
    grid-column: span 2;
  }

  .content-grid {
    margin-top: 14px;
    padding: 0 18px;
    overflow: visible;
  }

  .card-section,
  .card-section:first-child {
    padding: 24px 0;
    border-top: 1px solid var(--soft-line);
  }

  .card-section h2,
  .side-card h2,
  .store-collection h2 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.01em;
  }

  .card-section p,
  .side-card p,
  .release-list {
    font-size: 13px;
    line-height: 1.55;
  }

  .about-copy {
    gap: 11px;
  }

  .about-copy h3 {
    font-size: 15px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .feature-list strong {
    font-size: 13px;
  }

  .feature-list span {
    font-size: 12px;
  }

  .chip-row {
    margin-top: 18px;
    gap: 7px;
  }

  .chip-row span,
  .device-tabs button {
    min-height: 30px;
    padding: 0 12px;
    font-size: 11px;
  }

  .update-list {
    margin-top: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
  }

  .update-list dt {
    font-size: 11px;
  }

  .update-list dd {
    font-size: 12px;
  }

  .promotion-section > .muted {
    margin-bottom: 14px;
  }

  .promotion-card,
  .promotion-shade {
    min-height: 176px;
  }

  .promotion-card {
    border-radius: 13px;
  }

  .promotion-shade {
    padding: 18px;
  }

  .promotion-shade strong {
    margin-top: 9px;
    font-size: 20px;
  }

  .promotion-shade small {
    max-width: 215px;
    font-size: 11px;
  }

  .promotion-shade button {
    min-height: 30px;
    margin-top: 13px;
    font-size: 11px;
  }

  .safety-card {
    margin-top: 18px;
    padding: 0 16px;
    border-radius: 12px;
  }

  .safety-card div {
    min-height: 68px;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
  }

  .safety-card span {
    font-size: 18px;
  }

  .safety-card .safety-details {
    min-height: 48px;
    font-size: 12px;
  }

  .device-tabs {
    margin-top: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .review-summary {
    margin-top: 22px;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 20px;
  }

  .score strong {
    font-size: 48px;
  }

  .score span {
    font-size: 11px;
  }

  .score small {
    font-size: 10px;
  }

  .bars {
    gap: 5px;
  }

  .bars i {
    height: 7px;
  }

  .review {
    margin-top: 30px;
  }

  .review header {
    grid-template-columns: 34px minmax(0, max-content) minmax(0, 1fr) 24px;
    gap: 9px;
  }

  .review-avatar {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .review header strong {
    font-size: 12px;
  }

  .review header small,
  .review > small {
    font-size: 10px;
  }

  .review-helpful {
    align-items: flex-start;
    flex-wrap: wrap;
    font-size: 10px;
  }

  .review-helpful span {
    width: 100%;
  }

  .review-helpful button {
    min-width: 44px;
    height: 28px;
    padding: 0 12px;
    font-size: 10px;
  }

  .side-column {
    margin-top: 0;
    gap: 0;
  }

  .side-card {
    padding: 24px 0;
    border-top: 1px solid var(--soft-line);
    border-bottom: 0;
  }

  .support-card h2 {
    margin-bottom: 20px;
  }

  .support-card .support-row {
    min-height: 52px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
  }

  .support-card .support-row + .support-row {
    margin-top: 12px;
  }

  .support-card .support-copy strong,
  .developer-info p {
    font-size: 13px;
  }

  .support-card .support-copy small {
    font-size: 11px;
  }

  .developer-info {
    margin-top: 24px;
  }

  .developer-info h3 {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .store-collection {
    margin: 0 18px;
    padding: 24px 0 4px;
  }

  .app-rail {
    margin-right: -18px;
    padding-right: 18px;
    grid-auto-columns: 108px;
    gap: 15px;
  }

  .real-app-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .app-tile strong {
    font-size: 12px;
  }

  .app-tile small,
  .app-tile > span:last-child {
    font-size: 10px;
  }

  .recommended-collection {
    margin-top: 18px;
  }

  .recommended-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .real-app-icon.mini {
    width: 52px;
    height: 52px;
  }

  .recommended-list article {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding: 4px 6px env(safe-area-inset-bottom, 0px);
    border-top: 1px solid #e4e7ea;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
  }

  .mobile-bottom-nav button {
    border: 0;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: var(--muted);
    background: transparent;
  }

  .mobile-bottom-nav button > .bottom-nav-icon {
    min-width: 54px;
    height: 27px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .bottom-nav-icon::before {
    width: 21px;
    height: 21px;
    content: "";
    background: currentColor;
    -webkit-mask: var(--bottom-nav-icon) center / contain no-repeat;
    mask: var(--bottom-nav-icon) center / contain no-repeat;
  }

  .nav-games {
    --bottom-nav-icon: url("assets/material-icons/sports-esports.svg");
  }

  .nav-apps {
    --bottom-nav-icon: url("assets/material-icons/apps.svg");
  }

  .nav-search {
    --bottom-nav-icon: url("assets/material-icons/search.svg");
  }

  .nav-books {
    --bottom-nav-icon: url("assets/material-icons/menu-book.svg");
  }

  .mobile-bottom-nav button.active {
    color: #174ea6;
  }

  .mobile-bottom-nav button.active > .bottom-nav-icon {
    background: #d3e3fd;
  }

  .mobile-bottom-nav small {
    font-size: 9px;
    font-weight: 600;
  }
}
