/* Compact YVR + amp-stack homepage hero — map banner + Dave rack overlay. */

.home-map-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(340px, 44vh, 520px);
  padding: 0;
  border: 2px solid rgba(87, 243, 255, 0.55);
  background: #020610;
}

.home-map-hero__map-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 14px;
  overflow: hidden;
}

.home-map-hero__map-stage .leaflet-container {
  width: 100%;
  height: 100%;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  background: #020610;
}

.home-map-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 14px;
  background:
    linear-gradient(105deg, rgba(4, 8, 14, 0.82) 0%, rgba(4, 8, 14, 0.45) 42%, rgba(4, 8, 14, 0.25) 68%, rgba(4, 8, 14, 0.55) 100%),
    linear-gradient(180deg, rgba(2, 4, 8, 0.35), transparent 40%, rgba(2, 4, 8, 0.5));
}

.home-map-hero__scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: 14px;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: screen;
  opacity: 0.22;
  animation: homeBcastScan 6s linear infinite;
}

.home-map-hero__content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  align-items: stretch;
  gap: clamp(0.65rem, 1.6vw, 1rem);
  min-height: clamp(340px, 44vh, 520px);
  padding: clamp(0.85rem, 2vw, 1.15rem);
  pointer-events: none;
}

.home-map-hero__content > * {
  pointer-events: auto;
}

.home-arcade-title-screen.home-amp-cabinet {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  align-items: stretch;
  gap: clamp(0.65rem, 1.6vw, 1rem);
  min-height: 0;
  max-height: none;
  height: auto;
  min-height: clamp(248px, 34vh, 320px);
  padding: clamp(0.85rem, 2vw, 1.15rem);
  margin-bottom: clamp(0.65rem, 1.4vw, 1rem);
  overflow: hidden;
  border: 2px solid rgba(87, 243, 255, 0.55);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 82%, rgba(87, 243, 255, 0.14), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(255, 79, 216, 0.1), transparent 28%),
    linear-gradient(165deg, #04060f 0%, #07111f 42%, #020308 100%);
  box-shadow:
    0 0 0 1px rgba(57, 255, 20, 0.12),
    0 16px 48px rgba(0, 0, 0, 0.55),
    inset 0 0 40px rgba(0, 0, 0, 0.35);
}

.home-map-hero.home-amp-cabinet {
  display: block;
  grid-template-columns: unset;
  gap: 0;
  min-height: clamp(340px, 44vh, 520px);
  padding: 0;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(57, 255, 20, 0.12),
    0 16px 48px rgba(0, 0, 0, 0.55);
}

.home-amp-cabinet::before {
  background: repeating-linear-gradient(180deg, rgba(223, 255, 234, 0.05) 0 1px, transparent 1px 4px);
  opacity: 0.65;
}

.home-amp-cabinet::after {
  background:
    linear-gradient(90deg, rgba(57, 255, 20, 0.08), transparent 14%, transparent 86%, rgba(87, 243, 255, 0.08)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 32%, transparent 78%, rgba(0, 0, 0, 0.45));
}

.home-amp-cabinet .home-arcade-screen__backdrop {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  padding: clamp(0.35rem, 1vw, 0.5rem);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(87, 243, 255, 0.28);
  background: rgba(2, 8, 18, 0.55);
  backdrop-filter: blur(4px);
}

