:root {
  color-scheme: light;
  --ink: #221544;
  --muted: #66567a;
  --soft: #8a78a1;
  --panel: #ffffff;
  --panel-strong: #fff7fb;
  --line: rgba(79, 46, 120, 0.16);
  --page: #fff7df;
  --accent: #ff6b8f;
  --accent-2: #15c8b2;
  --accent-3: #ffd43b;
  --accent-4: #6c63ff;
  --shadow: 0 18px 44px rgba(91, 56, 158, 0.16);
  --page-gutter: clamp(1rem, 1.5vw, 1.5rem);
  --topbar-block: clamp(0.68rem, 1vw, 0.85rem);
  --topbar-gap: clamp(0.55rem, 1vw, 1rem);
  --brand-gap: clamp(0.48rem, 0.7vw, 0.65rem);
  --brand-mark-size: clamp(1.95rem, 2.1vw, 2.2rem);
  --brand-font-size: clamp(0.92rem, 1vw, 1rem);
  --nav-gap: clamp(0.28rem, 0.5vw, 0.4rem);
  --nav-button-height: clamp(2.25rem, 2.4vw, 2.55rem);
  --nav-button-x: clamp(0.68rem, 0.9vw, 0.9rem);
  --nav-font-size: clamp(0.86rem, 0.9vw, 0.95rem);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(255, 107, 143, 0.2), transparent 26rem),
    linear-gradient(250deg, rgba(21, 200, 178, 0.22), transparent 30rem),
    linear-gradient(180deg, #fff7df 0%, #fff1f8 48%, #edf9ff 100%),
    var(--page);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

button,
iframe {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.runtime-notice {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.7rem var(--page-gutter);
  border-bottom: 1px solid rgba(243, 203, 77, 0.45);
  background: #fff0b8;
  color: #563a00;
  font-size: 0.94rem;
}

.runtime-notice a {
  font-weight: 800;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--topbar-gap);
  padding: var(--topbar-block) var(--page-gutter);
  border-bottom: 1px solid rgba(110, 78, 160, 0.14);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--brand-gap);
  flex: 0 1 auto;
  min-width: 0;
  font-size: var(--brand-font-size);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

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

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: var(--brand-mark-size);
  height: var(--brand-mark-size);
  place-items: center;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  color: #23153c;
  box-shadow: 0 10px 24px rgba(255, 107, 143, 0.28);
}

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

.nav {
  display: flex;
  flex: 0 0 auto;
  gap: var(--nav-gap);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle:hover {
  border-color: rgba(255, 107, 143, 0.45);
  background: #fff;
}

.nav-link,
.control-button,
.primary-button,
.secondary-button {
  min-height: 2.55rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--nav-button-height);
  padding: 0 var(--nav-button-x);
  font-size: var(--nav-font-size);
  text-decoration: none;
  font-weight: 800;
}

.nav-link:hover,
.nav-link.is-active,
.control-button:hover,
.secondary-button:hover {
  border-color: rgba(255, 107, 143, 0.45);
  background: #fff;
}

.nav-link.is-active {
  color: #23143f;
  box-shadow: 0 10px 22px rgba(255, 107, 143, 0.12);
}

.play-stage {
  padding: clamp(1rem, 3vw, 2rem) var(--page-gutter) 0;
}

.arcade-layout {
  display: grid;
  grid-template-columns: minmax(26rem, 1fr) minmax(0, 56rem) minmax(26rem, 1fr);
  gap: clamp(0.75rem, 1.1vw, 1rem);
  align-items: start;
  justify-content: stretch;
  width: 100%;
  margin: 0;
}

.game-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 0.72rem;
  min-width: 0;
}

.rail-title {
  grid-column: 1 / -1;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.rail-title span {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rail-title strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 1.05rem;
}

.side-game {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(58, 37, 92, 0.12);
  border-radius: 0.42rem;
  background: #fff;
  color: #20143f;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.side-game:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(91, 56, 158, 0.2);
}

.side-game strong {
  display: block;
  overflow: hidden;
  padding: 0.36rem 0.42rem 0.4rem;
  color: #151515;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover-art {
  position: relative;
  display: block;
  aspect-ratio: 1.5;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
    var(--cover-bg);
}

.cover-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 17% 18%, rgba(255, 255, 255, 0.76) 0 0.45rem, transparent 0.48rem),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.64) 0 0.38rem, transparent 0.41rem),
    repeating-linear-gradient(-10deg, rgba(255, 255, 255, 0.18) 0 0.7rem, transparent 0.7rem 1.45rem);
  opacity: 0.7;
}

