:root {
  color-scheme: dark;
  --blue: #244aa9;
  --blue-deep: #07163f;
  --screen: #081631;
  --cyan: #9feaff;
  --frame: #52a5c7;
  --orange: #f3a763;
  --ink: #101417;
  --map-x: 0px;
  --map-y: 0px;
  --map-scale: 1;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: #071842;
  color: #caecf2;
  font-family: "Space Mono", "SFMono-Regular", Consolas, monospace;
  image-rendering: pixelated;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.app {
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background: linear-gradient(#244dae 0 78%, #071942 100%);
}

.app::after {
  position: fixed;
  inset: 0;
  z-index: 90;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, .13) 3px);
  opacity: .62;
}

.tracker-shell {
  position: relative;
  z-index: 2;
  height: 100dvh;
  min-height: 420px;
}

.tracker-frame {
  position: absolute;
  inset: 4px 15px;
  border: 5px solid #0a1730;
  background: var(--frame);
  box-shadow:
    inset 0 0 0 6px #53a7c5,
    inset 0 0 0 10px #214f7b,
    0 0 0 3px #65b7d0,
    0 4px 0 #09162c;
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
}

.tracker-wordmark {
  position: absolute;
  z-index: 45;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 6px 13px 5px;
  border: 4px solid #0a172b;
  background: #173866;
  color: #c8f1f7;
  font-size: clamp(12px, 1.45vw, 20px);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1;
  box-shadow: inset 0 0 0 2px #64b5cc, 3px 4px 0 #0a1427;
  transform: translateX(-50%);
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
  white-space: nowrap;
}

.tracker-wordmark b {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 3px solid #121921;
  border-radius: 50%;
  background: #ef584e;
  color: #f7f3e5;
  font-size: 17px;
  font-weight: 400;
  box-shadow: 2px 2px 0 #0a1427;
}

.screen {
  position: absolute;
  z-index: 2;
  top: 33px;
  right: 29px;
  bottom: 71px;
  left: 29px;
  overflow: hidden;
  border: 4px solid #0b172c;
  background: #0a1833;
  box-shadow: 0 0 0 2px #458aa6;
}

.map-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #07142f;
  cursor: grab;
  touch-action: none;
}

.map-viewport:active {
  cursor: grabbing;
}

.map-viewport:focus-visible {
  outline: 3px solid #f0aa63;
  outline-offset: -5px;
}

.real-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #07142f;
  image-rendering: auto;
}

.real-map .maplibregl-canvas,
.real-map .maplibregl-canvas-container {
  image-rendering: auto;
}

.real-map .maplibregl-ctrl-group {
  overflow: hidden;
  border: 2px solid #101820;
  border-radius: 0;
  background: #9bdde8;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .42);
}

.real-map .maplibregl-ctrl button {
  border-bottom: 1px solid rgba(16, 24, 32, .25);
}

.real-map .maplibregl-ctrl-attrib {
  background: rgba(235, 243, 243, .9);
  color: #16202b;
  font-family: Arial, sans-serif;
  image-rendering: auto;
}

.real-map .maplibregl-popup-content {
  padding: 0;
  border: 3px solid #101820;
  border-radius: 0;
  background: #f0a45f;
  color: #101820;
  box-shadow: 4px 5px 0 rgba(0, 0, 0, .45);
}

.real-map .maplibregl-popup-tip {
  border-top-color: #101820;
}

.real-map .maplibregl-popup-close-button {
  z-index: 2;
  padding: 4px 7px;
  color: #101820;
  font-size: 17px;
}

.world-popup {
  display: grid;
  min-width: 180px;
  gap: 4px;
  padding: 13px 30px 12px 13px;
  font-family: "Space Mono", "SFMono-Regular", Consolas, monospace;
}

.world-popup strong {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .07em;
}

.world-popup span,
.world-popup small {
  font-size: 8px;
  letter-spacing: .06em;
}

.world-popup-profile {
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: center;
  gap: 8px;
}

.world-popup-profile > img {
  width: 35px;
  height: 35px;
  border: 2px solid #101820;
  border-radius: 50%;
  object-fit: cover;
  image-rendering: auto;
}

.world-popup-profile > span {
  display: grid;
}

.world-popup a {
  width: max-content;
  margin-top: 3px;
  border-bottom: 1px solid #101820;
  color: #101820;
  font-size: 8px;
  text-decoration: none;
}

.world-marker {
  display: grid;
  width: 42px;
  height: 52px;
  padding: 0 0 10px;
  place-items: center;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, .48));
}

.world-marker span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 4px solid #101820;
  border-radius: 50%;
  background: #f0a45f;
  color: #101820;
  font-size: 15px;
}

.world-marker span img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  image-rendering: auto;
}

.world-marker--profile span {
  overflow: visible;
  padding: 2px;
}

.world-marker span::after {
  position: absolute;
  z-index: -1;
  bottom: -11px;
  left: 50%;
  width: 15px;
  height: 15px;
  border-right: 4px solid #101820;
  border-bottom: 4px solid #101820;
  background: #f0a45f;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.world-marker--preview span {
  background: #9be4ed;
  animation: location-pulse 1.1s steps(4) infinite;
}

.world-marker--preview span::after {
  background: #9be4ed;
}

.map-error {
  position: absolute;
  z-index: 20;
  top: 50%;
  left: 50%;
  width: min(440px, calc(100% - 40px));
  padding: 18px;
  border: 3px solid #101820;
  background: #f0a45f;
  color: #101820;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  transform: translate(-50%, -50%);
}

.map-viewport::before,
.boot-screen::before,
.content-panel::before {
  position: absolute;
  inset: 0;
  z-index: 6;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 0, 0, .018), transparent 45%, rgba(0, 120, 255, .025)),
    repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, .15) 4px);
}

.map-layer {
  position: absolute;
  inset: -3%;
  transform: translate(var(--map-x), var(--map-y)) scale(var(--map-scale));
  transform-origin: center;
  transition: transform 180ms steps(4);
}

.map-layer.is-dragging {
  transition: none;
}

.community-pin-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.map-pin--community {
  pointer-events: auto;
}

.map-pin--community span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border: 4px solid #101821;
  border-radius: 50% 50% 50% 12%;
  background: #f2a45e;
  color: #101821;
  font-size: 17px;
  transform: rotate(-45deg);
}

.map-pin--community span i {
  font-style: normal;
  transform: rotate(45deg);
}

.map-pick-banner {
  position: absolute;
  z-index: 18;
  top: 13px;
  left: 50%;
  visibility: hidden;
  padding: 9px 15px;
  border: 3px solid #0f1822;
  background: #f0a45f;
  color: #17191d;
  font-size: 10px;
  letter-spacing: .08em;
  opacity: 0;
  transform: translate(-50%, -10px);
  transition: opacity 120ms steps(2), transform 120ms steps(2), visibility 120ms;
  white-space: nowrap;
}

.app.is-picking-location .map-pick-banner {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.app.is-picking-location .map-viewport {
  cursor: crosshair;
}

.app.is-picking-location .maplibregl-canvas-container,
.app.is-picking-location .maplibregl-canvas {
  cursor: crosshair !important;
}

.world-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  pointer-events: none;
  user-select: none;
}

.map-pin {
  position: absolute;
  z-index: 5;
  top: var(--y);
  left: var(--x);
  width: clamp(29px, 3.3vw, 44px);
  height: clamp(29px, 3.3vw, 44px);
  padding: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, .5));
  transform: translate(-50%, -50%);
  transition: opacity 150ms steps(2), transform 90ms steps(1);
}

.map-pin:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

.map-pin img {
  display: block;
  width: 100%;
  height: 100%;
}

.map-pin.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.user-location-marker {
  position: absolute;
  z-index: 7;
  top: var(--y);
  left: var(--x);
  width: 19px;
  height: 19px;
  border: 4px solid #e8fbff;
  border-radius: 50%;
  background: #f04e49;
  box-shadow: 0 0 0 4px #163954, 0 0 18px #8fe9ff;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.user-location-marker::after {
  position: absolute;
  inset: -12px;
  content: "";
  border: 2px solid #8fe9ff;
  border-radius: 50%;
  animation: location-pulse 1.4s steps(4) infinite;
}

@keyframes location-pulse {
  0% { opacity: .9; transform: scale(.45); }
  100% { opacity: 0; transform: scale(1.35); }
}

.map-measure {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  opacity: .58;
}

