/* ilovalar.com — static HTML (no Next.js bundle) */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #0a0a0a;
  color: #f5f5f7;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

/* Dastlabki yuklanish (JS `initChrome` gacha) — markazda logo */
.app-mount-splash {
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 35%,
      rgba(10, 132, 255, 0.12),
      transparent 55%
    ),
    #0a0a0a;
}
.app-mount-splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.625rem;
  max-width: 20rem;
}
.app-mount-splash-logo {
  width: 5.75rem;
  height: 5.75rem;
  object-fit: contain;
  border-radius: 1.35rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: app-mount-logo-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.app-mount-splash-name {
  margin: 0.25rem 0 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  line-height: 1.2;
}
.app-mount-splash-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.3;
}
.app-mount-splash-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  min-height: 1.25rem;
}
.app-mount-splash-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0a84ff;
  box-shadow: 0 0 12px rgba(10, 132, 255, 0.45);
  animation: app-mount-dot 1.05s ease-in-out infinite;
}
.app-mount-splash-dots span:nth-child(2) {
  animation-delay: 0.14s;
}
.app-mount-splash-dots span:nth-child(3) {
  animation-delay: 0.28s;
}
@keyframes app-mount-logo-in {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes app-mount-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-mount-splash-logo {
    animation: none;
  }
  .app-mount-splash-dots span {
    animation: none;
    opacity: 0.75;
    transform: none;
  }
}

/* --- Next.js SiteChrome: sidebar + asosiy ustun --- */
.layout-app {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}
@media (min-width: 768px) {
  .layout-app {
    flex-direction: row;
    align-items: stretch;
  }
}
.apps-sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  flex-shrink: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #121212;
}
@media (min-width: 768px) {
  .apps-sidebar {
    width: 260px;
    min-height: 100dvh;
    align-self: stretch;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
}
.sidebar-mobile-strip {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.125rem;
  overflow-x: auto;
  padding: 0.625rem 0.5rem;
  scrollbar-width: none;
 -ms-overflow-style: none;
}
.sidebar-mobile-strip::-webkit-scrollbar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar-mobile-strip {
    display: none;
  }
}
.sidebar-brand-mobile {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.375rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #1a1a1c;
  padding: 0.25rem 0.625rem 0.25rem 0.375rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) {
  .sidebar-brand-mobile {
    font-size: 0.8125rem;
  }
}
.sidebar-brand-mobile img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}
.nav-pill {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.375rem;
  border-radius: 10px;
  padding: 0.375rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .nav-pill {
    font-size: 0.75rem;
  }
}
.nav-pill svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #0a84ff;
}
.nav-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}
.nav-pill.is-active {
  background: #2c2c2e;
  color: #fff;
}
.sidebar-mobile-search {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 0.75rem 0.75rem;
}
@media (min-width: 768px) {
  .sidebar-mobile-search {
    display: none;
  }
}
.sidebar-desktop {
  display: none;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  /* Next: md:px-4 md:py-5 */
  padding: 1.25rem 1rem;
}
@media (min-width: 768px) {
  .sidebar-desktop {
    display: flex;
  }
}
/* Next AppsSidebar desktop Link: items-start gap-2 text-[17px] tracking-tight */
.sidebar-brand-desktop {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.0625rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.sidebar-brand-desktop:hover {
  color: #fff;
  text-decoration: none;
}
.sidebar-brand-desktop img {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  object-fit: contain;
}
.sidebar-brand-text-col {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.sidebar-brand-title {
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
/* Next: mt-1 text-[11px] md:text-xs text-[#8e8e93] */
.sidebar-brand-tagline {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.25;
  color: #8e8e93;
}
@media (min-width: 768px) {
  .sidebar-brand-tagline {
    font-size: 0.75rem;
  }
}
/* Next: mt-4 around search block */
.sidebar-desktop-search {
  margin-top: 1rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.search-label {
  margin: 0 0 0.375rem;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8e8e93;
}
.sidebar-search-wrap {
  position: relative;
  width: 100%;
  margin-top: 0;
}
.sidebar-search-wrap svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #0a84ff;
  pointer-events: none;
}
.sidebar-search-wrap input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1c1c1e;
  padding: 0.625rem 0.75rem 0.625rem 2.5rem;
  font-size: 0.9375rem;
  color: #fff;
  outline: none;
}
.sidebar-search-wrap input::placeholder {
  color: #8e8e93;
}
.sidebar-search-wrap input:focus {
  border-color: rgba(10, 132, 255, 0.5);
  background: #232323;
}
.sidebar-nav-desktop {
  display: none;
  flex: 1;
  flex-direction: column;
  overflow-y: auto;
  padding: 0.75rem 0 2rem;
}
@media (min-width: 768px) {
  .sidebar-nav-desktop {
    display: flex;
  }
}
.nav-row-desktop {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0 0.5rem;
}
.nav-link-desktop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 10px;
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}
.nav-link-desktop svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: #0a84ff;
}
.nav-link-desktop:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}
.nav-link-desktop.is-active {
  background: #2c2c2e;
  color: #fff;
}
.sidebar-cats {
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0.5rem 0;
}
.layout-main {
  display: flex;
  min-width: 0;
  flex: 1 1 0%;
  min-height: 0;
  flex-direction: column;
  background: #000;
}
@media (min-width: 768px) {
  .layout-main {
    min-height: 100dvh;
  }
}
#main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  overflow-x: hidden;
}