.cover-art::after {
  content: "Sprunki";
  position: absolute;
  left: 0.55rem;
  bottom: 0.42rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 2px 0 #23143f,
    2px 0 0 #23143f,
    -2px 0 0 #23143f;
  transform: rotate(-5deg);
}

.cover-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-art:has(.cover-image)::before,
.cover-art:has(.cover-image)::after {
  display: none;
}

.cover-character {
  position: absolute;
  z-index: 1;
  bottom: 0.8rem;
  width: 2.45rem;
  height: 3.1rem;
  border: 0.16rem solid rgba(35, 20, 63, 0.74);
  border-radius: 50% 50% 42% 42%;
  background: var(--char-bg);
  box-shadow: 0 0.35rem 0 rgba(35, 20, 63, 0.18);
}

.cover-character:first-child {
  left: 27%;
}

.cover-character:nth-child(2) {
  right: 18%;
  transform: scale(0.9);
}

.cover-character::before,
.cover-character::after {
  content: "";
  position: absolute;
  top: 0.8rem;
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 999px;
  background: #23143f;
}

.cover-character::before {
  left: 0.52rem;
}

.cover-character::after {
  right: 0.52rem;
}

.cover-orange {
  --cover-bg: linear-gradient(135deg, #ffd978, #ff8a4d 48%, #673ab7);
}

.cover-mint {
  --cover-bg: linear-gradient(135deg, #83fff0, #66e36a 48%, #1aa47f);
}

.cover-blue {
  --cover-bg: linear-gradient(135deg, #81d4ff, #6a7dff 52%, #2c1f5e);
}

.cover-pink {
  --cover-bg: linear-gradient(135deg, #ff8ec7, #f04476 52%, #401333);
}

.cover-yellow {
  --cover-bg: linear-gradient(135deg, #fff176, #ffb74d 52%, #3fc4d7);
}

.cover-purple {
  --cover-bg: linear-gradient(135deg, #d9b4ff, #8d5cff 52%, #15133f);
}

.cover-character-blue {
  --char-bg: #67d9ff;
}

.cover-character-yellow {
  --char-bg: #ffe65c;
}

.cover-character-pink {
  --char-bg: #ff72bf;
}

.cover-character-lime {
  --char-bg: #a6ff5a;
}

.cover-character-purple {
  --char-bg: #b58cff;
}

.cover-character-dark {
  --char-bg: #17151f;
}

.cover-character-red {
  --char-bg: #ff5b57;
}

.game-shell {
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 0.85rem;
  background: #000;
  box-shadow: var(--shadow);
}

.game-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 2.35rem;
  padding: 0.34rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(90deg, #fff, #fff4fb);
}

.game-title {
  min-width: 0;
}

.game-title strong,
.section-title strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.2;
}

.game-title span,
.section-title span,
.meta-row,
.card p,
.copy-block p,
.faq p {
  color: var(--muted);
}

.toolbar-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.42rem;
}

.control-button {
  display: grid;
  width: 2.25rem;
  min-height: 2.25rem;
  place-items: center;
  padding: 0;
}

.control-button svg {
  width: 1rem;
  height: 1rem;
}

.frame-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #000;
}

.frame-placeholder {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  gap: 0.7rem;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 212, 59, 0.2), transparent 16rem),
    linear-gradient(135deg, rgba(255, 107, 143, 0.18), rgba(21, 200, 178, 0.12)),
    #08070d;
}

.frame-placeholder.is-hidden {
  display: none;
}

.frame-placeholder.is-loading {
  cursor: progress;
}

.frame-placeholder .primary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 8rem;
  min-height: 3.25rem;
  margin: 0 auto;
  border: 0;
  font-size: 1.08rem;
  box-shadow: 0 18px 40px rgba(255, 107, 143, 0.28);
}

.frame-placeholder.is-loading .primary-button {
  pointer-events: none;
  opacity: 0.78;
}