.map-measure--left {
  top: 16%;
  bottom: 14%;
  left: 2.1%;
  width: 18px;
  border-left: 1px solid #a4eaff;
  background: repeating-linear-gradient(to bottom, #a4eaff 0 1px, transparent 1px 13px);
}

.map-measure--top {
  top: 5%;
  right: 8%;
  left: 8%;
  height: 10px;
  border-top: 1px solid rgba(164, 234, 255, .3);
  background: repeating-linear-gradient(to right, rgba(164, 234, 255, .3) 0 1px, transparent 1px 120px);
}

.radar-widget {
  position: absolute;
  z-index: 9;
  right: 1.2%;
  bottom: 5%;
  width: clamp(102px, 10.5vw, 140px);
  aspect-ratio: 1;
  pointer-events: none;
}

.radar-image {
  width: 100%;
  height: 100%;
  opacity: .9;
}

.radar-widget button {
  position: absolute;
  right: -2%;
  width: 24%;
  aspect-ratio: 1;
  padding: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.radar-widget button:first-of-type { top: 30%; }
.radar-widget button:last-of-type { bottom: 1%; right: 12%; }

.radar-widget button img {
  width: 100%;
  height: 100%;
}

.map-zoom-controls {
  position: absolute;
  z-index: 12;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: 34px 56px 34px;
  height: 30px;
  border: 3px solid #0d1722;
  background: #122a49;
  color: #bfeef7;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .42);
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

.map-zoom-controls button {
  padding: 0 0 3px;
  background: #9bdde9;
  color: #111c2c;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.map-zoom-controls button:hover {
  background: #f0aa63;
}

.map-zoom-controls output {
  display: grid;
  place-items: center;
  border-right: 2px solid #0d1722;
  border-left: 2px solid #0d1722;
  font-size: 10px;
}

.sighting-count {
  position: absolute;
  z-index: 11;
  top: 3px;
  left: 50%;
  min-width: 164px;
  padding: 9px 17px 8px;
  border: 3px solid #121b29;
  background: #f0a461;
  color: #211d23;
  font-size: 13px;
  letter-spacing: .1em;
  line-height: 1.15;
  text-align: center;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .45);
  transform: translate(-50%, -120%);
  transition: transform 350ms steps(6) 400ms;
}

.app.is-live .sighting-count {
  transform: translate(-50%, 0);
}

.auth-dock {
  position: absolute;
  z-index: 15;
  top: 9px;
  right: 9px;
  display: grid;
  min-width: 230px;
  border: 3px solid #101820;
  background: rgba(8, 26, 52, .94);
  color: #c8eef3;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .45);
  transform: translateY(-140%);
  transition: transform 350ms steps(6) 540ms;
}

.app.is-live .auth-dock {
  transform: translateY(0);
}

.auth-signed-out,
.auth-signed-in {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 6px;
}

.auth-signed-out[hidden],
.auth-signed-in[hidden] {
  display: none;
}

.auth-signed-out > span {
  padding: 0 5px;
  color: #82b7c2;
  font-size: 7px;
  letter-spacing: .08em;
}

.x-auth-button,
.auth-signed-in button,
.panel-auth-button {
  padding: 8px 10px;
  border: 2px solid #101820;
  background: #f0a45f;
  color: #101820;
  font-size: 8px;
  cursor: pointer;
}

.x-auth-button b { font-size: 12px; }

.auth-signed-in {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
}

.auth-avatar {
  width: 34px;
  height: 34px;
  border: 2px solid #f0a45f;
  border-radius: 50%;
  object-fit: cover;
  image-rendering: auto;
}

.auth-signed-in > span {
  display: grid;
  min-width: 0;
}

.auth-signed-in b,
.auth-signed-in small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-signed-in b { font-size: 8px; font-weight: 400; }
.auth-signed-in small { color: #80b6c2; font-size: 7px; }
.auth-signed-in button { padding: 6px; background: #9bdde8; font-size: 7px; }

.auth-status {
  padding: 4px 7px;
  border-top: 1px solid rgba(132, 193, 206, .35);
  color: #79a8b3;
  font-size: 6px;
  letter-spacing: .06em;
}

@media (min-width: 701px) {
  .sighting-count {
    top: 42px;
  }
}

.map-attribution {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 8;
  padding: 2px 5px;
  background: rgba(225, 225, 225, .85);
  color: #242424;
  font-family: Arial, sans-serif;
  font-size: 8px;
}

.corner-button {
  position: absolute;
  z-index: 50;
  top: 12px;
  display: grid;
  width: 66px;
  aspect-ratio: 1;
  place-items: center;
  border: 4px solid #0b1725;
  background: #f1eee2;
  color: #151515;
  cursor: pointer;
  box-shadow: inset 0 0 0 3px #ded8bd, 3px 4px 0 rgba(0, 0, 0, .42);
  clip-path: polygon(22% 0, 78% 0, 100% 22%, 100% 78%, 78% 100%, 22% 100%, 0 78%, 0 22%);
}

.menu-toggle {
  left: 9px;
  background: #e8a762;
}

.message-toggle {
  right: 9px;
}

.message-toggle svg {
  width: 60%;
  height: 60%;
}

.eye-pair {
  display: flex;
  gap: 3px;
}

.eye-pair i {
  display: block;
  width: 18px;
  height: 22px;
  border: 3px solid #0e1720;
  background: #f6f4e7;
  transform: skewY(7deg);
}

.eye-pair i:last-child {
  transform: skewY(-7deg);
}

.menu-lines {
  display: none;
  width: 30px;
}

.menu-lines i {
  display: block;
  height: 4px;
  margin: 5px 0;
  background: #f6f4e7;
}

.menu-toggle.is-open .eye-pair {
  display: none;
}

.menu-toggle.is-open .menu-lines {
  display: block;
}

.map-filters {
  position: absolute;
  z-index: 48;
  top: 141px;
  left: -4px;
  display: grid;
  gap: 5px;
}

.filter-button {
  width: 46px;
  height: 39px;
  padding: 0;
  border: 3px solid #101720;
  background: #eeeade;
  cursor: pointer;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, .45);
  clip-path: polygon(8% 0, 92% 0, 100% 18%, 100% 82%, 92% 100%, 8% 100%, 0 82%, 0 18%);
}

.filter-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filter-button:not(.is-active) {
  filter: grayscale(1) brightness(.55);
}

.filter-button--x {
  display: grid;
  place-items: center;
  background: #f0a45f;
  color: #101820;
  font-size: 21px;
}

.ticker-deck {
  position: absolute;
  z-index: 35;
  right: 26px;
  bottom: 0;
  left: 26px;
  height: 59px;
  background: var(--frame);
}

.ticker-window {
  position: absolute;
  top: 10px;
  right: 302px;
  left: 332px;
  height: 42px;
  overflow: hidden;
  border: 4px solid #111b24;
  background: #1a1d1f;
  color: #d2eff4;
  box-shadow: inset 0 0 0 2px #566469, 3px 4px 0 rgba(0, 0, 0, .45);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

.ticker-window span {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  min-width: max-content;
  font-size: 18px;
  letter-spacing: .08em;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  transform: translateY(-50%);
}

@keyframes ticker {
  from { transform: translate(0, -50%); }
  to { transform: translate(-50%, -50%); }
}

.sound-button {
  position: absolute;
  top: 8px;
  right: 275px;
  width: 56px;
  height: 43px;
  padding: 0;
  border: 4px solid #111b24;
  background: #f3f0e4;
  cursor: pointer;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .4);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.sound-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sound-button.is-on {
  background: #92df9b;
}

.boot-screen {
  position: absolute;
  inset: 0;
  z-index: 30;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(50, 63, 70, .42), transparent 40%),
    #24292a;
  color: #a8dce7;
  transition: opacity 360ms steps(5), visibility 360ms;
}

.boot-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at center, transparent 0 24%, rgba(2, 5, 9, .35) 78%);
  pointer-events: none;
}

.app.is-live .boot-screen {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.boot-code {
  position: absolute;
  z-index: 2;
  bottom: 4%;
  left: 2%;
  display: grid;
  gap: 4px;
  color: rgba(180, 209, 210, .3);
  font-size: 10px;
  transition: opacity 300ms steps(4);
}

.boot-screen.is-ready .boot-code {
  opacity: 0;
}

.boot-center {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
}

.boot-copy {
  position: absolute;
  z-index: 4;
  top: 51%;
  left: 50%;
  width: min(420px, 80%);
  color: #b6e7ed;
  text-align: center;
  opacity: 0;
  transition: opacity 350ms steps(5);
  transform: translateX(-50%);
}

.boot-screen.is-ready .boot-copy {
  opacity: 1;
}

.boot-copy p {
  margin: 0 0 18px;
  font-size: 15px;
  letter-spacing: .08em;
  line-height: 1.32;
}

.boot-copy small {
  display: block;
  margin: 14px 0 10px;
  color: #87b6bf;
  font-size: 12px;
  letter-spacing: .06em;
}

.loading-bars {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.loading-bars i {
  width: 10px;
  height: 12px;
  background: #73a4af;
  animation: loading-bars 900ms steps(1) infinite;
}

.loading-bars i:nth-child(2) { animation-delay: 100ms; }
.loading-bars i:nth-child(3) { animation-delay: 200ms; }
.loading-bars i:nth-child(4) { animation-delay: 300ms; }
.loading-bars i:nth-child(5) { animation-delay: 400ms; }
.loading-bars i:nth-child(6) { animation-delay: 500ms; }
.loading-bars i:nth-child(7) { animation-delay: 600ms; }
.loading-bars i:nth-child(8) { animation-delay: 700ms; }

@keyframes loading-bars { 50% { background: #d1f8fb; } }

.audio-choice {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.audio-choice button {
  min-width: 100px;
  padding: 7px 14px;
  border: 3px solid #25313a;
  background: #777b76;
  color: #323435;
  cursor: pointer;
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
}

.audio-choice button:first-child {
  border-color: #b8edfa;
  background: #496879;
  color: #d7f3f6;
}

.tutorial {
  position: absolute;
  inset: 0;
  z-index: 28;
  display: none;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(7, 24, 54, .94);
  color: #b9e9f0;
  cursor: pointer;
  text-align: left;
}

.app.show-tutorial .tutorial {
  display: block;
}

.tutorial-title {
  position: absolute;
  top: 34%;
  left: 50%;
  color: #f4bf68;
  font-size: 14px;
  text-align: center;
  transform: translateX(-50%);
}

.tutorial-label {
  position: absolute;
  font-size: 13px;
  letter-spacing: .08em;
}

.tutorial-label--nav { top: 13%; left: 4%; }
.tutorial-label--filters { top: 32%; left: 4%; }
.tutorial-label--messages { top: 17%; right: 3%; text-align: right; }
.tutorial-label--global { right: 4%; bottom: 22%; }
.tutorial-label--center { right: 4%; bottom: 10%; }

.tutorial-legend {
  position: absolute;
  top: 14%;
  left: 50%;
  display: grid;
  grid-template-columns: auto 44px;
  align-items: center;
  gap: 8px 14px;
  font-size: 12px;
  text-align: right;
  transform: translateX(-50%);
}

.tutorial-legend img {
  width: 42px;
}

.main-menu {
  position: absolute;
  z-index: 24;
  top: 0;
  bottom: 0;
  left: 0;
  width: 320px;
  border-right: 2px solid #71cce9;
  background: rgba(7, 23, 56, .96);
  transform: translateX(-105%);
  transition: transform 230ms steps(6);
}

.main-menu.is-open {
  transform: translateX(0);
}

.main-menu nav {
  display: grid;
  padding: 78px 48px 30px;
}

.main-menu button {
  min-height: 43px;
  padding: 8px 10px;
  border-bottom: 1px dashed rgba(171, 224, 237, .18);
  background: transparent;
  color: #c6edf3;
  font-size: 16px;
  letter-spacing: .08em;
  text-align: left;
  cursor: pointer;
}

.main-menu button:hover {
  color: #f3bc6e;
  padding-left: 18px;
}

.main-menu .menu-drop-button {
  margin-bottom: 8px;
  border: 3px solid #101820;
  background: #f0a45f;
  color: #17191d;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .42);
}

.main-menu .menu-drop-button:hover {
  padding-left: 18px;
  background: #9de2ec;
  color: #101820;
}

.content-panel {
  position: absolute;
  inset: 0;
  z-index: 22;
  visibility: hidden;
  overflow: hidden;
  background: rgba(10, 28, 57, .97);
  opacity: 0;
  transition: opacity 180ms steps(4), visibility 180ms;
}

.content-panel.is-open {
  visibility: visible;
  opacity: 1;
}

.content-panel header {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 38px 12% 8px;
}

.content-panel h2 {
  margin: 0;
  color: #bce8ef;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .12em;
}

.content-panel header button {
  background: transparent;
  color: #89a6b0;
  cursor: pointer;
}

.activity-list {
  position: relative;
  z-index: 7;
  width: 54%;
  height: calc(100% - 80px);
  margin: 0 auto;
  overflow-y: auto;
  scrollbar-color: #9be8f9 rgba(255, 255, 255, .12);
}

.activity-list button {
  display: grid;
  grid-template-columns: 28px 78px 1fr 105px;
  align-items: center;
  width: 100%;
  min-height: 39px;
  padding: 5px 12px;
  border-bottom: 1px solid rgba(164, 217, 228, .45);
  background: transparent;
  color: #b8dee4;
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}

.people-list button {
  grid-template-columns: 38px minmax(90px, 1fr) 120px 170px;
}

.people-list-avatar {
  width: 29px !important;
  height: 29px;
  border: 2px solid #101820;
  border-radius: 50%;
  object-fit: cover;
  image-rendering: auto;
}

.people-list-marker {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 2px solid #101820;
  border-radius: 50%;
  background: #f0a45f;
  color: #101820;
  font-style: normal;
}

.empty-people {
  margin: 8% 0;
  color: #7ea8b2;
  font-size: 11px;
  letter-spacing: .08em;
  text-align: center;
}

.clear-local-points {
  position: absolute;
  z-index: 8;
  right: 12%;
  bottom: 22px;
  padding: 8px 11px;
  border: 2px solid #9a6766;
  background: rgba(71, 24, 29, .7);
  color: #e9b9b5;
  font-size: 8px;
  cursor: pointer;
}

.clear-local-points[data-armed="true"] {
  border-color: #ef6f65;
  background: #6e2328;
  color: #fff;
}

.clear-local-points:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.activity-list button:hover {
  background: rgba(107, 211, 235, .1);
}

.activity-list img {
  width: 22px;
}

.activity-list span {
  width: max-content;
  padding: 2px 8px;
  border: 1px solid rgba(186, 230, 235, .45);
  font-size: 8px;
}

.activity-list b {
  overflow: hidden;
  font-weight: 400;
  letter-spacing: .07em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-list time {
  color: #81949b;
  text-align: right;
}

.webwatch-panel {
  background: linear-gradient(rgba(7, 26, 57, .88), rgba(7, 26, 57, .94)), url("./assets/official/webwatch_map.jpg") center / cover;
}

.watch-layout {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: 1.05fr .8fr 1.05fr .8fr .65fr;
  align-items: center;
  gap: 28px;
  width: 84%;
  height: calc(100% - 96px);
  margin: 0 auto;
}

.watch-image {
  width: 100%;
  height: 80%;
  border: 2px solid #b8f0f8;
  object-fit: cover;
}

.watch-layout article {
  color: #d3eef1;
  font-size: 12px;
  line-height: 1.55;
}

.watch-layout h3 {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .12em;
}

.carousel-arrow {
  position: absolute;
  z-index: 10;
  top: 48%;
  width: 30px;
  height: 80px;
  border: 2px solid #a8e5f2;
  background: rgba(4, 15, 34, .7);
  color: #b9ecf5;
  font-size: 30px;
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-arrow--prev { left: 2%; }
.carousel-arrow--next { right: 2%; }

.watch-dots {
  position: absolute;
  z-index: 9;
  bottom: 4%;
  left: 50%;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.watch-dots i {
  width: 14px;
  height: 6px;
  border: 1px solid #95bec8;
}

.watch-dots i.is-active {
  background: #a7eaf5;
}

.simple-panel {
  background: rgba(7, 25, 53, .98);
}

.drop-panel {
  background:
    linear-gradient(rgba(6, 21, 48, .94), rgba(6, 21, 48, .98)),
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(118, 212, 233, .06) 16px 18px);
}

.drop-form {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 14px 18px;
  width: min(720px, 78%);
  margin: 3% auto 0;
}

.drop-kicker {
  grid-column: 1 / -1;
  margin: 0;
  color: #f0aa63;
  font-size: 15px;
  letter-spacing: .14em;
}

.drop-profile {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 6px;
  border: 2px solid #73bdcf;
  background: #07162d;
}

.drop-profile-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid #101820;
  border-radius: 50%;
  background-color: #f0a45f;
  background-position: center;
  background-size: cover;
  color: #101820;
  font-size: 18px;
  image-rendering: auto;
}

.drop-profile > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.drop-profile b {
  overflow: hidden;
  color: #d5f2f5;
  font-size: 10px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drop-profile small {
  overflow: hidden;
  color: #79a8b3;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-auth-button {
  align-self: stretch;
  font-size: 10px;
}

.drop-form label,
.drop-form fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #8cc6d2;
  font-size: 9px;
  letter-spacing: .1em;
}

.drop-form input,
.drop-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 2px solid #73bdcf;
  outline: 0;
  background: #07162d;
  color: #d5f2f5;
  font: inherit;
  font-size: 12px;
  resize: none;
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, .35);
}

.drop-form input:focus,
.drop-form textarea:focus {
  border-color: #f0aa63;
  box-shadow: 0 0 0 2px rgba(240, 170, 99, .22);
}

.drop-form label:has(textarea) {
  position: relative;
}

#memeCharCount {
  position: absolute;
  right: 8px;
  bottom: 7px;
  color: #6e98a4;
  font-size: 8px;
}

.drop-form fieldset {
  grid-column: 1 / -1;
}

.drop-form legend {
  margin-bottom: 7px;
}

.location-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.location-actions button,
.drop-submit {
  min-height: 38px;
  padding: 8px 12px;
  border: 3px solid #101820;
  background: #9bdde8;
  color: #111b26;
  font-size: 10px;
  cursor: pointer;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .4);
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
}

.location-actions button:hover {
  background: #f0a45f;
}

.location-actions button:disabled,
.panel-auth-button:disabled {
  filter: grayscale(1) brightness(.55);
  cursor: not-allowed;
}

.location-status {
  min-height: 27px;
  padding: 8px 10px;
  border: 1px dashed rgba(141, 214, 230, .45);
  color: #b9e8ee;
  font-size: 9px;
}

.location-status.is-locked {
  border-color: rgba(141, 232, 158, .82);
  color: #8de89e;
}

.location-privacy {
  grid-column: 1 / -1;
  margin: 0;
  color: #668d98;
  font-size: 8px;
  letter-spacing: .08em;
}

.drop-submit {
  grid-column: 1 / -1;
  background: #f0a45f;
  font-size: 12px;
}

.drop-submit:disabled {
  filter: grayscale(1) brightness(.55);
  cursor: not-allowed;
}

.event-grid,
.help-grid {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 72%;
  margin: 7% auto 0;
}

.event-grid article,
.help-grid p {
  min-height: 150px;
  padding: 24px;
  border: 1px solid #75b9c9;
  background: rgba(35, 79, 107, .18);
}

.event-grid span {
  color: #f0aa64;
  font-size: 24px;
}

.event-grid h3,
.help-grid b {
  color: #c6edf4;
  font-size: 15px;
  font-weight: 400;
}

.center-message {
  position: relative;
  z-index: 7;
  display: grid;
  max-width: 560px;
  margin: 8% auto 0;
  place-items: center;
  color: #c5edf2;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.x-mark {
  color: #f0a965;
  font-size: 58px;
}

.center-message button,
.video-placeholder {
  padding: 11px 22px;
  border: 3px solid #101820;
  background: #f0a663;
  color: #1f1b1d;
  cursor: pointer;
}

.message-list {
  position: relative;
  z-index: 7;
  width: min(600px, 70%);
  margin: 7% auto 0;
}

.message-list p {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  padding: 15px;
  border-bottom: 1px solid #6fa6b4;
}

.message-list span {
  color: #829ca5;
  font-size: 10px;
}

.status-dot {
  width: 14px;
  height: 14px;
  border: 2px solid #101820;
  border-radius: 50%;
}

.status-dot--green { background: #61c178; }
.status-dot--red { background: #e9584e; }
.status-dot--orange { background: #efa45f; }

.video-modal {
  position: absolute;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  display: grid;
  place-items: center;
  background: rgba(1, 5, 13, .94);
  opacity: 0;
  transition: opacity 180ms steps(4), visibility 180ms;
}

.video-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.video-modal > button {
  position: absolute;
  top: 24px;
  right: 28px;
  background: transparent;
  color: #a9dce6;
  cursor: pointer;
}

.video-placeholder {
  display: grid;
  width: min(720px, 80%);
  aspect-ratio: 16 / 9;
  place-items: center;
  border: 2px solid #8ed8e9;
  background: linear-gradient(135deg, #101d39, #02060d);
  color: #c9eef3;
  text-align: center;
}

.video-placeholder span {
  font-size: 54px;
}

.pin-popup {
  position: absolute;
  z-index: 65;
  right: 20px;
  bottom: 22px;
  display: grid;
  width: min(330px, calc(100% - 40px));
  min-width: 210px;
  padding: 11px 14px;
  border: 3px solid #111a20;
  background: #f0a761;
  color: #211b1d;
  font-size: 11px;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 130ms steps(2), transform 130ms steps(2);
}

.pin-popup b {
  font-size: 13px;
  letter-spacing: .06em;
}

.pin-popup span {
  margin-top: 2px;
  line-height: 1.45;
}

.pin-popup small {
  margin-top: 6px;
  padding-top: 5px;
  border-top: 2px solid rgba(33, 27, 29, .35);
  font-size: 8px;
  letter-spacing: .08em;
}

.pin-popup a {
  margin-top: 8px;
  padding: 7px 9px;
  border: 2px solid #211b1d;
  background: #15191d;
  color: #e9f8f9;
  font-size: 9px;
  text-align: center;
  text-decoration: none;
}

.pin-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.toast {
  position: fixed;
  z-index: 120;
  right: 18px;
  bottom: 18px;
  padding: 12px 15px;
  border: 3px solid #111820;
  background: #efa563;
  color: #211b1e;
  font-size: 11px;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 140ms steps(2), transform 140ms steps(2);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-layer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .87);
  transition: opacity 180ms;
}

.cookie-layer.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.cookie-panel {
  position: relative;
  width: min(740px, calc(100vw - 40px));
  padding: 86px 16px 20px;
  border: 1px solid #d6d6d6;
  background: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.48;
}

.cookie-close {
  position: absolute;
  top: 21px;
  right: 26px;
  background: transparent;
  color: #777;
  font-size: 26px;
  cursor: pointer;
}

.cookie-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.cookie-actions button {
  min-width: 250px;
  padding: 17px 20px;
  border: 1px solid #aaa;
  background: #000;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 700px) {
  .tracker-frame {
    inset: 2px 3px 0;
    border-width: 3px;
    box-shadow: inset 0 0 0 4px #53a7c5, inset 0 0 0 7px #214f7b, 0 0 0 2px #65b7d0;
  }

  .tracker-wordmark {
    top: 11px;
    gap: 4px;
    padding: 5px 8px 4px;
    border-width: 3px;
    font-size: 10px;
  }

  .tracker-wordmark b {
    width: 23px;
    height: 23px;
    border-width: 2px;
    font-size: 13px;
  }

  .screen {
    top: 36px;
    right: 24px;
    bottom: 58px;
    left: 24px;
    border-width: 3px;
  }

  .corner-button {
    top: 9px;
    width: 51px;
    border-width: 3px;
  }

  .menu-toggle { left: 7px; }
  .message-toggle { right: 7px; }

  .eye-pair i {
    width: 13px;
    height: 17px;
    border-width: 2px;
  }

  .map-filters {
    top: 139px;
    left: -1px;
    gap: 3px;
  }

  .filter-button {
    width: 34px;
    height: 30px;
    border-width: 2px;
  }

  .map-layer {
    top: 50%;
    right: -32.5%;
    bottom: auto;
    left: -32.5%;
    height: auto;
    margin-top: -46.4vw;
    aspect-ratio: 1672 / 941;
  }

  .map-pick-banner {
    width: calc(100% - 20px);
    white-space: normal;
    text-align: center;
    font-size: 8px;
    line-height: 1.45;
  }

  .world-map {
    right: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    object-fit: fill;
    transform: none;
  }

  .map-pin {
    width: 32px;
    height: 32px;
  }

  .radar-widget {
    right: 2%;
    bottom: 5%;
    width: 92px;
  }

  .map-zoom-controls {
    bottom: 9px;
    left: 9px;
    grid-template-columns: 30px 48px 30px;
    height: 27px;
    border-width: 2px;
  }

  .map-zoom-controls button { font-size: 18px; }
  .map-zoom-controls output { font-size: 8px; }

  .sighting-count {
    top: 34px;
    min-width: 160px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .auth-dock {
    top: auto;
    right: 7px;
    bottom: 7px;
    min-width: 205px;
    max-width: calc(100% - 70px);
    transform: translateY(140%);
  }

  .auth-status { display: none; }

  .auth-signed-out,
  .auth-signed-in {
    min-height: 39px;
  }

  .auth-signed-out > span { display: none; }

  .map-measure--left {
    top: 12%;
    left: 3%;
  }

  .ticker-deck {
    right: 8px;
    left: 20px;
    height: 58px;
  }

  .ticker-window {
    top: 10px;
    right: 43px;
    left: 31px;
    height: 41px;
    border-width: 3px;
  }

  .ticker-window span {
    font-size: 13px;
  }

  .sound-button {
    top: 9px;
    right: 0;
    width: 43px;
    height: 42px;
    border-width: 3px;
  }

  .boot-code {
    display: none;
  }

  .boot-copy {
    top: 65%;
    width: 90%;
  }

  .boot-copy p {
    margin-bottom: 15px;
    font-size: 12px;
  }

  .boot-copy small {
    margin: 12px 0 9px;
    font-size: 9px;
  }

  .audio-choice {
    gap: 8px;
  }

  .audio-choice button {
    min-width: 86px;
    padding: 6px 10px;
    font-size: 10px;
  }

  .tutorial-title {
    top: 27%;
    width: 90%;
    font-size: 11px;
  }

  .tutorial-label {
    font-size: 9px;
  }

  .tutorial-label--nav { top: 8%; left: 9%; }
  .tutorial-label--filters { top: 18%; left: 5%; }
  .tutorial-label--messages { top: 10%; right: 4%; }
  .tutorial-label--global { bottom: 12%; }
  .tutorial-label--center { bottom: 5%; }

  .tutorial-legend {
    top: 31%;
    grid-template-columns: auto 37px;
    gap: 6px 10px;
    font-size: 9px;
  }

  .tutorial-legend img { width: 36px; }

  .main-menu {
    width: calc(100% - 16px);
  }

  .main-menu nav {
    padding: 70px 48px 20px;
  }

  .main-menu button {
    min-height: 47px;
    font-size: 14px;
  }

  .content-panel header {
    padding: 36px 18px 8px 55px;
  }

  .content-panel h2 {
    font-size: 11px;
  }

  .content-panel header button {
    font-size: 9px;
  }

  .drop-form {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 82%;
    margin-top: 4%;
  }

  .drop-kicker,
  .drop-profile,
  .panel-auth-button,
  .drop-form fieldset,
  .location-privacy,
  .drop-submit {
    grid-column: 1;
  }

  .drop-kicker { font-size: 11px; }

  .drop-form input,
  .drop-form textarea {
    padding: 8px 9px;
    font-size: 10px;
  }

  .location-actions { gap: 6px; }

  .location-actions button,
  .drop-submit {
    min-height: 32px;
    font-size: 8px;
  }

  .activity-list {
    width: 90%;
    height: calc(100% - 70px);
  }

  .activity-list button {
    grid-template-columns: 32px minmax(68px, 1fr) 80px;
    min-height: 54px;
    padding: 7px 2px;
    font-size: 8px;
  }

  .activity-list time {
    display: none;
  }

  .people-list button span {
    overflow: hidden;
    max-width: 80px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .watch-layout {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 12px;
    width: 72%;
  }

  .watch-image--left,
  .watch-image--right,
  .watch-secondary {
    display: none;
  }

  .watch-image--hero {
    height: 46vh;
    max-height: 330px;
  }

  .watch-layout article {
    font-size: 9px;
    line-height: 1.42;
  }

  .watch-layout h3 {
    margin: 0 0 6px;
    font-size: 12px;
  }

  .event-grid,
  .help-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    width: 78%;
    margin-top: 5%;
  }

  .event-grid article,
  .help-grid p {
    min-height: 80px;
    margin: 0;
    padding: 12px;
    font-size: 9px;
  }

  .event-grid span { font-size: 17px; }

  .center-message {
    width: 82%;
    margin-top: 20%;
    font-size: 11px;
  }

  .message-list {
    width: 84%;
    margin-top: 14%;
  }

  .message-list p {
    grid-template-columns: 18px 1fr;
    font-size: 9px;
  }

  .message-list span { display: none; }

  .pin-popup {
    right: 9px;
    bottom: 9px;
    min-width: 190px;
  }

  .cookie-panel {
    width: calc(100vw - 28px);
    padding: 60px 16px 18px;
    font-size: 11px;
  }

  .cookie-actions {
    display: grid;
  }

  .cookie-actions button {
    min-width: 0;
    padding: 12px;
    font-size: 10px;
  }
}

/* Performance layer: isolate expensive regions and simplify them while the map moves. */
.screen,
.boot-screen,
.content-panel,
.auth-dock,
.builder-card,
.ticker-window {
  contain: layout paint style;
}

.app.is-map-moving .map-viewport::after {
  background:
    linear-gradient(rgba(5, 9, 16, .2), rgba(5, 9, 16, .2)),
    linear-gradient(90deg, rgba(57, 169, 255, .05), transparent 20% 80%, rgba(57, 169, 255, .05)),
    radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, .38) 100%);
}

.app.is-map-moving .world-marker {
  filter: none;
}

.app.is-map-moving .ticker-window span,
.app.is-map-moving .status-beacon::before,
.app.is-map-moving .status-beacon::after,
.app.is-map-moving .world-marker--preview span,
.app.is-map-moving .builder-card-header i,
.app.is-map-moving .home-brief footer i {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ================================================================
   FOUNDER MODE — monochrome X terminal with electric network blue
   ================================================================ */

:root {
  --founder-black: #050505;
  --founder-panel: #0b0b0d;
  --founder-raised: #121216;
  --founder-white: #f5f7f8;
  --founder-muted: #8b929a;
  --founder-blue: #39a9ff;
  --founder-green: #53f08c;
  --frame: #0a0a0c;
  --cyan: #f5f7f8;
}

body {
  background: var(--founder-black);
  color: var(--founder-white);
  font-family: "Space Mono", "SFMono-Regular", Consolas, monospace;
}

.tracker-wordmark,
.boot-code,
.boot-copy b,
.drop-kicker,
.content-panel h2,
.main-menu button,
.ticker-window,
.founder-x-mark,
.sighting-count {
  font-family: "Press Start 2P", "Courier New", monospace;
}

.world-popup { font-family: "Space Mono", "SFMono-Regular", Consolas, monospace; }

.app {
  background:
    radial-gradient(circle at 18% 28%, rgba(57, 169, 255, .11), transparent 26%),
    radial-gradient(circle at 82% 72%, rgba(255, 255, 255, .055), transparent 24%),
    var(--founder-black);
}

.app::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, #000 25%, transparent 92%);
}

.app::after {
  opacity: .28;
}

.tracker-frame {
  border-color: #323238;
  background: var(--founder-black);
  box-shadow:
    inset 0 0 0 2px #f5f7f8,
    inset 0 0 0 8px #111116,
    0 0 0 1px #000,
    0 24px 70px rgba(0, 0, 0, .72);
}

.screen {
  top: 41px;
  border-color: #2a2a30;
  background: #050506;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2);
}

.tracker-wordmark {
  top: 8px;
  gap: 9px;
  padding: 4px 10px 4px 4px;
  border: 2px solid var(--founder-white);
  background: var(--founder-black);
  color: var(--founder-white);
  font-size: clamp(13px, 1.5vw, 21px);
  letter-spacing: .06em;
  box-shadow: 4px 4px 0 rgba(57, 169, 255, .72);
  clip-path: none;
}

.tracker-wordmark b {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: var(--founder-white);
  color: var(--founder-black);
  font-size: 21px;
  box-shadow: none;
}

.tracker-wordmark small {
  padding-left: 9px;
  border-left: 1px solid #47474f;
  color: var(--founder-muted);
  font-size: 7px;
  letter-spacing: .13em;
}

.corner-button {
  top: 10px;
  width: 58px;
  border: 2px solid var(--founder-white);
  background: var(--founder-black);
  color: var(--founder-white);
  box-shadow: 4px 4px 0 rgba(57, 169, 255, .55);
  clip-path: none;
}

.menu-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 5px;
}

.menu-icon-grid i {
  width: 8px;
  height: 8px;
  background: var(--founder-white);
}

.menu-toggle.is-open .menu-icon-grid { display: none; }
.menu-lines i { background: var(--founder-white); }

.status-beacon {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid var(--founder-white);
  border-radius: 50%;
}

.status-beacon::before,
.status-beacon::after {
  position: absolute;
  border: 2px solid var(--founder-blue);
  border-radius: 50%;
  content: "";
  opacity: .65;
  animation: founder-pulse 1.8s steps(5) infinite;
}

.status-beacon::before { inset: 4px; }
.status-beacon::after { inset: 9px; animation-delay: 260ms; }
.status-beacon i { width: 5px; height: 5px; background: var(--founder-green); }

@keyframes founder-pulse {
  0%, 100% { opacity: .2; transform: scale(.78); }
  50% { opacity: 1; transform: scale(1); }
}

.map-viewport {
  background: #06070a;
}

.real-map .maplibregl-canvas {
  filter: grayscale(.78) saturate(.45) brightness(.73) contrast(1.24);
}

.real-map.is-map-moving .maplibregl-canvas {
  filter: none;
  opacity: .82;
}

.map-viewport::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(57, 169, 255, .05), transparent 20% 80%, rgba(57, 169, 255, .05)),
    radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, .38) 100%);
}

