:root {
  --paper: #f4eee4;
  --ink: #07060a;
  --dark: #05040a;
  --pink: #f12da7;
  --cyan: #32dff2;
  --blue: #2648ff;
  --acid: #28ff7a;
  --muted: rgba(244, 238, 228, .74);
}

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

body {
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, Haettenschweiler, sans-serif;
  color: var(--paper);
  background:
    radial-gradient(circle at 15% 8%, rgba(241,45,167,.22), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(50,223,242,.18), transparent 30rem),
    linear-gradient(180deg, #05040a 0%, #090711 42%, #05040a 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 28px);
  mix-blend-mode: screen;
  z-index: 20;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170' viewBox='0 0 170 170'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='170' height='170' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  opacity: .22;
  z-index: 21;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link,
.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;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  padding: .7rem 1rem;
  z-index: 1000;
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  position: fixed;
  top: 18px;
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: difference;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .06em;
  font-size: .9rem;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  gap: .4rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
  font-size: .75rem;
  letter-spacing: .08em;
  padding: .55rem .7rem;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--paper);
  color: var(--ink);
  mix-blend-mode: normal;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--paper);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.poster-hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(1.22) contrast(1.08) brightness(.70);
  transform: scale(1.02);
  z-index: 0;
}

.color-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5,4,10,.24) 0%, rgba(5,4,10,.18) 45%, rgba(5,4,10,.56) 100%),
    radial-gradient(circle at 16% 18%, rgba(241,45,167,.28), transparent 18rem),
    radial-gradient(circle at 86% 22%, rgba(50,223,242,.22), transparent 20rem);
  mix-blend-mode: multiply;
}

.hero-copy {
  position: absolute;
  z-index: 4;
  left: clamp(18px, 5vw, 70px);
  bottom: clamp(24px, 6vh, 62px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hero-copy p {
  margin: 0 0 10px;
  color: var(--cyan);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .18em;
  font-size: .8rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-buttons a,
.service-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .7rem .9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--pink), -3px -3px 0 var(--cyan);
}

.hero-buttons a:nth-child(2) {
  background: var(--ink);
  color: var(--paper);
}

.led-roller {
  position: relative;
  z-index: 5;
  display: flex;
  overflow: hidden;
  gap: 0;
  padding: 16px 0 14px;
  background:
    linear-gradient(90deg, rgba(10,8,16,.96), rgba(16,14,24,.96)),
    linear-gradient(90deg, rgba(241,45,167,.18), rgba(50,223,242,.16));
  border-top: 1px solid rgba(244,238,228,.16);
  border-bottom: 1px solid rgba(244,238,228,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 -1px 0 rgba(255,255,255,.06);
}

.roller-track {
  display: flex;
  flex: 0 0 auto;
  gap: 20px;
  min-width: max-content;
  padding-right: 20px;
  animation: roller 24s linear infinite;
}

.roller-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(244,238,228,.14);
  background: rgba(255,255,255,.045);
  color: var(--paper);
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 900;
  letter-spacing: .12em;
  box-shadow: 0 0 0 1px rgba(50,223,242,.12), 0 0 18px rgba(241,45,167,.12);
}

@keyframes roller {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.listen-scene,
.video-scene,
.live-scene,
.socials-scene,
.site-footer {
  width: min(100% - 34px, 1180px);
  margin-inline: auto;
}

.listen-scene {
  min-height: 56svh;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  padding: clamp(60px, 8vw, 112px) 0;
}

.scene-label,
.video-head span,
.live-copy span,
.mail-copy span,
.socials-title span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  font-size: .78rem;
}

.listen-copy h2,
.video-head h2,
.live-copy h2,
.socials-title h2 {
  margin: 8px 0 0;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 10vw, 9rem);
  line-height: .78;
  letter-spacing: -.105em;
  color: var(--paper);
  text-shadow: 3px 0 var(--pink), -3px 0 var(--cyan);
}

.mail-copy h3 {
  margin: 10px 0 0;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: .9;
  letter-spacing: -.07em;
  color: var(--paper);
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.video-scene {
  position: relative;
  padding: clamp(48px, 8vw, 100px) 0;
}

.side-word {
  position: absolute;
  left: -1vw;
  top: 42px;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 900;
  letter-spacing: -.08em;
  opacity: .14;
}

.video-frame {
  margin-top: 24px;
  transform: rotate(-1deg);
  box-shadow: 18px 18px 0 rgba(241,45,167,.55), -10px -10px 0 rgba(50,223,242,.42);
  background: var(--paper);
  padding: 10px;
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.live-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .72fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  padding: clamp(50px, 8vw, 110px) 0;
  border-block: 1px solid rgba(244,238,228,.14);
}

.live-copy,
.mail-copy {
  position: relative;
}

.live-copy::before {
  content: "";
  position: absolute;
  inset: 20% auto auto -2%;
  width: 108%;
  height: 9px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  transform: rotate(-3deg);
  z-index: -1;
}

.mail-copy::before {
  content: "";
  position: absolute;
  inset: 16px auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(244,238,228,.28), rgba(244,238,228,0));
  z-index: -1;
}