/* Next `app/developer/page.tsx` — full-width column, inner max 1200px */
#main.dev-catalog-page {
  max-width: none;
  margin: 0;
  padding: 2.5rem 1rem;
  width: 100%;
  background: #000;
  color: #fff;
}
.dev-catalog-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.dev-catalog-offline {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #fbbf24;
}
.dev-catalog-h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #fff;
}
.dev-catalog-section {
  margin-top: 2.5rem;
}
.dev-catalog-section--apps {
  margin-top: 3rem;
}
.dev-catalog-h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fff;
}
.dev-catalog-latest-rail {
  margin-top: 1rem;
  max-width: 36rem;
}
.dev-catalog-app-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2.5rem;
}
@media (min-width: 768px) {
  .dev-catalog-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.dev-catalog-empty {
  margin-top: 2rem;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #a1a1a6;
}
.dev-catalog-empty-a {
  color: #0a84ff;
  text-decoration: none;
}
.dev-catalog-empty-a:hover {
  text-decoration: underline;
}
.site-footer-next {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  background: #1d1d1f;
  padding: 2rem 1.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #a1a1a6;
}
.site-footer-next a {
  color: #a1a1a6;
  text-decoration: none;
}
.site-footer-next a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer-next .site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1.25rem;
  row-gap: 0.5rem;
  margin-top: 1rem;
}
.site-footer-next .site-footer-sep {
  flex-shrink: 0;
  color: #6e6e73;
  padding: 0 0.125rem;
  user-select: none;
}
a {
  color: #0a84ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
}
.site-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.site-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}
.site-logo:hover {
  color: #0a84ff;
  text-decoration: none;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.site-nav a {
  color: #a1a1a6;
}
.site-nav a:hover {
  color: #fff;
  text-decoration: none;
}
.site-main {
  flex: 1;
  max-width: 72rem;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #1d1d1f;
  padding: 2rem 1.5rem;
  font-size: 0.75rem;
  color: #a1a1a6;
}
.site-footer a {
  color: #a1a1a6;
}
.site-footer a:hover {
  color: #fff;
}
h1 {
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
}
.muted {
  color: #a1a1a6;
  font-size: 0.9375rem;
}
.grid-cards {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-cards.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid-cards.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card-app {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.75rem 0.75rem 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #1c1c1e;
  color: inherit;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
a.card-app:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}
.card-app img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  background: #2c2c2e;
}
@media (min-width: 640px) {
  .card-app img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }
}
.card-app-body {
  min-width: 0;
  flex: 1;
}
.card-app-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-app-meta {
  font-size: 0.6875rem;
  color: #8e8e93;
  margin-top: 0.125rem;
}
.card-app-cta {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
a.card-app:hover .card-app-cta {
  background: rgba(255, 255, 255, 0.14);
}
.banner-offline {
  border-radius: 1rem;
  border: 1px solid rgba(120, 53, 15, 0.4);
  background: rgba(69, 26, 3, 0.25);
  padding: 1rem;
  color: #fef3c7;
  font-size: 0.875rem;
}
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 36rem;
  margin-top: 1.5rem;
}
.search-form input[type="search"],
.search-form input[type="text"] {
  flex: 1;
  min-width: 12rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1c1c1e;
  color: #fff;
  outline: none;
}
.search-form input:focus {
  box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.5);
}
.search-form button {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  background: #0a84ff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.search-form button:hover {
  background: #0077ed;
}
.grid-cats {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .grid-cats {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-cats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.cat-tile {
  display: block;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1c1c1e;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
}
.cat-tile:hover {
  border-color: rgba(10, 132, 255, 0.5);
  color: #0a84ff;
  text-decoration: none;
}
.section-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}
.section-title a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.section-title a:hover {
  color: #0a84ff;
  text-decoration: none;
}
.loading {
  color: #a1a1a6;
}
code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}
.btn-play {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  background: #0a84ff;
  color: #fff !important;
  font-weight: 600;
}
.btn-play:hover {
  background: #0077ed;
  text-decoration: none;
}
.app-hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .app-hero {
    flex-direction: row;
    align-items: flex-start;
  }
}
.app-icon-lg {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
}

