:root {
  color-scheme: dark;
  --ink: #030308;
  --night: #070718;
  --blue: #11118d;
  --electric: #5878ff;
  --moon: #dce8ff;
  --gold: #ffd51f;
  --red: #ef3151;
  --green: #74d527;
  --white: #f8f7f1;
  --muted: #9b9dac;
  --line: rgba(224, 231, 255, .18);
  --pixel: "Courier New", Courier, monospace;
  --display: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
}
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
.dl-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* Navigation */
.dl-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  background: rgba(2, 2, 7, .9);
  backdrop-filter: blur(16px);
  transition: opacity .35s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}
body.hero-trailer-active .dl-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}
.dl-nav {
  width: min(1740px, calc(100% - 64px));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-inline: auto;
}
.dl-brand img {
  width: 132px;
  image-rendering: pixelated;
}
.dl-nav ul {
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dl-nav li { display: flex; align-items: stretch; }
.dl-nav li a {
  position: relative;
  min-width: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  color: #858795;
  font-size: 14px;
  font-weight: 700;
}
.dl-nav li a::after {
  content: "";
  position: absolute;
  inset: auto 16px -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.dl-nav li a:hover { color: #fff; }
.dl-nav li a:hover::after { transform: scaleX(1); }
.dl-nav li a span {
  color: #555765;
  font: 700 10px/1 var(--pixel);
}
.dl-nav .nav-wishlist { color: var(--gold); }
.dl-menu { display: none; }

/* Living hero */
.dl-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
}
.island-scene,
.island-scene::after,
.night-sky {
  position: absolute;
  inset: 0;
}
.island-scene {
  z-index: 0;
  opacity: 1;
  transition: opacity .7s ease, filter .7s ease;
}
.night-sky {
  z-index: -8;
  background: linear-gradient(180deg, #020207 0%, #070723 58%, #11118d 100%);
}
.pixel-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.pixel-star {
  position: absolute;
  left: var(--star-x);
  top: var(--star-y);
  width: var(--scene-pixel, 8px);
  height: var(--scene-pixel, 8px);
  background: var(--star-color);
  opacity: var(--star-opacity);
  image-rendering: pixelated;
  animation: star-twinkle var(--star-duration) steps(2, end) var(--star-delay) infinite;
}
.pixel-star.cross {
  box-shadow:
    calc(var(--scene-pixel, 8px) * -1) 0 var(--star-color),
    var(--scene-pixel, 8px) 0 var(--star-color),
    0 calc(var(--scene-pixel, 8px) * -1) var(--star-color),
    0 var(--scene-pixel, 8px) var(--star-color);
}
.pixel-star.pair {
  box-shadow: calc(var(--scene-pixel, 8px) * 2) var(--scene-pixel, 8px) var(--star-color);
}
@keyframes star-twinkle {
  0%, 28%, 100% { opacity: var(--star-opacity); }
  29%, 47% { opacity: .18; }
  48%, 62% { opacity: 1; }
  63%, 78% { opacity: .42; }
}
.island-scene::after {
  content: "";
  z-index: 8;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 2, 7, .97) 0%, rgba(2, 2, 7, .78) 34%, rgba(2, 2, 7, .08) 70%),
    linear-gradient(0deg, #030308 0%, transparent 24%);
}
.scene-layer {
  position: absolute;
  inset: 76px 0 auto auto;
  width: min(76vw, 1500px);
  height: calc(100% - 76px);
  max-width: none;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
  user-select: none;
  image-rendering: pixelated;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  will-change: transform;
}
.scene-layer.moon {
  z-index: -7;
  filter: drop-shadow(0 0 24px rgba(177, 211, 255, .22));
}
.scene-layer.castle { z-index: -5; }
.scene-layer.trees-back { z-index: -4; opacity: .78; }
.scene-layer.cliff { z-index: -3; }
.scene-layer.john {
  z-index: -1;
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .72));
}
.hero-trailer {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  background: #020205 url("games/Dark-Light/DL_Trailer_YouTube.jpg") center / cover no-repeat;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity .7s ease, transform 1.1s cubic-bezier(.22, 1, .36, 1), visibility .7s;
}
.hero-trailer::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 2, 7, .96) 0%, rgba(2, 2, 7, .78) 31%, rgba(2, 2, 7, .18) 61%, rgba(2, 2, 7, .04) 100%),
    linear-gradient(0deg, rgba(2, 2, 7, .74), transparent 38%);
}
.hero-trailer iframe {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(100%, calc(100svh * 16 / 9));
  height: min(100%, calc(100vw * 9 / 16));
  border: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity .55s ease;
}
.hero-trailer.video-ready {
  background-color: #020205;
  background-image: none;
}
.hero-trailer.video-ready iframe { opacity: 1; }
.hero-trailer-controls {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 3vw, 48px);
  bottom: clamp(20px, 4vh, 42px);
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease .35s, transform .35s ease .35s;
}
.hero-trailer-controls button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
  background: rgba(2, 2, 7, .68);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.hero-trailer-controls button:hover,
