@font-face {
  font-family: Rajdhani;
  font-display: swap;
  font-style: normal;
  font-weight: 500;
  src: url("/assets/fonts/rajdhani-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: Rajdhani;
  font-display: swap;
  font-style: normal;
  font-weight: 600;
  src: url("/assets/fonts/rajdhani-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: Rajdhani;
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url("/assets/fonts/rajdhani-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: Saira;
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  src: url("/assets/fonts/saira-latin-var.woff2") format("woff2");
}

:root {
  --play-panel: rgba(255, 255, 255, 0.88);
  --play-text: #102033;
  --play-muted: #5d6b7c;
  --play-line: rgba(15, 23, 42, 0.14);
  --play-cyan: #2563eb;
  --play-green: #60a5fa;
  --play-teal: #60a5fa;
  --play-gold: #ffaf14;
  --play-radius: 8px;
  --play-shadow: 0 20px 50px rgba(31, 41, 55, 0.12);
  --play-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body.online-game-detail,
body.online-game-launch {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--play-text);
  font-family: Saira, Arial, Helvetica, sans-serif;
  background:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #f8fbff 0%, #eef7ff 45%, #fef8ee 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.play-detail-shell,
.play-launch-shell {
  width: min(var(--play-max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.play-hero-card,
.play-info-card,
.play-section,
.play-sidebar,
.play-launch-card,
.play-frame-card {
  border: 1px solid var(--play-line);
  border-radius: var(--play-radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(96, 165, 250, 0.04)),
    var(--play-panel);
  box-shadow: var(--play-shadow);
}

.play-hero-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  min-height: 360px;
  padding: 18px;
  overflow: hidden;
}

.play-hero-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: var(--play-radius);
  background:
    radial-gradient(circle at 20% 18%, rgba(96, 165, 250, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(96, 165, 250, 0.12)),
    #eef4fb;
}

.play-game-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
  filter: saturate(1.12) contrast(1.03);
}

.play-game-logo {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--play-radius);
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.play-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 22%, rgba(16, 32, 51, 0.18) 55%, rgba(16, 32, 51, 0.66) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45), transparent 44%);
  pointer-events: none;
}

.play-category-chip {
  position: absolute;
  right: 14px;
  bottom: 18px;
  z-index: 2;
  max-width: calc(100% - 160px);
  padding: 7px 12px;
  overflow: hidden;
  color: #1e40af;
  font-family: Rajdhani, Saira, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(96, 165, 250, 0.42);
  border-radius: 999px;
  background: rgba(248,251,255, 0.9);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.16);
}

.play-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8px, 2vw, 26px);
}

.play-eyebrow,
.play-info-card span,
.play-sidebar-heading span {
  color: #64748b;
  font-family: Rajdhani, Saira, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.play-hero-copy h1,
.play-section h2,
.play-sidebar-heading h2,
.play-launch-copy h1,
.play-frame-card h1 {
  margin: 0;
  color: var(--play-text);
  font-family: Rajdhani, Saira, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.play-hero-copy h1 {
  margin-top: 4px;
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 0.88;
}

.play-short-desc {
  display: -webkit-box;
  max-width: 720px;
  margin: 12px 0 0;
  overflow: hidden;
  color: #475569;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.play-rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 16px 0 0;
  color: #64748b;
  font-family: Rajdhani, Saira, sans-serif;
  font-weight: 700;
}

.play-stars {
  color: var(--play-gold);
  letter-spacing: 1px;
  text-shadow: 0 5px 18px rgba(255, 175, 20, 0.24);
}

.play-rating-row strong {
  color: var(--play-text);
  font-size: 1.14rem;
}

.online-play-btn,
.launch-play-btn {
  position: relative;
  display: inline-flex;
  width: min(100%, 420px);
  min-height: 74px;
  margin-top: 22px;
  padding: 10px 14px 10px 28px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--play-radius);
  background: linear-gradient(135deg, #2563eb 0%, #2563eb 48%, #60a5fa 100%);
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.24),
    0 12px 0 rgba(37,99,235, 0.18);
  transform: translateZ(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  cursor: pointer;
  font: inherit;
}

.online-play-btn::before,
.launch-play-btn::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: calc(var(--play-radius) - 1px);
  pointer-events: none;
}

.online-play-btn::after,
.launch-play-btn::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -30%;
  width: 25%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-18deg);
  animation: playSweep 2.25s ease-in-out infinite;
}

.online-play-btn:hover,
.launch-play-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 48px rgba(37, 99, 235, 0.3),
    0 12px 0 rgba(37,99,235, 0.18);
}

.online-play-btn__label,
.launch-play-btn__label {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  text-align: left;
}

.online-play-btn__label span,
.launch-play-btn__label span {
  font-family: Rajdhani, Saira, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.9;
}

.online-play-btn__label strong,
.launch-play-btn__label strong {
  font-family: Rajdhani, Saira, sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 0.9;
}

.online-play-btn__icon,
.launch-play-btn__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.56);
  border-radius: var(--play-radius);
  background: rgba(37, 99, 235, 0.22);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.16);
  animation: playIconPulse 1.8s ease-in-out infinite;
}

.online-play-btn__icon svg,
.launch-play-btn__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.play-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.play-info-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  min-height: 102px;
  padding: 14px;
}

.play-info-icon {
  display: grid;
  grid-row: span 2;
  width: 62px;
  height: 62px;
  place-items: center;
  color: #ffffff;
  border-radius: var(--play-radius);
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

.play-info-icon--rating {
  background: linear-gradient(135deg, #f59e0b, #60a5fa);
}

.play-info-icon--device {
  background: linear-gradient(135deg, #64748b, #2563eb);
}

.play-info-icon--type {
  background: linear-gradient(135deg, #60a5fa, #60a5fa);
}

.play-info-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.play-info-card strong {
  min-width: 0;
  overflow: hidden;
  color: var(--play-text);
  font-family: Rajdhani, Saira, sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.58rem);
  font-weight: 700;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}

.play-content-stack {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.play-section,
.play-sidebar {
  padding: clamp(18px, 3vw, 28px);
}

.play-section[hidden] {
  display: none;
}

.play-section h2,
.play-sidebar-heading h2,
.play-frame-card h1 {
  padding-bottom: 12px;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 0.95;
  border-bottom: 1px solid var(--play-line);
}

.play-section h2::after,
.play-sidebar-heading h2::after,
.play-frame-card h1::after {
  content: "";
  display: block;
  width: 92px;
  height: 5px;
  margin-top: 11px;
  background: linear-gradient(90deg, var(--play-cyan), var(--play-green));
}

.play-section p,
.play-section li,
.play-faq-item p {
  color: #475569;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.72;
}

.play-section ul {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.play-section li {
  position: relative;
  padding-left: 22px;
}

.play-section li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--play-cyan), var(--play-green));
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.play-faq-list {
  display: grid;
  gap: 10px;
}

.play-faq-item {
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--play-radius);
  background: rgba(255, 255, 255, 0.54);
}

.play-faq-item h3 {
  margin: 0 0 6px;
  color: var(--play-text);
  font-family: Rajdhani, Saira, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.play-faq-item p {
  margin: 0;
}

.play-sidebar {
  position: sticky;
  top: 14px;
}

.play-sidebar-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--play-line);
}

.play-sidebar-heading h2 {
  flex: 1;
  padding-bottom: 0;
  border-bottom: 0;
}

.play-sidebar-heading h2::after {
  width: 72px;
}

.play-sidebar-heading span {
  padding: 7px 11px;
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.26);
  border-radius: 999px;
  background: rgba(248,251,255, 0.78);
}

