@font-face {
  font-family: "ABZ Poppins";
  src: url("/fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABZ Poppins";
  src: url("/fonts/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABZ Poppins";
  src: url("/fonts/Poppins-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABZ Display";
  src: url("/fonts/Poppins-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --abz-shell-ink: #090910;
  --abz-shell-ink-soft: #141420;
  --abz-shell-cream: #fbf8ef;
  --abz-shell-cream-deep: #f5f1e7;
  --abz-shell-pink: #f442a9;
  --abz-shell-purple: #8c64f5;
  --abz-shell-blue: #277eea;
  --abz-shell-text: #20202d;
  --abz-shell-muted: #686879;
  --abz-shell-max: 1320px;
  --abz-shell-game-max: 1160px;
}

html:has(body.abz-game-shell-page) {
  min-width: 0 !important;
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: smooth;
}

body.abz-game-shell-page {
  min-width: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  color: var(--abz-shell-text);
  background: var(--abz-shell-cream);
  font-family: "ABZ Poppins", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

#abzGamePageShell.abz-game-page-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#abzGamePageShell *,
#abzGamePageShell *::before,
#abzGamePageShell *::after {
  box-sizing: border-box;
}

.abz-shell-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 6px;
  color: #090910;
  background: #fff;
  font: 800 13px/1 "ABZ Poppins", sans-serif;
  transform: translateY(-160%);
}

.abz-shell-skip:focus { transform: translateY(0); }

body.abz-game-shell-page > #header-container,
body.abz-game-shell-page > #abzGameTopper,
body.abz-game-shell-page > #prpTopper,
body.abz-game-shell-page > .resource_directions,
body.abz-game-shell-page > #gameDescription,
body.abz-game-shell-page > #similar-games-section,
body.abz-game-shell-page > #footer-container,
body.abz-game-shell-page > #footer-placeholder,
body.abz-game-shell-page > ins.adsbygoogle,
body.abz-game-shell-page #ef_app > .resource_directions,
body.abz-game-shell-page #ef_app > #gameDescription,
body.abz-game-shell-page #ef_app > #similar-games-section,
body.abz-game-shell-page #ef_app > #footer-container {
  display: none !important;
}

.abz-shell-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: #fff;
  background: rgba(12,12,16,.98);
}

body.abz-game-shell-page #abzGamePageHeader.abz-shell-header {
  color: #fff !important;
  background: rgba(12,12,16,.98) !important;
  border-color: rgba(255,255,255,.09) !important;
}

body.abz-game-shell-page #abzGamePageHeader .abz-shell-brand-text,
body.abz-game-shell-page #abzGamePageHeader .abz-shell-primary a,
body.abz-game-shell-page #abzGamePageHeader .abz-shell-account a,
body.abz-game-shell-page #abzGamePageHeader .abz-shell-account-name,
body.abz-game-shell-page #abzGamePageHeader .abz-shell-account-button {
  color: #fff !important;
}

body.abz-game-shell-page #abzGamePageHeader .abz-shell-signup {
  background: var(--abz-shell-pink) !important;
}

