/* Lao Liu. A Chinese store counter in Florida at night.
   Palette from the photos: night teal outside the window, lacquer red, gold leaf, almanac paper, ink. */
:root {
  --night: #10272a;
  --night-2: #0b1c1f;
  --lacquer: #a8161b;
  --lacquer-deep: #6f0e12;
  --gold: #e2ac45;
  --paper: #f6f4ef;
  --ink: #1e1715;
  --neon: #ff5aa8;
  --sticky: #f3dc6b;

  --f-ui: "Archivo", system-ui, sans-serif;
  --f-brush: "Ma Shan Zheng", "Noto Serif SC", serif;
  --f-print: "Noto Serif SC", "Songti SC", serif;
  --f-hand: "Nanum Pen Script", "Segoe Print", cursive;
  --f-till: "Space Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--f-ui);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35em;
  min-height: 44px; padding: .55em 1.05em;
  border: 2px solid currentColor; border-radius: 999px;
  color: var(--paper); background: transparent;
  font: 700 0.95rem/1 var(--f-ui); font-stretch: 90%;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-buy { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-ink { color: var(--ink); }
.btn-quiet { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) {
  .btn:hover { background: rgba(246, 244, 239, .12); }
  .btn-buy:hover { background: #f0bf5e; }
  .btn-ink:hover { background: rgba(30, 23, 21, .08); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 62vw);
  display: grid; align-items: end;
  isolation: isolate; overflow: hidden;
  background: var(--night-2);
}
.hero-photo, .hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-photo img { object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(11, 28, 31, .96) 0%, rgba(11, 28, 31, .75) 26%, rgba(11, 28, 31, 0) 56%);
}

/* the red couplet that hangs over the shelves, the one orchestrated moment on load */
.couplet {
  position: absolute; top: 0; right: clamp(16px, 7vw, 120px);
  display: grid; justify-items: center;
  transform-origin: 50% 0;
  animation: hang 1600ms var(--ease-out) 200ms both;
}
.couplet-cord { width: 2px; height: clamp(24px, 6vh, 64px); background: #3a2a1f; }
.couplet-paper {
  display: grid; gap: .1em; padding: .35em .32em .5em;
  background:
    radial-gradient(120% 60% at 30% 20%, rgba(255,255,255,.08), transparent 60%),
    var(--lacquer);
  box-shadow: 0 18px 30px rgba(0,0,0,.45), inset 0 0 0 3px rgba(226,172,69,.55), inset 0 0 0 7px var(--lacquer);
  font-family: var(--f-brush); color: #1b0d0b;
  font-size: clamp(3.4rem, 8vw, 7rem); line-height: 1;
  text-shadow: 0 1px 0 rgba(226,172,69,.35);
  clip-path: polygon(0 0, 100% 0, 100% 96%, 96% 100%, 4% 99%, 0 95%);
}
@keyframes hang {
  0% { transform: translateY(-110%) rotate(0deg); }
  55% { transform: translateY(0) rotate(4deg); }
  75% { transform: rotate(-2.2deg); }
  90% { transform: rotate(1deg); }
  100% { transform: rotate(-.6deg); }
}

.hero-copy {
  padding: 0 var(--gutter) clamp(28px, 5vw, 56px);
  max-width: 980px;
}
h1 {
  font-family: var(--f-ui);
  font-weight: 900; font-stretch: 68%;
  font-size: clamp(4.2rem, 13vw, 11.5rem);
  line-height: .82; letter-spacing: -.01em;
  color: var(--paper);
  text-shadow: 0 6px 30px rgba(0,0,0,.5);
}
.hero-line {
  margin-top: .7rem; max-width: 34ch;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem); line-height: 1.35;
  font-weight: 500; font-stretch: 95%;
}

.tagline-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 1.4rem; }

/* a store price sticker, handwritten */
.price-tag {
  position: relative;
  display: grid; padding: .35rem 1rem .4rem 1.6rem;
  background: var(--paper); color: var(--ink);
  border-radius: 4px 14px 14px 4px;
  transform: rotate(-3deg);
  box-shadow: 0 4px 0 rgba(0,0,0,.25);
  line-height: 1.05;
}
.price-tag::before {
  content: ""; position: absolute; left: .55rem; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--night); box-shadow: inset 0 1px 2px rgba(0,0,0,.6);
}
.tag-ticker { font: 800 .85rem/1.1 var(--f-ui); font-stretch: 80%; letter-spacing: .02em; }
.tag-mc { font: 1.65rem/1 var(--f-hand); color: var(--lacquer); }