.real-map .maplibregl-ctrl-group,
.real-map .maplibregl-ctrl-attrib {
  border-color: var(--founder-white);
  background: rgba(5, 5, 5, .9);
  color: var(--founder-white);
  box-shadow: 3px 3px 0 rgba(57, 169, 255, .42);
}

.real-map .maplibregl-ctrl button { filter: invert(1); }
.real-map .maplibregl-ctrl-attrib a { color: var(--founder-white); }

.sighting-count {
  min-width: 196px;
  padding: 9px 18px 8px;
  border: 2px solid var(--founder-white);
  background: var(--founder-black);
  color: var(--founder-white);
  font-size: 16px;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--founder-blue);
}

.sighting-count #peopleCount {
  color: var(--founder-blue);
  font-size: 22px;
}

.sighting-count small {
  display: block;
  margin-top: 5px;
  color: var(--founder-muted);
  font-size: 7px;
  letter-spacing: .18em;
}

.auth-dock {
  min-width: 288px;
  border: 2px solid var(--founder-white);
  background: rgba(5, 5, 5, .94);
  color: var(--founder-white);
  box-shadow: 4px 4px 0 rgba(57, 169, 255, .7);
}

.auth-signed-out > span,
.auth-status,
.auth-signed-in small { color: var(--founder-muted); }
.auth-signed-out > span { font-size: 9px; }
.auth-signed-in b { font-size: 11px; }
.auth-signed-in small { font-size: 9px; }

.x-auth-button,
.panel-auth-button,
.auth-signed-in button {
  border: 1px solid var(--founder-white);
  background: var(--founder-white);
  color: var(--founder-black);
  font-size: 10px;
  transition: background 120ms steps(2), color 120ms steps(2), transform 120ms steps(2);
}

.x-auth-button:hover,
.panel-auth-button:hover,
.auth-signed-in button:hover {
  background: var(--founder-blue);
  color: #000;
  transform: translate(-2px, -2px);
}

.auth-avatar { border-color: var(--founder-blue); }

.main-menu {
  width: min(520px, 44%);
  border-right: 2px solid var(--founder-white);
  background:
    linear-gradient(rgba(5, 5, 5, .96), rgba(5, 5, 5, .98)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 255, 255, .08) 31px 32px);
}

.main-menu nav { padding: 100px 58px 30px; }

.main-menu button {
  min-height: 72px;
  border-bottom: 1px solid #34343b;
  color: var(--founder-white);
  font-size: clamp(17px, 1.8vw, 26px);
}

.main-menu button:hover,
.main-menu .menu-drop-button,
.main-menu .menu-drop-button:hover {
  padding-left: 18px;
  background: var(--founder-white);
  color: var(--founder-black);
}

.content-panel,
.simple-panel,
.drop-panel {
  background:
    linear-gradient(rgba(5, 5, 6, .96), rgba(5, 5, 6, .98)),
    repeating-linear-gradient(90deg, transparent 0 63px, rgba(255, 255, 255, .045) 63px 64px);
}

.content-panel header { padding-top: 50px; }
.content-panel h2 { color: var(--founder-white); font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -.01em; }
.content-panel header button { color: var(--founder-muted); font-size: 11px; }
.content-panel header button:hover { color: var(--founder-white); }

.drop-form {
  gap: 18px 20px;
  width: min(820px, 78%);
  margin-top: 2%;
}

.drop-kicker {
  color: var(--founder-blue);
  font-size: clamp(15px, 1.8vw, 25px);
}

.drop-profile {
  min-height: 72px;
  border: 1px solid #414149;
  background: var(--founder-raised);
}

.drop-profile-avatar { width: 56px; height: 56px; border-color: var(--founder-white); background-color: var(--founder-blue); }
.drop-profile b { font-size: 14px; }
.drop-profile small { font-size: 9px; }
.drop-form fieldset { color: var(--founder-muted); font-size: 11px; }

.location-actions button,
.drop-submit {
  min-height: 52px;
  border: 2px solid var(--founder-white);
  background: var(--founder-black);
  color: var(--founder-white);
  font-size: 13px;
  box-shadow: 4px 4px 0 #323239;
  clip-path: none;
}

.location-actions button:hover,
.drop-submit:hover {
  background: var(--founder-white);
  color: var(--founder-black);
  box-shadow: 4px 4px 0 var(--founder-blue);
}

