:root {
  --bg: #06060a;
  --panel: #0f0f17;
  --panel-2: #151520;
  --line: #262536;
  --ink: #ecebf3;
  --dim: #a3a1b6;
  --faint: #6c6a80;
  --gold: #e3b54a;
  --green: #3fe39a;
  --red: #ff4d57;
  --yellow: #ffd23f;
  --blue: #5ab6ff;
  --magenta: #ff4fd8;
  --cyan: #4ff3ff;
  --violet: #9a6bff;
  --steam: #1a9fff;
  --nav-h: 64px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Oxanium", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="ja"] { --font: "Oxanium", "Noto Sans JP", system-ui, sans-serif; }
html[lang="zh-Hans"] { --font: "Oxanium", "Noto Sans SC", system-ui, sans-serif; }
html[lang="ja"] { word-break: auto-phrase; }
html[lang="ja"] p, html[lang="zh-Hans"] p { line-height: 1.75; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(28px, 4.2vw, 52px); letter-spacing: -.01em; max-width: 22ch; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; color: var(--dim); }
em { font-style: normal; color: var(--green); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

#void {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 30;
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  background: linear-gradient(#06060ae6, #06060a00);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: .14em; font-size: 15px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-cube {
  width: 18px; height: 18px; border-radius: 3px;
  background: var(--green); box-shadow: 0 0 14px var(--green), inset -3px -3px 0 #0005;
}
.tabs { display: flex; gap: 2px; margin: 0 auto; }
.tabs a {
  position: relative; padding: 8px 12px; color: var(--dim);
  font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
}
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.is-on { color: var(--ink); }
.tabs a.is-on::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 8px; height: 8px; margin-left: -4px;
  background: var(--green); border-radius: 2px; box-shadow: 0 0 10px var(--green);
}
.nav-end { display: flex; gap: 10px; align-items: center; }
.lang {
  appearance: none; -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23a3a1b6'/%3E%3C/svg%3E") no-repeat right 9px center;
  border: 1px solid var(--line); color: var(--dim);
  font: 600 13px var(--font); padding: 6px 26px 6px 10px; border-radius: 6px; cursor: pointer;
}
.lang option { background: var(--panel); color: var(--ink); }
.lang:hover { color: var(--ink); border-color: var(--faint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 8px; border: 1px solid transparent;
  font: 700 15px var(--font); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-steam { background: linear-gradient(135deg, #1a9fff, #0d6fd1); box-shadow: 0 6px 24px #1a9fff40; }
.btn-steam:hover { box-shadow: 0 8px 32px #1a9fff70; }
.btn-ghost { background: #ffffff0d; border-color: #ffffff2a; }
.btn-ghost:hover { background: #ffffff1a; }
.steam-mark { height: 18px; width: auto; filter: invert(0); }
.play {
  width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
}
.play.big { border-width: 22px 0 22px 36px; }

/* ---------- Deck of pages ---------- */
#deck { position: fixed; inset: 0; z-index: 1; }
.panel {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  visibility: hidden; outline: none;
  scrollbar-width: thin; scrollbar-color: #33324a transparent;
}
.panel.is-active { visibility: visible; }
.inner {
  min-height: 100%;
  max-width: 1200px; margin: 0 auto;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 72px;
  display: flex; flex-direction: column; justify-content: center;
}
.kicker {
  display: flex; align-items: center; gap: 10px;
  color: var(--green); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 13px;
}
.kicker::before { content: ""; width: 10px; height: 10px; background: currentColor; border-radius: 2px; box-shadow: 0 0 10px currentColor; }

/* Page dots on the right */
.dots {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 30;
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px;
}
.dots button {
  display: block; width: 10px; height: 10px; padding: 0; border: 1px solid #ffffff55; border-radius: 2px;
  background: transparent; cursor: pointer; transition: background .2s, transform .2s;
}
.dots button:hover { transform: scale(1.3); }
.dots button.is-on { background: var(--green); border-color: var(--green); box-shadow: 0 0 10px var(--green); transform: rotate(45deg); }

/* ---------- Hero ---------- */
.hero-bg {
  position: absolute; inset: 0; min-height: 100%;
  background: url("../assets/img/hero.jpg") 0% 48% / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #06060a00 30%, #06060acc 60%), linear-gradient(#06060a00 70%, var(--bg));
}
.hero-inner { position: relative; align-items: flex-end; }
.hero-copy { width: min(640px, 100%); }
.cube-title { display: flex; flex-wrap: wrap; gap: calc(var(--cell) * 3); --cell: clamp(5px, 0.62vw, 9px); margin-bottom: 28px; }
.ct-word { display: flex; gap: var(--cell); }
.ct-glyph { display: grid; grid-template-columns: repeat(5, var(--cell)); grid-auto-rows: var(--cell); gap: 2px; }
.ct-cell {
  border-radius: 2px;
  background: linear-gradient(135deg, #ffffff, #b9b8c8);
  box-shadow: inset -1px -1px 0 #0004, 0 0 6px #ffffff22;
  opacity: 0; transform: translateY(-40px) rotate(-90deg);
  animation: cell-in .55s cubic-bezier(.2, 1.4, .4, 1) forwards;
  animation-delay: var(--d);
}
.ct-cell.is-off { visibility: hidden; animation: none; }
.ct-cell.flash { background: var(--fc); box-shadow: 0 0 12px var(--fc); transition: background .1s; }
@keyframes cell-in { to { opacity: 1; transform: none; } }

.tagline { font-size: clamp(20px, 2.2vw, 28px); color: var(--ink); font-weight: 600; margin-bottom: .6em; }
.lede { max-width: 52ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.platforms { font-size: 13px; color: var(--faint); letter-spacing: .06em; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: none; border: 0; color: var(--faint); font: 600 12px var(--font);
  letter-spacing: .3em; text-transform: uppercase; cursor: pointer;
}
.hint-cube {
  width: 16px; height: 16px; border: 2px solid var(--green); border-radius: 3px;
  box-shadow: 0 0 10px var(--green); animation: hint 1.6s ease-in-out infinite;
}
@keyframes hint {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(10px) rotate(90deg); }
}

/* ---------- Game ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.frame {
  margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 30px 80px #000a, 0 0 0 1px #ffffff08;
  aspect-ratio: 16 / 9; background: #000;
}
.frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts li { border-top: 1px solid var(--line); padding-top: 10px; font-size: 13px; color: var(--faint); display: flex; flex-direction: column; }
.facts b { font-size: 28px; color: var(--ink); line-height: 1.2; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 16px; }
.feature {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  border-top: 3px solid var(--c); transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 40px #000a, 0 0 24px color-mix(in srgb, var(--c) 25%, transparent); }
.feature img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.feature h3, .feature p { padding: 0 16px; }
.feature h3 { margin-top: 14px; font-size: 17px; }
.feature p { font-size: 14px; }

/* ---------- Cubes legend ---------- */
.cube-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 12px; }
.cube-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 16px 10px; text-align: center; perspective: 400px;
}
.cube-card h3 { font-size: 16px; margin: 16px 0 6px; color: var(--c); }
.cube-card.is-black h3 { color: var(--ink); }
.cube-card p { font-size: 13px; line-height: 1.5; }
.mcube {
  --s: 46px; width: var(--s); height: var(--s); margin: 6px auto 0; position: relative;
  transform-style: preserve-3d; animation: spin 8s linear infinite;
}
.cube-card:hover .mcube { animation-duration: 1.6s; }
.mcube i {
  position: absolute; inset: 0; border-radius: 5px;
  background: var(--c);
  box-shadow: inset 0 0 0 2px #ffffff40, inset -4px -4px 8px #0006;
}
.cube-card.is-black .mcube i { box-shadow: inset 0 0 0 2px #ff4d5760, inset -4px -4px 8px #0008; }
.cube-card.is-white .mcube i { box-shadow: inset 0 0 0 2px #fff, 0 0 18px #bfe4ff; }
.mcube i:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); }
.mcube i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); filter: brightness(.6); }
.mcube i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.8); }
.mcube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.7); }
.mcube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); filter: brightness(1.15); }
.mcube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.5); }
@keyframes spin {
  from { transform: rotateX(-22deg) rotateY(0); }
  to { transform: rotateX(-22deg) rotateY(360deg); }
}

