:root {
  color-scheme: light;
  --page: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #f2f6fb;
  --text: #111827;
  --muted: #637083;
  --line: #dfe6ef;
  --brand: #2264d1;
  --ink: #17202a;
  --accent: #16a085;
  --warm: #f5a623;
  --coral: #ef5a4c;
  --shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
  color: var(--text);
}

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

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

img.image-fallback {
  object-fit: contain;
  padding: 12px;
  background: #eef3f8;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1200px, 100%);
  min-height: 70px;
  margin: 0 auto;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 850;
  color: var(--ink);
}

.brand {
  font-size: 1.22rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

.mini-brand .brand-mark {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
}

.search-wrap,
.dock-search {
  min-width: 0;
}

.search-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--text);
  outline: none;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.search-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(34, 100, 209, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a {
  min-height: 38px;
  padding: 9px 11px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
}

.nav-links a:hover,
.dock-link:hover,
.dock-link.active {
  background: var(--surface-soft);
  color: var(--ink);
}

.page-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 26px 20px 56px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-portal {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: 24px;
  align-items: stretch;
  padding: 14px 0 28px;
}

.home-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-copy h1,
.page-title h1,
.detail-title h1,
.download-panel h1,
.static-page h1 {
  margin: 0;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: 0;
}

.home-copy h1 {
  font-size: clamp(2.25rem, 5vw, 4.8rem);
}

.home-copy p {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.home-arcade {
  padding: 6px 0 24px;
}

.arcade-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.arcade-title-block {
  min-width: 0;
}

.arcade-title-block h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.arcade-title-block p {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.6;
}

.arcade-metrics {
  min-width: min(330px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.arcade-metrics span {
  min-width: 0;
  min-height: 74px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.arcade-metrics strong,
.arcade-metrics small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arcade-metrics strong {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.2;
}

.arcade-metrics small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 820;
  text-transform: uppercase;
}

.arcade-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 14px;
  scrollbar-width: thin;
}

.filter-chip {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--muted);
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: var(--ink);
  border-color: #b7c7db;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
  transform: translateY(-1px);
}

.filter-chip.is-active {
  background: var(--ink);
  color: #ffffff;
}

.arcade-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 16px;
  align-items: stretch;
}

.arcade-board {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 112px;
  grid-auto-flow: dense;
  gap: 12px;
}

.arcade-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: #eaf0f6;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.arcade-tile-hero,
.arcade-tile-large {
  grid-column: span 2;
  grid-row: span 2;
}

.arcade-tile-tall {
  grid-row: span 2;
}

.arcade-tile-wide {
  grid-column: span 2;
}

.arcade-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.arcade-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.02) 0%, rgba(17, 24, 39, 0.18) 40%, rgba(17, 24, 39, 0.78) 100%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 34%);
}

.arcade-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 100, 209, 0.38);
  box-shadow: 0 24px 46px rgba(17, 24, 39, 0.18);
}

.arcade-tile:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.tile-rank,
.tile-play,
.quick-badge {
  position: absolute;
  z-index: 2;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.tile-rank {
  top: 10px;
  left: 10px;
  min-width: 42px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.tile-play {
  top: 10px;
  right: 10px;
  min-width: 48px;
  padding: 0 10px;
  background: rgba(22, 160, 133, 0.94);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.18);
}

.arcade-tile:hover .tile-play {
  background: var(--brand);
}

.tile-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 12px;
}

.tile-content strong,
.tile-content small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tile-content strong {
  font-size: 1rem;
  line-height: 1.15;
}

.arcade-tile-hero .tile-content strong,
.arcade-tile-large .tile-content strong {
  font-size: 1.18rem;
}

.tile-content small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 760;
}

.arcade-top-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.07);
}

.top-panel-head {
  margin-bottom: 12px;
}

.top-panel-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.15;
}

.top-rank-list {
  display: grid;
  gap: 8px;
}