.live-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.live-copy a {
  display: inline-flex;
  margin-top: 24px;
  padding: .72rem .95rem;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  box-shadow: 8px 8px 0 var(--pink), -4px -4px 0 var(--cyan);
}

.mail-copy {
  padding-top: 26px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.mail-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: .08em;
}

.mail-copy a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 900;
  word-break: break-word;
}

.socials-scene {
  padding: clamp(52px, 8vw, 104px) 0 0;
}

.social-lines {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid rgba(244,238,228,.16);
}

.social-lines a {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(244,238,228,.16);
  text-decoration: none;
}

.social-lines span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 900;
}

.social-lines strong {
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: .8;
  letter-spacing: -.08em;
  text-transform: uppercase;
  text-shadow: 2px 0 var(--pink), -2px 0 var(--cyan);
}

.social-lines a:hover strong,
.social-lines a:focus-visible strong {
  color: var(--cyan);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  padding: 44px 0 56px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.site-footer a {
  text-decoration: none;
  color: var(--muted);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--paper);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .listen-scene,
  .live-scene,
  .social-lines a {
    grid-template-columns: 1fr;
  }

  .scene-label {
    margin-bottom: -20px;
  }

  .live-copy::before,
  .mail-copy::before {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    mix-blend-mode: normal;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    min-width: 220px;
    padding: 10px;
    background: rgba(5, 4, 10, .94);
    border: 1px solid rgba(255,255,255,.16);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: .9rem 1rem;
  }

  .poster-hero {
    min-height: 82svh;
  }

  .hero-photo {
    object-position: 62% center;
  }

  .hero-copy {
    left: 16px;
    bottom: 18px;
  }

  .listen-scene,
  .video-scene,
  .live-scene,
  .socials-scene,
  .site-footer {
    width: min(100% - 26px, 1180px);
  }

  .service-links {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .service-links a {
    white-space: nowrap;
  }

  .video-frame {
    transform: none;
    box-shadow: 8px 8px 0 rgba(241,45,167,.55), -5px -5px 0 rgba(50,223,242,.42);
  }

  .side-word {
    display: none;
  }

  .social-lines a {
    gap: 6px;
  }

  .social-lines strong {
    font-size: clamp(1.6rem, 11vw, 3rem);
  }

  .roller-track span {
    min-width: 150px;
    font-size: 1rem;
  }
}


/* v27 portrait strip */
.portrait-scene {
  width: min(100% - 34px, 1180px);
  margin-inline: auto;
  padding: clamp(42px, 7vw, 96px) 0 0;
}

.portrait-head span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  font-size: .78rem;
}

.portrait-head h2 {
  margin: 10px 0 0;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 7vw, 5.8rem);
  line-height: .82;
  letter-spacing: -.09em;
  color: var(--paper);
  text-shadow: 2px 0 var(--pink), -2px 0 var(--cyan);
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
  align-items: end;
}

.portrait-card {
  position: relative;
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  background: #0a0810;
  box-shadow: 14px 14px 0 rgba(241,45,167,.18), -7px -7px 0 rgba(50,223,242,.14);
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 52%, rgba(5,4,10,.28) 100%),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255,255,255,.025) 34px 35px);
  pointer-events: none;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.portrait-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  padding: .4rem .55rem;
  background: rgba(5,4,10,.72);
  color: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 900;
}

.portrait-a { transform: rotate(-1.2deg); }
.portrait-b { transform: translateY(24px) rotate(.9deg); }
.portrait-c { transform: translateY(-14px) rotate(-.8deg); }
.portrait-d { transform: translateY(18px) rotate(1.1deg); }

@media (max-width: 900px) {
  .portrait-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portrait-a,
  .portrait-b,
  .portrait-c,
  .portrait-d {
    transform: none;
  }
}

@media (max-width: 760px) {
  .portrait-scene {
    width: min(100% - 26px, 1180px);
  }

  .portrait-grid {
    gap: 12px;
  }

  .portrait-card,
  .portrait-card img {
    min-height: 280px;
  }
}


/* v32 portrait glitch swap */
.portrait-card {
  isolation: isolate;
}

.portrait-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.portrait-main {
  z-index: 1;
  filter: saturate(1.08) contrast(1.04);
  animation: portraitMainPulse 2.6s infinite steps(1, end);
}

.portrait-alt {
  z-index: 2;
  opacity: 0;
  filter: saturate(1.28) contrast(1.12) hue-rotate(-8deg);
  animation: portraitAltGlitch 2.6s infinite steps(1, end);
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 2px, transparent 2px 8px),
    linear-gradient(90deg, rgba(241,45,167,.22), rgba(50,223,242,.22));
  mix-blend-mode: screen;
  animation: portraitScanGlitch 2.6s infinite steps(1, end);
}