/* ---------- Bosses ---------- */
.bosses { display: grid; grid-template-columns: 1fr 1fr .7fr; gap: 18px; margin-top: 12px; }
.boss {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
}
.boss img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.boss-body { padding: 18px 20px 8px; }
.boss-no { color: var(--c); font-weight: 800; letter-spacing: .2em; font-size: 12px; margin: 0 0 4px; }
.boss h3 { font-size: 26px; margin-bottom: 4px; }
.song { color: var(--ink); font-size: 14px; }
.boss p:not(.boss-no):not(.song) { font-size: 15px; }
.boss-locked { --c: var(--faint); border-style: dashed; }
.locked-art {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, #0b0b12 0 14px, #10101a 14px 28px);
}
.locked-art span {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 8px;
  font-size: 34px; font-weight: 800; color: var(--faint); border: 2px dashed var(--faint);
  animation: hint 3s ease-in-out infinite;
}

/* ---------- Media ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.shot {
  position: relative; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: #000; cursor: zoom-in; aspect-ratio: 16 / 9;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.shot:hover img { transform: scale(1.05); }
.shot-video { grid-column: span 2; grid-row: span 2; cursor: pointer; }
.shot-video .play { position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%); color: #fff; filter: drop-shadow(0 0 16px #000); }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 12px; }
.post {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
}
.post img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.post-body { padding: 16px 18px 6px; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.post-tag { color: var(--bg); background: var(--c, var(--green)); padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.post h3 { font-size: 19px; }
.post p { font-size: 14.5px; }

/* ---------- Press ---------- */
.press { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); margin-top: 12px; }
.factsheet { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 0; }
.factsheet dt, .factsheet dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.factsheet dt { color: var(--faint); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding-right: 24px; }
.press-side h3 { margin-top: 4px; }
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.downloads a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px;
  background: var(--panel); border: 1px solid var(--line); color: var(--ink);
}
.downloads a::before { content: "↓"; color: var(--green); font-weight: 800; }
.downloads a:hover { border-color: var(--green); text-decoration: none; }

