/* ==========================================================================
   THEME: DISCO  (Under the Disco Lights, an 80's bar simulator)

   Neon on indigo. A tube-sign title that flickers on, a mirror ball throwing
   moving spots, and a colour grade that eases off as you scroll.

   Applies to any section with data-theme="disco".
   ========================================================================== */

@font-face {
  font-family: "Monoton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/monoton-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Monoton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/monoton-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

[data-theme="disco"] {
  --disco-ground: #0d0221;
  --disco-pink:   #ff2e97;
  --disco-cyan:   #2de2e6;
  --disco-violet: #7a2bf5;
  --disco-gold:   #f9c80e;

  --sc-canvas: var(--disco-ground);
  --sc-surface: #1a0b3a;
  --sc-ink: #f7f3ff;
  --sc-ink-soft: #cdc3ea;
  --sc-accent: var(--disco-pink);
  --sc-accent-ink: var(--disco-ground);
  --hair: rgb(247 243 255 / 0.16);
  --hair-strong: rgb(247 243 255 / 0.34);
}
[data-theme="disco"] :focus-visible { outline-color: var(--disco-cyan); border-radius: 999px; }

/* ---------------------------------------------------------- the room -- */
.disco {
  /* --lit: house lights, 0 to 1, from the act's scroll progress. Timed to the
     clip: it turns from day to night over the first third of the pin. */
  --lit: clamp(0, calc((var(--sc-p, 0) - 0.02) / 0.3), 1);
  /* --floor: 0 to 1 as the clip leaves the bar for the dance floor */
  --floor: clamp(0, calc((var(--sc-p, 0) - 0.34) / 0.14), 1);
  background: var(--disco-ground);
  color: var(--sc-ink);
}
/* The footage is a scrubbed clip. The engine (vendor/scrollcraft.css) sizes
   the <video data-sc-scrub> and its poster to fill the stage. */

/* an 80's colour grade over the footage: pink to violet to cyan */
.disco__grade {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(115deg, rgb(255 46 151 / 0.55), rgb(122 43 245 / 0.45) 48%, rgb(45 226 230 / 0.5));
  opacity: calc(0.85 - var(--lit) * 0.7);
}

/* mirror-ball spots: three grids of dots turning slowly around the ball */
.disco__spots {
  position: absolute; left: 50%; top: 27%; width: 200vmax; height: 200vmax;
  translate: -50% -50%; pointer-events: none; mix-blend-mode: screen;
  opacity: calc((0.25 + var(--lit) * 0.4) * (1 - var(--floor)));
  background:
    radial-gradient(circle, rgb(255 255 255 / 0.85) 0 0.28vmax, transparent 0.42vmax) 0 0 / 8.5vmax 6.5vmax,
    radial-gradient(circle, rgb(255 46 151 / 0.9) 0 0.34vmax, transparent 0.5vmax) 3vmax 2vmax / 11vmax 9vmax,
    radial-gradient(circle, rgb(45 226 230 / 0.85) 0 0.3vmax, transparent 0.46vmax) 6vmax 5vmax / 13vmax 10.5vmax,
    radial-gradient(circle, rgb(249 200 14 / 0.8) 0 0.26vmax, transparent 0.4vmax) 1vmax 7vmax / 17vmax 12vmax;
  -webkit-mask: radial-gradient(circle, transparent 0 5vmax, #000 14vmax, #000 55vmax, transparent 85vmax);
          mask: radial-gradient(circle, transparent 0 5vmax, #000 14vmax, #000 55vmax, transparent 85vmax);
}

.disco__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgb(13 2 33 / 0.96) 0%, rgb(13 2 33 / 0.7) 34%, transparent 66%),
    linear-gradient(to right, rgb(13 2 33 / 0.9) 0%, rgb(13 2 33 / 0.6) 34%, transparent 64%),
    linear-gradient(to bottom, rgb(13 2 33 / 0.65) 0%, transparent 18%),
    linear-gradient(to left, rgb(13 2 33 / 0.7) 0%, transparent calc(var(--pad-r) + 2rem));
}

/* ----------------------------------------------------------- the sign -- */
.disco__copy {
  position: absolute; z-index: 20;
  left: var(--pad-l); right: var(--pad-r); bottom: clamp(2.5rem, 9vh, 6rem);
}
.disco__tag {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--disco-gold);
}
/* The game's name is its logo: assets/img/games/under-the-disco-lights-logo.webp,
   made by tools/make-game-logo.mjs. The picture holds the logo's glow as well,
   which reaches past the letters and the mirror ball. --logo-w is the width of
   the whole picture; the margins pull it back so that the solid part starts
   where the text around it does (0.1378 of the width is glow on the left; the
   tool prints these shares). Above and below, some of the glow stays in the
   flow, so that it does not lie over the lines next to it. */
