/* jaymes.io: Coming Soon v0.1. Mobile-first. */

@font-face {
  font-family: "Press Start 2P";
  src: url("/assets/fonts/press-start-2p.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Google Sans Flex";
  src: url("/assets/fonts/google-sans-flex.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "VT323";
  src: url("/assets/fonts/vt323.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0a0f2c;
  --navy-2: #0d1238;
  --black: #05060f;
  --purple: #b026ff;
  --purple-deep: #5b1fa8;
  --blue: #2f8bff;
  --cyan: #2ef2ff;
  --pink: #ff2fb4;
  --yellow: #ffd21f;
  --orange: #ff7a1a;
  --spurs: #132257; /* Tottenham Hotspur navy. No red anywhere on this site. */
  --green: #2bff9a;
  --text: #f4f1ff;
  --muted: #c8c0ee;

  --pixel: "Press Start 2P", ui-monospace, "Courier New", monospace;
  --crt: "VT323", ui-monospace, "Courier New", monospace;
  /* Everything people actually read: minimal, modern, never pixelated. */
  --read: "Google Sans Flex", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: 12px;

  /* Scene composition, read by site.js as fractions of the hero */
  --skyline: 0.72;
  --parapet: 0.40;
  --wall: 0.11;
  --lamp: 0.055;
  --bigben-x: 0.86;
  --bigben-h: 0.40;
  --bridge-x: 0.80;
  --invaders-y: 0.33;
  --invaders-x: 0.58;
  --moon-x: 0.24;
  --moon-y: 0.40;

  /* Street layer, as percentages of the hero */
  --feet: 3.5%;
  --cab-h: 65%;
  --cab-left: 39%;
  --player-h: 38%;
  --player-left: 15%;
  --cat-h: 10%;
  --cat-left: 3%;

  --hero-min: 300px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--black);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--black);
  color: var(--text);
  font-family: var(--crt);
  font-size: 18px;
  line-height: 1.25;
  overflow-x: hidden;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, canvas { display: block; }
p { margin: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* ---------- Page grid ---------- */

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: minmax(var(--hero-min), 1fr) auto auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "hero" "levels" "footer";
  background:
    radial-gradient(120% 60% at 50% 100%, rgba(91, 31, 168, 0.22), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--black) 100%);
  padding-bottom: env(safe-area-inset-bottom);
}

main { display: contents; }

/* ---------- Masthead ---------- */

.masthead {
  position: absolute;
  z-index: 5;
  isolation: isolate;
  top: max(10px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.masthead-avatar {
  width: 34px;
  height: 34px;
  image-rendering: pixelated;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(176, 38, 255, 0.55);
}
.masthead-logo {
  width: 118px;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(176, 38, 255, 0.6));
}
.sign-art, .sign-number { display: none; }

/* ---------- Hero scene ---------- */

.hero {
  grid-area: hero;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #05061a 0%, #120b3d 55%, #2a0f55 75%, #3a0f62 100%);
}

.scene-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  z-index: 0;
}

.scene-fallback {
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: repeating-linear-gradient(90deg, #1b0f4a 0 18px, #241462 18px 40px);
}

/* COMING SOON */
.coming-soon {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: calc(max(10px, env(safe-area-inset-top)) + 46px);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.coming-soon-text {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, #ffffff 0%, #ffd6f6 42%, #ff5fd2 58%, #c13dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0.08em 0.08em 0 #3a0b6e) drop-shadow(0 0 0.35em rgba(255, 47, 180, 0.65));
}
.chevrons {
  display: inline-flex;
  font-size: 0.62em;
  letter-spacing: -0.28em;
}
.chevrons-left { color: var(--pink); text-shadow: 0 0 8px var(--pink); }
.chevrons-right { color: var(--cyan); text-shadow: 0 0 8px var(--blue); padding-right: 0.28em; }
.chevrons span { animation: chevron 1.2s steps(1) infinite; }
.chevrons-left span:nth-child(2), .chevrons-right span:nth-child(2) { animation-delay: 0.2s; }
.chevrons-left span:nth-child(3), .chevrons-right span:nth-child(3) { animation-delay: 0.4s; }
.chevrons-right span:nth-child(1) { animation-delay: 0.4s; }
.chevrons-right span:nth-child(3) { animation-delay: 0s; }
@keyframes chevron { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.25; } }

.ideas {
  display: none;
  position: absolute;
  z-index: 3;
  font-family: var(--pixel);
  text-transform: uppercase;
  color: #c86bff;
  text-shadow: 0 0 8px rgba(176, 38, 255, 0.7);
  line-height: 1.75;
}
.ideas::after {
  content: "";
  display: block;
  width: 1.4em;
  height: 0.25em;
  margin-top: 0.5em;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

/* Retro bulb signboard on the brick wall (desktop). Frame and bulbs: site.js. */
.wall-board {
  display: none;
  position: absolute;
  z-index: 2;
  left: var(--board-left, 4.4%);
  top: 26%;
  width: var(--board-w, 9.6%);
  height: 34%;
}
.board-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0.25vw 0.25vw 0 rgba(10, 2, 12, 0.55));
}
.wall-board p {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--pixel);
  font-size: var(--board-font, max(6.5px, 0.54vw));
  line-height: 2;
  text-align: center;
  color: #0b1638;
  text-shadow: 0 0.08em 0 rgba(255, 244, 190, 0.7);
  padding: 0 14%;
}