.top-rank-item {
  min-width: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: 30px 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.top-rank-item:hover {
  transform: translateX(3px);
  border-color: #c7d4e5;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.07);
}

.rank-number {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 950;
}

.top-rank-item img,
.top-rank-item .skeleton-block {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.rank-copy {
  min-width: 0;
}

.rank-copy strong,
.rank-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.rank-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 740;
}

.rank-action {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #edf6ff;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
}

body.home-showcase {
  background: #f5f7fb;
}

body.home-showcase .site-header {
  display: none;
}

body.home-showcase .page-shell {
  width: 100%;
  max-width: none;
  padding: clamp(10px, 1.2vw, 24px) clamp(10px, 1.35vw, 28px) 0;
}

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

.home-app-card {
  border: 1px solid #e3e9f2;
  border-radius: 10px;
  background: #ffffff;
  width: 100%;
  padding: clamp(18px, 1.65vw, 34px);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.home-card-nav {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  gap: clamp(14px, 1.2vw, 24px);
  align-items: center;
}

.home-wordmark {
  color: #101827;
  font-size: clamp(1.45rem, 1.55vw, 2.05rem);
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.home-search {
  min-width: 0;
  height: clamp(42px, 3vw, 56px);
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  padding: 0 16px 0 22px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.home-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #101827;
  font-size: clamp(0.92rem, 0.92vw, 1.08rem);
}

.home-search svg,
.action-icon svg,
.home-filter svg,
.benefit-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-search svg {
  color: #9aa8b8;
}

.home-action-icons {
  display: flex;
  align-items: center;
  gap: clamp(10px, 0.9vw, 18px);
}

.action-icon {
  width: clamp(24px, 1.8vw, 34px);
  height: clamp(24px, 1.8vw, 34px);
  display: grid;
  place-items: center;
  color: #111827;
}

.action-icon.hot {
  color: #ff3b30;
}

.home-chip-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  justify-content: stretch;
  align-items: center;
  gap: clamp(8px, 0.8vw, 16px);
  margin: clamp(18px, 1.6vw, 30px) 0 clamp(12px, 1.1vw, 20px);
}

.home-chip,
.home-filter {
  min-height: clamp(34px, 2.45vw, 44px);
  padding: 0 clamp(16px, 1.45vw, 28px);
  border: 1px solid #dce4ee;
  border-radius: 999px;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #f8fafc;
  color: #111827;
  white-space: nowrap;
  font-size: clamp(0.78rem, 0.78vw, 0.96rem);
  font-weight: 800;
  cursor: pointer;
}

.home-chip {
  width: 100%;
  min-width: 0;
}

.home-chip.is-active,
.home-filter.is-active {
  border-color: #12b6a8;
  background: #12b6a8;
  color: #ffffff;
}

.home-filter {
  margin-left: 26px;
  background: #ffffff;
}

.home-filter svg {
  width: 17px;
  height: 17px;
}

.home-mosaic {
  --mosaic-cols: 10;
  --mosaic-cell: 124px;
  display: grid;
  grid-template-columns: repeat(var(--mosaic-cols), minmax(0, 1fr));
  grid-auto-rows: var(--mosaic-cell);
  grid-auto-flow: dense;
  gap: clamp(9px, 0.8vw, 16px);
}

.home-mosaic-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: #e8eef6;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.mosaic-tile-1x1 {
  grid-column: span 1;
  grid-row: span 1;
}

.mosaic-tile-2x2 {
  grid-column: span 2;
  grid-row: span 2;
}

.home-mosaic-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.home-mosaic-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.home-mosaic-tile:hover img {
  transform: scale(1.04);
}

.home-mosaic-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0.17) 42%, rgba(15, 23, 42, 0.74) 100%);
}

.mosaic-hero {
  grid-column: 1 / 5;
  grid-row: 1 / 4;
}

.mosaic-speed {
  grid-column: 5 / 9;
  grid-row: 1 / 2;
}

.mosaic-sky {
  grid-column: 5 / 7;
  grid-row: 2 / 3;
}

.mosaic-monster {
  grid-column: 7 / 9;
  grid-row: 2 / 5;
}

.mosaic-block {
  grid-column: 1 / 3;
  grid-row: 4 / 5;
}

.mosaic-fruit {
  grid-column: 3 / 7;
  grid-row: 4 / 5;
}

.mosaic-stunts {
  grid-column: 1 / 5;
  grid-row: 5 / 6;
}

.mosaic-promo {
  grid-column: 5 / 9;
  grid-row: 5 / 6;
  background: linear-gradient(135deg, #ff7b61 0%, #ff3f75 100%);
}

.mosaic-promo::after {
  background: radial-gradient(circle at 83% 45%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 30%);
}

.mosaic-promo img {
  left: auto;
  right: 12px;
  top: 13px;
  width: 38%;
  height: 74%;
  border-radius: 8px;
  object-fit: cover;
  transform: rotate(8deg);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.18);
}

.top-pick-label {
  position: absolute;
  top: clamp(8px, 0.75vw, 16px);
  left: clamp(8px, 0.75vw, 16px);
  z-index: 3;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  background: #ffe51f;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 950;
}

.mosaic-rank {
  position: absolute;
  top: clamp(8px, 0.7vw, 12px);
  right: clamp(8px, 0.7vw, 12px);
  z-index: 3;
  min-width: 28px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px 7px 14px 14px;
  background: #ffc400;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 950;
  box-shadow: 0 7px 14px rgba(15, 23, 42, 0.16);
}

.mosaic-tile-1x1 .mosaic-rank {
  top: 6px;
  right: 6px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 0.68rem;
}

.mosaic-speed .mosaic-rank,
.mosaic-sky .mosaic-rank {
  background: #2f7ff0;
}

.mosaic-content,
.promo-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(12px, 1.2vw, 24px);
}

.mosaic-content strong,
.mosaic-content small,
.promo-copy strong,
.promo-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mosaic-content strong {
  max-width: 100%;
  font-size: clamp(0.86rem, 0.88vw, 1.08rem);
  line-height: 1.05;
  font-weight: 950;
}

.mosaic-tile-1x1 .mosaic-content {
  display: none;
}

.mosaic-tile-1x1 .mosaic-content strong {
  font-size: clamp(0.74rem, 0.76vw, 0.9rem);
}

.mosaic-tile-1x1 .mosaic-content small,
.mosaic-tile-1x1 .mosaic-play {
  display: none;
}

.mosaic-tile-1x1::after {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0.1) 55%, rgba(15, 23, 42, 0.22) 100%);
}

.mosaic-tile-2x2 .mosaic-content strong {
  font-size: clamp(1.05rem, 1.18vw, 1.42rem);
}

