:root {
  color-scheme: light;
  --ink: #18211d;
  --muted: #66746b;
  --paper: #fbfaf4;
  --panel: #ffffff;
  --line: #d8ddd2;
  --leaf: #2f8f5b;
  --leaf-dark: #1f6844;
  --mango: #f3b33d;
  --coral: #e95f4d;
  --sky: #78b7c6;
  --shadow: 0 18px 42px rgba(24, 33, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 30;
  padding: 10px 12px;
  color: #ffffff;
  background: var(--leaf-dark);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(251, 250, 244, 0.92);
  border-bottom: 1px solid rgba(216, 221, 210, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.game-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 1.26fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100svh - 68px);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 74px) 0 28px;
}

.game-introduction {
  max-width: 470px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.summary {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.55;
}

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

.flash-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  background: #d9efe8;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.flash-container[data-state="playing"] {
  background: #101713;
}

.game-poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(120, 183, 198, 0.58), rgba(251, 250, 244, 0.18)),
    radial-gradient(circle at 22% 24%, rgba(243, 179, 61, 0.65), transparent 18rem),
    #d6ead5;
}

.poster-art {
  position: absolute;
  inset: 0;
}

.sun {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--mango);
  box-shadow: 0 0 0 14px rgba(243, 179, 61, 0.18);
}

.branch {
  position: absolute;
  right: -8%;
  bottom: 22%;
  width: 78%;
  height: 28px;
  border-radius: 999px;
  background: #6e4b30;
  transform: rotate(-9deg);
  box-shadow: inset 0 -7px 0 rgba(0, 0, 0, 0.14);
}

.leaf {
  position: absolute;
  width: 160px;
  height: 76px;
  border-radius: 100% 0 100% 0;
  background: var(--leaf);
  opacity: 0.96;
}

.leaf-one {
  right: 8%;
  top: 16%;
  transform: rotate(24deg);
}

.leaf-two {
  left: -3%;
  bottom: 20%;
  background: #77a948;
  transform: rotate(-22deg);
}

.chameleon-body {
  position: absolute;
  right: 22%;
  bottom: 30%;
  width: 236px;
  height: 104px;
  border-radius: 58% 48% 46% 52%;
  background:
    radial-gradient(circle at 72% 30%, #f8f3df 0 6px, transparent 7px),
    linear-gradient(135deg, #49a366, #2b8150 58%, #236a45);
  box-shadow:
    inset -18px -18px 0 rgba(0, 0, 0, 0.12),
    0 14px 20px rgba(47, 104, 68, 0.22);
}

.chameleon-tail {
  position: absolute;
  right: 12%;
  bottom: 33%;
  width: 94px;
  height: 94px;
  border: 18px solid #2b8150;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.chameleon-eye {
  position: absolute;
  right: 32%;
  bottom: 41%;
  width: 18px;
  height: 18px;
  border: 5px solid #f8f3df;
  border-radius: 50%;
  background: var(--ink);
}

.bug {
  position: absolute;
  width: 20px;
  height: 14px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow:
    -9px -4px 0 rgba(255, 255, 255, 0.55),
    9px -4px 0 rgba(255, 255, 255, 0.55);
}

.bug-one {
  top: 34%;
  left: 36%;
}

.bug-two {
  top: 56%;
  left: 20%;
  background: #6b8ed6;
}

.poster-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
}

.play-game {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 180px;
  min-height: 58px;
  padding: 0 25px;
  color: #ffffff;
  background: var(--coral);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(93, 39, 31, 0.24);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 850;
}

.play-game:hover,
.play-game:focus-visible {
  background: #d94f3d;
  transform: translateY(-1px);
}

.game-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #101713;
}

.game-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.game-status {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.tool-button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
}

.tool-button:not(:disabled):hover,
.tool-button:not(:disabled):focus-visible {
  border-color: var(--leaf);
  color: var(--leaf-dark);
}

.tool-button:disabled {
  color: #9ca69e;
  cursor: not-allowed;
}

