/* ==========================================================================
   Google Play — página de detalhes do app (recriação mobile-first)
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --text: #1f1f1f;
  --text-2: #444746;
  --text-3: #5f6368;
  --divider: #e8eaed;
  --outline: #dadce0;
  --green: #01875f;
  --green-ink: #ffffff;
  --green-soft: #e6f4ea;
  --link: #01875f;
  --gold: #fbbc04;
  --star-empty: #dadce0;
  --blue: #1a73e8;
  --topbar-bg: rgba(255, 255, 255, 0.9);
  --sheet-bg: #ffffff;
  --toast-bg: #303134;
  --toast-ink: #f1f3f4;
  --shadow-sm: 0 1px 2px rgba(60, 64, 67, 0.12), 0 1px 3px 1px rgba(60, 64, 67, 0.06);
  --shadow-md: 0 2px 6px rgba(60, 64, 67, 0.16), 0 8px 24px rgba(60, 64, 67, 0.12);
  --radius: 16px;
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #131314;
  --bg-soft: #1e1f20;
  --text: #e3e3e3;
  --text-2: #c4c7c5;
  --text-3: #9aa0a6;
  --divider: #333537;
  --outline: #444746;
  --green: #6dd58c;
  --green-ink: #072100;
  --green-soft: #1e2f25;
  --link: #6dd58c;
  --gold: #fdd663;
  --star-empty: #4a4d50;
  --blue: #a8c7fa;
  --topbar-bg: rgba(19, 19, 20, 0.88);
  --sheet-bg: #1e1f20;
  --toast-bg: #e3e3e3;
  --toast-ink: #1f1f1f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.6);
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: var(--link);
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-weight: 500;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

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

.small {
  font-size: 12px;
  line-height: 18px;
}

.dot {
  margin: 0 4px;
}

/* --------------------------------------------------------------------------
   Estrelas
   -------------------------------------------------------------------------- */

.stars {
  --rating: 0;
  --star-size: 14px;
  --star-gap: 2px;
  position: relative;
  display: inline-block;
  width: calc(5 * var(--star-size) + 4 * var(--star-gap));
  height: var(--star-size);
  background: var(--star-empty);
  vertical-align: middle;
  -webkit-mask-image: var(--star-mask);
  mask-image: var(--star-mask);
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-mask-size: calc(var(--star-size) + var(--star-gap)) var(--star-size);
  mask-size: calc(var(--star-size) + var(--star-gap)) var(--star-size);
}

.stars::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--rating) * 100%);
  background: var(--gold);
  -webkit-mask-image: inherit;
  mask-image: inherit;
  -webkit-mask-repeat: inherit;
  mask-repeat: inherit;
  -webkit-mask-position: inherit;
  mask-position: inherit;
  -webkit-mask-size: inherit;
  mask-size: inherit;
}

/* --------------------------------------------------------------------------
   Barra superior
   -------------------------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--topbar-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.topbar.is-scrolled {
  border-bottom-color: var(--divider);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 12px;
  min-height: 56px;
}

.topbar__back {
  margin-left: -6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 6px 4px 2px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: 136px;
  height: 27px;
  flex: none;
  transition: opacity 0.18s ease;
}

.brand:hover .brand__logo {
  opacity: 0.82;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.icon-btn:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.icon-btn:active {
  transform: scale(0.92);
}

.icon-btn--sm {
  width: 32px;
  height: 32px;
}

.icon-btn--sm .icon {
  width: 18px;
  height: 18px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: 4px;
  padding: 0;
  border: 1px solid var(--divider);
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-3);
  cursor: pointer;
}

.avatar .icon {
  width: 19px;
  height: 19px;
}

#themeToggle .icon--sun {
  display: none;
}

[data-theme="dark"] #themeToggle .icon--sun {
  display: block;
}

[data-theme="dark"] #themeToggle .icon--moon {
  display: none;
}

/* --------------------------------------------------------------------------
   Cabeçalho do app
   -------------------------------------------------------------------------- */

