/* Play Micro Drama - arcade-bright skin. Sky blue + sunny yellow, chunky pressable buttons, pixel dividers. */
:root {
  --sky: #38b6ff;
  --sky-deep: #1680d4;
  --sky-night: #0c4a80;
  --sky-pale: #e7f6ff;
  --sun: #ffd23f;
  --sun-deep: #d69a00;
  --sun-pale: #fff5c9;
  --ink: #11314f;
  --ink-soft: #4a6580;
  --paper: #ffffff;
  --mint: #34c98a;
  --cherry: #ff5a6e;
  --r-big: 20px;
  --r-mid: 14px;
  --press: 0 5px 0 var(--ink);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.lv-body {
  margin: 0;
  font: 16px/1.55 var(--round);
  color: var(--ink);
  background: linear-gradient(#bde7ff, var(--sky-pale) 340px) no-repeat, var(--sky-pale);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-night); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--sky-deep); }
h1, h2, h3 { line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
p { margin: 0 0 .9em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 2px; }

/* ---------- pixel dividers ---------- */
.lv-pixrow {
  height: 12px;
  background:
    linear-gradient(90deg, var(--sun) 0 25%, transparent 25% 50%, var(--sky-deep) 50% 75%, transparent 75%) 0 0 / 48px 6px repeat-x,
    linear-gradient(90deg, transparent 0 25%, var(--sky-deep) 25% 50%, transparent 50% 75%, var(--sun) 75%) 0 6px / 48px 6px repeat-x;
}
.lv-pixrow--flip { transform: scaleY(-1); }
.lv-pixrow--thin {
  height: 6px; margin: 28px auto 4px; max-width: 280px;
  background: linear-gradient(90deg, var(--sky) 0 50%, var(--sun) 50%) 0 0 / 12px 6px repeat-x;
  border-radius: 2px;
}

/* ---------- top bar ---------- */
.lv-hud {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px;
  background: var(--sky);
  border-bottom: 4px solid var(--sky-deep);
}
.lv-badge { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.lv-badge-ico { flex: none; image-rendering: pixelated; filter: drop-shadow(0 3px 0 var(--sky-deep)); }
.lv-badge-txt { font-weight: 900; font-size: 19px; letter-spacing: .01em; text-shadow: 0 3px 0 var(--sky-deep); }
.lv-badge-txt em { font-style: normal; color: var(--sun); }
.lv-hud-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.lv-hud-link {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-weight: 800; font-size: 14px; text-decoration: none;
  box-shadow: 0 3px 0 var(--sky-deep);
}
.lv-hud-link--sun { background: var(--sun); box-shadow: 0 3px 0 var(--sun-deep); }
.lv-hud-link:hover { color: var(--ink); transform: translateY(1px); box-shadow: 0 2px 0 var(--sky-deep); }
.lv-hud--slim { justify-content: center; }

/* ---------- layout ---------- */
.lv-stage { max-width: 1080px; margin: 0 auto; padding: 18px 16px 40px; }
.lv-zone { margin-top: 30px; }
.lv-zone-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.lv-zone-more { font-weight: 800; font-size: 14px; }
.lv-zone-sub { color: var(--ink-soft); margin: 6px 0 12px; }
.lv-h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em;
  margin: 26px 0 12px;
}
.lv-zone-head .lv-h2 { margin: 0; }
.lv-h2::before {
  content: ""; flex: none; width: 12px; height: 12px; background: var(--sun);
  box-shadow: 4px 4px 0 var(--sky-deep);
}
.lv-trail { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.lv-trail a { color: var(--ink-soft); }

/* ---------- buttons ---------- */
.lv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; min-height: 48px;
  border: 3px solid var(--ink); border-radius: var(--r-mid);
  font: 900 16px/1.2 var(--round); text-decoration: none; text-align: center;
  color: var(--ink); background: var(--paper);
  box-shadow: var(--press);
  transition: transform .07s ease, box-shadow .07s ease;
  cursor: pointer;
}
.lv-btn:hover { color: var(--ink); }
.lv-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.lv-btn--sun { background: var(--sun); }
.lv-btn--sky { background: var(--sky); color: var(--paper); }
.lv-btn--sky:hover { color: var(--paper); }
.lv-btn--ghost { background: var(--paper); }
.lv-btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; box-shadow: 0 4px 0 var(--ink); }
.lv-btn--xl { width: 100%; min-height: 60px; font-size: 19px; box-shadow: 0 6px 0 var(--ink); }

/* ---------- home hero ---------- */
.lv-hero {
  position: relative;
  background: var(--paper);
  border: 4px solid var(--ink); border-radius: var(--r-big);
  box-shadow: 0 8px 0 var(--ink);
  padding: 22px 20px 20px;
  overflow: hidden;
}
.lv-hero::after {
  content: ""; position: absolute; inset-inline-end: -10px; top: -10px; width: 120px; height: 120px;
  background:
    linear-gradient(var(--sun) 0 0) 20px 20px / 20px 20px no-repeat,
    linear-gradient(var(--sky) 0 0) 60px 40px / 20px 20px no-repeat,
    linear-gradient(var(--sun) 0 0) 40px 80px / 20px 20px no-repeat,
    linear-gradient(var(--sky-pale) 0 0) 80px 80px / 20px 20px no-repeat;
  opacity: .9;
}
.lv-hero-kick {
  display: inline-block; margin: 0 0 10px; padding: 3px 10px;
  font: 800 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .12em;
  background: var(--ink); color: var(--sun); border-radius: 6px;
}
.lv-hero-title { font-size: clamp(30px, 6vw, 46px); font-weight: 900; letter-spacing: -.01em; color: var(--sky-deep); text-shadow: 0 3px 0 var(--sun); }
.lv-hero-tag { font-size: 18px; font-weight: 800; margin: 8px 0 14px; }
.lv-hero-copy { max-width: 720px; color: var(--ink); }
.lv-hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 6px; }

/* ---------- section banners ---------- */
.lv-banner {
  background: var(--paper);
  border: 3px solid var(--ink); border-radius: var(--r-big);
  box-shadow: 0 6px 0 var(--ink);
  padding: 16px 18px;
  margin-bottom: 22px;
}
.lv-banner--sun { background: var(--sun-pale); }
.lv-banner-title { font-size: clamp(26px, 5vw, 36px); font-weight: 900; color: var(--sky-night); }
.lv-banner-page { font: 800 .5em var(--mono); color: var(--ink-soft); vertical-align: middle; }
.lv-banner-sub { margin: 6px 0 0; font-weight: 700; color: var(--ink-soft); }
.lv-banner-intro { margin: 10px 0 0; max-width: 760px; }
.lv-banner-acts { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }

/* ---------- cards ---------- */
.lv-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px 14px;
  grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
}
.lv-card {
  position: relative; min-width: 0;
  background: var(--paper);
  border: 3px solid var(--ink); border-radius: 16px;
  box-shadow: 0 5px 0 var(--ink);
  overflow: hidden;
  transition: transform .1s ease;
}
.lv-card:hover { transform: translateY(-3px); }
.lv-card-link { display: block; text-decoration: none; color: var(--ink); }
.lv-card-art { display: block; aspect-ratio: 300 / 428; background: var(--sky-pale); border-bottom: 3px solid var(--ink); }
.lv-card-art img { width: 100%; height: 100%; object-fit: cover; }
.lv-card-lv {
  position: absolute; top: 8px; inset-inline-start: 8px;
  padding: 2px 8px; border-radius: 8px;
  font: 800 11px/1.5 var(--mono); background: var(--sun); color: var(--ink);
  border: 2px solid var(--ink);
}
.lv-card-name { display: block; padding: 9px 10px 2px; font-weight: 800; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.lv-card-tags { display: block; padding: 2px 10px 10px; font-size: 12px; color: var(--ink-soft); }

/* ---------- chips ---------- */
.lv-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lv-chip {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--paper); color: var(--sky-night);
  border: 2px solid var(--sky-deep); box-shadow: 0 3px 0 var(--sky-deep);
  font-weight: 800; font-size: 14px; text-decoration: none; overflow-wrap: anywhere;
}
a.lv-chip:hover { background: var(--sky-pale); }
.lv-chip--tag { background: var(--sky-pale); box-shadow: none; font-size: 13px; padding: 3px 10px; }

/* ---------- worlds ---------- */
.lv-worlds { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); }
.lv-world {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: var(--r-mid);
  background: var(--sky); color: var(--paper); text-decoration: none;
  box-shadow: 0 4px 0 var(--sky-deep);
}
.lv-world:hover { color: var(--paper); background: var(--sky-deep); }
.lv-world span { font: 800 13px var(--mono); background: var(--sun); color: var(--ink); padding: 1px 7px; border-radius: 6px; }