/* Legal pages — typography aligned with Next.js legal pages */
.legal-article {
  font-size: 15px;
  line-height: 1.625;
  color: #d1d1d6;
}
.legal-article h1 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1rem;
}
.legal-article p {
  margin: 0;
}
.legal-article p + p {
  margin-top: 1rem;
}

/* --- App detail (Next AppDetailHeader + QuickFacts + ratings) --- */
:root {
  --appstore-section-muted: #c7c7cc;
}

#main.app-page-detail {
  max-width: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
#main.app-page-detail .app-page-inner {
  box-sizing: border-box;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
#main.app-page-detail .app-page-inner--facts {
  padding-top: 2rem;
}
@media (min-width: 640px) {
  #main.app-page-detail .app-page-inner--facts {
    padding-top: 2.5rem;
  }
}
#main.app-page-detail .app-page-inner--rest {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.app-detail-header {
  width: 100%;
}
.app-detail-hero-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
  background: #171717;
}
.app-detail-wash {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.app-detail-wash img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%) scale(2.4);
  object-fit: cover;
  object-position: center;
  filter: blur(88px) saturate(1.4) brightness(1.08);
}
.app-detail-scrim {
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.app-detail-scrim-a {
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0.5)
  );
}
.app-detail-scrim-b {
  background: rgba(0, 0, 0, 0.15);
}
.app-detail-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 1.5rem;
}
@media (min-width: 640px) {
  .app-detail-hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 2rem 2rem;
  }
}
.app-detail-icon-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
@media (min-width: 640px) {
  .app-detail-icon-wrap {
    width: 174px;
    height: 174px;
    border-radius: 36px;
    margin: 0;
  }
}
.app-detail-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-detail-text-col {
  min-width: 0;
  flex: 1;
  text-align: center;
}
@media (min-width: 640px) {
  .app-detail-text-col {
    text-align: left;
  }
}
.app-detail-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}
@media (min-width: 640px) {
  .app-detail-title {
    font-size: 34px;
  }
}
.app-detail-subtitle {
  margin: 0.4rem 0 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
}
@media (min-width: 640px) {
  .app-detail-subtitle {
    font-size: 19px;
  }
}
.app-detail-pricing {
  margin: 0.5rem 0 0;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}
.app-detail-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
@media (max-width: 767px) {
  .app-detail-actions {
    display: none;
  }
}
@media (min-width: 640px) {
  .app-detail-actions {
    justify-content: flex-start;
  }
}
.app-hero-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn-share-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.btn-share-hero:hover {
  background: rgba(255, 255, 255, 0.3);
}
.app-share-hint {
  margin-left: 0.5rem;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}
.btn-play-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 15px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  background: #01875f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-play-hero:hover {
  background: #016b4c;
  text-decoration: none !important;
}