.page {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px 130px;
}

.app-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
}

.app-icon {
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
}

.app-head__info {
  min-width: 0;
  padding-top: 1px;
}

.app-title {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.dev-link {
  display: inline-block;
  margin-top: 1px;
  color: var(--link);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.dev-link:hover {
  text-decoration: underline;
}

.app-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 5px 0 0;
  color: var(--text-3);
  font-size: 12px;
  line-height: 16px;
}

.app-meta--badge {
  gap: 5px;
}

.mini-badge {
  width: 17px;
  height: 17px;
  border-radius: 3px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Estatísticas
   -------------------------------------------------------------------------- */

.stats {
  display: flex;
  align-items: stretch;
  margin-top: 20px;
  padding: 12px 0;
}

.stat {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 0 10px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: center;
}

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

.stat:last-child {
  padding-right: 0;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--divider);
}

.stat[hidden] {
  display: none !important;
}

.stat[hidden] + .stat::before {
  display: none;
}

.stat--button {
  cursor: pointer;
  border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}

.stat--button:hover {
  background: var(--bg-soft);
}

.stat__value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: var(--text);
  white-space: nowrap;
}

.stat__value--badge img {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  object-fit: cover;
}

.stat__label {
  font-size: 11.5px;
  line-height: 15px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   Instalar / ações
   -------------------------------------------------------------------------- */

.cta {
  margin-top: 4px;
}

.btn-install {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--green-ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.12s ease, opacity 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-install:hover {
  filter: brightness(1.05);
}

.btn-install:active {
  transform: scale(0.985);
}

.btn-install:disabled {
  cursor: default;
  opacity: 0.85;
}

.btn-install.is-busy::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}

a.btn-install {
  text-decoration: none;
}

a.btn-install .icon {
  width: 18px;
  height: 18px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--green-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: scale(0.985);
}

.btn-primary .icon,
.btn-secondary .icon {
  width: 17px;
  height: 17px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--text-3);
}

.btn-secondary--small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 12.5px;
}

.btn-install--sm {
  width: auto;
  height: 38px;
  padding: 0 20px;
  font-size: 13px;
  flex: none;
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: 4px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 1 auto;
  min-width: 0;
  min-height: 42px;
  padding: 8px 6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--link);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.ghost-btn:hover {
  background: var(--bg-soft);
}

.ghost-btn .icon {
  width: 16px;
  height: 16px;
}

.ghost-btn[aria-pressed="true"] {
  color: var(--link);
}

.ghost-btn[aria-pressed="true"] .icon {
  fill: var(--link);
}

/* --------------------------------------------------------------------------
   Capturas de tela
   -------------------------------------------------------------------------- */

.shots {
  margin-top: 16px;
  margin-inline: -20px;
}

.shots__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 20px 6px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  outline-offset: -2px;
}

.shots__track::-webkit-scrollbar {
  display: none;
}

.shot {
  flex: 0 0 auto;
  width: auto;
  height: clamp(390px, 56vh, 500px);
  aspect-ratio: 333 / 592;
  padding: 0;
  border: 1px solid var(--divider);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  scroll-snap-align: start;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.shot:hover {
  box-shadow: var(--shadow-md);
}

.shot:active {
  transform: scale(0.985);
}

.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 16px;
  margin-top: 8px;
}

.dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--outline);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.dots span.is-active {
  width: 16px;
  border-radius: 3px;
  background: var(--text-3);
}

/* --------------------------------------------------------------------------
   Seções
   -------------------------------------------------------------------------- */

.section {
  margin-top: 30px;
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section__title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--text);
}

.section__head .section__title {
  margin-bottom: 0;
}

.section__lead {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 19px;
  color: var(--text-3);
}

.section__lead--tight {
  margin-bottom: 8px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--link);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.link-btn .icon {
  width: 18px;
  height: 18px;
}

