/* ztyping — shared design system (site chrome only; game canvas unchanged) */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #08001a;
  --border: rgba(180, 100, 255, 0.35);
  --border-lo: rgba(180, 100, 255, 0.18);
  --txt-hi: #f0e0ff;
  --txt-mid: rgba(230, 200, 255, 0.75);
  --txt-dim: rgba(200, 160, 255, 0.5);
  --accent: #c080ff;
  --panel-bg: rgba(14, 3, 36, 0.85);
  --header-h: 62px;
  --sidebar-w: 172px;
  --below-h: 90px;
  --footer-h: 50px;
  --sidebar-pad: 28px;
  --ad-stack-gap: 12px;
  --sidebar-ad-h: calc(100vh - var(--header-h) - var(--footer-h) - var(--sidebar-pad));
  --ad-tall-h: min(600px, max(180px, calc((var(--sidebar-ad-h) - var(--ad-stack-gap)) * 0.667)));
  --ad-ban-h: min(300px, max(100px, calc(var(--sidebar-ad-h) - var(--ad-tall-h) - var(--ad-stack-gap))));
  --content-max: 720px;
  --radius: 10px;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

html,
body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--txt-hi);
}

body {
  min-height: 100%;
}

body.page-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: none;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(80, 20, 160, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 80% 70%, rgba(40, 10, 100, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 10%, rgba(60, 5, 120, 0.18) 0%, transparent 70%);
  animation: nebulaDrift 20s ease-in-out infinite alternate;
}

@keyframes nebulaDrift {
  0% { filter: hue-rotate(0deg); opacity: 1; }
  50% { filter: hue-rotate(18deg); opacity: 0.85; }
  100% { filter: hue-rotate(-12deg); opacity: 1; }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 15% 20%, rgba(220, 200, 255, 0.55) 0%, transparent 100%),
    radial-gradient(1px 1px at 42% 65%, rgba(200, 180, 255, 0.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 68% 12%, rgba(210, 190, 255, 0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 82% 48%, rgba(220, 200, 255, 0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 27% 88%, rgba(200, 180, 255, 0.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 33%, rgba(215, 195, 255, 0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 75%, rgba(210, 190, 255, 0.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 8% 55%, rgba(220, 200, 255, 0.4) 0%, transparent 100%);
  background-size: 300px 300px;
  animation: starScroll 60s linear infinite;
  opacity: 0.7;
}

@keyframes starScroll {
  from { background-position: 0 0; }
  to { background-position: 300px 300px; }
}

#portalRoot {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
}

body.page-game #portalRoot {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

body.page-game {
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

body.page-game #mainArea {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

body.page-game #gameCentre {
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

body.page-game #gameWrap {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

body.page-game.game-playing {
  --header-h: 48px;
  --footer-h: 0px;
}

body.page-game.game-playing #footer {
  display: none;
}

body.page-game.game-playing #siteName {
  font-size: 17px;
}

body.page-game.game-playing::before,
body.page-game.game-playing::after {
  animation: none !important;
  opacity: 0.3;
}

/* Header & nav */

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(8, 0, 26, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

#siteName {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(192, 128, 255, 0.6);
  white-space: nowrap;
  letter-spacing: 1px;
  flex-shrink: 0;
}

#siteNameLink {
  text-decoration: none;
  color: inherit;
}

#siteNameLink:hover #siteName {
  color: #e0b0ff;
}

#siteNav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

#siteNav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 7px 12px;
  border-radius: 50px;
  color: var(--txt-mid);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--txt-hi);
  background: rgba(100, 40, 200, 0.35);
}

#headerBtns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.hdr-btn {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 7px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: rgba(40, 10, 90, 0.5);
  color: var(--txt-mid);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.hdr-btn:hover {
  background: rgba(100, 40, 200, 0.45);
  border-color: var(--accent);
  color: var(--txt-hi);
  box-shadow: 0 0 14px rgba(160, 80, 255, 0.35);
}

/* Main layout */

#mainArea {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
}

body.page-scroll #mainArea {
  overflow: visible;
  min-height: auto;
}

.sidebar {
  position: fixed;
  top: var(--header-h);
  bottom: var(--footer-h);
  width: var(--sidebar-w);
  max-width: var(--sidebar-w);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--ad-stack-gap);
  padding: 14px 6px;
  background: rgba(8, 0, 26, 0.45);
  overflow: hidden;
  min-height: 0;
  box-sizing: border-box;
}

#leftSidebar {
  left: 0;
  border-right: 1px solid var(--border-lo);
}

#rightSidebar {
  right: 0;
  border-left: 1px solid var(--border-lo);
}

.content-centre {
  flex: 1;
  width: 100%;
  max-width: calc(100% - var(--sidebar-w) * 2);
  margin: 0 auto;
  padding: 24px 20px 32px;
  min-width: 0;
}

body.page-scroll .content-centre {
  max-width: min(var(--content-max), calc(100% - var(--sidebar-w) * 2 - 40px));
}

/* Footer */

