:root {
  --bg: #f5f7f5;
  --surface: #ffffff;
  --surface-alt: #f4f6f4;
  --border: #d3d9d3;
  --text: #202124;
  --muted: #5f6368;
  --green: #0f9d58;
  --green-dark: #0b8043;
  --nav-border: #d8dbe0;
  --shadow: 0 1px 2px rgba(60, 64, 67, 0.16), 0 1px 3px 1px rgba(60, 64, 67, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.app-shell {
  min-height: 100vh;
  background: var(--bg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 20px 16px;
  background: rgba(245, 247, 245, 0.95);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.play-logo {
  width: 34px;
  height: 34px;
  flex: none;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.ghost-icon,
.more-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.icon-button svg,
.ghost-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.icon-button.small {
  width: 32px;
  height: 32px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c6cbcf, #e1e4e7);
}

.content {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 8px 20px 110px;
}

.hero {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}

.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(36px, 8vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.developer {
  display: inline-block;
  margin-top: 10px;
  color: var(--green);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.stats {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 4px 18px;
}

.stat {
  min-width: 102px;
  text-align: center;
}

.stat-value {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.star {
  font-size: 18px;
  margin-left: 2px;
}

.stat-label {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.divider {
  width: 1px;
  height: 46px;
  background: #dadce0;
}

.primary-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 24px;
}

.install-button {
  flex: 1;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

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

.ghost-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
}

.info-card,
.section,
.mini-card {
  background: var(--surface);
}

.maturity-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: transparent;
}

.age-icon {
  width: 38px;
  height: 38px;
  margin-top: 2px;
}

.age-title {
  font-size: 22px;
  font-weight: 500;
}

.age-subtitle,
.age-extra {
  margin-top: 8px;
  color: #3c4043;
  font-size: 15px;
}

.media-strip {
  padding: 22px 0 8px;
}

.shot-list,
.app-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.shot-list::-webkit-scrollbar,
.app-carousel::-webkit-scrollbar {
  display: none;
}

.shot-list img {
  width: 167px;
  height: 296px;
  border-radius: 22px;
  object-fit: cover;
  flex: none;
  box-shadow: var(--shadow);
}

.section {
  margin-top: 24px;
  background: transparent;
}

.section h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.section-content,
.support-list,
.review-list,
.ratings-overview {
  padding: 0;
}

.summary {
  font-weight: 500;
}

.section p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.62;
  color: #3c4043;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.meta-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.rank-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef3ef;
  color: #356859;
  font-size: 13px;
  font-weight: 600;
}

.safety-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: transparent;
}

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

.feature-list li {
  position: relative;
  padding-left: 20px;
  margin: 14px 0;
  font-size: 15px;
  line-height: 1.55;
  color: #3c4043;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.text-link {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.device-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.device-pill {
  height: 38px;
  padding: 0 16px;
  border: 1px solid #d4d7db;
  border-radius: 999px;
  background: transparent;
  color: #3c4043;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.device-pill.active {
  background: #dff4e7;
  border-color: #dff4e7;
  color: #0c6b3b;
}

.ratings-overview {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
}

.score-main {
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 500;
}

.score-stars {
  margin: 8px 0 6px;
  color: #2f3133;
  font-size: 14px;
  letter-spacing: 0.2em;
}

.score-label {
  color: var(--muted);
  font-size: 13px;
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bar-row {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: #e4e8e4;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0b8043;
}

.review-list {
  margin-top: 24px;
}

.review {
  padding: 18px 0 22px;
  border-bottom: 1px solid #e0e3e0;
}

.review:last-child {
  border-bottom: 0;
}

.review-head {
  display: grid;
  grid-template-columns: 40px 1fr 28px;
  gap: 12px;
  align-items: start;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dfe3e8;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: #46525b;
}

.review-stars {
  margin-top: 4px;
  color: #5f6368;
  font-size: 13px;
}

.review-stars span {
  margin-left: 8px;
}

.more-button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}

.review small {
  color: var(--muted);
  font-size: 13px;
}

.helpful {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.helpful span {
  color: #3c4043;
  font-size: 14px;
}

.help-actions {
  display: flex;
  gap: 10px;
}

.help-actions button {
  min-width: 76px;
  height: 38px;
  border: 1px solid #d2d7d2;
  border-radius: 999px;
  background: transparent;
  color: #3c4043;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.support-list {
  display: grid;
  gap: 12px;
}

.support-list a {
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}

.mini-card {
  width: 144px;
  flex: none;
}

.mini-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

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

.mini-card strong {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.35;
}

.mini-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

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

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(76px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--nav-border);
  background: rgba(248, 249, 248, 0.96);
  backdrop-filter: blur(12px);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #5f6368;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
}

.nav-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nav-item.active {
  color: var(--green);
}

@media (min-width: 760px) {
  .content {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero {
    grid-template-columns: 112px 1fr;
    gap: 20px;
  }

  .app-icon {
    width: 112px;
    height: 112px;
    border-radius: 24px;
  }

  .stats {
    justify-content: flex-start;
  }

  .shot-list img {
    width: 210px;
    height: 374px;
  }
}

@media (max-width: 420px) {
  .content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .stat {
    min-width: 88px;
  }

  .stat-value {
    font-size: 24px;
  }

  .score-main {
    font-size: 44px;
  }
}