.app-detail-meta-bar {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1rem;
}
@media (min-width: 640px) {
  .app-detail-meta-bar {
    padding: 0.75rem 2rem;
  }
}
.app-detail-meta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
@media (min-width: 640px) {
  .app-detail-meta-inner {
    justify-content: flex-start;
  }
}
.app-meta-strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}
.app-meta-star {
  color: rgba(255, 255, 255, 0.9);
}
.app-meta-dim {
  color: rgba(255, 255, 255, 0.7);
}
.app-meta-dev {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.app-meta-dev:hover {
  color: #fff;
}
.app-meta-dev-plain {
  color: rgba(255, 255, 255, 0.85);
}

/* Quick facts card */
.app-quick-facts {
  overflow: hidden;
  border-radius: 1rem;
  background: #2c2c2e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.app-quick-facts-scroll {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.app-quick-facts-scroll::-webkit-scrollbar {
  display: none;
}
.app-quick-facts-cols {
  display: flex;
  min-width: max-content;
}
@media (min-width: 640px) {
  .app-quick-facts-cols {
    min-width: 100%;
  }
}
.app-qf-col {
  flex: 0 0 auto;
  width: 40vw;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0.75rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
  text-decoration: none !important;
  box-sizing: border-box;
}
.app-qf-col:last-child {
  border-right: none;
}
@media (min-width: 640px) {
  .app-qf-col {
    width: 0;
    min-width: 0;
    max-width: none;
    flex: 1 1 0;
    padding: 1.25rem 1rem;
  }
}
.app-qf-col.is-clickable {
  cursor: pointer;
}
.app-qf-col.is-clickable:hover {
  background: rgba(255, 255, 255, 0.06);
}
.app-qf-label {
  min-height: 1.25rem;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--appstore-section-muted);
  line-height: 1.2;
}
.app-qf-mid {
  margin-top: 0.5rem;
  min-height: 2.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #fff;
}
@media (min-width: 640px) {
  .app-qf-mid {
    font-size: 19px;
  }
}
.app-qf-bot {
  margin-top: 0.25rem;
  min-height: 1.25rem;
  max-width: 100%;
  font-size: 11px;
  line-height: 1.3;
  color: var(--appstore-section-muted);
}
.app-qf-catico {
  width: 2rem;
  height: 2rem;
  color: #fff;
}
.app-qf-stars,
.app-ratings-mini {
  display: inline-flex;
  gap: 1px;
  font-size: 13px;
  line-height: 1;
  color: #fff;
}
.app-qf-stars .on,
.app-ratings-mini .on {
  color: #fff;
}
.app-qf-stars .off,
.app-ratings-mini .off {
  color: rgba(255, 255, 255, 0.25);
}
.app-qf-muted {
  font-size: 13px;
  color: var(--appstore-section-muted);
}

.app-page-black {
  background: #000;
}
.app-desc-collapsible {
  background: #000;
  padding: 0.5rem 0 2rem;
  color: #ebebf5;
}
.app-desc-collapsible-text {
  font-size: 15px;
  line-height: 1.625;
  color: #a1a1a6;
  white-space: pre-line;
}
.app-desc-collapsible-text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-desc-more {
  margin-top: 0.75rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #0a84ff;
}
.scroll-target {
  scroll-margin-top: 1.5rem;
}

.app-ratings-section {
  scroll-margin-top: 1.5rem;
  background: #000;
  padding: 1.5rem 0 3rem;
  color: #fff;
}
.app-ratings-h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.app-ratings-row {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 640px) {
  .app-ratings-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
}
.app-ratings-big {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.app-ratings-sub {
  margin: 0.5rem 0 0;
  font-size: 15px;
  color: #a1a1a6;
}
.app-ratings-bars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.app-ratings-barline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.app-ratings-barstars {
  width: 3.5rem;
  flex-shrink: 0;
  text-align: left;
}
.app-ratings-mini {
  font-size: 10px;
}
.app-ratings-track {
  height: 6px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
}
.app-ratings-fill {
  height: 100%;
  border-radius: 9999px;
  background: #c7c7cc;
}
.app-ratings-foot {
  margin: 1rem 0 0;
  text-align: right;
  font-size: 13px;
  color: #a1a1a6;
}
.app-ratings-empty {
  margin: 0;
  font-size: 15px;
  line-height: 1.625;
  color: #a1a1a6;
}

.app-whatsnew-wrap {
  border-top: 1px solid #38383a;
  padding: 2.5rem 0;
}
.app-whatsnew-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-radius: 0.75rem;
  color: inherit;
}
.app-whatsnew-btn:hover {
  background: rgba(255, 255, 255, 0.04);
}
.app-whatsnew-h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.app-whatsnew-chev {
  color: #a1a1a6;
  font-weight: 400;
}
.app-whatsnew-row {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.app-whatsnew-preview {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.625;
  color: #ebebf5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-whatsnew-ver {
  flex-shrink: 0;
  text-align: right;
}
.app-whatsnew-v {
  margin: 0;
  font-size: 15px;
  color: #fff;
}
.app-whatsnew-d {
  margin: 0.25rem 0 0;
  font-size: 13px;
  color: #a1a1a6;
}
.app-whatsnew-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  padding: 1rem;
}
.app-whatsnew-modal[hidden] {
  display: none !important;
}
.app-whatsnew-dialog {
  position: relative;
  max-width: 32rem;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  background: #1c1c1e;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.app-whatsnew-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.app-whatsnew-dialog h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  color: #fff;
}
.app-whatsnew-li {
  margin-bottom: 1rem;
  color: #d1d1d6;
  font-size: 14px;
}
.app-whatsnew-notes {
  margin: 0.5rem 0 0;
  font-family: inherit;
  font-size: 13px;
  white-space: pre-wrap;
  color: #a1a1a6;
}