.hero-trailer-controls button:focus-visible {
  border-color: var(--gold);
  background: rgba(2, 2, 7, .94);
  color: var(--gold);
  transform: scale(1.08);
}
.video-control-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
  color: currentColor;
}
.playback-icon::before,
.playback-icon::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 4px;
  height: 14px;
  background: currentColor;
}
.playback-icon::before { left: 3px; }
.playback-icon::after { right: 3px; }
.playback-icon.is-paused::before {
  top: 1px;
  left: 5px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
  background: transparent;
}
.playback-icon.is-paused::after { display: none; }
.volume-icon::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 11px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(0 32%, 38% 32%, 100% 0, 100% 100%, 38% 68%, 0 68%);
}
.volume-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 7px;
  width: 13px;
  height: 18px;
  background: radial-gradient(
    ellipse at left center,
    transparent 0 4px,
    currentColor 4px 6px,
    transparent 6px 8px,
    currentColor 8px 10px,
    transparent 10px
  );
  clip-path: inset(0 0 0 4px);
}
.volume-icon { color: #fff; }
.hero-trailer-controls button.is-muted .volume-icon::after {
  top: 8px;
  left: -2px;
  width: 23px;
  height: 3px;
  background: #fff;
  clip-path: none;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 1px rgba(2, 2, 7, .28);
}
.video-control-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.dl-hero.trailer-active .hero-trailer-controls {
  opacity: 1;
  transform: none;
}
.dl-hero.trailer-active .island-scene {
  opacity: 0;
  filter: brightness(.35);
}
.dl-hero.trailer-active .hero-trailer {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.hero-copy {
  position: relative;
  z-index: 10;
  width: min(650px, calc(100% - 48px));
  margin-left: clamp(24px, 7vw, 130px);
  padding: 110px 0 100px;
}
.pixel-label {
  margin: 0;
  color: var(--gold);
  font: 700 9px/1.3 var(--pixel);
  text-transform: uppercase;
}
.hero-logo {
  width: min(520px, 78vw);
  margin: 24px 0 15px;
  image-rendering: pixelated;
}
.hero-copy h1 {
  margin: 0;
  font: 400 72px/.96 var(--display);
  letter-spacing: 0;
}
.hero-lead {
  max-width: 550px;
  margin: 23px 0 0;
  color: #b9bdcf;
  font-size: 15px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 29px;
}
.dl-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.dl-button:hover { transform: translateY(-3px); }
.dl-button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #090700;
}
.dl-button.secondary {
  background: rgba(3, 3, 8, .56);
  color: #fff;
}
.dl-button.secondary span { color: var(--gold); }
.hero-trailer-toggle {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.hero-trailer-toggle .hero-trailer-label { color: inherit; }
.dl-hero.trailer-active .hero-trailer-toggle {
  border-color: rgba(255, 213, 31, .68);
  background: rgba(3, 3, 8, .82);
}
/* Shared chapter language */
.chapter-section {
  position: relative;
  padding-block: 118px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}
.section-heading h2,
.overview-copy h2,
.wishlist-copy h2 {
  margin: 0;
  font: 400 68px/.95 var(--display);
  letter-spacing: 0;
}
.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.chapter-section:target .reveal { opacity: 1; transform: none; }

/* Chapter 01 */
.overview {
  background:
    linear-gradient(180deg, rgba(9, 11, 32, .96), #05050d 65%),
    #05050d;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  gap: 80px;
  align-items: center;
}
.overview-copy .lead {
  margin: 28px 0 18px;
  color: #e2e4ec;
  font: 400 19px/1.55 var(--display);
}
.overview-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.world-art { margin: 0; }
.world-art img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(91, 120, 255, .36);
  image-rendering: pixelated;
}
.world-art figcaption {
  margin-top: 10px;
  color: #656875;
  font: 700 8px/1.4 var(--pixel);
}
.quest-log {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 88px;
  border-block: 1px solid var(--line);
}
.quest-log article {
  min-height: 210px;
  padding: 32px 34px;
  border-right: 1px solid var(--line);
}
.quest-log article:last-child { border-right: 0; }
.quest-log h3 {
  margin: 0 0 12px;
  font: 400 29px/1 var(--display);
}
.quest-log p {
  margin: 0;
  color: #9295a3;
  font-size: 13px;
  line-height: 1.7;
}

/* Chapter 02 */
.trailer-section {
  background:
    linear-gradient(90deg, rgba(2, 3, 10, .94), rgba(10, 11, 35, .96)),
    #080918;
}
.trailer-frame {
  margin: 0;
  border: 1px solid var(--line);
  background: #020205;
}
.trailer-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.trailer-media > img,
.trailer-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.trailer-media > img {
  image-rendering: auto;
  filter: brightness(.7) contrast(1.08);
  transition: transform .35s ease, filter .35s ease;
}
.trailer-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(2, 2, 7, .5), transparent 45%);
}
.trailer-play {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 0;
  background: rgba(3, 3, 8, .82);
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.trailer-play span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding-left: 3px;
  background: var(--gold);
  color: #080600;
}
.trailer-play strong {
  font: 700 10px/1 var(--pixel);
  text-transform: uppercase;
}
.trailer-media:hover > img { transform: scale(1.02); filter: brightness(.82); }
.trailer-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  color: #727582;
  font: 700 8px/1.2 var(--pixel);
  text-transform: uppercase;
}
.trailer-frame figcaption a { color: var(--gold); }