/* ---------- Street: cat, player, cabinet ---------- */

.street {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.sprite {
  position: absolute;
  bottom: var(--feet);
  width: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.cats {
  position: absolute;
  bottom: var(--feet);
  left: var(--cat-left);
  height: var(--cat-h);
  display: flex;
  align-items: flex-end;
  gap: 0.25%;
}
.cat {
  display: block;
  height: 100%;
  width: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 0 2px rgba(10, 4, 20, 0.9));
}
.cat.is-bouncing { animation: hop 0.45s steps(3) 2; }

/* Easter eggs (desktop): clickable things and pixel speech bubbles */
.hero.eggs .cat, .hero.eggs .sprite-player { pointer-events: auto; cursor: pointer; }
.bubble {
  position: absolute;
  z-index: 6;
  max-width: 230px;
  padding: 7px 9px;
  transform: translate(-50%, -100%);
  font-family: var(--pixel);
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
  color: #0b1638;
  background: #f4f1ff;
  border: 3px solid #0b1638;
  box-shadow: 3px 3px 0 rgba(5, 2, 15, 0.6);
  pointer-events: none;
  animation: bubble-in 0.2s steps(2) both;
}
.bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 9px;
  height: 9px;
  margin-left: -4px;
  background: #f4f1ff;
  border-right: 3px solid #0b1638;
  border-bottom: 3px solid #0b1638;
  transform: rotate(45deg);
  transform-origin: center;
}
.bubble.is-score { padding: 3px 6px; color: var(--yellow); background: none; border: 0; box-shadow: none; text-shadow: 2px 2px 0 #000; font-size: 11px; }
.bubble.is-score::after { display: none; }
@keyframes bubble-in { from { opacity: 0; transform: translate(-50%, -80%); } to { opacity: 1; transform: translate(-50%, -100%); } }
.heart {
  position: absolute;
  z-index: 6;
  width: 10px;
  height: 9px;
  pointer-events: none;
  background: #ff4fd8;
  clip-path: polygon(0 20%, 20% 0, 40% 0, 50% 20%, 60% 0, 80% 0, 100% 20%, 100% 50%, 50% 100%, 0 50%);
  animation: heart-up 1.4s steps(7) forwards;
}
@keyframes heart-up { to { transform: translateY(-60px); opacity: 0; } }
.hero.is-dark .wall-board { filter: brightness(0.3); transition: filter 0.1s steps(1); }
body.is-dark .masthead { filter: brightness(0.45); }
.sprite-player { left: var(--player-left); height: var(--player-h); }
.sprite-player.is-bouncing { animation: hop 0.5s steps(3) 2; }
@keyframes hop { 50% { transform: translateY(-6%); } }

.cabinet {
  position: absolute;
  left: var(--cab-left);
  bottom: calc(var(--feet) - 0.5%);
  height: var(--cab-h);
  aspect-ratio: 0.74;
  container-type: size;
  pointer-events: auto;
}
.cabinet-art {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.cabinet-marquee {
  position: absolute;
  left: 7%;
  width: 66%;
  top: 4.2%;
  height: 10.6%;
  display: grid;
  place-items: center;
}
.cabinet-marquee img {
  width: 92%;
  height: auto;
  filter: drop-shadow(0 0 1.5cqw rgba(255, 255, 255, 0.9));
}

.cabinet-screen {
  position: absolute;
  left: 8.4%;
  width: 63.2%;
  top: 22.4%;
  height: 33.2%;
  border-radius: 6% / 9%;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 45%, #1a1f6b 0%, #0a0c33 62%, #05061c 100%);
  box-shadow: inset 0 0 4cqw rgba(0, 0, 0, 0.9), inset 0 0 1cqw rgba(47, 139, 255, 0.6), 0 0 3cqw rgba(47, 139, 255, 0.35);
}
.cabinet-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(0, 0, 0, 0.28) 1px 3px);
  mix-blend-mode: multiply;
}
.cabinet-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(80% 60% at 30% 20%, rgba(255, 255, 255, 0.09), transparent 60%);
}

.screen-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4cqh;
  padding: 0 5%;
  text-align: center;
  text-transform: uppercase;
  animation: crt-flicker 6s infinite;
}
@keyframes crt-flicker { 0%, 97%, 100% { opacity: 1; } 98% { opacity: 0.85; } }