#footer {
  height: var(--footer-h);
  border-top: 1px solid var(--border-lo);
  background: rgba(8, 0, 26, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-size: 12px;
  color: var(--txt-dim);
  flex-shrink: 0;
}

#footer a {
  color: var(--txt-dim);
  text-decoration: none;
  transition: color 0.2s;
}

#footer a:hover {
  color: var(--accent);
}

#footerLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

/* Ad slots */

.ad-fallback {
  min-height: 50px;
  min-width: 160px;
  background: rgba(180, 100, 255, 0.04);
  border-radius: 4px;
}

.ad-slot {
  position: relative;
  width: 160px;
  flex-shrink: 0;
  border: 1px solid var(--border-lo);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(25, 6, 60, 0.8);
}

.sidebar .ad-slot.sz-tall {
  flex: 0 0 var(--ad-tall-h);
  width: 160px;
  height: var(--ad-tall-h);
  min-height: 0;
  max-height: var(--ad-tall-h);
}

.sidebar .ad-slot.sz-banner {
  flex: 0 0 var(--ad-ban-h);
  width: 160px;
  height: var(--ad-ban-h);
  min-height: 0;
  max-height: var(--ad-ban-h);
}

.sidebar .ad-rotator,
.sidebar .ad-frame {
  width: 100%;
  height: 100%;
}

.sidebar .ad-frame iframe {
  width: 160px !important;
  height: 100% !important;
  max-width: 100%;
}

.ad-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--txt-dim);
  z-index: 5;
  pointer-events: none;
  text-transform: uppercase;
}

.ad-rotator {
  position: relative;
  width: 100%;
  height: 100%;
}

.ad-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.ad-frame.active {
  opacity: 1;
}

.ad-frame iframe {
  display: block;
  border: none;
  max-width: 100%;
}

.ad-dots {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 4;
}

.ad-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s;
}

.ad-dot.on {
  background: var(--accent);
}

#belowGame {
  width: 100%;
  flex-shrink: 0;
  height: var(--below-h);
  border-top: 1px solid var(--border-lo);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: rgba(8, 0, 26, 0.55);
  padding: 0 12px;
  box-sizing: border-box;
}

#belowGame .ad-slot {
  width: min(728px, 100%);
  max-width: 100%;
  height: 90px;
  min-height: 90px;
  max-height: 90px;
  flex: 0 0 auto;
  margin: 0 auto;
  border-radius: 6px;
}

#belowGame .ad-rotator,
#belowGame .ad-frame {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#belowGame .ad-frame iframe {
  display: block;
  margin: 0 auto;
}

/* Game embed shell */

#gameCentre {
  flex: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
}

#gameWrap {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #171918;
}

#gameWrap iframe {
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  touch-action: manipulation;
}

.game-sound-unlock {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 5;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(12, 8, 28, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #e9d5ff;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  pointer-events: auto;
}

#gamePlaceholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 0, 28, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
}

#gamePlaceholder .ph-icon {
  font-size: 48px;
  opacity: 0.35;
}

#gamePlaceholder .ph-text {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  color: var(--txt-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

#gameLoadError {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 6;
  background: rgba(10, 0, 28, 0.92);
  color: var(--txt-mid);
  padding: 24px;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

#gameLoadError.visible {
  display: flex;
}

#gameLoadError strong {
  color: var(--txt-hi);
  font-family: "Playfair Display", serif;
  font-size: 18px;
}

#gameLoadError button {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: rgba(40, 10, 90, 0.5);
  color: var(--txt-mid);
  cursor: pointer;
}

/* Hub & content components */

.page-hero {
  text-align: center;
  margin-bottom: 32px;
}

.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1.15;
}

.page-hero .lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--txt-mid);
  max-width: 640px;
  margin: 0 auto 12px;
}

.breadcrumbs {
  font-size: 12px;
  color: var(--txt-dim);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--txt-mid);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs span[aria-current] {
  color: var(--txt-hi);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--txt-hi);
  margin-bottom: 18px;
  text-align: center;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.game-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-lo);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.game-card:hover {
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(100, 40, 200, 0.2);
}

.game-card-thumb {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(100, 40, 200, 0.45) 0%, transparent 70%),
    rgba(20, 5, 50, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border-lo);
}

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

.game-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.game-card-body h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--txt-hi);
}

.game-card-body p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--txt-mid);
  flex: 1;
}

.game-card-play {
  display: inline-block;
  text-align: center;
  margin-top: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(100, 40, 200, 0.45);
  border: 1.5px solid var(--border);
  color: var(--txt-hi);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.game-card-play:hover {
  background: rgba(140, 60, 220, 0.55);
  box-shadow: 0 0 14px rgba(160, 80, 255, 0.35);
}

.game-card-play.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.game-card-play.game-card-secondary {
  margin-left: 8px;
  background: rgba(60, 40, 120, 0.35);
}

.game-card-meta {
  font-size: 12px;
  color: var(--txt-mid);
  margin: 4px 0;
}

.status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
  background: rgba(120, 120, 140, 0.25);
  color: var(--txt-mid);
}

.status-badge.status-available {
  background: rgba(40, 120, 80, 0.25);
  color: #9fd4b0;
}