.play-similar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.play-similar-card {
  position: relative;
  display: grid;
  min-height: 142px;
  overflow: hidden;
  align-content: end;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--play-radius);
  background: #eef4fb;
}

.play-similar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 32%, rgba(0, 0, 0, 0.86));
}

.play-similar-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.play-similar-card:hover img {
  transform: scale(1.08);
}

.play-similar-title,
.play-similar-category {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  font-family: Rajdhani, Saira, sans-serif;
  font-weight: 700;
  line-height: 0.95;
  text-overflow: ellipsis;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}

.play-similar-title {
  padding: 0 9px 2px;
  color: #ffffff;
  font-size: 0.9rem;
}

.play-similar-category {
  padding: 0 9px 9px;
  color: #dbeafe;
  font-size: 0.68rem;
}

.site-footer {
  width: min(var(--play-max), calc(100% - 32px));
  max-width: var(--play-max);
  margin: 14px auto 0;
}

/* ===== PLAY LAUNCH PAGE ===== */
.play-launch-shell {
  display: grid;
  gap: 14px;
}

.play-launch-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 360px;
  padding: clamp(18px, 4vw, 34px);
  overflow: hidden;
}

.play-launch-art {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: var(--play-radius);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(96, 165, 250, 0.12)),
    #eef4fb;
}

.play-launch-art img {
  position: relative;
  z-index: 1;
  width: 156px;
  height: 156px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--play-radius);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.play-launch-art::before {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: var(--play-radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(96, 165, 250, 0.16));
  transform: rotate(8deg);
}

.play-launch-copy {
  min-width: 0;
}

.play-launch-copy h1 {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 0.86;
}

.play-launch-copy p {
  max-width: 760px;
  color: #475569;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.play-frame-card {
  display: none;
  padding: 14px;
}

.play-frame-card.is-active {
  display: block;
}

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

.play-frame-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.play-frame-actions button,
.play-frame-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  color: #ffffff;
  font-family: Rajdhani, Saira, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: var(--play-radius);
  background: linear-gradient(135deg, var(--play-cyan), var(--play-green));
  cursor: pointer;
}

.play-frame-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: var(--play-radius);
  background: #0f172a;
  aspect-ratio: 16 / 9;
}

.play-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0f172a;
}

@keyframes playSweep {
  0%,
  48% {
    left: -34%;
  }
  100% {
    left: 116%;
  }
}

@keyframes playIconPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.16);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.26);
  }
}

@media (prefers-reduced-motion: reduce) {
  .online-play-btn::after,
  .launch-play-btn::after,
  .online-play-btn__icon,
  .launch-play-btn__icon {
    animation: none;
  }
}

@media (max-width: 980px) {
  .play-hero-card,
  .play-launch-card {
    grid-template-columns: 1fr;
  }

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

  .play-content-layout {
    grid-template-columns: 1fr;
  }

  .play-sidebar {
    position: static;
  }

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

@media (max-width: 620px) {
  .play-detail-shell,
  .play-launch-shell,
  .site-footer {
    width: min(100% - 16px, var(--play-max));
  }

  .play-detail-shell,
  .play-launch-shell {
    padding-top: 8px;
  }

  .play-hero-card,
  .play-launch-card {
    gap: 14px;
    padding: 8px;
  }

  .play-hero-media {
    min-height: 250px;
  }

  .play-game-logo {
    width: 96px;
    height: 96px;
    left: 12px;
    bottom: 12px;
  }

  .play-category-chip {
    right: 10px;
    bottom: 12px;
    max-width: calc(100% - 126px);
  }

  .play-hero-copy {
    padding: 8px 4px 10px;
  }

  .play-short-desc {
    -webkit-line-clamp: 2;
  }

  .online-play-btn,
  .launch-play-btn {
    width: 100%;
    min-height: 66px;
    margin-top: 16px;
    padding-left: 20px;
  }

  .online-play-btn__icon,
  .launch-play-btn__icon {
    width: 54px;
    height: 54px;
  }

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

  .play-info-card {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 88px;
    gap: 2px 9px;
    padding: 10px;
  }

  .play-info-icon {
    width: 48px;
    height: 48px;
  }

  .play-info-icon svg {
    width: 25px;
    height: 25px;
  }

  .play-info-card strong {
    font-size: 1.06rem;
  }

  .play-content-layout,
  .play-content-stack {
    gap: 8px;
    margin-top: 8px;
  }

  .play-section,
  .play-sidebar,
  .play-frame-card {
    padding: 14px;
  }

  .play-section h2,
  .play-sidebar-heading h2,
  .play-frame-card h1 {
    font-size: 1.8rem;
  }

  .play-similar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .play-launch-art {
    min-height: 220px;
  }

  .play-frame-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .play-frame-wrap {
    aspect-ratio: 9 / 14;
  }
}

/* ===== TOPGAMES-MATCHED PLAY LAUNCH PAGE ===== */
body.online-game-launch .play-download-shell {
  width: min(1060px, calc(100% - 28px));
  margin: 0 auto;
  padding: 12px 0 28px;
}

body.online-game-launch .play-download-section,
body.online-game-launch .play-more-section {
  border: 1px solid var(--play-line);
  border-radius: var(--play-radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(96, 165, 250, 0.04)),
    var(--play-panel);
  box-shadow: var(--play-shadow);
}

body.online-game-launch .play-download-section {
  padding: clamp(18px, 4vw, 34px);
}

body.online-game-launch .play-download-section h5,
body.online-game-launch .play-more-heading h5 {
  margin: 0;
  padding-bottom: 14px;
  color: var(--play-text);
  font-family: Rajdhani, Saira, sans-serif;
  font-size: clamp(2.25rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
  border-bottom: 1px solid var(--play-line);
}

body.online-game-launch .play-download-section h5::after,
body.online-game-launch .play-more-heading h5::after {
  content: "";
  display: block;
  width: 94px;
  height: 5px;
  margin-top: 11px;
  background: linear-gradient(90deg, var(--play-cyan), var(--play-green));
}

.play-download-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
}

.play-download-logo {
  width: 118px;
  height: 118px;
  flex: 0 0 auto;
  border: 1px solid var(--play-line);
  border-radius: var(--play-radius);
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.16);
}

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