.drop-submit { background: var(--founder-blue); color: #02070b; font-size: 16px; }
.location-status { min-height: 36px; color: var(--founder-white); font-size: 11px; }
.location-status.is-locked { color: var(--founder-green); }
.location-privacy { color: var(--founder-muted); font-size: 9px; }

.activity-list { width: min(900px, 76%); }
.activity-list button { min-height: 56px; border-color: #34343b; color: var(--founder-white); font-size: 12px; }
.activity-list button:hover { background: rgba(57, 169, 255, .12); }
.activity-list span { border-color: #44444d; font-size: 9px; }
.people-list-avatar { border-color: var(--founder-white); }
.empty-people { color: var(--founder-muted); font-size: 14px; }

.help-grid { gap: 12px; width: min(980px, 78%); }
.help-grid p { min-height: 190px; padding: 30px; border: 1px solid #3f3f46; background: var(--founder-raised); font-size: 12px; line-height: 1.8; }
.help-grid b { color: var(--founder-blue); font-size: clamp(17px, 1.6vw, 24px); }

.message-list { width: min(760px, 72%); }
.message-list p { padding: 20px; border-color: #3b3b42; font-size: 13px; }
.message-list span { font-size: 11px; }
.status-dot { border-color: var(--founder-white); }
.status-dot--green { background: var(--founder-green); }
.status-dot--orange { background: var(--founder-blue); }

.world-marker span {
  border-color: var(--founder-white);
  background: var(--founder-black);
  box-shadow: 0 0 0 3px rgba(57, 169, 255, .38);
}

.world-marker span::after {
  border-color: var(--founder-white);
  background: var(--founder-black);
}

.world-marker--preview span,
.world-marker--preview span::after { background: var(--founder-blue); }

.real-map .maplibregl-popup-content {
  border: 2px solid var(--founder-white);
  background: var(--founder-black);
  color: var(--founder-white);
  box-shadow: 5px 5px 0 var(--founder-blue);
}

.real-map .maplibregl-popup-close-button { color: var(--founder-white); font-size: 20px; }
.world-popup { min-width: 235px; gap: 8px; padding: 16px 34px 15px 15px; }
.world-popup strong { font-size: 16px; }
.world-popup span, .world-popup small { font-size: 10px; }
.world-popup-profile > img { border-color: var(--founder-white); }
.world-popup a { border: 0; background: var(--founder-white); color: var(--founder-black); padding: 8px 10px; font-size: 9px; }

.pin-popup {
  width: min(410px, calc(100% - 40px));
  padding: 16px 18px;
  border: 2px solid var(--founder-white);
  border-left: 8px solid var(--founder-blue);
  background: var(--founder-black);
  color: var(--founder-white);
  font-size: 13px;
  box-shadow: 5px 5px 0 rgba(57, 169, 255, .52);
}

.pin-popup b { font-size: 18px; }
.pin-popup span { color: var(--founder-blue); }
.pin-popup small { border-color: #424249; color: var(--founder-muted); font-size: 10px; }

.toast {
  padding: 15px 18px;
  border: 2px solid var(--founder-white);
  border-left: 7px solid var(--founder-green);
  background: var(--founder-black);
  color: var(--founder-white);
  font-size: 13px;
  box-shadow: 5px 5px 0 rgba(57, 169, 255, .48);
}

.boot-screen {
  background:
    radial-gradient(circle at 50% 32%, rgba(57, 169, 255, .18), transparent 27%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    var(--founder-black);
  background-size: auto, 32px 32px, 32px 32px, auto;
  color: var(--founder-white);
}

.boot-screen::after { background: radial-gradient(circle at center, transparent 0 28%, rgba(0, 0, 0, .62) 88%); }
.boot-code { color: rgba(255, 255, 255, .24); font-size: 11px; }

.signal-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 19%;
  background: repeating-linear-gradient(to bottom, var(--founder-blue) 0 7px, transparent 7px 13px);
  box-shadow: 0 0 12px rgba(57, 169, 255, .75);
  animation: founder-signal-drop 700ms steps(12) both;
}

.boot-x-mark {
  position: absolute;
  top: 15%;
  left: 50%;
  width: 92px;
  height: 92px;
  border: 2px solid var(--founder-white);
  background: var(--founder-black);
  box-shadow: 7px 7px 0 var(--founder-blue);
  transform: translateX(-50%);
  animation: founder-x-drop 700ms steps(12) both;
}

.boot-x-mark::before,
.founder-x-mark i::before {
  position: absolute;
  inset: 17%;
  background: var(--founder-white);
  clip-path: polygon(0 0, 28% 0, 50% 34%, 72% 0, 100% 0, 66% 50%, 100% 100%, 72% 100%, 50% 66%, 28% 100%, 0 100%, 34% 50%);
  content: "";
}

@keyframes founder-signal-drop { from { height: 0; } to { height: 19%; } }
@keyframes founder-x-drop { from { top: -110px; } to { top: 15%; } }

.boot-screen.is-ready .signal-line,
.boot-screen.is-ready .boot-x-mark { opacity: 1; }

.boot-copy { top: 43%; width: min(680px, 86%); color: var(--founder-white); }
.boot-copy p { margin-bottom: 24px; }
.boot-copy p b { display: block; font-size: clamp(28px, 4vw, 58px); font-weight: 400; letter-spacing: -.02em; line-height: .98; }
.boot-copy p span { display: block; margin-top: 15px; color: var(--founder-muted); font-size: clamp(12px, 1.2vw, 17px); letter-spacing: .04em; }
.boot-copy small { color: var(--founder-muted); font-size: 11px; }
.loading-bars i { background: var(--founder-blue); }
.audio-choice button { min-width: 180px; padding: 11px 15px; border: 2px solid var(--founder-white); background: var(--founder-black); color: var(--founder-white); font-size: 12px; }
.audio-choice button:hover { background: var(--founder-white); color: var(--founder-black); }

.tutorial { background: rgba(5, 5, 5, .92); }
.tutorial-title { color: var(--founder-white); font-size: clamp(18px, 2.2vw, 34px); line-height: 1.15; }
.tutorial-label { color: var(--founder-blue); font-size: 11px; }

.ticker-deck { background: var(--founder-black); }
.ticker-window {
  right: 76px;
  left: 242px;
  border: 2px solid #3b3b42;
  background: var(--founder-black);
  color: var(--founder-white);
  box-shadow: none;
  clip-path: none;
}

.ticker-window span { font-size: 16px; }

.founder-x-mark {
  position: absolute;
  z-index: 5;
  bottom: 2px;
  left: -6px;
  display: grid;
  grid-template-columns: 54px auto;
  align-items: center;
  gap: 10px;
  width: 225px;
  color: var(--founder-white);
}

.founder-x-mark i {
  position: relative;
  width: 54px;
  height: 54px;
  border: 2px solid var(--founder-white);
  background: var(--founder-black);
  box-shadow: 4px 4px 0 var(--founder-blue);
}

.founder-x-mark span { font-size: 13px; letter-spacing: .08em; line-height: 1.15; }

.sound-button {
  top: 10px;
  right: 4px;
  width: 58px;
  height: 42px;
  border: 2px solid var(--founder-white);
  background: var(--founder-black);
  color: var(--founder-white);
  box-shadow: 3px 3px 0 rgba(57, 169, 255, .5);
  clip-path: none;
}

.sound-button.is-on { background: var(--founder-white); color: var(--founder-black); }
.sound-glyph { font-size: 15px; letter-spacing: -.08em; }

@media (max-width: 700px) {
  .tracker-frame {
    box-shadow: inset 0 0 0 1px var(--founder-white), inset 0 0 0 5px #111116;
  }

  .screen { top: 40px; right: 18px; bottom: 55px; left: 18px; }
  .tracker-wordmark { top: 7px; font-size: 11px; }
  .tracker-wordmark b { width: 28px; height: 28px; font-size: 17px; }
  .tracker-wordmark small { display: none; }
  .corner-button { width: 46px; }
  .menu-toggle { left: 4px; }
  .message-toggle { right: 4px; }
  .status-beacon { width: 25px; height: 25px; }

  .sighting-count { top: 28px; min-width: 150px; padding: 7px 10px; font-size: 11px; }
  .sighting-count #peopleCount { font-size: 17px; }

  .auth-dock {
    top: 86px;
    right: 8px;
    bottom: auto;
    min-width: 196px;
    max-width: calc(100% - 62px);
    transform: translateX(130%);
  }

  .app.is-live .auth-dock { transform: translateX(0); }
  .auth-signed-in { grid-template-columns: 31px minmax(0, 1fr) auto; }
  .auth-avatar { width: 31px; height: 31px; }
  .x-auth-button { min-height: 37px; }

  .main-menu { width: calc(100% - 12px); }
  .main-menu nav { padding: 78px 30px 20px; }
  .main-menu button { min-height: 58px; font-size: 17px; }

  .content-panel header { padding: 45px 17px 8px 50px; }
  .content-panel h2 { font-size: 19px; }
  .drop-form { gap: 9px; width: 86%; margin-top: 2%; }
  .drop-kicker { font-size: 14px; }
  .drop-profile { min-height: 50px; }
  .drop-profile-avatar { width: 38px; height: 38px; }
  .drop-profile b { font-size: 10px; }
  .location-actions button, .drop-submit { min-height: 38px; font-size: 9px; }
  .drop-submit { font-size: 11px; }
  .location-status { min-height: 29px; padding: 7px; font-size: 8px; }
  .location-privacy { font-size: 7px; }

  .help-grid { width: 82%; }
  .help-grid p { min-height: 78px; padding: 13px; font-size: 8px; }
  .help-grid b { font-size: 12px; }
  .message-list p { padding: 14px; }

  .boot-x-mark { top: 14%; width: 70px; height: 70px; }
  @keyframes founder-x-drop { from { top: -90px; } to { top: 14%; } }
  .signal-line { height: 18%; }
  .boot-copy { top: 40%; width: 88%; }
  .boot-copy p b { font-size: clamp(27px, 8vw, 40px); }
  .boot-copy p span { font-size: 11px; }
  .boot-copy small { margin: 12px 0 9px; font-size: 8px; }
  .audio-choice button { min-width: 123px; padding: 8px 9px; font-size: 9px; }

  .ticker-deck { right: 5px; left: 12px; }
  .founder-x-mark { left: -5px; grid-template-columns: 48px; width: 48px; }
  .founder-x-mark i { width: 48px; height: 48px; }
  .founder-x-mark span { display: none; }
  .ticker-window { right: 49px; left: 54px; }
  .ticker-window span { font-size: 11px; }
  .sound-button { right: 0; width: 42px; height: 40px; }

  .pin-popup { right: 8px; bottom: 8px; padding: 12px; }
  .pin-popup b { font-size: 14px; }
  .toast { right: 10px; bottom: 10px; max-width: calc(100% - 20px); font-size: 10px; }
}

/* Larger network banners + direct profile controls */
.screen { bottom: 86px; }

.sighting-count {
  min-width: 238px;
  padding: 13px 22px 11px;
  font-size: 18px;
}

.sighting-count #peopleCount { font-size: 29px; }
.sighting-count small { font-size: 9px; }

.auth-dock { min-width: 360px; }

.auth-signed-out,
.auth-signed-in {
  min-height: 56px;
  padding: 8px;
}

.auth-signed-out > span { font-size: 10px; }

.auth-profile-actions {
  display: flex;
  gap: 5px;
}

.x-auth-button,
.panel-auth-button,
.auth-signed-in button {
  min-height: 36px;
  padding: 9px 11px;
  font-size: 10px;
}

.auth-status {
  padding: 6px 9px;
  font-size: 8px;
}

.auth-remove-pin {
  border-color: #ff6b6b !important;
  background: #180b0d !important;
  color: #ff9a9a !important;
}

.auth-remove-pin[data-armed="true"] {
  background: #ff5a62 !important;
  color: #050505 !important;
}

.auth-remove-pin[hidden] { display: none; }

.ticker-deck {
  height: 74px;
  background: var(--founder-black);
}

.ticker-window {
  top: 10px;
  right: 86px;
  left: 286px;
  height: 54px;
}

.ticker-window span { font-size: 19px; }

.founder-x-mark {
  grid-template-columns: 66px auto;
  width: 270px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.founder-x-mark i {
  width: 66px;
  height: 66px;
}

.founder-x-mark span {
  font-size: 15px;
  line-height: 1.2;
}

.founder-x-mark:hover i,
.founder-x-mark:focus-visible i {
  background: var(--founder-white);
  box-shadow: 5px 5px 0 var(--founder-blue);
}

.founder-x-mark:hover i::before,
.founder-x-mark:focus-visible i::before { background: var(--founder-black); }

.sound-button {
  right: 5px;
  width: 68px;
  height: 54px;
}

@media (max-width: 700px) {
  .screen { bottom: 66px; }
  .sighting-count { min-width: 174px; padding: 9px 12px; font-size: 12px; }
  .sighting-count #peopleCount { font-size: 20px; }

  .auth-dock {
    top: 97px;
    min-width: 222px;
  }

  .auth-signed-in {
    grid-template-columns: 31px minmax(0, 1fr);
  }

  .auth-profile-actions {
    grid-column: 1 / -1;
  }

  .auth-profile-actions button { flex: 1; }

  .auth-signed-out { justify-content: stretch; }
  .auth-signed-out .x-auth-button { flex: 1; }

  .ticker-deck { right: 5px; left: 12px; height: 62px; }
  .founder-x-mark { left: -5px; grid-template-columns: 54px; width: 54px; }
  .founder-x-mark i { width: 54px; height: 54px; }
  .founder-x-mark span { display: none; }
  .ticker-window { top: 8px; right: 52px; left: 60px; height: 46px; }
  .ticker-window span { font-size: 12px; }
  .sound-button { top: 8px; right: 0; width: 46px; height: 46px; }
}

/* Fictional founder JRPG intro */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.boot-center {
  transition: opacity 220ms steps(4), transform 220ms steps(4);
}

.founder-intro {
  position: absolute;
  inset: 0;
  z-index: 9;
  overflow: hidden;
  visibility: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(57, 169, 255, .2), transparent 34%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    #050505;
  background-size: auto, 32px 32px, 32px 32px, auto;
  color: var(--founder-white);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.025);
  transition: opacity 220ms steps(4), transform 220ms steps(4), visibility 220ms;
}

.founder-intro::before {
  position: absolute;
  inset: 0;
  z-index: 5;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(57, 169, 255, .1), transparent 10% 90%, rgba(57, 169, 255, .1)),
    repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, .17) 4px);
}

.boot-screen.is-founder-intro .boot-center {
  opacity: 0;
  pointer-events: none;
  transform: scale(.97);
}

.boot-screen.is-founder-intro .boot-code {
  opacity: 0;
}

.boot-screen.is-founder-intro .founder-intro {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.founder-intro-header {
  position: absolute;
  z-index: 7;
  top: 20px;
  right: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--founder-muted);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 9px;
  letter-spacing: .04em;
}

.founder-intro-header span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.founder-intro-header i {
  width: 8px;
  height: 8px;
  background: var(--founder-green);
  box-shadow: 0 0 12px rgba(83, 240, 140, .8);
  animation: founder-live-dot 1.1s steps(2) infinite;
}

.founder-intro-header button {
  padding: 8px 0;
  background: transparent;
  color: var(--founder-white);
  font-size: 9px;
  cursor: pointer;
}

.founder-intro-header button:hover {
  color: var(--founder-blue);
}

@keyframes founder-live-dot {
  50% { opacity: .25; }
}

.founder-characters {
  position: absolute;
  z-index: 2;
  top: 46px;
  right: 6%;
  bottom: 172px;
  left: 6%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}

.founder-character {
  position: relative;
  display: grid;
  margin: 0;
  place-items: end center;
  transition: opacity 200ms steps(4), filter 200ms steps(4), transform 200ms steps(4);
}

.founder-sprite {
  display: block;
  width: clamp(220px, 25vw, 350px);
  aspect-ratio: 3 / 4;
  background-image: url("./assets/founders/founder-intro-sprites.webp");
  background-repeat: no-repeat;
  background-size: 200% 100%;
  filter: drop-shadow(9px 10px 0 rgba(0, 0, 0, .72));
  image-rendering: pixelated;
}

.founder-sprite--elon { background-position: left top; }
.founder-sprite--steve { background-position: right top; }

.founder-character figcaption {
  position: absolute;
  right: 50%;
  bottom: 7px;
  padding: 7px 10px;
  border: 2px solid var(--founder-white);
  background: var(--founder-black);
  color: var(--founder-white);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 9px;
  box-shadow: 4px 4px 0 var(--founder-blue);
  transform: translateX(50%);
}

.founder-intro[data-scene="elon"] .founder-character--steve,
.founder-intro[data-scene="steve"] .founder-character--elon {
  opacity: .18;
  filter: grayscale(1);
  transform: translateY(12px) scale(.94);
}

.founder-intro[data-scene="elon"] .founder-character--elon,
.founder-intro[data-scene="steve"] .founder-character--steve,
.founder-intro[data-scene="both"] .founder-character {
  opacity: 1;
  filter: none;
  transform: translateY(0) scale(1);
}

.founder-dialogue {
  position: absolute;
  z-index: 8;
  right: 50%;
  bottom: 24px;
  display: grid;
  width: min(980px, calc(100% - 64px));
  min-height: 190px;
  grid-template-rows: auto 1fr auto;
  gap: 13px;
  padding: 18px 20px 16px;
  border: 3px solid var(--founder-white);
  border-left: 10px solid var(--founder-blue);
  background: rgba(5, 5, 5, .97);
  box-shadow: 9px 9px 0 rgba(57, 169, 255, .45);
  transform: translateX(50%);
}

.founder-dialogue-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #34343b;
  font-family: "Press Start 2P", "Courier New", monospace;
}

.founder-dialogue-meta strong {
  color: var(--founder-blue);
  font-size: 10px;
  font-weight: 400;
}

.founder-dialogue-meta span {
  color: #757b82;
  font-size: 7px;
  text-align: right;
}

.founder-dialogue-copy {
  align-self: center;
  margin: 0;
  color: var(--founder-white);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: clamp(13px, 1.35vw, 18px);
  letter-spacing: .02em;
  line-height: 1.65;
}

.founder-dialogue-copy::after {
  display: inline-block;
  width: .65em;
  height: 1em;
  margin-left: .35em;
  background: var(--founder-blue);
  content: "";
  vertical-align: -.12em;
  animation: founder-caret 700ms steps(2) infinite;
}

@keyframes founder-caret {
  50% { opacity: 0; }
}

.founder-dialogue-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.founder-dialogue-actions > div {
  display: flex;
  gap: 8px;
}

.founder-dialogue-actions button {
  min-width: 116px;
  padding: 10px 12px;
  border: 2px solid var(--founder-white);
  background: var(--founder-black);
  color: var(--founder-white);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 9px;
  cursor: pointer;
}

.founder-dialogue-actions button:last-child {
  border-color: var(--founder-blue);
  background: var(--founder-blue);
  color: var(--founder-black);
}

.founder-dialogue-actions button:hover:not(:disabled) {
  background: var(--founder-white);
  color: var(--founder-black);
}

.founder-dialogue-actions button:disabled {
  border-color: #38383e;
  color: #55555c;
  cursor: not-allowed;
}

.founder-dialogue-progress {
  display: flex;
  gap: 7px;
  padding-bottom: 2px;
}

.founder-dialogue-progress i {
  width: 22px;
  height: 5px;
  background: #38383e;
}

.founder-dialogue-progress i.is-active {
  background: var(--founder-blue);
  box-shadow: 0 0 9px rgba(57, 169, 255, .65);
}

@media (max-width: 700px) {
  .founder-intro-header {
    top: 14px;
    right: 13px;
    left: 13px;
    font-size: 6px;
  }

  .founder-intro-header button {
    font-size: 7px;
  }

  .founder-characters {
    top: 43px;
    right: 2%;
    bottom: 250px;
    left: 2%;
  }

  .founder-sprite {
    width: min(43vw, 200px);
  }

  .founder-character figcaption {
    bottom: 2px;
    padding: 5px 7px;
    font-size: 6px;
    box-shadow: 3px 3px 0 var(--founder-blue);
  }

  .founder-dialogue {
    bottom: 11px;
    width: calc(100% - 22px);
    min-height: 235px;
    gap: 9px;
    padding: 12px 12px 11px;
    border-width: 2px;
    border-left-width: 7px;
    box-shadow: 5px 5px 0 rgba(57, 169, 255, .45);
  }

  .founder-dialogue-meta {
    display: grid;
    gap: 6px;
    padding-bottom: 8px;
  }

  .founder-dialogue-meta strong { font-size: 7px; }
  .founder-dialogue-meta span { font-size: 5px; text-align: left; }

  .founder-dialogue-copy {
    font-size: clamp(9px, 2.75vw, 12px);
    line-height: 1.65;
  }

  .founder-dialogue-actions {
    align-items: center;
  }

  .founder-dialogue-actions button {
    min-width: 82px;
    padding: 9px 7px;
    font-size: 7px;
  }

  .founder-dialogue-progress i {
    width: 13px;
    height: 4px;
  }
}

/* Home command layer + expanded founder identity card */
.home-brief {
  position: absolute;
  z-index: 12;
  top: 50%;
  left: 27px;
  display: grid;
  width: clamp(310px, 27vw, 380px);
  gap: 14px;
  padding: 22px 22px 17px;
  border: 2px solid var(--founder-white);
  border-left: 9px solid var(--founder-blue);
  background:
    linear-gradient(135deg, rgba(57, 169, 255, .08), transparent 38%),
    rgba(5, 5, 5, .93);
  color: var(--founder-white);
  box-shadow: 8px 8px 0 rgba(57, 169, 255, .4);
  opacity: 0;
  pointer-events: none;
  transform: translate(-120%, -48%);
  transition: transform 360ms steps(7) 690ms, opacity 180ms steps(3) 690ms;
}

.app.is-live .home-brief {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -48%);
}

.app.is-picking-location .home-brief {
  opacity: 0;
  pointer-events: none;
  transform: translate(-115%, -48%);
}

.home-brief-index {
  color: var(--founder-blue);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 8px;
  letter-spacing: .07em;
}

.home-brief h2 {
  margin: 0;
  color: var(--founder-white);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: clamp(23px, 2.25vw, 34px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.16;
}

.home-brief p {
  max-width: 36ch;
  margin: 0;
  color: #a9b0b7;
  font-size: 11px;
  letter-spacing: .045em;
  line-height: 1.65;
}

.home-brief-actions {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 7px;
}

.home-brief-actions button {
  min-height: 46px;
  padding: 9px 11px;
  border: 2px solid #44444c;
  background: var(--founder-black);
  color: var(--founder-white);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 7px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 120ms steps(2), background 120ms steps(2), color 120ms steps(2), transform 120ms steps(2);
}

.home-brief-actions button:first-child {
  border-color: var(--founder-blue);
  background: var(--founder-blue);
  color: var(--founder-black);
}

.home-brief-actions button:first-child span {
  padding-left: 5px;
  font-size: 12px;
}

.home-brief-actions button:hover,
.home-brief-actions button:focus-visible {
  border-color: var(--founder-white);
  background: var(--founder-white);
  color: var(--founder-black);
  transform: translate(-2px, -2px);
}

.home-brief footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #34343a;
  color: #747b82;
  font-size: 7px;
  letter-spacing: .06em;
}

.home-brief footer span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--founder-green);
}