.link-btn:hover > span {
  text-decoration: underline;
}

.link-btn--sm {
  font-size: 13px;
  padding: 4px 0;
}

.link-btn--sm .icon {
  width: 16px;
  height: 16px;
}

#aboutToggle .icon {
  transition: transform 0.25s ease;
}

#aboutToggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

/* Sobre este app */

.about {
  position: relative;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.2, 0, 0, 1);
  overflow-wrap: anywhere;
}

.about--collapsed {
  max-height: 228px;
}

.about--collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(to bottom, transparent, var(--bg) 88%);
  pointer-events: none;
}

.about p {
  margin: 0 0 12px;
}

.about p:last-child {
  margin-bottom: 0;
}

.about strong {
  color: var(--text);
  font-weight: 500;
}

.about ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.about li {
  margin-bottom: 3px;
}

.about li::marker {
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   Cartões e listas
   -------------------------------------------------------------------------- */

.info-card {
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 16px;
}

.info-row + .info-row {
  border-top: 1px solid var(--divider);
}

.info-row__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
}

.info-row__icon .icon {
  width: 18px;
  height: 18px;
}

.info-row__icon--blue {
  background: rgba(26, 115, 232, 0.1);
  color: #1a73e8;
}

.info-row__icon--green {
  background: rgba(1, 135, 95, 0.11);
  color: #01875f;
}

.info-row__icon--gold {
  background: rgba(249, 171, 0, 0.16);
  color: #b06000;
}

.info-row__icon--violet {
  background: rgba(147, 52, 230, 0.12);
  color: #9334e6;
}

[data-theme="dark"] .info-row__icon--blue {
  color: #8ab4f8;
}

[data-theme="dark"] .info-row__icon--green {
  color: #6dd58c;
}

[data-theme="dark"] .info-row__icon--gold {
  color: #fdd663;
}

[data-theme="dark"] .info-row__icon--violet {
  color: #d7aefb;
}

.info-row__title {
  margin: 0;
  font-size: 13.5px;
  line-height: 19px;
  font-weight: 500;
  color: var(--text);
}

.info-row__text {
  margin: 3px 0 0;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--text-3);
}

.card {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--text-2);
  font-size: 14px;
  line-height: 21px;
}

.card p {
  margin: 0 0 10px;
}

.card p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Avaliações
   -------------------------------------------------------------------------- */

.rating-summary {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 6px 0 18px;
  border-bottom: 1px solid var(--divider);
}

.rating-summary__score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex: none;
  width: 104px;
}

.rating-summary__number {
  font-size: 50px;
  line-height: 52px;
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--text);
}

.rating-summary__count {
  font-size: 11.5px;
  line-height: 15px;
  color: var(--text-3);
}

.rating-bars {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.rating-bar {
  display: grid;
  grid-template-columns: 10px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  line-height: 10px;
  color: var(--text-3);
}

.rating-bar__track {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--divider);
  overflow: hidden;
}

.rating-bar__track > span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--green);
}

.reviews {
  margin-top: 2px;
}

.review {
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
}

.review__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: #5f6368;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  overflow: hidden;
}

.user-avatar .icon {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.user-avatar--anon {
  background: #5f6368;
}

.user-avatar--a {
  background: #b3261e;
}

.user-avatar--b {
  background: #1a73e8;
}

.user-avatar--c {
  background: #188038;
}

.user-avatar--d {
  background: #9334e6;
}

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

.review__name {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--text);
}

.review__date {
  font-size: 11.5px;
  line-height: 15px;
  color: var(--text-3);
}

.review__head .icon-btn {
  margin-left: auto;
  color: var(--text-3);
}

.review .stars {
  margin-top: 9px;
}

.review__text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.review__helpful-count {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 16px;
  color: var(--text-3);
}

.review__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 7px;
}

.review__question {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-3);
}

