:root {
  --navy: #0b1b33;
  --navy-deep: #071224;
  --sky: #3aa0ff;
  --sky-glow: #6ec8ff;
  --gold: #f5c542;
  --mist: #8fb8e8;
  --text: #e8f1ff;
  --panel: rgba(16, 36, 64, 0.82);
  --danger: #ff6b7a;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --touch: 48px;
  --font-display: "Outfit", "Trebuchet MS", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, #1a3a66 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 20%, rgba(58, 160, 255, 0.12), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, #0a1628 100%);
  background-attachment: fixed;
}

a { color: var(--sky-glow); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, .brand, .brand-hero {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0.2rem 0 0.4rem; }
h2 { font-size: 1.2rem; margin: 1.2rem 0 0.6rem; }

.app-shell {
  display: flex;
  min-height: 100dvh;
  max-width: 72rem;
  margin: 0 auto;
}
.app-shell:has(.main--sky) {
  height: 100dvh;
  max-width: none;
  overflow: hidden;
}

.side-nav {
  display: none;
  width: 7.5rem;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.2rem 0.7rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  background: rgba(7, 18, 36, 0.7);
  position: sticky;
  top: 0;
  height: 100dvh;
}

.brand {
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.35rem 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  text-align: center;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 3.1rem;
  height: 3.1rem;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.side-nav .brand-wordmark {
  font-size: 1.05rem;
}
.brand-wordmark,
.brand-hero {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-my,
.brand-dex { color: #fff; }
.brand-sky { color: var(--sky); }
.brand-hero {
  font-size: clamp(2.6rem, 10vw, 4rem);
  margin: 0;
  display: inline-block;
  animation: rise 0.7s ease-out both;
}
.brand-logo {
  display: block;
  width: min(100%, 14rem);
  height: auto;
  margin: 0 auto 0.75rem;
}
.brand-logo--hero {
  width: min(100%, 16rem);
}
.auth-hero .brand-logo,
.story-hero .brand-logo {
  margin-left: 0;
}

.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-shell:has(.main--sky) .main-col {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.main { flex: 1; padding: 1rem 1rem 6.5rem; }
.main--flush { padding-bottom: 2rem; }
.main--admin {
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
}
.main--sky {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 0.75rem 1rem 0;
  /* leave room for bottom nav + safe area */
  padding-bottom: 0;
  height: 100%;
}
.main-col:has(.bottom-nav) .main--sky {
  max-height: calc(100dvh - 4.85rem - var(--safe-bottom));
}
.main-col:has(.admin-bar) .main--sky {
  max-height: calc(100dvh - 4.85rem - var(--safe-bottom) - 2rem);
}

.sky-screen {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  gap: 0.85rem;
  max-width: 28rem;
  width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(1rem + var(--safe-bottom));
  scrollbar-width: thin;
}
.sky-top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.28rem;
  flex: 0 0 auto;
}
.sky-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-width: 0;
}
.sky-top h1,
.sky-title {
  font-size: 1.85rem;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  min-width: 0;
  flex: 1 1 auto;
}
.sky-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.sky-meta-row .sky-where {
  justify-self: center;
}
.sky-meta-row .sky-health {
  justify-self: end;
}
.sky-where {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--mist);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sky-where.is-home {
  color: #7ddea2;
  border-color: rgba(94, 224, 154, 0.32);
  background: rgba(94, 224, 154, 0.1);
}
.sky-where.is-out {
  color: #6ec8ff;
  border-color: rgba(110, 200, 255, 0.32);
  background: rgba(110, 200, 255, 0.1);
}
.sky-where.is-unknown {
  color: #e6b84d;
  border-color: rgba(230, 184, 77, 0.3);
  background: rgba(230, 184, 77, 0.1);
}
.sky-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: var(--mist);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sky-eyebrow-ico {
  display: inline-flex;
  color: var(--mist);
  opacity: 0.9;
}
.sky-top-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
  flex: 0 0 auto;
}
.sky-action-ico {
  display: block;
  flex-shrink: 0;
}
.discord-badge--inline,
.admin-badge--inline {
  gap: 0.3rem;
  min-height: 1.6rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6rem;
  opacity: 0.92;
}
.discord-badge--icon,
.admin-badge--icon {
  gap: 0;
  width: 1.75rem;
  height: 1.75rem;
  min-height: 1.75rem;
  padding: 0;
  justify-content: center;
  border-radius: 0.55rem;
  opacity: 0.88;
}
.sky-geo-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: 0;
  padding: 0;
  border: 0;
}
.sky-compass-btn[hidden],
.sky-compass-btn[aria-hidden="true"] {
  display: none !important;
}
.sky-geo,
.sky-guest {
  flex: 0 0 auto;
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: var(--mist);
  line-height: 1.35;
}
.sky-guest a { font-weight: 600; }
.sky-away {
  flex: 0 0 auto;
  min-width: 0;
  padding: 0.7rem 0.75rem;
  border-radius: 1.1rem;
  background: rgba(12, 28, 52, 0.92);
  border: 1px solid rgba(58, 130, 246, 0.4);
  font-size: 0.85rem;
  box-shadow: 0 0 0 1px rgba(58, 130, 246, 0.08), 0 8px 24px rgba(0, 0, 0, 0.2);
}
.sky-away-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.sky-away-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.32);
  border: 1px solid rgba(96, 165, 250, 0.4);
}
.sky-away-toggle {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.1rem 0.15rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.sky-away-toggle:disabled {
  cursor: default;
}
.sky-away-toggle:not(:disabled):hover {
  background: rgba(8, 18, 36, 0.28);
}
.sky-away-copy {
  min-width: 0;
  flex: 1;
}
.sky-away-copy strong {
  display: block;
  line-height: 1.15;
  font-size: 0.98rem;
  font-weight: 700;
}
.sky-away-copy > span {
  display: block;
  color: var(--mist);
  font-size: 0.78rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.15rem;
}
.btn-sky-see-all {
  flex-shrink: 0;
  min-height: 2.15rem;
  padding: 0.4rem 0.9rem;
  border-radius: 0.8rem;
  border: 0;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-sky-see-all:hover {
  filter: brightness(1.08);
  text-decoration: none;
}
.sky-away .btn { flex-shrink: 0; }
.sky-away-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 0.75rem 0.75rem calc(0.75rem + var(--safe-bottom) + 4.6rem);
}
.sky-away-sheet[hidden] { display: none !important; }
.sky-away-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(4, 12, 28, 0.72);
  cursor: pointer;
}
.sky-away-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-height: min(70vh, 32rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem 0.85rem 0.9rem;
  border-radius: 1.1rem 1.1rem 0.85rem 0.85rem;
  background: rgba(12, 28, 52, 0.97);
  border: 1px solid rgba(110, 200, 255, 0.28);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}