.home-yvr-rack {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

.home-yvr-rack::before,
.home-yvr-rack::after {
  content: "+";
  position: absolute;
  top: 0.15rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.45rem;
  color: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.home-yvr-rack::before { left: 0; }
.home-yvr-rack::after { right: 0; }

/* YVR broadcaster — Dave the pigeon + rack */
.home-yvr-broadcaster {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  padding: 0.48rem 0.5rem 0.42rem;
  border-radius: 8px;
  border: 2px solid #0a0c10;
  background:
    linear-gradient(145deg, #1a1e28 0%, #0c0e14 48%, #050608 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -8px 16px rgba(0, 0, 0, 0.7),
    3px 4px 0 rgba(255, 79, 216, 0.28),
    0 0 20px rgba(87, 243, 255, 0.06);
}

.home-yvr-broadcaster::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 6px;
  border: 1px solid rgba(87, 243, 255, 0.08);
  pointer-events: none;
}

.home-yvr-broadcaster__mast {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.home-yvr-broadcaster__mast-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.home-yvr-broadcaster__avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}

.home-yvr-broadcaster__avatar-frame {
  position: relative;
  width: 56px;
  height: 60px;
}

.home-yvr-broadcaster__pigeon-tail {
  position: absolute;
  bottom: 10px;
  left: 4px;
  width: 14px;
  height: 10px;
  border-radius: 2px 0 8px 8px;
  background: linear-gradient(135deg, #6a7588, #4a5568);
  border: 2px solid #0a0c10;
  transform: rotate(-18deg);
}

.home-yvr-broadcaster__pigeon-body {
  position: absolute;
  bottom: 8px;
  left: 12px;
  width: 30px;
  height: 26px;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(160deg, #9aa5b8 0%, #6a7588 55%, #505a68 100%);
  border: 2px solid #0a0c10;
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, 0.25);
}

.home-yvr-broadcaster__pigeon-wing {
  position: absolute;
  bottom: 12px;
  left: 18px;
  width: 18px;
  height: 14px;
  border-radius: 0 60% 40% 60%;
  background: linear-gradient(180deg, #7a8598, #525c6e);
  border: 2px solid #0a0c10;
  transform: rotate(-8deg);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.2);
}

.home-yvr-broadcaster__pigeon-head {
  position: absolute;
  top: 8px;
  left: 22px;
  width: 24px;
  height: 22px;
  border-radius: 55% 55% 45% 45%;
  background: linear-gradient(180deg, #b8c0d0 0%, #8a94a8 100%);
  border: 2px solid #0a0c10;
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.15);
}

.home-yvr-broadcaster__pigeon-head .home-yvr-broadcaster__eye {
  position: absolute;
  top: 7px;
  left: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a0c10;
  box-shadow: inset -1px -1px 0 #39ff14, 0 0 6px rgba(57, 255, 20, 0.55);
  animation: homeBcastBlink 5s steps(2, end) infinite;
}

.home-yvr-broadcaster__pigeon-beak {
  position: absolute;
  top: 10px;
  right: -2px;
  width: 14px;
  height: 12px;
}

.home-yvr-broadcaster__pigeon-beak-top {
  display: block;
  width: 14px;
  height: 5px;
  border-radius: 0 6px 2px 2px;
  background: linear-gradient(180deg, #ffb347, #e8922a);
  border: 2px solid #0a0c10;
  border-bottom: none;
}

.home-yvr-broadcaster__pigeon-beak .home-yvr-broadcaster__mouth {
  position: relative;
  display: block;
  width: 12px;
  height: 4px;
  margin-top: -1px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #e8922a, #c9781a);
  border: 2px solid #0a0c10;
  border-top: none;
  transform-origin: center top;
  transition: height 0.07s ease-out;
}

.home-yvr-broadcaster__pigeon-mic {
  position: absolute;
  bottom: 14px;
  right: 6px;
  width: 5px;
  height: 8px;
  border-radius: 2px;
  background: #555;
  border: 1px solid #0a0c10;
  box-shadow: -10px 2px 0 -1px #444, -10px 10px 0 0 #333;
}

.home-yvr-broadcaster__avatar-name {
  margin: 0;
  font-size: 0.42rem;
  letter-spacing: 0.08em;
  color: #ffe66d;
  text-shadow: 0 0 8px rgba(255, 230, 109, 0.45);
}

.home-yvr-broadcaster__avatar.is-talking .home-yvr-broadcaster__eye,
.home-yvr-broadcaster__face.is-talking .home-yvr-broadcaster__eye {
  animation: homeBcastBlinkFast 1.2s steps(2, end) infinite;
}

.home-yvr-broadcaster__avatar.is-talking .home-yvr-broadcaster__pigeon-head,
.home-yvr-broadcaster__face.is-talking .home-yvr-broadcaster__pigeon-head {
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.15), 0 0 10px rgba(255, 230, 109, 0.25);
}

.home-yvr-broadcaster__pigeon-beak .home-yvr-broadcaster__mouth.is-open {
  height: 9px;
  background: linear-gradient(180deg, #ff4fd8 0%, #e8922a 80%);
  box-shadow: 0 0 8px rgba(255, 79, 216, 0.4);
}

.home-yvr-broadcaster__pigeon-beak .home-yvr-broadcaster__mouth.is-flap {
  animation: homeDaveBeakFlap 0.26s steps(3, end) infinite;
}

@keyframes homeDaveBeakFlap {
  0%, 100% { height: 4px; }
  50% { height: 10px; }
}

@keyframes homeBcastBlink {
  0%, 92%, 100% { opacity: 1; transform: scaleY(1); }
  96% { opacity: 0.35; transform: scaleY(0.15); }
}

@keyframes homeBcastBlinkFast {
  0%, 70%, 100% { opacity: 1; }
  80% { opacity: 0.4; }
}

.home-yvr-broadcaster__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.home-yvr-broadcaster__badge {
  font-family: "Press Start 2P", monospace;
  font-size: 0.38rem;
  letter-spacing: 0.05em;
  color: #ff4fd8;
  text-shadow: 0 0 8px rgba(255, 79, 216, 0.45);
  flex-shrink: 0;
}

.home-yvr-broadcaster__on-air {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  min-width: 0;
  flex: 1;
}

.home-yvr-broadcaster__led {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(87, 243, 255, 0.3);
  box-shadow: 0 0 4px rgba(87, 243, 255, 0.15);
}

.home-yvr-broadcaster.is-live .home-yvr-broadcaster__led {
  background: #39ff14;
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.75);
  animation: homeBcastLedPulse 1.4s ease-in-out infinite;
}

.home-yvr-broadcaster.is-radio .home-yvr-broadcaster__led {
  background: #ffe66d;
  box-shadow: 0 0 8px rgba(255, 230, 109, 0.7);
  animation: none;
}

@keyframes homeBcastLedPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.home-yvr-broadcaster__channel {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.36rem, 0.82vw, 0.42rem);
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: #57f3ff;
  text-shadow: 0 0 8px rgba(87, 243, 255, 0.35);
  white-space: nowrap;
}

.home-yvr-broadcaster__freq {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: clamp(0.5rem, 0.9vw, 0.58rem);
  letter-spacing: 0.04em;
  color: #ffe66d;
  text-shadow: 0 0 6px rgba(255, 230, 109, 0.35);
  flex-shrink: 0;
}

.home-yvr-broadcaster__bars {
  display: flex;
  gap: 0.16rem;
  align-items: flex-end;
  height: 24px;
  padding-bottom: 0.08rem;
}

.home-yvr-broadcaster__bar {
  display: block;
  width: 0.34rem;
  height: 35%;
  border-radius: 2px;
  background: linear-gradient(180deg, #39ff14, #ffe66d 72%, #ff4b4b);
  opacity: 0.35;
  transform: scaleY(0.5);
}

.home-yvr-broadcaster__bar.is-live {
  opacity: 1;
  animation: homeScannerBar 0.9s steps(4, end) infinite;
}

.home-yvr-broadcaster__crt {
  position: relative;
  border-radius: 6px;
  padding: 0.28rem 0.32rem 0.24rem;
  border: 2px solid #020308;
  background: linear-gradient(180deg, #0a0c12, #040608);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.85),
    0 0 18px rgba(57, 255, 20, 0.04);
}

.home-yvr-broadcaster__crt-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 4px;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: screen;
  opacity: 0.35;
  animation: homeBcastScan 6s linear infinite;
}

@keyframes homeBcastScan {
  0% { transform: translateY(0); }
  100% { transform: translateY(3px); }
}

.home-yvr-broadcaster__crt[data-broadcaster-teleprompt].is-live .home-yvr-teleprompt__script {
  border-color: rgba(57, 255, 20, 0.45);
  box-shadow: inset 0 0 16px rgba(57, 255, 20, 0.12);
}

.home-yvr-broadcaster__crt[data-broadcaster-teleprompt].is-radio .home-yvr-teleprompt__script {
  border-color: rgba(255, 230, 109, 0.5);
  box-shadow: inset 0 0 16px rgba(255, 230, 109, 0.12);
}

.home-yvr-map__anchor {
  cursor: pointer;
  pointer-events: auto;
}

.home-yvr-map__anchor-label {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 6.5px;
  fill: rgba(180, 220, 210, 0);
  letter-spacing: 0.04em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s linear, fill 0.12s linear;
}

.home-yvr-map__anchor:hover .home-yvr-map__anchor-label,
.home-yvr-map__anchor.is-active .home-yvr-map__anchor-label {
  fill: rgba(210, 240, 230, 0.92);
  opacity: 1;
}

.home-yvr-map__anchor.is-active .home-yvr-map__anchor-dot {
  stroke: #fff;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.75));
}

.home-yvr-map__anchor.is-active .home-yvr-map__anchor-pulse {
  animation: homeYvrMapFirePulse 1.4s ease-out infinite;
}

.home-yvr-map__anchor:not(.is-active) {
  opacity: 0.72;
}

.home-yvr-broadcaster__crt[data-broadcaster-teleprompt].is-live .home-yvr-map__anchor.is-active {
  opacity: 1;
}

.home-yvr-broadcaster__map-wrap {
  margin-bottom: 0.28rem;
}

.home-yvr-broadcaster__map-wrap[hidden] {
  display: none;
}

.home-yvr-broadcaster__map-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.28rem 0.4rem;
  margin-bottom: 0.18rem;
  font-size: clamp(0.38rem, 0.72vw, 0.46rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(87, 243, 255, 0.72);
}

.home-yvr-broadcaster__map-legend {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  font-size: clamp(0.36rem, 0.68vw, 0.44rem);
}

.home-yvr-broadcaster__map-expand {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.12rem 0.38rem;
  border: 1px solid rgba(57, 255, 20, 0.45);
  border-radius: 3px;
  background: rgba(57, 255, 20, 0.08);
  color: #39ff14;
  font-size: clamp(0.36rem, 0.68vw, 0.44rem);
  letter-spacing: 0.1em;
  cursor: pointer;
}

.home-yvr-broadcaster__map-expand:hover,
.home-yvr-broadcaster__map-expand:focus-visible {
  background: rgba(57, 255, 20, 0.18);
  color: #fff;
}

.home-yvr-broadcaster__map-legend-item.is-ooc {
  color: #ff6b6b;
}

.home-yvr-broadcaster__map-legend-item.is-held {
  color: #ffe66d;
}

.home-yvr-broadcaster__map-legend-item.is-other {
  color: #57f3ff;
}

.home-yvr-broadcaster__map-stage {
  position: relative;
  height: clamp(5.4rem, 14vw, 6.8rem);
  border-radius: 4px;
  border: 1px solid rgba(57, 255, 20, 0.22);
  background:
    radial-gradient(circle at 18% 28%, rgba(57, 255, 20, 0.06), transparent 42%),
    radial-gradient(circle at 78% 62%, rgba(87, 243, 255, 0.05), transparent 38%),
    #030508;
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.75);
}

.home-yvr-broadcaster__map-stage.is-panning {
  cursor: grabbing;
}

.home-yvr-broadcaster__map-svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home-yvr-broadcaster__map-svg [data-map-marker],
.home-yvr-broadcaster__map-svg [data-map-anchor] {
  pointer-events: auto;
  cursor: pointer;
}

.home-yvr-map__region-label {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 6px;
  fill: rgba(120, 170, 150, 0.35);
  letter-spacing: 0.06em;
  pointer-events: none;
}

.home-yvr-map__water-label {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 5.5px;
  fill: rgba(87, 243, 255, 0.28);
  letter-spacing: 0.04em;
  pointer-events: none;
}

.home-yvr-map__river {
  pointer-events: none;
}

.home-yvr-map__land {
  pointer-events: none;
}

.home-yvr-map__label-text {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 7px;
  fill: rgba(180, 220, 210, 0.55);
  letter-spacing: 0.06em;
}

.home-yvr-map__label.is-yvr .home-yvr-map__label-text {
  fill: #39ff14;
  font-weight: 700;
}

.home-yvr-map__yvr-ring {
  animation: homeYvrMapYvrPulse 2.4s ease-in-out infinite;
}

@keyframes homeYvrMapYvrPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.15); }
}