.content-band {
  padding: clamp(44px, 8vw, 88px) 16px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.content-band.muted {
  background:
    radial-gradient(circle at 16% 12%, rgba(184, 255, 156, 0.12), transparent 18rem),
    radial-gradient(circle at 86% 18%, rgba(186, 246, 255, 0.1), transparent 18rem),
    linear-gradient(180deg, #3b2e1f, #241c15);
  border-top-color: rgba(184, 255, 156, 0.16);
}

.content-inner {
  width: min(960px, 100%);
  margin: 0 auto;
}

.content-inner.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.content-inner h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.content-inner p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: #edf0e8;
  color: var(--leaf-dark);
  font-size: 0.92em;
}

.guide-section {
  padding: clamp(46px, 7vw, 84px) 16px;
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0.16), transparent 64px),
    radial-gradient(circle at 86% 12%, rgba(143, 255, 122, 0.11), transparent 17rem),
    linear-gradient(180deg, #443522, #3b2e1f);
  border-top: 1px solid rgba(185, 255, 161, 0.16);
}

.guide-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.guide-inner > h2 {
  margin-bottom: 28px;
  color: #ffffff;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: none;
}

.guide-copy + .guide-copy {
  margin-top: 26px;
}

.guide-copy h3 {
  margin-bottom: 16px;
  color: #b8ff9c;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.guide-copy p {
  max-width: 980px;
  margin-bottom: 20px;
  color: rgba(235, 239, 230, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.5;
}

.guide-copy ul {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding-left: 38px;
  color: rgba(235, 239, 230, 0.8);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.45;
}

.guide-copy li::marker {
  color: #baf6ff;
  font-size: 1.15em;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

#faq {
  color: rgba(235, 239, 230, 0.78);
}

.faq-list details {
  overflow: hidden;
  color: rgba(235, 239, 230, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 255, 156, 0.18);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(8, 7, 6, 0.18);
}

.faq-list details[open] {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(184, 255, 156, 0.3);
}

.faq-list summary {
  padding: 16px 18px;
  color: #f8ffe9;
  cursor: pointer;
  font-weight: 850;
}

.faq-list summary:hover,
.faq-list summary:focus-visible {
  color: #b8ff9c;
}

.faq-list summary::marker {
  color: #baf6ff;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: rgba(235, 239, 230, 0.76);
  line-height: 1.7;
}

#faq .eyebrow {
  color: #baf6ff;
}

#faq .content-inner h2 {
  color: #b8ff9c;
  text-shadow: 0 10px 30px rgba(184, 255, 156, 0.12);
}

#faq .content-inner p {
  color: rgba(235, 239, 230, 0.78);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  min-height: 70px;
  color: rgba(235, 239, 230, 0.68);
  background: #241c15;
  border-top: 1px solid rgba(184, 255, 156, 0.16);
}

.site-footer a {
  color: #b8ff9c;
  font-weight: 750;
}

.policy-page {
  min-height: calc(100svh - 158px);
  padding:
    clamp(38px, 7vw, 84px)
    max(18px, calc((100vw - 1020px) / 2));
  background:
    radial-gradient(circle at 16% 12%, rgba(184, 255, 156, 0.12), transparent 18rem),
    radial-gradient(circle at 84% 18%, rgba(186, 246, 255, 0.1), transparent 20rem),
    linear-gradient(180deg, #2d241a, #241c15);
}

.policy-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(24px, 4.5vw, 48px);
  color: rgba(235, 239, 230, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 255, 156, 0.18);
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(8, 7, 6, 0.2);
}

.policy-card .eyebrow {
  color: #baf6ff;
}

.policy-card h1 {
  margin-right: 0;
  margin-bottom: 18px;
  margin-left: 0;
  color: #b8ff9c;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 0.95;
  text-shadow: 0 10px 30px rgba(184, 255, 156, 0.12);
}

.policy-card h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  color: #f8ffe9;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.2;
}

.policy-card p {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(235, 239, 230, 0.78);
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 14px;
  }

  .game-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .game-introduction {
    max-width: 720px;
  }

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

@media (max-width: 560px) {
  .game-section {
    width: 100%;
    padding-top: 24px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .flash-container {
    min-height: 220px;
  }

  .sun {
    width: 64px;
    height: 64px;
  }

  .chameleon-body {
    right: 12%;
    bottom: 32%;
    width: 174px;
    height: 78px;
  }

  .chameleon-tail {
    right: 0;
    bottom: 35%;
    width: 74px;
    height: 74px;
    border-width: 14px;
  }

  .game-toolbar {
    align-items: stretch;
    flex-direction: column;
    justify-content: stretch;
  }

  .poster-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(260px, 100%);
  }

  .play-game {
    width: 100%;
  }

  .tool-button {
    flex: 1;
  }
}