.app-video-block {
  border-radius: 10px;
  background: #1c1c1e;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.app-video-block h2 {
  margin: 0 0 1rem;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}
.app-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 48rem;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}
.app-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.app-video-link {
  color: #0a84ff;
}

.app-play-comments h2 {
  margin: 0 0 1rem;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}
.app-play-comments-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.app-play-comments-li {
  margin: 0;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1c1c1e;
  font-size: 14px;
  line-height: 1.625;
  color: #d1d1d6;
}

.app-dev-card {
  border-radius: 10px;
  background: #1c1c1e;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.app-dev-card h2 {
  margin: 0 0 1rem;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}
.app-dev-dl {
  margin: 0;
  font-size: 14px;
}
.app-dev-dl dt {
  color: #86868b;
  margin-bottom: 0.25rem;
}
.app-dev-dl dd {
  margin: 0;
  color: #d1d1d6;
}

/* Screenshot gallery (Next ScreenshotGallery) */
.app-shot-gallery {
  width: 100%;
  min-width: 0;
  overflow-x: clip;
  background: #000;
  padding-top: 2rem;
  color: #fff;
}
.app-shot-gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  min-width: 0;
}
.app-shot-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 640px) {
  .app-shot-strip {
    gap: 1.25rem;
  }
}
.app-shot-cell {
  position: relative;
  height: min(520px, 72vh);
  width: 220px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 1rem;
}
@media (min-width: 640px) {
  .app-shot-cell {
    height: 560px;
    width: 240px;
  }
}
.app-shot-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.app-shot-bar {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
}
.app-shot-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #a1a1a6;
}
.app-shot-ico {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.app-shot-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.125rem;
  font-size: 15px;
  color: #ebebf5;
}
.app-shot-tab {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0 0.125rem;
  font: inherit;
  color: #a1a1a6;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.app-shot-tab.is-on {
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}
.app-shot-tab:hover {
  color: #fff;
}
.app-shot-border {
  border-bottom: 1px solid #38383a;
}

/* AdSense slot */
.app-adsense-aside {
  margin: 1.5rem auto;
  width: 100%;
  max-width: 728px;
}
.app-ads-label {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #636366;
}
.app-ads-wrap {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(28, 28, 30, 0.4);
  padding: 0.75rem 0.5rem;
}
@media (min-width: 640px) {
  .app-ads-wrap {
    padding: 0.75rem 1rem;
  }
}