@keyframes portraitMainPulse {
  0%, 6%, 14%, 52%, 60%, 100% {
    transform: scale(1);
    filter: saturate(1.08) contrast(1.04);
  }

  8% {
    transform: translate3d(3px, 0, 0) scale(1.02);
    filter: saturate(1.16) contrast(1.10);
  }

  10% {
    transform: translate3d(-4px, 0, 0) scale(1.015);
    filter: saturate(0.96) contrast(1.18);
  }

  12% {
    transform: translate3d(2px, 0, 0) scale(1.02);
    filter: saturate(1.12) contrast(1.08);
  }

  54% {
    transform: translate3d(-3px, 0, 0) scale(1.018);
    filter: saturate(1.14) contrast(1.10);
  }

  56% {
    transform: translate3d(4px, 0, 0) scale(1.012);
    filter: saturate(0.98) contrast(1.16);
  }

  58% {
    transform: translate3d(-2px, 0, 0) scale(1.02);
    filter: saturate(1.10) contrast(1.08);
  }
}

@keyframes portraitAltGlitch {
  0%, 6%, 14%, 52%, 60%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }

  7% {
    opacity: .96;
    transform: translate3d(-12px, 0, 0);
    clip-path: inset(0 0 68% 0);
  }

  9% {
    opacity: .88;
    transform: translate3d(14px, -1px, 0);
    clip-path: inset(34% 0 28% 0);
  }

  11% {
    opacity: .96;
    transform: translate3d(-8px, 1px, 0);
    clip-path: inset(74% 0 4% 0);
  }

  13% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }

  53% {
    opacity: .92;
    transform: translate3d(10px, 0, 0);
    clip-path: inset(10% 0 60% 0);
  }

  55% {
    opacity: .84;
    transform: translate3d(-14px, 0, 0);
    clip-path: inset(48% 0 18% 0);
  }

  57% {
    opacity: .96;
    transform: translate3d(8px, 1px, 0);
    clip-path: inset(78% 0 0 0);
  }

  59% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes portraitScanGlitch {
  0%, 6%, 14%, 52%, 60%, 100% {
    opacity: 0;
    transform: translateX(0);
  }

  7% {
    opacity: .32;
    transform: translateX(10px);
  }

  9% {
    opacity: .26;
    transform: translateX(-12px);
  }

  11% {
    opacity: .30;
    transform: translateX(6px);
  }

  53% {
    opacity: .30;
    transform: translateX(-10px);
  }

  55% {
    opacity: .24;
    transform: translateX(12px);
  }

  57% {
    opacity: .28;
    transform: translateX(-6px);
  }
}

@media (max-width: 760px) {
  .portrait-card img {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portrait-main,
  .portrait-alt,
  .portrait-card::before {
    animation: none;
  }

  .portrait-alt {
    display: none;
  }
}


/* v33 restored hero glitch */
.poster-hero {
  isolation: isolate;
}

.poster-hero::before,
.poster-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/band-photo.png");
  background-size: cover;
  background-position: 58% center;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
}

.poster-hero::before {
  z-index: 2;
  mix-blend-mode: screen;
  filter: saturate(1.45) contrast(1.22) hue-rotate(70deg);
  animation: heroGlitchOneFast 2.6s infinite steps(1, end);
}

.poster-hero::after {
  z-index: 3;
  mix-blend-mode: screen;
  filter: saturate(1.65) contrast(1.28) hue-rotate(-65deg);
  animation: heroGlitchTwoFast 2.6s infinite steps(1, end);
}

.hero-photo {
  animation: heroPhotoPulseFast 2.6s infinite steps(1, end);
}

@keyframes heroGlitchOneFast {
  0%, 7%, 15%, 53%, 61%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }

  8% {
    opacity: .58;
    transform: translate3d(-14px, 0, 0);
    clip-path: inset(10% 0 72% 0);
  }

  10% {
    opacity: .42;
    transform: translate3d(18px, -2px, 0);
    clip-path: inset(42% 0 40% 0);
  }

  12% {
    opacity: .50;
    transform: translate3d(-8px, 3px, 0);
    clip-path: inset(72% 0 12% 0);
  }

  54% {
    opacity: .48;
    transform: translate3d(-12px, 1px, 0);
    clip-path: inset(16% 0 66% 0);
  }

  56% {
    opacity: .38;
    transform: translate3d(16px, -1px, 0);
    clip-path: inset(52% 0 26% 0);
  }

  58% {
    opacity: .46;
    transform: translate3d(-6px, 2px, 0);
    clip-path: inset(74% 0 8% 0);
  }
}