.helpful-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 5px 12px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: transparent;
  color: var(--text-3);
  font-size: 12px;
  line-height: 16px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.helpful-btn .icon {
  width: 14px;
  height: 14px;
}

.helpful-btn:hover {
  background: var(--bg-soft);
}

.helpful-btn[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--link);
}

.dev-reply {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-soft);
}

.dev-reply__head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

.dev-reply__head img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.dev-reply__date {
  margin-left: auto;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-3);
}

.dev-reply p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 19px;
  color: var(--text-2);
}

.review--extra[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Suporte e desenvolvedor
   -------------------------------------------------------------------------- */

.list {
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  overflow: hidden;
}

.list__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.list__row + .list__row {
  border-top: 1px solid var(--divider);
}

.list__row:hover {
  background: var(--bg-soft);
}

.list__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-3);
}

.list__icon .icon {
  width: 19px;
  height: 19px;
}

.list__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.list__title {
  font-size: 13.5px;
  line-height: 19px;
  font-weight: 500;
  color: var(--text);
}

.list__text {
  font-size: 12px;
  line-height: 17px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list__chevron {
  width: 18px;
  height: 18px;
  color: var(--text-3);
}

.dev-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
}

.dev-card__icon {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 13px;
}

.dev-card__body {
  min-width: 0;
}

.dev-card__name {
  margin: 0;
  font-size: 15px;
  line-height: 21px;
  font-weight: 500;
  color: var(--text);
}

.dev-card__line {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 5px 0 0;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--text-3);
  overflow-wrap: anywhere;
}

.dev-card__line .icon {
  width: 15px;
  height: 15px;
  margin-top: 1.5px;
}

.dev-card__line--address {
  padding-left: 22px;
}

/* --------------------------------------------------------------------------
   Outros apps
   -------------------------------------------------------------------------- */

.app-row {
  display: flex;
  gap: 14px;
  margin-inline: -20px;
  padding: 4px 20px 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.app-row::-webkit-scrollbar {
  display: none;
}

.app-card {
  display: flex;
  flex: 0 0 116px;
  flex-direction: column;
  gap: 5px;
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
}

.app-card img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
  transition: transform 0.18s ease;
}

.app-card:hover img {
  transform: translateY(-2px);
}

.app-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 16px;
  font-weight: 500;
  color: var(--text);
}

.app-card__dev {
  font-size: 11px;
  line-height: 14px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-card__rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  line-height: 14px;
  color: var(--text-3);
}

.app-card__rating .icon {
  width: 12px;
  height: 12px;
  fill: var(--gold);
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */

.footer {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--divider);
  color: var(--text-3);
  font-size: 12px;
  line-height: 18px;
}

.footer__demo {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--text-3);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-bottom: 20px;
}

.footer__links a {
  color: var(--text-3);
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__locale {
  margin: 0;
  padding-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Barra fixa de instalação
   -------------------------------------------------------------------------- */

.install-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 9px 0 calc(9px + env(safe-area-inset-bottom));
  background: var(--topbar-bg);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid var(--divider);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), visibility 0.3s;
}

.install-bar.is-visible {
  transform: none;
  visibility: visible;
}

.install-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

.install-bar__icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
}

.install-bar__info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.install-bar__name {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.install-bar__meta {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  line-height: 15px;
  color: var(--text-3);
}

.install-bar__meta .icon {
  width: 11px;
  height: 11px;
  fill: var(--gold);
}

/* --------------------------------------------------------------------------
   Bottom sheet
   -------------------------------------------------------------------------- */

.layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
}

.layer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.layer.is-open .scrim {
  opacity: 1;
}

.sheet {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  max-height: min(86vh, 760px);
  padding: 8px 20px calc(20px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: var(--sheet-bg);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, 100%);
  transition: transform 0.32s cubic-bezier(0.2, 0, 0, 1);
  outline: none;
}

.layer.is-open .sheet {
  transform: translate(-50%, 0);
}