.play-download-title h1 {
  margin: 0;
  color: var(--play-text);
  font-family: Rajdhani, Saira, sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.play-download-title span {
  display: inline-block;
  margin-top: 5px;
  color: #64748b;
  font-family: Rajdhani, Saira, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.play-download-title p {
  display: -webkit-box;
  max-width: 820px;
  margin: 8px 0 0;
  overflow: hidden;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.play-download-btns {
  margin-top: 22px;
}

body.online-game-launch .play-download-btns .launch-play-btn {
  width: 100%;
  max-width: none;
  min-height: 116px;
  margin: 0;
  padding: 14px 24px;
  gap: 24px;
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(135deg, #2563eb 0%, #2563eb 48%, #60a5fa 100%);
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.24),
    0 9px 0 rgba(37,99,235, 0.18);
}

body.online-game-launch .play-download-btns .launch-play-btn__label {
  display: grid;
  gap: 2px;
  text-align: center;
}

body.online-game-launch .play-download-btns .launch-play-btn__label span {
  font-size: 1.02rem;
}

body.online-game-launch .play-download-btns .launch-play-btn__label strong {
  font-size: clamp(3rem, 8vw, 5rem);
}

body.online-game-launch .play-download-btns .launch-play-btn__icon {
  width: 72px;
  height: 72px;
}

.play-store-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.play-store-info-card {
  display: grid;
  min-width: 0;
  min-height: 112px;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 3px 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--play-line);
  border-radius: var(--play-radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(96, 165, 250, 0.03)),
    rgba(255, 255, 255, 0.58);
}

.play-store-info-icon {
  display: grid;
  grid-row: span 2;
  width: 72px;
  height: 72px;
  place-items: center;
  color: #ffffff;
  border-radius: var(--play-radius);
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

.play-store-info-icon--score {
  background: linear-gradient(135deg, #f59e0b, #60a5fa);
}

.play-store-info-icon--device {
  background: linear-gradient(135deg, #64748b, #2563eb);
}

.play-store-info-icon--access {
  background: linear-gradient(135deg, #60a5fa, #60a5fa);
}

.play-store-info-icon--controls {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.play-store-info-icon--type {
  background: linear-gradient(135deg, #475569, #60a5fa);
}

.play-store-info-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.play-store-info-card > span:not(.play-store-info-icon) {
  color: #64748b;
  font-family: Rajdhani, Saira, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.play-store-info-card strong {
  min-width: 0;
  color: var(--play-text);
  font-family: Rajdhani, Saira, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  line-height: 1.05;
}

.play-download-context {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--play-radius);
  background: rgba(255, 255, 255, 0.48);
}

.play-download-context h2 {
  margin: 0 0 10px;
  color: var(--play-text);
  font-family: Rajdhani, Saira, sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
}

.play-download-context p,
.play-download-context li {
  color: #475569;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.68;
}

.play-download-context ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.play-download-context li {
  position: relative;
  padding-left: 22px;
}

.play-download-context li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--play-cyan), var(--play-green));
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

body.online-game-launch .play-frame-card {
  margin-top: 10px;
}

body.online-game-launch .play-more-section {
  margin-top: 10px;
  padding: clamp(18px, 4vw, 28px);
}

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

.play-more-heading h5 {
  flex: 1;
}

.play-more-heading span {
  flex: 0 0 auto;
  padding: 7px 11px;
  color: #2563eb;
  font-family: Rajdhani, Saira, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(37, 99, 235, 0.26);
  border-radius: 999px;
  background: rgba(248,251,255, 0.78);
}

.play-more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.play-more-card {
  position: relative;
  display: grid;
  min-height: 160px;
  overflow: hidden;
  align-content: end;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--play-radius);
  background: #eef4fb;
}

.play-more-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 32%, rgba(0, 0, 0, 0.86));
}

.play-more-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.play-more-card:hover img {
  transform: scale(1.08);
}

.play-more-title,
.play-more-category {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  font-family: Rajdhani, Saira, sans-serif;
  font-weight: 700;
  line-height: 0.95;
  text-overflow: ellipsis;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}

.play-more-title {
  padding: 0 9px 2px;
  color: #ffffff;
  font-size: 0.95rem;
}

.play-more-category {
  padding: 0 9px 9px;
  color: #dbeafe;
  font-size: 0.72rem;
}

@media (max-width: 760px) {
  body.online-game-launch .play-download-shell {
    width: min(100% - 12px, 1060px);
    padding-top: 6px;
  }

  body.online-game-launch .play-download-section,
  body.online-game-launch .play-more-section {
    padding: 12px;
  }

  .play-download-head {
    gap: 10px;
    align-items: flex-start;
    margin-top: 16px;
  }

  .play-download-logo {
    width: 92px;
    height: 92px;
  }

  .play-download-title h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .play-download-title p {
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
  }

  body.online-game-launch .play-download-btns .launch-play-btn {
    min-height: 74px;
    padding: 10px 14px;
  }

  body.online-game-launch .play-download-btns .launch-play-btn__label strong {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  body.online-game-launch .play-download-btns .launch-play-btn__icon {
    width: 52px;
    height: 52px;
  }

  .play-store-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
  }

  .play-store-info-card {
    min-height: 102px;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 2px 8px;
    padding: 9px;
  }

  .play-store-info-icon {
    width: 50px;
    height: 50px;
  }

  .play-store-info-icon svg {
    width: 25px;
    height: 25px;
  }

  .play-store-info-card strong {
    font-size: 0.98rem;
  }

  .play-download-context {
    margin-top: 10px;
    padding: 12px;
  }

  .play-more-heading {
    align-items: flex-start;
  }

  .play-more-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-top: 10px;
  }

  .play-more-card {
    min-height: calc((100vw - 32px) / 3);
  }

  .play-more-title {
    padding: 0 7px 1px;
    font-size: 0.78rem;
  }

  .play-more-category {
    padding: 0 7px 7px;
    font-size: 0.62rem;
  }
}

/* ===== TOPGAMES-MATCHED ONLINE DETAIL ===== */
body.online-game-detail .play-detail-shell {
  width: min(1060px, calc(100% - 28px));
  padding-top: 12px;
}

body.online-game-detail .play-summary-card {
  display: block;
  min-height: 0;
  padding: 18px;
}

body.online-game-detail .play-app-header {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

body.online-game-detail .play-summary-card .play-game-logo {
  position: static;
  width: 118px;
  height: 118px;
  flex: 0 0 auto;
  border: 1px solid var(--play-line);
  border-radius: var(--play-radius);
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.16);
}

body.online-game-detail .play-summary-card .play-hero-copy {
  display: block;
  min-width: 0;
  padding: 0;
}

body.online-game-detail .play-summary-card .play-hero-copy h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(2.25rem, 7vw, 4.3rem);
  line-height: 0.9;
}

body.online-game-detail .play-summary-card .play-category-chip {
  position: static;
  display: inline-block;
  max-width: 100%;
  margin-top: 4px;
  padding: 0;
  color: #64748b;
  text-transform: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.online-game-detail .play-summary-card .play-short-desc {
  max-width: 720px;
  margin-top: 7px;
  font-size: 0.88rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

body.online-game-detail .play-summary-card .play-rating-row {
  margin-top: 8px;
}

body.online-game-detail .play-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

body.online-game-detail .play-info-card {
  min-height: 112px;
  padding: 14px;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 3px 14px;
}

body.online-game-detail .play-info-icon {
  width: 72px;
  height: 72px;
}

body.online-game-detail .play-info-card strong {
  white-space: normal;
}

.play-info-icon--controls {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.play-info-icon--html5 {
  background: linear-gradient(135deg, #475569, #60a5fa);
}

body.online-game-detail .play-cta-card {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--play-line);
  border-radius: var(--play-radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(96, 165, 250, 0.04)),
    var(--play-panel);
  box-shadow: var(--play-shadow);
}

body.online-game-detail .play-cta-card .online-play-btn {
  width: 100%;
  max-width: none;
  min-height: 82px;
  margin: 0;
  padding: 12px 22px;
  gap: 18px;
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 46%, #60a5fa 100%);
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.24),
    0 9px 0 rgba(37,99,235, 0.18);
}

body.online-game-detail .play-cta-card .online-play-btn__label {
  display: block;
  text-align: center;
}

body.online-game-detail .play-cta-card .online-play-btn__label strong {
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 0.92;
}

body.online-game-detail .play-cta-card .online-play-btn__icon {
  width: 58px;
  height: 58px;
}

body.online-game-detail .play-content-layout {
  margin-top: 10px;
}

@media (max-width: 620px) {
  body.online-game-detail .play-detail-shell {
    width: min(100% - 12px, 1060px);
    padding-top: 6px;
  }

  body.online-game-detail .play-summary-card {
    padding: 12px;
  }

  body.online-game-detail .play-app-header {
    gap: 10px;
    align-items: flex-start;
  }

  body.online-game-detail .play-summary-card .play-game-logo {
    width: 92px;
    height: 92px;
  }

  body.online-game-detail .play-summary-card .play-hero-copy h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  body.online-game-detail .play-summary-card .play-short-desc {
    margin-top: 5px;
    font-size: 0.8rem;
  }

  body.online-game-detail .play-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 7px;
  }

  body.online-game-detail .play-info-card {
    min-height: 102px;
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 9px;
    gap: 2px 8px;
  }

  body.online-game-detail .play-info-icon {
    width: 50px;
    height: 50px;
  }

  body.online-game-detail .play-info-card strong {
    font-size: 0.98rem;
  }

  body.online-game-detail .play-cta-card {
    margin-top: 7px;
    padding: 8px;
  }

  body.online-game-detail .play-cta-card .online-play-btn {
    min-height: 66px;
    padding: 10px 14px;
  }

  body.online-game-detail .play-cta-card .online-play-btn__icon {
    width: 50px;
    height: 50px;
  }
}

/* ===== TOPGAMES EXACT LAYOUT FOR ONLINE GAME DETAIL ===== */
body.online-game-topgames {
  color: var(--ac-text, #102033);
  font-family: Saira, Arial, Helvetica, sans-serif;
}

body.online-game-topgames .wrapper {
  width: min(var(--ac-max, 1180px), calc(100% - (var(--ac-side-gap, 16px) * 2)));
  max-width: var(--ac-max, 1180px);
  margin-inline: auto;
  padding: 34px 0 18px;
}

body.online-game-topgames .detail-page {
  display: flex;
  gap: var(--ac-section-gap, 10px);
  align-items: flex-start;
  padding: 0;
}

body.online-game-topgames .page-left {
  flex-grow: 1;
  width: calc(100% - 318px);
  min-width: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

body.online-game-topgames .page-right {
  width: 300px;
  flex: 0 0 300px;
  overflow: visible;
}

body.online-game-topgames .detail-info,
body.online-game-topgames .page-left > .download,
body.online-game-topgames .page-left section:not(.download),
body.online-game-topgames .page-right section {
  border: 1px solid var(--ac-line, rgba(15, 23, 42, 0.14));
  border-radius: var(--ac-radius, 8px);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(96, 165, 250, 0.04)),
    var(--ac-panel, rgba(255, 255, 255, 0.88));
  box-shadow: var(--ac-shadow, 0 20px 50px rgba(31, 41, 55, 0.12));
}

body.online-game-topgames .detail-info {
  padding: clamp(16px, 2.5vw, 22px);
}

body.online-game-topgames .page-left > .download {
  margin: var(--ac-section-gap, 10px) 0 0;
  padding: 16px 18px;
}

body.online-game-topgames .page-left > .download > div {
  display: flex;
  width: 100%;
}

body.online-game-topgames .online-play-section > div {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}

body.online-game-topgames .rewarded-policy-note {
  margin: -3px 4px -2px;
  color: rgba(71, 85, 105, 0.88);
  font-family: Saira, Arial, Helvetica, sans-serif;
  font-size: clamp(0.76rem, 2.35vw, 0.9rem);
  font-weight: 600;
  line-height: 1.18;
  text-align: center;
}

body.online-game-topgames .page-left section:not(.download) {
  margin: var(--ac-section-gap, 10px) 0 0;
  padding: clamp(12px, 1.9vw, 16px) clamp(16px, 2.4vw, 22px) clamp(16px, 2.4vw, 22px);
  overflow: visible;
  contain: layout paint style;
}

body.online-game-topgames .page-right section {
  margin: 0;
  padding: 14px;
  contain: layout paint style;
}

body.online-game-topgames .app-header {
  display: flex;
  gap: 16px;
  align-items: center;
}

body.online-game-topgames .app-header .app-icon {
  width: clamp(96px, 11vw, 150px);
  height: clamp(96px, 11vw, 150px);
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--ac-line, rgba(15, 23, 42, 0.14));
  border-radius: var(--ac-radius, 8px);
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.13);
}

body.online-game-topgames .app-header .app-title {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  margin-left: 0;
}

body.online-game-topgames .app-title .title,
body.online-game-topgames section h5,
body.online-game-topgames .entry h2,
body.online-game-topgames .entry h3 {
  color: var(--ac-text, #102033);
  font-family: Rajdhani, Saira, sans-serif;
  letter-spacing: 0;
}

body.online-game-topgames .app-title .title {
  overflow-wrap: anywhere;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 0.9;
}

body.online-game-topgames .app-title .developer {
  color: #64748b;
  font-size: clamp(0.96rem, 1.6vw, 1.15rem);
  font-weight: 500;
  line-height: 1.18;
}

body.online-game-topgames .app-title .app-short-desc {
  display: -webkit-box;
  max-width: min(58ch, 100%);
  margin: 5px 0 2px;
  overflow: hidden;
  color: #64748b;
  font-family: Saira, sans-serif;
  font-size: clamp(0.76rem, 1.05vw, 0.9rem);
  font-weight: 500;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.online-game-topgames .score {
  display: flex;
  gap: 2px;
  align-items: center;
  color: var(--ac-yellow, #ffaf14);
}

body.online-game-topgames .score span {
  margin-left: 4px;
  color: #475569;
  font-family: Rajdhani, Saira, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
}

body.online-game-topgames .s-icon-2 {
  width: 15px;
  height: 15px;
}

body.online-game-topgames .info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

body.online-game-topgames .info-card {
  display: flex;
  min-width: 0;
  min-height: 66px;
  align-items: center;
  gap: 13px;
  padding: 10px 13px;
  border: 1px solid var(--ac-line, rgba(15, 23, 42, 0.14));
  border-radius: var(--ac-radius, 8px);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(96, 165, 250, 0.05)),
    rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 10px 24px rgba(31, 41, 55, 0.05);
}

body.online-game-topgames .info-card .icon {
  display: grid;
  width: 42px;
  height: 42px;
  min-width: 42px;
  place-items: center;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  border: 0;
  border-radius: 13px;
  background: transparent;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.14);
}

body.online-game-topgames .info-card .icon::before {
  content: "";
  width: 42px;
  height: 42px;
  background-image: var(--info-svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

body.online-game-topgames .info-card:nth-child(1) .icon {
  --info-svg: url("../icons/stat-developer.svg");
}

body.online-game-topgames .info-card:nth-child(2) .icon {
  --info-svg: url("../icons/stat-score.svg");
}

body.online-game-topgames .info-card:nth-child(3) .icon {
  --info-svg: url("../icons/stat-downloads.svg");
}

body.online-game-topgames .info-card:nth-child(4) .icon {
  --info-svg: url("../icons/stat-age.svg");
}

body.online-game-topgames .info-card:nth-child(5) .icon {
  --info-svg: url("../icons/stat-version.svg");
}

body.online-game-topgames .info-card:nth-child(6) .icon {
  --info-svg: url("../icons/stat-price.svg");
}

body.online-game-topgames .info-card .text {
  min-width: 0;
  flex: 1 1 auto;
}

body.online-game-topgames .info-card .text span {
  display: block;
  color: var(--ac-muted, #64748b);
  font-family: Rajdhani, Saira, sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

body.online-game-topgames .info-card .text strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--ac-text, #102033);
  font-family: Rajdhani, Saira, sans-serif;
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.online-game-topgames .online-play-section .btn-down {
  min-height: 68px;
}

body.online-game-topgames .online-play-section .btn-down svg {
  width: 40px !important;
  height: 40px !important;
}

body.online-game-detail [data-pwa-play-cta="true"].is-loading {
  will-change: transform, filter;
}

body.online-game-detail [data-pwa-play-cta="true"].is-loading {
  cursor: progress;
  filter: saturate(1.12) brightness(1.02);
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.28), transparent 25%),
    linear-gradient(135deg, #2563eb 0%, #2563eb 48%, #60a5fa 100%);
}

body.online-game-detail [data-pwa-play-cta="true"].is-loading::before {
  animation-duration: 0.85s;
}

body.online-game-detail [data-pwa-play-cta="true"].is-loading svg,
body.online-game-detail [data-pwa-play-cta="true"].is-loading .sticky-online-game-cta__icon {
  animation: pwaCtaLoadingPulse 0.82s ease-in-out infinite;
}

@keyframes pwaCtaLoadingPulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.08);
    filter: brightness(1.16);
  }
}

body.online-game-topgames .detail-block[hidden] {
  display: none;
}

body.online-game-topgames .online-faq-list {
  display: grid;
  gap: 9px;
}

body.online-game-topgames .play-faq-item {
  padding: 11px 12px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--ac-radius, 8px);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.055), rgba(96, 165, 250, 0.04)),
    rgba(255, 255, 255, 0.58);
}