/* Meccha Chameleon game shell */
body {
  background:
    radial-gradient(circle at 14% 10%, rgba(184, 255, 156, 0.12), transparent 20rem),
    radial-gradient(circle at 84% 16%, rgba(120, 183, 198, 0.16), transparent 22rem),
    linear-gradient(180deg, #221a13 0%, #2d241a 38%, #fbfaf6 78%);
  font-family:
    Outfit, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  justify-content: flex-start;
  min-height: 88px;
  padding: 0 clamp(18px, 5vw, 66px);
  background: rgba(34, 26, 19, 0.82);
  border-bottom: 1px solid rgba(184, 255, 156, 0.18);
  box-shadow: 0 10px 28px rgba(12, 10, 8, 0.22);
  backdrop-filter: blur(16px);
}

.brand {
  gap: 14px;
  color: #f8ffe9;
  font-size: 1.05rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  background: #f8ffe9;
  border: 1px solid rgba(184, 255, 156, 0.28);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(8, 7, 6, 0.18);
}

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

.brand-mark::before,
.brand-mark::after {
  display: none;
}

.language-switcher {
  position: relative;
  min-width: max-content;
  margin-left: auto;
  color: rgba(248, 255, 233, 0.78);
  flex: 0 0 auto;
}

.language-menu {
  position: relative;
}

.language-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: #f8ffe9;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 255, 156, 0.22);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 900;
  list-style: none;
  white-space: nowrap;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.language-menu[open] summary {
  color: #172033;
  background: #b8ff9c;
}

.language-menu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 25;
  display: grid;
  min-width: 190px;
  padding: 8px;
  background: rgba(34, 26, 19, 0.96);
  border: 1px solid rgba(184, 255, 156, 0.2);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(8, 7, 6, 0.28);
  backdrop-filter: blur(16px);
}

.language-options a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: rgba(248, 255, 233, 0.82);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 850;
  white-space: nowrap;
}

.language-options a:hover,
.language-options a:focus-visible {
  color: #b8ff9c;
  background: rgba(184, 255, 156, 0.1);
}

.language-options a[aria-current="true"] {
  color: #172033;
  background: #b8ff9c;
}

.game-section {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 30px);
  width: 100%;
  min-height: auto;
  box-sizing: border-box;
  padding:
    clamp(22px, 3.5vw, 36px)
    max(24px, calc((100vw - 1220px) / 2))
    clamp(28px, 5vw, 52px);
}

.hero-copy {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-copy .eyebrow {
  margin-bottom: 10px;
  color: #b8ff9c;
  letter-spacing: 0.16em;
}

.hero-copy h1 {
  margin-bottom: 12px;
  color: #b8ff9c;
  font-size: clamp(2.65rem, 6.6vw, 5.25rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 10px 34px rgba(184, 255, 156, 0.18);
}

.hero-copy .summary {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(235, 239, 230, 0.82);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hero-button,
.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
}

.hero-button {
  color: #18211d;
  background: #b8ff9c;
  box-shadow: 0 14px 30px rgba(184, 255, 156, 0.18);
}

.hero-link {
  color: rgba(248, 255, 233, 0.84);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 255, 156, 0.18);
}

.game-introduction {
  width: min(980px, 100%);
  max-width: none;
  margin: 0 auto;
  padding-top: clamp(6px, 1.6vw, 16px);
  text-align: left;
}

.game-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.game-highlights article {
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(184, 255, 156, 0.17);
  border-radius: 12px;
  color: rgba(235, 239, 230, 0.78);
}

.game-highlights span {
  display: block;
  margin-bottom: 7px;
  color: #baf6ff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-highlights strong {
  display: block;
  margin-bottom: 8px;
  color: #f8ffe9;
  font-size: 1rem;
  line-height: 1.15;
}

.game-highlights p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.game-introduction .eyebrow {
  margin-bottom: 8px;
  color: #baf6ff;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.game-introduction h1 {
  margin-right: 0;
  margin-left: 0;
}

.kicker {
  margin-bottom: 8px;
  color: #475569;
  font-size: 1.05rem;
  font-weight: 850;
}

h1 {
  max-width: 980px;
  margin-right: auto;
  margin-bottom: 10px;
  margin-left: auto;
  color: #111827;
  font-size: clamp(2.25rem, 5.2vw, 4.05rem);
  line-height: 1.05;
}

h1 .accent,
#game-title {
  background: none;
  -webkit-background-clip: text;
  background-clip: text;
}