.hdr-btn-primary {
  background: rgba(100, 40, 200, 0.55) !important;
}

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

.guide-list {
  list-style: none;
  padding: 0;
}

.guide-list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-lo);
}

.guide-list a {
  font-weight: 600;
}

.content-block {
  background: var(--panel-bg);
  border: 1px solid var(--border-lo);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.content-block h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.content-block p,
.content-block li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--txt-mid);
  margin-bottom: 10px;
}

.content-block ul,
.content-block ol {
  padding-left: 1.25rem;
  margin-bottom: 12px;
}

.content-block a {
  color: var(--accent);
}

.content-block a:hover {
  color: var(--txt-hi);
}

.content-block table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: 0.9rem;
}

.content-block th,
.content-block td {
  border: 1px solid var(--border-lo);
  padding: 8px 10px;
  text-align: left;
  color: var(--txt-mid);
}

.content-block th {
  color: var(--txt-hi);
  background: rgba(40, 10, 90, 0.35);
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  font-size: 1rem;
  color: var(--txt-hi);
  margin-bottom: 6px;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  color: var(--txt-mid);
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-lo);
  background: rgba(20, 5, 50, 0.8);
  color: var(--txt-hi);
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-primary {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: rgba(100, 40, 200, 0.45);
  color: var(--txt-hi);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary:hover {
  background: rgba(140, 60, 220, 0.55);
}

.game-seo-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 16px 28px;
  flex-shrink: 0;
}

.game-seo-content .content-block {
  margin-bottom: 0;
}

.content-collapsible {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 12px;
  border: 1px solid var(--border-lo);
  border-radius: var(--radius);
  background: var(--panel-bg);
}

.content-collapsible summary {
  cursor: pointer;
  padding: 12px 16px;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  list-style: none;
  user-select: none;
}

.content-collapsible summary::-webkit-details-marker {
  display: none;
}

.content-collapsible summary::after {
  content: " ▾";
  font-size: 0.85em;
  color: var(--txt-dim);
}

.content-collapsible[open] summary::after {
  content: " ▴";
}

.content-collapsible .content-block {
  border: none;
  border-top: 1px solid var(--border-lo);
  border-radius: 0;
  margin: 0;
}

.page-summary {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--txt-mid);
  max-width: 800px;
  margin: 0 auto 16px;
  padding: 0 16px;
  text-align: center;
}

.game-page-intro {
  width: 100%;
  flex-shrink: 0;
  padding: 12px 0 8px;
}

.game-page-intro .breadcrumbs {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.game-page-intro h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--accent);
  text-align: center;
  margin-bottom: 8px;
}

.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.internal-links a {
  font-size: 0.85rem;
  color: var(--txt-mid);
}

/* Interstitial */

#interstitial {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at 50% 45%, rgba(50, 10, 110, 0.85) 0%, rgba(4, 0, 14, 0.97) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

#interstitial.fading {
  opacity: 0;
  pointer-events: none;
}

#interstitialBox {
  width: 700px;
  max-width: 94vw;
  background: rgba(14, 3, 36, 0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(100, 40, 200, 0.3);
}

#interstitialAdLabel {
  text-align: center;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--txt-dim);
  padding: 10px 0 6px;
  border-bottom: 1px solid var(--border-lo);
}

#interstitialAdContent {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#interstitialSkipBar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-top: 1px solid var(--border-lo);
  background: rgba(8, 0, 22, 0.6);
}

#skipBtn {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: rgba(40, 10, 90, 0.5);
  color: var(--txt-mid);
  cursor: pointer;
  opacity: 0.25;
  pointer-events: none;
}

#skipBtn.ready {
  opacity: 1;
  pointer-events: all;
  border-color: var(--accent);
  color: var(--txt-hi);
}

/* Responsive */

@media (max-width: 960px) {
  .sidebar {
    display: none;
  }
  .content-centre {
    max-width: 100%;
  }
  :root {
    --below-h: 72px;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-w: 0px;
    --below-h: 72px;
  }
  body.page-game.game-playing {
    --header-h: 44px;
    --below-h: 72px;
  }
  #siteNav {
    justify-content: flex-start;
  }
  body.page-game.game-active #gameWrap {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh !important;
    z-index: 1000;
  }
  body.page-game.game-active #gameWrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  body.page-game.game-active #leftSidebar,
  body.page-game.game-active #rightSidebar,
  body.page-game.game-active #belowGame,
  body.page-game.game-active #header,
  body.page-game.game-active .game-seo-content {
    display: none !important;
  }
  body.page-game.game-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
}

@media (max-width: 750px) {
  :root {
    --below-h: 52px;
  }
  #belowGame .ad-slot {
    width: 320px;
    max-width: calc(100% - 16px);
    height: 50px;
    min-height: 50px;
    max-height: 50px;
  }
}

@media (max-width: 640px) {
  #header {
    padding: 0 10px;
    gap: 8px;
  }
  #siteName {
    font-size: 16px;
  }
  .nav-link {
    padding: 6px 10px;
    font-size: 11px;
  }
  .hdr-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
}