body.online-game-topgames .play-faq-item h3 {
  margin: 0 0 5px;
  color: var(--ac-text, #102033);
  font-family: Rajdhani, Saira, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
}

body.online-game-topgames .play-faq-item p {
  margin: 0;
}

body.online-game-topgames .page-left section > .game-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  padding: 4px 2px 2px;
}

body.online-game-topgames .page-right .right-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

body.online-game-topgames .site-footer {
  width: min(var(--ac-max, 1180px), calc(100% - (var(--ac-side-gap, 16px) * 2)));
  max-width: var(--ac-max, 1180px);
  margin: 14px auto 0;
}

@media (max-width: 1219px) {
  body.online-game-topgames .detail-page {
    display: block;
  }

  body.online-game-topgames .page-left,
  body.online-game-topgames .page-right {
    width: 100%;
    max-width: 100%;
    flex-basis: auto;
  }

  body.online-game-topgames .page-right {
    margin-top: var(--ac-section-gap, 10px);
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  body.online-game-topgames .page-left section > .game-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.online-game-topgames .wrapper {
    width: min(calc(100% - (var(--ac-side-gap, 8px) * 2)), var(--ac-max, 1180px));
    padding-top: 14px;
  }

  body.online-game-topgames .detail-info,
  body.online-game-topgames .page-left > .download,
  body.online-game-topgames .page-left section:not(.download),
  body.online-game-topgames .page-right section {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px 12px;
  }

  body.online-game-topgames .app-header {
    gap: 12px;
    align-items: flex-start;
  }

  body.online-game-topgames .app-header .app-icon {
    width: 112px;
    height: 112px;
  }

  body.online-game-topgames .app-title .title {
    font-size: clamp(1.72rem, 8.2vw, 2.25rem);
    line-height: 0.92;
  }

  body.online-game-topgames .app-title .developer {
    font-size: 0.93rem;
  }

  body.online-game-topgames .app-title .app-short-desc {
    margin-top: 4px;
    font-size: 0.74rem;
    line-height: 1.18;
    -webkit-line-clamp: 1;
  }

  body.online-game-topgames .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  body.online-game-topgames .info-card {
    min-height: 62px;
    gap: 9px;
    padding: 8px;
  }

  body.online-game-topgames .info-card .icon,
  body.online-game-topgames .info-card .icon::before {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  body.online-game-topgames .info-card .text strong {
    font-size: 0.92rem;
  }

  body.online-game-topgames .page-left section > .game-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }
}

@media (max-width: 430px) {
  body.online-game-topgames .app-header .app-icon {
    width: 96px;
    height: 96px;
  }

  body.online-game-topgames .app-title .title {
    font-size: clamp(1.48rem, 7.8vw, 1.95rem);
  }

  body.online-game-topgames .info-card {
    min-height: 58px;
    gap: 7px;
    padding: 7px;
  }

  body.online-game-topgames .info-card .icon,
  body.online-game-topgames .info-card .icon::before {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
}

/* ===== TOPGAMES EXACT LAYOUT FOR ONLINE GAME PLAYER ===== */
html.online-game-fullscreen-open,
body.online-game-fullscreen-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.online-game-player .online-play-section .btn-down {
  display: inline-flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
}

body.online-game-player .online-play-section .btn-down svg {
  width: 40px !important;
  height: 40px !important;
}

body.online-game-player .play-info-summary-card {
  padding: 14px 16px !important;
}

body.online-game-player .play-info-summary-card .info-grid {
  margin: 0;
}

.sticky-online-game-cta {
  z-index: 2147482000;
}

.sticky-online-game-cta__button {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.sticky-online-game-cta__icon {
  border: 2px solid rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82) 48%, rgba(248,251,255, 0.72)),
    linear-gradient(135deg, #f8fbff, #eff6ff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -8px 14px rgba(37,99,235, 0.13),
    0 8px 16px rgba(37, 99, 235, 0.28),
    0 0 0 3px rgba(255, 255, 255, 0.16);
}

.sticky-online-game-cta__icon svg {
  width: 28px;
  height: 28px;
  fill: #2563eb;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.45));
}

body.has-sticky-online-game-cta {
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
}

body.online-game-fullscreen-open .sticky-online-game-cta,
body.online-game-fullscreen-open .sticky-online-game-cta.is-visible {
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, 130%, 0) scale(0.94) rotateX(18deg);
}

body.online-game-player .play-frame-card {
  position: relative;
  z-index: auto;
  inset: auto;
  display: none;
  width: 100%;
  height: auto;
  flex-direction: column;
  margin: var(--layout-gap, 10px) 0 0;
  padding: 0;
  visibility: visible;
  pointer-events: none;
  opacity: 1;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: var(--ac-radius, 8px);
  background: #0f172a;
  box-shadow: none;
  transform: none;
  transition: none;
  will-change: auto;
}

body.online-game-player .play-frame-card.is-active {
  display: flex;
  pointer-events: auto;
}

body.online-game-player .play-frame-card.is-css-fullscreen {
  position: fixed !important;
  z-index: 2147483000 !important;
  inset: 0 !important;
  display: flex !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #000000 !important;
  box-shadow: none !important;
}

body.online-game-topgames.online-game-player .page-left section.play-frame-card {
  margin: var(--layout-gap, 10px) 0 0;
  padding: 0;
  overflow: hidden;
  contain: none;
}

body.online-game-topgames.online-game-player .page-left section.play-frame-card.is-active {
  margin: var(--layout-gap, 10px) 0 0;
  padding: 0;
  overflow: hidden;
  contain: none;
}

body.online-game-player .play-frame-card h5 {
  display: none;
}

body.online-game-player .play-frame-header {
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  margin: 0 0 8px;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(7, 17, 31, 0.88);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

body.online-game-player .play-frame-header h2 {
  margin: 0;
  color: #ffffff;
  font-family: Rajdhani, Saira, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body.online-game-player .play-frame-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

body.online-game-player .play-frame-actions button,
body.online-game-player .play-frame-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  color: #ffffff;
  font-family: Rajdhani, Saira, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--ac-radius, 8px);
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.16);
  cursor: pointer;
}