.udl-logo {
  display: block; width: var(--logo-w); max-width: none; height: auto;
  margin: calc(var(--logo-w) * -0.115) 0 calc(var(--logo-w) * -0.125) calc(var(--logo-w) * -0.1378);
}
.disco__title { --logo-w: clamp(18rem, 50vw, 46rem); margin-top: 0.9rem; }
.disco__copy .lede { margin-top: 1.4rem; max-width: 36ch; color: var(--sc-ink); }
.disco__copy .actions { margin-top: 1.75rem; }

/* the sign is dark until the room comes into view, then it strikes */
@media (prefers-reduced-motion: no-preference) {
  html.js .disco:not(.is-on) .disco__title { opacity: 0.18; }
  .disco.is-on .disco__title { animation: neon-strike 1500ms linear both; }
  .disco__spots { animation: disco-turn 120s linear infinite; }
  html.js .disco:not(.is-on) .disco__spots { animation-play-state: paused; }
}
/* ------------------------------------------------------ trailer dialog -- */
.trailer {
  width: min(92vw, 72rem); padding: 0; overflow: visible;
  background: var(--disco-ground); color: var(--sc-ink);
  border: 2px solid var(--disco-pink); border-radius: 1rem;
  box-shadow: 0 0 2rem rgb(255 46 151 / 0.6), 0 0 6rem rgb(122 43 245 / 0.45);
}
.trailer::backdrop { background: rgb(13 2 33 / 0.88); }
.trailer video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: calc(1rem - 2px); background: #000; }
.trailer__close {
  position: absolute; right: 0; top: calc(100% + 0.75rem);
  min-height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--disco-cyan); border: 2px solid var(--disco-cyan);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 0 0.8rem rgb(45 226 230 / 0.6);
}
.trailer__close:hover { background: var(--disco-cyan); color: var(--disco-ground); }

@keyframes neon-strike {
  0% { opacity: 0.18; } 6% { opacity: 1; } 10% { opacity: 0.25; } 18% { opacity: 1; }
  24% { opacity: 0.5; } 30% { opacity: 1; } 62% { opacity: 1; } 65% { opacity: 0.7; } 68%, 100% { opacity: 1; }
}
@keyframes disco-turn { to { rotate: 360deg; } }

/* Reduced motion: no clip plays, so the act is short (js/site.js trims its
   span) and the house lights rise across the whole of it over a night still. */
@media (prefers-reduced-motion: reduce) {
  .disco { --lit: clamp(0, calc(var(--sc-p, 0) / 0.9), 1); --floor: 0; }
}