.home-yvr-map__marker.is-ooc .home-yvr-map__pulse {
  animation: homeYvrMapFirePulse 1.6s ease-out infinite;
}

.home-yvr-map__marker.is-held .home-yvr-map__pulse {
  animation: homeYvrMapFirePulse 2.4s ease-out infinite;
}

.home-yvr-map__marker.is-bulletin .home-yvr-map__dot {
  stroke: #fff;
  stroke-width: 1.6;
}

.home-yvr-map__marker.is-active .home-yvr-map__dot {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.85));
}

@keyframes homeYvrMapFirePulse {
  0% { transform: scale(0.65); opacity: 0.45; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.home-yvr-broadcaster__map-tooltip {
  position: absolute;
  z-index: 3;
  max-width: 11rem;
  padding: 0.22rem 0.32rem;
  border-radius: 3px;
  border: 1px solid rgba(87, 243, 255, 0.45);
  background: rgba(2, 6, 10, 0.94);
  color: rgba(210, 240, 230, 0.95);
  font-size: clamp(0.4rem, 0.78vw, 0.48rem);
  line-height: 1.35;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.18);
}

.home-yvr-broadcaster__map-tooltip[hidden] {
  display: none;
}

.home-yvr-broadcaster__map-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: screen;
  opacity: 0.28;
  animation: homeBcastScan 5s linear infinite;
}