/* ---------- pager & level select ---------- */
.lv-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 30px 0 10px; }
.lv-pager-num, .lv-pager-step, .lv-levelmap-tile {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px;
  border-radius: 12px; font: 800 16px var(--mono); text-decoration: none;
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--sky-deep); box-shadow: 0 4px 0 var(--sky-deep);
}
.lv-pager-num.is-on { background: var(--sun); border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.lv-pager-step--next { font-family: var(--round); background: var(--sky); color: var(--paper); }
.lv-pager-gap { font: 800 16px var(--mono); color: var(--ink-soft); }
.lv-pager-dir { text-align: center; font-weight: 800; margin: 14px 0 0; }
.lv-stages { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.lv-stage-pill {
  display: inline-block; padding: 8px 14px; border-radius: 999px; font: 800 14px var(--mono); text-decoration: none;
  background: var(--sky); color: var(--paper); box-shadow: 0 4px 0 var(--sky-deep);
}
.lv-stage-pill.is-on { background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 var(--sun-deep); }
.lv-levelmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
.lv-levelmap-tile { width: 100%; }
.lv-levelmap-tile:hover { background: var(--sun-pale); }

/* ---------- high-score board ---------- */
.lv-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lv-board-row {
  display: grid; grid-template-columns: 46px 64px 1fr; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: var(--r-mid);
  background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
}
.lv-board-row:nth-child(even) { background: #f3fbff; }
.lv-board-rank {
  display: grid; place-items: center; height: 46px; border-radius: 10px;
  font: 900 18px var(--mono); background: var(--sky); color: var(--paper);
}
.lv-board-row:nth-child(-n+3) .lv-board-rank { background: var(--sun); color: var(--ink); }
.lv-board-art img { width: 64px; aspect-ratio: 300 / 428; object-fit: cover; border-radius: 8px; border: 2px solid var(--ink); }
.lv-board-body { min-width: 0; display: grid; gap: 3px; }
.lv-board-name { font-weight: 900; font-size: 16px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.lv-board-name:hover { color: var(--sky-deep); }
.lv-board-blurb { font-size: 14px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lv-board-meta { font: 700 12px var(--mono); color: var(--sky-night); }

/* ---------- level page ---------- */
.lv-level { max-width: 760px; margin: 0 auto; }
.lv-level-title { font-size: clamp(24px, 5.4vw, 34px); font-weight: 900; color: var(--sky-night); margin-bottom: 14px; }
.lv-deck { display: flex; justify-content: center; }
.lv-screen {
  position: relative;
  height: min(52vh, 600px); aspect-ratio: 9 / 16; max-width: 100%;
  background: #0b2340;
  border: 4px solid var(--ink); border-radius: var(--r-big);
  box-shadow: 0 7px 0 var(--ink);
  overflow: hidden;
}
.lv-poster { width: 100%; height: 100%; object-fit: cover; }
.lv-film { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; z-index: 1; }
.lv-deck:not(.is-live) .lv-film { display: none; }
.lv-start {
  position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 132px; min-height: 58px; padding: 10px 22px;
  border: 3px solid var(--ink); border-radius: 18px;
  background: var(--sun); color: var(--ink);
  font: 900 19px/1 var(--round); text-transform: uppercase; letter-spacing: .04em;
  box-shadow: 0 6px 0 var(--ink); cursor: pointer;
}
.lv-start:active { transform: translate(-50%, calc(-50% + 4px)); box-shadow: 0 2px 0 var(--ink); }
.lv-start-tri { width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--ink); }
[dir="rtl"] .lv-start-tri { transform: scaleX(-1); }
.lv-screen-note {
  position: absolute; z-index: 4; left: 10px; right: 10px; top: 10px; margin: 0;
  padding: 8px 12px; border-radius: 10px; background: var(--cherry); color: var(--paper);
  font-weight: 800; font-size: 14px; text-align: center; border: 2px solid var(--ink);
}
.lv-deck.is-loading .lv-screen::after {
  content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -30px;
  background: var(--sun);
  box-shadow: 18px 0 0 var(--sky), 36px 0 0 var(--sun), 54px 0 0 var(--sky);
  animation: lv-blink .8s steps(2) infinite;
  pointer-events: none;
}
@keyframes lv-blink { 50% { opacity: .25; } }
.lv-finale {
  position: absolute; z-index: 5; left: 12px; right: 12px; bottom: 56px;
  display: block; padding: 14px 12px; text-align: center; text-decoration: none;
  font-weight: 900; font-size: 16px; color: var(--ink);
  background: var(--sun); border: 3px solid var(--ink); border-radius: var(--r-mid); box-shadow: 0 5px 0 var(--ink);
}

.lv-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0 16px; }
.lv-tile {
  position: relative;
  display: inline-grid; place-items: center; align-content: center; gap: 1px;
  width: 54px; height: 54px; padding: 2px;
  border: 3px solid var(--sky-deep); border-radius: 12px;
  background: var(--paper); color: var(--sky-night);
  box-shadow: 0 4px 0 var(--sky-deep);
  cursor: pointer; font-family: var(--round);
}
.lv-tile small { font: 800 8px/1 var(--round); text-transform: uppercase; letter-spacing: .04em; max-width: 46px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lv-tile b { font: 900 18px/1 var(--mono); }
.lv-tile:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sky-deep); }
.lv-tile.is-on { background: var(--sun); color: var(--ink); border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.lv-tile.is-done::after {
  content: ""; position: absolute; top: -6px; inset-inline-end: -6px; width: 14px; height: 14px; border-radius: 4px;
  background: var(--mint); border: 2px solid var(--ink);
}
.lv-tile--more { background: var(--sky); color: var(--paper); }

.lv-coin {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 560px; min-height: 60px; margin: 6px auto 8px; padding: 12px 18px;
  border: 3px solid var(--ink); border-radius: 18px;
  background: var(--sun); color: var(--ink); text-decoration: none; text-align: center;
  font: 900 18px/1.25 var(--round);
  box-shadow: 0 6px 0 var(--ink);
}
.lv-coin::before, .lv-dock::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 0 4px, var(--sun-deep) 5px 7px, var(--sun) 8px);
  border: 2px solid var(--ink);
}
.lv-coin:hover { color: var(--ink); filter: brightness(1.04); }
.lv-coin:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.lv-fine { text-align: center; font-size: 12px; color: var(--ink-soft); margin: 4px 0 0; }

.lv-brief {
  margin-top: 24px; padding: 18px 18px 14px;
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--r-big); box-shadow: 0 6px 0 var(--ink);
}
.lv-brief .lv-h2:first-child { margin-top: 0; }
.lv-quest {
  margin: 0 0 14px; padding: 10px 14px 10px 14px;
  font-weight: 800; font-size: 17px;
  background: var(--sun-pale); border-radius: 10px;
  border-inline-start: 8px solid var(--sun);
  box-shadow: inset 0 -3px 0 rgba(214, 154, 0, .25);
}
.lv-story { font-size: 16.5px; }
.lv-hooks { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; }
.lv-hooks li { position: relative; padding-inline-start: 26px; }
.lv-hooks li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: .45em; width: 10px; height: 10px;
  background: var(--sky); box-shadow: 3px 3px 0 var(--sun-deep);
}
.lv-meter { padding: 10px 14px; border-radius: 10px; background: var(--sky-pale); border: 2px dashed var(--sky-deep); }
.lv-brief-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 3px dotted var(--sky); }
.lv-date { font: 700 13px var(--mono); color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.lv-date::before { content: ""; width: 12px; height: 12px; background: linear-gradient(var(--cherry) 0 4px, var(--paper) 4px); border: 2px solid var(--ink-soft); border-radius: 2px; }

.lv-sidequest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lv-sidequest {
  display: block; padding: 12px 16px; border-radius: var(--r-mid); text-decoration: none; font-weight: 800;
  color: var(--paper); background: var(--sky); box-shadow: 0 4px 0 var(--sky-deep);
}
.lv-sidequest::after { content: "  ▸"; color: var(--sun); }
.lv-sidequest:hover { color: var(--paper); background: var(--sky-deep); }
.lv-sidequest--home { background: var(--paper); color: var(--sky-night); border: 3px solid var(--sky-deep); }
.lv-sidequest--home:hover { color: var(--sky-night); background: var(--sky-pale); }

.lv-sidecard {
  display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center;
  padding: 10px; margin: 0 0 16px; border-radius: var(--r-mid); text-decoration: none; color: var(--ink);
  background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
}
.lv-sidecard img { width: 84px; aspect-ratio: 300 / 428; object-fit: cover; border-radius: 10px; }
.lv-sidecard-body { display: grid; gap: 4px; min-width: 0; }
.lv-sidecard-body b { font-size: 17px; overflow-wrap: anywhere; }
.lv-sidecard-body span { font: 700 13px var(--mono); color: var(--sky-deep); }

/* phone-only Play on bar */
.lv-dock { display: none; }
@media (max-width: 720px) {
  .lv-dock.is-up, .lv-dock.lv-dock--stay {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    min-height: 56px; padding: 10px 16px;
    border: 3px solid var(--ink); border-radius: 16px;
    background: var(--sun); color: var(--ink); text-decoration: none; text-align: center;
    font: 900 16px/1.2 var(--round);
    box-shadow: 0 5px 0 var(--ink), 0 10px 24px rgba(17, 49, 79, .25);
  }
  body.has-dock .lv-ground, body.lv-body--quest .lv-ground { padding-bottom: 96px; }
  .lv-stage { padding-left: 14px; padding-right: 14px; }
  .lv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .lv-board-row { grid-template-columns: 38px 52px 1fr; gap: 10px; padding: 8px 10px; }
  .lv-board-rank { height: 38px; font-size: 15px; }
  .lv-board-art img { width: 52px; }
  .lv-badge-txt { font-size: 16px; }
  .lv-badge-ico { width: 30px; height: 30px; }
  .lv-badge { gap: 8px; }
  .lv-hud { padding: 8px 14px; gap: 8px; }
  .lv-hud-link { font-size: 13px; padding: 5px 10px; }
  .lv-screen { height: min(50vh, 560px); }
  .lv-level-title { margin-bottom: 12px; }
  .lv-tiles { margin: 18px 0 14px; gap: 9px; }
}

/* ---------- hand-off screen ---------- */
.lv-cart {
  max-width: 520px; margin: 24px auto; padding: 24px 20px 20px; text-align: center;
  background: var(--paper); border: 4px solid var(--ink); border-radius: 24px; box-shadow: 0 8px 0 var(--ink);
}
.lv-cart-title { font-size: 24px; font-weight: 900; color: var(--sky-night); margin-bottom: 12px; }
.lv-cart-hint { font-weight: 700; }
.lv-cart-code {
  margin: 14px 0 20px; padding: 14px 10px;
  font: 900 clamp(30px, 9vw, 44px)/1.1 var(--mono); letter-spacing: .12em; overflow-wrap: anywhere;
  color: var(--ink); background: var(--sun-pale);
  border: 3px dashed var(--sun-deep); border-radius: 14px;
  user-select: all;
}
.lv-cart-done { margin: 12px 0 0; font-weight: 900; color: #127a4f; }
.lv-cart--wait { padding: 40px 20px; }
.lv-loader { display: flex; justify-content: center; gap: 8px; margin: 0 0 18px; }
.lv-loader i { width: 16px; height: 16px; background: var(--sky); animation: lv-hop .9s steps(2) infinite; }
.lv-loader i:nth-child(2) { animation-delay: .15s; background: var(--sun); }
.lv-loader i:nth-child(3) { animation-delay: .3s; }
.lv-loader i:nth-child(4) { animation-delay: .45s; background: var(--sun); }
@keyframes lv-hop { 50% { transform: translateY(-8px); } }

/* ---------- 404 / 503 ---------- */
.lv-gameover { max-width: 640px; margin: 30px auto; text-align: center; }
.lv-gameover-big {
  margin: 0 0 12px; font: 900 clamp(40px, 12vw, 76px)/1 var(--mono); letter-spacing: .06em;
  color: var(--sun); text-shadow: 4px 4px 0 var(--ink), -2px -2px 0 var(--sky-deep);
  text-transform: uppercase; overflow-wrap: anywhere;
}
.lv-gameover-title { font-size: 26px; font-weight: 900; margin-bottom: 10px; }
.lv-gameover .lv-hero-acts { justify-content: center; }

/* ---------- about / privacy ---------- */
.lv-doc {
  max-width: 760px; margin: 0 auto; padding: 22px 20px;
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--r-big); box-shadow: 0 6px 0 var(--ink);
}
.lv-doc-title { font-size: clamp(26px, 5vw, 34px); font-weight: 900; color: var(--sky-night); margin-bottom: 14px; }
.lv-doc-lead { font-size: 17.5px; font-weight: 600; }
.lv-doc-stamp { margin-top: 20px; font: 700 13px var(--mono); color: var(--ink-soft); }

/* ---------- footer ---------- */
.lv-ground { background: var(--sky-night); color: #dcefff; padding: 24px 16px 28px; }
.lv-ground > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.lv-ground a { color: var(--paper); }
.lv-warpzone-h { font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--sun); margin-bottom: 10px; }
.lv-warpzone-list { list-style: none; margin: 0 auto 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.lv-warpzone-list a { font-weight: 700; text-decoration: none; }
.lv-warpzone-list a:hover { text-decoration: underline; color: var(--sun); }
.lv-ground-links { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 800; margin-bottom: 10px; }
.lv-ground-note { font-size: 13px; color: #a9cdec; margin-bottom: 4px; }
.lv-ground--slim { text-align: center; }
.lv-ground--slim .lv-ground-links { justify-content: center; }

@media (min-width: 721px) {
  .lv-screen { height: min(58vh, 600px); }
  .lv-stage { padding-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