body.online-game-player .play-frame-actions .play-frame-exit {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 10px 22px rgba(220, 38, 38, 0.22);
}

body.online-game-player .play-frame-wrap {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  width: 100%;
  height: clamp(360px, 68dvh, 720px);
  min-height: 360px;
  border: 0;
  border-radius: 0;
  background: #0f172a;
  box-shadow: none;
  aspect-ratio: auto;
}

body.online-game-player .play-frame-wrap:fullscreen,
body.online-game-player .play-frame-wrap:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  min-height: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #000000;
  box-shadow: none;
}

body.online-game-player .play-frame-card.is-css-fullscreen .play-frame-wrap {
  flex: 1 1 auto;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
  background: #000000;
}

body.online-game-player .play-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0f172a;
}

body.online-game-player .play-context-section .entry p {
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  body.online-game-player .online-play-section .btn-down {
    min-height: 62px;
  }

  body.has-sticky-online-game-cta {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  body.online-game-player .play-frame-header {
    gap: 8px;
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 7px;
    padding: 7px;
  }

  body.online-game-player .play-frame-actions {
    width: 100%;
    justify-content: space-between;
  }

  body.online-game-player .play-frame-actions button,
  body.online-game-player .play-frame-actions a {
    flex: 1 1 0;
    min-height: 32px;
    padding: 7px 8px;
    font-size: 0.78rem;
  }

  body.online-game-player .play-frame-wrap {
    aspect-ratio: auto;
  }

}

/* ===== Final play scroll performance override ===== */
html {
  scroll-behavior: auto !important;
}

.play-shell,
.play-layout,
.online-game-topgames .wrapper {
  contain: layout style;
}

.play-hero,
.play-info-section,
.online-play-section,
.play-context-section,
.play-frame-card,
.online-related-section,
.page-left section:not(.download),
.page-right section,
.site-footer,
.footer-v2 {
  content-visibility: auto;
  contain: layout paint style;
  contain-intrinsic-size: 1px 620px;
}

.play-info-card,
.info-card,
.game-item,
.game-item-column,
.play-faq-item {
  contain: layout paint style;
  will-change: auto;
}

.btn-down,
.btn-down::before,
.btn-down::after,
.btn-down svg,
[data-pwa-play-cta="true"].is-loading svg,
[data-pwa-play-cta="true"].is-loading .sticky-online-game-cta__icon {
  animation: none !important;
}

.play-frame-header {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

@media (hover: none), (pointer: coarse) {
  .btn-down:hover,
  .game-item:hover,
  .game-item-column:hover,
  .play-info-card:hover {
    transform: none !important;
    filter: none !important;
  }
}

/* ===== Restore lightweight play CTA attention animation ===== */
body.online-game-topgames .online-play-section .btn-down,
body.online-game-player .online-play-section .btn-down {
  animation: playCtaSoftGlow 2.2s ease-in-out infinite !important;
}

body.online-game-topgames .online-play-section .btn-down::before,
body.online-game-player .online-play-section .btn-down::before {
  animation: playCtaLightSweep 2.45s ease-in-out infinite !important;
}

body.online-game-topgames .online-play-section .btn-down svg,
body.online-game-player .online-play-section .btn-down svg {
  animation: playCtaIconBreath 1.55s ease-in-out infinite !important;
}

body.online-game-detail [data-pwa-play-cta="true"].is-loading svg,
body.online-game-detail [data-pwa-play-cta="true"].is-loading .sticky-online-game-cta__icon {
  animation: pwaCtaLoadingPulse 0.72s ease-in-out infinite !important;
}

@keyframes playCtaSoftGlow {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.36),
      inset 0 -12px 24px rgba(30, 64, 175, 0.2),
      0 12px 24px rgba(37, 99, 235, 0.16);
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      inset 0 -14px 28px rgba(30, 64, 175, 0.26),
      0 16px 30px rgba(37, 99, 235, 0.22);
  }
}