.mosaic-tile-2x2 .mosaic-content small {
  font-size: clamp(0.78rem, 0.82vw, 0.98rem);
}

.mosaic-speed .mosaic-content strong,
.mosaic-sky .mosaic-content strong,
.mosaic-block .mosaic-content strong,
.mosaic-fruit .mosaic-content strong,
.mosaic-stunts .mosaic-content strong {
  font-size: clamp(0.86rem, 0.88vw, 1.08rem);
}

.mosaic-content small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.72rem, 0.78vw, 0.94rem);
  font-weight: 780;
}

.mosaic-play,
.promo-copy em {
  width: fit-content;
  min-width: clamp(48px, 3.6vw, 68px);
  min-height: clamp(26px, 1.85vw, 32px);
  margin-top: clamp(8px, 0.8vw, 14px);
  padding: 0 clamp(12px, 1.1vw, 20px);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #111827;
  font-size: clamp(0.68rem, 0.68vw, 0.8rem);
  font-style: normal;
  font-weight: 900;
}

.mosaic-speed .mosaic-play,
.mosaic-sky .mosaic-play,
.mosaic-block .mosaic-play,
.mosaic-fruit .mosaic-play,
.mosaic-stunts .mosaic-play {
  min-width: clamp(52px, 3.4vw, 72px);
  min-height: clamp(26px, 1.9vw, 34px);
  margin-top: clamp(7px, 0.6vw, 10px);
  padding: 0 clamp(10px, 0.8vw, 14px);
  font-size: clamp(0.68rem, 0.7vw, 0.82rem);
}

.mosaic-monster .mosaic-content {
  padding-bottom: 20px;
}

.mosaic-monster .mosaic-content strong {
  font-size: clamp(1.05rem, 1.3vw, 1.7rem);
}

.promo-copy strong {
  max-width: 58%;
  color: #111827;
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  font-weight: 950;
}

.promo-copy small {
  max-width: 58%;
  margin-top: 4px;
  color: #111827;
  font-size: clamp(0.78rem, 0.85vw, 1.02rem);
  font-weight: 850;
}

.promo-copy em {
  color: #ff4964;
}

.home-disclosure {
  margin-top: clamp(18px, 1.6vw, 30px);
  padding: clamp(16px, 1.6vw, 28px);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(16px, 1.4vw, 26px);
  background: linear-gradient(135deg, #f8fbff 0%, #eef7f6 100%);
  border: 1px solid #dde8f2;
}

.home-disclosure-copy {
  min-width: 0;
}

.home-disclosure .eyebrow {
  color: #0f9f94;
}

.home-disclosure h2 {
  margin: 6px 0 10px;
  color: #111827;
  font-size: clamp(1.18rem, 1.2vw, 1.56rem);
  line-height: 1.18;
}

.home-disclosure p {
  max-width: 980px;
  margin: 0;
  color: #42536a;
  font-size: clamp(0.86rem, 0.86vw, 1rem);
  line-height: 1.65;
}

.home-disclosure p + p {
  margin-top: 9px;
}

.home-disclosure a {
  color: #0f766e;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-disclosure-points {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 10px;
}

.home-disclosure-points span {
  min-width: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(66, 83, 106, 0.16);
}

.home-disclosure-points span:first-child {
  border-top: 0;
}

.home-disclosure-points strong,
.home-disclosure-points small {
  display: block;
  min-width: 0;
}

.home-disclosure-points strong {
  color: #111827;
  font-size: 0.92rem;
  line-height: 1.2;
}

.home-disclosure-points small {
  margin-top: 4px;
  color: #5f6f82;
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 650;
}

.home-top-section {
  margin-top: clamp(22px, 1.8vw, 34px);
}

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

.home-section-title h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.1rem, 1.1vw, 1.45rem);
  line-height: 1.2;
}

.home-section-title a {
  color: #2768e8;
  font-size: 0.84rem;
  font-weight: 850;
}

.home-top-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(76px, 5.25vw, 104px);
  grid-template-rows: 1fr;
  justify-content: center;
  gap: clamp(8px, 0.72vw, 14px);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.home-top-card {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 5px;
}

.home-top-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.home-top-medal {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #ffc400;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 950;
  box-shadow: 0 5px 10px rgba(15, 23, 42, 0.15);
}

.home-top-card strong,
.home-top-card small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-top-card strong {
  color: #111827;
  font-size: clamp(0.72rem, 0.72vw, 0.86rem);
  font-weight: 900;
}

.home-top-card small {
  color: #111827;
  font-size: clamp(0.66rem, 0.66vw, 0.78rem);
  font-weight: 750;
}

.home-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 0.9vw, 18px);
  margin-top: clamp(22px, 1.8vw, 34px);
}