.sky-away-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}
.sky-away-panel-head strong {
  display: block;
  font-size: 1rem;
}
.sky-away-panel-head span {
  display: block;
  color: var(--mist);
  font-size: 0.8rem;
  line-height: 1.3;
  margin-top: 0.15rem;
}
.sky-away-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  flex: 1 1 auto;
}
.sky-away-item a {
  display: grid;
  gap: 0.1rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  background: rgba(8, 18, 36, 0.45);
  text-decoration: none;
  color: inherit;
}
.sky-away-item a:hover { background: rgba(8, 18, 36, 0.65); }
.sky-away-item strong {
  display: inline;
  font-size: 0.95rem;
}
.sky-away-sub,
.sky-away-outcome {
  display: block;
  color: var(--mist);
  font-size: 0.78rem;
}
.sky-away-item--missed .sky-away-outcome {
  color: #f0b4b4;
  font-weight: 600;
}
.sky-away-item--seen .sky-away-outcome {
  color: #9fd6a8;
}
.sky-away-panel-actions {
  display: flex;
  gap: 0.5rem;
}
.sky-away-panel-actions .btn {
  flex: 1;
}
body.sky-away-open {
  overflow: hidden;
}
.btn-compact {
  min-height: 2.2rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  white-space: nowrap;
}
.sky-toolbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  flex-wrap: nowrap;
}
.sky-toolbar-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 0 1 auto;
}
.sky-peek-sheet {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 0.75rem 0.75rem calc(0.75rem + var(--safe-bottom) + 4.6rem);
}
.sky-peek-sheet[hidden] { display: none !important; }
.sky-peek-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(4, 12, 28, 0.78);
  cursor: pointer;
}
.sky-peek-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  height: min(78vh, 36rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem;
  border-radius: 1.1rem 1.1rem 0.85rem 0.85rem;
  background: rgba(12, 28, 52, 0.98);
  border: 1px solid rgba(110, 200, 255, 0.3);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
}
.sky-peek-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  flex: 0 0 auto;
}
.sky-peek-head strong {
  display: block;
  font-size: 1.05rem;
  font-family: var(--font-display);
}
.sky-peek-head span {
  display: block;
  color: var(--mist);
  font-size: 0.78rem;
  line-height: 1.3;
  margin-top: 0.15rem;
}
.sky-peek-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(110, 200, 255, 0.22);
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(58, 160, 255, 0.18), transparent 60%),
    linear-gradient(180deg, #0a1628 0%, #071224 100%);
}
.sky-peek-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.1rem;
  text-align: center;
}
.sky-peek-fallback-ico {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1rem;
  color: var(--sky-glow);
  background: rgba(37, 99, 235, 0.28);
  border: 1px solid rgba(110, 200, 255, 0.35);
}
.sky-peek-fallback-copy {
  margin: 0;
  max-width: 22rem;
  display: grid;
  gap: 0.35rem;
}
.sky-peek-fallback-copy strong {
  font-size: 1.05rem;
  font-family: var(--font-display);
}
.sky-peek-fallback-copy span {
  color: var(--mist);
  font-size: 0.88rem;
  line-height: 1.4;
}
.sky-peek-open {
  min-width: 12rem;
}
.sky-peek-tab {
  font-size: 0.8rem;
  color: var(--mist);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.sky-peek-tab:hover {
  color: var(--sky-glow);
}
body.sky-peek-open {
  overflow: hidden;
}
.sky-near-card {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  flex: 0 1 auto;
  padding: 0.22rem 0.25rem 0.22rem 0.35rem;
  border-radius: 0.95rem;
  background: rgba(12, 28, 52, 0.95);
  border: 1px solid rgba(74, 222, 128, 0.28);
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.12), inset 0 0 0 1px rgba(110, 200, 255, 0.06);
}
.sky-near-radar {
  display: grid;
  place-items: center;
  color: #4ade80;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.45));
}
.sky-near-copy {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.35rem;
  line-height: 1;
}
.sky-near-copy strong {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.sky-near-copy strong::after {
  content: "·";
  margin-left: 0.15rem;
  opacity: 0.65;
}
.sky-near-left {
  font-size: 0.64rem;
  color: rgba(143, 184, 232, 0.85);
  white-space: nowrap;
}
.sky-near-go {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: rgba(8, 18, 36, 0.9);
  cursor: pointer;
}
.sky-near-go:hover:not(:disabled) {
  background: rgba(58, 160, 255, 0.22);
}
.sky-near-go:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.sky-near-go[aria-busy="true"] svg {
  animation: sky-spin 0.8s linear infinite;
}
@keyframes sky-spin {
  to { transform: rotate(360deg); }
}
.sky-status {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: -0.1rem 0;
  font-size: 0.72rem;
  color: rgba(143, 184, 232, 0.82);
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sky-status-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}
.sky-status-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.sky-status-details > .sky-status-sep { display: none; }
.sky-status-details > .sky-status-source { grid-column: 1 / -1; justify-content: center; }
.sky-title-source {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.35rem;
  color: var(--mist);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}
.sky-title-source .sky-status-dot { width: 0.42rem; height: 0.42rem; }
.sky-status-ico {
  opacity: 0.85;
  flex: 0 0 auto;
}
.sky-status-sep {
  display: inline;
  opacity: 0.55;
  font-weight: 700;
  line-height: 1;
}
.sky-status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
  flex: 0 0 auto;
}
.sky-status .sky-health {
  padding: 0.16rem 0.42rem;
  font-size: 0.62rem;
  flex-shrink: 0;
}
.sky-status .sky-health-dot {
  width: 0.4rem;
  height: 0.4rem;
}
.sky-map-health {
  position: absolute;
  top: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  margin: 0;
  background: rgba(7, 19, 38, 0.88);
  backdrop-filter: blur(6px);
}
.sky-refresh-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.sky-filter {
  display: flex;
  margin: 0;
  gap: 0.3rem;
  flex-wrap: nowrap;
  flex: 0 0 auto;
}
.sky-filter .chip {
  padding: 0.34rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 650;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(110, 200, 255, 0.28);
  color: var(--mist);
  min-height: 1.9rem;
}
.sky-filter .chip.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}
.sky-stage {
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.sky-body {
  display: contents;
}
.sky-stage--setup {
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
  color: var(--mist);
  padding: 2rem 1rem;
}
.sky-map-wrap {
  position: relative;
  width: 100%;
  height: 23rem;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(110, 200, 255, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(58, 130, 246, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.28);
  background: #071224;
}
.sky-screen--empty .sky-map-wrap {
  height: min(72vmin, 26rem);
}
.sky-map-wrap.is-expanded {
  position: fixed;
  inset: 0.65rem 0.65rem calc(4.8rem + var(--safe-bottom));
  z-index: 60;
  width: auto;
  height: auto;
  border-radius: 1.15rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
body.sky-map-expanded {
  overflow: hidden;
}
.sky-map-actions {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.sky-map-peek,
.sky-map-expand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.4rem 0.65rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 18, 36, 0.72);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 650;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.sky-map-peek:hover,
.sky-map-expand:hover {
  background: rgba(7, 18, 36, 0.9);
}
.sky-map-peek[aria-expanded="true"] {
  border-color: rgba(110, 200, 255, 0.55);
  background: rgba(20, 48, 88, 0.88);
}
.sky-map {
  width: 100%;
  height: 100%;
  z-index: 1;
  position: relative;
  background: #0a1628;
  overflow: hidden;
}
.sky-map-fallback {
  margin: 0;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--mist);
  font-size: 0.9rem;
}
.sky-map-world {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
}
.sky-map-basemap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.92;
}
.sky-map-tile {
  position: absolute;
  display: block;
  max-width: none;
  border: 0;
}
.sky-compass {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  right: 0.55rem;
  z-index: 7;
  display: block;
  pointer-events: none;
  max-width: none;
}
.sky-compass-dial {
  position: relative;
  width: 3.55rem;
  height: 3.55rem;
  border-radius: 50%;
  border: 1px solid rgba(110, 200, 255, 0.4);
  background: rgba(7, 18, 36, 0.88);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(0, 0, 0, 0.35);
  flex: 0 0 auto;
}
.sky-compass-mark {
  position: absolute;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--mist);
}
.sky-compass-mark--n { top: 0.2rem; left: 50%; transform: translateX(-50%); color: var(--gold); }
.sky-compass-mark--e { right: 0.28rem; top: 50%; transform: translateY(-50%); }
.sky-compass-mark--s { bottom: 0.2rem; left: 50%; transform: translateX(-50%); }
.sky-compass-mark--w { left: 0.28rem; top: 50%; transform: translateY(-50%); }
.sky-compass-needle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  margin: -0.85rem 0 0 -0.4rem;
  border-left: 0.4rem solid transparent;
  border-right: 0.4rem solid transparent;
  border-bottom: 1.15rem solid var(--gold);
  transform-origin: 50% 100%;
  filter: drop-shadow(0 0 5px rgba(245, 197, 66, 0.65));
  transition: transform 0.35s ease-out;
}
.sky-compass-meta {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  width: max-content;
  max-width: min(56%, 13rem);
  padding: 0.4rem 0.55rem 0.45rem;
  border-radius: 0.7rem;
  background: rgba(7, 18, 36, 0.88);
  border: 1px solid rgba(110, 200, 255, 0.22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  text-align: left;
}
.sky-compass-facing {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  width: auto;
  line-height: 1.15;
}
.sky-compass-btn {
  position: absolute;
  top: 5.1rem;
  right: 0.55rem;
  z-index: 7;
  min-height: 2.1rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  background: rgba(7, 18, 36, 0.82);
}
.sky-compass-status {
  position: absolute;
  top: 7.4rem;
  right: 0.55rem;
  z-index: 7;
  margin: 0;
  max-width: 55%;
  padding: 0.25rem 0.55rem;
  border-radius: 0.55rem;
  background: rgba(7, 18, 36, 0.82);
  color: var(--mist);
  font-size: 0.75rem;
  text-align: right;
  pointer-events: none;
}
.look-dir--relative {
  color: var(--sky-glow);
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .sky-compass-needle {
    transition: none;
  }
  .sky-near-go[aria-busy="true"] svg {
    animation: none;
  }
}

/* Airport Watch */
.airport-watch { width:100%; max-width:42rem; min-width:0; margin:0 auto; padding:.2rem 0 4rem; box-sizing:border-box; }
.airport-watch > * { min-width:0; }
.airport-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; min-height: 245px; padding: clamp(1.5rem,4vw,3.2rem); border: 1px solid rgba(96,191,255,.28); border-radius: 28px; background: radial-gradient(circle at 88% 24%,rgba(34,174,255,.28),transparent 34%), linear-gradient(135deg,#0c2746,#071525 70%); box-shadow: 0 24px 70px rgba(1,9,20,.32); }
.airport-hero::after { content:""; position:absolute; width:310px; height:310px; right:-75px; top:-110px; border:1px solid rgba(135,218,255,.18); border-radius:50%; box-shadow:0 0 0 42px rgba(71,179,255,.05),0 0 0 88px rgba(71,179,255,.035); pointer-events:none; }
.airport-kicker,.airport-eyebrow { margin:0 0 .35rem; color:#63c7ff; font:800 .72rem/1 Outfit,sans-serif; letter-spacing:.15em; }
.airport-hero h1 { margin:0; max-width:650px; color:#fff; font:800 clamp(2.3rem,6vw,4.8rem)/.96 Outfit,sans-serif; letter-spacing:-.045em; }
.airport-hero p:not(.airport-kicker) { max-width:590px; margin:1rem 0 0; color:#b9cce0; font-size:1.08rem; }
.airport-nearby,.airport-board { margin-top:2rem; }
.airport-section-head,.airport-board-top { display:flex; justify-content:space-between; align-items:end; gap:1rem; margin-bottom:.9rem; }
.airport-section-head h2,.airport-board h2 { margin:0; color:#f4f8fc; font:800 clamp(1.4rem,3vw,2rem)/1 Outfit,sans-serif; }
.airport-range { display:grid; grid-template-columns:1fr auto; gap:.35rem .8rem; min-width:220px; color:#8ea8bf; font-size:.78rem; }
.airport-range strong { color:#d8ebf8; font:700 .8rem Outfit,sans-serif; }
.airport-range input { grid-column:1/-1; width:100%; accent-color:#58c8ff; }
.airport-strip { display:grid; width:100%; min-width:0; grid-auto-flow:column; grid-auto-columns:minmax(210px,1fr); gap:.8rem; overflow-x:auto; padding:.12rem .1rem .55rem; scroll-snap-type:x mandatory; }
.airport-card { display:block; overflow:hidden; scroll-snap-align:start; min-height:132px; padding:0; text-align:left; text-decoration:none; border:1px solid rgba(126,169,205,.18); border-radius:18px; color:#dceaf6; background:linear-gradient(155deg,rgba(18,48,77,.96),rgba(8,25,43,.96)); }
.airport-card:hover,.airport-card[aria-pressed="true"] { border-color:#4fc3fa; box-shadow:0 10px 30px rgba(0,16,35,.3), inset 0 0 0 1px rgba(79,195,250,.15); transform:translateY(-2px); }
.airport-card.is-visited { border-color:rgba(245,197,66,.6); background:linear-gradient(155deg,rgba(38,56,76,.98),rgba(24,30,38,.98)); box-shadow:inset 0 3px 0 rgba(245,197,66,.72); }
.airport-card-main { display:block; width:100%; padding:1rem 1rem .75rem; border:0; color:inherit; background:transparent; text-align:left; cursor:pointer; }
.airport-card-row { display:flex; justify-content:space-between; align-items:center; }
.airport-card-code { color:#65ccff; font:800 .78rem Outfit,sans-serif; letter-spacing:.12em; }
.airport-nearest { padding:.2rem .4rem; border-radius:5px; color:#072136; background:#f3c54f; font-size:.58rem; font-weight:900; letter-spacing:.08em; }
.airport-card-main > strong { display:block; margin:1.05rem 0 .35rem; color:#fff; font:700 1rem Outfit,sans-serif; }
.airport-card-main > span:last-child { color:#8fa8be; font-size:.78rem; }
.airport-visit { width:100%; padding:.58rem 1rem; border:0; border-top:1px solid rgba(126,169,205,.13); color:#82b9d8; background:rgba(4,16,29,.35); text-align:left; font-size:.72rem; font-weight:800; cursor:pointer; }
.airport-visit:hover { color:#dff5ff; background:rgba(29,89,126,.3); }
.airport-visit.is-collected { color:#f5c542; background:rgba(245,197,66,.09); }
.airport-visit:disabled { cursor:default; opacity:.7; }
.airport-card--placeholder { grid-column:1/-1; min-width:min(88vw,380px); }
.airport-board { padding:clamp(1rem,3vw,1.5rem); border:1px solid rgba(115,177,224,.2); border-radius:24px; background:rgba(5,19,34,.82); }
.airport-progress { margin-top:.85rem; }
.airport-progress-copy { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:.7rem; }
.airport-progress-copy p { margin:0; color:#a4bad0; }
.airport-progress-copy p:last-child { margin-top:.22rem; }
.airport-progress-copy p:last-child strong { color:#fff; font-size:1.1rem; }
.airport-progress-pct { color:var(--gold); font:800 1.25rem Outfit,sans-serif; }
.airport-board-top p:not(.airport-eyebrow) { margin:.55rem 0 0; color:#8fa9bf; }
.airport-tabs { display:flex; gap:.25rem; padding:.25rem; border-radius:12px; background:#081729; }
.airport-tabs button { padding:.7rem .9rem; border:0; border-radius:9px; color:#8fa9bf; background:transparent; font-weight:800; cursor:pointer; }
.airport-tabs button[aria-selected="true"] { color:#fff; background:#17466e; box-shadow:0 3px 10px rgba(0,0,0,.22); }
.airport-board-key,.airport-movement { display:grid; grid-template-columns:110px minmax(0,1fr) minmax(130px,.42fr); gap:1rem; align-items:center; }
.airport-board-key { padding:.8rem 1rem; color:#6e8ca5; font-size:.65rem; font-weight:800; letter-spacing:.12em; }
.airport-movement { margin-bottom:.55rem; padding:.9rem 1rem; border:1px solid rgba(104,157,197,.14); border-radius:14px; background:rgba(18,43,66,.72); }
.airport-time strong,.airport-aircraft strong { display:block; color:#f5f9fc; font:700 1rem Outfit,sans-serif; }
.airport-time span,.airport-aircraft span { display:block; margin-top:.2rem; color:#87a4bc; font-size:.76rem; }
.airport-verdict { justify-self:stretch; display:grid; grid-template-columns:1fr auto; gap:.2rem .65rem; padding:.55rem .7rem; border-radius:10px; font-size:.75rem; line-height:1.2; }
.airport-verdict > span { grid-column:1/-1; opacity:.72; font-size:.58rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.airport-verdict > strong { font:800 .82rem Outfit,sans-serif; }
.airport-verdict > em { align-self:end; color:inherit; font-size:.72rem; font-style:normal; font-weight:700; opacity:.9; }
.airport-verdict--yes { color:#8ff0c0; background:rgba(36,176,112,.14); border:1px solid rgba(64,218,144,.3); }
.airport-verdict--tight { color:#ffda76; background:rgba(226,169,34,.14); border:1px solid rgba(255,202,71,.3); }
.airport-verdict--no { color:#ff9ca5; background:rgba(212,62,76,.14); border:1px solid rgba(255,105,119,.3); }
.airport-verdict--unknown { color:#b1c2d1; background:rgba(140,166,190,.12); }
.airport-loading,.airport-empty { display:grid; place-items:center; min-height:150px; padding:2rem; border:1px dashed rgba(117,176,218,.22); border-radius:14px; color:#8fa9bf; text-align:center; }
.airport-empty strong { color:#ecf5fc; font:700 1.05rem Outfit,sans-serif; }
.airport-empty span { margin-top:.35rem; max-width:520px; }
.airport-disclaimer { margin:1rem .25rem 0; color:#6f8aa1; font-size:.72rem; }
@media (max-width:700px) {
  .airport-watch { padding:.1rem 0 6.5rem; }
  .airport-hero { min-height:300px; align-items:flex-start; flex-direction:column; padding:1.35rem; }
  .airport-range { width:100%; }
  .airport-section-head,.airport-board-top { align-items:flex-start; flex-direction:column; }
  .airport-tabs { width:100%; }
  .airport-tabs button { flex:1; }
  .airport-board-key { display:none; }
  .airport-movement { grid-template-columns:64px minmax(0,1fr); gap:.8rem; padding:.85rem; }
  .airport-verdict { grid-column:1/-1; margin-top:.15rem; }
}
.sky-map-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.sky-map-ring {
  fill: transparent;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.sky-map-ring--glow {
  fill: none;
  stroke-width: 6;
  opacity: 0.22;
}
.sky-map-ring--watch {
  stroke: rgba(110, 200, 255, 0.7);
  fill: rgba(58, 160, 255, 0.05);
}
.sky-map-ring--watch.sky-map-ring--glow {
  stroke: rgba(58, 160, 255, 0.9);
}
.sky-map-ring--spot {
  stroke: rgba(245, 197, 66, 0.75);
  fill: rgba(245, 197, 66, 0.06);
}
.sky-map-ring--spot.sky-map-ring--glow {
  stroke: rgba(245, 197, 66, 0.85);
}
.sky-map-you-mark {
  fill: #3b82f6;
  stroke: rgba(7, 18, 36, 0.9);
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.7));
}
.sky-map-ac {
  fill: #6ec8ff;
  stroke: rgba(7, 18, 36, 0.85);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 5px rgba(58, 160, 255, 0.65));
}
.sky-map-ac-anchor {
  fill: #6ec8ff;
  stroke: rgba(7, 18, 36, 0.95);
  stroke-width: 1.5;
}
.sky-map-ac-anchor--claimable { fill: var(--gold); }
.sky-map-ac-anchor--approaching { fill: #7dd3fc; }
.sky-map-ac-leader {
  stroke: rgba(110, 200, 255, 0.82);
  stroke-width: 1.25;
  stroke-dasharray: 2 2;
}
.sky-map-ac-leader--claimable { stroke: rgba(245, 197, 66, 0.9); }
.sky-map-ac-trail {
  stroke: rgba(110, 200, 255, 0.68);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 4 4;
}
.sky-map-ac-trail--claimable { stroke: rgba(245, 197, 66, 0.76); }
.sky-map-ac-number {
  fill: #071224;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: central;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 0.5px;
}
.sky-map-live-note {
  position: absolute;
  left: 0.55rem;
  bottom: 2rem;
  z-index: 4;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(110, 200, 255, 0.28);
  border-radius: 999px;
  color: rgba(232, 241, 255, 0.9);
  background: rgba(7, 18, 36, 0.78);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.sky-map-ac--claimable {
  fill: var(--gold);
  filter: drop-shadow(0 0 6px rgba(245, 197, 66, 0.75));
}
.sky-map-ac--missed {
  fill: #9aa8bc;
  filter: none;
}
.sky-map-ac--approaching {
  fill: #7dd3fc;
}
.sky-map-ac--military {
  fill: #c084fc;
  stroke: #f5e8ff;
  stroke-width: 3;
  stroke-dasharray: 3 2;
  filter: drop-shadow(0 0 6px rgba(192, 132, 252, 0.9));
}
.sky-map-ac-number--military {
  fill: #190b2d;
  font-weight: 900;
}
/* Soft vignette + HUD — watch/spot rings are the real distance rings. */
.radar-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 68%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 68%, transparent 78%);
  background: radial-gradient(circle at 50% 50%, transparent 35%, rgba(4, 12, 24, 0.35) 100%);
}
.radar-overlay .radar-grid {
  inset: 8%;
  border-color: rgba(110, 200, 255, 0.14);
  background:
    repeating-radial-gradient(
      circle at 50% 50%,
      transparent 0,
      transparent 14%,
      rgba(110, 200, 255, 0.04) 14.4%,
      transparent 15%
    );
}
.radar-overlay .radar-cross {
  background: rgba(110, 200, 255, 0.14);
}
.radar-overlay .radar-sweep {
  inset: 6%;
  opacity: 0.55;
  background: conic-gradient(
    from 0deg,
    rgba(110, 200, 255, 0.28) 0deg,
    rgba(110, 200, 255, 0.06) 22deg,
    transparent 48deg,
    transparent 360deg
  );
}
.sky-map-legend {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.2rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 650;
  pointer-events: none;
  width: auto;
}
.sky-map-attrib {
  position: absolute;
  left: 0.55rem;
  bottom: 0.45rem;
  z-index: 5;
  margin: 0;
  font-size: 0.62rem;
  color: rgba(143, 184, 232, 0.7);
  background: rgba(7, 18, 36, 0.55);
  padding: 0.15rem 0.35rem;
  border-radius: 0.35rem;
  pointer-events: none;
}
.sky-map-attrib a { color: inherit; }
.sky-map-legend li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(232, 241, 255, 0.92);
  line-height: 1.2;
}
.sky-map-swatch {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  box-sizing: border-box;
  flex: 0 0 auto;
}
.sky-map-swatch--watch {
  border: 2px solid #60a5fa;
  background: transparent;
}
.sky-map-swatch--spot {
  border: 2px solid #f5c542;
  background: transparent;
}
.sky-map-you {
  background: transparent !important;
  border: 0 !important;
}
.sky-map-you-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin: 2px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 0 2px rgba(7, 18, 36, 0.9), 0 0 12px rgba(59, 130, 246, 0.85);
}
.sky-map-blip {
  background: transparent !important;
  border: 0 !important;
}
.sky-map-blip-dot {
  display: block;
  width: 10px;
  height: 10px;
  margin: 2px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(7, 18, 36, 0.85), 0 0 8px rgba(245, 197, 66, 0.7);
}
.sky-map-blip--claimable .sky-map-blip-dot {
  width: 12px;
  height: 12px;
  margin: 1px;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(7, 18, 36, 0.85), 0 0 10px rgba(245, 197, 66, 0.8);
}
.sky-map-blip--missed .sky-map-blip-dot {
  background: #9aa8bc;
  box-shadow: 0 0 0 2px rgba(7, 18, 36, 0.85);
}
.sky-map-blip--approaching .sky-map-blip-dot {
  background: #7dd3fc;
}
.radar-caption {
  position: absolute;
  left: 50%;
  bottom: 22%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 6;
  font-family: var(--font-display);
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--text);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}
.sky-map-wrap--empty .radar-caption {
  bottom: auto;
  top: 42%;
  transform: translate(-50%, -50%);
}
.sky-encounters {
  flex: 0 0 auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.sky-encounters .encounter {
  padding: 0.85rem;
  margin: 0;
  border-radius: 1.25rem;
  background: rgba(12, 28, 52, 0.94);
  border: 1px solid rgba(110, 200, 255, 0.22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.encounter-hero {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}
.encounter-media {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  background: rgba(8, 18, 36, 0.8);
  aspect-ratio: 4 / 3;
}
.encounter-media .ac-photo,
.encounter-media .silhouette {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
}
.encounter-media .ac-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.encounter-media .ac-photo-credit {
  display: none;
}
.encounter-rarity {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  z-index: 1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.65rem;
  padding: 0.18rem 0.45rem;
  border-radius: 0.4rem;
}
.encounter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
  min-width: 0;
}
.encounter-head-text {
  min-width: 0;
}
.encounter-ident {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.encounter-radar-key {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  color: #071224;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(7, 18, 36, 0.9), 0 0 8px rgba(245, 197, 66, 0.48);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
}
.encounter-community-source {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 50%;
  background: rgba(14, 116, 144, 0.25);
  color: #7dd3fc;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.2);
}
.encounter-top-flyover {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(245, 197, 66, 0.13);
  color: var(--gold);
  filter: drop-shadow(0 0 5px rgba(245, 197, 66, 0.34));
}
.sky-map-ac-crown {
  fill: var(--gold);
  stroke: rgba(7, 18, 36, 0.9);
  stroke-width: 0.9px;
  paint-order: stroke fill;
  font-family: serif;
  font-size: 16px;
  font-weight: 900;
  text-anchor: middle;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(245, 197, 66, 0.72));
}
.encounter-head .reg {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-decoration: none;
}
.encounter-head .reg:hover { text-decoration: underline; }
.encounter-head .ac-make-model {
  margin: 0.2rem 0 0;
  color: var(--sky-glow);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
}
.encounter-head .sub {
  margin: 0.15rem 0 0;
  color: var(--mist);
  font-size: 0.82rem;
}
.encounter-history {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  min-height: 2.15rem;
  margin-top: 0.65rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(110, 200, 255, 0.11);
  border-radius: 0.72rem;
  background: rgba(4, 17, 34, 0.34);
}
.encounter-history-label {
  flex: 0 0 auto;
  color: rgba(143, 184, 232, 0.68);
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.encounter-history-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3rem;
}
.encounter-history-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  min-height: 1.3rem;
  padding: 0.16rem 0.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(30, 75, 120, 0.26);
  color: #cfe9ff;
  font-size: 0.62rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}
.encounter-history-chip--seen {
  background: rgba(245, 197, 66, 0.11);
  color: #ffe38a;
}
.encounter-history-chip--flyovers {
  background: rgba(167, 139, 250, 0.11);
  color: #c4b5fd;
}
.encounter-history-chip--heard {
  background: rgba(56, 189, 248, 0.11);
  color: #a9e5ff;
}
.encounter-history-chip--new {
  background: transparent;
  color: var(--mist);
}
.encounter-fav {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: rgba(232, 241, 255, 0.68);
  cursor: pointer;
}
.encounter-fav svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.encounter-fav.is-on {
  color: var(--gold);
}
.encounter-fav.is-on svg {
  fill: currentColor;
  stroke: currentColor;
}
.sky-encounters .encounter-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "where distance altitude"
    "look look look"
    "route route route";
  gap: 0.55rem 0.7rem;
  margin-top: 0.8rem;
  color: var(--mist);
  font-size: 0.72rem;
}
.sky-encounters .where-pill { grid-area: where; }
.sky-encounters .look-dir { grid-area: look; }
.sky-encounters .encounter-meta-cell:nth-of-type(3) { grid-area: distance; }
.sky-encounters .encounter-meta-cell:nth-of-type(4) { grid-area: altitude; }
.sky-encounters .encounter-route { grid-area: route; }
.sky-encounters .look-dir,
.sky-encounters .encounter-route {
  padding-top: 0.48rem;
  border-top: 1px solid rgba(110, 200, 255, 0.12);
}
.sky-encounters .encounter-meta-cell {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  align-content: start;
}
.sky-encounters .encounter-meta .meta-k {
  color: rgba(143, 184, 232, 0.72);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.sky-encounters .encounter-meta-value {
  color: var(--text);
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.2;
  word-break: break-word;
}
.where-pill--home,
.where-pill--out {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  width: fit-content;
  align-content: center;
  grid-auto-flow: column;
}
.where-pill--home .encounter-meta-value,
.where-pill--out .encounter-meta-value {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.encounter-state {
  margin-top: 0.65rem;
}
.encounter-state .state-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.26rem 0.55rem;
  border: 1px solid rgba(110, 200, 255, 0.2);
  border-radius: 999px;
  background: rgba(30, 75, 120, 0.28);
}
.state-pill--claimable {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 0.55rem;
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.35);
  font-weight: 800;
  letter-spacing: 0.05em;
}
.sky-encounters .claim-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.sky-encounters .encounter--heard .claim-actions {
  grid-template-columns: 1fr;
}
.sky-encounters .encounter--heard .claim-hint {
  margin-top: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  background: rgba(56, 189, 248, 0.08);
  line-height: 1.35;
}
.sky-encounters .btn-claim,
.sky-encounters .btn-claim-heard {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  min-height: 3.5rem;
  margin: 0;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 1rem;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.claim-ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.claim-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  line-height: 1.15;
}
.claim-label {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.claim-sub {
  font-size: 0.7rem;
  font-weight: 550;
  opacity: 0.85;
}
.sky-encounters .btn-claim {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1200;
  border: 0;
  animation: none;
}
.sky-encounters .btn-claim-heard {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  border: 0;
}
.sky-stats {
  --sky-stat-gap: 0.5rem;
  --sky-stat-visible: 4;
  /* Sliver of the next card so the rail reads as scrollable at a glance. */
  --sky-stat-peek: 0.85rem;
  --sky-rail-fade-l: 0px;
  --sky-rail-fade-r: 0px;
  flex: 0 0 auto;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--sky-stat-gap);
  margin: 0.1rem 0 0.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--sky-rail-fade-l),
    #000 calc(100% - var(--sky-rail-fade-r)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--sky-rail-fade-l),
    #000 calc(100% - var(--sky-rail-fade-r)),
    transparent 100%
  );
}
.sky-stats.is-rail-overflow {
  --sky-rail-fade-r: 1.9rem;
}
.sky-stats.is-rail-overflow.is-rail-scrolled {
  --sky-rail-fade-l: 1.6rem;
}
.sky-stats.is-rail-overflow.is-rail-end {
  --sky-rail-fade-r: 0px;
}
.sky-stats::-webkit-scrollbar {
  display: none;
}
.sky-stats:focus-visible {
  outline: 2px solid rgba(110, 200, 255, 0.7);
  outline-offset: 3px;
  border-radius: 0.9rem;
}
.sky-stats > .sky-stat {
  flex: 0 0 calc(
    (100% - var(--sky-stat-peek) - (var(--sky-stat-visible) - 1) * var(--sky-stat-gap))
    / var(--sky-stat-visible)
  );
  min-width: 0;
  scroll-snap-align: start;
}

.sky-stats-hint {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: -0.05rem 0 0.4rem;
}
.sky-stats-hint[hidden] {
  display: none;
}
.sky-stats-hint-track {
  position: relative;
  flex: 1 1 auto;
  height: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.sky-stats-hint-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 60%;
  border-radius: 999px;
  background: rgba(110, 200, 255, 0.75);
  transition: left 0.12s linear;
}
.sky-stats-hint-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mist);
}
.sky-stats-hint-label svg {
  animation: sky-rail-nudge 1.7s ease-in-out infinite;
}
.sky-stats-hint.is-rail-end .sky-stats-hint-label {
  opacity: 0;
  visibility: hidden;
}
@keyframes sky-rail-nudge {
  0%, 62%, 100% { transform: translateX(0); }
  78% { transform: translateX(2.5px); }
}
@media (prefers-reduced-motion: reduce) {
  .sky-stats-hint-label svg {
    animation: none;
  }
}
.sky-stat--origin .sky-stat-ico {
  color: #34d399;
  background: rgba(52, 211, 153, 0.14);
}
.sky-stat--destination .sky-stat-ico {
  color: #fb7185;
  background: rgba(251, 113, 133, 0.14);
}
.sky-stat--airline .sky-stat-ico { color: #c084fc; background: rgba(192, 132, 252, 0.14); }
.sky-stat--origin strong, .sky-stat--destination strong, .sky-stat--airline strong { font-size: 0.86rem; line-height: 1.08; overflow-wrap: anywhere; }

/* ---- Flight paths (/routes) ---- */
.routes-page {
  --routes-origin: #5ee09a;
  --routes-destination: #ff9aa8;
}
.routes-back {
  flex: 0 0 auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.42rem 0.7rem 0.42rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 200, 255, 0.28);
  background: linear-gradient(180deg, rgba(16, 42, 78, 0.95), rgba(8, 18, 36, 0.95));
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.routes-back:hover,
.routes-back:focus-visible {
  border-color: rgba(110, 200, 255, 0.55);
  outline: none;
}
.routes-summary {
  padding: 0.85rem 0.9rem;
}
.routes-stats {
  grid-column: auto;
}
.routes-stats li > span:last-child { min-width: 0; }
.routes-stats li strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  text-overflow: clip;
  font-size: 0.8rem;
  line-height: 1.08;
}
.routes-stat-ico--origin {
  color: var(--routes-origin);
}
.routes-stat-ico--destination {
  color: var(--routes-destination);
}
.routes-stat-ico--airports {
  color: #6ec8ff;
}
.routes-stat-ico--passes {
  color: var(--gold, #f5c542);
}
.routes-stat-ico--airline, .routes-board--airline .routes-board-ico { color: #c084fc; }
.routes-chip--airline:not(.is-active) { color: #c084fc; }
.routes-board--airline { border-color: rgba(192, 132, 252, 0.34); }
.routes-board--airline .routes-board-ico { background: rgba(192, 132, 252, 0.14); }
.routes-board--airline .routes-rank-bar > span { background: linear-gradient(90deg, rgba(192, 132, 252, 0.5), #c084fc); }
.routes-rank-airport, .routes-rank-airline { font-family: inherit; font-size: 0.9rem; letter-spacing: 0; line-height: 1.15; }
.routes-chip--origin:not(.is-active) {
  color: var(--routes-origin);
}
.routes-chip--destination:not(.is-active) {
  color: var(--routes-destination);
}

.routes-filters {
  display: grid;
  gap: 0.6rem;
  padding: 0.75rem 0.8rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 18, 36, 0.55);
  min-width: 0;
  overflow: hidden;
}
.routes-filters .hangar-chips {
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
  overflow: visible;
}
.routes-filter-group {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
}
.routes-filter-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mist);
}

.routes-boards {
  display: grid;
  gap: 0.85rem;
}
.routes-board {
  padding: 0.9rem 0.95rem 1rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(110, 200, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(58, 160, 255, 0.08), transparent 40%),
    rgba(10, 24, 48, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 28px rgba(0, 0, 0, 0.26);
}
.routes-board--origin {
  border-color: color-mix(in srgb, var(--routes-origin) 34%, transparent);
}
.routes-board--destination {
  border-color: color-mix(in srgb, var(--routes-destination) 34%, transparent);
}
.routes-board-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}
.routes-board-head h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.routes-board-ico {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
}
.routes-board--origin .routes-board-ico {
  color: var(--routes-origin);
  background: color-mix(in srgb, var(--routes-origin) 16%, transparent);
}
.routes-board--destination .routes-board-ico {
  color: var(--routes-destination);
  background: color-mix(in srgb, var(--routes-destination) 16%, transparent);
}
.routes-board-count {
  margin-left: auto;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--mist);
}
.routes-empty {
  margin: 0;
  padding: 0.9rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--mist);
}

.routes-rank {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  counter-reset: routes-rank;
}
.routes-rank-row {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.55rem;
  border-radius: 0.85rem;
  background: rgba(7, 18, 36, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.routes-rank-row.is-top {
  border-color: rgba(245, 197, 66, 0.35);
  background: rgba(245, 197, 66, 0.07);
}
.routes-rank-pos {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--mist);
}
.routes-rank-row.is-top .routes-rank-pos {
  background: var(--gold, #f5c542);
  color: #1a1200;
}
.routes-rank-body {
  display: grid;
  grid-template-columns: minmax(3.2rem, auto) minmax(0, 1fr);
  grid-template-areas:
    "code bar"
    "meta meta";
  align-items: center;
  column-gap: 0.6rem;
  row-gap: 0.15rem;
  min-width: 0;
}
.routes-rank-code {
  grid-area: code;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text);
}
.routes-rank-bar {
  grid-area: bar;
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.routes-rank-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.routes-board--origin .routes-rank-bar > span {
  background: linear-gradient(90deg, color-mix(in srgb, var(--routes-origin) 55%, transparent), var(--routes-origin));
}
.routes-board--destination .routes-rank-bar > span {
  background: linear-gradient(90deg, color-mix(in srgb, var(--routes-destination) 55%, transparent), var(--routes-destination));
}
.routes-rank-meta {
  grid-area: meta;
  font-size: 0.7rem;
  color: var(--mist);
}
.routes-rank-meta strong {
  color: var(--text);
  font-weight: 800;
}

@media (min-width: 720px) {
  .routes-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }
  .routes-boards {
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    align-items: start;
  }
  .routes-stats {
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  }
}
.sky-stat {
  position: relative;
  display: grid;
  gap: 0.12rem;
  padding: 0.7rem 0.5rem 0.75rem;
  border-radius: 1rem;
  background: rgba(12, 28, 52, 0.94);
  border: 1px solid rgba(110, 200, 255, 0.18);
  color: inherit;
  text-decoration: none !important;
  min-width: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}
.sky-stat strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
  margin-top: 0.2rem;
}
.sky-stats .sky-stat--origin > strong,
.sky-stats .sky-stat--destination > strong,
.sky-stats .sky-stat--airline > strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  overflow-wrap: normal;
  word-break: normal;
}
.encounter-route { grid-column: 1 / -1; }
.encounter-route .encounter-meta-value { font-size: 0.72rem; line-height: 1.25; white-space: normal; }
.sky-stat-label {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.sky-stat-sub {
  font-size: 0.6rem;
  color: var(--mist);
  line-height: 1.2;
}
.sky-stat-ico {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.sky-stat-ico svg {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
}
.sky-stat--overhead .sky-stat-ico {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.16);
}
.sky-stat--claimable .sky-stat-ico {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.14);
}
.sky-stat--collected .sky-stat-ico {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.14);
}
.sky-stat--alerts .sky-stat-ico {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.14);
}
.sky-stat-chevron {
  position: absolute;
  top: 0.6rem;
  right: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-right: 1.5px solid rgba(143, 184, 232, 0.55);
  border-bottom: 1.5px solid rgba(143, 184, 232, 0.55);
  transform: rotate(-45deg);
}
.claim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}
.claim-actions .btn {
  flex: 1 1 8.5rem;
}
.btn-claim-heard {
  font-weight: 700;
  letter-spacing: 0.02em;
  background: color-mix(in srgb, var(--panel, #132844) 70%, #38bdf8);
  color: #f8fafc;
  border: 1px solid color-mix(in srgb, #38bdf8 55%, white);
}
.btn-claim-heard:disabled {
  opacity: 0.65;
}
.claim-hint {
  margin: 0.35rem 0 0;
}
.encounter--heard {
  border-color: color-mix(in srgb, #38bdf8 45%, transparent);
}
.state-pill--heard {
  background: color-mix(in srgb, #38bdf8 35%, var(--panel, #132844));
  color: #e0f2fe;
}
.ac-card--heard,
.panel--heard {
  border-color: color-mix(in srgb, #38bdf8 40%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #38bdf8 18%, transparent);
}
.ac-photo--heard img,
.silhouette.heard {
  filter: grayscale(0.35) sepia(0.35) hue-rotate(170deg) saturate(1.35);
}
.heard-label {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e0f2fe;
  background: color-mix(in srgb, #0284c7 70%, #0b1b33);
}
.heard-text {
  color: #7dd3fc;
}

.bottom-nav {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  border-top: 1px solid rgba(110, 200, 255, 0.16);
  border-radius: 1.35rem 1.35rem 0 0;
  background: rgba(8, 18, 36, 0.97);
  backdrop-filter: blur(12px);
  padding-bottom: var(--safe-bottom);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
}

.bottom-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0.4rem 0.35rem 0.35rem;
  display: flex;
  align-items: stretch;
  gap: 0.12rem;
  max-width: 36rem;
}
.bottom-nav li {
  flex: 1;
  min-width: 0;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: var(--touch);
  border-radius: 0.95rem;
  color: var(--mist);
  font-size: 0.64rem;
  font-weight: 600;
  text-decoration: none !important;
  padding: 0.35rem 0.2rem;
}
.bottom-nav .nav-item {
  width: 100%;
  gap: 0.12rem;
  font-size: 0.58rem;
  padding: 0.3rem 0.1rem;
}

.nav-item span[aria-hidden] { font-size: 1.15rem; }
.nav-item.active {
  background: rgba(58, 160, 255, 0.2);
  color: var(--sky-glow);
}
.bottom-nav .nav-item.active {
  background: rgba(37, 99, 235, 0.22);
  color: #93c5fd;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.18);
}

.page-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.page-header > .btn,
.page-header > button.btn {
  flex: 0 0 auto;
  white-space: nowrap;
  align-self: flex-start;
  padding: 0.55rem 0.9rem;
  min-height: 2.6rem;
  font-size: 0.92rem;
}

.admin-bar,
.top-pills {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem;
  padding: calc(env(safe-area-inset-top, 0px) + 0.45rem) 0.85rem 0;
  flex: 0 0 auto;
}
.patch-badge {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 0.65rem;
  border: 1px solid rgba(110, 200, 255, 0.34);
  color: var(--sky-glow);
  background: linear-gradient(180deg, rgba(28, 75, 126, 0.9), rgba(8, 24, 46, 0.95));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}
.top-pills .top-utility-icon {
  box-sizing: border-box;
  width: 2rem;
  height: 2rem;
  min-height: 2rem;
  padding: 0;
  border-radius: 0.65rem;
  flex: 0 0 2rem;
}
.top-pills .discord-badge {
  order: -100;
}
.sister-badge {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: filter 150ms ease, border-color 150ms ease;
}
.top-pills .sister-badge--rail {
  order: -99;
  color: #ffe3b0;
  background: linear-gradient(145deg, #a65b1e, #532810);
}
.top-pills .sister-badge--sea {
  order: -98;
  margin-right: auto;
  color: #b8fff3;
  background: linear-gradient(145deg, #137e8e, #073c58);
}
.sister-badge:hover {
  filter: brightness(1.2);
  border-color: currentColor;
  text-decoration: none;
}
.sister-badge:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.sister-badge--beta { position: relative; overflow: visible; }
.sister-badge--beta::after {
  content: "BETA";
  position: absolute;
  top: -0.38rem;
  right: -0.72rem;
  padding: 0.11rem 0.22rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0.28rem;
  background: #f6c444;
  color: #271b00;
  font: 800 0.47rem/1 var(--font-display);
  letter-spacing: 0.06em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.top-pills .admin-badge {
  order: 100;
  margin-left: auto;
}
.patch-badge:hover,
.patch-badge:focus-visible,
.patch-badge.is-active {
  color: #fff;
  border-color: var(--sky-glow);
  background: #2563eb;
  outline: none;
  text-decoration: none;
}
.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #041018;
  background: var(--gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.admin-badge:hover { text-decoration: none; filter: brightness(1.05); }
.discord-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #5865f2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.discord-badge:hover { text-decoration: none; filter: brightness(1.08); }
.discord-badge--inline,
.admin-badge--inline {
  position: static;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 0.3rem 0.65rem;
  font-size: 0.65rem;
  min-height: 1.85rem;
}
.discord-badge--icon,
.admin-badge--icon {
  padding: 0;
  min-height: 1.75rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

.eyebrow { color: var(--mist); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; margin: 0; }
.lede { color: var(--mist); margin: 0; max-width: 36rem; line-height: 1.45; }
.meta { color: var(--mist); font-size: 0.9rem; }
.sub { color: var(--mist); margin: 0.15rem 0; font-size: 0.92rem; }
.hint { color: var(--mist); margin: 0.6rem 0 0; }
.error { color: var(--danger); }

.panel {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
  backdrop-filter: blur(6px);
}

.panel--ghost, .ac-card--ghost { filter: grayscale(1); opacity: 0.85; }
.ghost-text { filter: grayscale(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  min-width: var(--touch);
  padding: 0.7rem 1.1rem;
  border-radius: 1rem;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--sky); color: #041018; }
.btn-secondary { background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid rgba(255,255,255,0.12); }
.btn-ghost { background: transparent; color: var(--sky-glow); border: 1px solid rgba(110,200,255,0.35); }
.btn-claim {
  width: 100%;
  margin-top: 0.75rem;
  background: linear-gradient(135deg, var(--gold), #ffd978);
  color: #1a1400;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(245, 197, 66, 0.25);
  animation: pulse-claim 2.2s ease-in-out infinite;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255,255,255,0.1);
}
.rarity-ultra-rare { background: rgba(245,197,66,0.28); color: var(--gold); }
.rarity-legendary { background: rgba(245,197,66,0.25); color: var(--gold); }
.rarity-epic { background: rgba(180,120,255,0.25); color: #d2b4ff; }
.rarity-rare { background: rgba(58,160,255,0.25); color: var(--sky-glow); }
.rarity-uncommon { background: rgba(80,200,140,0.2); color: #8dffc0; }
.rarity-common { background: rgba(255,255,255,0.1); color: #c9d8ef; }

.sky-filter { display: flex; gap: 0.3rem; margin: 0; flex-wrap: nowrap; }
.sky-toolbar .sky-filter { margin: 0; gap: 0.3rem; }
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(8, 18, 36, 0.35);
  color: var(--mist);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
}
.sky-filter .chip.is-active,
.chip.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.seg {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  padding: 0.18rem;
  gap: 0.12rem;
  border-radius: 0.8rem;
  background: rgba(8, 18, 36, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border-radius: 0.6rem;
  color: var(--mist);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
}
.seg a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.seg a.is-active {
  background: rgba(58, 160, 255, 0.28);
  color: var(--text);
}
.missed-set-toggle {
  display: flex;
  width: 100%;
  max-width: 22rem;
  margin: 0 0 0.85rem;
}
.missed-set-toggle a {
  flex: 1;
}
.ghost-concealed-badge {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 2;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(8, 18, 36, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.collector-card--concealed,
.ghost-row--concealed {
  border-color: rgba(148, 163, 184, 0.22);
}
.collector-card-inner,
.ghost-row-inner {
  color: inherit;
}
.collector-card > a,
.collector-card-inner {
  display: block;
  color: inherit;
  text-decoration: none !important;
  height: auto;
  transform: none !important;
  filter: none !important;
}
.ghosts-find--compact {
  display: flex;
  gap: 0.55rem;
  align-items: end;
  max-width: 16rem;
}
.ghosts-find--compact label {
  flex: 1;
  margin: 0;
}
.ghosts-controls {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}
.ghosts-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: space-between;
}
.ghosts-toolbar-end {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.ghosts-refresh-status {
  margin: 0;
}
.ghosts-refresh-status--ok {
  color: var(--ok, #7ddea2);
}
.ghosts-refresh-status--warn {
  color: var(--warn, #f0b45a);
}
.hangar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin: 0 0 0.85rem;
}
.ghosts-sort {
  flex: 1 1 auto;
  min-width: 0;
}
.ghosts-view {
  flex: 0 0 auto;
}
.ghosts-view a {
  min-width: 3.6rem;
}
.ghosts-find {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}
.ghosts-find-bar {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.ghosts-search-inline {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.ghosts-search-inline input {
  width: 100%;
  min-height: 2.4rem;
  margin: 0;
}
.ghosts-more {
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 18, 36, 0.28);
}
.ghosts-more > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--sky-glow);
  outline: none;
}
.ghosts-more > summary:focus-visible {
  border-radius: 0.75rem;
  box-shadow: inset 0 0 0 2px rgba(110, 200, 255, 0.45);
}
.ghosts-more > summary::-webkit-details-marker { display: none; }
.ghosts-more > summary::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.8;
}
.ghosts-more[open] > summary::after {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}
.ghosts-more-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(58, 160, 255, 0.28);
  color: var(--text);
  font-size: 0.75rem;
}
.ghosts-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  align-items: end;
  margin: 0;
  padding: 0.15rem 0.75rem 0.75rem;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.ghosts-type-field {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}
.ghosts-type-search {
  width: 100%;
}
.ghosts-filters-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 720px) {
  .ghosts-filters {
    grid-template-columns: minmax(7rem, 0.9fr) minmax(9rem, 1.05fr) minmax(11rem, 1.4fr) auto;
  }
}

.ghost-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.ghost-row {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.ghost-row > a,
.ghost-row > .ghost-row-inner {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.65rem 0.75rem;
  color: inherit;
  text-decoration: none !important;
}
.ghost-row-photo {
  position: relative;
}
.ghost-row-photo .ac-photo,
.ghost-row-photo .silhouette {
  height: 4.5rem;
  border-radius: 0.55rem;
  margin: 0;
}
.ghost-row-photo .collector-rarity {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  right: auto;
  z-index: 2;
  padding: 0.12rem 0.4rem;
  font-size: 0.55rem;
  letter-spacing: 0.04em;
}
.ghost-row-photo .ac-photo-credit {
  display: none;
}
.ghost-row-photo .silhouette::after {
  inset: 12% 34% 18%;
}
.ghost-row-photo .silhouette::before {
  display: none;
}
.ghost-row-body {
  min-width: 0;
}
.ghost-row-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.45rem;
  align-items: center;
}
.ghost-row-top strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.2;
}
.ghost-row .missed-label {
  margin-left: 0;
}
.ghost-row .ac-make-model {
  margin: 0.15rem 0 0.1rem;
  font-size: 0.88rem;
}
.ghost-row .sub {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
}
.ghost-row .badge:not(.collector-rarity) {
  margin-left: auto;
}
@media (min-width: 560px) {
  .ghost-row > a {
    grid-template-columns: 6rem minmax(0, 1fr);
    padding: 0.7rem 0.85rem;
  }
  .ghost-row-photo .ac-photo,
  .ghost-row-photo .silhouette {
    height: 5.25rem;
  }
}
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  background: rgba(8, 18, 36, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pager-status {
  font-size: 0.88rem;
  color: var(--mist);
}
.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}
.where-pill {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.location-status { margin-bottom: 0.75rem; }

/* legacy sky-status outside sky-toolbar */
.sky-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
}
.sky-status-sep { display: inline; opacity: 0.55; }

.sky-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sky-health {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  margin: 0;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  background: rgba(16, 185, 129, 0.12);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #4ade80;
  vertical-align: middle;
  flex: 0 0 auto;
}
.sky-health--amber {
  color: #e6b84d;
  border-color: rgba(230, 184, 77, 0.35);
  background: rgba(230, 184, 77, 0.12);
}
.sky-health--red {
  color: #e85d5d;
  border-color: rgba(232, 93, 93, 0.35);
  background: rgba(232, 93, 93, 0.12);
}
.sky-health--green {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.28);
  background: rgba(16, 185, 129, 0.12);
}
.sky-health-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  flex: 0 0 auto;
  animation: sky-health-bleep 1.7s ease-in-out infinite;
}
.sky-health--green .sky-health-dot {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
}
.sky-health--amber .sky-health-dot {
  background: #e6b84d;
  box-shadow: 0 0 0 0 rgba(230, 184, 77, 0.5);
  animation-duration: 1.2s;
}
.sky-health--red .sky-health-dot {
  background: #e85d5d;
  box-shadow: 0 0 0 0 rgba(232, 93, 93, 0.55);
  animation-duration: 0.85s;
}
.sky-health-label {
  opacity: 0.95;
}
@keyframes sky-health-bleep {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.8; }
}
@media (prefers-reduced-motion: reduce) {
  .sky-health-dot { animation: none; }
}

.missed-label {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(255,255,255,0.35);
  color: #c8d2e0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.state-pill {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--sky-glow);
}

.encounter-list, .card-grid, .mission-list, .ach-list, .history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.encounter-top, .mission-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}
.reg { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none !important; }
.encounter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
  color: var(--mist);
  font-size: 0.9rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.75rem;
}
.card-grid--collector {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: stretch;
}
@media (min-width: 720px) {
  .card-grid--collector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}
@media (min-width: 1100px) {
  .card-grid--collector {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}
.ac-card a { color: inherit; text-decoration: none !important; display: block; }
.ac-card-body { margin-top: 0.4rem; }

/*
 * Collector cards: fixed internal heights (equal size) and NO filter/transform.
 * filter + overflow + stretched height paints photo content at the bottom of the box.
 */
.collector-card.panel,
.collector-card {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #10243f;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.collector-card:hover {
  border-color: rgba(110, 200, 255, 0.35);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}
.collector-card-media {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  height: 7rem;
  overflow: hidden;
  background: #0a1628;
}
.collector-card-media .ac-photo,
.collector-card-media .silhouette {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  filter: none !important;
  opacity: 1 !important;
}
.collector-card-media .ac-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none !important;
}
/* Ghost look without CSS filter (avoids the “content dropped down” compositing bug). */
.collector-card-media .ac-photo--ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 22, 38, 0.42);
  pointer-events: none;
  z-index: 1;
}
/* Heard wash without CSS filter on the image. */
.collector-card-media .ac-photo--heard,
.collector-card-media .ac-photo--heard img,
.collector-card-media .silhouette.heard {
  filter: none !important;
}
.collector-card-media .ac-photo--heard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 132, 199, 0.28);
  pointer-events: none;
  z-index: 1;
}
.collector-card--heard {
  border-color: color-mix(in srgb, #38bdf8 45%, transparent);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #38bdf8 16%, transparent),
    0 8px 18px rgba(0, 0, 0, 0.24);
}
.collector-status {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  z-index: 2;
  margin: 0;
  padding: 0.18rem 0.48rem;
  border-radius: 0.3rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.collector-status--heard {
  color: #e0f2fe;
  background: color-mix(in srgb, #0284c7 72%, #0b1b33);
}
.collector-card-media .ac-photo-credit {
  display: none;
}
.collector-card .collector-rarity {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  z-index: 2;
  margin: 0;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.collector-card-body {
  display: block;
  padding: 0.55rem 0.6rem 0.65rem;
  min-height: 15rem;
  box-sizing: border-box;
}
.collector-reg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  min-height: 1.2em;
  margin: 0 0 0.35rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.collector-fields {
  display: grid;
  gap: 0.22rem;
  margin: 0;
}
.collector-fields > div {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: 0.3rem;
  align-items: baseline;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.collector-fields > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  align-items: start;
}
.collector-fields > div:last-child dd {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
}
.collector-fields dt {
  margin: 0;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mist);
  opacity: 0.85;
}
.collector-fields dd {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #d5deeb;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.collector-fields dd.is-muted {
  color: var(--mist);
  font-weight: 500;
}
@media (min-width: 720px) {
  .collector-card-media {
    height: 7.5rem;
  }
  .collector-card-body {
    min-height: 15.5rem;
    padding: 0.65rem 0.7rem 0.75rem;
  }
  .collector-fields > div {
    grid-template-columns: 5.2rem minmax(0, 1fr);
  }
  .collector-fields dt { font-size: 0.62rem; }
  .collector-fields dd { font-size: 0.84rem; }
}
.ghost-row .collector-fields {
  margin-top: 0.35rem;
}
.ghost-row.ac-card--ghost {
  filter: none;
  opacity: 1;
}
.ghost-row.ac-card--ghost .ghost-row-photo .ac-photo,
.ghost-row.ac-card--ghost .ghost-row-photo .silhouette {
  filter: grayscale(1);
  opacity: 0.9;
}
.ac-make-model {
  margin: 0.2rem 0 0.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--sky-glow);
  line-height: 1.25;
}
.fav { color: var(--gold); margin-left: 0.25rem; }

.ac-photo {
  position: relative;
  height: 8.5rem;
  border-radius: 0.85rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}
.ac-card .ac-photo {
  margin-bottom: 0.15rem;
}
.ac-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ac-photo--large {
  height: 12rem;
  margin-bottom: 0.8rem;
  border-radius: 1rem;
}
.ac-photo--ghost {
  filter: grayscale(1);
  opacity: 0.88;
}
.ac-photo-credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.25rem 0.45rem;
  font-size: 0.65rem;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}
.ac-photo-credit a {
  color: #fff;
  text-decoration: underline;
}

.silhouette {
  height: 3.2rem;
  border-radius: 0.8rem;
  background:
    radial-gradient(circle at 50% 44%, rgba(110, 200, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(15, 38, 66, 0.92), rgba(7, 18, 36, 0.98));
  position: relative;
  overflow: hidden;
}
.silhouette::before {
  content: "Photo unavailable";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  z-index: 1;
  color: rgba(180, 210, 239, 0.66);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}
.silhouette::after {
  content: "";
  position: absolute;
  inset: 13% 31% 25%;
  background: linear-gradient(180deg, #e8f1ff, #86a7c8);
  clip-path: polygon(50% 0, 57% 36%, 94% 62%, 92% 71%, 58% 56%, 58% 81%, 73% 91%, 70% 97%, 50% 90%, 30% 97%, 27% 91%, 42% 81%, 42% 56%, 8% 71%, 6% 62%, 43% 36%);
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.42));
}
.silhouette[data-type="military"]::after {
  background: linear-gradient(180deg, #f0ddff, #b67be8);
}
.silhouette.large { height: 6rem; margin-bottom: 0.8rem; }
.silhouette.ghost { filter: grayscale(1); opacity: 0.7; }

.filters {
  display: grid;
  gap: 0.7rem;
}
.form-stack { display: grid; gap: 0.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }

.location-picker {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(110, 200, 255, 0.22);
  background: rgba(7, 18, 36, 0.35);
}
.location-picker-label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
}

.radius-controls {
  display: grid;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(110, 200, 255, 0.22);
  background: rgba(7, 18, 36, 0.35);
}
.radius-field { display: grid; gap: 0.35rem; }
.radius-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.radius-field-head label {
  display: inline;
  margin: 0;
  font-weight: 600;
  color: var(--mist);
  font-size: 0.9rem;
}
.radius-value {
  font-variant-numeric: tabular-nums;
  color: var(--sky-glow);
  font-size: 0.95rem;
}
.radius-controls input[type="range"] {
  width: 100%;
  min-height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  accent-color: var(--sky);
  cursor: pointer;
}
.radius-hint {
  margin: 0;
  color: var(--mist);
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 400;
}
.radius-hint--scale { opacity: 0.85; }
.place-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: end;
}
.place-search-field { margin: 0; }
.place-results {
  display: grid;
  gap: 0.35rem;
}
.place-result {
  text-align: left;
  padding: 0.65rem 0.8rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.place-result:hover { border-color: var(--sky-glow); }
.place-chosen {
  margin: 0;
  color: var(--sky-glow);
  font-size: 0.9rem;
}
.place-attribution { opacity: 0.75; font-size: 0.75rem; margin: 0; }
.manual-coords input {
  font-variant-numeric: tabular-nums;
}

label { display: grid; gap: 0.35rem; font-weight: 600; color: var(--mist); font-size: 0.9rem; }
input, select, textarea {
  width: 100%;
  min-height: var(--touch);
  border-radius: 0.9rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  padding: 0.65rem 0.8rem;
  font: inherit;
}
.check { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; }
.check input { width: auto; min-height: 1.25rem; }

.progress {
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin: 0.55rem 0 0.3rem;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: inherit;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}
.facts dt { color: var(--mist); font-size: 0.8rem; }
.facts dd { margin: 0.1rem 0 0; font-weight: 700; }

.ach { display: flex; gap: 0.8rem; align-items: center; }
.ach-icon { font-size: 1.5rem; }

.return-banner {
  border: 1px solid rgba(245,197,66,0.35);
  background: rgba(245,197,66,0.1);
  border-radius: 1.1rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.9rem;
  animation: rise 0.5s ease-out both;
}

.offline-banner {
  background: #3a2030;
  color: #ffd0d8;
  text-align: center;
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
}

.radar {
  position: relative;
  height: 12rem;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(58,160,255,0.12) 0%, transparent 62%),
    rgba(7, 18, 36, 0.55);
}
.radar--empty {
  /* size controlled by .sky-screen .radar */
}
.radar-grid {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(110,200,255,0.12);
  background:
    repeating-radial-gradient(
      circle at 50% 50%,
      transparent 0,
      transparent 11%,
      rgba(110,200,255,0.05) 11.5%,
      transparent 12%
    );
}
.radar-ring {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(110,200,255,0.25);
  border-radius: 50%;
  animation: radar-pulse 3s ease-out infinite;
}
.radar-ring--2 { inset: 32%; animation-delay: 1s; }
.radar-ring--3 { inset: 8%; animation-delay: 1.8s; opacity: 0.7; }
.radar-cross {
  position: absolute;
  background: rgba(110,200,255,0.14);
  left: 50%;
  top: 50%;
}
.radar-cross--h {
  width: 84%;
  height: 1px;
  transform: translate(-50%, -50%);
}
.radar-cross--v {
  width: 1px;
  height: 84%;
  transform: translate(-50%, -50%);
}
.radar-sweep {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(110, 200, 255, 0.35) 0deg,
    rgba(110, 200, 255, 0.08) 28deg,
    transparent 55deg,
    transparent 360deg
  );
  animation: radar-sweep 3.6s linear infinite;
  mask-image: radial-gradient(circle, #000 68%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 68%, transparent 70%);
}
.radar-dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 0.55rem; height: 0.55rem;
  margin: -0.275rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  z-index: 2;
}
.radar-ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  margin: -0.2rem;
  border-radius: 50%;
  background: rgba(110, 200, 255, 0.55);
  box-shadow: 0 0 10px rgba(58, 160, 255, 0.45);
  transform:
    rotate(var(--a))
    translate(var(--d))
    rotate(calc(-1 * var(--a)));
  animation: radar-ghost 4.5s ease-in-out infinite;
}
.radar-ghost:nth-child(odd) { animation-delay: 1.2s; }
.radar-ghost:nth-child(3n) { animation-delay: 2.4s; }
.empty-sky {
  display: none;
}
.empty-sky-title {
  display: none;
}
.blip {
  position: absolute;
  width: 0.55rem; height: 0.55rem;
  margin: -0.275rem;
  border-radius: 50%;
  background: var(--sky-glow);
  box-shadow: 0 0 8px var(--sky);
  z-index: 2;
}
.blip.state-claimable { background: var(--gold); width: 0.7rem; height: 0.7rem; }
.blip.state-missed { background: #9aa8bc; }

.onboarding-hero { display: block; margin-top: 1rem; }
.login-hero,
.onboarding-hero {
  text-align: center;
}
.login-hero .brand-logo,
.onboarding-hero .brand-logo {
  margin-left: auto;
  margin-right: auto;
}
.login-hero h1,
.onboarding-hero h1,
.login-hero .lede,
.onboarding-hero .lede {
  text-align: center;
}

.login-panel {
  max-width: 26rem;
  margin: 0 auto;
  text-align: center;
  padding: 1.5rem;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 3.25rem;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f !important;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.btn-google:hover { filter: brightness(0.97); }

html[data-myskydex-app="1"] .login-panel-app {
  max-width: 22rem;
}
html[data-myskydex-app="1"] .btn-google-native {
  margin-top: 0.5rem;
}

.google-g {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-family: var(--font-display);
  font-weight: 800;
  border: 1px solid #dadce0;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--mist);
  font-size: 0.85rem;
}
.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}
.guest-banner .btn { margin: 0.35rem 0.35rem 0 0; }


.mono-box {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  word-break: break-all;
  background: rgba(0,0,0,0.25);
  padding: 0.75rem;
  border-radius: 0.75rem;
  text-align: left;
}

.profile-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.15rem;
  object-fit: cover;
  border: 2px solid rgba(110,200,255,0.4);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.profile-avatar--fallback {
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(58, 160, 255, 0.35), rgba(7, 18, 36, 0.9));
  color: var(--sky-glow);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  border-style: solid;
}

/* —— Profile page —— */
.profile {
  display: grid;
  gap: 0.85rem;
  max-width: 44rem;
}
.profile > .panel,
.profile .profile-card {
  margin-bottom: 0;
}
.flown-aircraft-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.12), transparent 45%),
    var(--panel);
}
.flown-aircraft-form {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.9rem;
}
.flown-aircraft-form > label {
  color: var(--mist);
  font-size: 0.76rem;
  font-weight: 700;
}
.flown-aircraft-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}
.flown-aircraft-entry .btn { min-width: 4.5rem; }
.flown-aircraft-form .hint { margin: 0; font-size: 0.76rem; }
.flown-aircraft-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}
.flown-aircraft-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.42rem 0.38rem 0.62rem;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 0.75rem;
  background: rgba(88, 65, 150, 0.16);
}
.flown-aircraft-list li > span { display: grid; gap: 0.05rem; }
.flown-aircraft-list strong { color: #ddd6fe; font-size: 0.82rem; }
.flown-aircraft-list small { color: var(--mist); font-size: 0.64rem; }
.flown-aircraft-remove {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: var(--mist);
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}
.flown-aircraft-remove:hover,
.flown-aircraft-remove:focus-visible { color: #fff; background: rgba(239,68,68,0.25); }
.flown-aircraft-empty { margin: 0.8rem 0 0; color: var(--mist); font-size: 0.85rem; }
@media (max-width: 520px) {
  .flown-aircraft-entry { grid-template-columns: 1fr; }
  .flown-aircraft-entry .btn { width: 100%; }
}

.claim-celebrate--flown {
  background:
    radial-gradient(circle at 50% 35%, rgba(245, 197, 66, 0.2), transparent 34%),
    radial-gradient(circle at 25% 75%, rgba(167, 139, 250, 0.18), transparent 42%),
    rgba(6, 8, 20, 0.9);
}
.claim-celebrate--flown .claim-celebrate-card {
  border-color: rgba(245, 197, 66, 0.72);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.24), 0 26px 80px rgba(0, 0, 0, 0.58);
}
.profile-hero {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.15rem 1.2rem;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(58, 160, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(245, 197, 66, 0.08), transparent 50%),
    var(--panel);
}
.profile-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.profile-identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}
.profile-identity-copy {
  min-width: 0;
}
.profile-identity-copy h1 {
  margin: 0.15rem 0 0.2rem;
  font-size: clamp(1.55rem, 4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.profile-identity-copy .sub {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-email-reveal {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.2rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mist);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  text-align: left;
  max-width: 100%;
}
.profile-email-reveal:hover,
.profile-email-reveal:focus-visible {
  color: var(--sky-glow);
  text-decoration: underline;
  outline: none;
}
.profile-email-reveal [data-email-plain] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(18rem, 70vw);
}
.profile-public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.profile-share-status {
  margin: 0.55rem 0 0;
}
.profile-feeder-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.45rem 0 0;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8dffc0;
  background: rgba(111, 211, 160, 0.14);
  border: 1px solid rgba(111, 211, 160, 0.32);
}
.profile-feeder-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #8dffc0;
  box-shadow: 0 0 0 3px rgba(111, 211, 160, 0.25);
  animation: profile-feeder-pulse 2s ease-in-out infinite;
}
@keyframes profile-feeder-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(111, 211, 160, 0.2); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(111, 211, 160, 0.08); opacity: 0.85; }
}
.profile-hero--feeder {
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(111, 211, 160, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(58, 160, 255, 0.1), transparent 50%),
    var(--panel);
}
.profile-feeder-card {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1.05rem;
  border: 1px solid rgba(111, 211, 160, 0.28);
  background:
    linear-gradient(145deg, rgba(111, 211, 160, 0.12), transparent 60%),
    rgba(0, 0, 0, 0.2);
}
.profile-feeder-card-copy .eyebrow {
  margin: 0 0 0.15rem;
  color: #8dffc0;
}
.profile-feeder-card-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.profile-feeder-card-copy .sub {
  margin: 0.25rem 0 0;
}
.profile-feeder-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
}
.profile-feeder-meta > div {
  padding: 0.55rem 0.65rem;
  border-radius: 0.8rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.profile-feeder-meta dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
}
.profile-feeder-meta dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
  font-size: 0.95rem;
}
.profile-showcase-grid {
  margin: 0;
}
.collector-card--showcase .collector-card-body {
  min-height: 0;
  padding: 0.65rem 0.7rem 0.75rem;
}
.collector-card--showcase .collector-reg {
  margin-bottom: 0.45rem;
  white-space: normal;
}
.collector-card--showcase .collector-fields > div:last-child dd {
  -webkit-line-clamp: 2;
  min-height: 0;
}
.pass-repair-results {
  margin-top: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.8rem;
  background: rgba(8, 18, 36, 0.4);
}
.pass-repair-results ul {
  margin: 0;
  padding-left: 1.1rem;
}
.pass-repair-results li {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--mist);
}
.profile-level-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 1.05rem;
  background:
    linear-gradient(160deg, rgba(245, 197, 66, 0.22), rgba(58, 160, 255, 0.12));
  border: 1px solid rgba(245, 197, 66, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.profile-level-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}
.profile-level-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 0.15rem;
}
.profile-xp {
  margin-top: 1.05rem;
}
.profile-xp-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
.profile-xp-meta strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.01em;
  min-width: 0;
}
.profile-xp-meta span {
  color: var(--mist);
  font-size: 0.82rem;
  text-align: right;
}
.profile-career-badge {
  align-self: flex-start;
}
.profile-xp .progress {
  height: 0.55rem;
  margin: 0;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.profile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 5.25rem;
  padding: 0.85rem 0.5rem;
  text-align: center;
  text-decoration: none !important;
  color: inherit;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(58, 160, 255, 0.1), transparent 55%),
    rgba(10, 24, 44, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
}
a.profile-stat:hover {
  border-color: rgba(110, 200, 255, 0.35);
  background:
    linear-gradient(180deg, rgba(58, 160, 255, 0.16), transparent 55%),
    rgba(12, 30, 54, 0.95);
}
a.profile-stat:active {
  transform: scale(0.98);
}
.profile-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5vw, 1.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.profile-stat span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

.profile-layout {
  display: grid;
  gap: 0.85rem;
}
.profile-card {
  padding: 1.1rem 1.15rem 1.2rem;
}
.profile-card-head {
  margin: 0 0 0.75rem;
}
.profile-card-head .eyebrow {
  margin: 0 0 0.2rem;
}
.profile-card-head h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.profile-card-head--sub {
  margin: 0 0 0.45rem;
}
.profile-card-head--sub h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.profile-card--empty {
  text-align: center;
  padding: 1.35rem 1.15rem;
}
.profile-place {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}
.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}
.profile-facts > div {
  padding: 0.65rem 0.75rem;
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.profile-facts dt {
  margin: 0;
  color: var(--mist);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.profile-facts dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
  font-size: 1.02rem;
}
.profile-facts--prefs {
  margin-top: 0.85rem;
}
.profile-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.95rem 0 0;
}

.alexa-link-guide {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .8rem 1rem;
  background: color-mix(in srgb, var(--panel) 88%, var(--accent) 12%);
}
.alexa-link-guide summary {
  cursor: pointer;
  font-weight: 700;
}
.alexa-link-guide ol {
  margin: .8rem 0 .2rem;
  padding-left: 1.3rem;
}
.alexa-link-guide li + li {
  margin-top: .55rem;
}
.alexa-link-code {
  display: grid;
  gap: .25rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--sky, #5ec8f2) 55%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 82%, var(--sky, #5ec8f2) 18%);
}
.alexa-link-code strong {
  font-size: clamp(1.65rem, 7vw, 2.2rem);
  letter-spacing: .12em;
}
.alexa-link-code small {
  color: var(--mist, #9eb6d4);
}

.whats-new-card {
  position: fixed;
  z-index: 760;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(5.25rem + env(safe-area-inset-bottom));
  width: min(25rem, calc(100vw - 2rem));
  padding: 1.15rem 1.2rem;
  border: 1px solid color-mix(in srgb, var(--sky, #5ec8f2) 55%, var(--line));
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 100% 0, rgb(54 150 238 / .28), transparent 42%),
    #102a49;
  box-shadow:
    0 0 0 100vmax rgb(2 9 20 / .72),
    0 1.25rem 3rem rgb(0 0 0 / .55);
  opacity: 0;
  transform: translateY(1rem) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
}
.whats-new-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.whats-new-card h2 {
  margin: .12rem 2rem .45rem 0;
  font-size: 1.32rem;
}
.whats-new-card > p:not(.eyebrow, .hint) {
  margin: 0;
  color: #f4f8ff;
  line-height: 1.45;
}
.whats-new-card .hint {
  margin: .75rem 0 0;
  color: #c7d8ec;
}
.whats-new-close {
  position: absolute;
  top: .6rem;
  right: .65rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 999px;
  color: var(--mist, #9eb6d4);
  background: transparent;
  font: inherit;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}
.whats-new-close:hover,
.whats-new-close:focus-visible {
  color: white;
  background: rgb(255 255 255 / .08);
}
.whats-new-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .9rem;
}
@media (min-width: 860px) {
  .whats-new-card {
    bottom: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .whats-new-card {
    transition: none;
  }
}
.profile-divider {
  height: 1px;
  margin: 1.15rem 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12) 20%,
    rgba(255, 255, 255, 0.12) 80%,
    transparent
  );
}
.profile-status {
  margin: 0 0 0.35rem;
  font-weight: 700;
}
.profile-status--live {
  color: var(--sky-glow);
}
.profile-flash {
  margin: 0 0 0.65rem;
  color: color-mix(in srgb, #6fd3a0 85%, white);
}
.profile-section-head {
  margin: 0.15rem 0 0.65rem;
}
.profile-section-head h2 {
  margin: 0.15rem 0 0;
}
.profile-achievements {
  min-width: 0;
}
.profile-ach-head {
  margin: 0 0 0.45rem;
}
.profile-ach-empty {
  margin: 0;
}
.profile-ach-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -0.15rem;
  padding: 0.1rem 0.15rem 0.2rem;
}
.profile-ach-scroller::-webkit-scrollbar { display: none; }
.profile-ach-row {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
}
.profile-ach-row > li {
  flex: 0 0 auto;
}
.profile-ach-icon {
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  border-radius: 1rem;
  border: 1px solid rgba(110, 200, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(58, 160, 255, 0.14), transparent 62%),
    rgba(10, 24, 44, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 14px rgba(0, 0, 0, 0.18);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}
.profile-ach-icon:hover,
.profile-ach-icon:focus-visible {
  border-color: rgba(245, 197, 66, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 16px rgba(245, 197, 66, 0.18);
  outline: none;
}
.profile-ach-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.profile-ach-modal[hidden] { display: none; }
.profile-ach-modal.is-in { opacity: 1; }
.profile-ach-modal-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(4, 10, 22, 0.7);
  cursor: pointer;
}
.profile-ach-modal-panel {
  position: relative;
  z-index: 1;
  width: min(22rem, 100%);
  margin: 0;
  padding: 1.35rem 1.15rem calc(1.2rem + var(--safe-bottom));
  border-radius: 1.35rem 1.35rem 0 0;
  background:
    linear-gradient(180deg, rgba(58, 160, 255, 0.12), transparent 36%),
    #0b1b33;
  border: 1px solid rgba(110, 200, 255, 0.28);
  border-bottom: 0;
  text-align: center;
  transform: translateY(110%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.profile-ach-modal.is-in .profile-ach-modal-panel {
  transform: translateY(0);
}
.profile-ach-modal-x {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0;
  padding: 0;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 18, 36, 0.55);
  color: var(--text);
  cursor: pointer;
}
.profile-ach-modal-ico {
  margin: 0.15rem 0 0.55rem;
  font-size: 2.6rem;
  line-height: 1;
}
.profile-ach-modal-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}
.profile-ach-modal-desc {
  margin: 0;
  color: var(--mist);
  line-height: 1.4;
}
.profile-ach-modal-when {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}
body.profile-ach-open { overflow: hidden; }
@media (min-width: 560px) {
  .profile-ach-modal { place-items: center; padding: 1.25rem 1rem; }
  .profile-ach-modal-panel {
    border-radius: 1.25rem;
    border-bottom: 1px solid rgba(110, 200, 255, 0.28);
    transform: translateY(16px) scale(0.97);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
  }
  .profile-ach-modal.is-in .profile-ach-modal-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.profile-footer {
  padding: 1.1rem 1.15rem 1.25rem;
}
.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0 0 0.55rem;
  font-weight: 600;
}
.profile-footer .profile-actions {
  margin-top: 1rem;
}
.profile .receiver-panel > .profile-card-head + .meta,
.profile .receiver-panel > .profile-card-head + .error,
.profile .receiver-panel > .profile-card-head + .sub,
.profile .receiver-panel > .profile-card-head + p {
  margin-top: 0;
}
.profile .alert-toggle-list {
  margin-top: 0.95rem;
}
.profile .alert-toggle-row {
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.18);
}
.profile .alert-toggle-row:first-child {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.profile .alert-toggle-list {
  gap: 0.55rem;
}

@media (min-width: 720px) {
  .profile-layout {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
  }
  .profile-layout > .profile-card:first-child {
    grid-row: span 1;
  }
}


@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse-claim {
  0%, 100% { box-shadow: 0 8px 24px rgba(245, 197, 66, 0.22); }
  50% { box-shadow: 0 10px 30px rgba(245, 197, 66, 0.4); }
}
@keyframes radar-pulse {
  0% { transform: scale(0.92); opacity: 0.8; }
  100% { transform: scale(1.08); opacity: 0; }
}

@keyframes radar-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes radar-ghost {
  0%, 100% { opacity: 0.15; }
  40% { opacity: 0.7; }
  70% { opacity: 0.25; }
}

@media (min-width: 700px) {
  .main--sky {
    padding: 0.75rem 1.25rem 0.75rem;
  }
  .sky-screen {
    gap: 0.65rem;
    max-width: none;
    margin: 0;
    overflow: hidden;
    padding-bottom: 0;
  }
  .sky-top {
    gap: 0.2rem;
  }
  .sky-top h1,
  .sky-title {
    font-size: 1.75rem;
  }
  .sky-geo,
  .sky-guest {
    font-size: 0.88rem;
  }
  .sky-filter .chip {
    padding: 0.38rem 0.85rem;
    font-size: 0.8rem;
  }
  .sky-status {
    font-size: 0.8rem;
  }
  .sky-body {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 0.95fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 1rem;
    flex: 1 1 auto;
    min-height: 0;
    align-items: stretch;
  }
  .sky-body--solo {
    grid-template-columns: minmax(0, 1fr);
  }
  .sky-stage {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    height: 100%;
  }
  .sky-map-wrap {
    height: 100%;
    min-height: 0;
  }
  .sky-screen--empty .sky-map-wrap {
    height: 100%;
    width: 100%;
  }
  .sky-encounters {
    grid-column: 2;
    grid-row: 1;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 0;
    max-height: none;
    align-content: start;
    gap: 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .sky-stats {
    flex: 0 0 auto;
    --sky-stat-gap: 0.55rem;
    margin: 0;
  }
  .sky-stat {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "ico value chev"
      "ico label chev"
      "ico sub chev";
    column-gap: 0.65rem;
    row-gap: 0.05rem;
    align-items: center;
    padding: 0.55rem 0.7rem;
  }
  .sky-stat-ico {
    grid-area: ico;
  }
  .sky-stat strong {
    grid-area: value;
    margin: 0;
    font-size: 1.2rem;
  }
  .sky-stat-label {
    grid-area: label;
    font-size: 0.72rem;
  }
  .sky-stat-sub {
    grid-area: sub;
    font-size: 0.65rem;
  }
  .sky-stat-chevron {
    grid-area: chev;
    position: static;
    justify-self: end;
    align-self: center;
  }
  .radar-caption {
    font-size: 1.05rem;
  }
  .encounter-hero {
    grid-template-columns: 7.5rem minmax(0, 1fr);
  }
}

/* Tablet landscape / desktop */
@media (min-width: 860px) {
  .side-nav { display: flex; }
  .bottom-nav { display: none; }
  .main:not(.main--sky) { padding: 1.5rem 2rem; }
  .main-col:has(.admin-bar) .main--sky {
    max-height: calc(100dvh - 2rem);
  }
  .main-col:not(:has(.admin-bar)) .main--sky,
  .main--sky {
    max-height: 100dvh;
  }
  .main--sky {
    padding: 0.85rem 1.5rem 0.9rem;
  }
  .sky-screen {
    gap: 0.7rem;
    max-width: none;
    margin: 0;
    overflow: hidden;
    padding-bottom: 0;
  }
  .sky-top h1,
  .sky-title {
    font-size: 1.9rem;
  }
  .sky-toolbar {
    margin-bottom: 0;
  }
  .sky-peek-sheet {
    align-items: center;
    padding: 1rem;
  }
  .sky-peek-panel {
    width: min(100%, 52rem);
    height: min(82vh, 40rem);
    border-radius: 1.15rem;
  }
  .sky-body {
    grid-template-columns: minmax(0, 1.5fr) minmax(22rem, 0.9fr);
    gap: 1.1rem;
  }
  .sky-body--solo {
    grid-template-columns: minmax(0, 1fr);
  }
  .sky-map-wrap {
    height: 100%;
    max-width: none;
  }
  .sky-map-wrap.is-expanded {
    inset: 1rem;
  }
  .sky-screen--empty .sky-map-wrap {
    width: 100%;
    height: 100%;
  }
  .sky-encounters .encounter {
    padding: 0.8rem;
  }
  .sky-stats {
    max-width: none;
  }
}

@media (max-width: 380px) {
  .sky-stats {
    --sky-stat-visible: 2;
  }
  .sky-status {
    font-size: 0.66rem;
    gap: 0.28rem;
  }
  .sky-status .sky-health {
    font-size: 0.58rem;
    padding: 0.14rem 0.36rem;
  }
  .sky-encounters .claim-actions {
    grid-template-columns: 1fr;
  }
  .sky-encounters .encounter-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sky-near-copy strong {
    font-size: 0.72rem;
  }
  .sky-top h1,
  .sky-title {
    font-size: 1.6rem;
  }
  .discord-badge--icon,
  .admin-badge--icon {
    width: 1.65rem;
    height: 1.65rem;
    min-height: 1.65rem;
  }
}

/* Content pages */
.main--content {
  padding-bottom: 5.5rem;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  margin-bottom: 3.75rem;
  border-top: 1px solid color-mix(in srgb, var(--line, #1e3a5f) 70%, transparent);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.9rem;
}
.side-nav-meta {
  margin-top: auto;
  display: grid;
  gap: 0.45rem;
  padding: 1rem 0.85rem 0.25rem;
  font-size: 0.82rem;
}
.side-nav-meta a {
  color: color-mix(in srgb, var(--mist, #9eb6d4) 85%, white);
  text-decoration: none;
}
.side-nav-meta a:hover {
  color: var(--sky, #5ec8f2);
}
.site-footer a {
  color: color-mix(in srgb, var(--mist, #9eb6d4) 90%, white);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--sky, #5ec8f2);
  text-decoration: underline;
}
@media (min-width: 860px) {
  .site-footer {
    margin-bottom: 0;
    justify-content: flex-start;
    padding-left: 2rem;
  }
}

.story-page {
  max-width: 40rem;
}
.story-hero .brand-logo {
  margin: 0.35rem 0 0.75rem;
}
.brand-wordmark--inline {
  font-size: 1em;
  font-weight: 800;
}
.story-block {
  margin-bottom: 1rem;
}
.story-block h2 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}
.story-block p {
  margin: 0 0 0.75rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--ink, #e8f1fb) 92%, transparent);
}
.story-block p:last-child {
  margin-bottom: 0;
}
.story-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 0.5rem;
}

.how-steps {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.how-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  margin: 0;
}
.how-step h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.how-step p {
  margin: 0;
  line-height: 1.5;
}
.how-num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--sky, #5ec8f2) 22%, transparent);
  color: var(--sky, #5ec8f2);
  font-family: Outfit, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
}
.plain-list {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  line-height: 1.55;
}
.plain-list li + li {
  margin-top: 0.4rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.faq-item {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.05rem;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--sky, #5ec8f2);
  font-weight: 800;
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-item p {
  margin: 0;
  padding: 0 1.05rem 1rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--ink, #e8f1fb) 90%, transparent);
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.push-status {
  margin: 0.55rem 0 0.75rem;
}
.push-status--ok {
  color: color-mix(in srgb, #6fd3a0 80%, white);
}
.alert-toggle-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.alert-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-top: 1px solid color-mix(in srgb, var(--line, #1e3a5f) 70%, transparent);
}
.alert-toggle-row:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}
.alert-toggle-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.alert-toggle-copy strong {
  font-size: 1.02rem;
}
.alert-toggle-copy span {
  color: color-mix(in srgb, var(--muted, #94a3b8) 92%, white);
  font-size: 0.9rem;
  line-height: 1.35;
}
.alert-toggle-row .btn {
  flex-shrink: 0;
  min-width: 5.75rem;
}
.alert-toggle-row .btn.is-on {
  background: transparent;
  border-color: color-mix(in srgb, var(--line, #1e3a5f) 80%, white);
  color: inherit;
}
.alert-test-row {
  margin-top: 0.85rem;
}
.alert-option-block {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--line, #1e3a5f) 70%, transparent);
}
.alert-option-block h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.skydex-alert-host {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  top: calc(0.75rem + env(safe-area-inset-top));
  z-index: 8500;
  display: grid;
  gap: 0.55rem;
  pointer-events: none;
}
.skydex-alert-banner {
  pointer-events: auto;
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  background: #12365a;
  border: 2px solid var(--sky, #5ec8f2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  color: #e8f1fb;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.skydex-alert-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.skydex-alert-banner-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: start;
}
.skydex-alert-plane {
  width: 56px;
  height: 56px;
  border-radius: 0.65rem;
  object-fit: cover;
  background: #0b1b33;
}
.skydex-alert-copy strong {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 1.15rem;
  padding-right: 0.25rem;
}
.skydex-alert-body {
  display: block;
  margin-top: 0.2rem;
  line-height: 1.35;
}
.skydex-alert-lines {
  margin: 0.45rem 0 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 0.2rem;
  color: #c5d6ea;
  font-size: 0.9rem;
  line-height: 1.35;
  max-height: 7.5rem;
  overflow: auto;
}
.skydex-alert-lines[hidden] {
  display: none !important;
}
.skydex-alert-dismiss {
  appearance: none;
  border: 0;
  background: transparent;
  color: #9fb6d0;
  font-size: 1.55rem;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  margin: -0.35rem -0.35rem 0 0;
  border-radius: 0.45rem;
  cursor: pointer;
}
.skydex-alert-dismiss:hover,
.skydex-alert-dismiss:focus-visible {
  color: #e8f1fb;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.skydex-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.skydex-alert-actions .btn {
  justify-self: start;
}
.skydex-push-nudge {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.85rem + env(safe-area-inset-bottom));
  z-index: 8400;
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.05rem;
  border-radius: 0.9rem;
  background: #0f2744;
  border: 1px solid color-mix(in srgb, var(--sky, #5ec8f2) 55%, transparent);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  color: #e8f1fb;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.skydex-push-nudge.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.skydex-push-nudge-copy strong {
  display: block;
  font-family: var(--font-display, Outfit, sans-serif);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.skydex-push-nudge-copy p {
  margin: 0;
  color: #c5d6ea;
  font-size: 0.92rem;
  line-height: 1.4;
}
.skydex-push-nudge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
@media (min-width: 860px) {
  .skydex-alert-host {
    left: auto;
    right: 1.25rem;
    width: min(24rem, calc(100vw - 2rem));
  }
  .skydex-push-nudge {
    left: auto;
    right: 1.25rem;
    width: min(26rem, calc(100vw - 2rem));
  }
}


.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  color: var(--mist, #9eb6d4);
}
.breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--sky, #5ec8f2);
  text-decoration: underline;
}
.aircraft-seo-type {
  margin: 0.15rem 0 0.35rem;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: color-mix(in srgb, var(--sky, #5ec8f2) 85%, white);
}
.aircraft-seo-h2 {
  margin: 1rem 0 0.65rem;
  font-size: 1.1rem;
}
.aircraft-seo-intro p,
.aircraft-seo-about p {
  margin: 0 0 0.75rem;
  line-height: 1.55;
}
.aircraft-seo-about p:last-child {
  margin-bottom: 0;
}

.admin-app {
  display: grid;
  gap: 1rem;
}
.admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}
.admin-head-copy h1 {
  margin: 0.2rem 0 0.25rem;
  font-size: clamp(1.7rem, 3.5vw, 2.15rem);
  letter-spacing: -0.03em;
}
.admin-head-copy .lede { max-width: 40rem; }
.admin-tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.2rem;
  margin: 0 -0.2rem;
  border-radius: 1rem;
  background: rgba(8, 18, 36, 0.45);
  border: 1px solid rgba(110, 200, 255, 0.14);
}
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  padding: 0.55rem 0.9rem;
  border-radius: 0.8rem;
  color: var(--mist);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}
.admin-tab em {
  font-style: normal;
  font-size: 0.72rem;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}
.admin-tab:hover { color: var(--text); text-decoration: none; }
.admin-tab.is-active {
  background: rgba(58, 160, 255, 0.18);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(110, 200, 255, 0.28);
}
.admin-card {
  background:
    linear-gradient(180deg, rgba(58, 160, 255, 0.07), transparent 42%),
    var(--panel);
  border: 1px solid rgba(110, 200, 255, 0.16);
  border-radius: 1.15rem;
  padding: 1.05rem 1.1rem 1.15rem;
}
.admin-operations {
  display: block;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(58, 160, 255, 0.12), rgba(8, 18, 36, 0.88));
  border: 1px solid rgba(110, 200, 255, 0.24);
}
.admin-operations--danger { border-color: rgba(255, 90, 90, 0.5); background: linear-gradient(135deg, rgba(255, 90, 90, 0.14), rgba(8, 18, 36, 0.9)); }
.admin-operations--warning { border-color: rgba(245, 197, 66, 0.42); }
.admin-operations--ok { border-color: rgba(111, 211, 160, 0.38); }
.admin-rag { display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 0.65rem; padding: 0.45rem 0.7rem; border: 1px solid currentColor; border-radius: 999px; font-size: 0.78rem; letter-spacing: 0.035em; }
.admin-rag > span { width: 0.72rem; height: 0.72rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0.8rem currentColor; }
.admin-rag--red { color: #ff7070; background: rgba(255, 80, 80, 0.1); }
.admin-rag--amber { color: #f5c542; background: rgba(245, 197, 66, 0.1); }
.admin-rag--green { color: #6fd3a0; background: rgba(111, 211, 160, 0.1); }
.admin-war-overall { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.35rem 0.8rem; margin-bottom: 0.9rem; }
.admin-war-overall .admin-rag { grid-row: 1 / span 2; margin: 0; }
.admin-war-overall h2 { margin: 0; font-size: 1.2rem; }
.admin-war-overall > p { margin: 0; color: var(--mist); font-size: 0.82rem; line-height: 1.3; }
.admin-token-meter { height: 0.48rem; margin-top: 0.7rem; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
.admin-token-meter > span { display: block; height: 100%; border-radius: inherit; background: currentColor; transition: width 0.35s ease; }
.admin-war-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.admin-war-card { min-width: 0; padding: 0.85rem; border: 1px solid rgba(255,255,255,0.12); border-radius: 0.95rem; background: rgba(8,18,36,0.58); }
.admin-war-card--red { border-color: rgba(255,90,90,0.5); background: rgba(255,80,80,0.08); }
.admin-war-card--amber { border-color: rgba(245,197,66,0.42); background: rgba(245,197,66,0.07); }
.admin-war-card--green { border-color: rgba(111,211,160,0.34); }
.admin-war-card-head { display: flex; align-items: center; gap: 0.45rem; }
.admin-war-card-head span { flex: 0 0 auto; width: 0.62rem; height: 0.62rem; border-radius: 50%; background: #6fd3a0; box-shadow: 0 0 0.65rem currentColor; }
.admin-war-card--red .admin-war-card-head span { background: #ff7070; }
.admin-war-card--amber .admin-war-card-head span { background: #f5c542; }
.admin-war-card h3 { margin: 0; font-size: 0.78rem; color: var(--mist); letter-spacing: 0.045em; text-transform: uppercase; }
.admin-war-card > strong { display: block; margin-top: 0.6rem; font-family: var(--font-display); font-size: 1.08rem; }
.admin-war-card > p { min-height: 2.6em; margin: 0.35rem 0 0; color: var(--mist); font-size: 0.82rem; line-height: 1.35; }
.admin-war-card .btn { width: 100%; margin-top: 0.7rem; padding: 0.6rem 0.7rem; font-size: 0.8rem; }
@media (max-width: 800px) { .admin-war-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 360px) { .admin-war-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .admin-war-overall { grid-template-columns: 1fr; }
  .admin-war-overall .admin-rag { grid-row: auto; justify-self: start; }
}
.admin-operations h2 { margin: 0.15rem 0 0.45rem; font-size: clamp(1.3rem, 3vw, 1.75rem); }
.admin-operations-main > p:not(.eyebrow, .admin-status) { margin: 0; color: var(--mist); line-height: 1.45; }
.admin-operations-error { margin-top: 0.65rem !important; color: #ffb4b4 !important; }
.admin-operations-actions { margin-top: 1rem; }
.admin-operations-facts { display: grid; gap: 0.55rem; align-content: start; }
.admin-operations-facts > div { padding: 0.75rem; border-radius: 0.85rem; background: rgba(8, 18, 36, 0.52); border: 1px solid rgba(255,255,255,0.08); }
.admin-operations-facts span { display: block; color: var(--mist); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.admin-operations-facts strong { display: block; margin-top: 0.25rem; font-family: var(--font-display); }
.admin-app:not(.show-advanced) .admin-advanced { display: none; }
.admin-app.show-advanced .admin-advanced { display: grid; }
section.admin-card.admin-advanced { display: none; }
.admin-app.show-advanced section.admin-card.admin-advanced { display: block; }
@media (max-width: 720px) {
  .admin-operations { grid-template-columns: 1fr; }
}
.admin-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin: 0 0 0.85rem;
}
.admin-card-head h2 {
  margin: 0.12rem 0 0;
  font-size: 1.15rem;
}
.admin-copy {
  margin: 0 0 0.9rem;
  color: var(--mist);
  line-height: 1.45;
}
.admin-note {
  margin: 0.75rem 0 0;
  color: var(--mist);
  font-size: 0.88rem;
  line-height: 1.4;
}
.admin-callout {
  margin: 0.85rem 0;
  padding: 0.7rem 0.85rem;
  border-radius: 0.8rem;
  background: rgba(58, 160, 255, 0.08);
  border: 1px solid rgba(110, 200, 255, 0.18);
  color: var(--mist);
  font-size: 0.9rem;
}
.admin-alert {
  margin: 0.65rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.4;
}
.admin-alert.is-error {
  color: var(--danger);
  background: rgba(255, 90, 90, 0.08);
  border: 1px solid rgba(255, 90, 90, 0.22);
}
.admin-alert.is-ok {
  color: #8dffc0;
  background: rgba(111, 211, 160, 0.1);
  border: 1px solid rgba(111, 211, 160, 0.24);
}
.admin-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.admin-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mist);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-pill.is-ok,
.admin-health--healthy {
  color: #8dffc0;
  background: rgba(111, 211, 160, 0.14);
  border-color: rgba(111, 211, 160, 0.28);
}
.admin-pill.is-warn,
.admin-health--offline,
.admin-health--auth_failed {
  color: #ffb4b4;
  background: rgba(255, 90, 90, 0.12);
  border-color: rgba(255, 90, 90, 0.28);
}
.admin-pill.is-live {
  color: var(--sky-glow);
  background: rgba(58, 160, 255, 0.16);
  border-color: rgba(110, 200, 255, 0.32);
}
.admin-pill.is-gold {
  color: var(--gold);
  background: rgba(245, 197, 66, 0.16);
  border-color: rgba(245, 197, 66, 0.32);
}
.admin-health--stale,
.admin-health--waiting {
  color: var(--gold);
  background: rgba(245, 197, 66, 0.12);
  border-color: rgba(245, 197, 66, 0.28);
}
.admin-health--disabled {
  color: var(--mist);
}
.admin-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.4rem, 1fr));
  gap: 0.5rem;
}
.admin-kpis--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}
.admin-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin: 0;
  padding: 0.7rem 0.75rem 0.75rem;
  text-align: left;
  border-radius: 0.85rem;
  background: rgba(8, 18, 36, 0.5);
  border: 1px solid rgba(110, 200, 255, 0.12);
}
.admin-kpi span {
  order: -1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
  opacity: 0.9;
  line-height: 1.2;
}
.admin-kpi strong,
.admin-kpi.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}
.admin-kpi a { color: var(--sky-glow); }
.admin-kpi.stat--warn strong { color: var(--danger); }
.admin-kpi.stat--live strong,
.admin-kpi.is-ok strong { color: var(--sky-glow, #5ec8f2); }
.admin-dl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.7rem 1.1rem;
  margin: 0.95rem 0 0;
}
.admin-dl > div { margin: 0; }
.admin-dl dt {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mist);
}
.admin-dl dd {
  margin: 0.2rem 0 0;
  line-height: 1.4;
}
.admin-dl .mono,
.admin-app .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  word-break: break-all;
}
.admin-strategy {
  margin: 0 0 0.45rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(8, 18, 36, 0.4);
  color: var(--mist);
  font-size: 0.88rem;
}
.admin-strategy.is-selected {
  background: rgba(58, 160, 255, 0.12);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(110, 200, 255, 0.22);
}
.admin-form { display: grid; gap: 0.85rem; margin-top: 1rem; }
.admin-form-title {
  margin: 0;
  font-size: 1rem;
}
.admin-fields {
  display: grid;
  gap: 0.85rem;
}
.admin-preview {
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  background: rgba(8, 18, 36, 0.45);
  border: 1px solid rgba(110, 200, 255, 0.16);
}
.admin-preview h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}
.admin-preview p { margin: 0.35rem 0 0; }
.admin-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.admin-btn-row .btn {
  flex: 0 1 auto;
  min-width: 0;
  width: auto;
}
.admin-status {
  margin: 0;
  min-height: 1.2em;
  color: var(--mist);
  font-size: 0.88rem;
}
.admin-tools {
  display: grid;
  gap: 1rem;
}
.admin-search {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 1.05rem;
  background: rgba(8, 18, 36, 0.4);
  border: 1px solid rgba(110, 200, 255, 0.14);
}
.admin-list { display: grid; gap: 0.85rem; }
.admin-person-top {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.admin-person-id {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  min-width: 0;
}
.admin-person h2 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.admin-person-email {
  margin: 0;
  font-size: 0.92rem;
}
.admin-avatar {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.85rem;
  object-fit: cover;
  flex: 0 0 auto;
  background: rgba(8, 18, 36, 0.6);
}
.admin-avatar--fallback {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  border: 1px solid rgba(245, 197, 66, 0.28);
}
.admin-places {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.95rem;
}
.admin-place {
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(8, 18, 36, 0.4);
  border: 1px solid rgba(110, 200, 255, 0.1);
}
.admin-place h3 {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
}
.admin-place p { margin: 0; }
.admin-place-link { margin-top: 0.35rem !important; }
.admin-empty { color: var(--mist); }
.admin-subhead {
  margin: 1rem 0 0.5rem;
  font-size: 1.05rem;
}
.admin-log {
  margin: 0;
  max-height: 40vh;
  overflow: auto;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  background: rgba(4, 10, 22, 0.55);
  border: 1px solid rgba(110, 200, 255, 0.12);
  color: var(--mist);
  font-size: 0.8rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.admin-log-list { display: grid; gap: 0.55rem; }
.admin-log-item {
  padding: 0.7rem 0.8rem;
  border-radius: 0.8rem;
  background: rgba(8, 18, 36, 0.4);
  border: 1px solid rgba(110, 200, 255, 0.1);
}
.admin-log-item p { margin: 0; }
.admin-log-sample { margin-top: 0.4rem !important; overflow-wrap: anywhere; }
#opensky-limits input[readonly] { opacity: 0.7; }
#admin-tracking-status > .meta,
#admin-tracking-status > .error,
#admin-tracking-status > .admin-alert {
  margin: 0.65rem 0 0;
}
@media (min-width: 720px) {
  .admin-fields { grid-template-columns: 1fr 1fr; }
  .admin-search {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .admin-places { grid-template-columns: 1fr 1fr; }
  .admin-kpis--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 860px) {
  .admin-person-top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
  .admin-kpis--compact { min-width: 20rem; }
  .admin-tools { grid-template-columns: 1.15fr 1fr 0.9fr; align-items: start; }
}

/* Guided tour */
.tour-root {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}
.tour-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: auto;
}
.tour-hole {
  position: fixed;
  border-radius: 0.85rem;
  box-shadow: 0 0 0 9999px rgba(4, 12, 24, 0.72);
  outline: 2px solid color-mix(in srgb, var(--sky, #5ec8f2) 75%, white);
  pointer-events: none;
  transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
  z-index: 1;
  max-width: calc(100vw - 1rem);
  max-height: 35vh;
}
.tour-card {
  position: fixed;
  z-index: 2;
  width: min(22rem, calc(100vw - 1.5rem));
  padding: 1rem 1.1rem 1.05rem;
  border-radius: 0.9rem;
  background: #10243f;
  border: 1px solid color-mix(in srgb, var(--sky, #5ec8f2) 35%, #1e3a5f);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  color: var(--ink, #e8f1fb);
}
.tour-progress {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist, #9eb6d4);
}
.tour-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}
.tour-body {
  margin: 0 0 0.9rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--ink, #e8f1fb) 92%, transparent);
}
.tour-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.tour-target {
  position: relative;
  z-index: 1;
}
body.tour-active {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .tour-hole {
    transition: none;
  }
}


/* Claim celebration */
.claim-celebrate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem calc(1.25rem + var(--safe-bottom));
  background:
    radial-gradient(ellipse 90% 60% at 50% 15%, rgba(58, 160, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(245, 197, 66, 0.12), transparent 50%),
    rgba(4, 12, 28, 0.82);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.claim-celebrate.is-in { opacity: 1; }
.claim-celebrate.is-out { opacity: 0; }
.claim-celebrate-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.claim-celebrate-plane {
  position: absolute;
  top: var(--top, 40%);
  left: -20%;
  width: clamp(3.2rem, 12vw, 5.5rem);
  color: rgba(232, 241, 255, 0.78);
  transform: translate3d(0, 0, 0) scale(var(--scale, 1));
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  animation: claim-plane-fly var(--duration, 3s) linear var(--delay, 0s) both;
}
.claim-celebrate-plane:nth-child(3n) { color: rgba(110, 200, 255, 0.85); }
.claim-celebrate-plane:nth-child(4n) { color: rgba(245, 197, 66, 0.8); }
.claim-celebrate-plane svg {
  display: block;
  width: 100%;
  height: auto;
  transform: scaleX(-1);
}
.claim-celebrate-card {
  position: relative;
  z-index: 1;
  width: min(100%, 24rem);
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: 1.25rem;
  background: rgba(12, 28, 52, 0.94);
  border: 1px solid rgba(110, 200, 255, 0.35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  text-align: center;
  transform: translateY(1rem) scale(0.96);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.claim-celebrate.is-in .claim-celebrate-card {
  transform: none;
  opacity: 1;
}
.claim-celebrate-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}
.claim-celebrate-card h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gold);
}
.claim-celebrate-aircraft {
  display: grid;
  gap: 0.15rem;
  margin: 0 0 0.85rem;
}
.claim-celebrate-aircraft strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.claim-celebrate-aircraft span {
  color: var(--mist);
  font-size: 0.92rem;
}
.claim-celebrate-rarity {
  justify-self: center;
  margin-top: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(58, 160, 255, 0.2);
  color: var(--sky-glow);
  font-size: 0.75rem;
  font-weight: 700;
}
.claim-celebrate-msg {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.35;
}
.claim-celebrate-bits {
  margin: 0 0 1rem;
  color: var(--mist);
  font-size: 0.9rem;
}
.claim-celebrate-card .btn {
  width: 100%;
}
@keyframes claim-plane-fly {
  0% {
    transform: translate3d(0, 0, 0) scale(var(--scale, 1));
    opacity: 0;
  }
  8% { opacity: 1; }
  100% {
    transform: translate3d(130vw, var(--drift, 0), 0) scale(var(--scale, 1));
    opacity: 0.15;
  }
}

/* Receiver setup / dashboard */
.receiver-empty {
  padding: 0.15rem 0 0.25rem;
}
.receiver-intro-lede {
  margin: 0 0 0.9rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--text) 92%, transparent);
}
.receiver-benefits {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.receiver-benefits li {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}
.receiver-benefits strong {
  font-size: 0.98rem;
}
.receiver-benefits span {
  color: var(--mist);
  font-size: 0.9rem;
  line-height: 1.35;
}
.receiver-connect-form {
  margin: 0.85rem 0 0.55rem;
}
.receiver-dashboard {
  display: grid;
  gap: 0.9rem;
}
.receiver-status-card {
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(58, 160, 255, 0.1), transparent 55%),
    rgba(0, 0, 0, 0.22);
}
.receiver-panel[data-receiver-health="healthy"] .receiver-status-card {
  border-color: rgba(111, 211, 160, 0.28);
  background:
    linear-gradient(145deg, rgba(111, 211, 160, 0.12), transparent 55%),
    rgba(0, 0, 0, 0.22);
}
.receiver-panel[data-receiver-health="stale"] .receiver-status-card,
.receiver-panel[data-receiver-health="waiting"] .receiver-status-card {
  border-color: rgba(245, 197, 66, 0.28);
  background:
    linear-gradient(145deg, rgba(245, 197, 66, 0.1), transparent 55%),
    rgba(0, 0, 0, 0.22);
}
.receiver-panel[data-receiver-health="offline"] .receiver-status-card,
.receiver-panel[data-receiver-health="auth_failed"] .receiver-status-card,
.receiver-panel[data-receiver-health="disabled"] .receiver-status-card {
  border-color: rgba(255, 107, 122, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 107, 122, 0.1), transparent 55%),
    rgba(0, 0, 0, 0.22);
}
.receiver-dash-head {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
}
.receiver-dash-identity {
  min-width: 0;
}
.receiver-dash-head h3 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.receiver-health-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 11rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  color: var(--mist);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.receiver-health-badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent);
}
.receiver-panel[data-receiver-health="healthy"] .receiver-health-badge {
  color: #8dffc0;
  background: rgba(111, 211, 160, 0.14);
  border-color: rgba(111, 211, 160, 0.28);
}
.receiver-panel[data-receiver-health="stale"] .receiver-health-badge,
.receiver-panel[data-receiver-health="waiting"] .receiver-health-badge {
  color: var(--gold);
  background: rgba(245, 197, 66, 0.14);
  border-color: rgba(245, 197, 66, 0.3);
}
.receiver-panel[data-receiver-health="offline"] .receiver-health-badge,
.receiver-panel[data-receiver-health="auth_failed"] .receiver-health-badge,
.receiver-panel[data-receiver-health="disabled"] .receiver-health-badge {
  color: #ff9aa5;
  background: rgba(255, 107, 122, 0.14);
  border-color: rgba(255, 107, 122, 0.3);
}
.receiver-status-message {
  margin: 0.7rem 0 0;
  color: var(--mist);
  line-height: 1.45;
  font-size: 0.95rem;
}
.receiver-fallback {
  margin: 0.7rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(245, 197, 66, 0.28);
  background: rgba(245, 197, 66, 0.1);
  color: color-mix(in srgb, var(--gold) 80%, white);
  font-size: 0.9rem;
  line-height: 1.4;
}
.receiver-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}
.receiver-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 4.4rem;
  padding: 0.8rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(58, 160, 255, 0.08), transparent 60%),
    rgba(10, 24, 44, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.receiver-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  word-break: break-word;
}
.receiver-stat span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mist);
}
.receiver-actions {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}
.receiver-actions-primary,
.receiver-actions-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.receiver-actions-secondary {
  padding-top: 0.15rem;
}
.receiver-action-danger {
  color: #ff9aa5 !important;
  border-color: rgba(255, 107, 122, 0.35) !important;
}
#receiver-status.error {
  color: #ff8f8f;
  font-weight: 600;
}
.receiver-advanced {
  margin: 0.15rem 0 0;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
  overflow: hidden;
}
.receiver-advanced summary {
  cursor: pointer;
  list-style: none;
  padding: 0.8rem 0.95rem;
  color: var(--mist);
  font-weight: 700;
  font-size: 0.92rem;
}
.receiver-advanced summary::-webkit-details-marker {
  display: none;
}
.receiver-advanced summary::after {
  content: "+";
  float: right;
  font-weight: 800;
  color: var(--sky-glow);
}
.receiver-advanced[open] summary::after {
  content: "–";
}
.receiver-advanced[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.receiver-advanced-dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 0.95rem 1rem;
}
.receiver-advanced-dl > div {
  margin: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.18);
}
.receiver-advanced-dl dt {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
}
.receiver-advanced-dl dd {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  word-break: break-word;
}
.receiver-advanced-dl .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
}
.receiver-wizard-host {
  min-width: 0;
  max-width: 100%;
  margin-top: 0.35rem;
}
.receiver-wizard {
  display: grid;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  gap: 0.65rem;
  padding: 0.95rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(110, 200, 255, 0.22);
  background:
    linear-gradient(160deg, rgba(58, 160, 255, 0.1), transparent 50%),
    rgba(0, 0, 0, 0.22);
}
.receiver-wizard-progress {
  list-style: none;
  display: flex;
  gap: 0.4rem;
  margin: 0 0 0.35rem;
  padding: 0;
}
.receiver-wizard-progress li {
  flex: 1;
  display: flex;
  justify-content: center;
}
.receiver-wizard-progress span {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--mist);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.receiver-wizard-progress li.is-done span {
  color: #041018;
  background: var(--sky);
  border-color: transparent;
}
.receiver-wizard-progress li.is-active span {
  color: #1a1400;
  background: var(--gold);
  border-color: transparent;
}
.receiver-wizard-step {
  display: none;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 1;
}
.receiver-wizard-step.is-active {
  display: block;
}
.receiver-wizard-step h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}
.receiver-wizard-step p {
  margin: 0 0 0.65rem;
  line-height: 1.45;
}
.receiver-wizard-step p:last-child {
  margin-bottom: 0;
}
.receiver-wizard-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-top: 0.25rem;
}
.receiver-wizard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-left: auto;
}
.receiver-setup-code {
  display: inline-block;
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  margin: 0.35rem 0 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(245, 197, 66, 0.28);
  color: var(--gold);
}
.receiver-code-block {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  margin: 0.35rem 0 0.65rem;
  padding: 0.85rem;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.9rem;
  font-size: 0.82rem;
  line-height: 1.4;
}
.receiver-code-block code {
  display: block;
  width: max-content;
  min-width: 100%;
}

@media (max-width: 520px) {
  .receiver-wizard {
    padding: 0.75rem;
  }
  .receiver-wizard-step .btn {
    max-width: 100%;
    white-space: normal;
  }
}

@media (min-width: 720px) {
  .receiver-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .receiver-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* —— Hangar collection hub —— */
body[data-page="hangar"],
body[data-page="missed"],
body[data-page="airports"] {
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(58, 160, 255, 0.2), transparent 58%),
    radial-gradient(ellipse 50% 40% at 100% 18%, rgba(245, 197, 66, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 30% at 0% 40%, rgba(80, 200, 140, 0.06), transparent 50%),
    linear-gradient(180deg, #071526 0%, var(--navy) 42%, #08101c 100%);
}
.hangar-page {
  display: grid;
  gap: 0.95rem;
  max-width: 42rem;
  margin: 0 auto;
}

/* —— Missed collection hub —— */
.missed-page .missed-title-ico { color: #b8c7dc; background: linear-gradient(160deg, rgba(151, 174, 204, 0.2), rgba(11, 27, 51, 0.9)); border-color: rgba(184, 199, 220, 0.34); }
.missed-progress-card { display: grid; gap: 0.72rem; }
.missed-progress-copy { display: flex; justify-content: space-between; align-items: flex-end; gap: 0.8rem; }
.missed-progress-title { margin: 0; color: var(--mist); font-size: 0.88rem; }
.missed-progress-title strong { margin-right: 0.25rem; color: var(--text); font-family: var(--font-display); font-size: 1.55rem; line-height: 1; }
.missed-hangar-link { flex: 0 0 auto; color: var(--sky-glow); font-size: 0.78rem; font-weight: 800; text-decoration: none; }
.missed-progress-track { height: 0.55rem; overflow: hidden; border-radius: 999px; background: rgba(0, 0, 0, 0.36); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35); }
.missed-progress-track span { display: block; height: 100%; min-width: 0.2rem; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--gold)); box-shadow: 0 0 10px rgba(245, 197, 66, 0.3); }
.missed-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.missed-stats li { display: grid; justify-items: center; gap: 0.1rem; padding: 0.5rem 0.25rem; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 0.78rem; background: rgba(7, 18, 36, 0.48); }
.missed-stats strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--text); }
.missed-stats span { font-size: 0.65rem; font-weight: 800; color: var(--mist); text-transform: uppercase; letter-spacing: 0.06em; }
.missed-page .missed-set-toggle { max-width: none; margin: 0; padding: 0.28rem; border: 1px solid rgba(110, 200, 255, 0.2); border-radius: 0.95rem; background: rgba(7, 18, 36, 0.7); }
.missed-page .missed-set-toggle a { padding: 0.62rem 0.75rem; border-radius: 0.7rem; font-weight: 800; }
.missed-page .missed-set-toggle a.is-active { background: linear-gradient(160deg, rgba(58, 160, 255, 0.28), rgba(20, 65, 112, 0.62)); box-shadow: inset 0 0 0 1px rgba(110, 200, 255, 0.25), 0 5px 14px rgba(0, 0, 0, 0.22); }
.missed-filter-toolbar { margin-top: 0.05rem; }
.missed-filter-toolbar .ghosts-sort { flex: 1 1 100%; }
.missed-filter-toolbar .hangar-chip { justify-content: center; }
.missed-filter-toolbar .ghosts-sort .hangar-chip { flex: 1 1 0; padding-inline: 0.45rem; }
.missed-filters { margin: 0; }
.missed-search-row { grid-template-columns: minmax(0, 1fr) 2.7rem; }
.missed-search-submit { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; padding: 0; border: 1px solid rgba(110, 200, 255, 0.32); border-radius: 0.9rem; background: linear-gradient(160deg, rgba(58, 160, 255, 0.3), rgba(20, 65, 112, 0.7)); color: var(--sky-glow); cursor: pointer; }
.missed-search-submit:hover, .missed-search-submit:focus-visible { color: #fff; border-color: var(--sky-glow); outline: none; }
.missed-more { grid-column: auto; }
.missed-filter-grid { grid-template-columns: 1fr 1fr; }
.missed-filter-grid .ghosts-type-field, .missed-filter-grid .ghosts-filters-actions { grid-column: 1 / -1; }
.missed-layout-choice { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 0.65rem; padding-bottom: 0.55rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.missed-layout-choice > span { color: var(--mist); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.missed-layout-choice .hangar-chip { min-height: 1.9rem; padding: 0.2rem 0.65rem; }
.missed-filter-grid .ghosts-type-search { margin-bottom: 0.4rem; }
.missed-filter-grid .ghosts-filters-actions { display: flex; gap: 0.5rem; }
.missed-filter-grid .ghosts-filters-actions > * { flex: 1; }
@media (max-width: 520px) {
  .missed-filter-toolbar .ghosts-sort { width: 100%; }
  .missed-filter-toolbar .ghosts-sort .hangar-chip { flex: 1 0 auto; }
  .missed-filter-grid { grid-template-columns: 1fr; }
  .missed-filter-grid .ghosts-type-field, .missed-filter-grid .ghosts-filters-actions { grid-column: auto; }
}
.missed-page .card-grid--collector { gap: 0.5rem; }
.missed-page .collector-card { border-radius: 0.72rem; }
.missed-page .collector-card-media { height: 5.8rem; }
.missed-page .collector-card-body { min-height: 0; padding: 0.48rem 0.52rem 0.55rem; }
.missed-page .collector-reg { margin-bottom: 0.35rem; font-size: 1.08rem; }
.missed-page .collector-fields { gap: 0.28rem 0.38rem; }
.missed-page .collector-fields > div { min-height: 2.15rem; }
.missed-page .collector-fields dt { font-size: 0.52rem; }
.missed-page .collector-fields dd { font-size: 0.72rem; min-height: 0; }
.missed-page .collector-card .collector-rarity { top: 0.3rem; right: 0.3rem; }
.hangar-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.15rem 0 0.15rem;
}
.hangar-hero-copy {
  min-width: 0;
}
.hangar-kicker {
  margin: 0;
  color: var(--sky-glow);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hangar-title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.2rem 0 0.28rem;
}
.hangar-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hangar-title-ico {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.7rem;
  color: var(--sky-glow);
  background: linear-gradient(160deg, rgba(58, 160, 255, 0.22), rgba(11, 27, 51, 0.9));
  border: 1px solid rgba(110, 200, 255, 0.35);
  box-shadow: 0 0 16px rgba(58, 160, 255, 0.18);
}
.hangar-lede {
  margin: 0;
  color: var(--mist);
  font-size: 0.92rem;
  line-height: 1.4;
}
.hangar-collector-badge {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 0.22rem;
  width: 5.6rem;
  padding: 0.35rem 0.28rem 0.45rem;
  text-align: center;
  border-radius: 1.15rem;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  background:
    radial-gradient(circle at 50% 30%, rgba(245, 197, 66, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(16, 42, 78, 0.95), rgba(8, 18, 36, 0.95));
  border: 1px solid rgba(110, 200, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(245, 197, 66, 0.12),
    0 8px 22px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(58, 160, 255, 0.16);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.hangar-collector-badge:hover,
.hangar-collector-badge:focus-visible {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(245, 197, 66, 0.55);
  box-shadow:
    0 0 0 1px rgba(245, 197, 66, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.32),
    0 0 22px rgba(245, 197, 66, 0.22);
  outline: none;
}
.hangar-collector-badge img {
  width: 2.55rem;
  height: 2.55rem;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(245, 197, 66, 0.35));
}
.hangar-collector-badge span {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.2;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hangar-progress-card {
  padding: 1rem 0.95rem 0.95rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(110, 200, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(58, 160, 255, 0.1), transparent 42%),
    rgba(10, 24, 48, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(58, 160, 255, 0.06),
    0 14px 32px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(58, 160, 255, 0.12);
}
.hangar-progress-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem 0.9rem;
  align-items: center;
}
.hangar-ring-wrap {
  position: relative;
  width: 8.4rem;
  height: 8.4rem;
  flex: 0 0 auto;
}
.hangar-ring {
  width: 100%;
  height: 100%;
  display: block;
}
.hangar-ring-track,
.hangar-ring-value {
  fill: none;
  stroke-width: 9.5;
}
.hangar-ring-track {
  stroke: rgba(58, 160, 255, 0.16);
}
.hangar-ring-value {
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(245, 197, 66, 0.42));
}
.hangar-ring-copy {
  position: absolute;
  inset: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
.hangar-ring-copy strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hangar-ring-copy span {
  margin-top: 0.18rem;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  max-width: 5.4rem;
  line-height: 1.2;
}
.hangar-ring-copy em {
  margin-top: 0.12rem;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sky-glow);
}
.hangar-level {
  min-width: 0;
}
.hangar-level-kicker {
  margin: 0 0 0.18rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-glow);
}
.hangar-level-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin: 0 0 0.55rem;
}
.hangar-level-line strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hangar-level-line span {
  color: var(--sky-glow);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}
.hangar-xp {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: center;
}
.hangar-xp-badge {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1a1400;
  background: linear-gradient(160deg, #ffe08a, var(--gold) 55%, #d4a017);
  box-shadow: 0 0 12px rgba(245, 197, 66, 0.4);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}
.hangar-xp-bar {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}
.hangar-xp-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  box-shadow: 0 0 10px rgba(245, 197, 66, 0.35);
}
.hangar-xp-meta {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--mist);
  font-weight: 600;
}
.hangar-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  grid-column: 1 / -1;
}
.hangar-stats li {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.28rem;
  align-items: center;
  min-height: 2.55rem;
  min-width: 0;
  padding: 0.35rem 0.42rem;
  border-radius: 0.75rem;
  background: rgba(7, 18, 36, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hangar-stats strong {
  font-family: var(--font-display);
  font-weight: 800;
  margin-right: 0.28rem;
}
.hangar-stats span:last-child {
  display: grid;
  gap: 0.02rem;
  min-width: 0;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mist);
  line-height: 1.15;
}
.hangar-stats span:last-child strong {
  display: block;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hangar-stat-ico {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
}
.hangar-stat-ico svg {
  width: 14px;
  height: 14px;
}
.hangar-stat-ico--streak { color: #ff8a3d; }
.hangar-stat-ico--xp { color: var(--gold); }
.hangar-stat-ico--spotted { color: #5ee09a; }
.hangar-stat-ico--reward { color: var(--gold); }
.hangar-stat-reward span:last-child {
  display: grid;
  gap: 0.05rem;
}
.hangar-stat-reward em {
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.hangar-stat-reward small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hangar-progress-cta {
  margin-top: 0.85rem;
}
.hangar-refresh {
  width: 100%;
  gap: 0.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 22px rgba(58, 160, 255, 0.28);
}
.hangar-refresh-status {
  margin: 0.45rem 0 0;
  text-align: center;
}

.hangar-filters {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem 0.85rem 0.9rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(110, 200, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(58, 160, 255, 0.07), transparent 50%),
    rgba(9, 22, 42, 0.88);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.hangar-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.7rem;
  gap: 0.45rem;
  align-items: center;
}
.hangar-search {
  position: relative;
  display: block;
  margin: 0;
}
.hangar-search svg {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mist);
  pointer-events: none;
}
.hangar-search input {
  margin: 0;
  min-height: 2.7rem;
  padding-left: 2.45rem;
  border-radius: 0.95rem;
  background: rgba(4, 12, 24, 0.55);
  border-color: rgba(110, 200, 255, 0.2);
}
.hangar-search-toggle {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(110, 200, 255, 0.22);
  border-radius: 0.9rem;
  background: rgba(8, 18, 36, 0.55);
  color: var(--mist);
  cursor: pointer;
}
.hangar-search-toggle svg {
  transition: transform 0.2s ease;
}
.hangar-search-toggle:hover,
.hangar-search-toggle:focus-visible {
  color: var(--sky-glow);
  border-color: rgba(110, 200, 255, 0.45);
  outline: none;
}
.hangar-filters.is-open .hangar-search-toggle svg {
  transform: rotate(180deg);
}
.hangar-filters-extra {
  display: none;
  gap: 0.7rem;
}
.hangar-filters.is-open .hangar-filters-extra {
  display: grid;
}
.hangar-chips {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.1rem;
}
.hangar-chips::-webkit-scrollbar { display: none; }
.hangar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  flex: 0 0 auto;
  min-height: 2.15rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 14, 28, 0.55);
  color: var(--mist);
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.hangar-chip:hover {
  border-color: rgba(110, 200, 255, 0.35);
  color: var(--text);
}
.hangar-chip.is-active {
  background: #2563eb;
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.35);
}
.hangar-chip--fav:not(.is-active) { color: #f0c14b; }
.hangar-chip--spotted:not(.is-active) { color: #7ddea2; }
.hangar-chip--recent:not(.is-active) { color: #ff9a4a; }
.hangar-chip--new:not(.is-active) { color: #ff7b88; }
.hangar-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  align-items: end;
}
.hangar-select {
  display: grid;
  gap: 0.28rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}
.hangar-select select {
  min-height: 2.45rem;
  border-radius: 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  background: rgba(4, 12, 24, 0.55);
  border-color: rgba(110, 200, 255, 0.18);
}
.hangar-more {
  grid-column: 1 / -1;
  border-radius: 0.85rem;
  border: 1px solid rgba(110, 200, 255, 0.22);
  background: rgba(8, 18, 36, 0.4);
}
.hangar-more > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.45rem;
  padding: 0.35rem 0.7rem;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--sky-glow);
}
.hangar-more > summary::-webkit-details-marker { display: none; }
.hangar-more-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: rgba(58, 160, 255, 0.3);
  color: var(--text);
  font-size: 0.72rem;
}
.hangar-more-body {
  display: grid;
  gap: 0.65rem;
  padding: 0 0.75rem 0.8rem;
}
.hangar-incomplete { color: var(--text); font-size: 0.88rem; letter-spacing: 0; text-transform: none; }
.hangar-apply { width: 100%; }
.hangar-empty { text-align: center; }

.hangar-grid {
  gap: 0.7rem;
}
.hangar-grid .collector-card--hangar,
.hangar-card {
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    #0d1f3a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 22px rgba(0, 0, 0, 0.28);
}
.hangar-card--common {
  border-color: rgba(201, 216, 239, 0.22);
}
.hangar-card--uncommon {
  border-color: rgba(80, 200, 140, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(141, 255, 192, 0.08),
    0 0 0 1px rgba(80, 200, 140, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(80, 200, 140, 0.16);
}
.hangar-card--rare {
  border-color: rgba(58, 160, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(110, 200, 255, 0.1),
    0 0 0 1px rgba(58, 160, 255, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(58, 160, 255, 0.2);
}
.hangar-card--epic {
  border-color: rgba(180, 120, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(210, 180, 255, 0.1),
    0 0 0 1px rgba(180, 120, 255, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(180, 120, 255, 0.2);
}
.hangar-card--ultra-rare,
.hangar-card--legendary {
  border-color: rgba(245, 197, 66, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 138, 0.12),
    0 0 0 1px rgba(245, 197, 66, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(245, 197, 66, 0.2);
}
.hangar-grid .collector-card-media,
.hangar-card-media {
  height: 8.4rem;
}
.hangar-card--unknown .silhouette {
  background:
    linear-gradient(180deg, rgba(12, 28, 48, 0.2), rgba(6, 14, 28, 0.55)),
    repeating-linear-gradient(0deg, transparent 0 11px, rgba(110, 200, 255, 0.07) 11px 12px),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(110, 200, 255, 0.07) 11px 12px),
    radial-gradient(circle at 50% 58%, rgba(110, 200, 255, 0.18), transparent 58%);
}
.hangar-card--uncommon.hangar-card--unknown .silhouette {
  background:
    linear-gradient(180deg, rgba(8, 28, 22, 0.25), rgba(6, 16, 14, 0.6)),
    repeating-linear-gradient(0deg, transparent 0 11px, rgba(80, 200, 140, 0.1) 11px 12px),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(80, 200, 140, 0.1) 11px 12px),
    radial-gradient(circle at 50% 58%, rgba(80, 200, 140, 0.22), transparent 58%);
}
.hangar-grid .collector-rarity,
.hangar-rarity {
  left: 0.45rem;
  right: auto;
  display: inline-flex;
  gap: 0.22rem;
  padding: 0.2rem 0.5rem 0.2rem 0.4rem;
}
.hangar-fav {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.55rem;
  background: rgba(8, 18, 36, 0.55);
  color: rgba(232, 241, 255, 0.72);
  cursor: pointer;
}
.hangar-fav svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.hangar-fav.is-on {
  color: var(--gold);
  background: rgba(245, 197, 66, 0.16);
}
.hangar-fav.is-on svg {
  fill: currentColor;
  stroke: currentColor;
}
.hangar-fav:hover,
.hangar-fav:focus-visible {
  color: var(--gold);
  outline: none;
}
.hangar-grid .collector-card-body,
.hangar-card-body {
  min-height: 0;
  padding: 0.6rem 0.65rem 0.7rem;
}
.hangar-card-identity {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  margin: 0 0 0.5rem;
}
.hangar-grid .collector-reg,
.hangar-card-reg {
  margin: 0;
  min-width: 0;
  font-size: 1.08rem;
}
.hangar-flag {
  flex: 0 0 auto;
  font-size: 0.95rem;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}
.hangar-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.42rem 0.45rem;
  margin: 0;
}
.hangar-card-meta > div {
  display: grid;
  grid-template-columns: 0.85rem minmax(0, 1fr);
  gap: 0.28rem;
  align-items: start;
  min-width: 0;
}
.hangar-card-meta svg {
  margin-top: 0.12rem;
  color: var(--mist);
  opacity: 0.85;
}
.hangar-card-meta dt {
  margin: 0;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
}
.hangar-card-meta dd {
  margin: 0.08rem 0 0;
  font-size: 0.74rem;
  font-weight: 700;
  color: #e4edf8;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hangar-card-meta dd.is-muted {
  color: var(--mist);
  font-weight: 500;
}

@media (min-width: 520px) {
  .hangar-progress-grid {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }
  .hangar-stats {
    grid-column: 1 / -1;
  }
  .hangar-filter-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  }
  .hangar-more {
    grid-column: auto;
    align-self: end;
    min-width: 8.5rem;
  }
  .hangar-more > summary {
    white-space: nowrap;
  }
}
@media (min-width: 720px) {
  .hangar-page { max-width: none; }
  .hangar-ring-wrap {
    width: 9.4rem;
    height: 9.4rem;
  }
  .hangar-grid .collector-card-media,
  .hangar-card-media {
    height: 9.2rem;
  }
  .hangar-card-meta dt { font-size: 0.58rem; }
  .hangar-card-meta dd { font-size: 0.8rem; }
}

body.hangar-career-open {
  overflow: hidden;
}
.hangar-career {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.hangar-career[hidden] { display: none; }
.hangar-career.is-in { opacity: 1; }
.hangar-career.is-out { opacity: 0; }
.hangar-career-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(4, 10, 22, 0.72);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.hangar-career-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(28rem, 100%);
  max-height: min(88dvh, 46rem);
  margin: 0;
  padding: 0 0 calc(0.85rem + var(--safe-bottom));
  border-radius: 1.4rem 1.4rem 0 0;
  background:
    linear-gradient(180deg, rgba(58, 160, 255, 0.12), transparent 28%),
    #0b1b33;
  border: 1px solid rgba(110, 200, 255, 0.28);
  border-bottom: 0;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(110%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.hangar-career.is-in .hangar-career-panel {
  transform: translateY(0);
}
.hangar-career-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hangar-career-head h2 {
  margin: 0.15rem 0 0.2rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.hangar-career-sub {
  margin: 0;
  color: var(--mist);
  font-size: 0.82rem;
  line-height: 1.35;
}
.hangar-career-x {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  margin: 0;
  padding: 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 18, 36, 0.55);
  color: var(--text);
  cursor: pointer;
}
.hangar-career-x:hover,
.hangar-career-x:focus-visible {
  border-color: rgba(110, 200, 255, 0.4);
  color: var(--sky-glow);
  outline: none;
}
.hangar-career-list {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1rem 0.4rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.hangar-career-stage {
  margin: 0.65rem 0 0.4rem;
  padding-left: 1.7rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-glow);
}
.hangar-career-stage:first-child { margin-top: 0; }
.hangar-career-item {
  position: relative;
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  padding: 0.42rem 0 0.55rem;
  opacity: 0;
  transform: translateY(12px);
}
.hangar-career.is-in .hangar-career-item {
  animation: hangar-career-rise 0.42s ease forwards;
  animation-delay: calc(var(--i, 0) * 28ms);
}
.hangar-career-item::before {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 1.15rem;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}
.hangar-career-item:last-child::before { display: none; }
.hangar-career-item.is-done::before {
  background: linear-gradient(180deg, var(--gold), rgba(58, 160, 255, 0.55));
}
.hangar-career-item.is-now::before {
  background: linear-gradient(180deg, var(--gold), rgba(255, 255, 255, 0.1));
}
.hangar-career-dot {
  position: relative;
  z-index: 1;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.18rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: #071224;
}
.hangar-career-item.is-done .hangar-career-dot {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 10px rgba(245, 197, 66, 0.45);
}
.hangar-career-item.is-now .hangar-career-dot {
  border-color: var(--sky-glow);
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(58, 160, 255, 0.2), 0 0 14px rgba(58, 160, 255, 0.55);
  animation: hangar-career-pulse 1.6s ease-in-out infinite;
}
.hangar-career-item-copy { min-width: 0; }
.hangar-career-item-title {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
}
.hangar-career-lv {
  display: inline-block;
  margin-right: 0.28rem;
  color: var(--mist);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.hangar-career-item.is-now .hangar-career-item-title {
  color: #fff;
}
.hangar-career-item-meta {
  margin: 0.12rem 0 0;
  color: var(--mist);
  font-size: 0.75rem;
}
.hangar-career.is-in .hangar-career-item.is-locked {
  animation-name: hangar-career-rise-locked;
}
.hangar-career-cta {
  padding: 0.75rem 1rem 0;
}
.hangar-career-cta .btn { width: 100%; }

@keyframes hangar-career-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hangar-career-rise-locked {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 0.55; transform: translateY(0); }
}
@keyframes hangar-career-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(58, 160, 255, 0.16), 0 0 12px rgba(58, 160, 255, 0.4); }
  50% { box-shadow: 0 0 0 7px rgba(58, 160, 255, 0.08), 0 0 18px rgba(58, 160, 255, 0.7); }
}

@media (min-width: 560px) {
  .hangar-career {
    place-items: center;
    padding: 1.25rem 1rem;
  }
  .hangar-career-panel {
    max-height: min(82dvh, 44rem);
    border-radius: 1.35rem;
    border-bottom: 1px solid rgba(110, 200, 255, 0.28);
    transform: translateY(18px) scale(0.96);
    opacity: 0;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  }
  .hangar-career.is-in .hangar-career-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hangar-career,
  .hangar-career-panel,
  .hangar-collector-badge {
    transition: none;
  }
  .hangar-career.is-in .hangar-career-item,
  .hangar-career-item.is-now .hangar-career-dot {
    animation: none;
  }
  .hangar-career.is-in .hangar-career-item {
    opacity: 1;
    transform: none;
  }
  .hangar-career.is-in .hangar-career-item.is-locked { opacity: 0.55; }
}