.frame-placeholder.is-loading .primary-button::after {
  content: "...";
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 0.46rem solid transparent;
  border-bottom: 0.46rem solid transparent;
  border-left: 0.72rem solid currentColor;
}

.frame-placeholder span {
  font-size: 0.9rem;
}

.frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.eyebrow {
  width: fit-content;
  margin: 0 auto;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 107, 143, 0.36);
  border-radius: 999px;
  color: #a91550;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
}

h1 {
  margin: 0;
  font-size: 4.8rem;
  line-height: 0.95;
  letter-spacing: 0;
  color: #27134f;
  text-shadow: 0 4px 0 rgba(255, 212, 59, 0.36);
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  padding: 0 1rem;
  text-decoration: none;
  font-weight: 800;
}

.primary-button {
  border-color: transparent;
  color: #241444;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
}

.primary-button:hover {
  filter: brightness(1.04);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  min-width: min(100%, 28rem);
}

.stat {
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #fff, #fff0fb);
  box-shadow: 0 12px 30px rgba(255, 107, 143, 0.12);
}

.stat strong {
  display: block;
  font-size: 1rem;
}

.stat span {
  color: var(--soft);
  font-size: 0.82rem;
}

.content {
  padding: clamp(0.55rem, 1.5vw, 1rem) var(--page-gutter) 4rem;
}

.section {
  max-width: none;
  margin: 0;
  padding: clamp(2rem, 5vw, 4rem) 0 0;
}

.intro-section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.game-library-section {
  padding-top: clamp(1rem, 2vw, 1.4rem);
}

body[data-view="games"] [data-home-section] {
  display: none;
}

body[data-view="games"] .content {
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

body[data-view="games"] .game-library-section {
  padding-top: 0;
}

body[data-view="games"] .grid {
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
}

body[data-page="game"] .game-library-section {
  padding-top: clamp(1.5rem, 3vw, 2.4rem);
}

.seo-copy {
  display: grid;
  gap: 0.75rem;
  max-width: 68rem;
  margin-bottom: 1rem;
}

.seo-copy p {
  margin: 0;
  color: var(--muted);
}

.seo-copy h2 {
  margin: 0.65rem 0 -0.2rem;
  color: #27134f;
  font-size: 1.18rem;
  line-height: 1.2;
}

.seo-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-title h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.05;
}

.game-seo-title {
  margin: 0.12rem 0 0;
  max-width: 58rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  color: #27134f;
  text-shadow: 0 3px 0 rgba(255, 212, 59, 0.28);
}

.game-seo-description {
  max-width: 54rem;
  margin: 0.55rem 0 1rem;
  color: var(--muted);
  font-size: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.85rem;
}

.section .grid .side-game {
  min-width: 0;
}

.section .grid .cover-art {
  aspect-ratio: 1.55;
}

.section .grid .side-game strong {
  padding: 0.36rem 0.45rem 0.4rem;
  font-size: 0.76rem;
}

.card,
.copy-block,
.faq details {
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.card {
  padding: 1rem;
}

.card h3,
.copy-block h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.card p,
.copy-block p {
  margin: 0;
}

.game-card {
  display: grid;
  min-height: 11rem;
  align-content: end;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(135deg, #ffcf5a, #ff7a99 54%, #7c6cff);
  color: #fff;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(255, 255, 255, 0.28) 22% 24%, transparent 24% 48%, rgba(255, 255, 255, 0.2) 48% 50%, transparent 50%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0 0.55rem, transparent 0.55rem 1.1rem);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.7));
}

.game-card > * {
  position: relative;
}

.game-card p {
  color: rgba(255, 255, 255, 0.9);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.tag-list span {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  color: #241444;
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.copy-block {
  padding: 1.1rem;
}

.copy-block:nth-child(1) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 212, 59, 0.2));
}

.copy-block:nth-child(2) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(21, 200, 178, 0.18));
}

.copy-block:nth-child(3) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(108, 99, 255, 0.16));
}

.copy-block:nth-child(4) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 107, 143, 0.18));
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  padding: 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 0.65rem 0 0;
}