.home-benefit {
  min-width: 0;
  min-height: clamp(66px, 4.8vw, 92px);
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: clamp(12px, 1vw, 18px) clamp(14px, 1.2vw, 22px);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.benefit-icon {
  display: grid;
  place-items: center;
  color: #2563eb;
}

.home-benefit:nth-child(2) .benefit-icon {
  color: #2f7ff0;
}

.home-benefit:nth-child(3) .benefit-icon {
  color: #10b981;
}

.home-benefit strong,
.home-benefit small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-benefit strong {
  color: #111827;
  font-size: clamp(0.8rem, 0.8vw, 1rem);
  font-weight: 950;
}

.home-benefit small {
  margin-top: 3px;
  color: #5f6f82;
  font-size: clamp(0.72rem, 0.72vw, 0.88rem);
  font-weight: 650;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.btn,
.icon-link {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  background: var(--brand);
  color: #ffffff;
}

.btn.light,
.icon-link {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
}

.btn.light:hover,
.icon-link:hover {
  border-color: #c8d4e5;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

.home-feature-board {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(210px, 1.05fr) minmax(180px, 0.95fr);
  gap: 12px;
}

.feature-card {
  position: relative;
  min-height: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #eef3f8;
  box-shadow: var(--shadow);
}

.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card::after,
.category-lead::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.74));
}

.feature-card span,
.category-lead span {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 12px;
  color: #ffffff;
}

.feature-card strong,
.category-lead strong,
.feature-card small,
.category-lead small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-card strong,
.category-lead strong {
  font-size: 1rem;
}

.feature-card small,
.category-lead small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
}

.feature-card-large {
  min-height: 320px;
}

.feature-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-stack .feature-card {
  min-height: 154px;
}

.quick-category-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: thin;
}

.quick-category-row a,
.tag-row span,
.pill {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 750;
}

.quick-category-row a {
  padding: 0 13px;
}

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

.home-category-panel,
.section,
.detail-summary,
.download-panel,
.static-page,
.empty-state,
.page-title {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

.home-category-panel {
  min-width: 0;
  padding: 16px;
}

.section-tone-1 {
  border-top: 4px solid var(--brand);
}

.section-tone-2 {
  border-top: 4px solid var(--accent);
}

.section-tone-3 {
  border-top: 4px solid var(--warm);
}

.section-tone-4 {
  border-top: 4px solid var(--coral);
}

.category-panel-head,
.section-head,
.page-title,
.footer-main,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.category-panel-head h2,
.section-head h2,
.static-page h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: 0;
}

.category-panel-head h2,
.section-head h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

.category-lead {
  position: relative;
  min-height: 220px;
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #eef3f8;
}

.category-lead img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-play-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
}

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

.compact-game {
  min-width: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: 28px 46px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.compact-rank {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
}

.compact-game img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
}

.compact-copy {
  min-width: 0;
}

.compact-copy strong,
.compact-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-copy strong {
  color: var(--ink);
  font-weight: 760;
  font-size: 0.9rem;
}

.compact-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 720;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag-row span {
  min-height: 26px;
  padding: 0 10px;
  font-size: 0.76rem;
}

.home-quick-rail {
  margin-top: 8px;
  padding: 18px 0 4px;
}

.quick-play-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 132px;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scrollbar-width: thin;
}

.quick-play-card {
  position: relative;
  min-width: 0;
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-rows: 112px minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.quick-play-card:hover {
  transform: translateY(-3px);
  border-color: #c7d4e5;
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.09);
}

.quick-play-card img {
  width: 100%;
  height: 112px;
  border-radius: 8px;
  object-fit: cover;
}

.quick-play-card strong {
  min-width: 0;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.18;
  overflow: hidden;
}

.quick-badge {
  top: 14px;
  left: 14px;
  min-width: 28px;
  background: rgba(17, 24, 39, 0.84);
  color: #ffffff;
}

.section {
  margin-top: 18px;
  padding: 18px;
}

.section-head {
  margin-bottom: 16px;
}

.section-head p,
.page-title p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.game-card {
  min-width: 0;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.game-card:hover,
.visual-tile:hover,
.compact-game:hover {
  transform: translateY(-2px);
  border-color: #c7d4e5;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.09);
}

.thumb-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #edf2f7;
}

.thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-body {
  min-width: 0;
  padding: 11px;
  display: block;
}

.game-card h3 {
  min-height: 2.42em;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.21;
  letter-spacing: 0;
  overflow: hidden;
}

.meta,
.stats {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
}

.meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-title {
  margin-bottom: 18px;
  padding: 22px;
}

.page-title h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

body.listing-grid-mode {
  background: #f8fbff;
}

body.listing-grid-mode .page-shell {
  width: 100%;
  max-width: none;
  padding: clamp(6px, 0.75vw, 14px) clamp(6px, 0.75vw, 14px) 24px;
}