.home-brief footer i {
  width: 7px;
  height: 7px;
  background: var(--founder-green);
  box-shadow: 0 0 10px rgba(83, 240, 140, .75);
  animation: founder-live-dot 1.1s steps(2) infinite;
}

.auth-dock {
  top: 18px;
  right: 18px;
  width: clamp(410px, 32vw, 488px);
  min-width: 0;
  border: 2px solid var(--founder-white);
  border-top: 5px solid var(--founder-blue);
  background:
    linear-gradient(125deg, rgba(57, 169, 255, .1), transparent 36%),
    rgba(5, 5, 5, .96);
  box-shadow: 7px 7px 0 rgba(57, 169, 255, .48);
}

.auth-dock-header {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 13px;
  border-bottom: 1px solid #38383f;
  background: rgba(255, 255, 255, .035);
  font-family: "Press Start 2P", "Courier New", monospace;
}

.auth-dock-header > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--founder-white);
  font-size: 9px;
}

.auth-dock-header i {
  width: 8px;
  height: 8px;
  background: var(--founder-blue);
  box-shadow: 0 0 10px rgba(57, 169, 255, .7);
}

.auth-dock-header small {
  color: #6f767d;
  font-size: 6px;
  letter-spacing: .05em;
}

.auth-signed-out {
  display: grid;
  min-height: 122px;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 9px 13px;
  padding: 14px;
}

.auth-signed-out[hidden],
.auth-signed-in[hidden] {
  display: none;
}

.auth-signed-out > .auth-connect-mark {
  display: grid;
  width: 64px;
  height: 64px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--founder-white);
  background: var(--founder-white);
  color: var(--founder-black);
  font-family: "Space Mono", monospace;
  font-size: 34px;
  line-height: 1;
  box-shadow: 4px 4px 0 rgba(57, 169, 255, .6);
}

.auth-signed-out > .auth-connect-copy {
  display: grid;
  gap: 7px;
  padding: 0;
}

.auth-connect-copy b {
  color: var(--founder-white);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.35;
}

.auth-connect-copy small {
  color: #8f969e;
  font-size: 8px;
  letter-spacing: .04em;
  line-height: 1.55;
}

.auth-signed-out .x-auth-button {
  display: grid;
  min-height: 48px;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 2px solid var(--founder-blue);
  background: var(--founder-blue);
  color: var(--founder-black);
  font-family: "Press Start 2P", "Courier New", monospace;
  text-align: left;
}

.auth-signed-out .x-auth-button b {
  font-family: "Space Mono", monospace;
  font-size: 20px;
}

.auth-signed-out .x-auth-button span {
  font-size: 9px;
}

.auth-signed-out .x-auth-button i {
  font-family: "Space Mono", monospace;
  font-size: 20px;
  font-style: normal;
}

.auth-signed-out .x-auth-button:hover,
.auth-signed-out .x-auth-button:focus-visible {
  background: var(--founder-white);
  color: var(--founder-black);
}

.auth-signed-in {
  display: grid;
  min-height: 112px;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 10px 14px;
  padding: 14px;
}

.auth-avatar {
  width: 66px;
  height: 66px;
  border: 3px solid var(--founder-blue);
  border-radius: 0;
  box-shadow: 4px 4px 0 rgba(57, 169, 255, .38);
}

.auth-signed-in > .auth-identity {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.auth-identity em {
  color: var(--founder-green);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 6px;
  font-style: normal;
  letter-spacing: .06em;
}

.auth-signed-in .auth-identity b {
  color: var(--founder-white);
  font-size: 15px;
  line-height: 1.3;
}

.auth-signed-in .auth-identity small {
  color: var(--founder-blue);
  font-size: 11px;
}

.auth-profile-actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 7px;
}

.auth-profile-actions button {
  min-height: 39px;
  flex: 1;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 7px;
}

.auth-status {
  min-height: 28px;
  padding: 8px 13px;
  border-top: 1px solid #38383f;
  color: #8f969e;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 6px;
  letter-spacing: .06em;
  line-height: 1.45;
}

@media (max-width: 1000px) and (min-width: 701px) {
  .home-brief {
    width: 300px;
    padding: 18px;
  }

  .home-brief h2 { font-size: 22px; }
  .home-brief p { font-size: 9px; }
  .auth-dock { width: 380px; }
}

@media (max-width: 700px) {
  .sighting-count {
    top: 20px;
    min-width: 164px;
  }

  .auth-dock {
    top: 74px;
    right: 8px;
    left: 8px;
    width: auto;
    min-width: 0;
    border-top-width: 4px;
    box-shadow: 5px 5px 0 rgba(57, 169, 255, .45);
    transform: translateX(115%);
  }

  .app.is-live .auth-dock { transform: translateX(0); }

  .auth-dock-header {
    min-height: 34px;
    padding: 7px 9px;
  }

  .auth-dock-header > span { font-size: 7px; }
  .auth-dock-header small { font-size: 5px; }

  .auth-signed-out {
    min-height: 0;
    grid-template-columns: 49px minmax(0, 1fr);
    gap: 7px 10px;
    padding: 9px;
  }

  .auth-signed-out > .auth-connect-mark {
    width: 49px;
    height: 49px;
    font-size: 27px;
    box-shadow: 3px 3px 0 rgba(57, 169, 255, .55);
  }

  .auth-connect-copy { gap: 4px; }
  .auth-connect-copy b { font-size: 7px; }
  .auth-connect-copy small { font-size: 6px; line-height: 1.4; }

  .auth-signed-out .x-auth-button {
    min-height: 40px;
    padding: 7px 10px;
  }

  .auth-signed-out .x-auth-button span { font-size: 7px; }

  .auth-signed-in {
    min-height: 0;
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 10px;
  }

  .auth-avatar { width: 54px; height: 54px; }
  .auth-signed-in .auth-identity b { font-size: 12px; }
  .auth-signed-in .auth-identity small { font-size: 9px; }
  .auth-profile-actions { grid-column: 1 / -1; }
  .auth-status { min-height: 24px; padding: 6px 9px; font-size: 5px; }

  .home-brief {
    top: auto;
    right: 12px;
    bottom: 13px;
    left: 12px;
    width: auto;
    gap: 9px;
    padding: 14px 14px 11px;
    border-left-width: 6px;
    box-shadow: 5px 5px 0 rgba(57, 169, 255, .38);
    transform: translateY(125%);
  }

  .app.is-live .home-brief { transform: translateY(0); }
  .app.is-picking-location .home-brief { transform: translateY(125%); }
  .home-brief-index { font-size: 6px; }
  .home-brief h2 { font-size: 19px; line-height: 1.12; }
  .home-brief p { max-width: none; font-size: 7px; line-height: 1.45; }
  .home-brief-actions { grid-template-columns: 1.25fr 1fr; }
  .home-brief-actions button { min-height: 39px; padding: 7px; font-size: 6px; }
  .home-brief footer { padding-top: 7px; font-size: 5px; }
}

/* X-native launch screen */
.boot-screen:not(.is-founder-intro) {
  background:
    linear-gradient(116deg, transparent 0 69%, rgba(57, 169, 255, .08) 69% 69.3%, transparent 69.3%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    #050505;
  background-size: auto, 32px 32px, 32px 32px, auto;
}

.boot-screen:not(.is-founder-intro)::after {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .08), transparent 45%, rgba(5, 5, 5, .28)),
    radial-gradient(circle at 74% 49%, rgba(57, 169, 255, .12), transparent 25%);
}

.boot-screen:not(.is-founder-intro) .signal-line {
  left: 76%;
  height: 31%;
  background: repeating-linear-gradient(to bottom, var(--founder-blue) 0 8px, transparent 8px 15px);
  animation: x-home-signal 760ms steps(12) both;
}

.boot-screen:not(.is-founder-intro) .boot-x-mark {
  top: 27%;
  left: 76%;
  width: clamp(150px, 15vw, 215px);
  height: clamp(150px, 15vw, 215px);
  border: 3px solid var(--founder-white);
  box-shadow: 12px 12px 0 var(--founder-blue);
  animation: x-home-logo 760ms steps(12) both;
}

@keyframes x-home-signal {
  from { height: 0; }
  to { height: 31%; }
}

@keyframes x-home-logo {
  from { top: -240px; }
  to { top: 27%; }
}

.boot-screen:not(.is-founder-intro) .boot-copy {
  top: 50%;
  left: 7%;
  display: grid;
  width: min(610px, 53%);
  gap: 18px;
  color: var(--founder-white);
  text-align: left;
  transform: translateY(-45%);
}

.boot-home-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--founder-blue);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 8px;
  letter-spacing: .07em;
}

.boot-home-kicker i {
  width: 9px;
  height: 9px;
  background: var(--founder-green);
  box-shadow: 0 0 11px rgba(83, 240, 140, .75);
  animation: founder-live-dot 1.1s steps(2) infinite;
}

.boot-screen:not(.is-founder-intro) .boot-copy h2 {
  margin: 0;
  color: var(--founder-white);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: clamp(34px, 4.5vw, 68px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.06;
}

.boot-screen:not(.is-founder-intro) .boot-copy h2 em {
  color: var(--founder-blue);
  font-style: normal;
}

.boot-screen:not(.is-founder-intro) .boot-home-description {
  max-width: 58ch;
  margin: 0;
  color: #a7aeb5;
  font-size: clamp(10px, 1vw, 14px);
  letter-spacing: .045em;
  line-height: 1.65;
}

.boot-home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #3b3b42;
  border-bottom: 1px solid #3b3b42;
}

.boot-home-stats span {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-right: 1px solid #3b3b42;
  color: #858c93;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 6px;
  text-align: center;
}

.boot-home-stats span:last-child { border-right: 0; }
.boot-home-stats b { margin-right: 4px; color: var(--founder-white); font-size: 8px; }

.boot-screen:not(.is-founder-intro) .audio-choice {
  justify-content: flex-start;
}

.boot-screen:not(.is-founder-intro) .audio-choice button {
  min-width: 190px;
  min-height: 46px;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 8px;
}

.boot-screen:not(.is-founder-intro) .audio-choice button:first-child {
  border-color: var(--founder-white);
  background: var(--founder-white);
  color: var(--founder-black);
}

.boot-screen:not(.is-founder-intro) .audio-choice button:first-child:hover {
  border-color: var(--founder-blue);
  background: var(--founder-blue);
}