.screen-content > * { flex: none; }
.screen-crown {
  width: 8cqw;
  aspect-ratio: 8 / 5;
  background: var(--yellow);
  clip-path: polygon(0 100%, 0 20%, 25% 55%, 50% 0, 75% 55%, 100% 20%, 100% 100%);
  filter: drop-shadow(0 0 1.2cqw rgba(255, 210, 31, 0.9));
}
.screen-welcome {
  font-family: var(--pixel);
  font-size: 4.3cqw;
  color: #fff4c2;
  text-shadow: 0 0 1.4cqw rgba(255, 210, 31, 0.8);
}
.screen-logo {
  font-family: var(--pixel);
  font-size: 6.6cqw;
  line-height: 1.05;
  text-transform: none;
  color: #fff;
  text-shadow: 0.5cqw 0.5cqw 0 #6a1bb0, 0 0 2cqw rgba(176, 38, 255, 0.9);
}
.screen-logo span { color: #d58bff; }
.screen-coin {
  display: flex;
  align-items: center;
  gap: 2cqw;
  margin-top: 1cqh;
  font-family: var(--pixel);
  font-size: 3.9cqw;
  color: #ffffff;
  text-shadow: 0 0 1.4cqw rgba(255, 255, 255, 0.6);
}
.screen-arrow, .cabinet-start-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
}
.screen-arrow {
  border-width: 1.6cqw 0 1.6cqw 2.4cqw;
  border-left-color: var(--green);
  filter: drop-shadow(0 0 1cqw var(--green));
  animation: blink 1s steps(1) infinite;
}
.screen-free {
  font-family: var(--crt);
  font-size: 6.2cqw;
  line-height: 0.9;
  color: #8fe9ff;
  text-shadow: 0 0 1.4cqw rgba(46, 242, 255, 0.75);
}
@keyframes blink { 50% { opacity: 0; } }

