/* Live City Tour — shared chrome (landing + /arena)
   Design rules: stage is the hero; one identity; one switcher; one globe.
   Scores / ticker / parade chrome stay off unless .arena-stage--live. */

:root {
  --tour-ink: #0c0f14;
  --tour-panel: rgba(8, 10, 14, 0.78);
  --tour-line: rgba(255, 255, 255, 0.14);
  --tour-mark: #f0e442;
}

.landing-tour,
.arena-tour {
  background: var(--tour-ink);
}

.arena-tour {
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Full-bleed dark rail so the light site canvas can't show through mid-chrome */
.arena-tour > .arena-tour-bar {
  background: #0b0e13;
  max-width: none;
  padding-left: max(16px, calc((100% - 1280px) / 2 + 16px));
  padding-right: max(16px, calc((100% - 1280px) / 2 + 16px));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---- top bar (outside the 3D stage) ---- */
.arena-tour-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.arena-tour-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.arena-tour-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--tour-mark);
  color: #111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 11px;
  border-radius: 999px;
  text-transform: uppercase;
  border: 2px solid #111;
  box-shadow: 2px 2px 0 #111;
}

.arena-tour-live {
  display: none; /* fans counter: too much noise; identity is enough */
}

.arena-tour-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tour-mark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.arena-tour-more:hover {
  color: #fff;
}

.arena-tour-id {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 10px;
}

.arena-tour-name {
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  margin: 0;
  line-height: 1.05;
  color: #fff;
  font-weight: 800;
}

.arena-tour-name .arena-tour-abbr {
  color: var(--team-secondary, var(--tour-mark));
}

.arena-tour-sub {
  font-size: 13px;
  color: #c5ccd6;
  font-weight: 600;
}

.arena-tour-sub b {
  color: #fff;
  font-weight: 700;
}

/* ---- team strip ---- */
.arena-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arena-nav__arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 2px 2px 0 #333;
}

.arena-nav__arrow:hover {
  transform: translateY(-1px);
}
.arena-nav__arrow:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0 #333;
}

.arena-nav__strip {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 2px;
  scroll-behavior: smooth;
  flex: 1 1 auto;
  min-width: 0;
  scrollbar-width: thin;
}

.arena-nav__circle {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--tc, #111);
  background: #fff;
  color: #111;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
}

.arena-nav__circle:hover {
  transform: translateY(-1px);
  background: #fff;
  color: #111;
}

.arena-nav__circle.is-active {
  background: var(--tc, #1d428a);
  color: #fff;
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(240, 228, 66, 0.85), 2px 2px 0 #111;
}

.arena-nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.arena-nav__fav {
  display: none;
}

.arena-nav__lock {
  flex: 0 0 auto;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 2px 2px 0 #333;
  white-space: nowrap;
}

.arena-nav__lock.is-locked {
  background: var(--team-primary, #1d428a);
  color: #fff;
  border-color: #fff;
}

.arena-nav__lock.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---- stage ---- */
.landing-tour .arena-scroll {
  position: relative;
  height: min(70vh, 680px);
  min-height: 400px;
}

.arena-tour .arena-scroll {
  position: relative;
  height: 520vh;
}

.landing-tour .arena-stage {
  position: relative;
  top: 0;
  height: 100%;
  overflow: hidden;
  background: #0c0f14;
}

.arena-tour .arena-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #0c0f14;
}

#arena-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.arena-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, transparent 48%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

.arena-travel-wipe {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 7;
  background: radial-gradient(
    ellipse at 50% 58%,
    rgba(255, 255, 255, 0.9),
    rgba(214, 224, 240, 0.55) 42%,
    rgba(12, 16, 24, 0.1) 100%
  );
}
.arena-travel-wipe.is-on {
  opacity: 1;
}

/* Quiet stage: hide live-data clutter. Leaving nodes in DOM keeps arena.js happy. */
.arena-stage--quiet .arena-overlay,
.arena-stage--quiet .arena-scoreboard,
.arena-stage--quiet .arena-ticker,
.arena-stage--quiet .arena-champion-banner,
.arena-stage--quiet .arena-hud,
.arena-stage--quiet .arena-hint {
  display: none !important;
}

/* Full arena page: still quieter than before — scoreboard/ticker optional deck */
.arena-stage--live .arena-overlay {
  display: none !important; /* long essay milestones were noise */
}
.arena-stage--live .arena-champion-banner {
  display: none !important;
}
.arena-stage--live .arena-hud {
  display: none !important; /* identity lives in the top bar */
}
.arena-stage--live .arena-scoreboard {
  top: auto;
  bottom: 108px;
  left: 16px;
  max-height: 160px;
  overflow: auto;
  background: var(--tour-panel);
  border: 1px solid var(--tour-line);
  backdrop-filter: blur(8px);
}
.arena-stage--live .arena-ticker {
  left: 16px;
  right: 180px;
  bottom: 14px;
  height: 22px;
  background: var(--tour-panel);
  border: 1px solid var(--tour-line);
  border-radius: 8px;
  overflow: hidden;
  z-index: 5;
}
.arena-stage--live .arena-hint {
  display: none !important;
}

.arena-overlay__ms,
.arena-eyebrow,
.arena-big,
.arena-sub {
  /* kept for JS; quiet/live hide the overlay parent */
}

.arena-scoreboard {
  position: absolute;
  z-index: 6;
  padding: 10px 12px;
  border-radius: 12px;
  min-width: 220px;
  max-width: 280px;
  color: #e7ecf3;
}
.arena-scoreboard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}
.arena-scoreboard__title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfd6e0;
  font-weight: 600;
}
.arena-summer-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--team-secondary, var(--tour-mark));
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 999px;
}
.arena-scoreboard__rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.arena-scoreboard__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #cfd6e0;
}
.arena-scoreboard__league {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a93a3;
  min-width: 70px;
}
.arena-scoreboard__matchup {
  flex: 1;
  text-align: center;
  color: #e7ecf3;
}
.arena-scoreboard__status {
  font-size: 10px;
  color: #9aa3b2;
  min-width: 48px;
  text-align: right;
}
.vh-hl {
  color: var(--team-secondary, var(--tour-mark));
  font-weight: 700;
}