.boot-screen:not(.is-founder-intro) .boot-copy > small {
  margin: -8px 0 0;
  color: #686f76;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 6px;
  letter-spacing: .06em;
}

/* Lift the speakers above the dialogue box while keeping their full silhouettes visible */
.founder-characters { bottom: 195px; }
.founder-sprite { width: clamp(215px, 23vw, 320px); }

/* Builder project fields */
.project-fields {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.project-fields label {
  min-width: 0;
  padding: 12px;
  border: 1px solid #3d3d45;
  background: var(--founder-raised);
}

.project-fields label > span {
  display: flex;
  justify-content: space-between;
  color: var(--founder-white);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 7px;
}

.project-fields label > span small {
  color: #737a82;
  font-size: 5px;
}

.project-fields input {
  min-height: 44px;
  border-color: #4a4a52;
  background: var(--founder-black);
  color: var(--founder-white);
}

.project-fields input:focus { border-color: var(--founder-blue); }
.project-fields input:disabled { opacity: .42; cursor: not-allowed; }

/* Expanded project popups and X actions */
.world-popup {
  min-width: 300px;
  gap: 10px;
}

.world-popup-project {
  display: grid;
  gap: 5px;
  padding: 11px;
  border: 1px solid #3b3b42;
  border-left: 5px solid var(--founder-blue);
  background: var(--founder-raised);
}

.world-popup-project small {
  color: var(--founder-blue);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 6px;
}

.world-popup-project strong {
  color: var(--founder-white);
  font-size: 13px;
  line-height: 1.35;
}

.world-popup .world-popup-project-link {
  width: max-content;
  padding: 0;
  border-bottom: 1px solid var(--founder-blue);
  background: transparent;
  color: var(--founder-blue);
  font-size: 8px;
}

.world-popup-coordinates {
  color: #8d949b;
  font-size: 8px !important;
}

.world-popup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.world-popup .world-popup-x-link,
.world-popup .world-popup-share-link {
  display: grid;
  width: auto;
  min-height: 38px;
  margin: 0;
  padding: 8px;
  place-items: center;
  border: 1px solid var(--founder-white);
  background: var(--founder-white);
  color: var(--founder-black);
  font-size: 7px;
  text-align: center;
}

.world-popup .world-popup-share-link {
  border-color: var(--founder-blue);
  background: var(--founder-blue);
}

.world-popup .world-popup-x-link:hover,
.world-popup .world-popup-share-link:hover {
  background: var(--founder-black);
  color: var(--founder-white);
}

.auth-share-point {
  display: grid;
  min-height: 42px;
  grid-column: 1 / -1;
  place-items: center;
  border-color: var(--founder-blue) !important;
  background: var(--founder-blue) !important;
  color: var(--founder-black) !important;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 7px !important;
  text-decoration: none;
}

.auth-share-point:hover {
  background: var(--founder-white) !important;
}

.auth-share-point[hidden] { display: none; }

.home-brief footer a {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #727980;
  background: transparent;
  color: #a4abb2;
  font-size: 7px;
  letter-spacing: .06em;
  cursor: pointer;
  text-decoration: none;
}

.home-brief footer a:hover { border-color: var(--founder-blue); color: var(--founder-blue); }

.people-list button {
  grid-template-columns: 38px minmax(90px, .8fr) 105px minmax(130px, 1.2fr) 150px;
}

.people-list-project {
  overflow: hidden;
  color: var(--founder-blue);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .boot-screen:not(.is-founder-intro) .signal-line {
    left: 50%;
    height: 15%;
  }

  .boot-screen:not(.is-founder-intro) .boot-x-mark {
    top: 12%;
    left: 50%;
    width: 82px;
    height: 82px;
    border-width: 2px;
    box-shadow: 7px 7px 0 var(--founder-blue);
    animation-name: x-home-logo-mobile;
  }

  @keyframes x-home-logo-mobile {
    from { top: -110px; }
    to { top: 12%; }
  }

  .boot-screen:not(.is-founder-intro) .boot-copy {
    top: 34%;
    left: 7%;
    width: 86%;
    gap: 11px;
    transform: none;
  }

  .boot-home-kicker { font-size: 6px; }
  .boot-screen:not(.is-founder-intro) .boot-copy h2 { font-size: clamp(29px, 9.5vw, 42px); }
  .boot-screen:not(.is-founder-intro) .boot-home-description { font-size: 8px; line-height: 1.5; }
  .boot-home-stats span { min-height: 39px; font-size: 5px; }
  .boot-home-stats b { display: block; margin: 0 0 3px; font-size: 7px; }

  .boot-screen:not(.is-founder-intro) .audio-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .boot-screen:not(.is-founder-intro) .audio-choice button {
    min-width: 0;
    min-height: 42px;
    padding: 7px;
    font-size: 6px;
  }

  .boot-screen:not(.is-founder-intro) .boot-copy > small { font-size: 5px; }

  .founder-characters { bottom: 278px; }
  .founder-sprite { width: min(40vw, 184px); }

  .project-fields {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .project-fields label { padding: 8px; }
  .project-fields label > span { font-size: 6px; }
  .project-fields input { min-height: 37px; padding: 8px; font-size: 9px; }

  .people-list button {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 3px 7px;
  }

  .people-list-avatar { grid-row: 1 / 4; }
  .people-list-project { grid-column: 2 / -1; font-size: 6px; }
  .people-list time { grid-column: 2 / -1; text-align: left; }

  .home-brief footer a { font-size: 5px; }
}

/* Unified founder card, tighter launch composition, and project identity */
.boot-screen:not(.is-founder-intro) .boot-center::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 43%;
  border-left: 1px solid rgba(57, 169, 255, .34);
  background:
    linear-gradient(135deg, rgba(57, 169, 255, .09), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 63px, rgba(57, 169, 255, .035) 63px 64px);
  content: "";
}

.boot-screen:not(.is-founder-intro) .signal-line {
  z-index: 2;
  left: 75%;
  height: 32%;
}

.boot-screen:not(.is-founder-intro) .boot-x-mark {
  z-index: 2;
  top: 31%;
  left: 75%;
  width: clamp(210px, 17vw, 290px);
  height: clamp(210px, 17vw, 290px);
  border-width: 4px;
  box-shadow: 16px 16px 0 var(--founder-blue);
}

@keyframes x-home-signal {
  from { height: 0; }
  to { height: 32%; }
}

@keyframes x-home-logo {
  from { top: -310px; }
  to { top: 31%; }
}

.boot-screen:not(.is-founder-intro) .boot-copy {
  top: 50%;
  left: clamp(72px, 8vw, 160px);
  width: min(760px, 48vw);
  gap: clamp(15px, 1.65vw, 24px);
  transform: translateY(-50%);
}

.boot-screen:not(.is-founder-intro) .boot-copy h2 {
  font-size: clamp(42px, 5vw, 82px);
  line-height: 1.02;
}

.boot-screen:not(.is-founder-intro) .boot-home-description {
  max-width: 64ch;
  font-size: clamp(11px, 1.05vw, 16px);
}

.boot-screen:not(.is-founder-intro) .boot-home-stats span {
  min-height: 56px;
  font-size: 7px;
}

.boot-screen:not(.is-founder-intro) .audio-choice button {
  min-width: 210px;
  min-height: 52px;
  font-size: 9px;
}

.home-brief {
  left: clamp(24px, 4vw, 68px);
  width: clamp(360px, 29vw, 470px);
  gap: 16px;
  padding: 28px 28px 21px;
}

.home-brief h2 { font-size: clamp(27px, 2.7vw, 43px); }
.home-brief p { max-width: 42ch; font-size: 12px; }
.home-brief-actions button { min-height: 52px; font-size: 8px; }

.auth-dock {
  top: 50%;
  right: clamp(24px, 4vw, 68px);
  width: clamp(420px, 32vw, 520px);
  max-height: calc(100% - 36px);
  overflow: hidden;
  transform: translate(125%, -50%);
  transition: width 180ms steps(4), transform 360ms steps(7) 540ms, box-shadow 140ms steps(2);
}

.app.is-live .auth-dock { transform: translate(0, -50%); }

.auth-dock.is-expanded {
  width: clamp(500px, 39vw, 630px);
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 10px 10px 0 rgba(57, 169, 255, .52);
  scrollbar-color: var(--founder-blue) #17171c;
  scrollbar-width: thin;
}

.auth-dock-header > span:first-child {
  min-width: 0;
  font-size: 8px;
  line-height: 1.45;
}

.auth-dock-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.auth-dock-header-actions button {
  display: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #56565e;
  background: transparent;
  color: var(--founder-white);
  font-size: 17px;
  cursor: pointer;
}

.auth-dock.is-expanded .auth-dock-header-actions small { display: none; }
.auth-dock.is-expanded .auth-dock-header-actions button { display: grid; place-items: center; }

.founder-card-toggle {
  display: grid;
  min-height: 58px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-top: 1px solid #38383f;
  background: var(--founder-blue);
  color: var(--founder-black);
  text-align: left;
  cursor: pointer;
}

.founder-card-toggle > span {
  display: grid;
  gap: 5px;
}

.founder-card-toggle b {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 9px;
  font-weight: 400;
}

.founder-card-toggle small {
  font-size: 7px;
  letter-spacing: .08em;
}

.founder-card-toggle i {
  font-family: "Space Mono", monospace;
  font-size: 22px;
  font-style: normal;
}

.founder-card-toggle:hover,
.founder-card-toggle:focus-visible {
  background: var(--founder-white);
}

.auth-dock.is-expanded .founder-card-toggle {
  border-bottom: 1px solid #38383f;
  background: var(--founder-white);
}

.auth-dock .founder-card-form {
  display: grid;
  width: 100%;
  max-height: 0;
  grid-template-columns: 1fr;
  gap: 13px;
  margin: 0;
  padding: 0 16px;
  overflow: hidden;
  opacity: 0;
  transition: max-height 300ms steps(7), padding 220ms steps(5), opacity 160ms steps(3);
}

.auth-dock.is-expanded .founder-card-form {
  max-height: 720px;
  padding: 17px 16px 18px;
  opacity: 1;
}

.founder-claim-heading {
  display: grid;
  gap: 7px;
  padding: 0 0 12px;
  border-bottom: 1px solid #34343b;
}

.founder-claim-heading span {
  color: var(--founder-blue);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 6px;
}

.founder-claim-heading b {
  color: var(--founder-white);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.auth-dock .project-fields {
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.auth-dock .project-fields label {
  padding: 10px;
}

.project-url-control {
  position: relative;
  display: block !important;
}

.project-url-control input { padding-left: 43px !important; }

.project-favicon-preview {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 10px;
  width: 23px;
  height: 23px;
  border: 1px solid #5a5a63;
  background: var(--founder-black);
  object-fit: contain;
  image-rendering: auto;
  transform: translateY(-50%);
}

.project-favicon-preview[hidden],
.project-link-host[hidden] { display: none; }

.project-link-host {
  overflow: hidden;
  color: var(--founder-green) !important;
  font-size: 6px !important;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-dock .drop-form fieldset {
  display: grid;
  grid-column: 1;
  gap: 8px;
  padding: 11px;
  border: 1px solid #3d3d45;
  background: var(--founder-raised);
}

.auth-dock .drop-form legend {
  padding: 0 6px;
  color: var(--founder-blue);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 6px;
}

.auth-dock .location-actions button,
.auth-dock .drop-submit {
  min-height: 45px;
  font-size: 8px;
}

.auth-dock .location-status {
  min-height: 33px;
  font-size: 8px;
}

.auth-dock .location-privacy {
  grid-column: 1;
  font-size: 7px;
  line-height: 1.55;
}

.auth-dock .drop-submit {
  grid-column: 1;
  background: var(--founder-blue);
  color: var(--founder-black);
  font-size: 10px;
}

.project-favicon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid #55555d;
  background: #050505;
  object-fit: contain;
  image-rendering: auto;
}

.world-popup-project-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.world-popup-project-title strong { min-width: 0; }

.people-list-project {
  display: flex;
  align-items: center;
  gap: 7px;
}

.people-list-project .project-favicon {
  width: 18px;
  height: 18px;
}

@media (max-width: 1100px) and (min-width: 701px) {
  .home-brief {
    left: 20px;
    width: 320px;
    padding: 20px;
  }

  .auth-dock {
    right: 20px;
    width: 390px;
  }

  .auth-dock.is-expanded { width: 455px; }
  .app.is-founder-card-open .home-brief { opacity: .16; pointer-events: none; }
}

@media (max-width: 700px) {
  .boot-screen:not(.is-founder-intro) .boot-center::before { display: none; }

  .boot-screen:not(.is-founder-intro) .signal-line {
    left: 50%;
    height: 14%;
  }

  .boot-screen:not(.is-founder-intro) .boot-x-mark {
    top: 11%;
    left: 50%;
    width: 86px;
    height: 86px;
    border-width: 2px;
    box-shadow: 7px 7px 0 var(--founder-blue);
    animation-name: x-home-logo-unified-mobile;
  }

  @keyframes x-home-logo-unified-mobile {
    from { top: -110px; }
    to { top: 11%; }
  }

  .boot-screen:not(.is-founder-intro) .boot-copy {
    top: 31%;
    left: 7%;
    width: 86%;
    gap: 11px;
    transform: none;
  }

  .boot-screen:not(.is-founder-intro) .boot-copy h2 { font-size: clamp(30px, 10vw, 44px); }
  .boot-screen:not(.is-founder-intro) .boot-home-description { font-size: 8px; }
  .boot-screen:not(.is-founder-intro) .boot-home-stats span { min-height: 40px; font-size: 5px; }
  .boot-screen:not(.is-founder-intro) .audio-choice button { min-width: 0; min-height: 42px; font-size: 6px; }

  .auth-dock,
  .auth-dock.is-expanded {
    top: 72px;
    right: 8px;
    left: 8px;
    width: auto;
    max-height: calc(100% - 84px);
    transform: translateX(115%);
  }

  .app.is-live .auth-dock,
  .app.is-live .auth-dock.is-expanded { transform: translateX(0); }

  .auth-dock.is-expanded { bottom: 10px; overflow-y: auto; }
  .app.is-founder-card-open .home-brief { opacity: 0; pointer-events: none; transform: translateY(125%); }

  .auth-dock-header > span:first-child { font-size: 6px; }
  .auth-dock-header-actions small { font-size: 4px; }
  .founder-card-toggle { min-height: 46px; padding: 8px 10px; }
  .founder-card-toggle b { font-size: 7px; }
  .founder-card-toggle small { font-size: 5px; }
  .founder-card-toggle i { font-size: 18px; }

  .auth-dock.is-expanded .founder-card-form {
    max-height: 760px;
    padding: 12px 10px 14px;
  }

  .founder-claim-heading b { font-size: 10px; }
  .auth-dock .project-fields { grid-template-columns: 1fr; gap: 7px; }
  .auth-dock .project-fields label { padding: 8px; }
  .auth-dock .location-actions button,
  .auth-dock .drop-submit { min-height: 40px; font-size: 7px; }
  .project-link-host { font-size: 5px !important; }
}

/* Founder transmission stage + explicit audio control */
.boot-screen:not(.is-founder-intro) .audio-choice {
  display: flex;
  width: min(360px, 100%);
}

.boot-screen:not(.is-founder-intro) .audio-choice button:only-child {
  width: 100%;
  min-height: 56px;
  border-color: var(--founder-blue);
  background: var(--founder-blue);
  color: var(--founder-black);
  font-size: 11px;
  box-shadow: 7px 7px 0 rgba(255, 255, 255, .82);
}

.boot-screen:not(.is-founder-intro) .audio-choice button:only-child:hover,
.boot-screen:not(.is-founder-intro) .audio-choice button:only-child:focus-visible {
  border-color: var(--founder-white);
  background: var(--founder-white);
  box-shadow: 7px 7px 0 var(--founder-blue);
}

.boot-meta-row {
  display: flex;
  width: min(690px, 100%);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #686f76;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 6px;
  letter-spacing: .06em;
}

.boot-meta-row small {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.boot-meta-row span { color: #8f969e; white-space: nowrap; }
.boot-meta-row b { color: var(--founder-white); font-weight: 400; }

.founder-characters {
  top: 54px;
  right: 7%;
  bottom: clamp(245px, 30vh, 330px);
  left: 7%;
}

.founder-character { z-index: 2; }

.founder-sprite {
  width: clamp(200px, min(26vw, 34vh), 440px);
  filter: drop-shadow(12px 14px 0 rgba(0, 0, 0, .76));
}

.founder-intro[data-scene="elon"] .founder-character--steve,
.founder-intro[data-scene="steve"] .founder-character--elon {
  opacity: .38;
  filter: grayscale(.92) brightness(.78);
  transform: translateY(6px) scale(.97);
}

.founder-stage-signal {
  position: absolute;
  z-index: 1;
  top: clamp(28px, 6vh, 70px);
  left: 50%;
  display: grid;
  width: min(480px, 34vw);
  place-items: center;
  color: var(--founder-white);
  text-align: center;
  transform: translateX(-50%);
}

.founder-stage-signal::before,
.founder-stage-signal::after {
  width: 1px;
  height: clamp(16px, 3vh, 34px);
  background: repeating-linear-gradient(to bottom, var(--founder-blue) 0 5px, transparent 5px 10px);
  content: "";
}

.founder-stage-signal > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--founder-green);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 7px;
  letter-spacing: .08em;
}

.founder-stage-signal > span i {
  width: 7px;
  height: 7px;
  background: var(--founder-green);
  box-shadow: 0 0 10px rgba(83, 240, 140, .8);
  animation: founder-live-dot 1.1s steps(2) infinite;
}

.founder-stage-signal b {
  display: grid;
  gap: 2px;
  margin: 8px 0;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: clamp(30px, 3.8vw, 62px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.08;
  text-shadow: 5px 5px 0 rgba(57, 169, 255, .12);
}

.founder-signal-word {
  position: relative;
  color: rgba(245, 247, 248, .12);
  opacity: .72;
  transform: translateX(0) scale(1);
  transition: color 160ms steps(3), opacity 160ms steps(3), transform 160ms steps(3);
}

.founder-signal-word.is-complete {
  color: rgba(57, 169, 255, .36);
  opacity: 1;
  text-shadow: 3px 3px 0 rgba(57, 169, 255, .12);
}

.founder-signal-word.is-active {
  color: var(--founder-white);
  opacity: 1;
  text-shadow:
    5px 5px 0 var(--founder-blue),
    0 0 18px rgba(57, 169, 255, .9);
  animation:
    founder-signal-ignite 420ms steps(5) both,
    founder-signal-pulse 1.15s 420ms steps(2) infinite;
}

.founder-signal-word.is-active::before {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  color: var(--founder-green);
  font-size: .25em;
  content: "▶";
  text-shadow: 0 0 8px rgba(83, 240, 140, .9);
  transform: translateY(-50%);
}

@keyframes founder-signal-ignite {
  0% { color: rgba(245, 247, 248, .12); filter: brightness(.6); transform: translateX(-10px) scale(.96); }
  45% { color: var(--founder-green); filter: brightness(1.8); transform: translateX(5px) scale(1.035); }
  100% { color: var(--founder-white); filter: none; transform: translateX(0) scale(1); }
}

@keyframes founder-signal-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}

.founder-stage-signal small {
  color: #5f666d;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 6px;
  letter-spacing: .06em;
}

.ticker-window { right: 150px; }

.sound-button {
  right: 5px;
  display: grid;
  width: 132px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border-color: #4b4b52;
  background: var(--founder-black);
  color: #8e949a;
  text-align: left;
}

.sound-button:hover,
.sound-button:focus-visible {
  border-color: var(--founder-white);
  color: var(--founder-white);
}

.sound-button.is-on {
  border-color: var(--founder-blue);
  background: var(--founder-blue);
  color: var(--founder-black);
  box-shadow: 4px 4px 0 rgba(255, 255, 255, .82);
}

.sound-glyph { font-size: 14px; }

.sound-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 7px;
  line-height: 1.25;
  white-space: nowrap;
}

.sound-label::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: #686d72;
  content: "";
}

.sound-button.is-on .sound-label::before {
  background: var(--founder-green);
  box-shadow: 0 0 8px rgba(83, 240, 140, .85);
}

.toast { pointer-events: none; }

@media (max-width: 1000px) and (min-width: 701px) {
  .founder-characters { right: 3%; left: 3%; }
  .founder-stage-signal { width: 34vw; }
}

@media (max-width: 700px) {
  .boot-screen:not(.is-founder-intro) .audio-choice {
    display: block;
    width: 100%;
  }

  .boot-screen:not(.is-founder-intro) .audio-choice button:only-child {
    min-height: 46px;
    font-size: 8px;
    box-shadow: 5px 5px 0 rgba(255, 255, 255, .78);
  }

  .boot-meta-row {
    display: grid;
    gap: 5px;
    font-size: 5px;
  }

  .boot-meta-row span { white-space: normal; }

  .founder-characters {
    top: 42px;
    right: 1%;
    bottom: 292px;
    left: 1%;
  }

  .founder-sprite { width: min(43vw, 190px); }

  .founder-stage-signal {
    top: 36px;
    display: grid;
    width: 72%;
  }

  .founder-stage-signal::before,
  .founder-stage-signal::after { height: 13px; }

  .founder-stage-signal > span { font-size: 5px; }
  .founder-stage-signal b { margin: 7px 0; font-size: 20px; line-height: 1.18; }
  .founder-stage-signal small { display: none; }

  .ticker-window { right: 116px; }

  .sound-button {
    top: 8px;
    right: 0;
    width: 108px;
    height: 46px;
    gap: 4px;
    padding: 0 7px;
  }

  .sound-glyph { font-size: 12px; }
  .sound-label { gap: 4px; font-size: 6px; }
  .sound-label::before { width: 5px; height: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .founder-signal-word.is-active { animation: none; }
}

/* Builder dossier opened from a map marker or the builders list */
.builder-card {
  position: absolute;
  z-index: 76;
  top: 68px;
  right: 24px;
  bottom: auto;
  visibility: hidden;
  display: grid;
  width: min(420px, calc(100% - 48px));
  max-height: calc(100% - 72px);
  overflow-y: auto;
  padding: 0;
  border: 2px solid var(--founder-white);
  border-top: 8px solid var(--founder-blue);
  background:
    linear-gradient(135deg, rgba(57, 169, 255, .11), transparent 38%),
    rgba(5, 5, 6, .98);
  color: var(--founder-white);
  box-shadow: 10px 10px 0 rgba(57, 169, 255, .48);
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(100% + 48px));
  transition: opacity 180ms steps(4), transform 240ms steps(7), visibility 240ms;
}

.builder-card.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.builder-card [hidden] { display: none !important; }

.builder-card span,
.builder-card small,
.builder-card a {
  margin: 0;
}

.builder-card small {
  padding: 0;
  border: 0;
}

.builder-card-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px 9px 14px;
  border-bottom: 1px solid #3b3b42;
  background: #050506;
}

