/* Google Play listing — visual alinhado à Play Store */
:root {
  --play-bg: #fff;
  --play-text: #202124;
  --play-muted: #5f6368;
  --play-link: #01875f;
  --play-install: #01875f;
  --play-line: #e8eaed;
  --play-soft: #f8f9fa;
  --font: "Roboto", "Google Sans", system-ui, sans-serif;
}

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

.play-body {
  font-family: var(--font);
  background: var(--play-bg);
  color: var(--play-text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 88px;
}

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

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

button {
  font-family: inherit;
}

.play-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--play-line);
}

.play-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  font-size: 1.15rem;
  color: #5f6368;
  flex: none;
}

.play-tabs {
  display: none;
  gap: 1.35rem;
  margin-right: auto;
  margin-left: 1rem;
}

.play-tabs a {
  position: relative;
  padding: 0.9rem 0;
  color: #5f6368;
  font-size: 0.92rem;
  font-weight: 500;
}

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

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

.play-top-actions {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}

.play-icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
}

.play-avatar {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #e8eaed;
  color: #5f6368;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.play-main {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.play-hero {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.15rem;
}

.play-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.play-hero-info h1 {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.play-dev {
  color: var(--play-link);
  font-size: 0.92rem;
  font-weight: 500;
}

.play-contains {
  color: var(--play-muted);
  font-size: 0.78rem;
  margin: 0.25rem 0 0.85rem;
}

.play-meta {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
}

.play-meta > div {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  padding: 0 0.85rem;
  border-right: 1px solid var(--play-line);
}

.play-meta > div:first-child {
  padding-left: 0;
}

.play-meta > div:last-child {
  border-right: 0;
}

.play-meta strong {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.1;
}

.play-meta span {
  font-size: 0.68rem;
  color: var(--play-muted);
  line-height: 1.2;
}

.play-meta-rating {
  align-items: start !important;
}

.play-meta-rating img {
  width: 18px;
  height: 18px;
}

.play-actions {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.play-install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 8px;
  background: var(--play-install);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.15s;
}

.play-install:hover {
  filter: brightness(0.92);
}

.play-install:active {
  transform: scale(0.98);
}

.play-secondary {
  display: flex;
  justify-content: space-around;
  gap: 0.5rem;
}

.play-text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  color: var(--play-link);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
}

.play-shots {
  margin: 0 -1rem 1.5rem;
}

.play-shots-track {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0 1rem 0.35rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.play-shots-track::-webkit-scrollbar {
  display: none;
}

.play-shots-track img {
  flex: 0 0 auto;
  width: min(42vw, 166px);
  height: auto;
  aspect-ratio: 166 / 296;
  object-fit: cover;
  border-radius: 8px;
  scroll-snap-align: start;
  background: #eee;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.2);
}

.play-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.play-section-head h2,
.play-whatsnew h2,
.play-support h2 {
  font-size: 1.15rem;
  font-weight: 500;
}

.play-section-head span {
  color: #5f6368;
  font-size: 1.4rem;
  line-height: 1;
}

.play-about,
.play-data,
.play-reviews,
.play-whatsnew,
.play-support {
  margin-bottom: 1.75rem;
  padding-top: 0.25rem;
}

.play-about-text {
  color: #3c4043;
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.play-about-text.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.play-more {
  margin-top: 0.45rem;
  border: 0;
  background: transparent;
  color: var(--play-link);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}

.play-updated {
  display: grid;
  gap: 0.15rem;
  margin-top: 1rem;
  font-size: 0.82rem;
}

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

.play-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.play-tags a,
.play-tags span {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--play-line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: #3c4043;
}

.play-data p {
  font-size: 0.88rem;
  color: var(--play-muted);
  margin-bottom: 1rem;
}

.play-data-cards {
  display: grid;
  gap: 0.75rem;
}

.play-data-cards article {
  padding: 0.9rem 1rem;
  border: 1px solid var(--play-line);
  border-radius: 12px;
  background: #fff;
}

.play-data-cards strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.play-data-cards span {
  color: var(--play-muted);
  font-size: 0.82rem;
}

.play-rating-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.play-big-score span {
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
}

.play-stars {
  color: var(--play-link);
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.play-stars.small {
  font-size: 0.78rem;
}

.play-big-score small {
  color: var(--play-muted);
  font-size: 0.78rem;
}

.play-bars {
  display: grid;
  gap: 0.28rem;
}

.play-bars > div {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--play-muted);
}

.play-bars i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #e8eaed;
  position: relative;
  overflow: hidden;
}

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

.play-review {
  padding: 1rem 0;
  border-top: 1px solid var(--play-line);
}

.play-review header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.play-review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1a73e8;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.play-review-avatar--b { background: #ea4335; }
.play-review-avatar--c { background: #fbbc04; color: #202124; }

.play-review p {
  font-size: 0.92rem;
  color: #3c4043;
}

.play-review small {
  display: block;
  margin-top: 0.45rem;
  color: var(--play-muted);
  font-size: 0.75rem;
}

.play-whatsnew p {
  margin-top: 0.5rem;
  color: #3c4043;
  font-size: 0.92rem;
}

.play-support a {
  display: block;
  margin-top: 0.75rem;
  color: var(--play-link);
  font-weight: 500;
  font-size: 0.92rem;
}

.play-support a span {
  color: var(--play-muted);
  font-weight: 400;
  font-size: 0.82rem;
}

.play-dev-box {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--play-line);
  border-radius: 12px;
}

.play-dev-box strong {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 500;
}

.play-dev-box p {
  color: var(--play-muted);
  font-size: 0.86rem;
  margin-bottom: 0.2rem;
}

.play-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--play-line);
  backdrop-filter: blur(8px);
}

.play-sticky .play-install {
  width: min(980px, 100%);
  margin: 0 auto;
  display: flex;
}

@media (min-width: 720px) {
  .play-tabs {
    display: flex;
  }

  .play-hero {
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
  }

  .play-icon {
    width: 180px;
    height: 180px;
    border-radius: 36px;
  }

  .play-hero-info h1 {
    font-size: 2rem;
  }

  .play-actions {
    grid-template-columns: 180px 1fr;
    align-items: center;
    justify-content: start;
  }

  .play-install {
    min-width: 180px;
  }

  .play-secondary {
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .play-sticky {
    display: none;
  }

  .play-body {
    padding-bottom: 2rem;
  }

  .play-shots-track img {
    width: 180px;
  }
}

@media (max-width: 520px) {
  .play-meta > div {
    padding: 0 0.55rem;
  }

  .play-meta strong {
    font-size: 0.8rem;
  }

  .play-meta span {
    font-size: 0.62rem;
  }
}