@keyframes heroGlitchTwoFast {
  0%, 6%, 14%, 52%, 60%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }

  7% {
    opacity: .44;
    transform: translate3d(16px, 2px, 0);
    clip-path: inset(24% 0 58% 0);
  }

  9% {
    opacity: .36;
    transform: translate3d(-20px, -1px, 0);
    clip-path: inset(56% 0 28% 0);
  }

  11% {
    opacity: .48;
    transform: translate3d(10px, 0, 0);
    clip-path: inset(4% 0 82% 0);
  }

  53% {
    opacity: .42;
    transform: translate3d(12px, 1px, 0);
    clip-path: inset(18% 0 60% 0);
  }

  55% {
    opacity: .34;
    transform: translate3d(-18px, 0, 0);
    clip-path: inset(60% 0 22% 0);
  }

  57% {
    opacity: .44;
    transform: translate3d(9px, -1px, 0);
    clip-path: inset(8% 0 78% 0);
  }
}

@keyframes heroPhotoPulseFast {
  0%, 6%, 14%, 52%, 60%, 100% {
    transform: scale(1.02);
    filter: saturate(1.22) contrast(1.08) brightness(.70);
  }

  8% {
    transform: scale(1.025) skewX(.45deg);
    filter: saturate(1.55) contrast(1.18) brightness(.76);
  }

  10% {
    transform: scale(1.018) skewX(-.35deg);
    filter: saturate(1.10) contrast(1.25) brightness(.64);
  }

  12% {
    transform: scale(1.026);
    filter: saturate(1.36) contrast(1.15) brightness(.72);
  }

  54% {
    transform: scale(1.024) skewX(.35deg);
    filter: saturate(1.46) contrast(1.14) brightness(.75);
  }

  56% {
    transform: scale(1.018) skewX(-.25deg);
    filter: saturate(1.08) contrast(1.22) brightness(.65);
  }

  58% {
    transform: scale(1.024);
    filter: saturate(1.30) contrast(1.12) brightness(.72);
  }
}

/* v33 staggered portrait glitch */
.portrait-main,
.portrait-alt,
.portrait-card::before {
  animation-duration: 11.2s;
  animation-iteration-count: infinite;
  animation-timing-function: steps(1, end);
}

.portrait-main {
  animation-name: portraitMainPulseStagger;
}

.portrait-alt {
  animation-name: portraitAltGlitchStagger;
}

.portrait-card::before {
  animation-name: portraitScanGlitchStagger;
}

.portrait-a .portrait-main,
.portrait-a .portrait-alt,
.portrait-a::before {
  animation-delay: 0s;
}

.portrait-b .portrait-main,
.portrait-b .portrait-alt,
.portrait-b::before {
  animation-delay: 1.2s;
}

.portrait-c .portrait-main,
.portrait-c .portrait-alt,
.portrait-c::before {
  animation-delay: 2.4s;
}

.portrait-d .portrait-main,
.portrait-d .portrait-alt,
.portrait-d::before {
  animation-delay: 3.6s;
}

@keyframes portraitMainPulseStagger {
  0%, 4%, 100% {
    transform: scale(1);
    filter: saturate(1.08) contrast(1.04);
  }

  1% {
    transform: translate3d(3px, 0, 0) scale(1.018);
    filter: saturate(1.12) contrast(1.08);
  }

  2% {
    transform: translate3d(-2px, 0, 0) scale(1.012);
    filter: saturate(1.00) contrast(1.16);
  }

  3% {
    transform: translate3d(2px, 0, 0) scale(1.016);
    filter: saturate(1.10) contrast(1.06);
  }
}

@keyframes portraitAltGlitchStagger {
  0%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
    filter: saturate(1.28) contrast(1.12) hue-rotate(-8deg);
  }

  0.8% {
    opacity: .78;
    transform: translate3d(-8px, 0, 0);
    clip-path: inset(0 0 0 0);
    filter: saturate(1.18) contrast(1.04) hue-rotate(-5deg);
  }

  1.6% {
    opacity: .92;
    transform: translate3d(6px, 0, 0);
    clip-path: inset(10% 0 0 0);
    filter: saturate(1.22) contrast(1.06) hue-rotate(-2deg);
  }

  2.4% {
    opacity: .96;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
    filter: saturate(1.08) contrast(1.02) hue-rotate(0deg);
  }

  3.2% {
    opacity: .88;
    transform: translate3d(-4px, 0, 0);
    clip-path: inset(0 0 8% 0);
    filter: saturate(1.14) contrast(1.05) hue-rotate(-3deg);
  }

  4% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
    filter: saturate(1.28) contrast(1.12) hue-rotate(-8deg);
  }
}