/* App Privacy (Next AppPrivacyPractices) */
.app-privacy-wrap {
  border-top: 1px solid #38383a;
  padding: 2.5rem 0 3rem;
}
.app-privacy-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.app-privacy-open {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-radius: 0.75rem;
  color: inherit;
}
.app-privacy-open:hover {
  background: rgba(255, 255, 255, 0.04);
}
.app-privacy-h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.app-privacy-chev {
  color: #a1a1a6;
}
.app-privacy-lead {
  margin: 1.25rem 0 0;
  max-width: 48rem;
  font-size: 15px;
  line-height: 1.625;
  color: #a1a1a6;
}
.app-privacy-lead strong {
  font-weight: 600;
  color: #fff;
}
.app-privacy-muted {
  margin: 0.5rem 0 0;
  font-size: 13px;
  line-height: 1.625;
  color: #8e8e93;
}
.app-privacy-note {
  margin: 1.5rem 0 0;
  white-space: pre-line;
  font-size: 15px;
  line-height: 1.625;
  color: #636366;
}
.app-privacy-a {
  color: #0a84ff;
  font-weight: 500;
  text-decoration: none;
}
.app-privacy-a:hover {
  text-decoration: underline;
}
.app-privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  padding: 1rem;
}
.app-privacy-modal[hidden] {
  display: none !important;
}
.app-privacy-dialog {
  position: relative;
  display: flex;
  max-height: min(85vh, 680px);
  width: 100%;
  max-width: 32rem;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #38383a;
  background: #1c1c1e;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
.app-privacy-x {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.app-privacy-x:hover {
  background: rgba(255, 255, 255, 0.1);
}
.app-privacy-dlg-h2 {
  margin: 0;
  padding: 3rem 2.5rem 1rem 1.25rem;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid #38383a;
}
.app-privacy-dlg-body {
  overflow-y: auto;
  padding: 1.25rem 1.25rem 1.5rem;
  font-size: 15px;
  line-height: 1.625;
  color: #a1a1a6;
}
.app-privacy-dlg-body p {
  margin: 0 0 1rem;
}
.app-privacy-hr {
  margin: 1.25rem 0;
  border: 0;
  border-top: 1px solid #38383a;
}

/* Accessibility */
.app-a11y-block {
  border-radius: 1rem;
  border: 1px solid #38383a;
  background: #1c1c1e;
  padding: 1.5rem;
}
.app-a11y-block h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.app-a11y-p {
  margin: 0.5rem 0 0;
  font-size: 15px;
  line-height: 1.625;
  color: #d1d1d6;
}
.app-a11y-sub {
  margin: 0.75rem 0 0;
  font-size: 14px;
  color: #8e8e93;
}

/* Information grid (Next AppFactsGrid) */
.app-facts-grid {
  scroll-margin-top: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #38383a;
  background: #1c1c1e;
  padding: 1.5rem;
}
.app-facts-grid > h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.app-facts-dl {
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
}
@media (min-width: 640px) {
  .app-facts-dl {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .app-facts-dl {
    grid-template-columns: repeat(3, 1fr);
  }
}
.app-facts-cell dt {
  font-size: 13px;
  line-height: 1.35;
  color: #8e8e93;
}
.app-facts-cell dd {
  margin: 0.25rem 0 0;
  font-size: 15px;
  line-height: 1.35;
  color: #fff;
}
.app-facts-foot {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #38383a;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.5rem;
}
.app-facts-foot-a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 15px;
  color: #0a84ff;
  text-decoration: none;
}
.app-facts-foot-a:hover {
  text-decoration: underline;
}

/* App listing rows */
.app-listing-rail {
  display: flex;
  width: 100%;
  min-width: 260px;
  max-width: 360px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.75rem 0.75rem 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #1c1c1e;
  text-align: left;
  text-decoration: none !important;
  color: inherit;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.app-listing-rail:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 36px -14px rgba(0, 0, 0, 0.55);
}
.app-listing-rail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 11px;
  background: #2c2c2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 640px) {
  .app-listing-rail-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }
}
.app-listing-rail-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-listing-rail-body {
  min-width: 0;
  flex: 1;
}
.app-listing-rail-title {
  display: block;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-listing-rail-cat {
  margin: 0.125rem 0 0;
  font-size: 11px;
  line-height: 1.35;
  color: #8e8e93;
}
@media (min-width: 640px) {
  .app-listing-rail-cat {
    font-size: 12px;
  }
}
.app-listing-rail-desc {
  margin: 0.125rem 0 0;
  font-size: 11px;
  line-height: 1.35;
  color: #a1a1a6;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) {
  .app-listing-rail-desc {
    font-size: 12px;
  }
}
.app-listing-rail-cta {
  flex-shrink: 0;
  margin-left: 0.125rem;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 640px) {
  .app-listing-rail-cta {
    padding: 0.375rem 1rem;
    font-size: 13px;
  }
}

.app-listing-list {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.app-listing-list-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #2c2c2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.app-listing-list-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-listing-list-mid {
  min-width: 0;
  flex: 1;
}
.app-listing-list-title {
  display: block;
  font-weight: 600;
  color: #fff;
  text-decoration: none !important;
}
.app-listing-list-title:hover {
  color: #0a84ff;
}
.app-listing-list-sub {
  margin: 0.125rem 0 0;
  font-size: 13px;
  color: #8e8e93;
}
.app-listing-list-view {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: #0a84ff;
  text-decoration: none !important;
}

/* Developer more + related */
.app-page-inner--more {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
.app-dev-more-head {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none !important;
}
.app-dev-more-head:hover {
  color: #0a84ff;
}
.app-dev-more-chev {
  color: #a1a1a6;
}
.app-dev-more-head:hover .app-dev-more-chev {
  color: #0a84ff;
}
.app-dev-more-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 2.5rem;
}
@media (min-width: 768px) {
  .app-dev-more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.app-related-head {
  margin-bottom: 1rem;
}
.app-related-title-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none !important;
}
.app-related-title-link:hover {
  color: #0a84ff;
}
.app-related-chev {
  color: #a1a1a6;
}
.app-related-title-link:hover .app-related-chev {
  color: #0a84ff;
}
.app-related-h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

/* Related apps carousel (matches Next RelatedApps) */
.related-carousel-root {
  position: relative;
  outline: none;
}
.related-carousel-root:focus-visible {
  box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.45);
  border-radius: 4px;
}
.related-carousel-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 768px) {
  .related-carousel-viewport {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
.related-carousel-viewport:active {
  cursor: grabbing;
}
.related-carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  transition: transform 0.3s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .related-carousel-track {
    transition: none;
  }
}
.related-carousel-page {
  min-width: 0;
  box-sizing: border-box;
  padding-left: 2px;
  padding-right: 2px;
}
.related-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 1rem;
}
@media (min-width: 768px) {
  .related-page-grid {
    gap: 1.5rem 1.5rem;
  }
}
.related-page-grid[data-cols="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.related-page-grid[data-cols="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.related-page-cell {
  min-width: 0;
  min-height: 0;
  padding-left: 2px;
  padding-right: 2px;
}
.related-page-grid .app-listing-rail {
  min-width: 0;
  max-width: none;
}
.related-carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  transform: translateY(-50%);
  margin: 0;
  padding: 0.5rem;
  border: none;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}