.visual-browser {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.visual-dock {
  position: sticky;
  top: 12px;
  z-index: 5;
  min-height: calc(100vh - 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.visual-dock .brand {
  justify-content: center;
}

.dock-search .search-input {
  height: 38px;
  padding: 0 9px;
  font-size: 0.78rem;
}

.dock-link {
  min-height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.dock-dot {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  align-self: center;
  display: block;
  background: var(--surface-soft);
}

.visual-grid {
  --listing-cols: 10;
  --listing-cell: 116px;
  display: grid;
  grid-template-columns: repeat(var(--listing-cols), minmax(0, 1fr));
  grid-auto-rows: var(--listing-cell);
  grid-auto-flow: dense;
  gap: clamp(7px, 0.62vw, 12px);
}

.visual-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
  background: #edf3f8;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, filter 160ms ease;
}

.visual-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease, filter 200ms ease;
}

.visual-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 54%, rgba(15, 23, 42, 0.2) 100%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.visual-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 182, 168, 0.45);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

.visual-tile:hover img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.visual-tile:hover::after {
  opacity: 1;
}

.visual-tile.tile-large {
  grid-column: span 2;
  grid-row: span 2;
}

.detail-summary,
.download-panel {
  margin-top: 10px;
  padding: 20px;
}

.detail-summary {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 12px;
  background: #ffffff;
}

.detail-breadcrumb {
  min-width: 0;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 720;
  white-space: nowrap;
  overflow: hidden;
}

.detail-breadcrumb a {
  color: #526274;
}

.detail-breadcrumb strong {
  min-width: 0;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-app-card {
  min-width: 0;
}

.detail-hero,
.download-hero {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.detail-title {
  min-width: 0;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-hero {
  grid-template-columns: 112px minmax(0, 1fr);
}

.detail-icon {
  width: 150px;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #eef3f8;
}

.detail-title h1,
.download-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.35rem);
}

.detail-title h1 {
  font-size: clamp(1.95rem, 3vw, 2.18rem);
  line-height: 1.05;
}

.detail-category-line {
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.detail-category-line span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 999px;
  background: #a7b2c2;
  vertical-align: middle;
}

.detail-inline-stats {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: #415166;
  font-size: 0.78rem;
  font-weight: 800;
}

.fact-star {
  color: #ffc400;
}

.stats {
  margin-top: 12px;
}

.pill {
  min-height: 30px;
  padding: 0 12px;
}

.detail-actions {
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.download-cta {
  width: min(276px, 100%);
  min-height: 48px;
  border-color: #0ea899;
  background: #0ea899;
  box-shadow: 0 11px 20px rgba(14, 168, 153, 0.18);
  font-size: 0.84rem;
}

.detail-info-cards {
  min-width: 0;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.detail-fact-card {
  min-width: 0;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.detail-fact-card small {
  color: #697789;
  font-size: 0.66rem;
  font-weight: 800;
}

.detail-fact-card strong {
  min-width: 0;
  color: var(--ink);
  font-size: 0.72rem;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.info-table {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.info-row {
  min-width: 0;
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.info-row:nth-child(even) {
  background: #f8fbff;
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.info-row strong {
  min-width: 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.detail-ad-inline {
  margin-top: 16px;
}

.screenshot-carousel {
  position: relative;
}

.screenshot-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 230px);
  gap: 12px;
  overflow-x: auto;
  padding: 2px 42px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.screenshot-row img,
.skeleton-shot {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  object-fit: cover;
  background: #eef3f8;
  scroll-snap-align: start;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--ink);
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: var(--shadow);
  font-size: 1.5rem;
}

.carousel-btn.left {
  left: 0;
}

.carousel-btn.right {
  right: 0;
}

.readable-section {
  width: 100%;
  max-width: none;
}

.detail-similar-section {
  background: #ffffff;
}

.detail-similar-grid {
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
}

.detail-similar-grid .game-card {
  min-height: 0;
}

.detail-similar-grid .game-card-body {
  padding: 9px;
}

.detail-similar-grid .game-card h3 {
  min-height: 2.36em;
  margin-bottom: 6px;
  font-size: 0.9rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.detail-similar-grid .meta {
  gap: 4px;
  font-size: 0.74rem;
}

.description {
  color: #344054;
  line-height: 1.75;
  font-size: 1rem;
}

.description p {
  margin: 0;
}

.description p + p,
.description-list + p {
  margin-top: 14px;
}

.description-list {
  margin: 0;
  padding-left: 20px;
}

.description-list li + li {
  margin-top: 9px;
}

.game-disclaimer {
  color: var(--muted);
  font-size: 0.9rem;
}

.download-panel {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.download-option-c {
  padding: 26px;
  text-align: center;
}

.download-option-c .download-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.download-option-c .detail-icon {
  width: 104px;
  height: 104px;
}

.download-title-block {
  min-width: 0;
}

.download-option-c .eyebrow {
  justify-content: center;
}

.download-inline-stats {
  justify-content: center;
}

.download-action-card {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.download-option-c .download-action-card {
  width: min(720px, 100%);
  margin: 22px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: block;
}

.store-action {
  min-height: 58px;
  width: 100%;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 850;
}

.google-play-action {
  border: 1px solid #cfe4d8;
  background: #f5fff9;
  color: var(--ink);
}

.download-option-c .google-play-action {
  min-height: 72px;
  border-color: #bfe7cf;
  background: #f4fff8;
  box-shadow: 0 10px 24px rgba(22, 160, 133, 0.08);
  font-size: 1.14rem;
}

.google-play-action strong,
.google-play-action small {
  display: block;
  line-height: 1.18;
}

.google-play-action small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.google-play-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.download-option-c .google-play-icon {
  width: 34px;
  height: 34px;
}

.download-info-cards {
  min-width: 0;
  width: min(720px, 100%);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  text-align: left;
}

.static-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px;
  color: #344054;
  line-height: 1.75;
}

.static-page h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.static-page h2 {
  margin: 28px 0 8px;
  font-size: 1.2rem;
}

.static-page p,
.static-page ul {
  margin: 12px 0 0;
}

.static-page a {
  color: var(--brand);
  font-weight: 750;
}

.empty-state {
  max-width: 620px;
  margin: 60px auto;
  padding: 32px;
  text-align: center;
}

.empty-state h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: 0;
}

.empty-state p {
  margin: 12px 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  margin-top: clamp(24px, 2.4vw, 44px);
  padding: 0 clamp(10px, 1.35vw, 28px) clamp(10px, 1.35vw, 28px);
  background: transparent;
}

.footer-inner {
  position: relative;
  width: min(1460px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 2vw, 38px);
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.footer-inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: #12b6a8;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  align-items: flex-start;
  gap: clamp(28px, 4vw, 86px);
}

.footer-brand {
  max-width: 720px;
}

.footer-brand p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 0.9vw, 1.08rem);
  line-height: 1.65;
}

.footer-logo {
  gap: 12px;
  font-size: clamp(1.18rem, 1.2vw, 1.48rem);
  font-weight: 950;
}

.footer-logo .brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.14), 0 10px 22px rgba(15, 23, 42, 0.12);
}

.footer-note {
  font-size: clamp(0.84rem, 0.82vw, 0.96rem);
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(136px, 1fr));
  gap: clamp(22px, 2vw, 42px);
  justify-content: end;
}

.footer-link-grid h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0;
  font-weight: 950;
}

.footer-link-grid a {
  width: fit-content;
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: clamp(0.9rem, 0.88vw, 1.02rem);
  font-weight: 800;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-link-grid a:hover {
  color: #12a79b;
  transform: translateX(2px);
}

.footer-bottom {
  margin-top: clamp(24px, 2vw, 38px);
  padding-top: clamp(16px, 1.4vw, 24px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: clamp(0.82rem, 0.8vw, 0.94rem);
  line-height: 1.5;
}

.gam-ad-wrapper {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 20px auto;
  overflow: hidden;
  text-align: center;
}

.gam-ad-wrapper[hidden] {
  display: none !important;
}

.gam-ad-wrapper[data-ad-empty="true"] .gam-native-slot {
  background: transparent;
}

.gam-ad-label {
  margin: 0 0 5px;
  color: #777777;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.gam-native-slot {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.gam-native-slot--01 {
  min-height: 280px;
}

.gam-native-slot--02,
.gam-native-slot--03 {
  min-height: 480px;
}

.home-bottom-ad,
.listing-bottom-ad {
  min-height: 220px;
}

.listing-grid-bottom-ad {
  width: min(1200px, 100%);
  margin: 18px auto 0;
}

.detail-ad-top,
.download-ad-top {
  margin-top: 0;
  margin-bottom: 12px;
}

.detail-ad-top,
.download-ad-top {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.detail-action-native {
  width: min(720px, 100%);
  margin: 16px auto 0;
}

.detail-action-native .gam-native-slot {
  width: 100%;
  max-width: 100%;
}

.download-action-native {
  width: 100%;
  margin: 0 auto 16px;
}

.download-action-native .gam-native-slot {
  width: 100%;
  max-width: 100%;
}

.infinite-sentinel {
  width: 100%;
  height: 1px;
}

.loading-shell {
  position: relative;
}

.skeleton-block,
.skeleton-line,
.skeleton-button,
.skeleton-pill,
.skeleton-card {
  background: linear-gradient(90deg, #eef3f8 0%, #f9fbfd 45%, #eef3f8 100%);
  background-size: 220% 100%;
  animation: skeleton-pulse 1.25s ease-in-out infinite;
}

.skeleton-icon {
  display: block;
}

.skeleton-title {
  width: min(460px, 78%);
  height: 34px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.skeleton-line {
  display: block;
  width: 68%;
  height: 13px;
  border-radius: 999px;
  font-size: 0;
  color: transparent;
}

.skeleton-line.wide {
  width: 92%;
}

.skeleton-line.medium {
  width: 52%;
}

.skeleton-stats {
  min-height: 24px;
}

.skeleton-pill {
  width: 62px;
  min-height: 24px;
  padding: 0;
}

.loading-info-row strong.skeleton-line {
  width: 72%;
  height: 14px;
}

.skeleton-button {
  width: 100%;
  height: 52px;
  border-radius: 8px;
}

.loading-description .skeleton-line + .skeleton-line {
  margin-top: 12px;
}

.skeleton-card {
  min-height: 196px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.loading-tile {
  pointer-events: none;
}

.loading-tile .skeleton-block {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

@keyframes skeleton-pulse {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .arcade-header,
  .arcade-layout,
  .home-portal,
  .home-feature-board,
  .home-category-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .arcade-header {
    align-items: start;
  }

  .arcade-metrics {
    width: 100%;
  }

  .arcade-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 116px;
  }

  .arcade-top-panel {
    padding: 12px;
  }

  .top-rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-portal {
    gap: 18px;
  }

  .footer-main {
    gap: 26px;
  }

  .footer-link-grid {
    justify-content: start;
  }

  .home-disclosure {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    min-height: 250px;
  }

  .detail-hero {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .download-hero {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .detail-actions {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-title {
    min-height: 132px;
  }

  .detail-info-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-icon {
    width: 132px;
    height: 132px;
  }

}

@media (max-width: 700px) {
  .page-shell {
    padding: 18px 12px 44px;
  }

  .home-arcade {
    padding-top: 0;
  }

  .arcade-title-block h1 {
    font-size: clamp(2.45rem, 18vw, 3.7rem);
  }

  .arcade-title-block p {
    font-size: 0.95rem;
  }

  .arcade-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .arcade-metrics span {
    min-height: 62px;
    padding: 10px 8px;
  }

  .arcade-metrics strong {
    font-size: 0.95rem;
  }

  .arcade-metrics small {
    font-size: 0.66rem;
  }

  .arcade-filter-row {
    padding-bottom: 10px;
  }

  .filter-chip {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .arcade-layout {
    gap: 12px;
  }

  .arcade-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: calc((100vw - 48px) / 3);
    gap: 8px;
  }

  .arcade-tile {
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.12);
  }

  .tile-rank,
  .tile-play {
    top: 7px;
    min-height: 24px;
    font-size: 0.68rem;
  }

  .tile-rank {
    left: 7px;
    min-width: 34px;
    padding: 0 8px;
  }

  .tile-play {
    right: 7px;
    min-width: 42px;
    padding: 0 8px;
  }

  .tile-content {
    padding: 8px;
  }

  .tile-content strong,
  .arcade-tile-hero .tile-content strong,
  .arcade-tile-large .tile-content strong {
    font-size: 0.82rem;
  }

  .tile-content small {
    display: none;
  }

  .top-rank-list {
    grid-template-columns: 1fr;
  }

  .top-rank-item {
    grid-template-columns: 28px 44px minmax(0, 1fr) auto;
    min-height: 58px;
  }

  .top-rank-item img,
  .top-rank-item .skeleton-block {
    width: 44px;
    height: 44px;
  }

  .rank-action {
    min-height: 28px;
    padding: 0 8px;
  }

  .home-copy h1 {
    font-size: clamp(2.2rem, 16vw, 3.4rem);
  }

  .feature-stack,
  .compact-game-list {
    grid-template-columns: 1fr;
  }

  .category-panel-head,
  .section-head,
  .page-title,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .game-card {
    min-height: 194px;
  }

  .game-card h3 {
    font-size: 0.9rem;
  }

  body.listing-grid-mode .page-shell {
    padding: 8px 8px 18px;
  }

  .visual-browser {
    grid-template-columns: 1fr;
  }

  .visual-dock {
    position: sticky;
    top: 0;
    min-height: 0;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
  }

  .visual-dock .brand-mark {
    width: 40px;
    height: 40px;
  }

  .dock-search {
    min-width: 118px;
  }

  .dock-link {
    min-width: 64px;
    padding: 0 10px;
  }

  .visual-grid {
    grid-template-columns: repeat(var(--listing-cols), minmax(0, 1fr));
    grid-auto-rows: var(--listing-cell);
    gap: 8px;
  }

  .detail-summary,
  .download-panel,
  .section,
  .static-page,
  .page-title {
    padding: 14px;
  }

  .detail-hero,
  .download-hero {
    --detail-mobile-icon: clamp(168px, 39vw, 190px);
    grid-template-columns: var(--detail-mobile-icon) minmax(0, 1fr);
    gap: 14px;
  }

  .detail-icon {
    width: var(--detail-mobile-icon);
    height: var(--detail-mobile-icon);
  }

  .detail-title {
    min-height: var(--detail-mobile-icon);
  }

  .detail-title h1,
  .download-panel h1 {
    font-size: clamp(1.75rem, 8.4vw, 2.55rem);
  }

  .detail-category-line {
    margin-top: 6px;
    gap: 6px;
    font-size: clamp(0.8rem, 3.2vw, 0.96rem);
  }

  .detail-category-line span + span::before {
    margin-right: 6px;
  }

  .detail-inline-stats {
    margin-top: 14px;
    gap: clamp(10px, 3vw, 18px);
    font-size: clamp(0.78rem, 3vw, 0.96rem);
  }

  .detail-actions {
    width: 100%;
    margin-top: auto;
    padding-top: 16px;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }

  .download-cta {
    width: 100%;
    max-width: none;
    min-height: 58px;
    font-size: clamp(0.84rem, 3.2vw, 1rem);
  }

  .detail-info-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .detail-fact-card {
    min-height: 58px;
    padding: 9px 10px;
  }

  .detail-fact-card small {
    font-size: 0.66rem;
  }

  .detail-fact-card strong {
    font-size: 0.78rem;
  }

  .detail-similar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .detail-similar-grid .game-card {
    border-radius: 7px;
  }

  .detail-similar-grid .game-card-body {
    padding: 7px;
  }

  .detail-similar-grid .game-card h3 {
    min-height: 2.35em;
    margin-bottom: 4px;
    font-size: 0.74rem;
    line-height: 1.18;
  }

  .detail-similar-grid .meta {
    font-size: 0.64rem;
    line-height: 1.15;
  }

  .detail-similar-grid .meta span:nth-child(2) {
    display: none;
  }

  .download-action-card {
    grid-template-columns: 1fr;
  }

  .download-option-c {
    padding: 16px;
  }

  .download-option-c .detail-icon {
    width: 84px;
    height: 84px;
  }

  .download-option-c .google-play-action {
    min-height: 62px;
    font-size: 0.96rem;
  }

  .download-option-c .google-play-icon {
    width: 28px;
    height: 28px;
  }

  .download-info-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .info-row {
    grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1fr);
    gap: 8px;
    min-height: 48px;
    padding: 10px 12px;
  }

  .info-row span,
  .info-row strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .info-row span {
    font-size: 0.76rem;
  }

  .info-row strong {
    font-size: 0.88rem;
  }

  .screenshot-row {
    grid-auto-columns: minmax(150px, 64vw);
    padding: 2px 38px 10px;
  }

  .footer-link-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-inner {
    padding: 22px 18px;
  }
}

@media (max-width: 640px) {
  body.home-showcase .page-shell {
    padding: 6px 6px 0;
  }

  .site-footer {
    padding: 0 6px 6px;
  }

  .footer-logo {
    font-size: 1.16rem;
  }

  .footer-logo .brand-mark {
    width: 40px;
    height: 40px;
  }

  .footer-brand p {
    font-size: 0.88rem;
  }

  .footer-bottom {
    margin-top: 20px;
    padding-top: 16px;
  }

  .home-app-card {
    padding: 18px;
  }

  .home-card-nav {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .home-wordmark {
    font-size: 1.45rem;
  }

  .home-search {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 42px;
  }

  .home-action-icons {
    gap: 9px;
  }

  .home-chip-row {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 8px;
    margin-top: 18px;
    padding: 0 2px 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .home-chip,
  .home-filter {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    min-height: 34px;
    padding: 0 15px;
    font-size: 0.78rem;
  }

  .home-filter {
    margin-left: 0;
  }

  .home-mosaic {
    grid-template-columns: repeat(var(--mosaic-cols), minmax(0, 1fr));
    grid-auto-rows: var(--mosaic-cell);
    grid-auto-flow: dense;
    gap: 9px;
  }

  .mosaic-hero {
    grid-column: 1 / 5;
    grid-row: 1 / 4;
  }

  .mosaic-speed {
    grid-column: 1 / 5;
    grid-row: 4 / 5;
  }

  .mosaic-sky {
    grid-column: 1 / 3;
    grid-row: 5 / 6;
  }

  .mosaic-monster {
    grid-column: 3 / 5;
    grid-row: 5 / 7;
  }

  .mosaic-block {
    grid-column: 1 / 3;
    grid-row: 6 / 7;
  }

  .mosaic-fruit {
    grid-column: 1 / 5;
    grid-row: 7 / 8;
  }

  .mosaic-stunts {
    grid-column: 1 / 3;
    grid-row: 8 / 9;
  }

  .mosaic-promo {
    grid-column: 3 / 5;
    grid-row: 8 / 9;
  }

  .mosaic-content,
  .promo-copy {
    padding: 12px;
  }

  .mosaic-content strong,
  .mosaic-monster .mosaic-content strong,
  .mosaic-speed .mosaic-content strong,
  .mosaic-sky .mosaic-content strong,
  .mosaic-block .mosaic-content strong,
  .mosaic-fruit .mosaic-content strong,
  .mosaic-stunts .mosaic-content strong {
    font-size: 0.94rem;
  }

  .mosaic-hero .mosaic-content strong {
    font-size: 1.22rem;
  }

  .mosaic-content small {
    font-size: 0.7rem;
  }

  .mosaic-play,
  .promo-copy em {
    min-width: 54px;
    min-height: 28px;
    margin-top: 8px;
    padding: 0 11px;
    font-size: 0.72rem;
  }

  .top-pick-label {
    top: 10px;
    left: 10px;
  }

  .mosaic-rank {
    top: 9px;
    right: 9px;
    min-width: 25px;
    height: 28px;
    font-size: 0.78rem;
  }

  .home-top-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: unset;
    justify-content: stretch;
    overflow: visible;
    padding: 0;
    gap: 10px;
  }

  .home-top-card:nth-child(n + 10) {
    display: none;
  }

  .home-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .detail-summary,
  .download-panel {
    padding: 12px;
  }

  .detail-hero,
  .download-hero {
    --detail-mobile-icon: clamp(156px, 42vw, 168px);
    gap: 12px;
  }

  .detail-title h1,
  .download-panel h1 {
    font-size: clamp(1.85rem, 7.4vw, 2.2rem);
  }

  .detail-inline-stats {
    flex-wrap: nowrap;
    gap: 6px;
    font-size: clamp(0.72rem, 3vw, 0.82rem);
    white-space: nowrap;
  }

  .detail-inline-stats span {
    white-space: nowrap;
  }

  .download-cta {
    width: 100%;
    min-height: 58px;
  }

  .home-app-card {
    padding: 14px;
  }

  .home-mosaic {
    grid-template-columns: repeat(var(--mosaic-cols), minmax(0, 1fr));
    grid-auto-rows: var(--mosaic-cell);
  }

  .home-top-row {
    gap: 10px;
  }

  .home-benefit {
    min-height: 64px;
    padding: 12px;
  }
}

/* TapPlay performance stability */
.visual-tile img,
.home-mosaic-tile img,
.detail-icon,
.screenshot-row img {
  backface-visibility: hidden;
}

.gam-ad-wrapper {
  contain: layout paint;
}

.detail-ad-top,
.download-ad-top {
  min-height: 292px;
}

.listing-grid-bottom-ad,
.listing-bottom-ad,
.home-bottom-ad {
  min-height: 230px;
}

@media (hover: none) {
  .visual-tile:hover,
  .home-mosaic-tile:hover {
    transform: none;
  }

  .visual-tile:hover img,
  .home-mosaic-tile:hover img {
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-block,
  .skeleton-line,
  .skeleton-button,
  .skeleton-pill,
  .skeleton-card {
    animation: none;
  }
}