.builder-card-header > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--founder-green);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 6px;
  letter-spacing: .06em;
}

.builder-card-header i {
  width: 7px;
  height: 7px;
  background: var(--founder-green);
  box-shadow: 0 0 9px rgba(83, 240, 140, .84);
  animation: founder-live-dot 1.1s steps(2) infinite;
}

.builder-card-close {
  display: grid;
  width: 30px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 1px solid #4b4b52;
  background: transparent;
  color: #8d949b;
  font-size: 17px;
  cursor: pointer;
}

.builder-card-close:hover,
.builder-card-close:focus-visible {
  border-color: var(--founder-white);
  background: var(--founder-white);
  color: var(--founder-black);
}

.builder-card-profile {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding: 18px;
}

.builder-card-avatar {
  width: 78px;
  height: 78px;
  border: 3px solid var(--founder-white);
  background: var(--founder-blue);
  object-fit: cover;
  box-shadow: 6px 6px 0 rgba(57, 169, 255, .72);
}

.builder-card-profile > div {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.builder-card-profile small,
.builder-card-project > small,
.builder-card-meta dt {
  color: var(--founder-green);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 6px;
  letter-spacing: .07em;
}

.builder-card-profile b {
  overflow: hidden;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: clamp(16px, 1.55vw, 23px);
  line-height: 1.25;
  text-overflow: ellipsis;
}

.builder-card-profile #pinUsername {
  overflow: hidden;
  color: var(--founder-blue);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.builder-card-project {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-top: 1px solid #35353c;
  border-bottom: 1px solid #35353c;
  background: rgba(57, 169, 255, .075);
}

.builder-card-project-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.builder-card-project-title .project-favicon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 2px solid var(--founder-white);
  background: var(--founder-black);
}

.builder-card-project-title strong {
  overflow-wrap: anywhere;
  color: var(--founder-white);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.45;
}

.builder-card-project-link,
.builder-card-actions a {
  display: grid;
  min-height: 42px;
  padding: 10px 12px;
  place-items: center;
  border: 2px solid var(--founder-white);
  background: var(--founder-white);
  color: var(--founder-black);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 7px;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.builder-card-project-link:hover,
.builder-card-project-link:focus-visible,
.builder-card-actions a:hover,
.builder-card-actions a:focus-visible {
  border-color: var(--founder-blue);
  background: var(--founder-blue);
}

.builder-card-project-empty {
  padding: 11px 12px;
  border: 1px dashed #4a4a52;
  color: #737981 !important;
  font-size: 8px;
  text-align: center;
}

.builder-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0 18px;
}

.builder-card-meta > div {
  display: grid;
  gap: 7px;
  padding: 15px 0;
}

.builder-card-meta > div + div {
  padding-left: 15px;
  border-left: 1px solid #35353c;
}

.builder-card-meta dd {
  margin: 0;
  color: #9ca3aa;
  font-size: 8px;
  line-height: 1.45;
}

.builder-card-actions {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 8px;
  padding: 0 18px 18px;
}

.builder-card-actions .builder-card-x-link {
  border-color: var(--founder-blue);
  background: var(--founder-blue);
}

.builder-card-actions .builder-card-share-link {
  border-color: #4b4b52;
  background: var(--founder-black);
  color: var(--founder-white);
}

@media (max-width: 700px) {
  .builder-card {
    top: auto;
    right: 10px;
    bottom: 74px;
    left: 10px;
    width: auto;
    max-height: calc(100% - 138px);
    box-shadow: 7px 7px 0 rgba(57, 169, 255, .48);
    transform: translateY(calc(100% + 92px));
  }

  .builder-card.is-visible { transform: translateY(0); }
  .builder-card-profile { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .builder-card-avatar { width: 62px; height: 62px; box-shadow: 4px 4px 0 rgba(57, 169, 255, .72); }
  .builder-card-profile b { font-size: 14px; }
  .builder-card-project { gap: 9px; padding: 14px; }
  .builder-card-project-title strong { font-size: 11px; }
  .builder-card-meta { padding: 0 14px; }
  .builder-card-meta > div { padding: 12px 0; }
  .builder-card-actions { grid-template-columns: 1fr; gap: 6px; padding: 0 14px 14px; }
  .builder-card-actions a,
  .builder-card-project-link { min-height: 39px; font-size: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .builder-card { transition: none; }
  .builder-card-header i { animation: none; }
}

/* The full claim card leaves once a signed-in user owns a pin. */
.app.is-live .auth-dock.is-pin-complete,
.app.is-live .auth-dock.is-pin-complete.is-expanded {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(125%, -50%);
}

.my-pin-quick {
  position: absolute;
  z-index: 57;
  top: 86px;
  right: clamp(24px, 4vw, 68px);
  display: grid;
  width: 210px;
  min-height: 58px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 2px solid var(--founder-white);
  border-left: 7px solid var(--founder-green);
  background: var(--founder-black);
  color: var(--founder-white);
  text-align: left;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(57, 169, 255, .52);
}

.my-pin-quick[hidden] { display: none; }

.app:not(.is-live) .my-pin-quick { display: none; }

.my-pin-quick > span {
  display: grid;
  gap: 5px;
}

.my-pin-quick b {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 10px;
  font-weight: 400;
}

.my-pin-quick b::before,
.my-pin-quick i {
  width: 7px;
  height: 7px;
  background: var(--founder-green);
  box-shadow: 0 0 8px rgba(83, 240, 140, .82);
  content: "";
}

.my-pin-quick i { display: none; }

.my-pin-quick small {
  color: #858c93;
  font-size: 6px;
  letter-spacing: .05em;
}

.my-pin-quick em {
  color: var(--founder-blue);
  font-family: "Space Mono", monospace;
  font-size: 24px;
  font-style: normal;
}

.my-pin-quick:hover,
.my-pin-quick:focus-visible {
  border-color: var(--founder-blue);
  background: var(--founder-blue);
  color: var(--founder-black);
  box-shadow: 5px 5px 0 var(--founder-white);
}

.my-pin-quick:hover small,
.my-pin-quick:focus-visible small,
.my-pin-quick:hover em,
.my-pin-quick:focus-visible em { color: var(--founder-black); }

.builder-card-owner-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 18px 18px;
}

.builder-card-owner-actions button {
  min-height: 40px;
  padding: 9px 10px;
  border: 2px solid #4b4b52;
  background: var(--founder-black);
  color: var(--founder-white);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 6px;
  cursor: pointer;
}

.builder-card-owner-actions .builder-card-remove-pin {
  border-color: #ff666d;
  color: #ff9095;
}

.builder-card-owner-actions .builder-card-remove-pin:hover,
.builder-card-owner-actions .builder-card-remove-pin:focus-visible,
.builder-card-owner-actions .builder-card-remove-pin[data-armed="true"] {
  background: #ff666d;
  color: var(--founder-black);
}

.builder-card-owner-actions .builder-card-sign-out:hover,
.builder-card-owner-actions .builder-card-sign-out:focus-visible {
  border-color: var(--founder-white);
  background: var(--founder-white);
  color: var(--founder-black);
}

@media (max-width: 700px) {
  .app.is-live .auth-dock.is-pin-complete,
  .app.is-live .auth-dock.is-pin-complete.is-expanded { transform: translateX(115%); }

  .my-pin-quick {
    top: 82px;
    right: 8px;
    width: 152px;
    min-height: 48px;
    padding: 8px 9px;
  }

  .my-pin-quick b { font-size: 8px; }
  .my-pin-quick small { font-size: 5px; }
  .my-pin-quick em { font-size: 18px; }
  .builder-card-owner-actions { padding: 0 14px 14px; }
}

/* The map statement is scenery, not another panel. */
.home-brief {
  top: auto;
  bottom: clamp(42px, 7vh, 82px);
  left: clamp(30px, 4vw, 70px);
  display: block;
  width: min(47vw, 720px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateX(-115%);
  transition: transform 420ms steps(8) 690ms, opacity 180ms steps(3) 690ms;
}

.app.is-live .home-brief { transform: translateX(0); }

.app.is-picking-location .home-brief { transform: translateX(-115%); }

.home-brief::before {
  position: absolute;
  top: -23px;
  left: 3px;
  color: rgba(57, 169, 255, .72);
  content: "GLOBAL BUILDER NETWORK // LIVE";
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 7px;
  letter-spacing: .08em;
}

.home-brief h2 {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .035);
  font-size: clamp(42px, 5.8vw, 94px);
  line-height: .92;
  letter-spacing: -.055em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
  text-shadow: 5px 5px 0 rgba(57, 169, 255, .08);
  user-select: none;
}

.home-brief-actions {
  display: flex;
  width: max-content;
  margin-top: 20px;
}

.home-brief-actions button,
.home-brief-actions button:first-child {
  display: flex;
  width: auto;
  min-width: 232px;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 15px 12px 18px;
  border: 2px solid var(--founder-white);
  border-left: 7px solid var(--founder-blue);
  background: rgba(5, 5, 5, .9);
  color: var(--founder-white);
  box-shadow: 5px 5px 0 rgba(57, 169, 255, .48);
  pointer-events: auto;
}

.home-brief-actions button span {
  padding: 0;
  font-size: 8px;
}

.home-brief-actions button i {
  color: var(--founder-blue);
  font-family: "Space Mono", monospace;
  font-size: 22px;
  font-style: normal;
  line-height: 1;
}

.home-brief-actions button:hover,
.home-brief-actions button:focus-visible {
  border-color: var(--founder-blue);
  background: var(--founder-blue);
  color: var(--founder-black);
  box-shadow: 5px 5px 0 var(--founder-white);
}

.home-brief-actions button:hover i,
.home-brief-actions button:focus-visible i { color: var(--founder-black); }

.home-share-map {
  display: inline-block;
  margin-top: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .48);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 5px;
  letter-spacing: .05em;
  line-height: 2;
  pointer-events: auto;
  text-decoration: none;
}