.ca {
  display: flex; align-items: center; gap: .6rem; min-width: 0; max-width: 100%;
  padding: .3rem .3rem .3rem .9rem;
  border: 1px solid rgba(246,244,239,.35); border-radius: 999px;
  background: rgba(11,28,31,.55);
  backdrop-filter: blur(6px);
}
.ca-label { font-weight: 800; font-size: .8rem; opacity: .75; }
.ca code { font: .9rem var(--f-till); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ca button, .r-ca button {
  flex: none; min-height: 36px; padding: 0 .95rem; border: 0; border-radius: 999px;
  background: var(--paper); color: var(--ink); font: 700 .85rem var(--f-ui); cursor: pointer;
}
.ca button:disabled, .r-ca button:disabled { opacity: .45; cursor: default; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.25rem; }

/* ---------- story ---------- */
.story {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  max-width: 1280px; margin: 0 auto;
}
.polaroid {
  position: relative; margin: 0;
  padding: 14px 14px 0; background: #fbfaf7; color: var(--ink);
  transform: rotate(-3.5deg);
  box-shadow: 0 30px 50px rgba(0,0,0,.45);
}
.polaroid figcaption { font: 1.7rem/1 var(--f-hand); padding: 16px 6px 20px; }
.tape {
  position: absolute; width: 120px; height: 34px;
  background: rgba(239, 230, 200, .72);
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.tape-a { top: -14px; left: 50%; margin-left: -60px; transform: rotate(4deg); }

.story-text { max-width: 60ch; }
h2 {
  font-family: var(--f-ui); font-weight: 900; font-stretch: 70%;
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: .92; letter-spacing: -.005em;
  margin-bottom: 1.4rem;
}
.story-text p + p { margin-top: 1rem; }
.story-text p { color: rgba(246,244,239,.86); }

.sticky {
  position: relative;
  margin-top: 2.4rem; padding: 1.1rem 1.4rem 1.2rem;
  width: min(100%, 360px);
  background: var(--sticky); color: #2b2412;
  transform: rotate(1.8deg);
  box-shadow: 0 14px 22px rgba(0,0,0,.35);
  font: 1.75rem/1.12 var(--f-hand);
}
.sticky p + p { margin-top: .35rem; }
.sticky b { font-weight: 400; color: var(--lacquer); }
.sticky b[lang="zh"] { font-family: var(--f-brush); font-size: 1.05em; }

/* ---------- almanac ---------- */
.almanac {
  overflow: clip;
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: clamp(36px, 6vw, 100px); align-items: center;
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  background:
    radial-gradient(80% 60% at 70% 40%, rgba(255,255,255,.06), transparent 70%),
    var(--lacquer);
  color: var(--paper);
}
.almanac-copy { max-width: 46ch; justify-self: end; }
.almanac-copy p { color: rgba(246,244,239,.9); }
.almanac-copy p + p { margin-top: 1rem; }
.almanac-hint { font: 1.6rem/1.1 var(--f-hand); color: var(--gold) !important; }
.almanac-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.almanac .btn-ink { color: var(--paper); }

.pad-wrap { position: relative; width: 100%; max-width: 380px; justify-self: start; }
.pad-board {
  position: relative; z-index: 3;
  height: 64px; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(#2b1b14, #1c110c);
  box-shadow: 0 6px 12px rgba(0,0,0,.35);
  display: grid; place-items: center;
}
.board-title { font: 1.7rem/1 var(--f-brush); color: var(--gold); letter-spacing: .2em; }
.nail {
  position: absolute; top: 12px; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d9d2c6, #6c645a);
}
.nail:first-child { left: 16px; } .nail:nth-child(2) { right: 16px; }

.pad { position: relative; z-index: 2; height: 430px; touch-action: none; }
.pad-thick {
  position: absolute; left: 4px; right: 4px; top: 64px; height: 436px; z-index: 1;
  background: repeating-linear-gradient(to bottom, #ebe7de 0 2px, #d9d3c6 2px 3px);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 20px 30px rgba(60, 0, 0, .45);
}

.page {
  position: absolute; inset: 0;
  display: grid; grid-template-rows: auto auto 1fr auto;
  padding: 14px 18px 14px;
  background: var(--paper); color: var(--ink);
  transform-origin: 50% 0;
  user-select: none; -webkit-user-select: none;
  /* perforation along the top edge */
  -webkit-mask: radial-gradient(circle 3px at 6px 0, transparent 98%, #000) -6px 0 / 12px 100% repeat-x;
          mask: radial-gradient(circle 3px at 6px 0, transparent 98%, #000) -6px 0 / 12px 100% repeat-x;
  will-change: transform;
}
.page.is-top { cursor: grab; }
.page.is-top:active { cursor: grabbing; }
.page.is-falling { pointer-events: none; }

.pg-month {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 6px; border-bottom: 2px solid var(--lacquer);
  font: 700 .95rem/1.2 var(--f-print); color: var(--lacquer);
}
.pg-month span:last-child { font-family: var(--f-ui); font-weight: 700; font-stretch: 85%; color: var(--ink); }
.pg-day {
  text-align: center; padding: 6px 0 2px;
  font: 900 7.4rem/1 var(--f-print); color: var(--lacquer); letter-spacing: -.04em;
  font-variant-numeric: lining-nums;
}
.pg-day.is-six { font-family: var(--f-brush); font-weight: 400; font-size: 8.4rem; }
.pg-week { text-align: center; font: 700 1rem/1.3 var(--f-print); }
.pg-week span { font-family: var(--f-ui); font-weight: 500; opacity: .7; }
.pg-note {
  margin: 6px auto 0; max-width: 28ch; text-align: center;
  font: 1.3rem/1.05 var(--f-hand); color: var(--lacquer);
}
.pg-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: 10px; border-top: 1px solid rgba(30,23,21,.25);
  align-self: start;
}
.pg-col { padding: 8px 8px 0 0; font-size: .86rem; line-height: 1.3; }
.pg-col + .pg-col { padding: 8px 0 0 10px; border-left: 1px solid rgba(30,23,21,.25); }
.pg-col h3 {
  margin: 0 0 4px; display: flex; align-items: baseline; gap: .35em;
  font: 900 1.35rem/1 var(--f-print);
}
.pg-col h3 small { font: 600 .78rem var(--f-ui); opacity: .65; }
.pg-yi h3 { color: var(--lacquer); }
.pg-col ul { margin: 0; padding: 0; list-style: none; }
.pg-col li + li { margin-top: 3px; }
.pg-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; border-top: 2px solid var(--lacquer);
  font: 700 .9rem/1.2 var(--f-ui); font-stretch: 85%;
}
.pg-foot b { font-family: var(--f-brush); font-weight: 400; color: var(--lacquer); font-size: 1.3rem; }

/* ---------- fortune ---------- */
.fortune {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-areas: "copy copy" "stage slip";
  gap: 24px clamp(24px, 5vw, 72px); align-items: center;
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  max-width: 1200px; margin: 0 auto;
}
.fortune-copy { grid-area: copy; max-width: 52ch; }
.fortune-copy p { color: rgba(246,244,239,.86); }
.fortune-stage { grid-area: stage; position: relative; display: grid; justify-items: center; }
.cup-btn {
  padding: 0; border: 0; background: none; cursor: pointer;
  width: min(300px, 70vw); touch-action: manipulation;
  transform-origin: 50% 90%;
  -webkit-tap-highlight-color: transparent;
}
.cup-img { width: 100%; filter: drop-shadow(0 26px 24px rgba(0,0,0,.5)); pointer-events: none; }
.cup-help { margin-top: 14px; font: 1.5rem/1 var(--f-hand); color: var(--gold); }

.stick {
  position: absolute; left: 50%; top: 4%;
  width: 18px; height: 230px; margin-left: -9px;
  border-radius: 3px;
  background:
    linear-gradient(to bottom, #b7231f 0 16%, transparent 16%),
    linear-gradient(90deg, #c49a5c, #e3c48c 45%, #b98d50);
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
  opacity: 0; pointer-events: none;
  display: grid; justify-items: center; align-content: start; padding-top: 44px;
}
.stick-num { writing-mode: vertical-rl; font: 700 .85rem/1 var(--f-print); color: #3b1a0c; letter-spacing: .05em; }

.slip {
  grid-area: slip; position: relative;
  padding: 22px 24px 20px;
  background: #f4d9b9;
  background-image: repeating-linear-gradient(0deg, rgba(120,60,20,.05) 0 1px, transparent 1px 4px);
  color: var(--ink);
  border: 2px solid var(--lacquer);
  box-shadow: inset 0 0 0 5px #f4d9b9, inset 0 0 0 6px var(--lacquer), 0 24px 40px rgba(0,0,0,.45);
  transform: rotate(1.2deg);
  max-width: 460px;
}
.slip.is-in { animation: slip-in 420ms var(--ease-out) both; }
@keyframes slip-in { from { opacity: 0; transform: translateY(18px) rotate(1.2deg); } to { opacity: 1; transform: translateY(0) rotate(1.2deg); } }
.slip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(168,22,27,.5); }
.slip-no { font: 900 1.6rem/1 var(--f-print); color: var(--lacquer); }
.slip-grade { font: 700 1rem/1.2 var(--f-ui); text-align: right; }
.slip-grade b { display: block; font: 2.1rem/1 var(--f-brush); font-weight: 400; color: var(--lacquer); }
.slip-poem { margin-top: 14px; white-space: pre-line; font: 700 1.25rem/1.45 var(--f-print); }
.slip-meaning { margin-top: 12px; font: 1.6rem/1.1 var(--f-hand); color: var(--lacquer-deep); }
.slip-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }

/* ---------- receipt ---------- */
.closing {
  position: relative; isolation: isolate;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  display: grid; justify-items: center;
  background: url("img/closing.webp") center 30% / cover no-repeat;
}
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 28, 31, .72); }
.receipt {
  --edge: radial-gradient(circle 7px at 50% 0, transparent 97%, #000);
  width: min(400px, 100%);
  padding: 30px 26px 34px;
  background: #fbfbf8; color: #2a2a2a;
  font: .92rem/1.5 var(--f-till);
  transform: rotate(-1deg);
  filter: drop-shadow(0 28px 30px rgba(0,0,0,.5));
  -webkit-mask: var(--edge) 0 0 / 14px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, transparent 97%, #000) 0 100% / 14px 51% repeat-x;
          mask: var(--edge) 0 0 / 14px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, transparent 97%, #000) 0 100% / 14px 51% repeat-x;
}
.r-store { text-align: center; font-weight: 700; font-size: 1.2rem; letter-spacing: .04em; }
.r-sub, .r-date { text-align: center; }
.r-date { margin-top: 2px; opacity: .7; }
.r-title {
  margin: 18px 0 8px; padding: 8px 0; border-block: 1px dashed #777;
  font: 700 1rem/1.3 var(--f-till); letter-spacing: 0; text-align: center;
}
.r-items { margin: 0; padding: 0 0 0 1.6em; }
.r-items li { padding: 4px 0; }
.r-items li { display: list-item; }
.r-items li > span:first-child { display: block; }
.r-items li > span:last-child { display: block; text-align: right; opacity: .65; }
.r-ca {
  display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed #777;
}
.r-ca span { font-weight: 700; }
.r-ca code { flex: 1; min-width: 0; font: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-ca button { background: #2a2a2a; color: #fbfbf8; font-family: var(--f-till); }
.r-check { margin-top: 6px; font-size: .8rem; opacity: .75; }
.r-total {
  display: flex; justify-content: space-between; margin-top: 14px; padding: 10px 0;
  border-block: 1px dashed #777; font-weight: 700; font-size: 1.05rem;
}
.r-barcode { display: block; width: 100%; height: 48px; margin-top: 18px; }
.r-thanks { margin-top: 14px; text-align: center; font: 700 1.3rem/1.2 var(--f-print); }
.r-thanks-en { text-align: center; }

/* ---------- footer ---------- */
.foot {
  padding: 40px var(--gutter) 56px;
  background: var(--night-2);
  color: rgba(246,244,239,.66); font-size: .9rem;
}
.foot p { max-width: 72ch; }
.foot p + p { margin-top: .6rem; }
.foot a { color: var(--paper); }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .polaroid { max-width: 360px; justify-self: center; }
  .almanac { grid-template-columns: 1fr; }
  .almanac-copy { justify-self: start; }
  .pad-wrap { justify-self: center; }
  .fortune { grid-template-columns: 1fr; grid-template-areas: "copy" "stage" "slip"; }
  .slip { justify-self: center; width: 100%; }
}
@media (max-width: 700px) {
  .hero { min-height: 100svh; }
  .hero-photo img { object-position: 50% 30%; }
  .hero::after { background: linear-gradient(to top, rgba(11,28,31,.97) 0%, rgba(11,28,31,.85) 38%, rgba(11,28,31,0) 66%); }
  .couplet { right: 14px; }
  .couplet-cord { height: 10px; }
  .couplet-paper { font-size: 2.9rem; }
  .ca { width: 100%; }
  .pad { height: 430px; }
  .pg-day { font-size: 6.4rem; }
}
@media (max-width: 380px) {
  .pg-col { font-size: .8rem; }
  .page { padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .couplet { animation: none; transform: rotate(-.6deg); }
  .slip.is-in { animation: none; }
  .btn { transition: none; }
}

/* blank slip before the first shake */
.slip.is-empty { opacity: .55; transform: rotate(1.2deg) scale(.97); box-shadow: inset 0 0 0 5px #f4d9b9, inset 0 0 0 6px var(--lacquer); }
.slip.is-empty .slip-actions { display: none; }
.slip.is-empty .slip-no { font-family: var(--f-brush); font-weight: 400; }

/* ---------- GTA 6 layer: neon title, wanted lanterns ---------- */
:root { --teal: #3ee6d3; }

/* the title is a neon tube in the store window */
.neon-title {
  max-width: 9.5ch;
  font-size: clamp(3.4rem, 8vw, 8rem);
  line-height: .86;
  color: #fff4fb;
  text-shadow:
    0 0 2px #fff,
    0 0 10px rgba(255, 90, 168, .95),
    0 0 26px rgba(255, 90, 168, .8),
    0 0 60px rgba(255, 90, 168, .55);
  animation: neon-on 1400ms steps(1, end) 500ms both;
}
.neon-title span { display: inline-block; }
@keyframes neon-on {
  0% { opacity: .15; } 8% { opacity: 1; } 12% { opacity: .2; } 20% { opacity: 1; }
  24% { opacity: .35; } 34% { opacity: 1; } 100% { opacity: 1; }
}

/* wanted level: six lanterns instead of stars, top left like a HUD */
.wanted {
  position: absolute; top: clamp(14px, 3vw, 28px); left: var(--gutter);
  display: grid; gap: 4px; justify-items: start;
}
.wanted-row { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lantern { width: 28px; height: 38px; display: block; }
.lantern svg { width: 100%; height: 100%; overflow: visible; }
.lantern .body { fill: rgba(11, 28, 31, .55); stroke: rgba(246, 244, 239, .55); stroke-width: 1.6; }
.lantern .rib { stroke: rgba(246, 244, 239, .3); stroke-width: 1; fill: none; }
.lantern .cap { fill: rgba(246, 244, 239, .55); }
.lantern.is-lit .body { fill: #e3262b; stroke: #ffd36b; }
.lantern.is-lit .rib { stroke: rgba(255, 211, 107, .65); }
.lantern.is-lit .cap { fill: var(--gold); }
.lantern.is-lit svg { filter: drop-shadow(0 0 6px rgba(255, 70, 60, .9)) drop-shadow(0 0 16px rgba(255, 70, 60, .5)); animation: flicker 3.2s infinite; }
.lantern.is-new svg { animation: lantern-pop 700ms var(--ease-out), flicker 3.2s 700ms infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 50% { opacity: .82; } 53% { opacity: 1; } }
@keyframes lantern-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.wanted-label {
  font: 700 .82rem/1.2 var(--f-ui); font-stretch: 85%;
  color: rgba(246, 244, 239, .85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}

/* neon tubes between sections */
.neon-tube {
  display: block; height: 4px; margin: 0 var(--gutter); border-radius: 4px;
  position: relative; z-index: 1;
}
.neon-tube-teal { background: #d9fffa; box-shadow: 0 0 6px var(--teal), 0 0 18px var(--teal), 0 0 42px rgba(62, 230, 211, .55); margin-top: -2px; }
.neon-tube-pink { background: #ffe3f1; box-shadow: 0 0 6px var(--neon), 0 0 18px var(--neon), 0 0 42px rgba(255, 90, 168, .55); }

/* neon spill from the window onto the dark sections */
.story { position: relative; }
.story::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 18% 0%, rgba(62, 230, 211, .14), transparent 70%);
}
.fortune { position: relative; isolation: isolate; }
.fortune::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(35% 45% at 80% 0%, rgba(255, 90, 168, .16), transparent 70%),
    radial-gradient(30% 40% at 10% 100%, rgba(62, 230, 211, .1), transparent 70%);
}
.story h2, .fortune h2 { text-shadow: 0 0 22px rgba(255, 90, 168, .35); }
.btn:focus-visible { outline-color: var(--neon); box-shadow: 0 0 16px rgba(255, 90, 168, .6); }


@media (max-width: 700px) {
  .neon-title { font-size: clamp(3.2rem, 15vw, 4.6rem); }
  .lantern { width: 22px; height: 30px; }
  .wanted-row { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .neon-title, .lantern.is-lit svg, .lantern.is-new svg { animation: none; }
}