@keyframes portraitScanGlitchStagger {
  0%, 100% {
    opacity: 0;
    transform: translateX(0);
  }

  1% {
    opacity: .16;
    transform: translateX(8px);
  }

  2% {
    opacity: .22;
    transform: translateX(-8px);
  }

  3% {
    opacity: .14;
    transform: translateX(4px);
  }

  4% {
    opacity: 0;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .poster-hero::before,
  .poster-hero::after,
  .hero-photo,
  .portrait-main,
  .portrait-alt,
  .portrait-card::before {
    animation: none !important;
  }

  .portrait-alt {
    display: none;
  }
}


/* v34 irregular hero + faster portraits */

/* Hero: less rhythmic, 3-part irregular loop */
.poster-hero::before {
  animation: heroGlitchOneIrregular 8.4s infinite steps(1, end) !important;
}

.poster-hero::after {
  animation: heroGlitchTwoIrregular 8.4s infinite steps(1, end) !important;
}

.hero-photo {
  animation: heroPhotoPulseIrregular 8.4s infinite steps(1, end) !important;
}

@keyframes heroGlitchOneIrregular {
  0%, 4%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }

  /* burst 1 - short */
  5% {
    opacity: .52;
    transform: translate3d(-12px, 0, 0);
    clip-path: inset(12% 0 70% 0);
  }
  6.2% {
    opacity: .40;
    transform: translate3d(16px, -2px, 0);
    clip-path: inset(44% 0 38% 0);
  }
  7.1% {
    opacity: .46;
    transform: translate3d(-8px, 2px, 0);
    clip-path: inset(74% 0 10% 0);
  }
  8% {
    opacity: 0;
    transform: translate3d(0,0,0);
    clip-path: inset(0 0 0 0);
  }

  /* burst 2 - longer */
  31% {
    opacity: .26;
    transform: translate3d(10px, 0, 0);
    clip-path: inset(6% 0 80% 0);
  }
  33% {
    opacity: .54;
    transform: translate3d(-18px, 1px, 0);
    clip-path: inset(18% 0 62% 0);
  }
  35.2% {
    opacity: .42;
    transform: translate3d(14px, -1px, 0);
    clip-path: inset(42% 0 34% 0);
  }
  37.1% {
    opacity: .50;
    transform: translate3d(-10px, 2px, 0);
    clip-path: inset(64% 0 16% 0);
  }
  39% {
    opacity: .34;
    transform: translate3d(8px, 0, 0);
    clip-path: inset(82% 0 4% 0);
  }
  40.3% {
    opacity: 0;
    transform: translate3d(0,0,0);
    clip-path: inset(0 0 0 0);
  }

  /* burst 3 - medium */
  73% {
    opacity: .48;
    transform: translate3d(-14px, 0, 0);
    clip-path: inset(20% 0 56% 0);
  }
  74.4% {
    opacity: .36;
    transform: translate3d(18px, -1px, 0);
    clip-path: inset(56% 0 22% 0);
  }
  76.1% {
    opacity: .44;
    transform: translate3d(-6px, 2px, 0);
    clip-path: inset(8% 0 78% 0);
  }
  77.4% {
    opacity: .30;
    transform: translate3d(10px, 0, 0);
    clip-path: inset(76% 0 6% 0);
  }
  78.4% {
    opacity: 0;
    transform: translate3d(0,0,0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes heroGlitchTwoIrregular {
  0%, 4%, 100% {
    opacity: 0;
    transform: translate3d(0,0,0);
    clip-path: inset(0 0 0 0);
  }

  /* burst 1 - short */
  4.7% {
    opacity: .36;
    transform: translate3d(14px, 1px, 0);
    clip-path: inset(24% 0 56% 0);
  }
  5.8% {
    opacity: .30;
    transform: translate3d(-18px, -1px, 0);
    clip-path: inset(58% 0 24% 0);
  }
  6.8% {
    opacity: .42;
    transform: translate3d(9px, 0, 0);
    clip-path: inset(6% 0 80% 0);
  }
  7.7% {
    opacity: 0;
    transform: translate3d(0,0,0);
    clip-path: inset(0 0 0 0);
  }

  /* burst 2 - longer */
  31.6% {
    opacity: .28;
    transform: translate3d(-8px, 0, 0);
    clip-path: inset(10% 0 74% 0);
  }
  34% {
    opacity: .44;
    transform: translate3d(16px, 1px, 0);
    clip-path: inset(30% 0 44% 0);
  }
  36% {
    opacity: .34;
    transform: translate3d(-20px, -1px, 0);
    clip-path: inset(60% 0 18% 0);
  }
  38.1% {
    opacity: .46;
    transform: translate3d(10px, 0, 0);
    clip-path: inset(4% 0 82% 0);
  }
  39.5% {
    opacity: .24;
    transform: translate3d(-8px, 1px, 0);
    clip-path: inset(76% 0 6% 0);
  }
  40.5% {
    opacity: 0;
    transform: translate3d(0,0,0);
    clip-path: inset(0 0 0 0);
  }

  /* burst 3 - medium */
  72.8% {
    opacity: .40;
    transform: translate3d(12px, 0, 0);
    clip-path: inset(14% 0 66% 0);
  }
  74.2% {
    opacity: .32;
    transform: translate3d(-16px, -1px, 0);
    clip-path: inset(46% 0 28% 0);
  }
  75.6% {
    opacity: .40;
    transform: translate3d(8px, 1px, 0);
    clip-path: inset(72% 0 8% 0);
  }
  77.2% {
    opacity: .28;
    transform: translate3d(-6px, 0, 0);
    clip-path: inset(2% 0 84% 0);
  }
  78.2% {
    opacity: 0;
    transform: translate3d(0,0,0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes heroPhotoPulseIrregular {
  0%, 4%, 100% {
    transform: scale(1.02);
    filter: saturate(1.22) contrast(1.08) brightness(.70);
  }

  /* burst 1 */
  5% {
    transform: scale(1.024) skewX(.35deg);
    filter: saturate(1.42) contrast(1.14) brightness(.75);
  }
  6.1% {
    transform: scale(1.017) skewX(-.28deg);
    filter: saturate(1.08) contrast(1.22) brightness(.64);
  }
  7.2% {
    transform: scale(1.023);
    filter: saturate(1.28) contrast(1.12) brightness(.72);
  }

  /* burst 2 */
  33% {
    transform: scale(1.026) skewX(.42deg);
    filter: saturate(1.55) contrast(1.18) brightness(.77);
  }
  35.2% {
    transform: scale(1.018) skewX(-.34deg);
    filter: saturate(1.06) contrast(1.26) brightness(.63);
  }
  37.4% {
    transform: scale(1.024);
    filter: saturate(1.34) contrast(1.14) brightness(.72);
  }
  39.6% {
    transform: scale(1.021) skewX(.18deg);
    filter: saturate(1.20) contrast(1.10) brightness(.70);
  }

  /* burst 3 */
  73.4% {
    transform: scale(1.024) skewX(.30deg);
    filter: saturate(1.40) contrast(1.14) brightness(.75);
  }
  75.1% {
    transform: scale(1.018) skewX(-.22deg);
    filter: saturate(1.10) contrast(1.22) brightness(.65);
  }
  76.9% {
    transform: scale(1.023);
    filter: saturate(1.30) contrast(1.12) brightness(.72);
  }
}

/* Portraits: more frequent, still staggered, and held a bit longer */
.portrait-main,
.portrait-alt,
.portrait-card::before {
  animation-duration: 6.8s !important;
}

.portrait-a .portrait-main,
.portrait-a .portrait-alt,
.portrait-a::before {
  animation-delay: 0s !important;
}

.portrait-b .portrait-main,
.portrait-b .portrait-alt,
.portrait-b::before {
  animation-delay: 0.9s !important;
}

.portrait-c .portrait-main,
.portrait-c .portrait-alt,
.portrait-c::before {
  animation-delay: 1.8s !important;
}

.portrait-d .portrait-main,
.portrait-d .portrait-alt,
.portrait-d::before {
  animation-delay: 2.7s !important;
}

@keyframes portraitMainPulseStagger {
  0%, 8%, 100% {
    transform: scale(1);
    filter: saturate(1.08) contrast(1.04);
  }

  1.4% {
    transform: translate3d(3px, 0, 0) scale(1.018);
    filter: saturate(1.12) contrast(1.08);
  }

  3.2% {
    transform: translate3d(-2px, 0, 0) scale(1.012);
    filter: saturate(1.00) contrast(1.16);
  }

  5.4% {
    transform: translate3d(2px, 0, 0) scale(1.016);
    filter: saturate(1.10) contrast(1.06);
  }
}

@keyframes portraitAltGlitchStagger {
  0%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
    filter: saturate(1.28) contrast(1.12) hue-rotate(-8deg);
  }

  0.8% {
    opacity: .55;
    transform: translate3d(-6px, 0, 0);
    clip-path: inset(0 0 0 0);
    filter: saturate(1.15) contrast(1.03) hue-rotate(-4deg);
  }

  2.2% {
    opacity: .84;
    transform: translate3d(5px, 0, 0);
    clip-path: inset(4% 0 0 0);
    filter: saturate(1.18) contrast(1.04) hue-rotate(-2deg);
  }

  3.8% {
    opacity: .96;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
    filter: saturate(1.06) contrast(1.01) hue-rotate(0deg);
  }

  5.6% {
    opacity: .86;
    transform: translate3d(-3px, 0, 0);
    clip-path: inset(0 0 4% 0);
    filter: saturate(1.12) contrast(1.04) hue-rotate(-2deg);
  }

  7.2% {
    opacity: .40;
    transform: translate3d(2px, 0, 0);
    clip-path: inset(0 0 0 0);
    filter: saturate(1.10) contrast(1.02) hue-rotate(-1deg);
  }

  8% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
    filter: saturate(1.28) contrast(1.12) hue-rotate(-8deg);
  }
}

@keyframes portraitScanGlitchStagger {
  0%, 100% {
    opacity: 0;
    transform: translateX(0);
  }

  1.2% {
    opacity: .14;
    transform: translateX(8px);
  }

  3.6% {
    opacity: .20;
    transform: translateX(-8px);
  }

  6.2% {
    opacity: .12;
    transform: translateX(4px);
  }

  8% {
    opacity: 0;
    transform: translateX(0);
  }
}


/* v36 Sort Sol Runner */
.game-scene {
  width: min(100% - 34px, 1180px);
  margin-inline: auto;
  padding: clamp(54px, 8vw, 106px) 0 0;
  position: relative;
}

.game-head {
  max-width: 940px;
}

.game-head span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  font-size: .78rem;
}

.game-head h2 {
  margin: 10px 0 0;
  text-transform: uppercase;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: .78;
  letter-spacing: -.105em;
  color: var(--paper);
  text-shadow: 3px 0 var(--pink), -3px 0 var(--cyan);
}

.game-head p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .95rem;
  line-height: 1.6;
}

.game-shell {
  margin-top: 28px;
  position: relative;
  background:
    radial-gradient(circle at 14% 18%, rgba(241,45,167,.18), transparent 22rem),
    radial-gradient(circle at 86% 70%, rgba(50,223,242,.16), transparent 24rem),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
  border-block: 1px solid rgba(244,238,228,.15);
  padding: clamp(16px, 2.6vw, 28px) 0;
}

.game-shell::before,
.game-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--pink));
  box-shadow: 0 0 18px rgba(50,223,242,.28);
}