@keyframes playCtaLightSweep {
  0%,
  18% {
    opacity: 0;
    transform: translateX(0) skewX(-18deg);
  }

  35% {
    opacity: 0.74;
  }

  72%,
  100% {
    opacity: 0;
    transform: translateX(430%) skewX(-18deg);
  }
}

@keyframes playCtaIconBreath {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.055);
    filter: brightness(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.online-game-topgames .online-play-section .btn-down,
  body.online-game-topgames .online-play-section .btn-down::before,
  body.online-game-topgames .online-play-section .btn-down svg,
  body.online-game-player .online-play-section .btn-down,
  body.online-game-player .online-play-section .btn-down::before,
  body.online-game-player .online-play-section .btn-down svg,
  body.online-game-detail [data-pwa-play-cta="true"].is-loading svg,
  body.online-game-detail [data-pwa-play-cta="true"].is-loading .sticky-online-game-cta__icon {
    animation: none !important;
  }
}

/* ===== Online game pages responsive spacing normalization ===== */
:root {
  --layout-gap: 10px;
  --ac-section-gap: var(--layout-gap);
  --ac-side-gap: var(--layout-gap);
}

body.online-game-detail *,
body.online-game-detail *::before,
body.online-game-detail *::after,
body.online-game-launch *,
body.online-game-launch *::before,
body.online-game-launch *::after {
  box-sizing: border-box;
}

body.online-game-detail .wrapper,
body.online-game-launch .wrapper {
  width: min(var(--ac-max, 1030px), calc(100% - (var(--layout-gap) * 2))) !important;
  padding-top: var(--layout-gap) !important;
  padding-bottom: var(--layout-gap) !important;
}

body.online-game-detail .detail-page,
body.online-game-launch .detail-page,
body.online-game-detail .page-left,
body.online-game-launch .page-left,
body.online-game-detail .play-info-grid,
body.online-game-launch .play-info-grid,
body.online-game-detail .play-more-grid,
body.online-game-launch .play-more-grid,
body.online-game-detail .more-games-grid,
body.online-game-launch .more-games-grid,
body.online-game-detail .game-list,
body.online-game-launch .game-list,
body.online-game-detail .play-controls,
body.online-game-launch .play-controls {
  gap: var(--layout-gap) !important;
}

body.online-game-detail .play-info-section,
body.online-game-detail .online-play-section,
body.online-game-detail .play-section,
body.online-game-detail .play-more-section,
body.online-game-detail .play-info-summary-card,
body.online-game-launch .play-info-section,
body.online-game-launch .online-play-section,
body.online-game-launch .play-section,
body.online-game-launch .play-more-section,
body.online-game-launch .play-info-summary-card {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: var(--layout-gap) !important;
  margin-bottom: 0 !important;
}

body.online-game-detail .detail-page > *:first-child,
body.online-game-detail .page-left > *:first-child,
body.online-game-launch .detail-page > *:first-child,
body.online-game-launch .page-left > *:first-child {
  margin-top: 0 !important;
}

body.online-game-detail .play-info-grid,
body.online-game-launch .play-info-grid,
body.online-game-detail .play-more-grid,
body.online-game-launch .play-more-grid,
body.online-game-detail .more-games-grid,
body.online-game-launch .more-games-grid {
  margin-top: var(--layout-gap) !important;
}