.home-yvr-broadcaster__map-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.home-yvr-broadcaster__map-modal[hidden] {
  display: none;
}

.home-yvr-broadcaster__map-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 4, 8, 0.88);
  cursor: pointer;
}

.home-yvr-broadcaster__map-modal-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 920px);
  max-height: 92vh;
  padding: 0.55rem 0.55rem 0.45rem;
  border: 2px solid rgba(57, 255, 20, 0.35);
  background: linear-gradient(180deg, #0a0c12, #040608);
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.12);
}

.home-yvr-broadcaster__map-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: clamp(0.5rem, 1vw, 0.62rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(87, 243, 255, 0.85);
}

.home-yvr-broadcaster__map-modal-close {
  border: 1px solid rgba(255, 107, 107, 0.55);
  border-radius: 3px;
  background: rgba(255, 80, 80, 0.12);
  color: #ff8a8a;
  padding: 0.15rem 0.45rem;
  cursor: pointer;
  letter-spacing: 0.08em;
}

.home-yvr-broadcaster__map-modal-close:hover,
.home-yvr-broadcaster__map-modal-close:focus-visible {
  background: rgba(255, 80, 80, 0.25);
  color: #fff;
}

.home-yvr-broadcaster__map-modal-stage {
  height: min(62vh, 520px);
  min-height: 280px;
  border-radius: 4px;
  border: 1px solid rgba(87, 243, 255, 0.22);
  overflow: hidden;
  background: #020610;
}