/* Chapter 03 */
.soundtrack-section { background: #05050b; }
.music-player {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr);
  border: 1px solid var(--line);
  background: #090a15;
}
.player-main {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 54px;
  padding: 42px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(38, 43, 92, .2), transparent 55%),
    #080913;
}
.player-status {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: #686b79;
  font: 700 8px/1 var(--pixel);
}
.player-status .status-light { color: var(--green); }
.player-top {
  width: min(100%, 640px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.player-toggle,
.player-mute,
.track {
  border-radius: 0;
  cursor: pointer;
}
.player-toggle {
  width: 72px;
  height: 72px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #090700;
  font-size: 18px;
}
.player-toggle span { display: block; margin-left: 3px; }
.player-toggle.playing span { margin-left: 0; }
.now-playing p {
  margin: 0 0 8px;
  color: var(--gold);
  font: 700 8px/1 var(--pixel);
  text-transform: uppercase;
}
.now-playing h3 {
  margin: 0 0 7px;
  font: 400 34px/1 var(--display);
}
.now-playing > span { color: #747784; font-size: 12px; }
.player-mute {
  width: 48px;
  height: 40px;
  border: 1px solid var(--line);
  background: #0b0c17;
  color: #9699a6;
  font: 700 8px/1 var(--pixel);
}
.player-mute.muted { border-color: var(--gold); color: var(--gold); }
.player-progress {
  width: min(100%, 680px);
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 13px;
  color: #737683;
  font: 700 8px/1 var(--pixel);
}
.player-seek {
  width: 100%;
  height: 3px;
  accent-color: var(--gold);
  cursor: pointer;
}
.track-list { margin: 0; padding: 0; list-style: none; }
.track-list li:not(:last-child) { border-bottom: 1px solid var(--line); }
.track {
  width: 100%;
  min-height: 109px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  text-align: left;
}
.track:hover,
.track.active { background: rgba(255, 213, 31, .055); }
.track > span {
  color: #666976;
  font: 700 8px/1 var(--pixel);
}
.track strong { font: 400 18px/1.2 var(--display); }
.track small {
  color: #6e7180;
  font: 700 7px/1 var(--pixel);
  text-transform: uppercase;
}
.track.active > span,
.track.active small { color: var(--gold); }

/* Chapter 04 */
.characters {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(118deg, transparent 0 90px, rgba(88, 120, 255, .025) 91px 92px),
    linear-gradient(180deg, #080817, #030308 82%),
    #05050d;
}
.character-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: flex-start;
  gap: 10px;
  padding: 28px 12px 30px;
}
.character-card {
  --card-accent: #7fa45d;
  --card-bg: #101821;
  --card-rest-y: 0px;
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
  --portrait-shift-x: 0px;
  --portrait-shift-y: 0px;
  position: relative;
  isolation: isolate;
  flex: 1 1 18%;
  height: clamp(330px, 26vw, 380px);
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  transform:
    translateY(var(--card-rest-y))
    perspective(900px)
    rotateX(var(--card-tilt-y))
    rotateY(var(--card-tilt-x));
  transition:
    flex-grow .42s cubic-bezier(.22, 1, .36, 1),
    transform .2s ease-out,
    filter .32s ease,
    opacity .32s ease;
}
.character-card:nth-child(even) { --card-rest-y: 22px; }
.character-card.john {
  --card-accent: #8ed33f;
  --card-bg: #101a1b;
}
.character-card.cleo {
  --card-accent: #f1cc49;
  --card-bg: #2a230b;
}
.character-card.clare {
  --card-accent: #b58cff;
  --card-bg: #1b1028;
}
.character-card.claudia {
  --card-accent: #ff4aa2;
  --card-bg: #2b0b1d;
}
.character-card.mystery {
  --card-accent: var(--gold);
  --card-bg: #090912;
}
.character-card.mystery-gray {
  --card-accent: #a8a8b0;
  --card-bg: #17171c;
}
.character-card.mystery-blue {
  --card-accent: #5688ff;
  --card-bg: #0b152c;
}
.character-card.mystery-green {
  --card-accent: #54cf73;
  --card-bg: #0c2314;
}
.character-card.mystery-red {
  --card-accent: #ff515c;
  --card-bg: #2b0b0e;
}
.character-card.mystery-brown {
  --card-accent: #a66b48;
  --card-bg: #26160f;
}
.character-card.mystery-white {
  --card-accent: #f4f1e8;
  --card-bg: #25252a;
}
.character-card::before {
  content: attr(data-roster-number);
  position: absolute;
  z-index: 1;
  top: -22px;
  right: 14px;
  color: color-mix(in srgb, var(--card-accent) 19%, transparent);
  font: 700 118px/1 var(--display);
  pointer-events: none;
}
.character-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--card-accent) 38%, transparent);
  background:
    linear-gradient(112deg, transparent 0 44%, rgba(255, 255, 255, .035) 44% 46%, transparent 46%),
    linear-gradient(0deg, rgba(3, 3, 8, .72), transparent 45%),
    var(--card-bg);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  pointer-events: none;
}
.character-grid:has(.character-card:hover) .character-card:not(:hover) {
  opacity: .7;
  filter: saturate(.55);
}
.character-card:hover,
.character-card:focus-visible {
  z-index: 4;
  flex-grow: 1.34;
  opacity: 1;
  filter: saturate(1.12) brightness(1.06);
  transform:
    translateY(calc(var(--card-rest-y) - 14px))
    perspective(900px)
    rotateX(var(--card-tilt-y))
    rotateY(var(--card-tilt-x));
}
.character-select {
  width: auto;
  padding: 0;
  text-align: inherit;
  cursor: pointer;
}
.character-select:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px var(--card-accent);
}
.character-image {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: end center;
  overflow: visible;
  clip-path: inset(-18% -14% 2px -14%);
}
.character-image img {
  width: 112%;
  max-width: none;
  height: 94%;
  object-fit: contain;
  object-position: center bottom;
  image-rendering: pixelated;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .6));
  transform-origin: center bottom;
  transform: translate3d(var(--portrait-shift-x), var(--portrait-shift-y), 0);
  transition: transform .22s ease-out, filter .32s ease;
}
.character-card:hover img,
.character-card:focus-visible img {
  transform:
    translate3d(var(--portrait-shift-x), var(--portrait-shift-y), 0)
    translateY(-5px)
    scale(1.08);
  filter: drop-shadow(0 28px 20px rgba(0, 0, 0, .78));
}
.character-name {
  position: absolute;
  z-index: 4;
  inset: auto 0 0;
  min-height: 98px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-content: end;
  align-items: center;
  gap: 7px 14px;
  padding: 28px 24px 16px;
  background: linear-gradient(0deg, rgba(3, 3, 8, .98), rgba(3, 3, 8, .82) 58%, transparent);
}
.character-name span {
  grid-column: 1 / -1;
  color: var(--card-accent);
  font: 700 12px/1 var(--pixel);
  text-transform: uppercase;
}
.character-name h3 {
  margin: 0;
  color: #fff;
  font: 400 32px/.9 var(--display);
  transition: transform .25s ease;
}
.character-card:hover .character-name h3 {
  transform: translateX(6px);
}
.character-name i {
  width: 42px;
  aspect-ratio: 472 / 509;
  display: block;
  border: 0;
  background: url("games/Dark-Light/D_for_DarkLight.png") center / contain no-repeat;
  color: transparent;
  font-style: normal;
  font-size: 0;
  transform: rotate(-8deg);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45));
  transition: transform .28s ease, filter .28s ease;
}
.character-card:hover .character-name i,
.character-card:focus-visible .character-name i {
  transform: rotate(2deg) scale(1.1);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .62));
}
.character-card.mystery .character-image {
  place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 213, 31, .025) 0 2px, transparent 2px 16px);
}
.question-mark {
  color: var(--card-accent);
  font: 400 126px/1 var(--display);
  transform: rotate(5deg);
}
.character-card.mystery .character-image p {
  position: absolute;
  margin-top: 130px;
  color: #8b8e9b;
  font: 700 9px/1.5 var(--pixel);
}