.abz-shell-nav {
  width: min(var(--abz-shell-max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
}

.abz-shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.abz-shell-brand-logo {
  width: 34px;
  height: 45px;
  display: block;
  flex: none;
  object-fit: contain;
  background: transparent;
}

.abz-shell-brand-text {
  font: 900 20px/1 "ABZ Display", "Arial Narrow", sans-serif;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.abz-shell-primary,
.abz-shell-account {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 30px);
}

.abz-shell-primary { justify-content: center; }
.abz-shell-account { justify-content: flex-end; gap: 8px; }

.abz-shell-primary a,
.abz-shell-account a {
  color: #d2d1d9;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.abz-shell-primary a:hover,
.abz-shell-account a:not(.abz-shell-signup):hover { color: #fff; }

.abz-shell-account a { padding: 10px 8px; }

.abz-shell-account-name {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.abz-shell-account-button {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px;
  color: #d2d1d9;
  background: transparent;
  font: 800 11px/1.2 "ABZ Poppins", sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
}

.abz-shell-account-button:hover { color: #fff; background: rgba(255,255,255,.08); }

.abz-shell-account .abz-shell-signup {
  padding: 12px 18px;
  border-radius: 5px;
  color: #fff;
  background: var(--abz-shell-pink);
  box-shadow: 0 10px 24px rgba(244,66,169,.22);
}

.abz-shell-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.06);
  font: 800 20px/1 sans-serif;
  cursor: pointer;
}

.abz-shell-mobile-menu { display: none; }
.abz-shell-mobile-account { display: contents; }
.abz-shell-mobile-account strong {
  padding: 12px;
  color: #fff;
  font-size: 13px;
}
.abz-shell-mobile-account button {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 7px;
  color: #d4d4dc;
  background: transparent;
  font: 800 12px/1.2 "ABZ Poppins", sans-serif;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.abz-shell-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #07070e;
}

.abz-shell-hero::before,
.abz-shell-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(38vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(115px);
  opacity: .34;
}

.abz-shell-hero::before {
  top: -38%;
  right: 5%;
  background: var(--abz-shell-pink);
}

.abz-shell-hero::after {
  left: -2%;
  bottom: -58%;
  background: #078fe8;
}

.abz-shell-hero-inner {
  width: min(var(--abz-shell-max), calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 34px;
}

.abz-shell-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  color: #858592;
  font-size: 12px;
  font-weight: 600;
}

.abz-shell-breadcrumbs a { color: inherit; text-decoration: none; }
.abz-shell-breadcrumbs a:hover { color: #fff; }
.abz-shell-breadcrumbs [aria-current="page"] { color: #ceced7; }

.abz-shell-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr);
  align-items: center;
  gap: clamp(26px, 4vw, 54px);
}

.abz-shell-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 13px;
}

.abz-shell-pill {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.21);
  border-radius: 999px;
  color: #d3d3dd;
  background: rgba(255,255,255,.07);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.abz-shell-pill:first-child {
  border-color: transparent;
  color: #fff;
  background: var(--abz-shell-pink);
}

.abz-shell-title {
  max-width: 880px;
  margin: 0 0 12px;
  color: #fff;
  font: 900 clamp(36px, 4.2vw, 58px)/.98 "ABZ Display", Impact, "Arial Narrow", sans-serif;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-wrap: balance;
}

.abz-shell-tagline {
  max-width: 700px;
  margin: 0 0 19px;
  color: #bebecb;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 500;
  line-height: 1.5;
}

.abz-shell-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.abz-shell-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 26px;
  border: 1.5px solid rgba(255,255,255,.32);
  border-radius: 0;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
  color: #fff;
  background: rgba(255,255,255,.08);
  font: 800 14px/1.2 "ABZ Poppins", sans-serif;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.abz-shell-cta:hover { border-color: #fff; background: rgba(255,255,255,.13); }
.abz-shell-cta:focus-visible { outline: 3px solid #ffd85c; outline-offset: 4px; }

.abz-shell-cover {
  position: relative;
  width: min(100%, 310px);
  justify-self: end;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: linear-gradient(145deg, #241128, #111421 55%, #112c42);
  box-shadow: 0 28px 70px rgba(0,0,0,.36);
}

.abz-shell-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.abz-shell-cover > .abz-shell-cover-art {
  position: relative;
  z-index: 1;
}

.abz-shell-cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.abz-shell-cover-fallback img {
  width: 62px;
  height: 82px;
  display: block;
  object-fit: contain;
  opacity: .82;
}

.abz-shell-play {
  position: relative;
  z-index: 1;
  padding: 36px 20px 48px;
  background: #080811;
}

.abz-shell-game-frame {
  width: min(var(--abz-shell-game-max), 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 12px;
  background: #0b0b15;
  box-shadow: 0 32px 72px -24px rgba(0,0,0,.72);
}

.abz-shell-game-toolbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 14px 9px 17px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #aaaab7;
  background: #141420;
  font-size: 12px;
  font-weight: 700;
}

.abz-shell-toolbar-actions { display: flex; align-items: center; gap: 6px; }

.abz-shell-tool {
  width: 34px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: #bdbdc8;
  background: transparent;
  font: 700 17px/1 sans-serif;
  cursor: pointer;
}

.abz-shell-tool:hover { color: #fff; background: rgba(255,255,255,.08); }
.abz-shell-tool:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

.abz-shell-game-stage {
  position: relative;
  width: 100%;
  height: min(900px, calc(100dvh - 96px));
  min-height: 600px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  overscroll-behavior-inline: contain;
  background: repeating-linear-gradient(135deg, #090913, #090913 14px, #0d0d19 14px, #0d0d19 28px);
}

.abz-shell-scroll-controls {
  position: sticky;
  top: calc(50% - 64px);
  z-index: 60;
  width: 100%;
  height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-right: 18px;
  pointer-events: none;
}

.abz-shell-scroll-arrow {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff3ca6, #7b35ee);
  box-shadow: 0 9px 30px rgba(0,0,0,.42), 0 0 0 7px rgba(255,60,166,.16);
  font: 1000 29px/1 sans-serif;
  cursor: pointer;
  pointer-events: auto;
  animation: abzShellArrowPulse 1.05s ease-in-out infinite;
}

.abz-shell-scroll-up { --abz-arrow-shift: -5px; }
.abz-shell-scroll-down { --abz-arrow-shift: 5px; }
.abz-shell-scroll-arrow[hidden] { display: none !important; }
.abz-shell-scroll-arrow:focus-visible { outline: 3px solid #ffed00; outline-offset: 4px; }

@keyframes abzShellArrowPulse {
  0%, 100% { transform: translateY(0) scale(1); filter: brightness(1); }
  50% { transform: translateY(var(--abz-arrow-shift, 4px)) scale(1.08); filter: brightness(1.18); }
}

.abz-shell-game-fit {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  overflow: visible;
}

.abz-shell-game-fit > * {
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Local games are responsive applications, not fixed posters. Their root and
   current screen own the full player area; individual controls may still use
   readable max-width containers inside that screen. */
#abzShellGameFit > .abz-shell-responsive-game-root {
  width: 100% !important;
  max-width: none !important;
  min-height: var(--abz-game-stage-height, 600px) !important;
  margin: 0 !important;
  transform: none !important;
}

.abz-shell-responsive-game-root .abz-shell-active-screen {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.abz-shell-game-fit > iframe {
  width: 100% !important;
  min-height: 680px;
  display: block;
  border: 0 !important;
}

.abz-shell-game-frame:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: #080811;
}

.abz-shell-game-frame:fullscreen .abz-shell-game-stage {
  height: calc(100vh - 48px);
  overflow: auto;
}

.abz-shell-assignment-panel,
.abz-shell-assignment-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(90deg, #152442, #272150 56%, #47213e);
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: "ABZ Poppins", sans-serif;
}

.abz-shell-assignment-panel strong,
.abz-shell-assignment-panel span { display: block; }
.abz-shell-assignment-panel strong { font-size: 13px; }
.abz-shell-assignment-panel span { margin-top: 2px; color: #c9c8d8; font-size: 11px; }
.abz-shell-assignment-panel button {
  flex: none;
  min-height: 38px;
  padding: 9px 15px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--abz-shell-pink);
  font: 800 11px/1.2 "ABZ Poppins", sans-serif;
  cursor: pointer;
}
.abz-shell-assignment-panel button:disabled { opacity: .7; cursor: wait; }
.abz-shell-assignment-notice { justify-content: center; color: #d1fae5; background: #12382d; font-size: 12px; font-weight: 800; text-align: center; }
.abz-shell-assignment-notice.is-error { color: #fee2e2; background: #4a1820; }

@media (max-width: 640px) {
  .abz-shell-assignment-panel { align-items: stretch; flex-direction: column; }
  .abz-shell-assignment-panel button { width: 100%; }
}

.abz-shell-about {
  padding: clamp(62px, 8vw, 96px) 20px;
  background: var(--abz-shell-cream);
}

.abz-shell-about-inner {
  width: min(var(--abz-shell-game-max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .95fr);
  gap: clamp(38px, 6vw, 66px);
}

.abz-shell-heading {
  margin: 0;
  color: #0a0a12;
  font: 900 clamp(29px, 3vw, 38px)/1.04 "ABZ Display", Impact, sans-serif;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.abz-shell-about-copy {
  margin: 19px 0 35px;
  color: #4e4e5c;
  font-size: 15.5px;
  line-height: 1.78;
}

.abz-shell-subheading {
  margin: 0 0 17px;
  color: #111118;
  font: 900 20px/1.1 "ABZ Display", sans-serif;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.abz-shell-checks,
.abz-shell-how-list { margin: 0; padding: 0; list-style: none; }

.abz-shell-checks { display: grid; gap: 11px; }
.abz-shell-checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: #3f3f4b; font-size: 14.5px; line-height: 1.55; }
.abz-shell-checks li::before { content: "✓"; color: var(--abz-shell-blue); font-weight: 900; }

.abz-shell-about-side { display: grid; align-content: start; gap: 22px; }

.abz-shell-card {
  padding: 27px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(29,25,44,.06);
}

.abz-shell-skill-list { display: flex; flex-wrap: wrap; gap: 8px; }

.abz-shell-skill {
  padding: 7px 12px;
  border-radius: 999px;
  color: #40404e;
  background: #f1eff6;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.25;
}

.abz-shell-card.abz-shell-how {
  color: #fff;
  background: #08080f;
  box-shadow: none;
}

.abz-shell-how .abz-shell-subheading { color: #fff; }
.abz-shell-how-list { display: grid; gap: 17px; }
.abz-shell-how-list li { display: grid; grid-template-columns: 30px 1fr; align-items: start; gap: 13px; color: #c1c1cc; font-size: 13.5px; line-height: 1.55; }
.abz-shell-step-number { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--abz-shell-pink); font-weight: 800; }

.abz-shell-related {
  padding: clamp(60px, 8vw, 88px) 20px;
  background: var(--abz-shell-cream-deep);
}

.abz-shell-related-inner { width: min(var(--abz-shell-max), 100%); margin: 0 auto; }
.abz-shell-related-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.abz-shell-related-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(32,32,45,.07);
  border-radius: 13px;
  color: var(--abz-shell-text);
  background: #fff;
  box-shadow: 0 6px 24px rgba(29,25,44,.06);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.abz-shell-related-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(29,25,44,.11); }
.abz-shell-related-image { position: relative; height: 142px; overflow: hidden; background: #151522; }
.abz-shell-related-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.abz-shell-related-category { position: absolute; top: 10px; left: 10px; max-width: calc(100% - 20px); overflow: hidden; padding: 5px 9px; border-radius: 4px; color: #fff; background: rgba(9,9,15,.84); font-size: 9px; font-weight: 800; line-height: 1.2; letter-spacing: .025em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.abz-shell-related-copy { padding: 15px 16px 18px; }
.abz-shell-related-copy h3 { margin: 0 0 7px; color: #111119; font: 900 15px/1.18 "ABZ Display", sans-serif; letter-spacing: -.025em; text-transform: uppercase; }
.abz-shell-related-copy p { margin: 0; color: #686876; font-size: 11.5px; line-height: 1.52; }

.abz-shell-footer {
  padding: 52px 20px 26px;
  color: #fff;
  background: #050508;
}

.abz-shell-footer-grid {
  width: min(var(--abz-shell-max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 34px;
}

.abz-shell-footer .abz-shell-brand { margin-bottom: 13px; }
.abz-shell-footer-tagline { max-width: 270px; margin: 0; color: #777784; font-size: 13px; line-height: 1.65; }
.abz-shell-footer-heading { margin: 0 0 15px; color: #767683; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.abz-shell-footer-links { display: grid; gap: 10px; }
.abz-shell-footer-links a { color: #b9b9c3; font-size: 13px; font-weight: 500; text-decoration: none; }
.abz-shell-footer-links a:hover { color: #fff; }
.abz-shell-footer-bottom { width: min(var(--abz-shell-max), 100%); margin: 38px auto 0; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.08); color: #60606c; font-size: 12px; }

@media (max-width: 1050px) {
  .abz-shell-primary { display: none; }
  .abz-shell-nav { grid-template-columns: auto 1fr auto; }
  .abz-shell-account { justify-self: end; }
  .abz-shell-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .abz-shell-nav { width: min(100% - 28px, var(--abz-shell-max)); min-height: 66px; grid-template-columns: auto 1fr auto; }
  .abz-shell-brand-text { font-size: 18px; }
  .abz-shell-account { display: none; }
  .abz-shell-menu-button { display: grid; justify-self: end; }
  .abz-shell-mobile-menu[data-open="true"] { display: grid; gap: 4px; padding: 8px 14px 16px; border-top: 1px solid rgba(255,255,255,.08); background: #0c0c12; }
  .abz-shell-mobile-menu a { padding: 12px; border-radius: 7px; color: #d4d4dc; font-size: 12px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
  .abz-shell-mobile-menu a:hover { color: #fff; background: rgba(255,255,255,.07); }
  .abz-shell-hero-inner { width: min(100% - 32px, var(--abz-shell-max)); padding: 20px 0 28px; }
  .abz-shell-hero-grid { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .abz-shell-cover { width: min(100%, 260px); justify-self: start; order: -1; aspect-ratio: 16/9; }
  .abz-shell-title { font-size: clamp(34px, 9vw, 46px); }
  .abz-shell-tagline { font-size: 14px; }
  .abz-shell-play { padding: 24px 10px 32px; }
  .abz-shell-game-frame { border-radius: 9px; }
  .abz-shell-scroll-controls { padding-right: 10px; }
  .abz-shell-scroll-arrow { width: 48px; height: 48px; font-size: 25px; }
  .abz-shell-game-stage > iframe { min-height: 620px; }
  .abz-shell-about-inner { grid-template-columns: 1fr; }
  .abz-shell-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .abz-shell-brand-logo { width: 29px; height: 38px; }
  .abz-shell-brand-text { font-size: 16px; }
  .abz-shell-breadcrumbs { display: none; }
  .abz-shell-hero-inner { padding-top: 22px; }
  .abz-shell-cover { display: none; }
  .abz-shell-pill { padding: 6px 10px; font-size: 9px; }
  .abz-shell-cta { width: 100%; }
  .abz-shell-game-toolbar { padding-inline: 12px; }
  .abz-shell-related-grid { grid-template-columns: 1fr; }
  .abz-shell-related-image { height: 170px; }
  .abz-shell-footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.abz-game-shell-page) { scroll-behavior: auto; }
  .abz-shell-related-card { transition: none; }
  .abz-shell-scroll-arrow { animation: none; }
}

/* ABZ 2026 redesign theme.
   The game stage, fitting, responsive roots, and canvas sizing rules above
   intentionally remain untouched while the shared page chrome is restyled. */
:root {
  --abz-shell-ink: #08060d;
  --abz-shell-ink-soft: #0e0b18;
  --abz-shell-cream: #08060d;
  --abz-shell-cream-deep: #0b0813;
  --abz-shell-pink: #ff8cf0;
  --abz-shell-purple: #b43cff;
  --abz-shell-blue: #3cdcff;
  --abz-shell-text: #f3f0fa;
  --abz-shell-muted: #a8a1ba;
  --abz-shell-max: 1200px;
  --abz-shell-game-max: 1200px;
}

body.abz-game-shell-page {
  color: #f3f0fa;
  background: #08060d;
  font-family: "Instrument Sans", system-ui, sans-serif;
}

body.abz-game-shell-page #abzGamePageHeader.abz-shell-header {
  position: sticky;
  min-height: 68px;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  background: rgba(8,6,13,.78) !important;
  backdrop-filter: blur(16px);
}

.abz-shell-nav { min-height: 68px; }
.abz-shell-brand { gap: 11px; }
.abz-shell-brand-logo { width: 32px; height: 38px; }
.abz-shell-brand-text {
  color: #f3f0fa;
  font-family: "Space Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: none;
}
.abz-shell-primary a,
.abz-shell-account a,
.abz-shell-account-button {
  color: #b7b0c6 !important;
  font-family: "Instrument Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.abz-shell-account { gap: 12px; }
.abz-shell-account-name {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  color: #dcd6e9 !important;
  background: rgba(255,255,255,.04);
  font-size: 12.5px;
  font-weight: 600;
}
.abz-shell-account-button { border: 0; background: transparent; }
body.abz-game-shell-page #abzGamePageHeader .abz-shell-signup {
  padding: 10px 20px;
  border-radius: 10px;
  color: #fff !important;
  background: linear-gradient(115deg,#ff8cf0,#b43cff 55%,#7c3cff) !important;
  box-shadow: 0 6px 22px rgba(180,60,255,.35);
}

.abz-shell-hero {
  color: #f3f0fa;
  background: #08060d;
}
.abz-shell-hero::before {
  top: -120px;
  right: -60px;
  width: 640px;
  background: #b43cff;
  opacity: .28;
  filter: blur(120px);
}
.abz-shell-hero::after { background: #3cdcff; opacity: .12; }
.abz-shell-hero-inner { padding: 20px 0 26px; }
.abz-shell-breadcrumbs { margin-bottom: 14px; color: #8f88a3; font-size: 12.5px; }
.abz-shell-breadcrumbs [aria-current="page"] { color: #cfc8dd; }
.abz-shell-hero-grid { display: block; }
.abz-shell-pills { margin-bottom: 10px; gap: 8px; }
.abz-shell-pill {
  min-height: 29px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.12);
  color: #cfc8dd;
  background: rgba(255,255,255,.05);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.abz-shell-pill:first-child { background: linear-gradient(115deg,#ff8cf0,#b43cff); }
.abz-shell-title {
  max-width: 850px;
  margin-bottom: 8px;
  color: #f3f0fa;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px,4.2vw,48px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: none;
}
.abz-shell-title::first-line { color: #f3f0fa; }
.abz-shell-tagline { max-width: 820px; margin-bottom: 16px; color: #a8a1ba; font-size: clamp(14px,1.35vw,16px); line-height: 1.45; }
.abz-shell-cta {
  min-height: 42px;
  padding: 11px 21px;
  border: 0;
  border-radius: 12px;
  clip-path: none;
  color: #fff;
  background: linear-gradient(115deg,#ff8cf0,#b43cff 55%,#7c3cff);
  box-shadow: 0 10px 40px rgba(180,60,255,.4);
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.abz-shell-cover { display: none; }

.abz-shell-play { padding: 10px 40px 90px; background: #08060d; }
.abz-shell-game-frame { border-color: rgba(255,255,255,.1); border-radius: 20px; background: #0d0a16; box-shadow: 0 40px 100px rgba(0,0,0,.55); }
.abz-shell-game-toolbar { min-height: 52px; padding: 13px 20px; border-color: rgba(255,255,255,.07); color: #cfc8dd; background: #0d0a16; font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 600; }
.abz-shell-tool { color: #7c7590; }

.abz-shell-ad {
  padding: 26px 40px;
  color: #8f88a3;
  background: #08060d;
}
.abz-shell-ad-inner {
  width: min(100%, 1200px);
  min-height: 112px;
  margin: 0 auto;
  padding: 10px 14px 14px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
}
.abz-shell-ad-label {
  display: block;
  margin-bottom: 8px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 10px;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.abz-shell-ad .adsbygoogle { width: 100%; min-height: 78px; }

.abz-shell-about { padding: 0 40px 110px; color: #f3f0fa; background: #08060d; }
.abz-shell-about-inner { grid-template-columns: 1.3fr .7fr; gap: 40px; }
.abz-shell-heading {
  color: #f3f0fa;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px,3.4vw,42px);
  font-weight: 700;
  letter-spacing: -.03em;
  text-transform: none;
}
.abz-shell-about-copy { max-width: 680px; margin: 20px 0 40px; color: #a8a1ba; font-size: 17px; line-height: 1.7; }
.abz-shell-subheading { color: #f3f0fa; font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -.02em; text-transform: none; }
.abz-shell-checks { gap: 14px; }
.abz-shell-checks li { grid-template-columns: 22px 1fr; gap: 12px; color: #cfc8dd; font-size: 16px; }
.abz-shell-checks li::before { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: linear-gradient(135deg,#ff8cf0,#b43cff); font-size: 12px; }
.abz-shell-about-side { gap: 20px; }
.abz-shell-card { padding: 28px; border: 1px solid rgba(255,255,255,.08); border-radius: 22px; background: #0e0b18; box-shadow: none; }
.abz-shell-skill { padding: 8px 14px; border: 1px solid rgba(255,255,255,.1); color: #cfc8dd; background: rgba(255,255,255,.05); font-size: 13.5px; font-weight: 500; }
.abz-shell-card.abz-shell-how { background: linear-gradient(165deg,#160f28,#0c0916); }
.abz-shell-how-list li { color: #cfc8dd; font-size: 15px; }
.abz-shell-step-number { width: 30px; height: 30px; background: linear-gradient(135deg,#ff8cf0,#b43cff); }

.abz-shell-related { padding: 0 40px 110px; background: #08060d; }
.abz-shell-related .abz-shell-heading::after { content: " like this"; color: transparent; background: linear-gradient(115deg,#ff8cf0,#c37bff 42%,#3cdcff); background-clip: text; -webkit-background-clip: text; }
.abz-shell-related-grid { margin-top: 34px; gap: 20px; }
.abz-shell-related-card { overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; color: #f3f0fa; background: #0e0b18; box-shadow: none; }
.abz-shell-related-card:hover { border-color: rgba(255,140,240,.45); box-shadow: 0 18px 46px rgba(180,60,255,.28); }
.abz-shell-related-image { height: 172px; }
.abz-shell-related-category { padding: 4px 10px; border-radius: 999px; font-size: 10.5px; letter-spacing: .04em; }
.abz-shell-related-copy { padding: 18px 18px 20px; }
.abz-shell-related-copy h3 { color: #f3f0fa; font-family: "Space Grotesk", sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -.01em; text-transform: none; }
.abz-shell-related-copy p { color: #8f88a3; font-size: 14.5px; line-height: 1.5; }

.abz-shell-footer { padding: 70px 40px 40px; border-top: 1px solid rgba(255,255,255,.06); color: #f3f0fa; background: #08060d; }
.abz-shell-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.abz-shell-footer .abz-shell-brand-text { text-transform: none; }
.abz-shell-footer-tagline { color: #8f88a3; font-size: 15px; }
.abz-shell-footer-heading { color: #f3f0fa; font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.abz-shell-footer-links { gap: 12px; }
.abz-shell-footer-links a { color: #8f88a3; font-size: 15px; }
.abz-shell-footer-bottom { color: #6f6883; font-size: 13.5px; }

@media (max-width: 1000px) {
  .abz-shell-hero-grid,
  .abz-shell-about-inner { grid-template-columns: 1fr; }
  .abz-shell-related-grid { grid-template-columns: repeat(2,1fr); }
  .abz-shell-cover { display: none; }
}

@media (max-width: 720px) {
  .abz-shell-hero-inner { padding: 16px 0 22px; }
  .abz-shell-play,
  .abz-shell-about,
  .abz-shell-related { padding-left: 22px; padding-right: 22px; }
  .abz-shell-ad { padding: 20px 22px; }
  .abz-shell-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .abz-shell-related-grid,
  .abz-shell-footer-grid { grid-template-columns: 1fr; }
}