/* Messages written by site.js into the screen */
.screen-msg {
  font-family: var(--pixel);
  font-size: 4.6cqw;
  line-height: 1.6;
  color: #fff;
  text-shadow: 0 0 1.4cqw rgba(255, 255, 255, 0.6);
}
.screen-msg.is-yellow { color: var(--yellow); text-shadow: 0 0 1.6cqw rgba(255, 210, 31, 0.9); }
.screen-msg.is-pink { color: #ff8be3; text-shadow: 0 0 1.6cqw rgba(255, 47, 180, 0.9); }
.screen-msg.is-cyan { color: #8fe9ff; text-shadow: 0 0 1.6cqw rgba(46, 242, 255, 0.9); }
.screen-bar {
  width: 70%;
  height: 4cqh;
  border: 0.8cqw solid #8fe9ff;
  padding: 0.6cqw;
}
.screen-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(90deg, var(--green) 0 3cqw, transparent 3cqw 4cqw);
  animation: load 1.4s steps(10) forwards;
}
@keyframes load { to { width: 100%; } }

.cabinet-start {
  position: absolute;
  left: 9%;
  width: 62%;
  top: 74%;
  height: 9.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4cqw;
  padding: 0;
  font-family: var(--pixel);
  font-size: 3.9cqw;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--yellow);
  background: linear-gradient(180deg, #1a0f3c, #0b0826);
  border: 1.1cqw solid var(--yellow);
  border-radius: 0;
  box-shadow: 0 0 2.4cqw rgba(255, 210, 31, 0.7), inset 0 0 1.6cqw rgba(255, 210, 31, 0.4);
  text-shadow: 0 0 1.6cqw rgba(255, 210, 31, 0.8);
  cursor: pointer;
  transition: transform 0.08s steps(2), background-color 0.1s;
}
.cabinet-start-arrow {
  border-width: 2.2cqw 0 2.2cqw 3.2cqw;
  border-left-color: var(--yellow);
}
.cabinet-start:hover { background: linear-gradient(180deg, #33206d, #140c3a); }
.cabinet-start:active { transform: translateY(0.8cqh); }
.cabinet-start:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Without JavaScript: a plain cabinet, and no button that cannot do anything */
.no-js .cabinet { background: linear-gradient(180deg, #221a6e, #140f48); border: 3px solid #ff3cc8; box-shadow: 0 0 18px rgba(255, 60, 200, 0.5); }
.no-js .cabinet-start, .no-js .sprite { display: none; }

/* ---------- Levels (category cards) ---------- */

.levels {
  grid-area: levels;
  position: relative;
  padding: 14px var(--gutter) 0;
  border-top: 2px solid #2b1c6e;
  box-shadow: 0 -2px 0 #0a0820, 0 -10px 30px rgba(176, 38, 255, 0.15);
}

.levels-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow: 0 0 8px rgba(255, 210, 31, 0.55);
}
.levels-title::before, .levels-title::after {
  content: "";
  flex: 1;
  height: 2px;
  min-width: 10px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--pink));
  box-shadow: 0 0 6px var(--purple);
}
.levels-title::after { background: linear-gradient(90deg, var(--pink), var(--purple), transparent); }

.levels-intro {
  max-width: 62ch;
  margin: 6px auto 10px;
  font-family: var(--read);
  font-size: 13.5px;
  line-height: 1.35;
  text-align: center;
  color: var(--muted);
}

.cards {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  max-width: 1760px;
}

.card {
  --accent: var(--yellow);
  --accent-glow: rgba(255, 210, 31, 0.5);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 7px 6px;
  background: linear-gradient(180deg, rgba(19, 14, 56, 0.96), rgba(8, 8, 32, 0.98));
  border: 2px solid var(--accent);
  box-shadow: 0 0 8px var(--accent-glow), inset 0 0 10px rgba(0, 0, 0, 0.6);
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
  transition: transform 0.12s steps(2), box-shadow 0.2s;
}
.card-yellow { --accent: #ffd21f; --accent-glow: rgba(255, 210, 31, 0.5); }
.card-cyan { --accent: #2ef2ff; --accent-glow: rgba(46, 242, 255, 0.5); }
.card-pink { --accent: #ff2fb4; --accent-glow: rgba(255, 47, 180, 0.5); }
.card-white { --accent: #f4f6ff; --accent-glow: rgba(244, 246, 255, 0.45); }
.card-blue { --accent: #2f9bff; --accent-glow: rgba(47, 155, 255, 0.55); }
.card-orange { --accent: #ff7a1a; --accent-glow: rgba(255, 122, 26, 0.5); }
.card-green { --accent: #2bff9a; --accent-glow: rgba(43, 255, 154, 0.45); }

.pixel-icon {
  flex: none;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.18));
}
.card-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.card-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--pixel);
  font-size: 8px;
  line-height: 1.2;
  color: var(--yellow);
  text-shadow: 0 0 6px rgba(255, 210, 31, 0.45);
  white-space: nowrap;
}
.card-chevron { color: var(--accent); text-shadow: 0 0 6px var(--accent); }
.card-subject {
  font-family: var(--crt);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--text);
}

@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 0 16px var(--accent-glow), 0 0 4px var(--accent), inset 0 0 10px rgba(0, 0, 0, 0.6); }
  .card:hover .pixel-icon { animation: icon-bob 0.6s steps(2) infinite; }
}
@keyframes icon-bob { 50% { transform: translateY(-2px); } }

/* ---------- Footer ---------- */

.site-footer {
  grid-area: footer;
  padding: 10px var(--gutter) 8px;
  text-align: center;
}
.tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  max-width: 1760px;
}
.tagline-rule {
  flex: 1;
  height: 2px;
  min-width: 12px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--pink));
  box-shadow: 0 0 6px var(--purple);
}
.tagline-rule:last-child { background: linear-gradient(90deg, var(--pink), var(--purple), transparent); }
.tagline-text {
  flex: none;
  font-family: var(--pixel);
  font-size: 20px;
  line-height: 1.15;
  white-space: nowrap;
}
.tagline-text > span { position: relative; display: inline-block; }
.t-disrupt {
  color: #2ef2ff;
  background: linear-gradient(180deg, #b5fbff 0%, #2ef2ff 45%, #1a8fff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0.1em 0.1em 0 #0b2d6e) drop-shadow(0 0 0.3em rgba(46, 242, 255, 0.55));
}
.t-or {
  color: var(--yellow);
  text-shadow: 0.1em 0.1em 0 #6e4a00, 0 0 0.35em rgba(255, 210, 31, 0.6);
}
.t-die {
  color: #ff2fb4;
  background: linear-gradient(180deg, #ffc2ee 0%, #ff4fd8 45%, #e0168f 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0.1em 0.1em 0 #5a0a3e) drop-shadow(0 0 0.3em rgba(255, 47, 180, 0.6));
}
.tagline.is-glitching .t-disrupt { animation: glitch-x 0.36s steps(3); }
.tagline.is-glitching .t-die { animation: glitch-x 0.36s steps(3) reverse; }
@keyframes glitch-x {
  0% { transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  33% { transform: translate(-0.12em, 0); clip-path: inset(10% 0 45% 0); }
  66% { transform: translate(0.12em, 0); clip-path: inset(50% 0 5% 0); }
  100% { transform: translate(0, 0); clip-path: inset(0 0 0 0); }
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 18px;
  row-gap: 2px;
  margin-top: 6px;
  font-family: var(--crt);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.copyright small { font-size: inherit; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 14px; }
.footer-links a, .footer-link-button {
  padding: 2px 0;
  font: inherit;
  letter-spacing: inherit;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(200, 192, 238, 0.35);
  text-underline-offset: 3px;
  background: none;
  border: 0;
  cursor: pointer;
}
.footer-links a:hover, .footer-link-button:hover { color: var(--cyan); text-decoration-color: currentColor; }
.no-js [data-cc-open] { display: none; }

/* ======================================================================
   Breakpoints. Components rearrange, they do not just shrink.
   ====================================================================== */

/* Large phones and small tablets */
@media (min-width: 560px) {
  :root {
    --cab-h: 64%;
    --cab-left: 42%;
    --player-h: 40%;
    --player-left: 22%;
    --parapet: 0.44;
    --wall: 0.12;
  }
  .masthead-avatar { width: 42px; height: 42px; }
  .masthead-logo { width: 150px; }
  .coming-soon { font-size: 30px; top: calc(max(10px, env(safe-area-inset-top)) + 58px); }
  .levels-title { font-size: 12px; }
  .levels-intro { font-size: 15px; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .card { flex-direction: column; text-align: center; padding: 9px 6px 8px; gap: 6px; }
  .card-text { align-items: center; }
  .card-title { font-size: 9px; }
  .card-subject { font-size: 18px; }
  .pixel-icon { width: 32px; height: 32px; }
  .tagline-text { font-size: 28px; }
  .footer-meta { font-size: 18px; }
}


/* Tablet portrait and up: the full scene composition starts to appear */
@media (min-width: 900px) {
  :root {
    --skyline: 0.72;
    --parapet: 0.56;
    --wall: 0.17;
    --lamp: 0.02;
    --bigben-x: 0.80;
    --bigben-h: 0.50;
    --bridge-x: 0.715;
    --invaders-y: 0.27;
    --invaders-x: 0.545;
    --moon-x: 0.94;
    --moon-y: 0.27;

    --feet: 3%;
    --cab-h: 80%;
    --cab-left: 30.5%;
    --player-h: 50%;
    --player-left: 19.4%;
    --cat-h: 12%;
    --cat-left: 3.2%;

    --hero-min: 360px;
    --gutter: 24px;
  }
  /* The logo becomes a dirty white street sign, number 26, screwed to the wall. Plate: site.js. */
  .masthead {
    top: clamp(12px, 2.2vh, 26px);
    left: 1.1vw;
    gap: 0.55vw;
    padding: 0.5vw calc(0.7vw + 6px);
  }
  .sign-art {
    display: block;
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    filter: drop-shadow(0.22vw 0.22vw 0 rgba(10, 2, 12, 0.55));
  }
  .masthead-avatar { width: clamp(22px, 2.1vw, 44px); height: clamp(22px, 2.1vw, 44px); box-shadow: none; outline: 2px solid #1c1a22; border-radius: 0; }
  .masthead-logo { width: clamp(80px, 7.6vw, 168px); filter: none; }
  .sign-number {
    display: block;
    margin-left: 0.15vw;
    padding-left: 0.6vw;
    border-left: 2px solid #1c1a22;
    font-family: var(--pixel);
    font-size: clamp(10px, 1.05vw, 22px);
    line-height: 1;
    color: var(--spurs);
  }

  .coming-soon {
    left: auto;
    right: 3.2%;
    top: 5.5%;
    font-size: clamp(30px, 3.1vw, 68px);
  }
  .wall-board { display: block; }
  .ideas {
    display: block;
    right: 2%;
    top: 40%;
    width: 7.5em;
    font-size: clamp(8px, 0.72vw, 15px);
  }
}

/* Desktop: all eight levels in one row */
@media (min-width: 1100px) {
  .levels { padding-top: 14px; }
  .levels-title { font-size: clamp(12px, 1.38vw, 26px); gap: 20px; }
  .levels-intro { font-size: clamp(15px, 1vw, 20px); margin: 8px auto 14px; }
  .cards {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: clamp(8px, 0.8vw, 16px);
  }
  .card { padding: clamp(8px, 0.9vh, 16px) 6px; gap: clamp(6px, 0.8vh, 12px); }
  .card-title { font-size: clamp(8px, calc((min(100vw, 1808px) - 150px) / 8 / 18.5), 15px); gap: 6px; }
  .card-subject { font-size: clamp(16px, 1.15vw, 24px); }
  .pixel-icon { width: clamp(30px, 2.6vw, 52px); height: clamp(30px, 2.6vw, 52px); }
  .site-footer { padding: clamp(10px, 1.6vh, 24px) var(--gutter) clamp(8px, 1.2vh, 16px); }
  .tagline { gap: 24px; }
  .tagline-text { font-size: clamp(30px, 3.1vw, 64px); }
  .footer-meta { font-size: clamp(16px, 1vw, 22px); margin-top: clamp(4px, 1vh, 12px); }
}

/* Shorter desktop screens (laptops with browser chrome): tighten vertical rhythm */
@media (min-width: 1100px) and (max-height: 760px) {
  .levels-intro { margin: 4px auto 8px; font-size: 15px; }
  .card { padding: 7px 6px; gap: 5px; }
  .pixel-icon { width: 28px; height: 28px; }
  .tagline-text { font-size: clamp(26px, 2.4vw, 40px); }
  .site-footer { padding: 8px var(--gutter) 6px; }
}

/* Very wide screens: keep the street group from drifting too far apart */
@media (min-aspect-ratio: 21/9) and (min-width: 1100px) {
  :root {
    --cab-left: 33%;
    --player-left: 25%;
    --cat-left: 6%;
    --wall: 0.15;
  }
  .wall-board { --board-left: 4%; --board-w: 8.4%; --board-font: 0.47vw; }
}

/* Phones in landscape: scene on the left, content on the right */
@media (orientation: landscape) and (max-height: 520px) {
  :root {
    --hero-min: 0px;
    --skyline: 0.72;
    --parapet: 0.40;
    --wall: 0.11;
    --bigben-x: 0.86;
    --bigben-h: 0.46;
    --bridge-x: 0.80;
    --invaders-y: 0.36;
    --invaders-x: 0.58;
    --moon-x: 0.14;
    --moon-y: 0.40;
    --feet: 3%;
    --cab-h: 64%;
    --cab-left: 44%;
    --player-h: 40%;
    --player-left: 23%;
    --cat-h: 10%;
    --cat-left: 4%;
    --gutter: 14px;
  }
  .page {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas: "hero levels" "hero footer";
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .hero { min-height: 280px; }
  .masthead { top: 8px; left: max(10px, env(safe-area-inset-left)); }
  .masthead-avatar { width: 30px; height: 30px; }
  .masthead-logo { width: 110px; }
  .coming-soon { top: 46px; font-size: clamp(13px, 2.4vw, 22px); }
  .wall-board, .ideas { display: none; }
  .levels { border-top: 0; border-left: 2px solid #2b1c6e; box-shadow: -10px 0 30px rgba(176, 38, 255, 0.15); align-self: center; padding-top: 10px; }
  .levels-title { font-size: 8px; }
  .levels-intro { font-size: 12.5px; margin: 4px auto 8px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .card { flex-direction: row; text-align: left; padding: 5px 7px; gap: 7px; }
  .card-text { align-items: flex-start; }
  .card-title { font-size: 8px; }
  .card-subject { font-size: 15px; }
  .pixel-icon { width: 22px; height: 22px; }
  .site-footer { border-left: 2px solid #2b1c6e; padding: 6px var(--gutter) 6px; }
  .tagline-text { font-size: clamp(14px, 2.3vw, 22px); }
  .footer-meta { font-size: 14px; margin-top: 3px; column-gap: 12px; }
}

/* Short portrait phones: buy back vertical space */
@media (orientation: portrait) and (max-height: 700px) {
  :root { --hero-min: 270px; }
  .levels { padding-top: 10px; }
  .levels-intro { font-size: 13px; margin: 4px auto 7px; }
  .card { padding: 5px 7px; }
  .site-footer { padding: 7px var(--gutter) 5px; }
}
@media (orientation: portrait) and (max-width: 559.98px) and (max-height: 660px) {
  :root { --hero-min: 246px; }
  .footer-meta { font-size: 14px; column-gap: 12px; }
  .footer-links { column-gap: 10px; }
}
@media (orientation: portrait) and (max-width: 559.98px) and (max-height: 600px) {
  .levels-intro { display: none; }
}

@media (orientation: landscape) and (max-height: 520px) and (max-width: 740px) {
  .card-chevron { display: none; }
  .card { padding: 5px; gap: 5px; }
  .pixel-icon { width: 18px; height: 18px; }
}

@media (max-width: 379.98px) {
  .card-chevron { display: none; }
  .coming-soon { font-size: 20px; }
}


/* ======================================================================
   Cookie pop-up: "Insert cookie?"
   Accept, Reject and Choose share one style on purpose: saying no is as easy as saying yes.
   ====================================================================== */

.cc {
  position: fixed;
  z-index: 50;
  left: max(10px, env(safe-area-inset-left));
  right: max(10px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  max-height: calc(100vh - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--text);
  font-family: var(--read);
  background: #0b0a2b;
  border: 3px solid #ff3cc8;
  box-shadow: 0 0 0 3px #0b0a2b, 0 0 0 6px #2f8bff, 0 0 24px rgba(255, 60, 200, 0.55), 0 18px 50px rgba(0, 0, 0, 0.6);
  animation: cc-in 0.32s steps(4) both;
}
.cc[hidden] { display: none; }
@keyframes cc-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.cc::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px);
}
.cc-frame { display: flex; gap: 12px; padding: 14px 14px 12px; }
.cc-art { flex: none; width: 58px; padding-top: 2px; }
.cc-tin { display: none; width: 100%; height: auto; image-rendering: pixelated; filter: drop-shadow(0 0 6px rgba(176, 38, 255, 0.55)); }
.cc[data-art="closed"] .cc-tin-closed,
.cc:not([data-art]) .cc-tin-closed,
.cc[data-art="sewing"] .cc-tin-sewing,
.cc[data-art="biscuits"] .cc-tin-biscuits { display: block; }
.cc.is-done .cc-tin { animation: tin-pop 0.5s steps(3) 2; }
@keyframes tin-pop { 50% { transform: translateY(-14%) rotate(-4deg); } }
.cc-main { min-width: 0; flex: 1; }

.cc-kicker {
  margin-bottom: 6px;
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fe9ff;
}
.cc-kicker-again, .cc-title-again { display: none; }
.cc.is-again .cc-kicker-first, .cc.is-again .cc-title-first { display: none; }
.cc.is-again .cc-kicker-again, .cc.is-again .cc-title-again { display: inline; }
.cc-kicker-first, .cc-kicker-again { animation: blink 1.2s steps(1) infinite; }

.cc-title {
  margin: 0 0 8px;
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow: 0.12em 0.12em 0 #6e4a00, 0 0 10px rgba(255, 210, 31, 0.55);
}
.cc-title:focus { outline: none; }
.cc-title:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.cc-body { font-size: 14.5px; line-height: 1.5; color: #ece8ff; }
.cc-body a, .cc-row-desc a { color: var(--cyan); text-underline-offset: 3px; }
.cc-quip { margin-top: 6px; font-size: 13px; line-height: 1.45; color: #b9b0e6; font-style: italic; }

.cc-prefs { margin-top: 12px; border-top: 2px dashed #3a2a8a; }
.cc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 2px dashed #3a2a8a;
}
.cc-row-title { font-family: var(--pixel); font-size: 9px; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.cc-row-title label { cursor: pointer; }
.cc-row-desc { font-size: 13.5px; line-height: 1.4; color: #c8c0ee; }
.cc-state { flex: none; font-family: var(--crt); font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; color: #8fe9ff; }
.cc-row.is-off .cc-row-title, .cc-row.is-off .cc-state { color: #7d74a8; }

.cc-switch {
  flex: none;
  position: relative;
  width: 52px;
  height: 26px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: #241a5a;
  border: 3px solid #7d74a8;
  cursor: pointer;
}
.cc-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #7d74a8;
  transition: transform 0.12s steps(2);
}
.cc-switch:checked { border-color: var(--green); background: #0f3a2a; box-shadow: 0 0 8px rgba(43, 255, 154, 0.5); }
.cc-switch:checked::after { transform: translateX(26px); background: var(--green); }
.cc-switch:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.cc-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.cc-btn {
  min-height: 44px;
  padding: 8px 6px;
  font-family: var(--pixel);
  font-size: 9px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--yellow);
  background: #160f45;
  border: 3px solid var(--yellow);
  box-shadow: 0 0 10px rgba(255, 210, 31, 0.35), inset 0 0 8px rgba(255, 210, 31, 0.2);
  cursor: pointer;
  transition: transform 0.08s steps(2), background-color 0.1s;
}
.cc-btn:hover { background: #2a1d6e; }
.cc-btn:active { transform: translateY(2px); }
.cc-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.cc-btn[hidden] { display: none; }
.cc-btn-save { grid-column: 1 / -1; }
.cc-result {
  display: none;
  margin-top: 12px;
  font-family: var(--pixel);
  font-size: 10px;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--green);
  text-shadow: 0 0 8px rgba(43, 255, 154, 0.6);
}
.cc.is-done .cc-actions, .cc.is-done .cc-prefs, .cc.is-done .cc-quip { display: none; }
.cc.is-done .cc-result { display: block; }

@media (min-width: 560px) {
  .cc { left: auto; right: 20px; bottom: 20px; width: 460px; }
  .cc-frame { gap: 16px; padding: 18px 18px 16px; }
  .cc-art { width: 84px; }
  .cc-title { font-size: 16px; }
  .cc-body { font-size: 15px; }
  .cc-btn { font-size: 10px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .cc { left: auto; right: 10px; width: min(460px, 60vw); }
  .cc-art { width: 48px; }
  .cc-quip { display: none; }
}

/* ======================================================================
   Legal pages: arcade frame, modern reading text
   ====================================================================== */

body.is-legal {
  background:
    radial-gradient(90% 40% at 50% 0%, rgba(91, 31, 168, 0.35), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--black) 100%);
  font-family: var(--read);
  -webkit-font-smoothing: antialiased;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 14px;
  font-family: var(--pixel);
  font-size: 10px;
  color: var(--black);
  background: var(--yellow);
}
.skip-link:focus { top: 12px; }

.legal-header {
  border-bottom: 2px solid #2b1c6e;
  box-shadow: 0 2px 0 #0a0820, 0 10px 30px rgba(176, 38, 255, 0.15);
  background: rgba(5, 6, 15, 0.6);
}
.legal-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.legal-brand { display: flex; align-items: center; gap: 10px; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pixel);
  font-size: 9px;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--yellow);
  border: 2px solid var(--yellow);
  padding: 9px 10px;
  box-shadow: 0 0 8px rgba(255, 210, 31, 0.35);
}
.legal-back:hover { background: #1f1450; }
.legal-back-arrow { width: 0; height: 0; border-style: solid; border-color: transparent; border-width: 5px 7px 5px 0; border-right-color: var(--yellow); }

main.legal-main { display: block; padding: clamp(28px, 4vw, 48px) var(--gutter) 40px; }
.legal { max-width: 760px; margin: 0 auto; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: "\203A"; margin-right: 6px; color: var(--pink); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--cyan); }

.legal-level {
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow: 0 0 8px rgba(255, 210, 31, 0.5);
}
.legal-title {
  margin: 10px 0 22px;
  font-family: var(--read);
  font-weight: 750;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 47, 180, 0.35);
}
.legal-title::after {
  content: "";
  display: block;
  width: 96px;
  height: 6px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--cyan));
  box-shadow: 0 0 10px rgba(255, 47, 180, 0.6);
}

.legal-body { font-size: 17px; line-height: 1.7; color: #e6e1fb; }
.legal-body > * + * { margin-top: 1em; }
.legal-body p, .legal-body li { max-width: 68ch; }
.legal-body strong { color: #fff; font-weight: 650; }
.legal-body a { color: var(--cyan); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-body a:hover { color: #fff; }
.legal-body code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 0.88em; padding: 1px 5px; color: #ffd3f6; background: #1c1452; border: 1px solid #3a2a8a; }
.legal-body em { font-style: italic; }
.legal-body ul, .legal-body ol { padding-left: 1.3em; }
.legal-body li + li { margin-top: 0.4em; }
.legal-body ul li::marker { color: var(--pink); }

.legal-body h2 {
  margin-top: 2.2em;
  font-family: var(--read);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
  scroll-margin-top: 20px;
}
.legal-body h3 { margin-top: 1.6em; font-weight: 700; font-size: 19px; color: #fff; }
.legal-num { font-family: var(--pixel); font-size: 0.55em; color: var(--cyan); vertical-align: 0.2em; margin-right: 0.3em; }

.legal-intro {
  margin: 1.4em 0;
  padding: 18px 20px;
  background: linear-gradient(160deg, rgba(60, 10, 70, 0.75), rgba(20, 8, 50, 0.9));
  border: 3px solid #ff4fd8;
  box-shadow: 0 0 16px rgba(255, 79, 216, 0.45), inset 0 0 14px rgba(255, 79, 216, 0.2);
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}
.legal-intro p { max-width: none; }
.legal-intro strong:first-child { display: inline-block; margin-bottom: 4px; color: var(--yellow); }

.legal-toc {
  margin: 2em 0 0.5em;
  padding: 16px 18px;
  background: rgba(19, 14, 56, 0.85);
  border: 2px solid #3a2a8a;
}
.legal-body .legal-toc-title {
  margin: 0 0 10px;
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yellow);
}
.legal-toc ol { margin: 0; padding: 0; list-style: none; columns: 1; column-gap: 28px; font-size: 15px; line-height: 1.45; }
.legal-toc li { break-inside: avoid; margin: 0 0 6px; }
.legal-toc a { color: #e6e1fb; text-decoration: none; }
.legal-toc a:hover { color: var(--cyan); text-decoration: underline; }
.legal-toc .legal-num { font-size: 0.6em; vertical-align: 0.15em; }
@media (min-width: 720px) { .legal-toc ol { columns: 2; } }

.legal-table { overflow-x: auto; margin: 1.2em 0; border: 2px solid #3a2a8a; background: rgba(13, 10, 42, 0.8); }
.legal-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal-table th { padding: 10px 12px; text-align: left; font-weight: 700; color: var(--yellow); background: #1a1250; border-bottom: 2px solid #3a2a8a; }
.legal-table td { padding: 10px 12px; vertical-align: top; border-top: 1px solid #2b1f6e; }
.legal-table tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }

.legal-next {
  margin-top: 3em;
  padding: 18px 20px;
  border: 3px solid var(--cyan);
  box-shadow: 0 0 14px rgba(46, 242, 255, 0.3);
  font-size: 16px;
}
.legal-next > * + * { margin-top: 8px; }
.legal-next-label { font-family: var(--pixel); font-size: 10px; text-transform: uppercase; color: var(--cyan); }
.legal-next a { color: #fff; font-weight: 650; text-underline-offset: 3px; }
.legal-next a:hover { color: var(--cyan); }
.legal-settings { padding: 0; font: inherit; font-weight: 650; color: #fff; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; }
.legal-settings:hover { color: var(--cyan); }
.legal-top { font-weight: 500 !important; color: var(--muted) !important; }

body.is-legal .site-footer { margin-top: 10px; padding-bottom: 28px; }
@media (max-width: 559.98px) {
  .legal-header .masthead-logo { width: 104px; }
  .legal-header .masthead-avatar { width: 30px; height: 30px; }
  .legal-back { font-size: 8px; padding: 8px; }
  .legal-body { font-size: 16.5px; }
}

@media (max-width: 379.98px) {
  .cc-actions { grid-template-columns: 1fr; gap: 6px; }
  .cc-btn { min-height: 40px; }
  .cc-art { width: 44px; }
}
@media (max-width: 359.98px) {
  .card-title { white-space: normal; }
  .coming-soon { font-size: 16px; gap: 0.35em; }
  .tagline { gap: 8px; }
  .tagline-text { font-size: 16px; }
  .tagline-rule { min-width: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
