:root {
  --bg: #0f1020;
  --bg-2: #171833;
  --card: #1e1f3d;
  --card-2: #262848;
  --accent: #ff5a1f;
  --accent-2: #ffb02e;
  --text: #f2f3ff;
  --muted: #9a9cc4;
  --ok: #2ecc71;
  --radius: 14px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  overscroll-behavior-y: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Mobil öncelikli sabit genişlik kabı */
.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  padding-bottom: calc(74px + var(--safe-bottom));
  position: relative;
}

/* ---------- Header ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, var(--bg-2), rgba(23, 24, 51, 0.92));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.2px;
}

.brand .logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-size: 16px;
}

.topbar .spacer { flex: 1; }

.coin-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid rgba(255, 176, 46, 0.35);
  color: var(--accent-2);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 15px;
  cursor: pointer;
}

/* ---------- Arama ---------- */
.searchbar { padding: 10px 12px 0; }
.searchbar form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 9px 12px;
}
.searchbar input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 14px;
}

/* ---------- Reklam alanları ---------- */
.ad-box {
  margin: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 60px;
}
.ad-box.ad-filled {
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
}
.ad-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}

.sticky-ad {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding-bottom: var(--safe-bottom);
  background: rgba(15, 16, 32, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.sticky-ad .ad-box { margin: 6px; width: 100%; max-width: 468px; }
.sticky-ad .close {
  position: absolute;
  top: -12px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: var(--card-2);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
}

/* ---------- Hero / kazanç şeridi ---------- */
.hero {
  margin: 12px;
  padding: 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #3a1d6e, #7b2d8f 55%, #ff5a1f);
  position: relative;
  overflow: hidden;
}
.hero h1 { margin: 0 0 4px; font-size: 18px; }
.hero p { margin: 0; font-size: 12.5px; opacity: 0.9; }
.hero .cta {
  margin-top: 10px;
  display: inline-block;
  background: #fff;
  color: #23134a;
  font-weight: 800;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
}

.earn-strip {
  margin: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--card);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 176, 46, 0.25);
}
.earn-strip .txt { flex: 1; font-size: 13px; font-weight: 600; }
.earn-strip .btn-earn {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border: 0;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

/* ---------- Kategori butonları ---------- */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 12px 10px;
}
.section-title h2 { margin: 0; font-size: 15px; }
.section-title a { font-size: 12px; color: var(--accent-2); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 12px;
}
.cat-btn {
  padding: 13px 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-btn span.dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-size: 13px;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 12px 4px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.chip.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

/* ---------- Oyun listesi ---------- */
.game-list { margin: 0 12px; display: flex; flex-direction: column; gap: 10px; }

.game-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}
.game-row .thumb {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--card-2);
}
.game-row .info { flex: 1; min-width: 0; }
.game-row .info h3 {
  margin: 0 0 3px;
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-row .meta { font-size: 11.5px; color: var(--muted); display: flex; gap: 10px; }
.game-row .meta .entry { color: var(--accent-2); font-weight: 700; }
.btn-play {
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 0;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 12px;
}
.game-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}
.game-card img { aspect-ratio: 1/1; object-fit: cover; background: var(--card-2); width: 100%; }
.game-card .t {
  padding: 7px 8px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Oyun sayfası ---------- */
.game-stage {
  margin: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.game-stage iframe { width: 100%; border: 0; display: block; height: 70vh; }
.game-stage.landscape iframe { height: 56vw; min-height: 240px; }

.game-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px;
}
.game-head img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.game-head h1 { margin: 0; font-size: 17px; }
.game-head .meta { font-size: 12px; color: var(--muted); }

.game-desc {
  margin: 12px;
  padding: 12px;
  background: var(--card);
  border-radius: var(--radius);
  font-size: 13px;
  color: #d9daf5;
}

/* Geçiş reklamı katmanı */
.interstitial {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(9, 9, 20, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px;
}
.interstitial .box { width: 100%; max-width: 340px; }
.interstitial .skip {
  background: var(--card-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  min-width: 150px;
}
.interstitial .skip[disabled] { opacity: 0.6; cursor: default; }

/* ---------- Alt navigasyon ---------- */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(23, 24, 51, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: var(--safe-bottom);
}
.bottom-nav.has-sticky-ad { bottom: 62px; }
.bottom-nav a {
  padding: 9px 0 8px;
  text-align: center;
  font-size: 10.5px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.bottom-nav a.active { color: var(--accent-2); }
.bottom-nav .ic { font-size: 17px; line-height: 1; }

/* ---------- Footer ---------- */
.site-footer {
  margin: 22px 12px 0;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12px;
  color: var(--muted);
}
.site-footer h4 { color: var(--text); font-size: 13px; margin: 0 0 6px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.site-footer .links a { color: var(--accent-2); }

.empty { margin: 24px 12px; text-align: center; color: var(--muted); font-size: 13px; }
.page-body { margin: 12px; font-size: 14px; color: #dcddf7; }
.page-body h1 { font-size: 19px; }

.fullscreen-ad { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.92); }
.fullscreen-ad-box { position: relative; display: flex; align-items: center; justify-content: center; width: min(100%, 400px); min-height: min(100%, 560px); padding: 24px 16px; border-radius: 15px; background: #fff; }
.fullscreen-ad-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f1f3f5; color: #333; font-size: 24px; line-height: 1; cursor: pointer; }
.fullscreen-ad-label { position: absolute; top: 18px; left: 0; right: 0; color: rgba(136,136,136,.65); font-size: 10px; letter-spacing: 3px; text-align: center; }
.fullscreen-ad-slot { width: 100%; min-height: 280px; }

/* Homepage layout matching the compact game portal presentation. */
body:has(.home-search) {
  background-color: #fff;
  background-image: linear-gradient(#f1f3f5 1px, transparent 1px), linear-gradient(90deg, #f1f3f5 1px, transparent 1px);
  background-size: 24px 24px;
  color: #000;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}
body:has(.home-search) .app {
  max-width: 400px;
  min-height: 100vh;
  padding-bottom: 0;
  background: #fff;
  border-left: 1px solid #e6e7e8;
  border-right: 1px solid #e6e7e8;
}
body:has(.home-search) .topbar { display: none; }
.home-search { padding: 12px 16px 8px; }
.search-wrapper { position: relative; width: 100%; }
.search-input {
  width: 100%; height: 42px; padding: 0 44px 0 24px;
  border: 1px solid #e6e7e8; border-radius: 15px;
  background: transparent; color: #000; outline: none; font-size: 14px;
}
.search-icon {
  position: absolute; right: 0; top: 0; width: 42px; height: 42px;
  border: 0; background: transparent; color: #000; cursor: pointer;
}
body:has(.home-search) .ad-box {
  min-height: 128px; margin: 0 0 12px; border: 0; border-top: 1px solid #e6e7e8;
  border-bottom: 1px solid #e6e7e8; border-radius: 0; background: transparent;
}
body:has(.home-search) .ad-label { color: rgba(136,136,136,.45); letter-spacing: 3px; }
.choose-game { margin: 0 16px 12px; width: calc(100% - 32px); padding: 16px; border: 1px solid #e6e7e8; border-radius: 15px; background: #fff; }
.coin-choice { display: flex; flex-direction: column; gap: 8px; }
.redeem-coin { display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 600; }
.balance-coin { width: 24px; height: 24px; object-fit: contain; }
.earn-coin-btn { position: relative; display: flex; width: 100%; }
.btn-earn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 42px; border: 0; border-radius: 393px; background: #1877f2; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 1px; cursor: pointer; }
.earn-coin-icon { width: 24px; height: 24px; object-fit: contain; }
.ad-tag-earn { position: absolute; top: -3px; right: -10px; color: #8a8e91; font-size: 10px; }
.category-choice { margin-top: 14px; }
.category-heading { margin-bottom: 12px; font-size: 16px; font-weight: 500; line-height: 1.35; }
.class-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.category-option { height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #1877f2; border-radius: 393px; color: #000; font-size: 14px; font-weight: 600; text-transform: uppercase; }
.category-option span { font-size: 16px; }
.game-section { margin: 0 16px; }
.game-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.game-row { display: block; overflow: hidden; padding: 0; border: 1px solid #e6e7e8; border-radius: 15px; background: transparent; }
.game-row .thumb { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 15px 15px 0 0; object-fit: cover; background: #f4f4f4; }
.game-row .info { padding: 8px 5px 0; text-align: center; }
.game-row .info h3 { margin: 0; color: #000; font-size: 15px; font-weight: 800; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-row .meta { display: flex; flex-direction: column; gap: 5px; align-items: center; margin-top: 8px; color: #087b31; font-size: 13px; font-weight: 700; }
.game-row .meta .entry { display: inline-flex; align-items: center; gap: 4px; color: #000; font-size: 14px; font-weight: 700; }
.entry-coin { width: 16px; height: 16px; object-fit: contain; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: #14903e; }
.btn-play { display: flex; align-items: center; justify-content: center; width: 95%; height: 42px; margin: 8px auto; padding: 0; border-radius: 393px; background: #1877f2; color: #f4f4f8; font-size: 14px; font-weight: 800; letter-spacing: .5px; }
.more-games { display: block; width: 100%; height: 42px; margin: 12px 0 0; padding: 10px 0; border-radius: 393px; background: #1877f2; color: #fff; text-align: center; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.about-section { margin: 32px 16px 0; }
.about-section h1 { margin: 0 0 15px; color: rgba(0,0,0,.6); font-size: 24px; }
.about-section p { margin: 0 0 14px; color: #888; font-size: 16px; line-height: 1.45; }
body:has(.home-search) .site-footer { margin: 20px 16px 0; padding: 7px 0 14px; border-top: 0; }
body:has(.home-search) .site-footer .links { justify-content: space-between; margin: 0; }
body:has(.home-search) .site-footer .links a { color: #888; font-size: 14px; }
body:has(.home-search) .sticky-ad { display: none; }
@media (min-width: 401px) { body:has(.home-search) .app { min-height: 100vh; } }

/* Keep category browsing visually consistent with the homepage. */
body:has(.chips) {
  background-color: #fff;
  background-image: linear-gradient(#f1f3f5 1px, transparent 1px), linear-gradient(90deg, #f1f3f5 1px, transparent 1px);
  background-size: 24px 24px;
  color: #000;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}
body:has(.chips) .app {
  max-width: 400px;
  min-height: 100vh;
  padding-bottom: 0;
  background: #fff;
  border-left: 1px solid #e6e7e8;
  border-right: 1px solid #e6e7e8;
}
body:has(.chips) .topbar { display: none; }
body:has(.chips) .chips { gap: 8px; padding: 12px 16px 4px; }
body:has(.chips) .chip { padding: 8px 14px; background: #fff; color: #000; border: 1px solid #1877f2; font-weight: 700; }
body:has(.chips) .chip.active { background: #1877f2; color: #fff; border-color: #1877f2; }
body:has(.chips) .ad-box { margin: 12px 0; border-color: #e6e7e8; border-radius: 0; background: #fff; }
body:has(.chips) .section-title { margin: 18px 16px 10px; }
body:has(.chips) .section-title h2 { color: #000; font-size: 20px; font-weight: 800; }
body:has(.chips) .game-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 16px; }
body:has(.chips) .game-row { display: block; overflow: hidden; padding: 0; border: 1px solid #e6e7e8; border-radius: 15px; background: #fff; }
body:has(.chips) .game-row .thumb { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 15px 15px 0 0; object-fit: cover; background: #f4f4f4; }
body:has(.chips) .game-row .info { padding: 8px 5px 0; text-align: center; }
body:has(.chips) .game-row .info h3 { margin: 0; color: #000; font-size: 15px; font-weight: 800; }
body:has(.chips) .game-row .meta { display: flex; flex-direction: column; gap: 5px; align-items: center; margin-top: 8px; color: #087b31; font-size: 13px; font-weight: 700; }
body:has(.chips) .game-row .meta .entry { display: inline-flex; align-items: center; gap: 4px; color: #000; font-size: 14px; font-weight: 700; }
body:has(.chips) .btn-play { width: 95%; height: 42px; margin: 8px auto; padding: 0; background: #1877f2; border-radius: 393px; font-size: 14px; font-weight: 800; }
body:has(.chips) .site-footer { margin: 20px 16px 0; padding: 7px 0 14px; border-top: 0; }
body:has(.chips) .site-footer .links { justify-content: space-between; margin: 0; }
body:has(.chips) .site-footer .links a { color: #888; font-size: 14px; }

/* Keep the game detail view in the same visual system. */
body:has(.game-stage) {
  background-color: #fff;
  background-image: linear-gradient(#f1f3f5 1px, transparent 1px), linear-gradient(90deg, #f1f3f5 1px, transparent 1px);
  background-size: 24px 24px;
  color: #000;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}
body:has(.game-stage) .app {
  max-width: 400px;
  min-height: 100vh;
  padding-bottom: 0;
  background: #fff;
  border-left: 1px solid #e6e7e8;
  border-right: 1px solid #e6e7e8;
}
body:has(.game-stage) .topbar { display: none; }
body:has(.game-stage) .game-head { margin: 16px; padding: 12px; border: 1px solid #e6e7e8; border-radius: 15px; background: #fff; }
body:has(.game-stage) .game-head img { width: 72px; height: 72px; border-radius: 12px; }
body:has(.game-stage) .game-head h1 { color: #000; font-size: 21px; font-weight: 800; }
body:has(.game-stage) .game-head .meta { color: #087b31; font-size: 13px; font-weight: 700; }
body:has(.game-stage) .ad-box { margin: 12px 0; border-color: #e6e7e8; border-radius: 0; background: #fff; }
body:has(.game-stage) .game-stage { margin: 0 16px; border: 1px solid #1877f2; border-radius: 15px; background: #fff; }
body:has(.game-stage) .game-stage iframe { min-height: 420px; border-radius: 14px; }
body:has(.game-stage) .game-stage.fullscreen-enabled { position: relative; padding-bottom: 52px; }
body:has(.game-stage) .game-fullscreen { position: absolute; left: 16px; right: 16px; bottom: 10px; height: 36px; border: 0; border-radius: 393px; background: #1877f2; color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; }
body:has(.game-stage):fullscreen { background: #000; }
body:has(.game-stage):fullscreen .game-stage { width: 100vw; height: 100vh; margin: 0; border: 0; border-radius: 0; }
body:has(.game-stage):fullscreen .game-stage iframe { height: 100%; min-height: 0; border-radius: 0; }
body:has(.game-stage):fullscreen .game-fullscreen { display: none; }
body:has(.game-stage) .interstitial { background: #fff; }
body:has(.game-stage) .interstitial .skip { background: #1877f2; color: #fff; border: 0; font-weight: 800; }
body:has(.game-stage) .game-desc { margin: 16px; padding: 14px; border: 1px solid #e6e7e8; border-radius: 15px; background: #fff; color: #555; font-size: 14px; }
body:has(.game-stage) .section-title { margin: 18px 16px 10px; }
body:has(.game-stage) .section-title h2 { color: #000; font-size: 20px; font-weight: 800; }
body:has(.game-stage) .game-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 16px; }
body:has(.game-stage) .game-row { display: block; overflow: hidden; padding: 0; border: 1px solid #e6e7e8; border-radius: 15px; background: #fff; }
body:has(.game-stage) .game-row .thumb { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 15px 15px 0 0; object-fit: cover; background: #f4f4f4; }
body:has(.game-stage) .game-row .info { padding: 8px 5px 0; text-align: center; }
body:has(.game-stage) .game-row .info h3 { color: #000; font-size: 15px; font-weight: 800; }
body:has(.game-stage) .game-row .meta { display: flex; flex-direction: column; gap: 5px; align-items: center; margin-top: 8px; color: #087b31; font-size: 13px; font-weight: 700; }
body:has(.game-stage) .game-row .meta .entry { display: inline-flex; align-items: center; gap: 4px; color: #000; font-weight: 700; }
body:has(.game-stage) .btn-play { width: 95%; height: 42px; margin: 8px auto; padding: 0; background: #1877f2; border-radius: 393px; font-size: 14px; font-weight: 800; }
body:has(.game-stage) .site-footer { margin: 20px 16px 0; padding: 7px 0 14px; border-top: 0; }
body:has(.game-stage) .site-footer .links { justify-content: space-between; margin: 0; }
body:has(.game-stage) .site-footer .links a { color: #888; font-size: 14px; }
body:has(.game-stage) .sticky-ad { display: none; }