.related-carousel-nav:hover {
  background: rgba(0, 0, 0, 0.85);
}
@media (min-width: 768px) {
  .related-carousel-nav {
    opacity: 0;
  }
  .related-carousel-root:hover .related-carousel-nav {
    opacity: 0.9;
  }
}
.related-carousel-nav--prev {
  left: 0;
}
.related-carousel-nav--next {
  right: 0;
}
.related-carousel-dots {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.related-carousel-dot {
  margin: 0;
  padding: 0;
  width: 0.5rem;
  height: 0.5rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
.related-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}
.related-carousel-dot.is-active {
  width: 1.5rem;
  background: #0a84ff;
}
.related-see-more-card {
  display: flex;
  min-height: 52px;
  width: 100%;
  min-width: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.75rem 0.75rem 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #1c1c1e;
  text-align: left;
  text-decoration: none !important;
  color: inherit;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .related-see-more-card {
    min-height: 56px;
    gap: 0.875rem;
    padding: 0.875rem 0.75rem 0.875rem 0.625rem;
  }
}
.related-see-more-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 36px -14px rgba(0, 0, 0, 0.55);
}
.related-see-more-ico {
  display: flex;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 640px) {
  .related-see-more-ico {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }
}
.related-see-more-svg {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
}
.related-see-more-card:hover .related-see-more-svg {
  transform: translateX(2px);
  color: #fff;
}
.related-see-more-text {
  min-width: 0;
  flex: 1;
  text-align: left;
}
.related-see-more-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
@media (min-width: 640px) {
  .related-see-more-title {
    font-size: 15px;
  }
}
.related-see-more-sub {
  display: block;
  margin-top: 0.125rem;
  font-size: 11px;
  line-height: 1.35;
  color: #8e8e93;
}
@media (min-width: 640px) {
  .related-see-more-sub {
    font-size: 12px;
  }
}
.related-see-more-chev {
  flex-shrink: 0;
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}
.related-see-more-card:hover .related-see-more-chev {
  transform: translateX(2px);
  color: rgba(255, 255, 255, 0.75);
}

/* Mobile: sticky Share + Get bar (matches Next hero CTA style) */
.app-detail-sticky-cta {
  display: none;
}
@media (max-width: 767px) {
  .app-detail-sticky-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    padding: 0.75rem 1rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    background: rgba(28, 28, 30, 0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  #main.app-page-detail {
    padding-bottom: 5rem;
  }
}