.game-shell::before { top: 0; }
.game-shell::after { bottom: 0; }

.game-topline,
.character-picker,
.game-help {
  width: min(100% - 28px, 1120px);
  margin-inline: auto;
}

.game-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
}

.game-status,
.game-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.game-status span {
  color: var(--muted);
}

.game-status strong,
.game-song {
  color: var(--cyan);
}

.game-mini-button,
.runner-pick,
.game-start {
  border: 1px solid rgba(244,238,228,.18);
  background: rgba(255,255,255,.06);
  color: var(--paper);
  font: inherit;
  text-transform: uppercase;
  font-weight: 900;
  cursor: pointer;
}

.game-mini-button {
  padding: .52rem .72rem;
}

.game-mini-button.is-on {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--pink);
}

.character-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.runner-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: .72rem .76rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
}

.runner-pick.is-active {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--pink), -3px -3px 0 var(--cyan);
}

.pixel-face {
  width: 26px;
  height: 26px;
  image-rendering: pixelated;
  background:
    linear-gradient(90deg, transparent 0 5px, #111 5px 8px, transparent 8px 18px, #111 18px 21px, transparent 21px),
    linear-gradient(180deg, transparent 0 6px, #ffd7b0 6px 19px, #111 19px);
  box-shadow: 0 0 0 3px rgba(0,0,0,.5);
}

.face-mattias { background-color: #241017; }
.face-andreas { background-color: #2f89ff; }
.face-victor { background-color: #f4eee4; }
.face-lars { background-color: #1f4bd8; }

.game-canvas-wrap {
  width: min(100% - 28px, 1120px);
  margin: 18px auto 0;
  position: relative;
  background: #05040a;
  box-shadow: 14px 14px 0 rgba(241,45,167,.42), -8px -8px 0 rgba(50,223,242,.30);
  overflow: hidden;
  border: 1px solid rgba(244,238,228,.16);
}

#rbr-runner {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  background: #05040a;
  cursor: pointer;
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(50,223,242,.18), transparent 22rem),
    rgba(5,4,10,.78);
  backdrop-filter: blur(3px);
}

.game-overlay.is-visible {
  display: grid;
}

.game-overlay h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 5.4rem);
  line-height: .8;
  letter-spacing: -.08em;
  text-shadow: 2px 0 var(--pink), -2px 0 var(--cyan);
}

.game-overlay p {
  max-width: 520px;
  margin: 14px auto 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.game-start {
  margin-top: 22px;
  padding: .82rem 1.1rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--pink), -4px -4px 0 var(--cyan);
}

.game-help {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8rem;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .game-scene {
    width: min(100% - 26px, 1180px);
  }

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

  .runner-pick {
    font-size: .72rem;
  }

  .game-canvas-wrap {
    box-shadow: 8px 8px 0 rgba(241,45,167,.42), -4px -4px 0 rgba(50,223,242,.30);
  }
}


/* v42 game polish */
.runner-preview-wrap {
  width: min(100% - 28px, 1120px);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: stretch;
  gap: 14px;
}

.runner-preview-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background:
    radial-gradient(circle at 20% 20%, rgba(50,223,242,.14), transparent 20rem),
    radial-gradient(circle at 80% 80%, rgba(241,45,167,.16), transparent 22rem),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(244,238,228,.14);
  box-shadow: 10px 10px 0 rgba(241,45,167,.16), -6px -6px 0 rgba(50,223,242,.12);
  overflow: hidden;
}

.runner-preview-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--pink), var(--cyan));
}

