* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  background: #ffffff;
  color: #202124;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  padding-bottom: 74px;
  overflow-x: hidden;
}

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

.gps-shell {
  width: min(430px, 100%);
  margin: 0 auto;
  background: #ffffff;
  min-height: 100vh;
}

.gps-topbar {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.gps-brand-mark {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.gps-brand-mark span {
  position: absolute;
  inset: 2px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  border-radius: 3px;
}

.gps-brand-mark span:nth-child(1) {
  background: #34a853;
  transform: translateX(0);
}

.gps-brand-mark span:nth-child(2) {
  background: #fbbc04;
  transform: translateX(6px) scale(0.72);
}

.gps-brand-mark span:nth-child(3) {
  background: #4285f4;
  transform: translateX(-2px) scale(0.64);
}

.gps-topbar strong {
  font-size: 19px;
  font-weight: 600;
  color: #5f6368;
}

.gps-top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.gps-top-actions button {
  border: 0;
  background: transparent;
  color: #5f6368;
  padding: 0;
  font-size: 18px;
}

.gps-avatar,
.gps-review-avatar {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
}

.gps-avatar {
  width: 32px;
  height: 32px;
  background: #0f9d58;
}

.gps-app-head {
  padding: 20px 16px 14px;
}

.gps-app-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.gps-app-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(60, 64, 67, 0.18);
}

.gps-app-row h1 {
  margin: 0 0 5px;
  font-size: 26px;
  line-height: 1.12;
  font-weight: 500;
  color: #202124;
  overflow-wrap: anywhere;
}

.gps-dev,
.gps-muted {
  margin: 0;
  font-size: 14px;
}

.gps-dev {
  color: #01875f;
  font-weight: 500;
}

.gps-muted {
  color: #5f6368;
}

.gps-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0 18px;
}

.gps-stats div {
  min-width: 0;
  text-align: center;
  padding: 0 10px;
  border-right: 1px solid #dadce0;
}

.gps-stats div:last-child {
  border-right: 0;
}

.gps-stats strong {
  display: block;
  font-size: 14px;
  color: #202124;
  font-weight: 600;
  line-height: 1.3;
}

.gps-stats strong i {
  font-size: 11px;
}

.gps-stats span {
  display: block;
  margin-top: 3px;
  color: #5f6368;
  font-size: 12px;
  line-height: 1.2;
}

.gps-age {
  display: inline-block !important;
  width: max-content;
  margin: 0 auto;
  border: 1px solid #8a8d91;
  border-radius: 4px;
  padding: 0 5px;
}

.gps-install-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  background: #01875f;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.18s ease, transform 0.18s ease;
}

.gps-install-btn:hover {
  background: #00784f;
  color: #ffffff;
  transform: translateY(-1px);
}

.gps-share {
  width: 100%;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #01875f;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
}

.gps-section {
  padding: 20px 16px;
  border-top: 7px solid #f1f3f4;
}

.gps-section h2,
.gps-heading-row h2 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 500;
  color: #202124;
}

.gps-shots-section {
  padding-left: 0;
  padding-right: 0;
}

.gps-screenshot-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
}

.gps-screenshot-row::-webkit-scrollbar {
  display: none;
}

.gps-shot {
  flex: 0 0 min(178px, 46vw);
  max-width: 178px;
  scroll-snap-align: start;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
}

.gps-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 420 / 936;
  object-fit: contain;
}

.gps-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gps-info-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  min-width: 0;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 12px;
}

.gps-info-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 17px;
}

.gps-info-card h3 {
  margin: 0 0 2px;
  font-size: 13px;
  line-height: 1.2;
  color: #202124;
}

.gps-info-card p {
  margin: 0;
  color: #5f6368;
  font-size: 11px;
  line-height: 1.25;
}

.gps-info-green { background: #e6f4ea; color: #0f9d58; }
.gps-info-blue { background: #e8f0fe; color: #1a73e8; }
.gps-info-orange { background: #fef7e0; color: #f29900; }
.gps-info-pink { background: #fde7ef; color: #d93066; }

.gps-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gps-heading-row h2 {
  margin-bottom: 4px;
}

.gps-rating-box {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: end;
  margin-top: 12px;
}

.gps-rating-main strong {
  display: block;
  font-size: 56px;
  line-height: 0.95;
  font-weight: 400;
  color: #202124;
}

.gps-stars {
  color: #202124;
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.gps-stars-small {
  font-size: 11px;
  margin-top: 2px;
}

.gps-rating-main span {
  display: block;
  margin-top: 3px;
  color: #5f6368;
  font-size: 12px;
}

.gps-bars {
  display: grid;
  gap: 7px;
  padding-bottom: 5px;
}

.gps-bar-row {
  display: grid;
  grid-template-columns: 12px 1fr;
  align-items: center;
  gap: 8px;
}

.gps-bar-row span {
  color: #5f6368;
  font-size: 12px;
}

.gps-bar-row div {
  height: 6px;
  border-radius: 999px;
  background: #dadce0;
  overflow: hidden;
}

.gps-bar-row b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #01875f;
}

.gps-reviews {
  border-top-width: 0;
  padding-top: 4px;
}

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

.gps-review-head {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.gps-review-avatar {
  width: 38px;
  height: 38px;
}

.gps-review h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.gps-review time {
  color: #5f6368;
  font-size: 11px;
}

.gps-review p {
  margin: 12px 0 0;
  color: #3c4043;
  font-size: 14px;
  line-height: 1.48;
}

.gps-helpful {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
}

.gps-helpful span {
  color: #5f6368;
  font-size: 12px;
  margin-right: 2px;
}

.gps-helpful button {
  min-width: 54px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #dadce0;
  background: #ffffff;
  color: #3c4043;
  font-size: 12px;
}

.gps-see-all {
  display: block;
  padding: 18px 0 8px;
  color: #01875f;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.gps-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(430px, 100%);
  height: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: #ffffff;
  border-top: 1px solid #dadce0;
  z-index: 10;
}

.gps-bottom-nav a {
  display: grid;
  place-items: center;
  gap: 4px;
  color: #5f6368;
  text-decoration: none;
  font-size: 11px;
}

.gps-bottom-nav i {
  font-size: 19px;
}

.gps-bottom-nav a.active {
  color: #01875f;
  font-weight: 700;
}

@media (max-width: 370px) {
  .gps-topbar {
    padding: 0 12px;
    gap: 7px;
  }

  .gps-topbar strong {
    font-size: 17px;
  }

  .gps-top-actions {
    gap: 12px;
  }

  .gps-app-row {
    grid-template-columns: 62px 1fr;
    gap: 12px;
  }

  .gps-app-logo {
    width: 62px;
    height: 62px;
    border-radius: 15px;
  }

  .gps-app-row h1 {
    font-size: 23px;
  }

  .gps-info-grid {
    grid-template-columns: 1fr;
  }

  .gps-shot {
    flex-basis: min(160px, 48vw);
    max-width: 160px;
  }

  .gps-rating-box {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .gps-rating-main strong {
    font-size: 48px;
  }
}

@media (max-width: 340px) {
  .gps-top-actions {
    gap: 9px;
  }

  .gps-top-actions button {
    font-size: 16px;
  }

  .gps-avatar {
    width: 30px;
    height: 30px;
  }

  .gps-stats div {
    padding: 0 6px;
  }

  .gps-stats span {
    font-size: 11px;
  }

  .gps-rating-box {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .gps-review-head {
    grid-template-columns: 34px 1fr;
  }

  .gps-review time {
    grid-column: 2;
  }

  .gps-review-avatar {
    width: 34px;
    height: 34px;
  }
}