/* --------------------------------------------------------- neon button -- */
[data-theme="disco"] .btn {
  min-height: 3.25rem; padding: 0 1.9rem; border-radius: 999px;
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
[data-theme="disco"] .btn--primary {
  background: rgb(13 2 33 / 0.55); color: #fff; border: 2px solid var(--disco-pink);
  box-shadow: 0 0 0.9rem rgb(255 46 151 / 0.75), inset 0 0 0.7rem rgb(255 46 151 / 0.45);
  text-shadow: 0 0 0.5rem rgb(255 46 151 / 0.9);
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
[data-theme="disco"] .btn--primary:hover {
  background: var(--disco-pink); color: var(--disco-ground); text-shadow: none;
  box-shadow: 0 0 1.6rem rgb(255 46 151 / 0.95), 0 0 3.2rem rgb(255 46 151 / 0.45);
}

/* the trailer button: the same tube, in cyan */
[data-theme="disco"] .btn--cyan {
  background: rgb(13 2 33 / 0.55); color: #fff; border: 2px solid var(--disco-cyan); cursor: pointer;
  box-shadow: 0 0 0.9rem rgb(45 226 230 / 0.75), inset 0 0 0.7rem rgb(45 226 230 / 0.45);
  text-shadow: 0 0 0.5rem rgb(45 226 230 / 0.9);
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
[data-theme="disco"] .btn--cyan:hover {
  background: var(--disco-cyan); color: var(--disco-ground); text-shadow: none;
  box-shadow: 0 0 1.6rem rgb(45 226 230 / 0.95), 0 0 3.2rem rgb(45 226 230 / 0.45);
}
.disco__copy .actions { gap: 1rem; }
@media (max-width: 860px) {
  .disco__title { --logo-w: min(30rem, 92vw); }
}

/* ============================================================= GAME PAGE ==
   under-the-disco-lights.html. The layout is in css/site.css (GAME PAGES);
   this is the disco skin on it: the bar at night under a moving light,
   indigo rooms lit in pink and cyan, and a darker footer behind a jagged
   edge like the homepage's cracked shell.
   ========================================================================== */
.gp-hero--disco {
  min-height: 100svh; overflow: clip; display: flex; align-items: flex-end;
  background: var(--disco-ground); color: var(--sc-ink);
}
.gp-hero--disco .gp-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  scale: 1.06;
  translate: calc((var(--px, 0.5) - 0.5) * -1.6%) calc((var(--py, 0.5) - 0.5) * -1.6%);
  transition: translate 900ms var(--ease-out);
}
.gp-hero__grade {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: 0.6;
  background: linear-gradient(115deg, rgb(255 46 151 / 0.55), rgb(122 43 245 / 0.45) 48%, rgb(45 226 230 / 0.5));
}
/* mirror-ball spots and a pink beam that follow the mouse */
.gp-hero__spots {
  position: absolute; inset: -10%; pointer-events: none; mix-blend-mode: screen; opacity: 0.55;
  background:
    radial-gradient(circle at calc(var(--px, 0.6) * 100%) calc(var(--py, 0.35) * 100%), rgb(255 46 151 / 0.4), transparent 28%),
    radial-gradient(circle, rgb(255 255 255 / 0.85) 0 0.22vmax, transparent 0.36vmax) 0 0 / 7vmax 5.5vmax,
    radial-gradient(circle, rgb(255 46 151 / 0.9) 0 0.28vmax, transparent 0.44vmax) 2vmax 1.5vmax / 9.5vmax 7.5vmax,
    radial-gradient(circle, rgb(45 226 230 / 0.85) 0 0.24vmax, transparent 0.4vmax) 5vmax 4vmax / 12vmax 9vmax;
  translate: calc((var(--px, 0.5) - 0.5) * 6%) calc((var(--py, 0.5) - 0.5) * 6%);
  transition: translate 1100ms var(--ease-out);
}
.gp-hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgb(13 2 33 / 0.97) 0%, rgb(13 2 33 / 0.65) 36%, transparent 70%),
    linear-gradient(to right, rgb(13 2 33 / 0.9) 0%, rgb(13 2 33 / 0.5) 38%, transparent 66%),
    linear-gradient(to bottom, rgb(13 2 33 / 0.6) 0%, transparent 18%);
}
.gp-hero--disco .gp-hero__copy {
  position: relative; z-index: 2; width: 100%;
  padding: calc(var(--bar-h) + 3rem) var(--pad-r) clamp(3rem, 10vh, 6.5rem) var(--pad-l);
}
.gp-hero--disco .disco__tag { margin-top: 1.4rem; }
.gp-hero--disco .lede { margin-top: 1.4rem; max-width: 38ch; }
.gp-hero--disco .actions { margin-top: 1.9rem; gap: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .gp-hero--disco .disco__title { animation: neon-strike 1500ms linear 400ms both; }
}