.home-share-map:hover,
.home-share-map:focus-visible {
  border-color: var(--founder-blue);
  color: var(--founder-blue);
}

@media (max-width: 1100px) and (min-width: 701px) {
  .home-brief {
    left: 24px;
    width: min(42vw, 440px);
    padding: 0;
  }

  .home-brief h2 { font-size: clamp(36px, 5vw, 60px); }
}

@media (max-width: 700px) {
  .home-brief {
    right: auto;
    bottom: 86px;
    left: 14px;
    width: min(72vw, 310px);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: translateX(-115%);
  }

  .app.is-live .home-brief { transform: translateX(0); }
  .app.is-picking-location .home-brief { transform: translateX(-115%); }
  .home-brief::before { top: -18px; font-size: 5px; }

  .home-brief h2 {
    font-size: clamp(29px, 10vw, 43px);
    line-height: .94;
    -webkit-text-stroke-color: rgba(255, 255, 255, .2);
  }

  .home-brief-actions { margin-top: 13px; }

  .home-brief-actions button,
  .home-brief-actions button:first-child {
    min-width: 190px;
    min-height: 44px;
    padding: 9px 11px 9px 13px;
  }

  .home-brief-actions button span { font-size: 6px; }
  .home-brief-actions button i { font-size: 17px; }
  .home-share-map { margin-top: 10px; font-size: 4px; }
}

/* Map interactions pass through the ambient statement. */
.app.is-live .home-brief,
.home-brief h2,
.home-brief::before {
  pointer-events: none;
}

.home-brief-actions button,
.home-share-map { pointer-events: auto; }

/* Focus the builders directory on builders only. */
.app.is-content-panel-open .my-pin-quick {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(34px);
}

.people-list button {
  min-height: 64px;
  grid-template-columns: 42px minmax(110px, .8fr) 118px minmax(160px, 1.2fr) 164px;
  gap: 12px;
  padding: 8px 14px;
  font-size: 13px;
}

.people-list-avatar {
  width: 34px !important;
  height: 34px;
}

.people-list button > b { font-size: 13px; }

.people-list button > span {
  padding: 4px 9px;
  font-size: 9px;
}

.people-list-project { font-size: 9px; }

.people-list time {
  color: #aeb5bc;
  font-size: 11px;
  letter-spacing: .02em;
}

.content-panel header .panel-close {
  display: inline-grid;
  min-width: 126px;
  min-height: 44px;
  grid-template-columns: auto auto;
  place-content: center;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 2px solid #55555d;
  border-right: 7px solid var(--founder-blue);
  background: rgba(5, 5, 5, .94);
  color: var(--founder-white);
  box-shadow: 5px 5px 0 rgba(57, 169, 255, .34);
  font-family: "Press Start 2P", "Courier New", monospace;
  cursor: pointer;
  transition: border-color 120ms steps(2), background 120ms steps(2), color 120ms steps(2), transform 120ms steps(2);
}

.content-panel header .panel-close span {
  color: var(--founder-blue);
  font-family: "Space Mono", monospace;
  font-size: 21px;
  line-height: 1;
}

.content-panel header .panel-close b {
  font-size: 7px;
  font-weight: 400;
}

.content-panel header .panel-close:hover,
.content-panel header .panel-close:focus-visible {
  border-color: var(--founder-blue);
  background: var(--founder-blue);
  color: var(--founder-black);
  box-shadow: 5px 5px 0 var(--founder-white);
  transform: translate(-2px, -2px);
}

.content-panel header .panel-close:hover span,
.content-panel header .panel-close:focus-visible span { color: var(--founder-black); }

@media (max-width: 700px) {
  .people-list button {
    min-height: 70px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 4px 8px;
    padding: 8px 9px;
  }

  .people-list-avatar {
    width: 36px !important;
    height: 36px;
  }

  .people-list button > b { font-size: 10px; }
  .people-list button > span { font-size: 7px; }
  .people-list-project { font-size: 7px; }
  .people-list time { font-size: 7px; }

  .content-panel header .panel-close {
    min-width: 94px;
    min-height: 38px;
    gap: 7px;
    padding: 7px 9px;
    border-right-width: 5px;
  }

  .content-panel header .panel-close span { font-size: 17px; }
  .content-panel header .panel-close b { font-size: 6px; }
}

/* Header audio control + compact creator dock. */
.sound-button.sound-button--header {
  z-index: 50;
  top: 10px;
  right: auto;
  left: 78px;
  width: 132px;
  height: 58px;
  border-color: #4b4b52;
  box-shadow: 4px 4px 0 rgba(57, 169, 255, .48);
}

.sound-button.sound-button--header:hover,
.sound-button.sound-button--header:focus-visible {
  border-color: var(--founder-blue);
  box-shadow: 4px 4px 0 var(--founder-white);
}

.ticker-window { right: 326px; }

.creator-credit {
  position: absolute;
  z-index: 7;
  top: 10px;
  right: 4px;
  display: grid;
  width: 306px;
  height: 54px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 6px 7px 6px 12px;
  border: 2px solid #4b4b52;
  background: var(--founder-black);
  color: #747a80;
  box-shadow: 4px 4px 0 rgba(57, 169, 255, .38);
  font-family: "Press Start 2P", "Courier New", monospace;
}

.creator-credit > span {
  display: grid;
  gap: 5px;
  font-size: 5px;
  line-height: 1.3;
  white-space: nowrap;
}

.creator-credit > span b {
  color: var(--founder-white);
  font-size: 8px;
  font-weight: 400;
}

.creator-credit nav {
  display: flex;
  gap: 5px;
}

.creator-credit a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #4b4b52;
  background: #0b0b0d;
  color: #aeb3b8;
  text-decoration: none;
  transition: border-color 100ms steps(2), background 100ms steps(2), color 100ms steps(2), transform 100ms steps(2);
}

.creator-credit svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.creator-credit a:hover,
.creator-credit a:focus-visible {
  border-color: var(--founder-blue);
  background: var(--founder-blue);
  color: var(--founder-black);
  transform: translate(-2px, -2px);
}

.creator-credit .creator-coffee:hover,
.creator-credit .creator-coffee:focus-visible {
  border-color: var(--founder-green);
  background: var(--founder-green);
}

@media (max-width: 1000px) and (min-width: 701px) {
  .ticker-window {
    right: 250px;
    left: 242px;
  }

  .creator-credit {
    width: 232px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-left: 9px;
  }

  .creator-credit > span { font-size: 4px; }
  .creator-credit > span b { font-size: 6px; }
  .creator-credit a { width: 30px; height: 30px; }
  .creator-credit svg { width: 16px; height: 16px; }
}

@media (max-width: 700px) {
  .sound-button.sound-button--header {
    top: 9px;
    left: 62px;
    width: 46px;
    height: 46px;
    grid-template-columns: 1fr;
    place-items: center;
    padding: 0;
  }

  .sound-button.sound-button--header .sound-label { display: none; }
  .sound-button.sound-button--header .sound-glyph { font-size: 14px; }

  .ticker-window { display: none; }

  .creator-credit {
    top: 8px;
    right: 0;
    left: 60px;
    width: auto;
    height: 46px;
    padding: 5px 6px 5px 9px;
  }

  .creator-credit > span { font-size: 4px; }
  .creator-credit > span b { font-size: 6px; }
  .creator-credit nav { gap: 4px; }
  .creator-credit a { width: 28px; height: 28px; }
  .creator-credit svg { width: 15px; height: 15px; }
}

@media (max-width: 390px) {
  .creator-credit > span { display: none; }
  .creator-credit { grid-template-columns: 1fr; justify-items: end; }
}

/* Find Founder brand system: F favicon, FF hero, full wordmark. */
.tracker-wordmark b {
  width: 43px;
  font-size: 12px;
  letter-spacing: -.12em;
}

.boot-x-mark {
  display: grid;
  place-items: center;
  padding-right: .1em;
  color: var(--founder-white);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 29px;
  letter-spacing: -.15em;
  line-height: 1;
}

.boot-x-mark::before,
.founder-x-mark i::before { display: none; }

.boot-screen:not(.is-founder-intro) .boot-x-mark {
  font-size: clamp(58px, 6.5vw, 104px);
  text-shadow: 7px 7px 0 rgba(57, 169, 255, .24);
}

.founder-x-mark i {
  display: grid;
  place-items: center;
  color: var(--founder-white);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 31px;
  font-style: normal;
  line-height: 1;
}

.founder-x-mark:hover i,
.founder-x-mark:focus-visible i { color: var(--founder-black); }

@media (max-width: 700px) {
  .tracker-wordmark b {
    width: 31px;
    font-size: 8px;
  }

  .boot-screen:not(.is-founder-intro) .boot-x-mark {
    padding-right: .12em;
    font-size: 23px;
    text-shadow: 4px 4px 0 rgba(57, 169, 255, .24);
  }

  .founder-x-mark i { font-size: 25px; }
}

/* Signed in without a pin: browse first, claim only when requested. */
.auth-dock.is-claim-collapsed {
  top: 86px;
  width: 276px;
  max-height: 64px;
  overflow: visible;
  border-top-width: 2px;
  box-shadow: 6px 6px 0 rgba(57, 169, 255, .48);
  transform: translateX(125%);
}

.app.is-live .auth-dock.is-claim-collapsed { transform: translateX(0); }

.auth-dock.is-claim-collapsed > :not(.founder-card-toggle) { display: none !important; }

.auth-dock.is-claim-collapsed .founder-card-toggle {
  min-height: 62px;
  padding: 10px 13px 10px 15px;
  border: 0;
  border-left: 7px solid var(--founder-green);
  background: rgba(5, 5, 5, .96);
  color: var(--founder-white);
}

.auth-dock.is-claim-collapsed .founder-card-toggle b { font-size: 9px; }

.auth-dock.is-claim-collapsed .founder-card-toggle small {
  color: #858c93;
  font-size: 6px;
}

.auth-dock.is-claim-collapsed .founder-card-toggle i {
  color: var(--founder-blue);
  transform: rotate(-90deg);
}

.auth-dock.is-claim-collapsed .founder-card-toggle:hover,
.auth-dock.is-claim-collapsed .founder-card-toggle:focus-visible {
  border-left-color: var(--founder-white);
  background: var(--founder-blue);
  color: var(--founder-black);
}

.auth-dock.is-claim-collapsed .founder-card-toggle:hover small,
.auth-dock.is-claim-collapsed .founder-card-toggle:focus-visible small,
.auth-dock.is-claim-collapsed .founder-card-toggle:hover i,
.auth-dock.is-claim-collapsed .founder-card-toggle:focus-visible i { color: var(--founder-black); }

/* Keep the transmission label clear of the header audio control. */
.founder-intro-header > span {
  width: 132px;
  align-items: flex-start;
  line-height: 1.65;
  white-space: normal;
  transform: translate(21px, 18px);
}

@media (max-width: 700px) {
  .auth-dock.is-claim-collapsed {
    top: 72px;
    right: 8px;
    bottom: auto;
    left: auto;
    width: 218px;
    max-height: 54px;
    transform: translateX(115%);
  }

  .app.is-live .auth-dock.is-claim-collapsed { transform: translateX(0); }

  .auth-dock.is-claim-collapsed .founder-card-toggle {
    min-height: 52px;
    padding: 8px 9px 8px 11px;
    border-left-width: 5px;
  }

  .auth-dock.is-claim-collapsed .founder-card-toggle b { font-size: 7px; }
  .auth-dock.is-claim-collapsed .founder-card-toggle small { font-size: 5px; }
  .founder-intro-header > span {
    width: 108px;
    transform: translate(42px, 16px);
  }
}

/* Smooth launch home: keep the pixel look, move the motion onto the compositor. */
:root {
  --home-motion-ease: cubic-bezier(.22, 1, .36, 1);
}

.boot-screen {
  transition: opacity 420ms var(--home-motion-ease), visibility 420ms;
}

.boot-screen:not(.is-founder-intro) .signal-line {
  transform: scaleY(0);
  transform-origin: top;
  animation: find-founder-home-signal 780ms var(--home-motion-ease) 80ms both;
  will-change: transform, opacity;
}

.boot-screen:not(.is-founder-intro) .boot-x-mark {
  animation: find-founder-home-logo 720ms var(--home-motion-ease) 120ms both;
  will-change: transform, opacity;
}

@keyframes find-founder-home-signal {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes find-founder-home-logo {
  from { opacity: 0; transform: translate(-50%, -34px) scale(.94); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

.boot-screen:not(.is-founder-intro) .boot-copy {
  transition: opacity 380ms var(--home-motion-ease);
}

.boot-screen:not(.is-founder-intro) .boot-home-kicker,
.boot-screen:not(.is-founder-intro) .boot-copy h2,
.boot-screen:not(.is-founder-intro) .boot-home-description,
.boot-screen:not(.is-founder-intro) .boot-home-stats,
.boot-screen:not(.is-founder-intro) .audio-choice,
.boot-screen:not(.is-founder-intro) .boot-meta-row {
  opacity: 0;
  transform: translateY(11px);
  will-change: transform, opacity;
}

.boot-screen.is-ready:not(.is-founder-intro) .boot-home-kicker,
.boot-screen.is-ready:not(.is-founder-intro) .boot-copy h2,
.boot-screen.is-ready:not(.is-founder-intro) .boot-home-description,
.boot-screen.is-ready:not(.is-founder-intro) .boot-home-stats,
.boot-screen.is-ready:not(.is-founder-intro) .audio-choice,
.boot-screen.is-ready:not(.is-founder-intro) .boot-meta-row {
  animation: find-founder-home-item 440ms var(--home-motion-ease) both;
}

.boot-screen.is-ready:not(.is-founder-intro) .boot-home-kicker { animation-delay: 40ms; }
.boot-screen.is-ready:not(.is-founder-intro) .boot-copy h2 { animation-delay: 90ms; }
.boot-screen.is-ready:not(.is-founder-intro) .boot-home-description { animation-delay: 150ms; }
.boot-screen.is-ready:not(.is-founder-intro) .boot-home-stats { animation-delay: 210ms; }
.boot-screen.is-ready:not(.is-founder-intro) .audio-choice { animation-delay: 270ms; }
.boot-screen.is-ready:not(.is-founder-intro) .boot-meta-row { animation-delay: 320ms; }

@keyframes find-founder-home-item {
  from { opacity: 0; transform: translateY(11px); }
  to { opacity: 1; transform: translateY(0); }
}

.boot-screen:not(.is-founder-intro) .audio-choice button:only-child {
  transition:
    transform 180ms var(--home-motion-ease),
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms var(--home-motion-ease);
}

.boot-screen:not(.is-founder-intro) .audio-choice button:only-child:hover,
.boot-screen:not(.is-founder-intro) .audio-choice button:only-child:focus-visible {
  transform: translate(-2px, -2px);
}

.boot-screen:not(.is-founder-intro) .audio-choice button:only-child:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--founder-blue);
}

.home-brief {
  transition:
    transform 520ms var(--home-motion-ease) 420ms,
    opacity 280ms ease 420ms;
}

.app.is-picking-location .home-brief,
.app.is-founder-card-open .home-brief {
  transition-delay: 0ms;
}

/* Smooth left navigation: preserve the hard-edged panel, soften its movement. */
.main-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-104%, 0, 0);
  transition:
    transform 420ms var(--home-motion-ease),
    opacity 240ms ease,
    visibility 0s linear 420ms;
  will-change: transform, opacity;
}

.main-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}

.main-menu nav {
  opacity: 0;
  transform: translate3d(-18px, 0, 0);
  transition:
    transform 360ms var(--home-motion-ease),
    opacity 260ms ease;
}

.main-menu.is-open nav {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 90ms;
}

.main-menu button {
  transition:
    padding-left 170ms var(--home-motion-ease),
    background-color 170ms ease,
    color 170ms ease;
}