@media (min-width: 769px) {
  body.online-game-detail .wrapper,
  body.online-game-launch .wrapper {
    width: min(var(--ac-max, 1030px), calc(100% - 20px)) !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}

/* Final online game spacing: desktop 10px, mobile 7px. */
@media (min-width: 769px) {
  body.online-game-detail .wrapper,
  body.online-game-launch .wrapper {
    width: min(var(--ac-max, 1030px), calc(100% - 20px)) !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}

@media (max-width: 768px) {
  body.online-game-detail,
  body.online-game-launch {
    --layout-gap: 7px;
    --ac-section-gap: 7px;
    --ac-side-gap: 7px;
  }
}

/* Sitewide readable typography refresh - start */
@font-face {
  font-family: "Nunito Sans Local";
  src: url("/assets/fonts/nunito-sans-latin-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --site-font-sans: "Nunito Sans Local", "Nunito Sans", "Google Sans", "Product Sans", Roboto, "Segoe UI", Arial, sans-serif;
}

html,
body,
body * {
  font-family: var(--site-font-sans) !important;
  letter-spacing: 0 !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
.site-title, .section-title, .section-heading, .home-section-title,
.game-title, .app-title, .card-title, .article-title,
.game-name, .app-name, .item-title, .name {
  font-family: var(--site-font-sans) !important;
  font-weight: 600 !important;
}

.download-ready, .download-btn, .download-cta, .store-badge,
button, .btn, .view-all, .view-more {
  font-family: var(--site-font-sans) !important;
  font-weight: 700 !important;
}

p, li, .description, .desc, .short-description, .detail-copy,
.meta, .category, .subtitle, .supporting-copy, .footer-copy {
  font-family: var(--site-font-sans) !important;
}

.description, .desc, .short-description, .detail-copy,
p, li {
  font-weight: 400 !important;
}

.meta, .category, .subtitle, .supporting-copy, small {
  font-weight: 500 !important;
}

strong, b {
  font-weight: 600 !important;
}
/* Sitewide readable typography refresh - end */

/* Play game detail hero balance */
body.online-game-detail.online-game-topgames .detail-info {
  padding: clamp(12px, 2vw, 18px) !important;
}

body.online-game-detail.online-game-topgames .app-header {
  --detail-hero-size: clamp(112px, 15vw, 138px);
  display: grid !important;
  grid-template-columns: var(--detail-hero-size) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 20px) !important;
  align-items: center !important;
}

body.online-game-detail.online-game-topgames .app-header .app-icon {
  width: var(--detail-hero-size) !important;
  height: var(--detail-hero-size) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1) !important;
}

body.online-game-detail.online-game-topgames .app-header .app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.online-game-detail.online-game-topgames .app-header .app-title {
  gap: 2px;
  justify-content: center;
  min-height: var(--detail-hero-size);
}

body.online-game-detail.online-game-topgames .app-title .title {
  margin: 0 !important;
  color: #102033;
  font-size: clamp(1.82rem, 3.15vw, 2.72rem) !important;
  font-weight: 550 !important;
  line-height: 1.04 !important;
  text-transform: uppercase;
}

body.online-game-detail.online-game-topgames .app-title .developer {
  margin: 0 !important;
  color: #5f7086;
  font-size: clamp(1rem, 1.55vw, 1.25rem) !important;
  font-weight: 500 !important;
  line-height: 1.14 !important;
}

body.online-game-detail.online-game-topgames .app-title .app-short-desc {
  margin: 4px 0 0 !important;
  color: #60718a;
  font-size: clamp(0.86rem, 1.2vw, 1rem) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

body.online-game-detail.online-game-topgames .app-title .score {
  margin-top: 5px;
  gap: 3px;
}

body.online-game-detail.online-game-topgames .app-title .score span {
  margin-left: 6px;
  color: #52647a;
  font-size: clamp(1rem, 1.45vw, 1.2rem) !important;
  font-weight: 650 !important;
  line-height: 1;
}

body.online-game-detail.online-game-topgames .app-title .s-icon-2 {
  width: clamp(17px, 1.8vw, 21px) !important;
  height: clamp(17px, 1.8vw, 21px) !important;
}

@media (max-width: 768px) {
  body.online-game-detail.online-game-topgames .detail-info {
    padding: 9px !important;
  }

  body.online-game-detail.online-game-topgames .app-header {
    --detail-hero-size: clamp(116px, 24.62vw, 128px);
    grid-template-columns: var(--detail-hero-size) minmax(0, 1fr);
    gap: 10px !important;
  }

  body.online-game-detail.online-game-topgames .app-header .app-icon {
    width: var(--detail-hero-size) !important;
    height: var(--detail-hero-size) !important;
    border-radius: 16px !important;
  }

  body.online-game-detail.online-game-topgames .app-title .title {
    font-size: clamp(1.52rem, 6.7vw, 2.02rem) !important;
    line-height: 1.02 !important;
  }

  body.online-game-detail.online-game-topgames .app-title .developer {
    font-size: 0.95rem !important;
  }

  body.online-game-detail.online-game-topgames .app-title .app-short-desc {
    margin-top: 3px !important;
    font-size: 0.78rem !important;
    -webkit-line-clamp: 1;
  }

  body.online-game-detail.online-game-topgames .app-title .score {
    margin-top: 4px;
  }

  body.online-game-detail.online-game-topgames .app-title .s-icon-2 {
    width: 16px !important;
    height: 16px !important;
  }
}

@media (max-width: 380px) {
  body.online-game-detail.online-game-topgames .app-header {
    --detail-hero-size: 116px;
    grid-template-columns: var(--detail-hero-size) minmax(0, 1fr);
    gap: 8px !important;
  }

  body.online-game-detail.online-game-topgames .app-header .app-icon {
    width: var(--detail-hero-size) !important;
    height: var(--detail-hero-size) !important;
  }

  body.online-game-detail.online-game-topgames .app-title .title {
    font-size: clamp(1.32rem, 6.7vw, 1.7rem) !important;
  }
}

@media (max-width: 350px) {
  body.online-game-detail.online-game-topgames .app-title .title {
    font-size: 1.12rem !important;
    line-height: 1.05 !important;
  }
}

/* Detail stat cards: match the stronger app/store title weight on play-game pages. */
body.online-game-detail .info-card .text strong,
body.online-game-topgames .info-card .text strong {
  font-weight: 760 !important;
}

/* Prevent section activation from changing document height during long-page scrolling. */
.play-hero,
.play-info-section,
.online-play-section,
.play-context-section,
.play-frame-card,
.online-related-section,
.page-left section:not(.download),
.page-right section,
.site-footer,
.footer-v2 {
  content-visibility: visible !important;
  contain-intrinsic-size: auto !important;
}

/* Keep Play-page game names compact without changing detail-page headings. */
body.online-game-launch.online-game-player .app-title .title {
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1;
}

@media (max-width: 820px) {
  body.online-game-launch.online-game-player .app-title .title {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }
}

@media (max-width: 430px) {
  body.online-game-launch.online-game-player .app-title .title {
    font-size: clamp(1.3rem, 6vw, 1.65rem);
  }
}

/* Finalized-font layout safeguards for playable detail and launch templates. */
body.online-game-detail .detail-page,
body.online-game-launch .detail-page,
body.online-game-detail .page-left,
body.online-game-launch .page-left,
body.online-game-detail .page-right,
body.online-game-launch .page-right,
body.online-game-detail .app-header > *,
body.online-game-launch .app-header > *,
body.online-game-detail .app-title,
body.online-game-launch .app-title,
body.online-game-detail .info-card .text,
body.online-game-launch .info-card .text,
body.online-game-detail .game-item-column .right-info,
body.online-game-launch .game-item-column .right-info {
  min-width: 0;
  max-width: 100%;
}

body.online-game-detail .app-title .title,
body.online-game-launch .app-title .title,
body.online-game-detail .app-title .developer,
body.online-game-launch .app-title .developer,
body.online-game-detail .app-title .app-short-desc,
body.online-game-launch .app-title .app-short-desc {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

body.online-game-detail .app-title .app-short-desc,
body.online-game-launch .app-title .app-short-desc {
  display: block;
  overflow: visible;
  line-height: 1.35 !important;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset !important;
}

body.online-game-detail .app-title .score,
body.online-game-launch .app-title .score {
  flex-wrap: wrap;
  row-gap: 3px;
}

body.online-game-detail .info-grid,
body.online-game-launch .info-grid {
  align-items: stretch;
}

body.online-game-detail .info-card,
body.online-game-launch .info-card,
body.online-game-detail .play-info-card,
body.online-game-launch .play-info-card,
body.online-game-detail .play-store-info-card,
body.online-game-launch .play-store-info-card {
  height: auto;
}

body.online-game-detail .info-card .text,
body.online-game-launch .info-card .text {
  flex: 1 1 auto;
}

body.online-game-detail .info-card .text span,
body.online-game-launch .info-card .text span,
body.online-game-detail .info-card .text strong,
body.online-game-launch .info-card .text strong,
body.online-game-detail .play-info-card strong,
body.online-game-launch .play-info-card strong,
body.online-game-detail .play-store-info-card strong,
body.online-game-launch .play-store-info-card strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

body.online-game-detail .info-card .text span,
body.online-game-launch .info-card .text span {
  display: block;
  line-height: 1.15;
}

body.online-game-detail .info-card .text strong,
body.online-game-launch .info-card .text strong,
body.online-game-detail .play-info-card strong,
body.online-game-launch .play-info-card strong,
body.online-game-detail .play-store-info-card strong,
body.online-game-launch .play-store-info-card strong {
  overflow: visible;
  line-height: 1.18;
  text-overflow: clip;
  white-space: normal;
}

body.online-game-detail section h5,
body.online-game-launch section h5,
body.online-game-detail .entry h2,
body.online-game-launch .entry h2,
body.online-game-detail .entry h3,
body.online-game-launch .entry h3,
body.online-game-detail .play-download-context h2,
body.online-game-launch .play-download-context h2 {
  line-height: 1.16;
  overflow-wrap: anywhere;
}

body.online-game-detail .game-item-column .right-info h2,
body.online-game-launch .game-item-column .right-info h2,
body.online-game-detail .btn-down .cta,
body.online-game-launch .btn-down .cta {
  line-height: 1.18;
  overflow-wrap: anywhere;
}

/* Match playable-page section headings to the compact inner-page scale. */
body.online-game-detail section h5,
body.online-game-launch section h5 {
  font-size: clamp(1.25rem, 1.55vw, 1.65rem) !important;
  line-height: 1.15 !important;
}

body.online-game-detail .entry h2,
body.online-game-launch .entry h2,
body.online-game-detail .play-download-context h2,
body.online-game-launch .play-download-context h2 {
  font-size: clamp(1.08rem, 1.35vw, 1.32rem) !important;
  line-height: 1.2 !important;
}

body.online-game-detail .entry h3,
body.online-game-launch .entry h3 {
  font-size: clamp(0.98rem, 1.1vw, 1.12rem) !important;
  line-height: 1.25 !important;
}

/* Match playable-game detail content rhythm to app detail pages. */
body.online-game-detail .review .entry > .detail-block {
  min-width: 0;
}

body.online-game-detail .review .entry > .detail-block + .detail-block {
  margin-top: 24px;
}

body.online-game-detail .review .entry > .detail-block > h2:first-child,
body.online-game-detail .review .entry > .detail-block > h3:first-child {
  margin-top: 0 !important;
}

body.online-game-detail .review .entry > .detail-block > p:last-child,
body.online-game-detail .review .entry > .detail-block > ul:last-child,
body.online-game-detail .review .entry > .detail-block > ol:last-child,
body.online-game-detail .review .entry > .detail-block > .online-faq-list:last-child {
  margin-bottom: 0;
}

/* Keep the launch page on the same type scale as the approved detail page. */
body.online-game-launch.online-game-player .app-title .title {
  font-size: clamp(1.82rem, 3.15vw, 2.72rem) !important;
  font-weight: 550 !important;
  line-height: 1.04 !important;
}

body.online-game-launch.online-game-player .app-title .app-short-desc {
  margin: 4px 0 0 !important;
  font-size: clamp(0.86rem, 1.2vw, 1rem) !important;
  line-height: 1.2 !important;
}

@media (max-width: 820px) {
  body.online-game-launch.online-game-player .app-title .title {
    font-size: clamp(1.52rem, 6.7vw, 2.02rem) !important;
  }

  body.online-game-launch.online-game-player .app-title .app-short-desc {
    margin-top: 3px !important;
    font-size: 0.78rem !important;
  }
}

@media (max-width: 350px) {
  body.online-game-launch.online-game-player .app-title .title {
    font-size: 1.12rem !important;
  }
}

/* App-page layout parity for playable detail and player routes. */
body.online-game-detail.online-game-topgames .detail-info,
body.online-game-launch.online-game-topgames .detail-info {
  padding: 12px !important;
}

body.online-game-detail.online-game-topgames .app-header,
body.online-game-launch.online-game-topgames .app-header {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  gap: 16px !important;
}

body.online-game-detail.online-game-topgames .app-header .app-icon,
body.online-game-launch.online-game-topgames .app-header .app-icon {
  width: clamp(96px, 11vw, 150px) !important;
  height: clamp(96px, 11vw, 150px) !important;
  flex: 0 0 auto;
  border-radius: var(--ac-radius, 8px) !important;
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.13) !important;
}

body.online-game-detail.online-game-topgames .app-header .app-title,
body.online-game-launch.online-game-topgames .app-header .app-title {
  min-width: 0;
  min-height: 0 !important;
  max-width: 100%;
  flex: 0 1 auto;
  gap: normal !important;
  justify-content: center;
}

body.online-game-detail.online-game-topgames .app-title .title,
body.online-game-launch.online-game-topgames .app-title .title {
  text-transform: none !important;
}

body.online-game-detail.online-game-topgames .app-title .developer,
body.online-game-launch.online-game-topgames .app-title .developer {
  font-size: clamp(1rem, 1.55vw, 1.25rem) !important;
  font-weight: 500 !important;
  line-height: 1.14 !important;
}

body.online-game-launch.online-game-player .play-info-summary-card {
  padding: 12px !important;
}

@media (max-width: 820px) {
  body.online-game-detail.online-game-topgames .app-title .developer,
  body.online-game-launch.online-game-topgames .app-title .developer {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 768px) {
  body.online-game-detail.online-game-topgames .detail-info,
  body.online-game-launch.online-game-topgames .detail-info {
    padding: 10px !important;
  }

  body.online-game-launch.online-game-player .play-info-summary-card {
    padding: 10px !important;
  }

  body.online-game-detail.online-game-topgames .app-header,
  body.online-game-launch.online-game-topgames .app-header {
    align-items: flex-start !important;
    gap: 12px !important;
  }

  body.online-game-detail.online-game-topgames .app-header .app-icon,
  body.online-game-launch.online-game-topgames .app-header .app-icon {
    width: 112px !important;
    height: 112px !important;
  }
}

@media (max-width: 420px) {
  body.online-game-detail.online-game-topgames .info-card,
  body.online-game-launch.online-game-topgames .info-card {
    min-height: 72px;
    align-items: center;
    gap: 7px;
    padding: 7px;
  }

  body.online-game-detail.online-game-topgames .info-card .icon,
  body.online-game-detail.online-game-topgames .info-card .icon::before,
  body.online-game-launch.online-game-topgames .info-card .icon,
  body.online-game-launch.online-game-topgames .info-card .icon::before {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  body.online-game-detail.online-game-topgames .info-card .text span,
  body.online-game-launch.online-game-topgames .info-card .text span {
    font-size: 0.6rem;
    line-height: 1.05;
  }

  body.online-game-detail.online-game-topgames .info-card .text strong,
  body.online-game-launch.online-game-topgames .info-card .text strong {
    font-size: clamp(0.82rem, 4.1vw, 0.98rem);
    line-height: 1.05;
  }
}