/* a third, quieter tube: white */
[data-theme="disco"] .btn--ghost {
  background: rgb(13 2 33 / 0.4); color: #fff; border: 2px solid rgb(247 243 255 / 0.55);
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
[data-theme="disco"] .btn--ghost:hover { background: #fff; color: var(--disco-ground); box-shadow: 0 0 1.4rem rgb(255 255 255 / 0.6); }

/* the rooms after the hero: indigo with a glow in one corner */
.gp-reel-block[data-theme="disco"] { background: radial-gradient(50% 60% at 50% 50%, rgb(122 43 245 / 0.25), transparent 70%), var(--disco-ground); }
.gp-about[data-theme="disco"] { background: radial-gradient(50% 60% at 85% 30%, rgb(255 46 151 / 0.16), transparent 70%), var(--disco-ground); color: var(--sc-ink); }
.gp-press[data-theme="disco"] { background: radial-gradient(60% 70% at 50% 100%, rgb(122 43 245 / 0.3), transparent 70%), var(--disco-ground); color: var(--sc-ink); padding-bottom: 0; }
[data-theme="disco"] .gp-kicker { color: var(--disco-gold); letter-spacing: 0.26em; }
.gp-neon {
  font-family: "Monoton", "Fredoka", system-ui, sans-serif; font-weight: 400; word-spacing: 0.3em;
  font-size: clamp(1.8rem, 1rem + 2.6vw, 3.4rem); line-height: 1.08; letter-spacing: 0.02em; text-transform: uppercase;
  color: #ffe9f6; text-wrap: balance;
  text-shadow: 0 0 0.06em #fff, 0 0 0.22em var(--disco-pink), 0 0 0.6em var(--disco-pink), 0 0 1.4em rgb(255 46 151 / 0.5);
}

/* the reel: light boxes in cyan, round neon buttons */
[data-theme="disco"] .reel { color: var(--disco-pink); }
[data-theme="disco"] .reel__slide {
  border: 2px solid var(--disco-cyan); border-radius: 1rem; background: #1a0b3a;
  box-shadow: 0 0 1.2rem rgb(45 226 230 / 0.5);
}
[data-theme="disco"] .reel__slide.is-here { box-shadow: 0 0 1.6rem rgb(45 226 230 / 0.7), 0 0 4rem rgb(255 46 151 / 0.35); }
[data-theme="disco"] .reel__slide:focus-visible { outline-color: var(--disco-pink); }
[data-theme="disco"] .reel__slide--soon { border-style: dashed; color: #e6feff; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8125rem; }
.reel__dot.is-on { box-shadow: 0 0 0.6rem currentColor; }
/* a small mirror ball for the empty slot */
[data-theme="disco"] .gp-soon__icon {
  border-radius: 50%; border: 2px solid var(--disco-cyan);
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgb(45 226 230 / 0.6) 5px 6px), repeating-linear-gradient(90deg, transparent 0 5px, rgb(45 226 230 / 0.6) 5px 6px);
  box-shadow: 0 0 0.8rem rgb(45 226 230 / 0.6);
}
[data-theme="disco"] .reel__nav, .lightbox--disco .lightbox__nav {
  border: 2px solid #ff2e97; border-radius: 50%; background: rgb(13 2 33 / 0.8); color: #fff;
  box-shadow: 0 0 0.8rem rgb(255 46 151 / 0.7);
  transition: background-color 200ms, color 200ms;
}
[data-theme="disco"] .reel__nav:hover, .lightbox--disco .lightbox__nav:hover { background: #ff2e97; color: #0d0221; }

[data-theme="disco"] .gp-facts {
  background: rgb(26 11 58 / 0.85); border: 2px solid var(--disco-cyan); border-radius: 1.25rem;
  box-shadow: 0 0 1rem rgb(45 226 230 / 0.5), inset 0 0 1rem rgb(45 226 230 / 0.18);
}
[data-theme="disco"] .gp-facts dt { color: var(--disco-pink); }

[data-theme="disco"] .gp-press__card {
  background: radial-gradient(120% 80% at 50% 0%, rgb(122 43 245 / 0.35), transparent 60%), linear-gradient(180deg, #1a0b3a, #0d0221);
  border: 2px solid var(--disco-pink); border-radius: 1.5rem;
  box-shadow: 0 0 1.4rem rgb(255 46 151 / 0.6), inset 0 0 1.2rem rgb(255 46 151 / 0.25);
}
/* small type: solid letters with the glow, since Monoton's hollow tubes blur together at this size */
[data-theme="disco"] .gp-press__card .d-md {
  font-family: var(--sc-font-text); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
  letter-spacing: 0.12em; text-transform: uppercase; color: #f2feff;
  text-shadow: 0 0 0.25em rgb(45 226 230 / 0.9), 0 0 0.7em rgb(45 226 230 / 0.5);
}
[data-theme="disco"] .gp-press__note { color: var(--sc-ink-soft); }

/* the jagged edge into the footer, and the footer itself */
.gp-press[data-theme="disco"] .crack {
  position: relative; z-index: 1; height: clamp(1.75rem, 4vw, 3.25rem);
  margin-top: clamp(3rem, 8vh, 5rem); margin-bottom: -2px;
  clip-path: polygon(0 100%, 0 46%, 5% 8%, 9% 62%, 15% 20%, 21% 74%, 27% 12%, 33% 58%, 38% 26%, 45% 82%, 51% 14%, 57% 66%, 63% 30%, 69% 78%, 75% 10%, 81% 60%, 87% 22%, 93% 70%, 97% 18%, 100% 50%, 100% 100%);
}
.gp-press[data-theme="disco"] .crack--foot { background: #07010f; }
.gp-foot[data-theme="disco"] {
  background: radial-gradient(50% 80% at 85% 100%, rgb(255 46 151 / 0.14), transparent 70%), #07010f;
  color: var(--sc-ink);
}
.gp-foot[data-theme="disco"] .gp-foot__studio { color: #e6feff; border-left-color: rgb(45 226 230 / 0.45); filter: drop-shadow(0 0 0.5rem rgb(45 226 230 / 0.6)); }
/* the game's logo beside the studio's, about as tall as it */
.gp-foot__game.udl-logo { --logo-w: clamp(11rem, 16vw, 14.5rem); width: var(--logo-w); }
/* the homepage's contact block, in neon: the write button stays a tube (no
   lip), the address glows cyan, and the social links are tube-lit cards.
   The press kit page uses the address and the cards too. */
.gp-foot[data-theme="disco"] .contact__write .btn:hover { translate: none; }
.gp-foot[data-theme="disco"] .contact__write .btn:active {
  translate: 0 1px; box-shadow: 0 0 0.9rem rgb(255 46 151 / 0.75), inset 0 0 0.7rem rgb(255 46 151 / 0.45);
}
:is(.gp-foot, .pk-page)[data-theme="disco"] .contact__mail {
  font-family: var(--sc-font-text); font-weight: 700; letter-spacing: 0.04em;
  color: #e6feff; text-decoration-color: rgb(45 226 230 / 0.5);
}
:is(.gp-foot, .pk-page)[data-theme="disco"] .contact__mail:hover { color: var(--disco-cyan); text-decoration-color: var(--disco-cyan); text-shadow: 0 0 0.6rem rgb(45 226 230 / 0.7); }
:is(.gp-foot, .pk-page)[data-theme="disco"] .social {
  border: 2px solid var(--disco-cyan); border-radius: 1.25rem; background: rgb(26 11 58 / 0.85);
  box-shadow: 0 0 0.7rem rgb(45 226 230 / 0.4), inset 0 0 0.9rem rgb(45 226 230 / 0.14);
}
:is(.gp-foot, .pk-page)[data-theme="disco"] .social:hover {
  border-color: var(--disco-pink);
  box-shadow: 0 0 1.2rem rgb(255 46 151 / 0.7), inset 0 0 1rem rgb(255 46 151 / 0.22);
}
:is(.gp-foot, .pk-page)[data-theme="disco"] .social:active { translate: 0 1px; box-shadow: 0 0 0.7rem rgb(255 46 151 / 0.6); }
/* the ring is set in whole pixels: a part of a pixel here is rounded off on
   one side only, and the ring then sits off the middle of its icon */
:is(.gp-foot, .pk-page)[data-theme="disco"] .social__icon::before {
  rotate: 0deg; inset: 2px; border-radius: 50%; border: 2px solid var(--disco-pink); background: rgb(13 2 33 / 0.8);
  box-shadow: 0 0 0.6rem rgb(255 46 151 / 0.55);
}
:is(.gp-foot, .pk-page)[data-theme="disco"] .social__name { font-family: var(--sc-font-text); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* the lightbox */
.lightbox--disco img { border: 2px solid #2de2e6; border-radius: 1rem; box-shadow: 0 0 2rem rgb(255 46 151 / 0.6), 0 0 5rem rgb(122 43 245 / 0.45); background: #0d0221; }
.lightbox--disco .lightbox__close {
  border-radius: 999px; background: rgb(13 2 33 / 0.8); color: #2de2e6; border: 2px solid #2de2e6;
  box-shadow: 0 0 0.8rem rgb(45 226 230 / 0.6);
}
.lightbox--disco .lightbox__close:hover { background: #2de2e6; color: #0d0221; }

/* ======================================================== PRESS KIT PAGE ==
   under-the-disco-lights-press-kit.html. The layout is in css/press.css;
   this is the disco skin on it: the game page's indigo room, the title as
   the tube sign, headings in neon, the fact sheet as a tube-lit card and the
   pictures as light boxes.
   ========================================================================== */
.pk-page[data-theme="disco"] {
  background:
    radial-gradient(52rem 38rem at 90% 36rem, rgb(255 46 151 / 0.16), transparent 70%),
    radial-gradient(48rem 40rem at 4% 80rem, rgb(122 43 245 / 0.24), transparent 70%),
    var(--disco-ground);
}
[data-theme="disco"] .pk-cover .lede { color: var(--sc-ink); }
[data-theme="disco"] .pk-cover .actions { gap: 1rem; }

/* the contents list and the section headings */
[data-theme="disco"] .legal__toc-title { font-weight: 700; letter-spacing: 0.26em; color: var(--disco-gold); }
[data-theme="disco"] .legal__toc a::before { font-family: var(--sc-font-text); font-weight: 800; }
[data-theme="disco"] .legal__toc a:hover { color: #e6feff; text-shadow: 0 0 0.6rem rgb(45 226 230 / 0.8); }
[data-theme="disco"] .legal__body h2 {
  font-family: "Monoton", "Fredoka", system-ui, sans-serif; font-weight: 400; word-spacing: 0.3em;
  font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.08; letter-spacing: 0.02em; text-transform: uppercase;
  color: #ffe9f6;
  text-shadow: 0 0 0.06em #fff, 0 0 0.22em var(--disco-pink), 0 0 0.6em var(--disco-pink), 0 0 1.4em rgb(255 46 151 / 0.5);
}
/* the section's number stays in solid letters: Monoton's numerals are hard to read small */
[data-theme="disco"] .legal__body h2::before {
  font-family: var(--sc-font-text); font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.26em; word-spacing: normal;
  color: var(--sc-accent); text-shadow: none;
}
[data-theme="disco"] .legal__body h3 { font-weight: 700; color: var(--disco-pink); }
/* the rules between sections run from pink to cyan */
[data-theme="disco"] .legal, [data-theme="disco"] .legal__body section {
  border-image: linear-gradient(90deg, rgb(255 46 151 / 0.75), rgb(122 43 245 / 0.5) 50%, rgb(45 226 230 / 0.75)) 1;
}
/* list markers: a lit dot */
[data-theme="disco"] .legal__body li::before { rotate: 0deg; border-radius: 50%; box-shadow: 0 0 0.5rem var(--disco-pink); }

[data-theme="disco"] .pk-facts {
  padding: 0.35rem clamp(1.1rem, 2.2vw, 1.75rem);
  background: rgb(26 11 58 / 0.85); border: 2px solid var(--disco-cyan); border-radius: 1.25rem;
  box-shadow: 0 0 1rem rgb(45 226 230 / 0.5), inset 0 0 1rem rgb(45 226 230 / 0.18);
}
[data-theme="disco"] .pk-facts > div:first-child { border-top: 0; }
[data-theme="disco"] .pk-facts > div:last-child { border-bottom: 0; }
[data-theme="disco"] .pk-facts dt { font-weight: 700; color: var(--disco-pink); }

/* pictures: light boxes in cyan that turn pink under the mouse */
[data-theme="disco"] .pk-item__view {
  border: 2px solid var(--disco-cyan); border-radius: 1rem; background: #1a0b3a;
  box-shadow: 0 0 1rem rgb(45 226 230 / 0.4);
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
[data-theme="disco"] .pk-item__view:hover, [data-theme="disco"] .pk-item__view:focus-visible {
  border-color: var(--disco-pink); box-shadow: 0 0 1.4rem rgb(255 46 151 / 0.7), 0 0 3.5rem rgb(122 43 245 / 0.35);
}
/* the logos stand without a box or a glow */
[data-theme="disco"] .pk-item__view--plate, [data-theme="disco"] .pk-item__view--plate:hover, [data-theme="disco"] .pk-item__view--plate:focus-visible {
  border: 0; background: none; box-shadow: none;
}
[data-theme="disco"] .pk-item__view--plate:focus-visible { outline-color: var(--disco-cyan); }
[data-theme="disco"] .pk-item__view--bone, [data-theme="disco"] .pk-item__view--bone:hover, [data-theme="disco"] .pk-item__view--bone:focus-visible { background: #f7f3ff; }
[data-theme="disco"] .pk-get::before { color: var(--disco-cyan); }
[data-theme="disco"] .pk-get:hover { color: var(--disco-cyan); text-decoration-color: var(--disco-cyan); text-shadow: 0 0 0.6rem rgb(45 226 230 / 0.7); }
[data-theme="disco"] .pk-soon {
  border: 2px dashed var(--disco-cyan); border-radius: 1rem; color: #e6feff;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
[data-theme="disco"] .pk-video {
  border: 2px solid var(--disco-pink); border-radius: 1rem;
  box-shadow: 0 0 1.6rem rgb(255 46 151 / 0.55), 0 0 4.5rem rgb(122 43 245 / 0.35);
}

/* the small print starts behind a lit pink line */
.pk-foot[data-theme="disco"] { border-top: 2px solid var(--disco-pink); box-shadow: 0 -0.2rem 1.4rem rgb(255 46 151 / 0.45); }