/* Character spotlight */
.character-dialog {
  --profile-accent: #9fca75;
  --profile-bright: #d9f0c3;
  --profile-line: rgba(159, 202, 117, .3);
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #040409;
  color: var(--white);
}
.character-dialog::backdrop { background: #030307; }
.character-spotlight {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  background:
    linear-gradient(90deg, var(--spotlight-glow), transparent 50%),
    linear-gradient(110deg, #10111c 0 50%, #05050b 50%);
}
.character-dialog[data-theme="john"] {
  --spotlight-glow: rgba(72, 143, 66, .34);
}
.character-dialog[data-theme="cleo"] {
  --spotlight-glow: rgba(241, 204, 73, .42);
  --profile-accent: #f1cc49;
  --profile-bright: #fff2b7;
  --profile-line: rgba(241, 204, 73, .32);
}
.character-dialog[data-theme="clare"] {
  --spotlight-glow: rgba(126, 70, 190, .42);
  --profile-accent: #b58cff;
  --profile-bright: #eadfff;
  --profile-line: rgba(181, 140, 255, .3);
}
.character-dialog[data-theme="claudia"] {
  --spotlight-glow: rgba(255, 74, 162, .42);
  --profile-accent: #ff4aa2;
  --profile-bright: #ffd8ea;
  --profile-line: rgba(255, 74, 162, .3);
}
.spotlight-art {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: end center;
  padding: 70px 40px 0;
  overflow: hidden;
  background: #0c1010;
}
.character-dialog[data-theme="john"] .spotlight-art {
  background:
    linear-gradient(118deg, rgba(142, 211, 63, .18) 0 17%, transparent 17% 43%, rgba(142, 211, 63, .08) 43% 58%, transparent 58%),
    linear-gradient(155deg, #193325 0 36%, #0b1812 36% 67%, #050a08 67%);
}
.character-dialog[data-theme="cleo"] .spotlight-art {
  background:
    linear-gradient(118deg, rgba(255, 239, 157, .2) 0 13%, transparent 13% 36%, rgba(241, 204, 73, .1) 36% 52%, transparent 52%),
    linear-gradient(150deg, #705b1b 0 34%, #3a300f 34% 68%, #100e06 68%);
}
.character-dialog[data-theme="clare"] .spotlight-art {
  background:
    linear-gradient(128deg, rgba(181, 140, 255, .2) 0 12%, transparent 12% 38%, rgba(181, 140, 255, .09) 38% 55%, transparent 55%),
    linear-gradient(158deg, #392750 0 31%, #21152f 31% 64%, #0d0813 64%);
}
.character-dialog[data-theme="claudia"] .spotlight-art {
  background:
    linear-gradient(128deg, rgba(255, 130, 188, .22) 0 14%, transparent 14% 39%, rgba(255, 74, 162, .1) 39% 57%, transparent 57%),
    linear-gradient(158deg, #6d183f 0 31%, #3b0d25 31% 64%, #12050c 64%);
}
.spotlight-art::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -12%;
  pointer-events: none;
  animation: profile-backdrop-drift 12s ease-in-out infinite alternate;
}
.character-dialog[data-theme="john"] .spotlight-art::before {
  background:
    linear-gradient(128deg, transparent 0 39%, rgba(142, 211, 63, .18) 39% 41%, transparent 41% 100%),
    repeating-linear-gradient(112deg, transparent 0 86px, rgba(142, 211, 63, .07) 87px 90px);
}
.character-dialog[data-theme="cleo"] .spotlight-art::before {
  background:
    repeating-linear-gradient(135deg, transparent 0 76px, rgba(241, 204, 73, .1) 77px 82px, transparent 83px 152px),
    linear-gradient(90deg, transparent 0 49%, rgba(241, 204, 73, .12) 49% 51%, transparent 51%);
}
.character-dialog[data-theme="clare"] .spotlight-art::before {
  background:
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(181, 140, 255, .09) 31px 33px),
    repeating-linear-gradient(112deg, transparent 0 104px, rgba(181, 140, 255, .13) 105px 108px);
}
.character-dialog[data-theme="claudia"] .spotlight-art::before {
  background:
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255, 74, 162, .08) 35px 38px),
    repeating-linear-gradient(118deg, transparent 0 92px, rgba(255, 130, 188, .13) 93px 98px);
}
.spotlight-art::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  animation: profile-symbol-pulse 4.8s ease-in-out infinite;
}
.character-dialog[data-theme="john"] .spotlight-art::after {
  width: 42%;
  height: 78%;
  right: 4%;
  top: 7%;
  background: rgba(142, 211, 63, .13);
  clip-path: polygon(55% 0, 100% 0, 68% 39%, 91% 39%, 24% 100%, 42% 56%, 12% 56%);
}
.character-dialog[data-theme="cleo"] .spotlight-art::after {
  width: 78%;
  aspect-ratio: 1.15;
  left: 5%;
  bottom: -14%;
  border: 2px solid rgba(241, 204, 73, .22);
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(241, 204, 73, .12) 50% 50.5%, transparent 51%),
    linear-gradient(45deg, transparent 49.5%, rgba(241, 204, 73, .12) 50% 50.5%, transparent 51%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.character-dialog[data-theme="clare"] .spotlight-art::after {
  width: 62%;
  height: 82%;
  right: -2%;
  top: 9%;
  border: 2px solid rgba(181, 140, 255, .26);
  background: linear-gradient(145deg, rgba(181, 140, 255, .14), transparent 62%);
  clip-path: polygon(48% 0, 100% 31%, 73% 100%, 18% 82%, 0 28%);
}
.character-dialog[data-theme="claudia"] .spotlight-art::after {
  width: 68%;
  height: 76%;
  right: -4%;
  top: 12%;
  border: 0;
  background: linear-gradient(145deg, rgba(255, 74, 162, .16), transparent 64%);
  clip-path: polygon(50% 0, 88% 17%, 100% 58%, 67% 100%, 19% 88%, 0 45%);
}
.profile-emblem {
  position: absolute;
  z-index: 0;
  top: 5%;
  left: 5%;
  width: clamp(56px, 5.5vw, 82px);
  transform: rotate(-5deg);
  opacity: .24;
  filter: saturate(.55) brightness(.82) drop-shadow(0 6px 10px rgba(0, 0, 0, .28));
}
.profile-emblem img {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}
.character-dialog[data-theme="cleo"] .profile-emblem {
  transform: rotate(3deg);
  filter: saturate(.55) brightness(.82) drop-shadow(0 6px 10px rgba(241, 204, 73, .1));
}
.character-dialog[data-theme="clare"] .profile-emblem {
  filter: saturate(.55) brightness(.82) drop-shadow(0 6px 10px rgba(181, 140, 255, .1));
}
.character-dialog[data-theme="claudia"] .profile-emblem {
  filter: saturate(.55) brightness(.82) drop-shadow(0 6px 10px rgba(255, 74, 162, .1));
}
.spotlight-art > img {
  position: relative;
  z-index: 1;
  width: min(78%, 680px);
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  image-rendering: pixelated;
  animation: character-enter .48s cubic-bezier(.22, 1, .36, 1) both;
}
.spotlight-profile {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(38px, 5vw, 76px);
  border-left: 1px solid var(--profile-line);
  overflow-y: auto;
  background:
    linear-gradient(118deg, transparent 0 74%, color-mix(in srgb, var(--profile-accent) 5%, transparent) 74% 100%),
    #05050b;
}
.spotlight-profile::before {
  position: absolute;
  z-index: 0;
  top: 4%;
  right: 4%;
  color: color-mix(in srgb, var(--profile-accent) 7%, transparent);
  font: 700 clamp(90px, 11vw, 180px)/1 var(--display);
  pointer-events: none;
}
.character-dialog[data-theme="john"] .spotlight-profile::before { content: "01"; }
.character-dialog[data-theme="cleo"] .spotlight-profile::before { content: "02"; }
.character-dialog[data-theme="clare"] .spotlight-profile::before { content: "03"; }
.character-dialog[data-theme="claudia"] .spotlight-profile::before { content: "04"; }
.spotlight-profile > * {
  position: relative;
  z-index: 1;
}
.profile-content {
  width: min(100%, 650px);
  min-width: 0;
}
.profile-intro {
  margin: 0 0 16px;
  color: var(--profile-accent);
  font: 700 9px/1.4 var(--pixel);
  text-transform: uppercase;
}
.spotlight-profile h2 {
  margin: 0;
  color: var(--profile-bright);
  font: 400 clamp(68px, 7vw, 116px)/.82 var(--display);
}
.profile-epithet {
  width: fit-content;
  margin: 24px 0 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--profile-accent);
  color: #f1f1f4;
  font: 400 20px/1.3 var(--display);
}
.profile-summary {
  max-width: 590px;
  margin: 24px 0 28px;
  color: #aeb1bf;
  font-size: 14px;
  line-height: 1.75;
}
.profile-facts {
  margin: 0;
  border-block: 1px solid var(--profile-line);
}
.profile-facts div {
  display: grid;
  grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr);
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--profile-line);
}
.profile-facts div:last-child { border-bottom: 0; }
.profile-facts dt {
  color: var(--profile-accent);
  font-size: 12px;
  font-weight: 700;
}
.profile-facts dd {
  min-width: 0;
  margin: 0;
  color: #e7e7eb;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}
.profile-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.profile-traits li {
  padding: 8px 10px;
  border: 1px solid var(--profile-line);
  color: var(--profile-bright);
  font-size: 11px;
  font-weight: 700;
}
.profile-note {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--profile-accent);
  background: rgba(255, 255, 255, .025);
}
.profile-note span {
  color: var(--profile-accent);
  font: 700 8px/1 var(--pixel);
  text-transform: uppercase;
}
.profile-note p {
  margin: 8px 0 0;
  color: #9295a3;
  font-size: 11px;
  line-height: 1.6;
}
.character-dialog[data-theme="clare"] .profile-content {
  animation: profile-interference 3.8s ease-in-out infinite;
}
.spotlight-profile form { margin-top: 28px; }
.spotlight-profile button {
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--profile-accent);
  border-radius: 0;
  background: transparent;
  color: var(--profile-accent);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.spotlight-profile button:hover {
  background: var(--profile-accent);
  color: #050507;
}
@keyframes character-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes profile-interference {
  48%, 52% { opacity: .72; transform: translateX(2px); }
}
@keyframes profile-backdrop-drift {
  to { transform: translate3d(-24px, 16px, 0) scale(1.04); }
}
@keyframes profile-symbol-pulse {
  50% { opacity: .46; transform: translateY(-8px); }
}