#runner-preview {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  background:
    linear-gradient(180deg, rgba(7,6,14,.94), rgba(3,3,8,.98));
  image-rendering: pixelated;
  border: 1px solid rgba(244,238,228,.12);
}

.runner-preview-copy {
  display: grid;
  gap: 8px;
}

.runner-preview-copy strong {
  font-size: clamp(1.6rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.08em;
}

.runner-preview-copy span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
}

.runner-preview-copy p {
  max-width: 36ch;
  color: var(--muted);
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.6;
}

.runner-nav {
  border: 1px solid rgba(244,238,228,.16);
  background: rgba(255,255,255,.06);
  color: var(--paper);
  cursor: pointer;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.runner-nav:hover {
  background: var(--paper);
  color: var(--ink);
}

.game-overlay {
  background:
    radial-gradient(circle at 50% 45%, rgba(50,223,242,.18), transparent 22rem),
    rgba(5,4,10,.62);
}

@media (max-width: 900px) {
  .runner-preview-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .runner-preview-wrap {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
  }

  .runner-preview-card {
    padding: 12px;
    box-shadow: 6px 6px 0 rgba(241,45,167,.16), -4px -4px 0 rgba(50,223,242,.12);
  }

  #runner-preview {
    max-width: none;
  }
}


/* v43 polish */
.runner-preview-copy {
  align-content: center;
}