#game-title {
  color: #b8ff9c;
}

.summary {
  max-width: 760px;
  margin: 0;
  color: rgba(235, 239, 230, 0.78);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.intro-grid article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 255, 156, 0.17);
  border-radius: 8px;
}

.intro-grid h2 {
  margin-bottom: 8px;
  color: #f8ffe9;
  font-size: 1rem;
  line-height: 1.25;
}

.intro-grid p {
  margin: 0;
  color: rgba(235, 239, 230, 0.76);
  font-size: 0.95rem;
  line-height: 1.55;
}

.playground-grid {
  display: grid;
  grid-template-columns: minmax(0, 1180px);
  gap: 0;
  align-items: start;
  justify-content: center;
  justify-items: center;
  width: 100%;
  margin-inline: auto;
}

.flash-container {
  border: 1px solid rgba(184, 255, 156, 0.25);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.game-shell {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 0;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.flash-container {
  width: min(900px, 100%);
  min-height: 506px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #4f8f8a;
  transition:
    width 240ms ease,
    min-height 240ms ease,
    border-radius 240ms ease,
    box-shadow 240ms ease;
}

.flash-container[data-state="playing"] {
  width: min(1180px, 100%);
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.2);
}

.game-poster {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 72% 74%, rgba(255, 255, 255, 0.2), transparent 8rem),
    linear-gradient(135deg, #4f9690, #477b78);
}

.poster-actions {
  position: relative;
  inset: auto;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.play-game {
  min-width: 260px;
  min-height: 82px;
  margin: 0 auto;
  padding: 0 38px;
  background: #ffffff;
  color: #172033;
  border-radius: 999px;
  box-shadow: 0 18px 28px rgba(24, 31, 54, 0.16);
  font-size: 1.35rem;
  text-align: center;
  text-transform: uppercase;
}

.play-game:hover,
.play-game:focus-visible {
  background: #f8fafc;
}

.game-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(820px, 100%);
  margin-top: 14px;
  margin-right: auto;
  margin-left: auto;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(184, 255, 156, 0.18);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(91, 91, 121, 0.08);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  flex-wrap: wrap;
}

.game-status {
  min-width: 0;
  flex: 1 1 260px;
}

.tool-button {
  border-radius: 999px;
}

.tool-button.quiet {
  color: rgba(248, 255, 233, 0.76);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(184, 255, 156, 0.14);
}

.tool-button.quiet:hover,
.tool-button.quiet:focus-visible {
  color: #334155;
  background: #ffffff;
}

@media (max-width: 1120px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 12px;
  }

  .language-switcher {
    margin-left: auto;
  }

  .playground-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-shell {
    order: 1;
  }

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

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

}

@media (max-width: 680px) {
  .site-header {
    position: relative;
    gap: 10px;
    min-height: auto;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
    padding-right: 0;
  }

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

  .brand-mark {
    width: 38px;
    height: 38px;
    border-width: 3px;
  }

  .language-switcher {
    margin-top: 2px;
    margin-left: auto;
  }

  .language-menu summary {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.84rem;
  }

  .language-options {
    right: 0;
    min-width: 172px;
  }

  .game-section {
    width: 100%;
    gap: 22px;
    padding-top: 16px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .hero-copy .summary {
    margin: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .game-highlights {
    grid-template-columns: 1fr;
  }

  .game-introduction {
    min-height: auto;
  }

  .game-introduction .eyebrow,
  .kicker {
    font-size: 0.92rem;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .summary {
    font-size: 1rem;
    line-height: 1.45;
  }

  .flash-container {
    height: clamp(320px, 52dvh, 460px);
    min-height: 0;
    aspect-ratio: auto;
  }

  .flash-container[data-state="playing"] {
    height: calc(100dvh - 172px);
    min-height: 420px;
  }

  .poster-actions {
    width: min(280px, 100%);
    align-items: stretch;
    flex-direction: column;
  }

  .play-game {
    width: 100%;
  }

  .game-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .game-status {
    min-width: 0;
    flex: 0 1 auto;
  }

  .toolbar-actions {
    justify-content: stretch;
  }

  .tool-button {
    flex: 1 1 128px;
  }
}