/* Final Steam transmission */
.wishlist-section {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #030307;
}
.wishlist-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("games/Dark-Light/DL_Poster_2026.png") 70% 40% / cover;
  image-rendering: pixelated;
  opacity: .55;
}
.wishlist-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #030307 8%, rgba(3, 3, 7, .92) 42%, rgba(3, 3, 7, .25)),
    linear-gradient(0deg, #030307, transparent 45%);
}
.wishlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  gap: 90px;
  align-items: center;
  padding-block: 100px;
}
.wishlist-copy h2 { font-size: 72px; }
.wishlist-copy > p {
  max-width: 540px;
  margin: 24px 0 28px;
  color: #a5a8b5;
  font-size: 14px;
  line-height: 1.8;
}
.steam-panel {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(3, 3, 8, .88);
}
.steam-panel > p {
  margin: 0 0 13px;
  color: var(--gold);
  font: 700 8px/1 var(--pixel);
}
.steam-panel iframe {
  display: block;
  width: 100%;
  height: 190px;
  border: 0;
}

.dl-footer {
  min-height: 100px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px max(24px, calc((100vw - 1620px) / 2));
  border-top: 1px solid var(--line);
  background: #020205;
  color: #686a77;
  font: 700 8px/1 var(--pixel);
}
.dl-footer img { width: 112px; image-rendering: pixelated; }
.dl-footer p:last-child { text-align: right; }