.runner-preview-copy strong {
  font-size: clamp(2rem, 6vw, 4.6rem);
  line-height: .85;
}

.game-overlay p strong {
  display: block;
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 1.06rem;
}

.game-overlay p em {
  font-style: normal;
  color: var(--cyan);
}

.game-overlay .game-start {
  margin-top: 26px;
}

.game-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 0 96%, rgba(255,255,255,.06) 96% 100%);
  background-size: 100% 6px;
  mix-blend-mode: screen;
  opacity: .2;
}


/* v44 game over visibility */
.game-overlay.is-gameover {
  align-items: end;
  padding: 20px;
  background:
    linear-gradient(180deg,
      rgba(5,4,10,.04) 0%,
      rgba(5,4,10,.12) 34%,
      rgba(5,4,10,.28) 56%,
      rgba(5,4,10,.78) 100%);
}

.game-overlay.is-gameover > * {
  width: min(100%, 620px);
  margin-inline: auto;
}

.game-overlay.is-gameover h3,
.game-overlay.is-gameover p,
.game-overlay.is-gameover .game-start {
  position: relative;
  z-index: 2;
}

.game-overlay.is-gameover p {
  background: rgba(5,4,10,.48);
  padding: 12px 14px;
  border: 1px solid rgba(244,238,228,.14);
  backdrop-filter: blur(2px);
}


/* v46 better game over visibility */
.game-overlay.is-gameover {
  backdrop-filter: none;
  background:
    linear-gradient(180deg,
      rgba(5,4,10,0.00) 0%,
      rgba(5,4,10,0.02) 20%,
      rgba(5,4,10,0.12) 42%,
      rgba(5,4,10,0.46) 68%,
      rgba(5,4,10,0.82) 100%);
}

.game-overlay.is-gameover h3 {
  margin-top: auto;
}

.game-overlay.is-gameover p {
  background: rgba(5,4,10,.42);
}


/* v48 clearer game-over layout */
.game-overlay.is-gameover {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  grid-auto-rows: min-content;
  align-content: end;
  justify-items: end;
  gap: 10px;
  padding: 24px 28px;
  backdrop-filter: none;
  background:
    linear-gradient(90deg,
      rgba(5,4,10,0.00) 0%,
      rgba(5,4,10,0.00) 42%,
      rgba(5,4,10,0.08) 56%,
      rgba(5,4,10,0.34) 70%,
      rgba(5,4,10,0.82) 100%);
}

.game-overlay.is-gameover > * {
  grid-column: 2;
  width: 100%;
  margin: 0;
}

.game-overlay.is-gameover h3,
.game-overlay.is-gameover p,
.game-overlay.is-gameover .game-start {
  text-align: left;
}

.game-overlay.is-gameover h3 {
  margin-top: auto;
}

.game-overlay.is-gameover p {
  background: rgba(5,4,10,.40);
  padding: 12px 14px;
  border: 1px solid rgba(244,238,228,.14);
  backdrop-filter: blur(1px);
}

@media (max-width: 760px) {
  .game-overlay.is-gameover {
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg,
        rgba(5,4,10,0.00) 0%,
        rgba(5,4,10,0.18) 48%,
        rgba(5,4,10,0.82) 100%);
  }

  .game-overlay.is-gameover > * {
    grid-column: 1;
  }
}