.home-yvr-broadcaster__map-modal-stage .leaflet-container {
  width: 100%;
  height: 100%;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  background: #020610;
}

.home-yvr-broadcaster__map-modal-hint {
  margin: 0.35rem 0 0;
  font-size: clamp(0.4rem, 0.78vw, 0.5rem);
  letter-spacing: 0.06em;
  color: rgba(150, 190, 180, 0.65);
}

.home-yvr-leaflet-pin {
  background: transparent;
  border: 0;
}

.home-yvr-leaflet-pin span {
  display: block;
  border-radius: 50%;
  border: 2px solid #020308;
  box-shadow: 0 0 8px currentColor;
}

body.home-yvr-map-modal-open {
  overflow: hidden;
}

.home-yvr-teleprompt__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: 3.2rem;
  overflow: hidden;
}

.home-yvr-teleprompt__meta.is-footer {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  max-height: none;
  margin-top: 0.28rem;
  padding-top: 0.28rem;
  border-top: 1px solid rgba(87, 243, 255, 0.14);
}

.home-yvr-teleprompt__meta[hidden] {
  display: none;
}

.home-yvr-teleprompt__item {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: clamp(0.42rem, 0.82vw, 0.52rem);
  line-height: 1.35;
  color: rgba(180, 220, 235, 0.88);
}

.home-yvr-teleprompt__time {
  display: block;
  color: #ffe66d;
  font-size: clamp(0.4rem, 0.78vw, 0.48rem);
  letter-spacing: 0.03em;
}

.home-yvr-teleprompt__title {
  color: rgba(200, 235, 220, 0.92);
}

.home-yvr-teleprompt__link {
  color: #57f3ff;
  text-decoration: underline;
  text-underline-offset: 2px;
  pointer-events: auto;
}

.home-yvr-teleprompt__link:hover,
.home-yvr-teleprompt__link:focus-visible {
  color: #39ff14;
}