.sheet__handle {
  width: 36px;
  height: 4px;
  margin: 2px auto 8px;
  border-radius: 2px;
  background: var(--outline);
}

.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
}

.sheet__head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.sheet__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 4px;
  color: var(--text-2);
}

.sheet__body p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 21px;
}

.sheet__body h3 {
  margin: 18px 0 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text);
}

.sheet__body h3:first-child {
  margin-top: 4px;
}

.sheet__body ul {
  margin: 0 0 12px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 21px;
}

.sheet__body li {
  margin-bottom: 4px;
}

.sheet__body .link-btn {
  margin-top: 2px;
}

.sheet-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 16px;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-soft);
}

.sheet-hero img {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
}

.sheet-hero h3 {
  margin: 0 0 2px;
  font-size: 15px;
  line-height: 20px;
}

.sheet-hero p {
  margin: 0;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   Lightbox de capturas de tela
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  background: rgba(8, 8, 9, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  flex: none;
  padding: env(safe-area-inset-top) 12px 0 20px;
  color: #ffffff;
}

.lightbox__counter {
  font-size: 13px;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.78);
}

.icon-btn--light {
  color: #ffffff;
}

.icon-btn--light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.lightbox__track {
  display: flex;
  flex: 1 1 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lightbox__track::-webkit-scrollbar {
  display: none;
}

.lightbox__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 100%;
  height: 100%;
  padding: 0 12px 20px;
  scroll-snap-align: center;
}

.lightbox__slide img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 100px);
  border-radius: 10px;
  object-fit: contain;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.18s ease;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lightbox__nav--prev {
  left: 20px;
}

.lightbox__nav--next {
  right: 20px;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 200;
  max-width: calc(100vw - 40px);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--toast-bg);
  color: var(--toast-ink);
  font-size: 12.5px;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (min-width: 480px) {
  .app-icon {
    width: 84px;
    height: 84px;
    border-radius: 20px;
  }

  .app-title {
    font-size: 24px;
    line-height: 30px;
  }

  .app-meta {
    font-size: 12.5px;
  }

  .stat__value {
    font-size: 15px;
  }

  .stat__label {
    font-size: 12px;
  }

  .ghost-btn {
    font-size: 13px;
  }

  .shot {
    height: clamp(430px, 58vh, 540px);
  }
}

@media (min-width: 640px) {
  .page {
    padding-inline: 32px;
    padding-bottom: 140px;
  }

  .topbar__inner {
    padding-inline: 20px;
  }

  .app-head {
    margin-top: 28px;
  }

  .stats {
    margin-top: 22px;
  }

  .shots {
    margin-inline: -32px;
  }

  .shots__track {
    padding-inline: 32px;
    scroll-padding-inline: 32px;
    gap: 14px;
  }

  .shot {
    height: clamp(460px, 60vh, 580px);
  }

  .app-row {
    margin-inline: -32px;
    padding-inline: 32px;
  }

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

  .install-bar__inner {
    padding-inline: 32px;
  }

  .lightbox__nav {
    display: grid;
  }

  .lightbox__slide {
    padding-bottom: 32px;
  }
}

@media (min-width: 900px) {
  .topbar__inner {
    padding-inline: 24px;
  }

  .page {
    max-width: 900px;
  }

  .app-head {
    margin-top: 32px;
    gap: 20px;
  }

  .app-icon {
    width: 92px;
    height: 92px;
  }

  .app-title {
    font-size: 26px;
    line-height: 32px;
  }

  .stat {
    padding-inline: 16px;
  }

  .cta__actions {
    justify-content: flex-start;
    gap: 8px;
  }

  .ghost-btn {
    flex: 0 1 auto;
    padding-inline: 14px;
  }

  .shot {
    height: clamp(480px, 58vh, 600px);
  }

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

  .install-bar__inner {
    max-width: 900px;
    padding-inline: 32px;
  }
}

@media (hover: none) {
  .shot:hover {
    box-shadow: none;
  }

  .app-card:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