@media (min-width: 1121px) {
  .character-name i {
    width: 30px;
  }

  .character-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-inline: 0;
  }
  .character-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.06;
  }
  .character-name {
    min-height: 116px;
    padding: 34px 28px 20px;
  }
  .character-name h3 { font-size: 36px; }
  .character-card.mystery .character-image p { margin-top: 180px; }
  .character-card:nth-child(even) { --card-rest-y: 0px; }
  .character-card:nth-child(9) { grid-column: 2; }
  .character-card:nth-child(10) { grid-column: 3; }
}

@media (max-width: 1120px) {
  .dl-nav li a {
    min-width: 100px;
    padding-inline: 10px;
    font-size: 13px;
  }
  .overview-grid { gap: 50px; }
  .character-grid {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding-inline: 0;
  }
  .character-card {
    height: 480px;
    transform: none;
  }
  .character-name {
    min-height: 116px;
    padding: 34px 28px 20px;
  }
  .character-name h3 { font-size: 36px; }
  .character-card.mystery .character-image p { margin-top: 180px; }
  .character-card:nth-child(even) { --card-rest-y: 0px; }
  .character-card:hover,
  .character-card:focus-visible { transform: translateY(-8px); }
}

@media (max-width: 1200px) {
  .dl-nav { width: calc(100% - 40px); }
  .dl-brand img { width: 116px; }
  .dl-menu {
    width: 42px;
    height: 42px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #070711;
    cursor: pointer;
  }
  .dl-menu span { height: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
  .dl-menu.open span:first-child { transform: translateY(7px) rotate(45deg); }
  .dl-menu.open span:nth-child(2) { opacity: 0; }
  .dl-menu.open span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .dl-nav ul {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    height: auto;
    display: grid;
    padding: 10px;
    border: 1px solid var(--line);
    background: rgba(3, 3, 8, .98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .dl-nav ul.open { opacity: 1; visibility: visible; transform: none; }
  .dl-nav li a {
    min-height: 46px;
    justify-content: flex-start;
    font-size: 14px;
  }
  .dl-nav li a::after { display: none; }
  .overview-grid,
  .section-heading,
  .wishlist-layout { grid-template-columns: 1fr; }
  .overview-grid,
  .section-heading { gap: 34px; }
  .quest-log { grid-template-columns: 1fr; }
  .quest-log article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .quest-log article:last-child { border-bottom: 0; }
  .music-player { grid-template-columns: 1fr; }
  .player-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .wishlist-layout { gap: 45px; }
}

@media (min-width: 761px) and (max-width: 1200px) {
  .dl-hero {
    min-height: max(820px, 100svh);
    align-items: flex-start;
  }
  .scene-layer {
    inset: 76px 0 auto auto;
    width: 112vw;
    height: auto;
    object-fit: contain;
    object-position: right top;
  }
  .island-scene::after {
    background:
      linear-gradient(90deg, rgba(2, 2, 7, .96) 0%, rgba(2, 2, 7, .7) 43%, rgba(2, 2, 7, .06) 82%),
      linear-gradient(0deg, #030308 4%, transparent 50%);
  }
  .hero-copy {
    width: min(560px, calc(100% - 80px));
    margin-left: clamp(40px, 6vw, 68px);
    padding: clamp(220px, 29vh, 280px) 0 88px;
  }
  .hero-logo { width: min(450px, 72vw); }
  .hero-copy h1 { font-size: 62px; }
  .hero-lead { max-width: 520px; }
}

@media (max-width: 760px) {
  .dl-shell { width: calc(100% - 36px); }
  .dl-hero {
    min-height: 780px;
    display: block;
    padding-top: 170px;
  }
  .scene-layer {
    inset: 76px auto auto 50%;
    width: 155vw;
    height: auto;
    object-fit: contain;
    object-position: center top;
    transform: translate3d(calc(-50% + var(--px, 0px)), var(--py, 0px), 0);
  }
  .island-scene::after {
    background:
      linear-gradient(90deg, rgba(2, 2, 7, .88), rgba(2, 2, 7, .35) 72%, rgba(2, 2, 7, .1)),
      linear-gradient(0deg, #030308 10%, transparent 68%);
  }
  .hero-copy {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding: 0;
  }
  .dl-hero.trailer-active { padding-top: 0; }
  .dl-hero.trailer-active .hero-copy {
    position: absolute;
    z-index: 12;
    inset: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    pointer-events: none;
  }
  .dl-hero.trailer-active .pixel-label,
  .dl-hero.trailer-active .hero-logo,
  .dl-hero.trailer-active .hero-lead {
    opacity: 0;
    visibility: hidden;
  }
  .dl-hero.trailer-active .hero-actions {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    margin: 0;
    pointer-events: auto;
  }
  .dl-hero.trailer-active .hero-actions .primary { display: none; }
  .dl-hero.trailer-active .hero-trailer-toggle {
    width: auto;
    min-height: 44px;
    padding-inline: 16px;
    background: rgba(2, 2, 7, .82);
    backdrop-filter: blur(8px);
  }
  .dl-hero.trailer-active .hero-trailer::after {
    background:
      linear-gradient(180deg, rgba(2, 2, 7, .55), transparent 22% 78%, rgba(2, 2, 7, .62));
  }
  .dl-hero.trailer-active .hero-trailer-controls {
    top: calc(50% + 28.125vw - 58px);
    right: 18px;
    bottom: auto;
  }
  .hero-logo { width: min(410px, 82vw); }
  .hero-copy h1 { font-size: 52px; }
  .hero-lead { max-width: 500px; }
  .chapter-section { padding-block: 86px; }
  .section-heading h2,
  .overview-copy h2,
  .wishlist-copy h2 { font-size: 50px; }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-copy .lead { font-size: 18px; }
  .quest-log { margin-top: 60px; }
  .trailer-frame figcaption { flex-direction: column; }
  .player-main { min-height: 310px; padding: 24px 20px 32px; }
  .player-top { gap: 16px; }
  .player-toggle { width: 60px; height: 60px; }
  .character-grid { grid-template-columns: 1fr; }
  .character-card { height: 460px; }
  .character-image { height: auto; }
  .character-spotlight {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(380px, 48dvh) auto;
    min-height: 100%;
    height: auto;
    background: linear-gradient(180deg, var(--spotlight-glow), transparent 58%), #05050b;
  }
  .spotlight-art { padding: 70px 18px 0; }
  .character-dialog { overflow-y: auto; }
  .spotlight-profile {
    align-items: stretch;
    padding: 36px 22px 42px;
    border-top: 1px solid var(--profile-line);
    border-left: 0;
  }
  .spotlight-profile h2 { font-size: 64px; }
  .profile-epithet { font-size: 18px; }
  .profile-facts div {
    grid-template-columns: minmax(90px, .7fr) minmax(0, 1.3fr);
    gap: 14px;
  }
  .spotlight-profile form,
  .spotlight-profile button { width: 100%; }
  .wishlist-section { min-height: 760px; }
  .wishlist-layout { padding-block: 90px; }
  .steam-panel { display: none; }
  .dl-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .dl-footer p:last-child { text-align: center; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 42px; }
  .hero-actions { display: grid; }
  .hero-actions .dl-button { width: 100%; justify-content: space-between; }
  .section-heading h2,
  .overview-copy h2,
  .wishlist-copy h2 { font-size: 42px; }
  .trailer-play { padding: 10px 12px; }
  .trailer-play span { width: 32px; height: 32px; }
  .trailer-play strong { font-size: 8px; }
  .player-top { grid-template-columns: auto 1fr; }
  .player-mute { grid-column: 1 / -1; width: 100%; }
  .player-progress { grid-template-columns: 34px 1fr 34px; gap: 8px; }
  .character-card { height: 410px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .pixel-star { animation: none; }
}

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .dl-header { position: absolute; }
  .chapter-section { break-inside: auto; }
}