.home-yvr-teleprompt__item--link,
.home-yvr-teleprompt__item--source {
  display: inline;
}

.home-yvr-teleprompt__item--fetched {
  opacity: 0.72;
}

.home-yvr-teleprompt__script {
  margin: 0;
  min-height: 4.25rem;
  max-height: 5.75rem;
  padding: 0.36rem 0.4rem;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(87, 243, 255, 0.35) transparent;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.85);
  background: rgba(0, 4, 2, 0.95);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: clamp(0.48rem, 0.95vw, 0.58rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(170, 210, 200, 0.55);
  scroll-behavior: smooth;
}

.home-yvr-teleprompt__script::-webkit-scrollbar {
  width: 4px;
}

.home-yvr-teleprompt__script::-webkit-scrollbar-thumb {
  background: rgba(87, 243, 255, 0.35);
  border-radius: 4px;
}

.home-yvr-teleprompt__word {
  transition: color 0.08s linear, background 0.08s linear, text-shadow 0.08s linear;
}

.home-yvr-teleprompt__word.is-spoken {
  color: rgba(87, 243, 255, 0.72);
}

.home-yvr-teleprompt__word.is-current {
  color: #39ff14;
  background: rgba(57, 255, 20, 0.14);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.55);
  border-radius: 2px;
}

.home-yvr-broadcaster__feeds {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.home-yvr-broadcaster__channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.22rem;
}

.home-yvr-broadcaster__ch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 0.38rem 0.45rem;
  text-align: left;
  cursor: pointer;
  border: 2px solid #020308;
  border-radius: 5px;
  background: linear-gradient(180deg, #1e2430 0%, #12161e 100%);
  color: #dfe7ff;
  box-shadow: 2px 2px 0 rgba(87, 243, 255, 0.16);
  min-height: 0;
}

.home-yvr-broadcaster__ch-label {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.42rem, 0.92vw, 0.5rem);
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: #e8f4ff;
}

.home-yvr-broadcaster__ch-hint {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: clamp(0.4rem, 0.85vw, 0.48rem);
  line-height: 1.25;
  color: rgba(160, 200, 215, 0.78);
  text-align: right;
  white-space: nowrap;
}

.home-yvr-broadcaster__ch--radio .home-yvr-broadcaster__ch-hint {
  color: rgba(255, 230, 109, 0.82);
}

.home-yvr-broadcaster__ch:hover,
.home-yvr-broadcaster__ch:focus-visible {
  border-color: rgba(87, 243, 255, 0.45);
  background: linear-gradient(180deg, #243040 0%, #1a2030 100%);
}

.home-yvr-broadcaster__ch:hover .home-yvr-broadcaster__ch-label,
.home-yvr-broadcaster__ch:focus-visible .home-yvr-broadcaster__ch-label {
  color: #57f3ff;
}

.home-yvr-broadcaster__ch.is-active {
  background: linear-gradient(180deg, #39ff14 0%, #2ad010 100%);
  box-shadow: 2px 2px 0 #ff4fd8;
  border-color: #020805;
}

.home-yvr-broadcaster__ch.is-active .home-yvr-broadcaster__ch-label {
  color: #020805;
}

.home-yvr-broadcaster__ch.is-active .home-yvr-broadcaster__ch-hint {
  color: rgba(2, 12, 6, 0.75);
}

.home-yvr-broadcaster__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  min-height: 1.85rem;
  height: auto;
  padding: 0.32rem 0.5rem;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.38rem, 0.85vw, 0.44rem);
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 2px solid #020308;
  border-radius: 4px;
}

