/* ═══════════════════════════════════════════════════════════════
   NEON ARCADE — youxi--1--132 index stylesheet
   Restructured arcade-cabinet layout: stacked sign header, console
   search, wrapped chips, full-bleed hero slides, orb reel, stamp
   grid, ranked shelf, vertical aisles, cabinet grid, bowl grid.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #0b0a1e;
  --bg-2: #12102b;
  --panel: #161430;
  --panel-2: #1e1a3e;
  --ink: #eceafb;
  --ink-soft: #918cc4;
  --neon-pink: #ff2e88;
  --neon-pink-deep: #c91f6b;
  --neon-cyan: #23e5db;
  --neon-cyan-deep: #0fb8b0;
  --neon-yellow: #ffd23e;
  --neon-yellow-deep: #e0ad17;
  --neon-purple: #8b5cf6;
  --neon-purple-deep: #6d3fd6;
  --serif: Georgia, 'Times New Roman', 'Songti SC', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', sans-serif;
  --mono: 'Courier New', 'Consolas', monospace;
  --sec-gap: 34px;
  --glow-pink: 0 0 10px rgba(255, 46, 136, .45), 0 0 22px rgba(255, 46, 136, .22);
  --glow-cyan: 0 0 10px rgba(35, 229, 219, .42), 0 0 22px rgba(35, 229, 219, .2);
  --glow-yellow: 0 0 10px rgba(255, 210, 62, .4), 0 0 22px rgba(255, 210, 62, .18);
  --glow-purple: 0 0 10px rgba(139, 92, 246, .45), 0 0 22px rgba(139, 92, 246, .22);
  --shadow-pop: 0 4px 18px rgba(0, 0, 0, .45);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 50% -12%, rgba(139, 92, 246, .20), transparent 55%),
    linear-gradient(rgba(255, 46, 136, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 229, 219, .035) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px, 22px 22px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

[v-cloak] { display: none; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; }

/* hard guard: no card may ever spill sideways */
.gcard, .rcard, .shelf-card, .hero-slide, .tcard, .seat, .bowl,
.stall-row, .reel-orb, .stamp-cell { min-width: 0; max-width: 100%; }

/* ═══ shared section head — numbered neon rail ═════════════════ */
.shead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.shead-no {
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  color: #021917;
  background: var(--neon-cyan);
  border-radius: 6px;
  padding: 2px 7px;
  box-shadow: var(--glow-cyan);
}
.shead-t {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 46, 136, .8), 0 0 20px rgba(255, 46, 136, .4);
}
.shead-side {
  margin-left: auto;
  flex: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--neon-yellow);
  border: 1px solid rgba(255, 210, 62, .5);
  border-radius: 20px;
  padding: 2px 9px;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(255, 210, 62, .55);
}

/* ═══ 1) CABINET HEADER — stacked sign board ═══════════════════ */
.cab {
  position: relative;
  z-index: 50;
  background: linear-gradient(180deg, rgba(255, 46, 136, .16), rgba(139, 92, 246, .10)), var(--bg-2);
  border-bottom: 1px solid rgba(255, 46, 136, .35);
}
.cab-in {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
}
.cab-badge {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 14px;
  background: conic-gradient(from 180deg, var(--neon-pink), var(--neon-purple), var(--neon-cyan), var(--neon-pink));
  box-shadow: var(--glow-pink);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  color: #0b0a1e;
}
.cab-brand {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.cab-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 46, 136, .8), 0 0 22px rgba(139, 92, 246, .5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cab-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--neon-cyan);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cab-search {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(35, 229, 219, .6);
  background: rgba(35, 229, 219, .1);
  color: var(--neon-cyan);
  display: grid;
  place-items: center;
  box-shadow: var(--glow-cyan);
  transition: transform .15s;
}
.cab-search:active { transform: scale(.9); }
.cab-strip {
  margin-top: 12px;
  border-top: 1px solid rgba(236, 234, 251, .1);
  background: rgba(11, 10, 30, .5);
}
.cab-strip-in {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  padding-bottom: 6px;
  overflow: hidden;
}
.cab-live {
  flex: none;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--neon-pink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cab-live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: var(--glow-pink);
  animation: blink 1.4s steps(2) infinite;
}
@keyframes blink { 50% { opacity: .15; } }
.cab-roll {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 2) COMMAND SEARCH — console bar ══════════════════════════ */
.console { padding-top: 14px; padding-bottom: 4px; }
.console-in {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid rgba(35, 229, 219, .45);
  border-radius: 12px;
  box-shadow: var(--glow-cyan), var(--shadow-pop);
  padding: 4px 6px 4px 14px;
}
.console-ps {
  flex: none;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
}
.console-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink);
  padding: 9px 0;
  caret-color: var(--neon-pink);
}
.console-input::placeholder { color: var(--ink-soft); opacity: .7; }
.console-go {
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  background: var(--neon-pink);
  color: #1a0410;
  border-radius: 9px;
  padding: 9px 14px;
  box-shadow: var(--glow-pink);
  transition: transform .12s;
}
.console-go:active { transform: translateY(2px); }

