:root {
  --ink: #07110e;
  --deep: #050c0a;
  --moss: #10241b;
  --cream: #f4ead4;
  --cream-dim: #c9b897;
  --gold: #f0c14b;
  --gold-hot: #ffe08a;
  --cyan: #7ee8ff;
  --panel: rgba(10, 28, 22, 0.72);
  --line: rgba(240, 193, 75, 0.22);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.alley-overview[hidden],
.zone[hidden],
.view[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--cream);
  background: var(--deep);
  overflow-x: hidden;
}
.sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(255, 214, 130, 0.18), transparent 55%),
    radial-gradient(800px 400px at 80% 10%, rgba(90, 180, 255, 0.08), transparent 50%),
    linear-gradient(180deg, #0a1620 0%, #081410 42%, #06110d 100%);
}
.godrays {
  position: absolute; inset: -10% 0 30%;
  background:
    linear-gradient(118deg, transparent 40%, rgba(255, 230, 170, 0.07) 42%, transparent 46%),
    linear-gradient(102deg, transparent 48%, rgba(255, 220, 140, 0.09) 51%, transparent 55%),
    linear-gradient(88deg, transparent 36%, rgba(180, 220, 255, 0.05) 39%, transparent 44%);
  filter: blur(8px);
  animation: drift 18s ease-in-out infinite alternate;
}
.canopy {
  position: absolute; inset: 0; opacity: 0.55;
  background:
    radial-gradient(40px 80px at 8% 0%, #04110c 0 60%, transparent 61%),
    radial-gradient(50px 90px at 18% 0%, #06150f 0 55%, transparent 56%),
    radial-gradient(36px 70px at 78% 0%, #04110c 0 60%, transparent 61%),
    radial-gradient(48px 86px at 92% 0%, #06150f 0 55%, transparent 56%);
}
.fireflies span {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-hot);
  box-shadow: 0 0 12px 4px rgba(255, 210, 100, 0.55);
  animation: float 7s ease-in-out infinite; opacity: 0.7;
}
.fireflies span.cool {
  background: var(--cyan);
  box-shadow: 0 0 12px 4px rgba(126, 232, 255, 0.45);
}
.moss {
  position: fixed; left: 0; right: 0; bottom: 0; height: 28vh; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120px 40px at 10% 80%, #163322 0 40%, transparent 42%),
    radial-gradient(160px 50px at 30% 90%, #1c3d28 0 42%, transparent 44%),
    radial-gradient(140px 46px at 55% 85%, #132c20 0 40%, transparent 42%),
    radial-gradient(180px 56px at 80% 92%, #1a3826 0 44%, transparent 46%),
    linear-gradient(180deg, transparent, #0a1a14 55%, #07130f);
}
@keyframes drift { to { transform: translateX(-4%) rotate(-2deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.35; }
  50% { transform: translateY(-18px) scale(1.25); opacity: 0.9; }
}
.preview-banner {
  position: relative; z-index: 5; text-align: center; padding: 0.55rem 1rem;
  background: linear-gradient(90deg, #3a1d08, #6a3a10 40%, #3a1d08);
  color: #ffe7b0; font-weight: 800; letter-spacing: 0.02em; font-size: 0.92rem;
}
.top { position: relative; z-index: 4; display: flex; align-items: center; gap: 1rem; padding: 0.85rem 1.4rem 0.4rem; }
.brand {
  display: flex; align-items: center; gap: 0.55rem; background: none; border: 0;
  color: var(--cream); font-family: Palatino, Georgia, serif; font-size: 1.45rem; font-weight: 700; cursor: pointer;
}
.brand-orb {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #9be6ff, #3db4e0 55%, #1a6d8c);
  box-shadow: 0 0 12px rgba(90, 210, 255, 0.7);
}
.nav { display: flex; flex-wrap: wrap; gap: 0.35rem; flex: 1; }
.nav button, .btn {
  font-family: inherit; font-weight: 700; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(16, 36, 28, 0.6); color: var(--cream); padding: 0.4rem 0.85rem; cursor: pointer;
}
.nav button:hover, .nav button.active {
  background: rgba(240, 193, 75, 0.16); border-color: rgba(240, 193, 75, 0.5); color: var(--gold-hot);
}
.you {
  display: flex; align-items: center; gap: 0.45rem; background: var(--panel);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.7rem 0.2rem 0.2rem;
  color: var(--cream); cursor: pointer; font-weight: 700;
}
.you-bot { width: 36px; height: 40px; display: grid; place-items: center; }
.you-bot svg { width: 36px; height: 40px; }
main { position: relative; z-index: 3; max-width: 1080px; margin: 0 auto; padding: 0.6rem 1.2rem 8rem; }
.view[hidden] { display: none; }
.view-head { text-align: center; margin: 0.6rem 0 1.4rem; }
.kicker { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; color: var(--gold); margin: 0 0 0.35rem; font-weight: 800; }
h1 { font-family: Palatino, Georgia, serif; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; margin: 0 0 0.45rem; letter-spacing: -0.02em; }
.lede { margin: 0 auto; max-width: 36rem; color: var(--cream-dim); font-size: 1.05rem; }
.hub-map {
  position: relative; min-height: 540px; display: grid;
  grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto auto;
  gap: 1.1rem 1.3rem; padding: 0.5rem 0 1rem;
}
.hub-paths { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hub-paths path { fill: none; stroke: rgba(240, 193, 75, 0.22); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 10; }
.land {
  position: relative; z-index: 1; text-align: left; border: 1px solid var(--line);
  background: var(--panel); backdrop-filter: blur(10px); border-radius: 28px;
  padding: 1.05rem 1.1rem 1.15rem; color: inherit; box-shadow: var(--shadow);
  cursor: pointer; overflow: hidden; min-height: 150px;
}
.land:hover { border-color: rgba(255, 224, 138, 0.55); transform: translateY(-3px); }
.land-glow { position: absolute; inset: auto -20% -50% -20%; height: 90%; background: radial-gradient(circle, rgba(255, 210, 110, 0.16), transparent 65%); pointer-events: none; }
.land-icon { display: block; width: 72px; height: 78px; margin-bottom: 0.2rem; }
.land-icon svg { width: 72px; height: 78px; }
.land strong { display: block; font-family: Palatino, Georgia, serif; font-size: 1.45rem; }
.land em { display: block; font-style: normal; color: var(--cream-dim); margin-top: 0.2rem; }
.land-grove { grid-column: 2; grid-row: 1; }
.land-forum { grid-column: 1; grid-row: 2; }
.land-closet { grid-column: 3; grid-row: 2; }
.land-contest { grid-column: 2; grid-row: 3; }
.land-shop { grid-column: 1 / 3; grid-row: 4; display: flex; align-items: center; gap: 1rem; min-height: 110px; }
.land-shop .land-icon { margin: 0; }
.land-bowl { grid-column: 3; grid-row: 4; min-height: 110px; }
.land-bowl .land-glow { background: radial-gradient(circle, rgba(255, 43, 214, 0.24), transparent 65%); }
.closet-grid { display: grid; grid-template-columns: minmax(260px, 1fr) 1.15fr; gap: 1.4rem; align-items: start; }
.stage, .card, .compose, .threads .post, .modal-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); backdrop-filter: blur(10px);
}
.stage { padding: 1.4rem 1rem 1.2rem; text-align: center; position: sticky; top: 0.8rem; }
.stage-bot { width: min(320px, 100%); margin: 0 auto; }
.stage-bot svg { width: 100%; height: auto; }
.name-field { display: grid; gap: 0.3rem; margin-top: 0.8rem; text-align: left; font-size: 0.82rem; font-weight: 800; color: var(--gold); }
input, textarea {
  width: 100%; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(5, 14, 11, 0.65); color: var(--cream); padding: 0.65rem 0.8rem; font: inherit;
}
.rack { display: grid; gap: 1rem; }
.rack-block h3 { font-family: Palatino, Georgia, serif; margin: 0 0 0.45rem; font-size: 1.15rem; }
.hint { color: var(--cream-dim); margin: 0 0 0.5rem; font-size: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip, .face-chip {
  border: 1px solid var(--line); background: rgba(8, 20, 16, 0.55); color: var(--cream);
  border-radius: 999px; padding: 0.4rem 0.8rem; font-weight: 700; cursor: pointer; font-family: inherit;
}
.chip.on, .face-chip.on { background: rgba(240, 193, 75, 0.18); border-color: var(--gold); color: var(--gold-hot); }
.faces { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.face-chip { display: grid; justify-items: center; gap: 0.25rem; border-radius: 16px; padding: 0.4rem; min-width: 76px; }
.face-chip img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; background: #111; }
.face-chip span { font-size: 0.72rem; }
.btn.gold { background: linear-gradient(180deg, #ffe08a, #e0a93a); color: #2a1a05; border-color: #f3c65a; }
.btn.ghost { background: transparent; }
.saved { color: var(--cyan); font-weight: 700; }
.compose { display: grid; gap: 0.55rem; padding: 1rem; margin-bottom: 1rem; }
.threads { display: grid; gap: 0.75rem; }
.post { padding: 1rem 1.1rem; }
.post h3 { margin: 0 0 0.25rem; font-family: Palatino, Georgia, serif; }
.post .who { color: var(--gold); font-weight: 800; font-size: 0.85rem; }
.post p { margin: 0.35rem 0 0; color: var(--cream-dim); }
.post .tag {
  display: inline-block; margin-top: 0.5rem; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: #2a1a05; background: var(--gold);
  border-radius: 999px; padding: 0.15rem 0.5rem;
}
.contest-row { display: grid; grid-template-columns: 280px 1fr; gap: 1rem; }
.enter-card, .board-card { padding: 1.1rem; }
.mini-stage { width: 180px; margin: 0 auto; }
.mini-stage svg { width: 100%; height: auto; }
.enter-name { text-align: center; font-family: Palatino, Georgia, serif; font-size: 1.3rem; margin: 0.2rem 0 0.7rem; }
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.board li {
  display: grid; grid-template-columns: 42px 56px 1fr auto; gap: 0.6rem; align-items: center;
  padding: 0.4rem 0.5rem; border-radius: 16px; background: rgba(5, 14, 11, 0.45);
}
.board .rank { font-family: Palatino, Georgia, serif; color: var(--gold); font-size: 1.2rem; text-align: center; }
.board .score { color: var(--cyan); font-weight: 800; }
.board .you-row { outline: 1px solid var(--gold); }
.plots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.7rem; }
.plot {
  min-height: 120px; border-radius: 20px; border: 1px solid rgba(90, 160, 110, 0.25);
  background: radial-gradient(80px 40px at 50% 80%, rgba(40, 90, 55, 0.55), transparent 70%), rgba(10, 28, 20, 0.7);
  color: inherit; cursor: pointer; padding: 0.7rem; text-align: left; font-family: inherit;
}
.plot:hover { border-color: var(--gold); }
.plot .num { font-size: 0.75rem; color: var(--cream-dim); font-weight: 800; }
.plot .sign { margin-top: 0.45rem; font-family: Palatino, Georgia, serif; font-size: 1rem; }
.plot.paid {
  cursor: default;
  background: radial-gradient(80px 40px at 50% 80%, rgba(90, 60, 20, 0.45), transparent 70%), rgba(20, 16, 10, 0.75);
  border-color: rgba(240, 193, 75, 0.28);
}
.plot .later {
  display: inline-block; margin-top: 0.45rem; font-size: 0.72rem; font-weight: 800;
  color: #2a1a05; background: var(--gold); border-radius: 999px; padding: 0.18rem 0.5rem;
}
.plot.mine { box-shadow: 0 0 0 1px var(--gold); }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,0.45); display: grid; place-items: center; padding: 1rem; }
.modal-card { width: min(380px, 100%); padding: 1.2rem; }
.modal-actions { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.9rem; }
.shop-card {
  display: block; text-decoration: none; color: inherit; background: var(--panel);
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
}
.shop-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #111; }
.shop-card div { padding: 0.7rem 0.8rem 0.9rem; }
.shop-card strong { display: block; font-family: Palatino, Georgia, serif; }
.shop-card span { color: var(--cream-dim); font-size: 0.85rem; }
.shop-foot { text-align: center; margin-top: 1.2rem; color: var(--cream-dim); }
.shop-foot a { color: var(--gold-hot); }
.toast {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 30;
  background: #1d1408; color: var(--gold-hot); border: 1px solid var(--gold);
  border-radius: 999px; padding: 0.55rem 1rem; font-weight: 800; box-shadow: var(--shadow);
}
.toast[hidden] { display: none; }
@media (max-width: 860px) {
  .top { flex-wrap: wrap; }
  .closet-grid, .contest-row { grid-template-columns: 1fr; }
  .stage { position: static; }
  .hub-map { display: flex; flex-direction: column; min-height: 0; }
  .hub-paths { display: none; }
  .plots { grid-template-columns: repeat(2, 1fr); }
  .land-shop { flex-direction: column; align-items: flex-start; }
  .bowl-controls { flex-wrap: wrap; justify-content: center; }
  .bowl-frames { overflow-x: auto; }
}


#view-bowl { color: #f4e8ff; }
#view-bowl .kicker { color: #3df0ff; text-shadow: 0 0 10px rgba(61, 240, 255, 0.45); }
#view-bowl h1 { color: #fff; text-shadow: 0 0 18px rgba(255, 43, 214, 0.45); }
#view-bowl .lede { color: #c9b8d8; }
.bowl-wrap {
  background:
    radial-gradient(600px 180px at 50% 0%, rgba(255, 43, 214, 0.14), transparent 55%),
    radial-gradient(400px 160px at 80% 20%, rgba(61, 240, 255, 0.08), transparent 50%),
    rgba(6, 0, 12, 0.78);
  border: 1px solid rgba(255, 43, 214, 0.28);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 43, 214, 0.08);
  padding: 1rem 1rem 1.2rem;
}
.bowl-scoreboard { overflow-x: auto; margin-bottom: 0.65rem; }
.bowl-frames {
  display: grid;
  grid-template-columns: repeat(9, minmax(68px, 1fr)) minmax(96px, 1.25fr);
  gap: 4px;
  min-width: 760px;
}
.bowl-frame {
  background: rgba(8, 0, 16, 0.75);
  border: 1px solid rgba(61, 240, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
}
.bowl-frame.on { border-color: #ff2bd6; box-shadow: 0 0 12px rgba(255, 43, 214, 0.35); }
.bowl-frame .bf-n {
  text-align: center; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em;
  color: #3df0ff; background: rgba(61, 240, 255, 0.08); padding: 0.15rem 0;
}
.bf-balls { display: grid; grid-template-columns: 1fr 1fr; min-height: 28px; }
.bowl-frame.tenth .bf-balls { grid-template-columns: 1fr 1fr 1fr; }
.bf-balls span {
  display: grid; place-items: center; border-left: 1px solid rgba(255, 43, 214, 0.2);
  font-weight: 800; color: #fff; font-size: 0.95rem;
}
.bf-balls span:first-child { border-left: 0; }
.bf-tot {
  text-align: right; padding: 0.2rem 0.4rem 0.3rem; font-weight: 800;
  color: #ffb3ee; font-family: Palatino, Georgia, serif; min-height: 1.4rem;
}
.bowl-meta {
  display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; justify-content: space-between;
  font-weight: 700; color: #c9b8d8; margin: 0 0 0.6rem; font-size: 0.92rem;
}
#bowl-who { color: #3df0ff; }
.bowl-stage { position: relative; }
#bowl-lane {
  display: block; width: 100%; max-width: 920px; height: 520px; margin: 0 auto;
  border-radius: 18px; background: #05010a;
  border: 1px solid rgba(61, 240, 255, 0.28);
  box-shadow: inset 0 0 40px rgba(255, 43, 214, 0.08), 0 0 24px rgba(61, 240, 255, 0.08);
  touch-action: none;
}
.bowl-flash {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: Palatino, Georgia, serif; font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 700; letter-spacing: 0.04em; pointer-events: none;
  color: #ff2bd6; text-shadow: 0 0 18px #3df0ff, 0 0 40px #ff2bd6;
}
.bowl-flash.spare { color: #3df0ff; text-shadow: 0 0 18px #ff2bd6, 0 0 40px #3df0ff; }
.bowl-flash.gutter { color: #9a86b0; font-size: clamp(1.8rem, 5vw, 3rem); text-shadow: none; }
.bowl-end {
  position: absolute; inset: auto 8% 18%; z-index: 2;
  background: rgba(8, 0, 14, 0.88); border: 1px solid #ff2bd6; border-radius: 22px;
  padding: 1.1rem 1.2rem; text-align: center; box-shadow: 0 0 30px rgba(255, 43, 214, 0.25);
}
.bowl-end[hidden], .bowl-flash[hidden] { display: none; }
.bowl-end-kicker { margin: 0 0 0.3rem; color: #3df0ff; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; font-weight: 800; }
.bowl-end strong { display: block; font-family: Palatino, Georgia, serif; font-size: 1.8rem; margin-bottom: 0.7rem; }
.bowl-hud { margin-top: 0.85rem; display: grid; gap: 0.65rem; }
.bowl-power label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #3df0ff; }
.bowl-power-track {
  height: 12px; border-radius: 999px; background: rgba(8, 0, 16, 0.7);
  border: 1px solid rgba(255, 43, 214, 0.35); overflow: hidden; margin-top: 0.25rem;
}
#bowl-power-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #3df0ff, #ff2bd6);
  box-shadow: 0 0 12px rgba(255, 43, 214, 0.55);
}
.bowl-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
#view-bowl .bowl-btn, #view-bowl .bowl-dir {
  background: linear-gradient(180deg, #ff6ae3, #ff2bd6); color: #1a0014;
  border-color: #ff8aee; font-weight: 800;
}
#view-bowl .bowl-dir {
  width: 48px; height: 44px; border-radius: 14px; font-size: 1.1rem;
}
#view-bowl .btn.ghost { border-color: rgba(61, 240, 255, 0.4); color: #3df0ff; }
.bowl-help { margin: 0; color: #9a86b0; font-size: 0.88rem; }
.bowl-scores { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid rgba(255, 43, 214, 0.2); }
.bowl-scores h3 { margin: 0 0 0.45rem; font-family: Palatino, Georgia, serif; color: #3df0ff; }
#bowl-high { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
#bowl-high li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 0.7rem; align-items: center;
  background: rgba(8, 0, 16, 0.55); border-radius: 12px; padding: 0.4rem 0.7rem;
}
#bowl-high .hs-score { color: #ff2bd6; font-weight: 800; }
#bowl-high em { color: #9a86b0; font-style: normal; font-size: 0.8rem; }
#bowl-high .empty { color: #9a86b0; display: block; }
@media (max-width: 860px) {
  #bowl-lane { height: 440px; }
}

.bowl-flash.turkey {
  color: #ffe08a;
  font-size: clamp(3rem, 10vw, 6.2rem);
  text-shadow: 0 0 18px #ff2bd6, 0 0 42px #3df0ff, 0 0 70px #ff2bd6;
}
.bowl-flash.perfect {
  color: #fff;
  font-size: clamp(1.5rem, 4.6vw, 3.1rem);
  text-align: center;
  padding: 0 1.2rem;
  text-shadow: 0 0 20px #ff2bd6, 0 0 48px #3df0ff;
}
.bowl-flash.legend {
  color: #ffe08a;
  text-shadow: 0 0 18px #ff2bd6, 0 0 40px #ffe08a;
}
.bowl-flash.oof {
  color: #ff8aee;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  text-shadow: 0 0 16px #ff2bd6;
}
.bowl-flash.open { color: #c9b8d8; font-size: clamp(2rem, 5vw, 3.4rem); }

/* ---- Neon Alley concourse (bowl view only) ---- */
body.alley-on .moss { display: none; }
body.alley-on .sky {
  background:
    radial-gradient(900px 280px at 18% 0%, rgba(255, 43, 214, 0.16), transparent 55%),
    radial-gradient(800px 260px at 82% 8%, rgba(61, 240, 255, 0.12), transparent 50%),
    #05010a;
}
body.alley-on .godrays,
body.alley-on .canopy,
body.alley-on .fireflies { opacity: 0.22; }
body.alley-on main {
  max-width: none;
  width: 100%;
  padding: 0 0 1.2rem;
}
#view-bowl {
  width: 100%;
  color: #f4e8ff;
  padding: 0 0.4rem;
}
.alley { width: 100%; }
.alley-bar {
  display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap;
  padding: 0.25rem 0.5rem 0.45rem;
}
.alley-floor, .zone-tabs button {
  font-family: inherit; font-weight: 800; letter-spacing: 0.08em;
  border-radius: 999px; border: 1px solid rgba(61, 240, 255, 0.28);
  background: rgba(8, 0, 16, 0.7); color: #c9b8d8;
  padding: 0.38rem 0.8rem; cursor: pointer;
}
.alley-floor.on, .zone-tabs button.on, .alley-floor:hover, .zone-tabs button:hover {
  border-color: #ff2bd6; color: #ffe08a; box-shadow: 0 0 12px rgba(255, 43, 214, 0.28);
}
.zone-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; flex: 1; }
.alley-kicker {
  margin: 0; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.7rem; font-weight: 800; color: #3df0ff;
}
.alley-overview {
  position: relative;
  display: block;
  min-height: calc(100vh - 7.2rem);
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 43, 214, 0.32);
  background: #080218;
  box-shadow: 0 0 40px rgba(255, 43, 214, 0.08);
}
.wing {
  position: relative; z-index: 1;
  text-align: left; color: inherit; cursor: pointer; overflow: hidden;
  border: 1px solid rgba(255, 43, 214, 0.32);
  background:
    radial-gradient(220px 120px at 50% 0%, rgba(255, 43, 214, 0.14), transparent 60%),
    rgba(8, 0, 16, 0.78);
  border-radius: 18px;
  padding: 1rem 1rem 1.2rem;
  min-height: 62vh;
  font-family: inherit;
}
.wing:hover { border-color: #3df0ff; transform: translateY(-2px); }
.wing-lanes {
  background:
    linear-gradient(180deg, rgba(61, 240, 255, 0.08), transparent 40%),
    rgba(8, 0, 16, 0.82);
}
.wing-tag {
  display: block; font-size: 0.68rem; letter-spacing: 0.16em; font-weight: 800;
  color: #3df0ff; margin-bottom: 0.35rem;
}
.wing strong, .floor-hit strong {
  display: block; font-family: Palatino, Georgia, serif; font-size: 1.55rem; color: #fff;
  text-shadow: 0 0 14px rgba(255, 43, 214, 0.45);
}
.wing em, .floor-hit em { display: block; font-style: normal; color: #c9b8d8; margin-top: 0.2rem; font-size: 0.78rem; }
.lane-thumb {
  display: block; margin-top: 1.2rem; height: 46%; min-height: 180px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(61, 240, 255, 0.12), transparent 30%),
    repeating-linear-gradient(180deg, rgba(255, 43, 214, 0.16) 0 2px, transparent 2px 28px),
    #140018;
  box-shadow: inset 0 0 30px rgba(61, 240, 255, 0.12);
}
.alley-wander {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  width: 100%; height: 100%;
}
.floor-hits {
  position: absolute; inset: 0; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  pointer-events: none;
}
.floor-hit {
  pointer-events: auto;
  align-self: start;
  justify-self: stretch;
  text-align: left;
  background: linear-gradient(180deg, rgba(8, 0, 16, 0.45), transparent 72%);
  border: 0;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  padding: 0.7rem 0.85rem 2.4rem;
}
.floor-hit:hover strong { color: #ffe08a; text-shadow: 0 0 16px rgba(255, 224, 138, 0.65); }
.hit-arcade:hover { background: linear-gradient(180deg, rgba(61, 240, 255, 0.12), transparent 70%); }
.hit-lanes:hover { background: linear-gradient(180deg, rgba(255, 43, 214, 0.12), transparent 70%); }
.hit-bar:hover { background: linear-gradient(180deg, rgba(255, 106, 227, 0.14), transparent 70%); }
.overview-marquees {
  position: absolute;
  left: 0.45rem; right: 0.45rem; bottom: 0.4rem;
  z-index: 3;
  margin: 0;
}
.hub-crossing {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
}
.hub-cross-bot {
  position: absolute; width: 44px; height: 58px;
  animation: hubcross 18s linear infinite;
  filter: drop-shadow(0 0 8px rgba(61, 240, 255, 0.35));
}
.hub-cross-bot svg { width: 44px; height: 48px; display: block; }
.hub-cross-bot span {
  display: block; text-align: center;
  font-size: 0.58rem; font-weight: 800; color: #ffe08a;
  text-shadow: 0 0 6px rgba(0,0,0,0.8);
  margin-top: -4px;
}
.hub-cross-bot.b2 { animation-delay: -6s; }
.hub-cross-bot.b3 { animation-delay: -12s; }
@keyframes hubcross {
  0% { left: 18%; top: 8%; opacity: 0; transform: scale(0.7); }
  8% { opacity: 1; }
  55% { left: 62%; top: 62%; opacity: 1; transform: scale(0.85); }
  78% { left: 78%; top: 78%; opacity: 0.85; }
  92% { left: 84%; top: 86%; opacity: 0; transform: scale(0.6); }
  100% { left: 84%; top: 88%; opacity: 0; }
}
.zone { padding: 0.2rem 0.2rem 0.8rem; }
.zone-head { margin: 0 0 0.7rem; }
.zone-head h2 {
  margin: 0; font-family: Palatino, Georgia, serif; font-size: 1.6rem;
  color: #fff; text-shadow: 0 0 12px rgba(255, 43, 214, 0.4);
}
.zone-head p { margin: 0.2rem 0 0; color: #c9b8d8; }
.zone-lanes {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  gap: 0.35rem;
  align-items: stretch;
}
.neon-rail {
  writing-mode: vertical-rl; transform: rotate(180deg);
  border: 1px solid rgba(61, 240, 255, 0.35);
  background: rgba(8, 0, 16, 0.85);
  color: #3df0ff; font-weight: 800; letter-spacing: 0.18em;
  border-radius: 14px; cursor: pointer; font-family: inherit;
}
.neon-rail:hover { border-color: #ff2bd6; color: #ffe08a; }
#view-bowl[data-zone="lanes"] #bowl-lane {
  max-width: none; width: 100%; height: min(68vh, 640px);
}
.versus-bar { margin: 0 0 0.7rem; }
.versus-modes { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.versus-chip {
  border: 1px solid rgba(61, 240, 255, 0.35);
  background: rgba(8, 0, 16, 0.7);
  color: #c9b8d8;
  border-radius: 999px;
  padding: 0.38rem 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-family: inherit;
  cursor: pointer;
}
.versus-chip:hover { border-color: #ff2bd6; color: #fff; }
.versus-chip.on {
  border-color: #ff2bd6;
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 43, 214, 0.35);
  background: rgba(255, 43, 214, 0.18);
}
.versus-setup { display: flex; flex-wrap: wrap; gap: 0.4rem 0.55rem; align-items: center; min-height: 0; }
.versus-setup:empty { display: none; }
.versus-setup .hint { margin: 0; color: #9a86b0; font-size: 0.8rem; }
.versus-setup label { display: flex; gap: 0.35rem; align-items: center; font-size: 0.78rem; color: #c9b8d8; font-weight: 700; }
.versus-setup input[type="text"] {
  background: rgba(8, 0, 16, 0.75);
  border: 1px solid rgba(61, 240, 255, 0.3);
  color: #fff;
  border-radius: 10px;
  padding: 0.28rem 0.5rem;
  font: inherit;
  width: 9.5rem;
}
.versus-mini {
  border: 1px solid rgba(61, 240, 255, 0.28);
  background: rgba(8, 0, 16, 0.65);
  color: #c9b8d8;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  font-family: inherit;
  cursor: pointer;
}
.versus-mini.on { border-color: #3df0ff; color: #fff; box-shadow: 0 0 10px rgba(61, 240, 255, 0.28); }
.versus-mini.mag.on { border-color: #ff2bd6; box-shadow: 0 0 10px rgba(255, 43, 214, 0.28); }
.versus-now {
  margin: 0.45rem 0 0;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #ffe08a;
  text-shadow: 0 0 10px rgba(255, 224, 138, 0.35);
}
.bowl-boards { margin-bottom: 0.45rem; }
.bowl-boards.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.bowl-board-name {
  margin: 0 0 0.25rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.bowl-board-col.p1 .bowl-board-name { color: #ff2bd6; }
.bowl-board-col.p2 .bowl-board-name { color: #3df0ff; }
.bowl-board-col.p1 .bowl-frame.on { border-color: #ff2bd6; box-shadow: 0 0 12px rgba(255, 43, 214, 0.35); }
.bowl-board-col.p2 .bowl-frame.on { border-color: #3df0ff; box-shadow: 0 0 12px rgba(61, 240, 255, 0.35); }
.bowl-board-col.p2 .bf-n { color: #3df0ff; }
.bowl-boards.dual .bowl-frames {
  min-width: 480px;
  grid-template-columns: repeat(9, minmax(40px, 1fr)) minmax(58px, 1.15fr);
}
.bowl-boards.dual .bf-balls span { font-size: 0.82rem; }
#bowl-high .vs-last { display: block; grid-template-columns: 1fr; color: #c9b8d8; }
#bowl-high .vs-last strong { color: #3df0ff; }
.bowl-hud.locked #bowl-roll,
.bowl-hud.locked .bowl-dir,
.bowl-hud.locked .bowl-power { opacity: 0.38; pointer-events: none; }
.bowl-end .btn.ghost { margin-top: 0.45rem; }
.bowl-flash.winner {
  color: #ffe08a;
  font-size: clamp(1.6rem, 4.4vw, 3rem);
  text-shadow: 0 0 18px #ff2bd6, 0 0 40px #3df0ff;
}
@media (max-width: 860px) {
  .bowl-boards.dual { grid-template-columns: 1fr; }
}

.bowl-league-badge {
  margin: 0 0 0.45rem; text-align: center; font-weight: 800;
  letter-spacing: 0.12em; color: #ffe08a; text-transform: uppercase; font-size: 0.75rem;
}
#view-bowl .bowl-wrap {
  border-radius: 18px; padding: 0.7rem 0.75rem 1rem;
}

.cabs, .tables, .gear-row {
  display: grid; gap: 0.6rem;
}
.cabs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0.7rem; }
.tables { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cab, .table-game, .gear, .stool {
  border: 1px solid rgba(255, 43, 214, 0.3);
  background: rgba(8, 0, 16, 0.75);
  color: inherit; border-radius: 16px; cursor: pointer; font-family: inherit;
}
.cab, .table-game { padding: 0.7rem; text-align: left; }
.cab:hover, .table-game:hover, .gear:hover { border-color: #3df0ff; }
.cab-screen {
  height: 88px; border-radius: 10px; margin-bottom: 0.45rem;
  background: repeating-linear-gradient(0deg, rgba(61, 240, 255, 0.08) 0 2px, transparent 2px 6px), #0a0014;
  display: flex; align-items: flex-end; justify-content: space-between; padding: 0.35rem 0.45rem;
}
.npc-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--g, #3df0ff); box-shadow: 0 0 10px var(--g, #3df0ff);
  animation: cabplay 0.7s ease-in-out infinite alternate;
}
.npc-name { font-size: 0.72rem; font-weight: 800; color: #3df0ff; }
@keyframes cabplay { to { transform: translateY(-4px); } }
.cab strong, .table-game strong { display: block; }
.cab-hi { color: #9a86b0; font-style: normal; font-size: 0.8rem; }

.cabinet-play {
  position: fixed; inset: 0; z-index: 18;
  background: rgba(0, 0, 0, 0.62);
  display: grid; place-items: center; padding: 1rem;
}
.cabinet-play[hidden] { display: none; }
.cabinet-chrome {
  width: min(720px, 100%);
  background: #0a0014; border: 1px solid #ff2bd6; border-radius: 18px;
  padding: 0.7rem; box-shadow: 0 0 40px rgba(255, 43, 214, 0.25);
}
.cabinet-top {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.45rem;
}
.cabinet-top strong { flex: 1; color: #3df0ff; letter-spacing: 0.08em; }
#arcade-cabinet {
  display: block; width: 100%; height: min(62vh, 480px);
  background: #05010a; border-radius: 10px; touch-action: none;
  border: 1px solid rgba(61, 240, 255, 0.28);
}
.cabinet-help { margin: 0.45rem 0 0; color: #9a86b0; font-size: 0.85rem; }

.bar-scene {
  background: rgba(8, 0, 16, 0.75);
  border: 1px solid rgba(255, 43, 214, 0.28);
  border-radius: 18px; padding: 1rem;
}
.bar-back { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem; }
.bartender {
  width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe09a, #f0a33a 55%, #b86210);
  box-shadow: 0 0 16px rgba(255, 210, 100, 0.45);
}
.bar-name { margin: 0; font-weight: 800; color: #3df0ff; }
.stools { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.8rem; }
.stool { min-width: 86px; padding: 0.7rem 0.6rem; text-align: center; font-weight: 800; }
.stool.sat { border-color: #ffe08a; color: #ffe08a; }
.stool.npc { border-color: rgba(61, 240, 255, 0.4); color: #3df0ff; }
.bar-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.glass {
  display: inline-grid; place-items: center; min-width: 88px; height: 36px;
  border-radius: 10px; border: 1px solid #3df0ff; color: #3df0ff; font-weight: 800; font-size: 0.75rem;
}
.glass.gold-glass { border-color: #ffe08a; color: #2a1a05; background: linear-gradient(180deg, #ffe08a, #e0a93a); }
.crumbs { margin: 0.7rem 0 0; color: #9a86b0; font-size: 0.9rem; }

.shop-racks { display: grid; gap: 0.7rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rack-card, .desk-card {
  background: rgba(8, 0, 16, 0.75);
  border: 1px solid rgba(255, 43, 214, 0.28);
  border-radius: 18px; padding: 0.9rem;
}
.rack-card h3, .desk-card h3 {
  margin: 0 0 0.5rem; font-family: Palatino, Georgia, serif; color: #3df0ff;
}
.gear { padding: 0.5rem 0.7rem; font-weight: 800; }
.gear.on { border-color: #ffe08a; color: #ffe08a; }
.gear.gated { border-style: dashed; }
.league-rack.locked { opacity: 0.78; }
.league-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.pass-state { font-weight: 800; color: #ffe08a; }
.night-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.night-list li {
  display: grid; gap: 0.2rem;
  background: rgba(5, 0, 10, 0.5); border-radius: 12px; padding: 0.5rem 0.6rem;
}
.night-list span { color: #9a86b0; font-size: 0.82rem; }
#zone-league .board { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
#zone-league .board li {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 0.5rem; align-items: center;
  background: rgba(5, 0, 10, 0.5); border-radius: 12px; padding: 0.4rem 0.5rem;
}
#zone-league .rank { color: #ffe08a; font-family: Palatino, Georgia, serif; text-align: center; }
#zone-league .score { color: #ff2bd6; font-weight: 800; }
#zone-league .you-row { outline: 1px solid #ffe08a; }

@media (max-width: 860px) {
  .alley-overview { display: none; }
  .alley-floor { display: none; }
  .zone-lanes { grid-template-columns: 1fr; }
  .neon-rail { display: none; }
  .cabs, .tables, .shop-racks, .league-grid { grid-template-columns: 1fr; }
  #view-bowl[data-zone="lanes"] #bowl-lane { height: 440px; }
}


/* ---- Neon marquees + Glow Tap ---- */
.marquees {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 0.55rem 0 0.75rem;
  position: relative; z-index: 3;
}
.wing .marquees { margin-top: 0.85rem; }
.marquee {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 0.28rem 0.7rem;
  text-decoration: none; font-weight: 800; letter-spacing: 0.06em;
  font-size: 0.72rem; text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid #d4b25a;
  box-shadow:
    0 0 0 1px #7a5a18,
    inset 0 0 10px rgba(255, 43, 214, 0.18),
    0 0 12px rgba(255, 43, 214, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 230, 160, 0.14), transparent 40%),
    #120016;
  color: #ff6ae3;
  text-shadow: 0 0 8px currentColor, 0 0 16px currentColor;
  animation: neonflick 3.4s step-end infinite;
}
.marquee.cyan { color: #3df0ff; box-shadow: 0 0 0 1px #7a5a18, inset 0 0 10px rgba(61, 240, 255, 0.2), 0 0 12px rgba(61, 240, 255, 0.22); }
.marquee.gold { color: #ffe08a; box-shadow: 0 0 0 1px #7a5a18, inset 0 0 10px rgba(255, 224, 138, 0.18), 0 0 12px rgba(255, 224, 138, 0.18); }
.marquee.pass { color: #ffe08a; background: linear-gradient(180deg, rgba(255, 224, 138, 0.16), #1a0a00); }
.marquee:hover { filter: brightness(1.18); }
@keyframes neonflick {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: 0.72; }
  95% { opacity: 1; }
  97% { opacity: 0.55; }
}
.wing-go {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; color: inherit; cursor: pointer;
  font-family: inherit; padding: 0;
}
.wing-go strong {
  display: block; font-family: Palatino, Georgia, serif; font-size: 1.8rem; color: #fff;
  text-shadow: 0 0 14px rgba(255, 43, 214, 0.45);
}
.wing-go em { display: block; font-style: normal; color: #c9b8d8; margin-top: 0.3rem; }

#zone-bar.glow-tap .bar-scene {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 140px at 50% 100%, rgba(255, 80, 180, 0.28), transparent 60%),
    linear-gradient(180deg, #2a0718 0%, #12010c 42%, #1c0614 100%);
  border: 1px solid rgba(255, 43, 214, 0.5);
  box-shadow:
    inset 0 -28px 50px rgba(255, 80, 180, 0.2),
    0 0 40px rgba(255, 43, 214, 0.14);
}
.tap-sign {
  margin: 0 0 0.45rem;
  text-align: center;
  font-family: Palatino, Georgia, serif;
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ff2bd6;
  text-shadow: 0 0 10px #ff2bd6, 0 0 24px #3df0ff, 0 0 40px #ff2bd6;
  animation: neonflick 2.8s step-end infinite;
}
.bar-mirror {
  height: 46px; margin: 0 8% 0.5rem;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(61,240,255,0.05) 55%, rgba(255,43,214,0.08));
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: inset 0 0 18px rgba(61, 240, 255, 0.12);
}
.bar-bottles {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 0.4rem; min-height: 42px; margin-bottom: 0.55rem;
}
.bar-bottles span {
  display: block; width: 13px; border-radius: 3px 3px 2px 2px;
  height: 34px;
  box-shadow: 0 0 10px currentColor;
}
.bar-bottles .b1 { height: 36px; background: linear-gradient(180deg, #fff, #ff2bd6); color: #ff2bd6; }
.bar-bottles .b2 { height: 28px; background: linear-gradient(180deg, #fff, #3df0ff); color: #3df0ff; }
.bar-bottles .b3 { height: 40px; background: linear-gradient(180deg, #fff8d0, #ffe08a); color: #ffe08a; }
.bar-bottles .b4 { height: 30px; background: linear-gradient(180deg, #ffe0f4, #ff6ae3); color: #ff6ae3; }
.bar-bottles .b5 { height: 38px; background: linear-gradient(180deg, #e8ffff, #3df0ff); color: #3df0ff; }
.bar-bottles .b6 { height: 26px; background: linear-gradient(180deg, #fff, #ff2bd6); color: #ff2bd6; }
.bar-bottles .b7 { height: 33px; background: linear-gradient(180deg, #fff4c8, #f0a33a); color: #f0a33a; }
.bar-bottles .b8 { height: 29px; background: linear-gradient(180deg, #ffd0ea, #e83d9a); color: #e83d9a; }
#zone-bar .bar-back { align-items: flex-end; gap: 0.8rem; }
#zone-bar .bartender {
  width: 96px; height: 104px; border-radius: 0;
  background: none; box-shadow: none; flex: 0 0 96px;
}
#zone-bar .bartender svg { width: 96px; height: 104px; }
#zone-bar .bar-name { color: #ffb3ee; text-shadow: 0 0 10px rgba(255, 43, 214, 0.55); }
#zone-bar .bar-sub { margin: 0.15rem 0 0; color: #c9b8d8; font-size: 0.82rem; }
.bar-pilot { width: 72px; height: 78px; margin-left: auto; }
.bar-pilot svg { width: 72px; height: 78px; }
.bar-counter {
  height: 14px; margin: 0.15rem 0 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 80, 180, 0.55), transparent);
  box-shadow: 0 0 18px rgba(255, 80, 180, 0.45);
}
#zone-bar .stools { align-items: flex-end; }
#zone-bar .stool {
  min-width: 104px; min-height: 118px;
  display: grid; justify-items: center; gap: 0.15rem;
  padding: 0.35rem 0.4rem 0.5rem;
}
#zone-bar .stool.pretty {
  animation: stoolbounce 1.5s ease-in-out infinite;
  border-color: rgba(255, 106, 227, 0.55);
}
#zone-bar .stool.pretty:nth-child(2) { animation-delay: 0.2s; }
#zone-bar .stool.pretty:nth-child(3) { animation-delay: 0.4s; }
.stool-bot { width: 72px; height: 78px; }
.stool-bot svg { width: 72px; height: 78px; }
@keyframes stoolbounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 860px) {
  .marquees { gap: 0.3rem; }
  .marquee { font-size: 0.64rem; padding: 0.24rem 0.5rem; }
}


/* ---- Lanes compact + invite (no leftover overview height) ---- */
#view-bowl[data-zone="lanes"] .alley-overview {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden;
  border: 0;
  padding: 0;
  margin: 0;
}
#view-bowl[data-zone="lanes"] .zone { padding: 0 0.1rem 0.4rem; }
#view-bowl[data-zone="lanes"] .bowl-wrap { padding: 0.35rem 0.5rem 0.65rem; }
#view-bowl[data-zone="lanes"] .marquees-lanes {
  flex-wrap: nowrap;
  overflow: hidden;
  gap: 0.22rem;
  margin: 0 0 0.28rem;
  max-height: 26px;
}
#view-bowl[data-zone="lanes"] .marquees-lanes .marquee {
  min-height: 22px;
  padding: 0.1rem 0.48rem;
  font-size: 0.6rem;
}
#view-bowl[data-zone="lanes"] .marquees-lanes .marquee:nth-child(n+3) { display: none; }
#view-bowl[data-zone="lanes"] .versus-bar { margin: 0 0 0.28rem; }
#view-bowl[data-zone="lanes"] .versus-modes { margin-bottom: 0.22rem; gap: 0.22rem; }
#view-bowl[data-zone="lanes"] .versus-chip { padding: 0.2rem 0.5rem; font-size: 0.62rem; }
#view-bowl[data-zone="lanes"] .versus-setup { gap: 0.28rem 0.4rem; }
#view-bowl[data-zone="lanes"] .versus-now { margin: 0.15rem 0 0; font-size: 0.68rem; }
#view-bowl[data-zone="lanes"] .bowl-league-badge { margin: 0 0 0.2rem; font-size: 0.64rem; }
#view-bowl[data-zone="lanes"] .bowl-boards { margin-bottom: 0.2rem; }
#view-bowl[data-zone="lanes"] .bowl-scoreboard { margin-bottom: 0.2rem; }
#view-bowl[data-zone="lanes"] .bowl-board-name { margin: 0 0 0.12rem; font-size: 0.6rem; }
#view-bowl[data-zone="lanes"] .bowl-frame .bf-n { padding: 0; font-size: 0.58rem; }
#view-bowl[data-zone="lanes"] .bf-balls { min-height: 18px; }
#view-bowl[data-zone="lanes"] .bf-tot { padding: 0.02rem 0.25rem 0.08rem; min-height: 1rem; font-size: 0.82rem; }
#view-bowl[data-zone="lanes"] .bowl-meta { margin: 0 0 0.25rem; font-size: 0.78rem; }
#view-bowl[data-zone="lanes"] #bowl-lane {
  max-width: none;
  width: 100%;
  height: clamp(260px, calc(100vh - 24rem), 440px);
}
#view-bowl[data-zone="lanes"] .bowl-hud { margin-top: 0.5rem; gap: 0.4rem; }
#view-bowl[data-zone="lanes"] .bowl-help { font-size: 0.78rem; }
.invite-code {
  display: inline-block;
  font-family: Palatino, Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #ffe08a;
  text-shadow: 0 0 12px rgba(255, 224, 138, 0.5);
  padding: 0 0.2rem;
  line-height: 1;
  vertical-align: middle;
}
#view-bowl[data-zone="lanes"] .invite-code { font-size: 1.28rem; letter-spacing: 0.16em; }
#versus-copy-invite { border-color: #ffe08a; color: #ffe08a; }
@media (max-width: 860px) {
  #view-bowl[data-zone="lanes"] #bowl-lane { height: min(48vh, 380px); }
}