.home-yvr-broadcaster__stop {
  margin-top: 0.08rem;
  background: linear-gradient(180deg, #ff5c5c 0%, #e03a3a 100%);
  color: #fff;
  box-shadow: 2px 2px 0 #020308;
}

.home-yvr-broadcaster__stop:hover,
.home-yvr-broadcaster__stop:focus-visible {
  background: linear-gradient(180deg, #ff7070 0%, #ff4b4b 100%);
}

.home-yvr-broadcaster__stop-label {
  flex-shrink: 0;
}

.home-yvr-broadcaster__stop-hint {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: clamp(0.36rem, 0.78vw, 0.44rem);
  letter-spacing: 0.03em;
  opacity: 0.88;
  text-transform: lowercase;
}

.home-yvr-broadcaster.is-speaking .home-yvr-broadcaster__channel {
  color: #39ff14;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

.home-yvr-broadcaster.is-radio .home-yvr-broadcaster__channel {
  color: #ffe66d;
  text-shadow: 0 0 8px rgba(255, 230, 109, 0.35);
}

.home-amp-cabinet .home-arcade-vancouver {
  display: none !important;
}

/* Hide Miami-noir leftovers */
.home-amp-cabinet .home-palm,
.home-amp-cabinet .home-arcade-moon,
.home-amp-cabinet .home-pixel-star,
.home-amp-cabinet .home-pixel-rain {
  display: none !important;
}

.home-amp-stack {
  display: none;
}

@keyframes homeScannerBar {
  0%, 100% { transform: scaleY(0.45); }
  40% { transform: scaleY(1); }
  70% { transform: scaleY(0.65); }
}

@keyframes homeScannerFreq {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.home-amp {
  position: relative;
  padding: 0.55rem 0.65rem 0.5rem;
  border-radius: 10px;
  border: 2px solid rgba(20, 20, 20, 0.95);
  background:
    linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 55%, #050505 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -8px 16px rgba(0, 0, 0, 0.65),
    4px 6px 0 rgba(255, 79, 216, 0.35);
}

.home-amp__badge {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  font-family: "Press Start 2P", monospace;
  font-size: 0.42rem;
  letter-spacing: 0.08em;
  color: #57f3ff;
  text-shadow: 0 0 8px rgba(87, 243, 255, 0.45);
}

.home-amp__grille {
  height: clamp(52px, 9vw, 72px);
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.9);
  background:
    repeating-linear-gradient(90deg, #111 0 3px, #2a2a2a 3px 6px),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(0, 0, 0, 0.35) 5px 6px);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.85);
}

.home-amp__face {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.home-amp__vu {
  display: flex;
  gap: 0.22rem;
  align-items: flex-end;
  height: 28px;
  flex: 1;
}

.home-amp__vu-bar {
  display: block;
  width: 0.38rem;
  height: 35%;
  border-radius: 2px;
  background: linear-gradient(180deg, #39ff14, #ffe66d 72%, #ff4b4b);
  box-shadow: 0 0 6px rgba(57, 255, 20, 0.35);
  animation: homeAmpVu 1.1s steps(4, end) infinite;
}

.home-amp__vu-bar:nth-child(2) { animation-delay: 0.15s; height: 55%; }
.home-amp__vu-bar:nth-child(3) { animation-delay: 0.3s; height: 72%; }
.home-amp__vu-bar:nth-child(4) { animation-delay: 0.45s; height: 48%; }
.home-amp__vu-bar:nth-child(5) { animation-delay: 0.6s; height: 64%; }

.home-amp__knobs {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.home-amp__knob {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #333;
  background: radial-gradient(circle at 30% 30%, #666, #111);
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.8);
}

.home-amp__knob--gain { border-color: rgba(255, 79, 216, 0.55); }
.home-amp__knob--tone { border-color: rgba(87, 243, 255, 0.55); }

.home-amp__plate {
  margin-top: 0.35rem;
  font-family: "Press Start 2P", monospace;
  font-size: 0.42rem;
  letter-spacing: 0.06em;
  color: rgba(255, 242, 207, 0.82);
  text-transform: uppercase;
}

.home-amp-cabinet .home-arcade-screen__panel {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: clamp(0.4rem, 1vw, 0.65rem);
  padding: clamp(0.35rem, 1vw, 0.65rem) clamp(0.5rem, 1.2vw, 0.85rem);
  max-width: none;
  width: 100%;
  pointer-events: none;
  background: rgba(4, 8, 14, 0.42);
  border-radius: 12px;
  border: 1px solid rgba(87, 243, 255, 0.14);
  backdrop-filter: blur(3px);
}

.home-map-hero .home-arcade-screen__panel .home-arcade-kicker,
.home-map-hero .home-arcade-screen__panel .home-arcade-title,
.home-map-hero .home-arcade-screen__panel .home-arcade-subtitle,
.home-map-hero .home-arcade-screen__panel .home-arcade-positioning,
.home-map-hero .home-arcade-screen__panel .home-amp-console,
.home-map-hero .home-arcade-screen__panel .home-title-screen-meta,
.home-map-hero .home-arcade-screen__panel button {
  pointer-events: auto;
}

.home-amp-cabinet .home-arcade-kicker {
  margin: 0;
  color: #57f3ff;
  font-size: clamp(0.48rem, 0.95vw, 0.68rem);
}

.home-amp-cabinet .home-arcade-title {
  margin: 0;
  font-size: clamp(1.85rem, 5.2vw, 3.35rem);
  line-height: 0.98;
  max-width: 11ch;
  text-shadow:
    0.05em 0.05em 0 #ff4fd8,
    -0.03em -0.03em 0 #57f3ff,
    0 0 18px rgba(255, 255, 102, 0.35);
}

.home-amp-cabinet .home-arcade-subtitle {
  margin: 0;
  font-size: clamp(0.52rem, 1vw, 0.72rem);
  line-height: 1.45;
  max-width: 36ch;
  color: rgba(223, 255, 234, 0.88);
}

.home-amp-cabinet .home-arcade-positioning {
  margin: 0;
  max-width: 38ch;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: clamp(0.82rem, 1.35vw, 0.98rem);
  line-height: 1.45;
  color: rgba(232, 247, 255, 0.9);
}

.home-amp-console {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-top: 0.15rem;
}

.home-amp-cabinet .home-title-screen-prompt {
  position: relative;
  top: auto;
  left: auto;
  margin: 0;
  padding: 0.38rem 0.65rem;
  font-size: clamp(0.48rem, 0.85vw, 0.62rem);
  color: #020308;
  background: #ffe66d;
  border: 2px solid #020308;
  box-shadow: 3px 3px 0 #ff4fd8;
}

.home-amp-cabinet .home-press-start {
  min-width: 0;
  width: auto;
  padding: 0.65rem 1rem;
  font-size: clamp(0.62rem, 1.1vw, 0.78rem);
  background: #39ff14;
  border-color: #ffff66;
  color: #020805;
  box-shadow: 4px 4px 0 #ff4fd8, 0 0 16px rgba(57, 255, 20, 0.28);
}

.home-title-screen-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}

.home-title-screen-meta li {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.42rem, 0.75vw, 0.55rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.45rem;
  border: 1px solid rgba(87, 243, 255, 0.32);
  border-radius: 999px;
  color: rgba(200, 240, 255, 0.88);
  background: rgba(0, 12, 20, 0.55);
}

@keyframes homeAmpVu {
  0%, 100% { transform: scaleY(0.55); opacity: 0.65; }
  40% { transform: scaleY(1); opacity: 1; }
  70% { transform: scaleY(0.72); opacity: 0.85; }
}

@media (max-width: 820px) {
  .home-arcade-title-screen.home-amp-cabinet {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: none;
  }

  .home-amp-cabinet .home-arcade-screen__backdrop {
    min-height: 0;
    padding: 0.4rem;
  }

  .home-yvr-rack {
    max-width: 100%;
  }

  .home-yvr-broadcaster__channels {
    grid-template-columns: 1fr;
  }

  .home-yvr-teleprompt__script {
    min-height: 3.5rem;
    max-height: 4.5rem;
  }

  .home-amp-cabinet .home-arcade-screen__panel {
    align-items: center;
    text-align: center;
  }

  .home-amp-console {
    justify-content: center;
  }

  .home-title-screen-meta {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .home-arcade-title-screen.home-amp-cabinet {
    padding: 0.7rem;
  }

  .home-amp-cabinet .home-arcade-title {
    font-size: clamp(1.65rem, 11vw, 2.35rem);
    max-width: 100%;
  }

  .home-yvr-rack {
    max-width: 100%;
  }

  .home-yvr-broadcaster__bars {
    justify-content: center;
    height: 22px;
  }

  .home-yvr-broadcaster__stop {
    min-height: 2rem;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-amp__vu-bar,
  .home-amp-cabinet .home-title-screen-prompt,
  .home-amp-cabinet .home-press-start,
  .home-yvr-broadcaster__bar,
  .home-yvr-broadcaster__crt-scan,
  .home-yvr-broadcaster__eye,
  .home-yvr-broadcaster__mouth.is-flap,
  .home-yvr-broadcaster.is-live .home-yvr-broadcaster__led {
    animation: none !important;
  }
}