.footer {
  padding: 1.35rem var(--page-gutter);
  border-top: 1px solid rgba(110, 78, 160, 0.12);
  color: #6a5a80;
  background: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(13rem, 18rem) minmax(0, 1fr);
  align-items: start;
  gap: 1rem 2rem;
  width: 100%;
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  gap: 0.35rem;
}

.footer-brand strong {
  color: #27164a;
  font-weight: 900;
}

.footer-brand span {
  color: #6a5a80;
  font-size: 0.9rem;
  line-height: 1.45;
}

.footer-nav-groups {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 0.9rem 1.2rem;
}

.footer-group {
  display: grid;
  gap: 0.45rem;
}

.footer-group-title {
  color: #27164a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.42rem;
}

.seo-copy a,
.copy-block a {
  color: #3f2576;
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.18rem 0.56rem;
  border: 1px solid rgba(91, 56, 158, 0.12);
  border-radius: 999px;
  color: #3f2576;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.footer-links a:hover {
  border-color: rgba(255, 107, 143, 0.38);
  background: #fff;
}

@media (max-width: 1780px) {
  .arcade-layout {
    grid-template-columns: minmax(0, 56rem) minmax(26rem, 1fr);
  }

  .game-rail[data-game-list="left"] {
    display: none;
  }
}

@media (max-width: 1400px) {
  .arcade-layout {
    grid-template-columns: minmax(0, 58rem);
  }

  .game-rail[data-game-list="right"] {
    display: none;
  }
}

@media (max-width: 980px) {
  :root {
    --topbar-block: 0.62rem;
    --topbar-gap: 0.75rem;
    --brand-mark-size: 2rem;
    --brand-font-size: 0.94rem;
    --nav-button-height: 2.3rem;
    --nav-button-x: 0.72rem;
    --nav-font-size: 0.88rem;
  }

  h1 {
    font-size: 3.4rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .copy-grid {
    grid-template-columns: 1fr;
  }

  .seo-panel-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  :root {
    --page-gutter: 0.65rem;
    --topbar-block: 0.5rem;
    --topbar-gap: 0.5rem;
    --brand-gap: 0.42rem;
    --brand-mark-size: 1.78rem;
    --brand-font-size: 0.84rem;
    --nav-gap: 0.28rem;
    --nav-button-height: 2rem;
    --nav-button-x: 0.55rem;
    --nav-font-size: 0.8rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  .section-title h2 {
    font-size: 1.55rem;
  }

  .topbar {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .brand {
    width: 100%;
    padding-right: 3rem;
  }

  .menu-toggle {
    display: inline-flex;
    position: absolute;
    top: var(--topbar-block);
    right: var(--page-gutter);
    z-index: 2;
  }

  .nav {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    scrollbar-width: none;
    opacity: 0;
    transition:
      max-height 180ms ease,
      opacity 160ms ease;
  }

  .topbar.is-nav-open .nav {
    max-height: 12rem;
    opacity: 1;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    white-space: nowrap;
  }

  .play-stage {
    padding: 0.65rem 0.65rem 0;
  }

  .arcade-layout {
    gap: 0;
  }

  .game-rail {
    display: none;
  }

  .game-toolbar {
    align-items: center;
    flex-direction: row;
    min-height: 3rem;
    padding: 0.5rem 0.55rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav-groups {
    grid-template-columns: 1fr;
  }

  .game-title strong {
    font-size: 0.88rem;
  }

  .game-shell {
    height: auto;
    min-height: 0;
    border-width: 2px;
    border-radius: 0.65rem;
  }

  .toolbar-actions {
    width: auto;
    gap: 0.35rem;
  }

  .control-button {
    flex: 0 0 auto;
    width: 2.2rem;
    min-height: 2.2rem;
  }

  .frame-wrap {
    height: auto;
  }

  .side-game {
    min-height: 0;
  }

  .content {
    padding: 0.7rem 0.65rem 3rem;
  }

  .section {
    padding-top: 1.6rem;
  }

  .game-library-section {
    padding-top: 0.8rem;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  body[data-view="games"] .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section .grid .side-game strong {
    display: -webkit-box;
    min-height: 2.35rem;
    padding: 0.36rem 0.42rem 0.42rem;
    font-size: 0.74rem;
    line-height: 1.2;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .section .grid .cover-art {
    aspect-ratio: 1.48;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}
