@font-face {
  font-family: "Mojang";
  src: url("/fonts/Mojang-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Mojang";
  src: url("/fonts/Mojang-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}


:root {
  --night: #05060e;
  --panel: rgba(64, 103, 116, 0.76);
  --panel-deep: rgba(34, 72, 86, 0.83);
  --edge: #9fc5cc;
  --edge-dark: #497986;
  --cyan: #19dff4;
  --pink: #f150b0;
  --text: #e5f7f8;
  --notch-clip: polygon(
    0 8px, 4px 8px, 4px 4px, 8px 4px, 8px 0,
    calc(100% - 8px) 0, calc(100% - 8px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 8px, 100% 8px,
    100% calc(100% - 8px), calc(100% - 4px) calc(100% - 8px), calc(100% - 4px) calc(100% - 4px), calc(100% - 8px) calc(100% - 4px), calc(100% - 8px) 100%,
    8px 100%, 8px calc(100% - 4px), 4px calc(100% - 4px), 4px calc(100% - 8px), 0 calc(100% - 8px)
  );
  --notch-clip-sm: polygon(
    0 5px, 3px 5px, 3px 2px, 5px 2px, 5px 0,
    calc(100% - 5px) 0, calc(100% - 5px) 2px, calc(100% - 2px) 2px, calc(100% - 2px) 5px, 100% 5px,
    100% calc(100% - 5px), calc(100% - 2px) calc(100% - 5px), calc(100% - 2px) calc(100% - 2px), calc(100% - 5px) calc(100% - 2px), calc(100% - 5px) 100%,
    5px 100%, 5px calc(100% - 2px), 2px calc(100% - 2px), 2px calc(100% - 5px), 0 calc(100% - 5px)
  );
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--night);
  font-family: "Mojang", monospace;
}

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

.page-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Atmosphere from the beta's Cómo jugar page (28631733). */
  background:
    radial-gradient(circle at 12% 15%, #252054 0, transparent 24%),
    radial-gradient(circle at 88% 38%, #063955 0, transparent 26%),
    linear-gradient(150deg, #050711, #090616 70%, #07131d);
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: -3;
  width: clamp(180px, 30vw, 520px);
  height: 130vh;
  top: -18vh;
  opacity: .18;
  filter: blur(20px);
  pointer-events: none;
}

.page-shell::before {
  left: 8%;
  background: linear-gradient(90deg, transparent, rgba(120, 96, 220, .75), transparent);
  transform: rotate(18deg);
}

.page-shell::after {
  right: 10%;
  background: linear-gradient(90deg, transparent, rgba(43, 182, 218, .65), transparent);
  transform: rotate(-15deg);
}

.background-question {
  position: fixed;
  top: clamp(100px, 18vh, 180px);
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  font: 700 clamp(17rem, 35vw, 32rem) "Mojang", monospace;
  line-height: 1;
  color: rgba(32, 220, 244, .035);
  text-shadow: 0 0 70px rgba(240, 76, 175, .1);
  pointer-events: none;
  user-select: none;
}

.ambient-glow {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.glow-one {
  width: 270px;
  height: 270px;
  left: -80px;
  top: 30%;
  background: rgba(128, 40, 191, .28);
}

.glow-two {
  width: 340px;
  height: 220px;
  right: -100px;
  bottom: 2%;
  background: rgba(0, 198, 235, .16);
}

.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.particle-endrod {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  background: #fff;
  box-shadow:
    0 0 4px 1px rgba(255, 255, 255, 0.9),
    0 0 9px 2px rgba(255, 255, 255, 0.35);
  image-rendering: pixelated;
  opacity: 0;
  animation: csdm-endrod-organic var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}



.particle-ambient {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 1px;
  height: 1px;
  opacity: 0;
  animation: csdm-ambient-organic var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}

.particle-ambient .orbit {
  position: absolute;
  inset: 0;
  animation: csdm-ambient-orbit var(--spin) linear infinite;
}

.particle-ambient .orbit i {
  position: absolute;
  top: -1.5px;
  left: -1.5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 6px 1.5px var(--dot);
  transform: translateX(var(--radius));
}





.layout {
  width: min(1180px, calc(100% - 44px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 36px 0 0;
  display: grid;
  grid-template-rows: auto;
  gap: 48px;
}

.card {
  position: relative;
  padding: 19px;
  overflow: visible;
  container-type: inline-size;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.5));
  background: transparent;
}

.card::before {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 108%, rgba(139,71,214,.34), transparent 70%),
    radial-gradient(ellipse 45% 30% at 50% 6%, rgba(25,223,244,.16), transparent 70%),
    linear-gradient(180deg, rgba(147,184,190,.18), transparent 30%),
    linear-gradient(135deg, var(--panel), var(--panel-deep));
  box-shadow: inset 0 0 36px rgba(15,42,53,.46);
  clip-path: var(--notch-clip);
}

.card::after {
  content: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: -1;
  pointer-events: none;
  clip-path: var(--notch-clip);
  background: linear-gradient(180deg, transparent 0%, rgba(6,10,16,.55) 100%);
}

.question-border {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.question-chain {
  position: absolute;
  display: flex;
  overflow: hidden;
  color: #d6e8e9;
  text-shadow:
    2px 2px 0 #527b86,
    -1px -1px 0 #ffffff,
    0 0 5px rgba(173,220,224,.35);
  font-family: "Mojang", monospace;
  font-size: 38px;
  line-height: 1;
  white-space: nowrap;
}

.question-chain span {
  flex: 0 0 56px;
  width: 56px;
  height: 44px;
  display: grid;
  place-items: center;
}

.question-chain span:nth-child(2n) {
  color: #b8d4d7;
}

.question-chain-top,
.question-chain-bottom {
  left: 42px;
  right: 42px;
  height: 44px;
  align-items: center;
  justify-content: space-between;
}

.question-chain-top {
  top: -9px;
}

.question-chain-bottom {
  bottom: -9px;
}

.question-chain-top span {
  transform: rotate(90deg);
}

.question-chain-bottom span {
  transform: rotate(-90deg);
}

.question-chain-left,
.question-chain-right {
  top: 42px;
  bottom: 42px;
  width: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.question-chain-left {
  left: -9px;
}

.question-chain-right {
  right: -9px;
}

.question-chain-left span,
.question-chain-right span {
  flex: 0 0 54px;
  width: 44px;
  height: 54px;
  min-height: 54px;
}

.question-chain-left span:nth-child(2n),
.question-chain-right span:nth-child(2n) {
  margin: 0;
}

@container (max-width: 1100px) {
  .question-chain-top span:nth-child(n + 17),
  .question-chain-bottom span:nth-child(n + 17) {
    display: none;
  }
}

@container (max-width: 900px) {
  .question-chain-top span:nth-child(n + 14),
  .question-chain-bottom span:nth-child(n + 14) {
    display: none;
  }
}

@container (max-width: 700px) {
  .question-chain-top span:nth-child(n + 9),
  .question-chain-bottom span:nth-child(n + 9) {
    display: none;
  }
}

@container (max-width: 480px) {
  .question-chain-top span:nth-child(n + 7),
  .question-chain-bottom span:nth-child(n + 7) {
    display: none;
  }
}

.hero-card { min-height: 350px; }

.hero-content {
  width: min(760px, calc(100% - 40px));
  min-height: 100%;
  margin: 0 auto;
  padding: 42px 0 30px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fan-label {
  margin-bottom: 14px;
  color: #c4d6d7;
  font-size: .68rem;
  letter-spacing: .22em;
  text-shadow: 2px 3px 0 rgba(15,39,48,.8);
}

h1 {
  margin: 0;
  font-family: "Mojang", monospace;
  font-weight: 700;
  line-height: .92;
  text-shadow: 4px 5px 0 rgba(19,51,59,.78);
}

h1 > span { display: block; }

.question-mark {
  display: inline-block;
  font: inherit;
  font-style: normal;
}

.question-mark-open {
  margin-right: .06em;
  transform: translateY(-.2em);
}

.question-mark-close {
  margin-left: .025em;
  color: var(--cyan);
  text-shadow: 4px 5px 0 #167b87, 0 0 14px rgba(25,223,244,.24);
}

.title-line-primary {
  color: var(--cyan);
  font-size: clamp(2.2rem, 4.25vw, 3.9rem);
  font-weight: 700;
  white-space: nowrap;
}

.title-line-secondary {
  margin-top: 11px;
  font-size: clamp(2.45rem, 4.8vw, 4.45rem);
  font-weight: 700;
  white-space: nowrap;
}

.title-de {
  display: inline;
  color: var(--cyan);
}

.title-line-secondary strong {
  position: relative;
  display: inline-block;
  color: var(--pink);
  font: inherit;
  text-shadow: 4px 5px 0 #7a2761, 0 0 16px rgba(241,80,176,.25);
}

.title-line-secondary strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: .1em;
  bottom: -.18em;
  height: .1em;
  min-height: 6px;
  background: #ed0b87;
  box-shadow: 0 5px 0 #75154f;
}

/* Shared pixel frame: stepped edges, inset face and a solid lower extrusion. */
.pixel-button {
  --button-face: #24525f;
  --button-face-end: #183e4a;
  --button-edge: #83bcc7;
  --button-depth: #0c2833;
  --button-accent: #6cecff;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #edfaff;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 2px rgba(0, 0, 0, .28);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 4px 0 var(--button-depth));
  transition: transform 140ms ease, filter 140ms ease;
}

.pixel-button::before,
.pixel-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
  clip-path: var(--notch-clip-sm);
}

.pixel-button::before {
  inset: 0;
  z-index: -2;
  background: var(--button-edge);
}

.pixel-button::after {
  inset: 2px;
  z-index: -1;
  background: linear-gradient(180deg, var(--button-face), var(--button-face-end));
  box-shadow:
    inset 0 2px rgba(255, 255, 255, .13),
    inset 2px 0 rgba(255, 255, 255, .06),
    inset 0 -3px rgba(0, 0, 0, .22),
    inset -2px 0 rgba(0, 0, 0, .1);
}

.pixel-button--magenta {
  --button-face: #663050;
  --button-face-end: #452039;
  --button-edge: #dc85bb;
  --button-depth: #301328;
  --button-accent: #ffaae0;
}

@media (hover: hover) {
  .pixel-button:not(:disabled):hover,
  .episode-thumb:hover .episode-play {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 0 var(--button-depth)) brightness(1.1);
  }
}

.pixel-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.episode-thumb:focus-visible .episode-play {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 0 var(--button-depth)) brightness(1.1);
}

.pixel-button:not(:disabled):active,
.episode-thumb:active .episode-play {
  transform: translateY(3px);
  filter: drop-shadow(0 1px 0 var(--button-depth)) brightness(.96);
}

.pixel-button:disabled {
  cursor: default;
  opacity: .9;
  filter: drop-shadow(0 3px 0 var(--button-depth));
}

.soon-button {
  --button-face: #294e59;
  --button-face-end: #1d3a45;
  --button-edge: #7ba9b3;
  --button-depth: #142e37;
  margin-top: 26px;
  min-height: 48px;
  padding: 12px 20px;
  gap: 10px;
  color: #c8f7fb;
  font-size: .76rem;
  letter-spacing: .08em;
}

.hero-links {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-row { display: flex; gap: 10px; }

.social-row a,
.discord-link {
  min-height: 44px;
  padding: 6px 10px;
  gap: 6px;
  font-size: .62rem;
  line-height: 1.2;
}

.social-row a { white-space: nowrap; }
.social-icon { display: block; width: 32px; height: 32px; flex: 0 0 32px; object-fit: contain; }
.discord-link {
  --button-face: #183948;
  --button-face-end: #102936;
  --button-edge: #4a9eae;
  --button-depth: #08222d;
  padding-inline: 14px;
  color: var(--cyan);
  letter-spacing: .04em;
}


/* Project presentation uses the landing's existing colors and pixel details. */
.project-section {
  display: grid;
  grid-template-columns: minmax(200px, .7fr) minmax(0, 1.5fr);
  gap: clamp(32px, 6vw, 80px);
  margin-block: 16px 8px;
  padding: 32px 12px;
  align-items: start;
}

.project-heading { position: relative; }
.project-heading h2,
.beta-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  text-wrap: balance;
  text-shadow: 3px 3px #1b4650;
}
.project-heading h2 { color: var(--cyan); }
.project-heading-line {
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 24px;
  background: var(--pink);
  box-shadow: 4px 4px 0 #632550;
}
.project-mark {
  display: block;
  margin-top: 40px;
  color: rgba(159, 197, 204, .16);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -.05em;
  user-select: none;
}
.project-copy,
.beta-copy {
  font-size: clamp(1rem, 1.35vw, 1.0625rem);
  line-height: 1.85;
  overflow-wrap: break-word;
}
.project-copy { max-width: 66ch; color: #b7ced4; }
.project-copy p { margin: 0 0 22px; }
.project-copy p:last-child { margin-bottom: 0; }
.project-copy .project-intro { color: #e5f7f8; font-size: 1.125rem; }
.project-copy strong { color: #91effa; font-weight: 700; }

.beta-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .36fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 4vw, 48px);
  filter: drop-shadow(0 6px 0 #161125);
}
.beta-section::before,
.beta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  clip-path: var(--notch-clip);
}
.beta-section::before { background: #785872; }
.beta-section::after {
  inset: 2px;
  z-index: -1;
  background:
    radial-gradient(ellipse at 100% 50%, rgba(125, 47, 107, .24), transparent 60%),
    linear-gradient(125deg, #151d32, #22192e);
  box-shadow: inset 0 2px rgba(233, 179, 219, .08);
}
.beta-label {
  display: inline-block;
  margin-bottom: 16px;
  color: #f4a5d6;
  font-size: .65rem;
  line-height: 1.5;
  letter-spacing: .12em;
}
.beta-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  text-shadow: 3px 3px #492341;
}
.beta-copy p { max-width: 65ch; margin: 0 0 18px; color: #c1c7db; }
.beta-copy p:last-child { margin-bottom: 0; }
.beta-copy strong { color: #f1d4e6; }
.beta-action { display: grid; gap: 24px; justify-items: center; }
.beta-action-mark {
  color: #f1a0d2;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 5px 5px 0 #784065, 10px 10px 0 #303258;
  user-select: none;
}
.beta-button {
  width: 100%;
  min-height: 60px;
  padding: 18px 20px;
  font-size: .8rem;
  line-height: 1.5;
  text-align: center;
}
footer a:hover { color: var(--cyan); }
footer a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

/* Episode block adapted from csdm-web-beta 28631733. */
.landing-section { min-width: 0; --lc: var(--cyan); }
.landing-section-title {
  margin-bottom: 32px;
}
.landing-section-title h2 {
  margin: 5px 0 0;
  font-size: 2.2rem;
  text-shadow: 4px 4px #1b4650;
}

.episode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.episode-count,
.episode-thumb {
  min-height: 360px;
  padding: 38px;
  border: 3px solid #79a4ad;
  background: linear-gradient(145deg, #3e6872, #1b4050);
  box-shadow: inset 0 0 0 3px #345c66;
  position: relative;
}
.episode-count-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.episode-count-heading small {
  font-size: 0.6rem;
  color: #8cefff;
}
.episode-count-heading strong {
  font-size: 0.72rem;
  color: #d7eaec;
}
.episode-count .episode-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 28px 0 20px;
}
.episode-count .episode-timer span {
  padding: 18px 7px;
  text-align: center;
  background: #143845;
  border: 2px solid #648f98;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.16);
}
.episode-timer b {
  display: block;
  font-size: 2rem;
  color: white;
}
.episode-timer span small {
  font-size: 0.46rem;
  color: #a7c0c2;
}
.episode-count p {
  margin: 0;
  font-size: 0.58rem;
  color: #9db8bb;
}
.episode-count p span {
  color: #d6e7e8;
}
.episode-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.episode-actions a {
  min-height: 72px;
  padding: 12px 14px;
  justify-content: flex-start;
  gap: 12px;
}
.episode-youtube-logo {
  display: block;
  width: 32px;
  height: 32px;
  background: url("/social/youtube.png") center / contain no-repeat;
  image-rendering: pixelated;
}

.episode-play .episode-youtube-logo {
  width: 44px;
  height: 44px;
}

.episode-action-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  color: var(--button-accent);
  background: rgba(3, 17, 23, .34);
  border: 2px solid var(--button-edge);
  box-shadow: inset 0 -3px rgba(0, 0, 0, .24);
  font-size: 0.78rem;
}
.episode-action-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
  text-align: left;
}
.episode-action-copy b {
  font-size: 0.58rem;
  line-height: 1.15;
}
.episode-action-copy small {
  color: #a9c9cd;
  font-size: 0.42rem;
  line-height: 1.2;
  letter-spacing: 0.07em;
}
.episode-actions a:last-child .episode-action-copy small {
  color: #d9aec9;
}
.episode-thumb {
  padding: 0;
  overflow: hidden;
}
.episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.65);
  transition: 0.3s;
}
.episode-thumb:hover img {
  transform: scale(1.04);
  filter: saturate(1) brightness(0.75);
}
.episode-play-position {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.episode-play {
  --button-face: #81275e;
  --button-face-end: #562043;
  --button-edge: #ff98d4;
  width: 64px;
  height: 64px;
  font-size: 1.4rem;
}
.episode-thumb-copy {
  position: absolute;
  left: 20px;
  bottom: 18px;
  display: grid;
  gap: 7px;
  text-shadow: 0 2px 8px #071016;
}
.episode-thumb-copy small {
  color: #97efff;
  font-size: 0.48rem;
}
.episode-thumb-copy b {
  font-size: 0.7rem;
}

.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid > * { min-width: 0; }
.episode-timer { font-variant-numeric: tabular-nums; }
.episode-timer > span { min-width: 0; }
.episode-thumb { display: block; }
.episode-thumb img { display: block; }
.episode-thumb:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.episode-count .countdown-note { margin-top: 14px; line-height: 1.5; }
.page-ending {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(120px, 19vw, 230px);
  align-items: center;
  gap: clamp(16px, 4vw, 64px);
  border-top: 1px solid #355060;
  padding: 18px 0 28px;
}
.csdm-footer { color: #d0dfe1; }
.page-ending .floating-question { width: 100%; margin: 0; padding: 0; pointer-events: none; }
.page-ending .voxel-question { font-size: clamp(4rem, 9vw, 7rem); text-shadow: 4px 4px #74307f, 8px 8px #24459b; }
.page-ending .cube { width: 8px; height: 8px; box-shadow: 3px 3px #155f80; }
@media (max-width: 680px) {
  .page-ending { position: relative; display: block; }
  .page-ending .floating-question { position: absolute; top: 0; right: 0; width: 64px; }
  .page-ending .voxel-question { font-size: 2rem; }
  .page-ending .cube { width: 4px; height: 4px; }
}
.csdm-footer__row, .csdm-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
}
.csdm-footer__row { justify-content: flex-start; gap: 8px 26px; }
.csdm-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: inherit;
  font-size: .76rem;
  text-decoration: none;
}
.csdm-footer a:hover { color: #42e8ef; }
.csdm-footer a:focus-visible { outline: 2px solid #ff83cb; outline-offset: 3px; }
.csdm-footer .csdm-footer__brand {
  color: #32e2ee;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px #145063;
}
.csdm-footer img { object-fit: contain; image-rendering: pixelated; }
.csdm-footer__notice {
  margin: 14px 0 0;
  padding-top: 2px;
}
.csdm-footer__notice p {
  max-width: 84ch;
  margin: 0;
  color: #adc0c6;
  font-size: .8rem;
  line-height: 1.65;
}
@media (max-width: 680px) {
  .csdm-footer__row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .csdm-footer nav { column-gap: 16px; }
}

/* This decorative mark is the final element, after all page content. */
.floating-question { width: min(568px, 100%); margin: -24px auto 0; padding-bottom: 28px; }
.question-art { width: 100%; aspect-ratio: 1.05; position: relative; display: grid; place-items: center; perspective: 900px; }
.voxel-question {
  font: bold clamp(12rem, 27vw, 20rem) "Mojang", monospace;
  line-height: 1;
  color: #df4bb2;
  text-shadow: 10px 10px #74307f, 20px 20px #24459b, 0 0 45px rgba(228, 62, 190, .45);
  transform: rotateY(-12deg) rotateX(4deg);
  animation: question-drift 7.6s ease-in-out infinite;
}
.art-orbit { position: absolute; border: 2px solid rgba(43,223,242,.15); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 76%; height: 38%; animation: orbit-wide 18s linear infinite; }
.orbit-two { width: 58%; height: 88%; animation: orbit-tall 25s linear infinite reverse; }
.cube { position: absolute; width: 22px; height: 22px; background: #31e7fa; box-shadow: 7px 7px #155f80, 0 0 18px #31e7fa; animation: cube-drift 9s ease-in-out infinite; }
.cube-a { left: 17%; top: 23%; }
.cube-b { right: 11%; bottom: 24%; background: #f04caf; box-shadow: 7px 7px #155f80, 0 0 18px #f04caf; animation-duration: 11s; animation-delay: -4s; }
.cube-c { left: 25%; bottom: 18%; width: 13px; height: 13px; animation-duration: 8s; animation-delay: -2s; }
@keyframes question-drift {
  0%, 100% { transform: translate3d(-8px, 8px, 0) rotateY(-12deg) rotateX(4deg) rotateZ(-3deg); }
  30% { transform: translate3d(12px, -24px, 14px) rotateY(15deg) rotateX(-5deg) rotateZ(3deg); }
  65% { transform: translate3d(-14px, -9px, 4px) rotateY(-5deg) rotateX(7deg) rotateZ(-1deg); }
}
@keyframes orbit-wide { from { transform: rotate(-22deg) rotateX(6deg); } to { transform: rotate(338deg) rotateX(6deg); } }
@keyframes orbit-tall { from { transform: rotate(35deg) rotateY(-8deg); } to { transform: rotate(395deg) rotateY(-8deg); } }
@keyframes cube-drift { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(12px,-22px) rotate(12deg); } }

@media (max-width: 900px) {
  .project-section { grid-template-columns: minmax(180px, .55fr) minmax(0, 1fr); gap: 32px; }
  .beta-section { grid-template-columns: minmax(0, 1fr); }
  .beta-action { display: block; }
  .beta-action-mark { display: none; }
  .beta-button { width: fit-content; min-width: 230px; }
  .episode-grid { grid-template-columns: minmax(0, 1fr); }
  .episode-thumb { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 780px) {
  .project-section { grid-template-columns: minmax(0, 1fr); padding: 20px 8px; gap: 28px; margin-block: 0; }
  .project-title-break { display: none; }
  .project-mark { display: none; }
  .project-heading-line { margin-top: 16px; }
  .layout { width: calc(100% - 32px); padding-top: 20px; gap: 40px; }
  .hero-card { min-height: 400px; }
  .hero-content { padding: 48px 0 42px; }
  .social-row { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 520px) {
  .project-heading h2 { font-size: 1.75rem; }
  .project-copy .project-intro { font-size: 1.0625rem; }
  .project-copy, .beta-copy { font-size: 1rem; line-height: 1.8; }
  .project-copy p { margin-bottom: 20px; }
  .beta-section { padding: 28px 22px; gap: 26px; }
  .beta-copy h2 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 20px; }
  .beta-button { width: 100%; min-width: 0; }
  .hero-card { min-height: 375px; }
  .title-line-primary, .title-line-secondary { font-size: clamp(1.55rem, 7.7vw, 2.2rem); }
  .social-row a span { display: none; }
  .social-row a { width: 48px; min-height: 48px; padding: 8px; }
  .landing-section-title { margin-bottom: 22px; }
  .landing-section-title small { display: block; font-size: .49rem; line-height: 1.5; }
  .landing-section-title h2 { font-size: clamp(1.15rem, 6vw, 1.65rem); line-height: 1.1; text-wrap: balance; }
  .episode-count { min-height: 0; padding: 28px 18px; }
  .episode-count-heading { align-items: start; flex-direction: column; gap: 8px; }
  .episode-count .episode-timer { gap: 6px; margin: 24px 0 18px; }
  .episode-count .episode-timer span { padding: 14px 4px; }
  .episode-timer b { font-size: 1.25rem; }
  .episode-actions { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
  .episode-actions a { width: 100%; min-height: 72px; }
  .episode-action-copy b { font-size: .58rem; line-height: 1.25; }
  .episode-action-copy small { font-size: .42rem; line-height: 1.35; }
  .episode-count > p { line-height: 1.55; }
  .episode-play { width: 56px; height: 56px; font-size: 1.25rem; }
  .floating-question { margin-top: -10px; }
  .voxel-question { font-size: clamp(10rem, 55vw, 17rem); text-shadow: 7px 7px #74307f, 14px 14px #24459b, 0 0 30px rgba(228,62,190,.45); }
  .cube { width: 16px; height: 16px; }
  .cube-c { width: 10px; height: 10px; }
}
@container (max-width: 400px) {
  .question-chain-top span:nth-child(n + 6), .question-chain-bottom span:nth-child(n + 6) { display: none; }
}
@container (max-width: 340px) {
  .question-chain-top span:nth-child(n + 5), .question-chain-bottom span:nth-child(n + 5) { display: none; }
}
@container (max-width: 280px) {
  .question-chain-top span:nth-child(n + 4), .question-chain-bottom span:nth-child(n + 4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .orbit-one { transform: rotate(-22deg); }
  .orbit-two { transform: rotate(35deg); }
}
.players-shell,
.guide-shell {
  isolation: isolate;
}

.csdm-particles {
  z-index: -1;
}

.csdm-particles .particle-endrod {
  animation-name: csdm-endrod-organic;
  animation-timing-function: cubic-bezier(0.42, 0, 0.24, 1);
  will-change: opacity, transform;
}

.csdm-particles .particle-ambient {
  animation-name: csdm-ambient-organic;
  animation-timing-function: cubic-bezier(0.36, 0, 0.28, 1);
  will-change: opacity, transform;
}

.csdm-particles .particle-ambient .orbit {
  animation-name: csdm-ambient-orbit;
  animation-timing-function: linear;
}

@keyframes csdm-endrod-organic {
  0% {
    opacity: 0;
    transform: translate3d(var(--drift-start), 18px, 0) rotate(var(--tilt-start)) scale(0.55);
  }

  16% {
    opacity: var(--peak);
  }

  54% {
    opacity: calc(var(--peak) * 0.72);
    transform: translate3d(var(--drift-mid), var(--rise-mid), 0) rotate(var(--tilt-mid)) scale(1);
  }

  84% {
    opacity: calc(var(--peak) * 0.42);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--drift-end), var(--rise-end), 0) rotate(var(--tilt-end)) scale(0.35);
  }
}

@keyframes csdm-ambient-organic {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.72);
  }

  18% {
    opacity: var(--peak);
  }

  58% {
    opacity: calc(var(--peak) * 0.76);
    transform: translate3d(var(--ambient-drift-mid), var(--ambient-rise-mid), 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--ambient-drift-end), var(--ambient-rise-end), 0) scale(0.58);
  }
}

@keyframes csdm-ambient-orbit {
  to {
    transform: rotate(1turn);
  }
}

@media (prefers-reduced-motion: reduce) {
  .csdm-particles .particle-endrod,
  .csdm-particles .particle-ambient,
  .csdm-particles .particle-ambient .orbit {
    animation: none !important;
  }

  .csdm-particles .particle-endrod,
  .csdm-particles .particle-ambient {
    opacity: 0.35;
  }
}