/* ═══ 3) CATEGORY CHIPS — wrapped grid ═════════════════════════ */
.chipbar { margin-top: 16px; }
.chipbar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(236, 234, 251, .04);
  border: 1px solid rgba(236, 234, 251, .18);
  border-radius: 9px;
  padding: 6px 10px;
  transition: transform .15s, box-shadow .15s;
}
.cchip:active { transform: scale(.96); }
.cchip b {
  font-size: 9.5px;
  opacity: .75;
}
.cchip.f-red { color: var(--neon-pink); border-color: rgba(255, 46, 136, .5); }
.cchip.f-teal { color: var(--neon-cyan); border-color: rgba(35, 229, 219, .5); }
.cchip.f-mustard { color: var(--neon-yellow); border-color: rgba(255, 210, 62, .5); }
.cchip.f-ink { color: #fff; border-color: rgba(236, 234, 251, .4); }
.cchip.f-pink { color: var(--neon-purple); border-color: rgba(139, 92, 246, .5); }
.cchip.cchip-all { color: #fff; border-color: rgba(236, 234, 251, .4); }
.cchip.f-red.is-on { background: var(--neon-pink); border-color: var(--neon-pink); color: #1a0410; box-shadow: var(--glow-pink); }
.cchip.f-teal.is-on { background: var(--neon-cyan); border-color: var(--neon-cyan); color: #021917; box-shadow: var(--glow-cyan); }
.cchip.f-mustard.is-on { background: var(--neon-yellow); border-color: var(--neon-yellow); color: #1c1500; box-shadow: var(--glow-yellow); }
.cchip.f-ink.is-on { background: #fff; border-color: #fff; color: #0b0a1e; box-shadow: 0 0 16px rgba(255, 255, 255, .5); }
.cchip.f-pink.is-on { background: var(--neon-purple); border-color: var(--neon-purple); color: #0e0820; box-shadow: var(--glow-purple); }
.cchip.cchip-all.is-on { background: #fff; border-color: #fff; color: #0b0a1e; box-shadow: 0 0 16px rgba(255, 255, 255, .5); }

/* ═══ 4) HEADLINER — full-bleed overlay slides ═════════════════ */
/* .hero { margin-top: var(--sec-gap); } */
.hero-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 16px 14px;
  margin: 0 -16px;
  scrollbar-width: none;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide {
  flex: none;
  width: calc(100% - 8px);
  scroll-snap-align: center;
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  border: 1px solid rgba(139, 92, 246, .55);
  box-shadow: var(--glow-purple), var(--shadow-pop);
  overflow: hidden;
  position: relative;
  display: block;
}
.hero-art {
  position: absolute;
  inset: 0;
  background: var(--bg-2);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 10, 30, .1) 0%, rgba(11, 10, 30, .55) 48%, rgba(11, 10, 30, .96) 100%),
    repeating-linear-gradient(0deg, rgba(11, 10, 30, .22) 0 2px, transparent 2px 5px);
  pointer-events: none;
}
.hero-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px 15px;
  display: flex;
  flex-direction: column;
}
.hero-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--neon-yellow);
  color: #1c1500;
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 7px;
  box-shadow: var(--glow-yellow);
}
.hero-nm {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 46, 136, .6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-desc {
  font-size: 12px;
  color: rgba(236, 234, 251, .78);
  margin: 4px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-no {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.hero-play {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--neon-pink);
  color: #1a0410;
  border-radius: 12px;
  padding: 7px 16px;
  box-shadow: var(--glow-pink);
}
.hero-slide:active .hero-play { transform: translateY(2px); }
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}
.hero-dot {
  width: 22px; height: 4px;
  border-radius: 3px;
  background: rgba(236, 234, 251, .25);
}
.hero-dot.on { background: var(--neon-pink); box-shadow: var(--glow-pink); }

/* ═══ 5) LUCKY NUMBERS — horizontal orb reel ══════════════════ */
.reel { margin-top: var(--sec-gap); }
.reel-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 16px 12px;
  margin: 0 -16px;
  scrollbar-width: none;
}
.reel-strip::-webkit-scrollbar { display: none; }
.reel-orb {
  flex: none;
  width: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.reel-ball {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(35, 229, 219, .6);
  background:
    radial-gradient(circle at 32% 28%, rgba(236, 234, 251, .95) 0 14%, transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(35, 229, 219, .28), rgba(23, 21, 52, .9));
  box-shadow: var(--glow-cyan);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform .15s;
}
.reel-orb:hover .reel-ball { transform: translateY(-3px) rotate(-4deg); }
.reel-ball img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.reel-no {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--neon-pink);
  color: #1a0410;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
  box-shadow: var(--glow-pink);
}
.reel-nm {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 6) PUNCH CARD — square stamp grid ════════════════════════ */
.stamp { margin-top: var(--sec-gap); }
.stamp-card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid rgba(255, 46, 136, .35);
  border-radius: 18px;
  box-shadow: var(--shadow-pop);
  padding: 14px;
  position: relative;
}
.stamp-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px dashed rgba(236, 234, 251, .2);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.stamp-lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
}
.stamp-note {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.stamp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.stamp-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.stamp-face {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--bg);
  border: 1px dashed rgba(35, 229, 219, .5);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.stamp-cell:hover .stamp-face {
  transform: translateY(-2px);
  border-style: solid;
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}
.stamp-face img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.stamp-nm {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 7) PRIZE SHELF — horizontal ranked cards ═════════════════ */
.shelf { margin-top: var(--sec-gap); }
.shelf-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 16px 12px;
  margin: 0 -16px;
  scrollbar-width: none;
}
.shelf-strip::-webkit-scrollbar { display: none; }
.shelf-card {
  flex: none;
  width: 118px;
  background: var(--panel);
  border: 1px solid rgba(236, 234, 251, .18);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: transform .15s, box-shadow .15s;
}
.shelf-card:hover { transform: translateY(-3px); box-shadow: var(--glow-purple); }
.shelf-rank {
  position: absolute;
  top: -8px; left: -8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: #1c1500;
  background: var(--neon-yellow);
  border-radius: 8px;
  padding: 2px 7px;
  box-shadow: var(--glow-yellow);
}
.shelf-img {
  width: 88px; height: 88px;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, .5);
  overflow: hidden;
  background: var(--bg-2);
}
.shelf-img img { width: 100%; height: 100%; object-fit: cover; }
.shelf-nm {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shelf-stars {
  font-size: 9px;
  color: var(--neon-yellow);
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(255, 210, 62, .6);
}
.shelf-stars .off { color: rgba(145, 140, 196, .35); }

/* ═══ 8) THE MIDWAY — vertical aisle rows ══════════════════════ */
.stalls { margin-top: var(--sec-gap); }
.stall-list { display: flex; flex-direction: column; gap: 12px; }
.stall-row {
  display: flex;
  align-items: stretch;
  background: var(--panel);
  border: 1px solid rgba(236, 234, 251, .16);
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.stall-bar {
  width: 8px;
  flex: none;
}
.aw-red { background: repeating-linear-gradient(180deg, var(--neon-pink) 0 12px, var(--bg-2) 12px 24px); box-shadow: 0 0 10px rgba(255, 46, 136, .45); }
.aw-teal { background: repeating-linear-gradient(180deg, var(--neon-cyan) 0 12px, var(--bg-2) 12px 24px); box-shadow: 0 0 10px rgba(35, 229, 219, .45); }
.aw-mustard { background: repeating-linear-gradient(180deg, var(--neon-yellow) 0 12px, var(--bg-2) 12px 24px); box-shadow: 0 0 10px rgba(255, 210, 62, .45); }
.aw-ink { background: repeating-linear-gradient(180deg, #eceafb 0 12px, var(--bg-2) 12px 24px); box-shadow: 0 0 10px rgba(236, 234, 251, .3); }
.aw-pink { background: repeating-linear-gradient(180deg, var(--neon-purple) 0 12px, var(--bg-2) 12px 24px); box-shadow: 0 0 10px rgba(139, 92, 246, .45); }
.stall-main {
  flex: 1;
  min-width: 0;
  padding: 12px 12px 12px 14px;
}
.stall-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.stall-nm {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 8px rgba(139, 92, 246, .6);
}
.stall-cnt {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.stall-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stall-thumb {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.stall-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(35, 229, 219, .35);
  background: var(--bg-2);
}
.stall-thumb span {
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-soft);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stall-visit {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(35, 229, 219, .5);
  color: var(--neon-cyan);
  font-size: 15px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: var(--glow-cyan);
}

/* ═══ 9) TICKET BOOTH — 2-column cabinet cards ════════════════ */
.grid { margin-top: var(--sec-gap); }
.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gcard {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid rgba(236, 234, 251, .16);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.gcard:hover { transform: translateY(-3px); box-shadow: var(--glow-cyan); }
.gcard-img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  border-bottom: 1px solid rgba(236, 234, 251, .1);
}
.gcard-img img { width: 100%; height: 100%; object-fit: cover; }
.gcard-chip {
  position: absolute;
  top: 6px; left: 6px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 1.5px 6px;
}
.gcard-nm {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 8px 9px 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gcard-desc {
  font-size: 10.5px;
  color: var(--ink-soft);
  padding: 2px 9px 10px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 9b) GOLDFISH POND — 3-column bowl grid ══════════════════ */
.pond { margin-top: var(--sec-gap); }
.pond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 10px;
  background:
    radial-gradient(rgba(35, 229, 219, .1) 1.5px, transparent 1.5px),
    linear-gradient(180deg, var(--panel-2) 0%, var(--bg-2) 100%);
  background-size: 22px 22px, 100% 100%;
  border: 1px solid rgba(35, 229, 219, .4);
  border-radius: 22px;
  box-shadow: var(--shadow-pop), inset 0 0 30px rgba(35, 229, 219, .12);
  padding: 16px 12px;
}
.bowl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.bowl-img {
  width: 100%;
  aspect-ratio: 1;
  max-width: 78px;
  border-radius: 50%;
  border: 1px solid rgba(35, 229, 219, .6);
  background:
    radial-gradient(circle at 32% 26%, rgba(236, 234, 251, .9) 0 14%, transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(35, 229, 219, .25), rgba(23, 21, 52, .9));
  box-shadow: var(--glow-cyan);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  transition: transform .15s;
}
.bowl:hover .bowl-img { transform: translateY(-3px) scale(1.05); }
.bowl-img img { width: 68%; height: 68%; border-radius: 50%; object-fit: cover; }
.bowl-ring {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px dashed rgba(35, 229, 219, .5);
  pointer-events: none;
}
.bowl-nm {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 9c) FORTUNE TELLER — 2-column tarot grid ════════════════ */
.tarot { margin-top: var(--sec-gap); }
.tarot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background:
    radial-gradient(rgba(255, 210, 62, .08) 1px, transparent 1.4px),
    radial-gradient(rgba(139, 92, 246, .1) 1px, transparent 1.4px),
    var(--bg-2);
  background-size: 30px 30px, 44px 44px, 100% 100%;
  background-position: 0 0, 15px 22px, 0 0;
  border: 1px solid rgba(139, 92, 246, .4);
  border-radius: 20px;
  box-shadow: var(--shadow-pop), inset 0 0 30px rgba(139, 92, 246, .15);
  padding: 18px 14px 14px;
}
.tcard {
  background: var(--panel);
  border: 1px solid rgba(255, 210, 62, .5);
  border-radius: 12px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 0 12px rgba(139, 92, 246, .25);
  padding: 15px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: transform .15s;
}
.tcard:hover { transform: translateY(-3px); }
.tcard-tag {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--neon-yellow);
  color: #1c1500;
  border-radius: 4px;
  padding: 1.5px 7px;
  white-space: nowrap;
  box-shadow: var(--glow-yellow);
}
.tcard-img {
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(255, 210, 62, .6);
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, .3), var(--bg));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.tcard-img img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.tcard-nm {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  color: #fff;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.tcard-fate {
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--ink-soft);
  text-align: center;
  border-top: 1px dashed rgba(236, 234, 251, .2);
  padding-top: 5px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 9d) MERRY-GO-ROUND — 3-column seat grid ═════════════════ */
.seats { margin-top: var(--sec-gap); }
.seat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 10px;
}
.seat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.seat-top {
  width: 54px; height: 20px;
  border: 1px solid rgba(236, 234, 251, .3);
  border-bottom: none;
  border-radius: 54px 54px 0 0;
  position: relative;
}
.seat-top::after {
  content: '';
  position: absolute;
  left: 50%; top: -8px;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--neon-yellow);
  box-shadow: var(--glow-yellow);
}
.mt-0 { background: repeating-linear-gradient(90deg, var(--neon-pink) 0 11px, var(--bg-2) 11px 22px); }
.mt-1 { background: repeating-linear-gradient(90deg, var(--neon-cyan) 0 11px, var(--bg-2) 11px 22px); }
.mt-2 { background: repeating-linear-gradient(90deg, var(--neon-yellow) 0 11px, var(--bg-2) 11px 22px); }
.seat-img {
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, .6);
  background: radial-gradient(circle at 32% 28%, rgba(236, 234, 251, .9) 0 16%, transparent 40%), var(--panel);
  box-shadow: var(--glow-purple);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform .15s;
}
.seat:hover .seat-img { transform: translateY(-3px); }
.seat-img img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.seat-nm {
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 10) RESULTS — filtered / searched grid ══════════════════ */
.resbar {
  margin-top: 20px;
  background: linear-gradient(180deg, var(--panel-2), var(--bg-2));
  border: 1px solid rgba(35, 229, 219, .4);
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
  color: var(--ink);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.resbar-back {
  flex: none;
  background: rgba(236, 234, 251, .08);
  color: var(--ink);
  border: 1px solid rgba(236, 234, 251, .3);
  border-radius: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.resbar-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.resbar-count {
  margin-left: auto;
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  background: var(--neon-cyan);
  color: #021917;
  border-radius: 20px;
  padding: 2px 10px;
  box-shadow: var(--glow-cyan);
}
.results { padding-top: 16px; }
.res-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.rcard {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid rgba(236, 234, 251, .16);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.rcard:hover { transform: translateY(-3px); box-shadow: var(--glow-cyan); }
.rcard-img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  border-bottom: 1px solid rgba(236, 234, 251, .1);
}
.rcard-img img { width: 100%; height: 100%; object-fit: cover; }
.rcard-chip {
  position: absolute;
  top: 6px; left: 6px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 1.5px 6px;
}
.rcard-nm {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 8px 9px 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rcard-desc {
  font-size: 10.5px;
  color: var(--ink-soft);
  padding: 2px 9px 10px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.res-empty {
  text-align: center;
  padding: 44px 20px;
}
.res-empty p {
  font-family: var(--serif);
  font-size: 42px;
  margin-bottom: 10px;
}
.res-empty span { color: var(--ink-soft); }

/* chip colours (shared by gcard / rcard) */
.chip-red { background: var(--neon-pink); color: #1a0410; box-shadow: var(--glow-pink); }
.chip-teal { background: var(--neon-cyan); color: #021917; box-shadow: var(--glow-cyan); }
.chip-mustard { background: var(--neon-yellow); color: #1c1500; box-shadow: var(--glow-yellow); }
.chip-ink { background: #eceafb; color: #0b0a1e; }
.chip-pink { background: var(--neon-purple); color: #0e0820; box-shadow: var(--glow-purple); }

/* load-more */
.more-wrap { display: flex; justify-content: center; margin-top: 18px; }
.more-btn {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--neon-yellow);
  color: #1c1500;
  border-radius: 30px;
  padding: 11px 30px;
  box-shadow: var(--glow-yellow);
  transition: transform .12s;
}
.more-btn:active { transform: translateY(3px); }

/* ═══ 11) FOOTER — neon sign-off ══════════════════════════════ */
.foot {
  margin-top: 46px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  color: var(--ink);
  padding: 28px 0 32px;
  position: relative;
  border-top: 1px solid rgba(255, 46, 136, .35);
}
.foot::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan), var(--neon-yellow), var(--neon-purple));
  box-shadow: 0 0 14px rgba(255, 46, 136, .5);
}
.foot-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.foot-brand {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 46, 136, .8), 0 0 24px rgba(139, 92, 246, .5);
}
.foot-rule {
  width: 150px; height: 26px;
  background: repeating-linear-gradient(90deg,
    var(--neon-cyan) 0 3px, transparent 3px 6px, var(--neon-pink) 6px 8px, transparent 8px 12px);
  opacity: .85;
  border-radius: 2px;
  box-shadow: var(--glow-cyan);
}
.foot-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.foot-links a {
  border: 1px solid rgba(35, 229, 219, .5);
  border-radius: 20px;
  padding: 5px 16px;
  color: var(--neon-cyan);
}
.foot-links a:active { background: rgba(35, 229, 219, .15); }
.foot-fine {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--ink-soft);
}

/* ── loading cathode spinner ─────────────────────────────────── */
.loading-full {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: grid;
  place-items: center;
  z-index: 90;
}
.loading-cab { text-align: center; }
.loading-ring {
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 5px dashed var(--neon-pink);
  box-shadow: var(--glow-pink);
  animation: spin 1.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-txt {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
}

/* ── back-to-top: neon orb ────────────────────────────────────── */
.totop-btn {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 60;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  font-size: 19px;
  font-weight: 700;
  color: #021917;
  display: grid;
  place-items: center;
}
.totop-btn:active { transform: translateY(2px); }

/* ── focus visibility ─────────────────────────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── motion & responsive ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loading-ring, .cab-live i { animation: none; }
  * { transition: none !important; }
}

@media (min-width: 480px) {
  .hero-slide { width: 88%; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .res-grid { grid-template-columns: repeat(3, 1fr); }
  .pond-grid { grid-template-columns: repeat(4, 1fr); }
  .seat-grid { grid-template-columns: repeat(4, 1fr); }
  .stamp-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 379px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .res-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shead-t { font-size: 17px; }
  .shead-side { font-size: 9px; }
  .hero-nm { font-size: 20px; }
  .hero-slide { aspect-ratio: 16 / 12; }
}