/* ---------- Support ---------- */
.support { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); margin-top: 12px; }
.reqs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.reqs th, .reqs td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.reqs thead th { color: var(--green); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.reqs tbody th { color: var(--faint); font-weight: 500; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-weight: 800; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; font-size: 15px; }
.foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 10px; }
.foot-links a { color: var(--ink); font-weight: 600; }
.legal { font-size: 12px; color: var(--faint); }

/* ---------- Rolling cube ---------- */
#roller {
  position: fixed; inset: 0; z-index: 20; pointer-events: none; overflow: hidden;
  perspective: var(--p); perspective-origin: 50% 50%;
}
#roller[hidden] { display: none; }
/* While the cubes roll (and a moment after), pages cannot scroll: momentum would carry on into the new page */
.rolling .panel { overflow: hidden; touch-action: none; }
.roller-shade { position: absolute; inset: 0; background: #000; opacity: 0; }
/* One 3D context for every cube, so they hide one another instead of stacking in DOM order. */
.roller-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.rcube {
  position: absolute; left: 50%; top: 50%;
  width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  transform-style: preserve-3d; will-change: transform;
}
.rface {
  position: absolute; inset: 0; backface-visibility: hidden; overflow: hidden;
  background:
    radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--rc) 22%, #262633), #101018 85%);
  border: calc(var(--s) * .007) solid color-mix(in srgb, var(--rc) 85%, #fff);
  border-radius: calc(var(--s) * .035);
  box-shadow:
    inset 0 0 0 calc(var(--s) * .018) #ffffff0d,
    inset 0 0 calc(var(--s) * .07) color-mix(in srgb, var(--rc) 40%, transparent),
    0 0 calc(var(--s) * .03) color-mix(in srgb, var(--rc) 45%, transparent);
}
/* Darkened by site.js as the face turns away from the light. */
.rface::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: var(--shade, 0); }
.f-front  { transform: translateZ(calc(var(--s) / 2)); }
.f-back   { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.f-right  { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.f-left   { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.f-top    { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.f-bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.rlabel {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  font-weight: 800; letter-spacing: .2em; padding-left: .2em; color: #fff; white-space: nowrap;
  text-shadow: 0 0 .35em var(--rc), 0 0 1em var(--rc);
}
.rshadow {
  position: absolute; left: 50%; top: 50%;
  width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  background: radial-gradient(closest-side, #000000d0, #00000000);
  pointer-events: none;
}
#roller.thud { animation: thud .34s ease-out; }
@keyframes thud {
  0% { transform: translateY(0); }
  25% { transform: translateY(7px); }
  55% { transform: translateY(-3px); }
  80% { transform: translateY(1px); }
  100% { transform: translateY(0); }
}

/* ---------- Lightbox ---------- */
#lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: #000000eb; color: var(--ink);
}
#lightbox::backdrop { background: transparent; }
#lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lb-stage { width: min(92vw, 1600px); display: grid; place-items: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 86vh; border-radius: 8px; box-shadow: 0 30px 90px #000; }
.lb-stage video { width: 100%; background: #000; }
#lightbox button {
  position: absolute; background: #ffffff12; border: 1px solid #ffffff2a; color: var(--ink);
  width: 48px; height: 48px; border-radius: 50%; font: 400 28px/1 var(--font); cursor: pointer;
}
#lightbox button:hover { background: #ffffff26; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
#lightbox.is-video .lb-prev, #lightbox.is-video .lb-next { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .cube-grid { grid-template-columns: repeat(3, 1fr); }
  .bosses { grid-template-columns: 1fr 1fr; }
  .boss-locked { grid-column: span 2; flex-direction: row; }
  .boss-locked .locked-art { width: 40%; aspect-ratio: auto; }
}
@media (max-width: 860px) {
  :root { --nav-h: 110px; }
  .nav { flex-wrap: wrap; height: var(--nav-h); gap: 0 12px; padding-top: 10px; align-content: flex-start; }
  /* Tabs become a full-bleed solid strip so page content never shows through behind the labels */
  .tabs {
    order: 3; width: auto; flex: 1 0 100%; margin: 8px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter);
    overflow-x: auto; scrollbar-width: none;
    background: linear-gradient(#06060a, var(--panel) 30%, var(--panel) 45%, #06060a);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { padding: 10px 10px; font-size: 13px; white-space: nowrap; }
  .nav-end { margin-left: auto; }
  .nav { background: #06060a; }
  /* Content scrolling under the header fades into black instead of being cut by a hard edge */
  .nav::after {
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px; pointer-events: none;
    background: linear-gradient(#06060a, #06060a00);
  }
  .dots { display: none; }
  .split, .press, .support { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-bg { background-position: 22% 48%; }
  .hero-bg::after { background: linear-gradient(#06060a33 0%, #06060ad9 55%, var(--bg)); }
  /* The scroll hint joins the flow under the copy so it never sits on the text on short screens */
  .hero { display: flex; flex-direction: column; }
  .hero-inner { flex: 1 0 auto; width: 100%; min-height: 0; justify-content: flex-end; padding-bottom: 20px; }
  .scroll-hint { position: relative; left: auto; bottom: auto; transform: none; flex: none; align-self: center; margin-bottom: 22px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .features, .cube-grid, .bosses { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .boss-locked { grid-column: auto; flex-direction: column; }
  .boss-locked .locked-art { width: auto; aspect-ratio: 16 / 9; }
  .bosses { grid-template-columns: 1fr; }
  .cube-title { --cell: clamp(5px, 1.45vw, 8px); }
  .btn { padding: 12px 16px; font-size: 14px; }
  .brand-name { font-size: 13px; }
}
/* site.js sets .motion unless the system asks for reduced motion (?motion=1 overrides that); the rolling cubes and the legend's spinning cubes run either way. */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion) .ct-cell { animation: none; opacity: 1; transform: none; }
  html:not(.motion) .hint-cube, html:not(.motion) .locked-art span { animation: none; }
}