.arena-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
}
.arena-tour-badge .arena-live-dot {
  background: #111;
  box-shadow: none;
}

.arena-ticker__track {
  display: inline-flex;
  white-space: nowrap;
  animation: arena-ticker 42s linear infinite;
  font-size: 11px;
  color: #cfd6e0;
  line-height: 22px;
}
.arena-ticker__group {
  display: inline-flex;
}
.arena-ticker__item {
  padding: 0 20px;
}
@keyframes arena-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Place chip — the only on-canvas identity */
.arena-place {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 6;
  max-width: min(88vw, 420px);
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(6, 8, 12, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.arena-place__name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.arena-place__meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #d5dde8;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.arena-place .constellation-mode,
.arena-place .constellation-season {
  pointer-events: auto;
}
.constellation-mode {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.constellation-mode button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #f2f5f9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.constellation-mode button.is-active {
  background: var(--tour-mark);
  color: #111;
  border-color: #111;
}
.constellation-season {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.constellation-season__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c5ceda;
  flex-shrink: 0;
}
.constellation-season select {
  flex: 1;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f0e442' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 32px 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.constellation-season select:focus {
  outline: 2px solid var(--tour-mark);
  outline-offset: 1px;
}
.constellation-season option {
  color: #111;
  background: #fff;
}
.constellation-legend {
  display: block;
  margin-top: 9px;
  font-size: 12px;
  color: #e6edf7;
  letter-spacing: 0.02em;
  line-height: 1.4;
  font-weight: 600;
}
.constellation-tip {
  position: fixed;
  z-index: 40;
  min-width: 160px;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(6, 8, 12, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.constellation-tip b {
  display: block;
  font-size: 15px;
  margin-bottom: 3px;
}
.constellation-tip span {
  display: block;
  color: #d5dde8;
  font-size: 12px;
}

/* Globe */
.arena-minimap-wrap {
  position: absolute;
  right: 14px;
  bottom: 132px;
  z-index: 6;
  padding: 8px;
  border-radius: 999px;
  background: var(--tour-panel);
  border: 1px solid var(--tour-line);
  backdrop-filter: blur(8px);
  text-align: center;
}
.arena-minimap-wrap canvas {
  display: block;
  border-radius: 50%;
}
.arena-minimap__label {
  display: block;
  font-size: 9px;
  color: #aeb8c4;
  margin-top: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Flyover transport — pause / scrub / zoom (Space, +/−, scrub, drag-orbit when paused) */
.arena-flyover {
  position: absolute;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 8;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--tour-panel);
  border: 1px solid var(--tour-line);
  backdrop-filter: blur(8px);
  max-width: calc(100vw - 28px);
}
.arena-flyover__play {
  min-width: 64px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--tour-mark);
  color: #111;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.arena-flyover__play.is-paused {
  background: transparent;
  color: var(--tour-mark);
  border-color: var(--tour-mark);
}
.arena-flyover__scrub {
  width: min(220px, 28vw);
  height: 4px;
  accent-color: var(--tour-mark);
  cursor: pointer;
}
.arena-flyover__zoom {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.arena-flyover__zoom:hover {
  background: rgba(255, 255, 255, 0.14);
}
.arena-flyover__zoom-label {
  min-width: 2.2em;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #c5cdd8;
  letter-spacing: 0.04em;
}

/* Bottom switcher — primary navigation */
.arena-switcher {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 8;
}
.arena-switcher__arrow {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid #111;
  background: var(--tour-mark);
  color: #111;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 3px 3px 0 #111;
}
.arena-switcher__arrow:hover {
  transform: translateY(-1px);
}
.arena-switcher__arrow:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0 #111;
}
.arena-switcher__pill {
  min-width: 128px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid #111;
  background: #111;
  color: var(--tour-mark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 #333;
  cursor: default;
}
.arena-switcher__pill.is-locked {
  background: var(--team-primary, #1d428a);
  color: #fff;
  border-color: #fff;
}

.arena-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 6;
}
#arena-progress-bar {
  height: 100%;
  width: 0;
  background: var(--team-primary, #1d428a);
}

.arena-hud,
.arena-hint,
.arena-champion-banner {
  /* present for JS; hidden via quiet/live rules above */
}

@media (max-width: 720px) {
  .arena-nav__lock {
    display: none;
  }
  .arena-stage--live .arena-scoreboard,
  .arena-stage--live .arena-ticker {
    display: none;
  }
  .arena-flyover {
    bottom: 84px;
    gap: 6px;
    padding: 5px 8px;
  }
  .arena-flyover__scrub {
    width: min(140px, 32vw);
  }
  .arena-minimap-wrap {
    right: 10px;
    bottom: 128px;
    padding: 6px;
  }
  .arena-minimap-wrap canvas {
    width: 112px;
    height: 112px;
  }
  .arena-place {
    max-width: calc(100vw - 24px);
  }
  .arena-tour .arena-scroll {
    height: 420vh;
  }
}
