/* ═══════════════════════════════════════════════════════
   satellite-pass-predictions.css
   Dedicated styles for /satellite-pass-predictions
   Inherits base from /library-styles.css
   ═══════════════════════════════════════════════════════ */

/* ── Form element font reset — match main site (Orbitron primary) ── */
button, input, select, textarea, option, [type="button"] {
  font-family: 'Orbitron', 'JetBrains Mono', Arial, sans-serif;
}
/* Buttons & interactive pills: Orbitron to match main site tracker */
.sp-btn, .sp-card-btn, .sp-show-more,
.sp-notify-btn, .sp-scrub-reset, .sp-identify-btn,
.sp-filter-chip, .sp-quick-city,
.sp-embed-copy, .sp-history-toggle, .sp-photo-toggle,
.sp-train-dismiss, .sp-train-link {
  font-family: 'Orbitron', 'JetBrains Mono', Arial, sans-serif;
}
/* Data display / pills / labels: JetBrains Mono for readability */
.sp-card-pill, .sp-cond-pill, .sp-card-shell,
.sp-weather-verdict, .sp-darksky-tip,
.sp-hm-day, .sp-compare-input, .sp-id-input {
  font-family: 'JetBrains Mono', 'Fira Mono', 'Consolas', monospace;
}

/* ── Hero ───────────────────────────────────────────── */
.sp-hero { text-align: center; padding: 40px 0 24px; position: relative; }

.sp-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
  color: #60eafe; padding: 4px 14px;
  border: 1px solid rgba(96,234,254,0.2); border-radius: 20px;
  background: rgba(96,234,254,0.05); margin-bottom: 16px;
}

.sp-hero h1 {
  font-family: 'Orbitron', monospace; font-size: clamp(24px, 4.5vw, 42px);
  color: #ffe060; letter-spacing: 2px; font-weight: 700; margin-bottom: 8px;
}

.sp-hero-sub {
  font-size: 14px; color: rgba(255,255,255,0.80);
  max-width: 620px; margin: 0 auto 16px; line-height: 1.7;
}

.sp-hero-geo {
  font-size: 12px; color: rgba(255,255,255,0.56); margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
}

.sp-hero-live {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 13px; color: rgba(255,255,255,0.56);
}

.sp-hero-count {
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 28px;
  color: #60eafe; text-shadow: 0 0 20px rgba(96,234,254,0.3);
  display: inline-block; min-width: 40px; transition: all 0.4s;
}

/* ── Location Bar (sticky) ──────────────────────────── */
.sp-locbar {
  position: sticky; top: 56px; z-index: 50;
  background: rgba(7,10,24,0.95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,224,96,0.08);
  padding: 12px 0; margin-bottom: 28px; transition: box-shadow 0.3s;
}
.sp-locbar.stuck { box-shadow: 0 4px 24px rgba(0,0,0,0.5); }

.sp-locbar-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}

.sp-loc-input-wrap { flex: 1; min-width: 220px; position: relative; }

.sp-loc-input {
  width: 100%; padding: 10px 14px 10px 36px;
  background: rgba(18,20,34,0.8); border: 1px solid rgba(255,224,96,0.15);
  border-radius: 10px; color: #ffe060;
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  outline: none; transition: border-color 0.2s;
}
.sp-loc-input:focus { border-color: rgba(255,224,96,0.45); }
.sp-loc-input::placeholder { color: rgba(255,255,255,0.40); }

.sp-loc-search-ico {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: rgba(255,224,96,0.4); font-size: 14px; pointer-events: none;
}

.sp-loc-suggestions {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
  background: rgba(14,16,30,0.98); border: 1px solid rgba(255,224,96,0.2);
  border-radius: 10px; margin-top: 4px; max-height: 220px;
  overflow-y: auto; display: none;
}
.sp-loc-suggestions.open { display: block; }

.sp-loc-sug-item {
  padding: 10px 14px; font-size: 12px; color: rgba(255,255,255,0.7);
  cursor: pointer; transition: background 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.sp-loc-sug-item:hover, .sp-loc-sug-item.selected {
  background: rgba(255,224,96,0.08); color: #ffe060;
}

.sp-geo-btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(96,234,254,0.2); border-radius: 10px;
  background: rgba(96,234,254,0.05); color: #60eafe;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.sp-geo-btn:hover { border-color: rgba(96,234,254,0.5); background: rgba(96,234,254,0.12); }
.sp-geo-btn svg { width: 20px; height: 20px; }

.sp-conditions { display: flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(255,255,255,0.56); flex-shrink: 0; }

.sp-cond-pill { padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.sp-cond-good { background: rgba(57,255,20,0.1); color: #39ff14; border: 1px solid rgba(57,255,20,0.2); }
.sp-cond-fair { background: rgba(255,224,96,0.1); color: #ffe060; border: 1px solid rgba(255,224,96,0.2); }
.sp-cond-poor { background: rgba(255,80,60,0.1); color: #ff5050; border: 1px solid rgba(255,80,60,0.2); }
.sp-cond-day  { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.48); border: 1px solid rgba(255,255,255,0.12); }

.sp-loc-saved { font-size: 11px; color: rgba(255,255,255,0.48); display: flex; align-items: center; gap: 4px; }

/* ── Sky Chart ──────────────────────────────────────── */
.sp-sky-section { margin-bottom: 36px; }
.sp-sky-title-row { margin-bottom: 16px; }
.sp-sky-title {
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 16px;
  color: #ffe060; letter-spacing: 1px; margin-bottom: 4px;
}
.sp-sky-hint {
  font-size: 12px; color: rgba(255,255,255,0.48); line-height: 1.5;
  max-width: 600px;
}
.sp-sky-wrap { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; justify-content: center; }
.sp-sky-chart-container { position: relative; width: 460px; max-width: 100%; aspect-ratio: 1; flex-shrink: 0; }

.sp-sky-canvas {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle, #0c1028 0%, #070a18 70%);
  border: 2px solid rgba(255,224,96,0.12);
  box-shadow: 0 0 60px rgba(96,234,254,0.04), 0 0 120px rgba(0,0,0,0.5) inset;
}

.sp-sky-compass {
  position: absolute; font-family: 'Orbitron', monospace;
  font-size: 11px; font-weight: 700; color: rgba(255,224,96,0.5); letter-spacing: 1px;
}
.sp-sky-compass.n { top: 6px; left: 50%; transform: translateX(-50%); }
.sp-sky-compass.s { bottom: 6px; left: 50%; transform: translateX(-50%); }
.sp-sky-compass.e { right: 6px; top: 50%; transform: translateY(-50%); }
.sp-sky-compass.w { left: 6px; top: 50%; transform: translateY(-50%); }

.sp-sky-legend {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-top: 12px; font-size: 11px; color: rgba(255,255,255,0.56);
}
.sp-sky-legend-item { display: flex; align-items: center; gap: 5px; }
.sp-sky-legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.sp-sky-legend-dot.bright { background: #ffe060; box-shadow: 0 0 6px rgba(255,224,96,0.5); }
.sp-sky-legend-dot.medium { background: #60eafe; }
.sp-sky-legend-dot.faint  { background: rgba(255,255,255,0.3); }
.sp-sky-legend-dot.iss    { background: #ff6650; box-shadow: 0 0 6px rgba(255,102,80,0.5); }

/* Sidebar stat cards */
.sp-sky-sidebar { flex: 1; min-width: 260px; max-width: 380px; }
.sp-sky-stat-card {
  background: rgba(18,20,34,0.6); border: 1px solid rgba(255,224,96,0.08);
  border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; transition: border-color 0.3s;
}
.sp-sky-stat-card:hover { border-color: rgba(255,224,96,0.2); }
.sp-sky-stat-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.56); margin-bottom: 4px;
  font-family: 'Orbitron', monospace;
}
.sp-sky-stat-value {
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 24px;
  color: #ffe060; line-height: 1.2;
}
.sp-sky-stat-sub { font-size: 11px; color: rgba(255,255,255,0.56); margin-top: 2px; }

/* ── Best Tonight Spotlight ─────────────────────────── */
.sp-best {
  position: relative;
  background: linear-gradient(135deg, rgba(20,18,10,0.6) 0%, rgba(14,17,34,0.7) 100%);
  border: 2px solid rgba(255,224,96,0.15); border-radius: 18px;
  padding: 28px 28px 24px; margin-bottom: 32px; overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.sp-best:hover {
  border-color: rgba(255,224,96,0.35);
  box-shadow: 0 8px 40px rgba(255,224,96,0.04), 0 0 60px rgba(255,224,96,0.02);
}

.sp-best-glow {
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,224,96,0.06) 0%, transparent 60%);
  pointer-events: none; animation: sp-glow-pulse 4s ease-in-out infinite alternate;
}
@keyframes sp-glow-pulse { 0% { opacity: 0.4; } 100% { opacity: 1; } }

.sp-best-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
  color: #ffe060; padding: 3px 12px;
  border: 1px solid rgba(255,224,96,0.25); border-radius: 20px;
  background: rgba(255,224,96,0.06); margin-bottom: 14px;
}

.sp-best-name {
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 24px;
  color: #ffe060; margin-bottom: 10px;
  text-shadow: 0 0 24px rgba(255,224,96,0.2), 0 0 60px rgba(255,224,96,0.06);
  letter-spacing: 1px;
}

.sp-best-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.78); margin-bottom: 16px;
}
.sp-best-meta-item { display: flex; align-items: center; gap: 6px; }

.sp-best-score {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 14px;
  padding: 8px 18px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,224,96,0.12) 0%, rgba(255,224,96,0.04) 100%);
  border: 1px solid rgba(255,224,96,0.25);
  color: #ffe060; margin-bottom: 4px;
  box-shadow: 0 0 16px rgba(255,224,96,0.06);
  text-shadow: 0 0 10px rgba(255,224,96,0.2);
}

.sp-best-arc-wrap {
  position: relative; margin: 20px 0 8px; padding: 16px 12px 8px;
  background: rgba(7,10,24,0.6);
  border: 1px solid rgba(255,224,96,0.06); border-radius: 14px;
  overflow: hidden;
}
.sp-best-arc-wrap::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(255,224,96,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.sp-best-arc {
  width: 100%; height: 140px; display: block; position: relative; z-index: 1;
}
.sp-best-arc-labels {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 12px 0; font-size: 9px; color: rgba(255,224,96,0.48);
  font-family: 'Orbitron', monospace; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
}
.sp-arc-label-peak { color: rgba(255,224,96,0.5); }

.sp-best-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  position: relative; z-index: 1; margin-top: 20px;
  padding-top: 16px; border-top: 1px solid rgba(255,224,96,0.08);
}

/* ── Unified Button (matches info-page .or-btn) ────── */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px;
  font-family: 'Orbitron', 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
  border: 1px solid rgba(255,224,96,0.35); 
  background: linear-gradient(135deg, rgba(255,224,96,0.1) 0%, rgba(255,224,96,0.04) 100%);
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.3px;
}
.sp-btn:hover {
  background: linear-gradient(135deg, rgba(255,224,96,0.18) 0%, rgba(255,224,96,0.08) 100%);
  border-color: rgba(255,224,96,0.6);
  transform: translateY(-1px); color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 12px rgba(255,224,96,0.06);
}
.sp-btn.secondary {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.78);
}
.sp-btn.secondary:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.92);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ── Filter Bar ─────────────────────────────────────── */
.sp-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }

.sp-filter-chip {
  padding: 8px 16px; border-radius: 20px;
  font-size: 11px; font-family: 'Orbitron', 'JetBrains Mono', monospace; font-weight: 600;
  color: rgba(255,255,255,0.66);
  background: linear-gradient(135deg, rgba(18,20,34,0.6) 0%, rgba(14,18,40,0.4) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; transition: all 0.25s;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.sp-filter-chip:hover {
  border-color: rgba(255,224,96,0.25); color: rgba(255,255,255,0.8);
  transform: translateY(-1px);
}
.sp-filter-chip.active {
  background: linear-gradient(135deg, rgba(255,224,96,0.12) 0%, rgba(255,224,96,0.04) 100%);
  border-color: rgba(255,224,96,0.35); color: #ffe060;
  box-shadow: 0 0 12px rgba(255,224,96,0.06);
}

/* ── Pass Sections ──────────────────────────────────── */
.sp-pass-section {
  margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(14,17,34,0.5) 0%, rgba(10,14,30,0.4) 100%);
  border: 1px solid rgba(255,224,96,0.05); border-radius: 16px;
  overflow: hidden; transition: border-color 0.3s;
}
.sp-pass-section:hover { border-color: rgba(255,224,96,0.1); }

.sp-pass-header {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  cursor: pointer; user-select: none; transition: background 0.2s;
}
.sp-pass-header:hover { background: rgba(255,224,96,0.02); }

.sp-pass-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sp-pass-dot.live { background: #39ff14; box-shadow: 0 0 8px rgba(57,255,20,0.5); animation: sp-dot-pulse 2s ease-in-out infinite; }
.sp-pass-dot.soon { background: #ffe060; }
.sp-pass-dot.later { background: rgba(96,234,254,0.6); }
.sp-pass-dot.far { background: rgba(255,255,255,0.2); }
@keyframes sp-dot-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.sp-pass-label {
  font-family: 'Orbitron', monospace; font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.8); letter-spacing: 1px; text-transform: uppercase;
}

.sp-pass-badge {
  font-family: 'Orbitron', monospace; font-size: 11px; font-weight: 700;
  color: #ffe060; background: rgba(255,224,96,0.08); border-radius: 8px;
  padding: 2px 8px; min-width: 24px; text-align: center;
}

.sp-pass-arrow { margin-left: auto; color: rgba(255,255,255,0.48); font-size: 14px; transition: transform 0.3s; }
.sp-pass-section.open .sp-pass-arrow { transform: rotate(180deg); }

.sp-pass-body { padding: 0 20px 16px; display: none; }
.sp-pass-section.open .sp-pass-body { display: block; max-height: 70vh; overflow-y: auto; scroll-behavior: smooth; }
/* Slim scrollbar for pass lists */
.sp-pass-body::-webkit-scrollbar { width: 4px; }
.sp-pass-body::-webkit-scrollbar-track { background: transparent; }
.sp-pass-body::-webkit-scrollbar-thumb { background: rgba(255,224,96,0.15); border-radius: 4px; }
.sp-pass-body::-webkit-scrollbar-thumb:hover { background: rgba(255,224,96,0.3); }
.sp-pass-body { scrollbar-width: thin; scrollbar-color: rgba(255,224,96,0.15) transparent; }

/* ── Pass Card ──────────────────────────────────────── */
.sp-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(10,14,34,0.7) 0%, rgba(14,18,40,0.5) 100%);
  border: 1px solid rgba(255,224,96,0.06); border-radius: 14px;
  margin-bottom: 10px; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.sp-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,224,96,0.08) 50%, transparent 100%);
  pointer-events: none;
}
.sp-card::after {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,224,96,0.03) 0%, transparent 70%);
  pointer-events: none; transition: opacity 0.3s;
  opacity: 0;
}
.sp-card:hover, .sp-card:focus-within {
  border-color: rgba(255,224,96,0.2);
  background: linear-gradient(135deg, rgba(16,20,42,0.8) 0%, rgba(20,24,50,0.6) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(255,224,96,0.03);
}
.sp-card:hover::after { opacity: 1; }
.sp-card-bright {
  border-left: 3px solid #ffe060;
  background: linear-gradient(135deg, rgba(20,18,10,0.6) 0%, rgba(14,18,40,0.5) 100%);
}
.sp-card-bright::after { background: radial-gradient(circle, rgba(255,224,96,0.05) 0%, transparent 70%); opacity: 0.5; }
.sp-card-medium {
  border-left: 3px solid #60eafe;
  background: linear-gradient(135deg, rgba(10,16,28,0.6) 0%, rgba(14,18,40,0.5) 100%);
}
.sp-card-faint  { border-left: 3px solid rgba(255,255,255,0.15); }
.sp-card-iss {
  border-left: 3px solid #ff6650;
  background: linear-gradient(135deg, rgba(25,12,10,0.6) 0%, rgba(14,18,40,0.5) 100%);
}
.sp-card-iss::after { background: radial-gradient(circle, rgba(255,102,80,0.05) 0%, transparent 70%); opacity: 0.5; }

/* Scrubber highlight */
.sp-card-scrub-highlight {
  border-color: rgba(96,234,254,0.35) !important;
  box-shadow: 0 0 16px rgba(96,234,254,0.08), inset 0 0 20px rgba(96,234,254,0.03);
}

.sp-card-icon {
  font-size: 24px; flex-shrink: 0; line-height: 1;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,224,96,0.04); border-radius: 10px;
  border: 1px solid rgba(255,224,96,0.06);
}
.sp-card-iss .sp-card-icon { background: rgba(255,102,80,0.06); border-color: rgba(255,102,80,0.1); }
.sp-card-body { flex: 1; min-width: 0; }

.sp-card-name {
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 14px;
  color: #ffe060; letter-spacing: 0.5px; margin-bottom: 5px;
  text-shadow: 0 0 12px rgba(255,224,96,0.1);
}
.sp-card-iss .sp-card-name { color: #ff6650; text-shadow: 0 0 12px rgba(255,102,80,0.15); }

.sp-card-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 11px; color: rgba(255,255,255,0.74); margin-bottom: 8px;
}
.sp-card-meta span {
  display: inline-flex; align-items: center; gap: 2px;
}

.sp-card-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 4px; }

.sp-card-pill {
  font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px;
  padding: 3px 10px; border-radius: 10px;
  background: rgba(255,224,96,0.05); color: rgba(255,224,96,0.6);
  border: 1px solid rgba(255,224,96,0.08);
}
.sp-card-pill.bright-pill {
  background: linear-gradient(135deg, rgba(255,224,96,0.12) 0%, rgba(255,224,96,0.06) 100%);
  color: #ffe060; border-color: rgba(255,224,96,0.25);
  box-shadow: 0 0 8px rgba(255,224,96,0.06);
}
.sp-card-pill.iss-pill {
  background: linear-gradient(135deg, rgba(255,102,80,0.12) 0%, rgba(255,102,80,0.06) 100%);
  color: #ff6650; border-color: rgba(255,102,80,0.2);
}
.sp-card-pill.starlink-pill {
  background: linear-gradient(135deg, rgba(255,105,180,0.12) 0%, rgba(255,105,180,0.06) 100%);
  color: #ff69b4; border-color: rgba(255,105,180,0.2);
}

.sp-card-countdown {
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 15px;
  color: #60eafe; margin-top: 6px;
  text-shadow: 0 0 16px rgba(96,234,254,0.2);
  letter-spacing: 0.5px;
}

.sp-card-actions {
  display: flex; gap: 8px; margin-top: 12px;
  padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.04);
}

.sp-card-btn {
  padding: 7px 14px; border-radius: 8px;
  font-size: 11px; font-family: 'Orbitron', 'JetBrains Mono', monospace; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.66);
  letter-spacing: 0.3px;
}
.sp-card-btn:hover {
  background: rgba(255,224,96,0.08); color: #ffe060;
  border-color: rgba(255,224,96,0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}

/* ── Show More / Pagination ─────────────────────────── */
.sp-show-more {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px; margin-top: 10px;
  border-radius: 12px;
  border: 1px dashed rgba(255,224,96,0.12);
  background: linear-gradient(135deg, rgba(255,224,96,0.02) 0%, rgba(14,18,40,0.3) 100%);
  color: rgba(255,224,96,0.6);
  font-family: 'Orbitron', 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all 0.25s;
  letter-spacing: 0.3px;
}
.sp-show-more:hover {
  background: linear-gradient(135deg, rgba(255,224,96,0.06) 0%, rgba(14,18,40,0.4) 100%);
  border-color: rgba(255,224,96,0.3); border-style: solid;
  color: #ffe060;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.sp-show-more-count {
  font-family: 'Orbitron', monospace; font-size: 11px;
  background: rgba(255,224,96,0.1); border-radius: 6px;
  padding: 1px 6px; color: #ffe060;
}
/* Section count summary (e.g. "Showing 10 of 115 passes") */
.sp-section-summary {
  text-align: center; font-size: 10px; font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.3); padding: 4px 0 10px;
  letter-spacing: 0.5px; text-transform: uppercase;
}
/* Section cap message (at max 50) */
.sp-section-cap {
  text-align: center; padding: 14px; margin-top: 10px;
  font-size: 11px; color: rgba(255,255,255,0.35);
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid rgba(255,255,255,0.04); border-radius: 10px;
  background: rgba(10,14,34,0.3);
}

/* ── Empty State ────────────────────────────────────── */
.sp-empty { text-align: center; padding: 48px 20px; }
.sp-empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.6; }
.sp-empty-title { font-family: 'Orbitron', monospace; font-size: 16px; color: rgba(255,224,96,0.7); margin-bottom: 8px; }
.sp-empty-sub { font-size: 13px; color: rgba(255,255,255,0.56); max-width: 400px; margin: 0 auto; }

/* ── Notification CTA ───────────────────────────────── */
.sp-notify {
  background: rgba(18,20,34,0.6); border: 1px solid rgba(96,234,254,0.12);
  border-radius: 16px; padding: 24px 28px; margin: 32px 0;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  transition: border-color 0.3s;
}
.sp-notify:hover { border-color: rgba(96,234,254,0.25); }
.sp-notify-icon { font-size: 32px; flex-shrink: 0; }
.sp-notify-text { flex: 1; min-width: 200px; }
.sp-notify-title {
  font-family: 'Orbitron', monospace; font-size: 13px; font-weight: 700;
  color: #60eafe; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px;
}
.sp-notify-desc { font-size: 12px; color: rgba(255,255,255,0.66); line-height: 1.6; }

.sp-notify-btn {
  padding: 10px 20px; border-radius: 12px;
  font-family: 'Orbitron', 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600;
  background: linear-gradient(135deg, rgba(96,234,254,0.1) 0%, rgba(96,234,254,0.04) 100%);
  color: #60eafe;
  border: 1px solid rgba(96,234,254,0.25);
  cursor: pointer; transition: all 0.2s; flex-shrink: 0;
  letter-spacing: 0.3px;
}
.sp-notify-btn:hover {
  background: linear-gradient(135deg, rgba(96,234,254,0.18) 0%, rgba(96,234,254,0.08) 100%);
  border-color: rgba(96,234,254,0.5);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 12px rgba(96,234,254,0.06);
  transform: translateY(-1px);
}

/* ── Loading skeleton ───────────────────────────────── */
.sp-skel {
  height: 80px; border-radius: 12px; margin-bottom: 8px;
  background: linear-gradient(90deg, rgba(18,20,34,0.4) 25%, rgba(30,33,49,0.4) 50%, rgba(18,20,34,0.4) 75%);
  background-size: 200% 100%; animation: sp-skel-shimmer 1.5s infinite;
}
@keyframes sp-skel-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .sp-sky-chart-container { width: 320px; }
  .sp-sky-wrap { flex-direction: column; align-items: center; }
  .sp-sky-sidebar { max-width: 100%; }
  .sp-locbar-inner { flex-direction: column; }
  .sp-conditions { justify-content: center; }
  .sp-best { padding: 20px 16px; }
  .sp-best-meta { gap: 10px; font-size: 12px; }
  .sp-best-actions { gap: 8px; }
  .sp-btn { padding: 8px 14px; font-size: 11px; }
  .sp-identify-row { flex-direction: column; }
  .sp-identify-field { min-width: 100%; }
  .sp-train-alert { flex-direction: column; text-align: center; }
  .sp-train-actions { justify-content: center; }

  /* Card actions: wrap to 2 rows on tablet/mobile */
  .sp-card-actions { flex-wrap: wrap; }

  /* Notification CTA: stack vertically */
  .sp-notify { flex-direction: column; text-align: center; gap: 14px; padding: 20px; }
  .sp-notify-text { min-width: 0; }
  .sp-notify-btn { width: 100%; }

  /* Scrubber: stack label above slider */
  .sp-time-scrubber { flex-direction: column; gap: 8px; align-items: stretch; }
  .sp-scrub-value { min-width: 0; text-align: center; font-size: 11px; }

  /* History items: stack on narrow */
  .sp-history-item { flex-direction: column; gap: 4px; align-items: flex-start; }

  /* Card countdown slightly smaller */
  .sp-card-countdown { font-size: 13px; }

  /* Pass list: shorter scroll area on mobile */
  .sp-pass-section.open .sp-pass-body { max-height: 60vh; }
  .sp-show-more { padding: 12px; font-size: 11px; }
  .sp-section-summary { font-size: 9px; }
}

@media (max-width: 480px) {
  .sp-sky-chart-container { width: 280px; }
  .sp-filters { gap: 6px; }
  .sp-filter-chip { padding: 6px 10px; font-size: 10px; }
  .sp-best-actions { flex-direction: column; }
  .sp-audio-controls { flex-direction: column; }

  /* Compact cards on small phones */
  .sp-card { padding: 12px 14px; gap: 10px; }
  .sp-card-icon { width: 32px; height: 32px; }
  .sp-card-icon svg { width: 18px; height: 18px; }
  .sp-card-name { font-size: 12px; }
  .sp-card-meta { gap: 8px; font-size: 10px; }
  .sp-card-btn { padding: 6px 10px; font-size: 10px; }
  .sp-card-countdown { font-size: 12px; }
  .sp-card-actions { gap: 6px; }

  /* Topbar: tighter spacing for 4 links */
  .or-lib-topbar-nav { gap: 2px; }
  .or-lib-topbar-link { padding: 4px 6px; font-size: 9px; letter-spacing: 0.5px; }
  .or-lib-topbar-brand span { display: none; }

  /* Compact section headers and panels */
  .sp-pass-header { padding: 12px 14px; }
  .sp-pass-label { font-size: 10px; }
  .sp-pass-body { padding: 0 14px 12px; }
  .sp-report { padding: 18px 14px; }
  .sp-report-num { font-size: 16px; }
  .sp-embed-section { padding: 16px; }
  .sp-embed-desc { font-size: 12px; }
  .sp-heatmap { padding: 16px; }
  .sp-compare { padding: 16px; }
  .sp-darksky { padding: 16px; }
  .sp-weather { padding: 16px; }
  .sp-notify { padding: 16px; }

  /* Hero count number */
  .sp-hero-count { font-size: 22px; }

  /* Best pass: compact arc and meta */
  .sp-best-name { font-size: 18px; }
  .sp-best-score { font-size: 12px; padding: 6px 14px; }
  .sp-best-meta { font-size: 11px; gap: 8px; }
}

/* ═══ TOPBAR ACTIVE LINK ═══ */
.sp-topbar-active {
  color: #ffe060 !important;
  border-bottom: 2px solid rgba(255,224,96,0.5);
  padding-bottom: 2px;
}

/* ═══ NIGHT MODE (UX 31) ═══ */
body.sp-night-mode {
  background: #000 !important;
}
body.sp-night-mode .or-lib-bg {
  background: #000 !important;
}
body.sp-night-mode .or-lib-stars { opacity: 0.2; }
body.sp-night-mode .or-lib-topbar {
  background: rgba(20,0,0,0.95) !important;
  border-bottom-color: rgba(139,0,0,0.3) !important;
}
body.sp-night-mode .sp-hero h1,
body.sp-night-mode .sp-sky-stat-value,
body.sp-night-mode .sp-card-name,
body.sp-night-mode .sp-best-name,
body.sp-night-mode .sp-pass-badge,
body.sp-night-mode .sp-filter-chip.active {
  color: #8B0000 !important;
}
body.sp-night-mode .sp-locbar {
  background: rgba(10,0,0,0.95) !important;
  border-bottom-color: rgba(139,0,0,0.15) !important;
}
body.sp-night-mode .sp-loc-input {
  background: rgba(20,0,0,0.8) !important;
  border-color: rgba(139,0,0,0.2) !important;
  color: #8B0000 !important;
}
body.sp-night-mode .sp-card {
  background: rgba(15,0,0,0.5) !important;
  border-color: rgba(139,0,0,0.1) !important;
}
body.sp-night-mode .sp-card-bright { border-left-color: #8B0000 !important; }
body.sp-night-mode .sp-card-medium { border-left-color: #660000 !important; }
body.sp-night-mode .sp-card-iss { border-left-color: #cc3300 !important; }
body.sp-night-mode .sp-sky-canvas {
  background: radial-gradient(circle, #0a0000 0%, #000 70%) !important;
  border-color: rgba(139,0,0,0.15) !important;
}
body.sp-night-mode .sp-sky-compass { color: rgba(139,0,0,0.5) !important; }
body.sp-night-mode .sp-best {
  background: rgba(15,0,0,0.7) !important;
  border-color: rgba(139,0,0,0.25) !important;
}
body.sp-night-mode .sp-pass-section {
  background: rgba(10,0,0,0.5) !important;
  border-color: rgba(139,0,0,0.1) !important;
}
body.sp-night-mode .sp-hero-count { color: #8B0000 !important; text-shadow: 0 0 20px rgba(139,0,0,0.3) !important; }
body.sp-night-mode .sp-cond-good { background: rgba(139,0,0,0.1) !important; color: #8B0000 !important; border-color: rgba(139,0,0,0.2) !important; }
body.sp-night-mode * { text-shadow: none !important; }

.sp-night-btn, .sp-share-btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.66);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.sp-night-btn:hover, .sp-share-btn:hover {
  border-color: rgba(255,224,96,0.3); color: #ffe060;
}
.sp-night-btn svg, .sp-share-btn svg { width: 18px; height: 18px; }

/* ═══ SKY CHART NO-DATA OVERLAY (Visual 36) ═══ */
.sp-sky-nodata {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: rgba(7,10,24,0.7); border-radius: 50%;
  pointer-events: none; z-index: 2;
}
.sp-sky-nodata-icon { font-size: 36px; opacity: 0.5; margin-bottom: 8px; }
.sp-sky-nodata-text {
  font-family: 'Orbitron', monospace; font-size: 13px; font-weight: 700;
  color: rgba(255,224,96,0.6); letter-spacing: 1px;
}
.sp-sky-nodata-sub { font-size: 11px; color: rgba(255,255,255,0.48); margin-top: 4px; }

/* ═══ TIME SCRUBBER (UX 32) ═══ */
.sp-time-scrubber {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding: 12px 16px;
  background: rgba(18,20,34,0.5); border: 1px solid rgba(255,224,96,0.06);
  border-radius: 12px;
}
.sp-scrub-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,0.48); font-family: 'Orbitron', monospace;
  flex-shrink: 0;
}
.sp-scrub-range {
  flex: 1; min-width: 120px; height: 4px; -webkit-appearance: none;
  background: rgba(255,224,96,0.12); border-radius: 2px; outline: none;
}
.sp-scrub-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px;
  border-radius: 50%; background: #ffe060; cursor: pointer;
  box-shadow: 0 0 8px rgba(255,224,96,0.4);
}
.sp-scrub-range::-moz-range-thumb {
  width: 16px; height: 16px; border: none;
  border-radius: 50%; background: #ffe060; cursor: pointer;
}
.sp-scrub-value {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: #ffe060; min-width: 100px;
}
.sp-scrub-reset {
  font-family: 'Orbitron', 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600;
  color: rgba(96,234,254,0.7); background: rgba(96,234,254,0.06);
  border: 1px solid rgba(96,234,254,0.15); border-radius: 8px;
  padding: 4px 10px; cursor: pointer; transition: all 0.2s;
}
.sp-scrub-reset:hover { background: rgba(96,234,254,0.12); color: #60eafe; }

/* ═══ STARLINK TRAIN ALERT (Feature 44) ═══ */
.sp-train-alert {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 20px 24px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(255,105,180,0.08) 0%, rgba(255,224,96,0.06) 100%);
  border: 2px solid rgba(255,105,180,0.3); border-radius: 16px;
  position: relative; overflow: hidden;
  animation: sp-train-border 3s ease-in-out infinite alternate;
}
@keyframes sp-train-border {
  0% { border-color: rgba(255,105,180,0.3); }
  100% { border-color: rgba(255,224,96,0.3); }
}
.sp-train-glow {
  position: absolute; top: -40%; right: -10%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,105,180,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.sp-train-icon { font-size: 28px; flex-shrink: 0; line-height: 0; }
.sp-train-body { flex: 1; min-width: 200px; }
.sp-train-title {
  font-family: 'Orbitron', monospace; font-size: 14px; font-weight: 700;
  color: #ff69b4; margin-bottom: 4px; letter-spacing: 1px;
}
.sp-train-desc { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.sp-train-actions { display: flex; gap: 10px; flex-shrink: 0; }
.sp-train-link { text-decoration: none; }

/* ═══ DAYLIGHT BAR (Visual 39) ═══ */
.sp-daylight-bar {
  margin-bottom: 20px; padding: 16px 18px;
  background: rgba(18,20,34,0.5); border: 1px solid rgba(255,224,96,0.08);
  border-radius: 14px; position: relative; overflow: hidden;
}
.sp-daylight-bar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,224,96,0.02) 0%, transparent 30%, transparent 70%, rgba(96,234,254,0.02) 100%);
  pointer-events: none;
}
.sp-daylight-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.42); font-family: 'Orbitron', monospace;
  margin-bottom: 10px; position: relative;
}
.sp-daylight-track {
  display: flex; height: 14px; border-radius: 7px; overflow: hidden;
  border: 1px solid rgba(255,224,96,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3), inset 0 1px 2px rgba(255,255,255,0.03);
  position: relative;
}
.sp-dl-seg { min-width: 2px; transition: opacity 0.3s; }
.sp-dl-seg:hover { opacity: 0.8; }
.sp-dl-day { background: linear-gradient(180deg, rgba(255,224,96,0.45), rgba(255,200,60,0.25)); }
.sp-dl-civil { background: linear-gradient(180deg, rgba(255,140,60,0.4), rgba(220,100,40,0.25)); }
.sp-dl-astro {
  background: linear-gradient(180deg, rgba(96,160,254,0.3), rgba(60,100,200,0.2));
  position: relative;
  animation: sp-dl-astro-shimmer 4s ease-in-out infinite alternate;
}
@keyframes sp-dl-astro-shimmer {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.3); }
}
.sp-dl-night { background: linear-gradient(180deg, rgba(20,20,50,0.5), rgba(8,8,24,0.6)); }
.sp-daylight-times {
  display: flex; justify-content: space-between; margin-top: 6px;
  font-size: 9px; color: rgba(255,255,255,0.38);
  font-family: 'JetBrains Mono', monospace;
}
/* Viewing window labels */
.sp-dl-legend {
  display: flex; gap: 14px; margin-top: 8px; font-size: 9px; color: rgba(255,255,255,0.35);
}
.sp-dl-legend-item { display: flex; align-items: center; gap: 4px; }
.sp-dl-legend-dot { width: 8px; height: 8px; border-radius: 3px; }

/* ═══ "WHAT'S THAT?" IDENTIFIER (Feature 42) ═══ */
.sp-identify {
  margin: 32px 0; padding: 28px;
  background: rgba(18,20,34,0.6); border: 1px solid rgba(96,234,254,0.12);
  border-radius: 18px; transition: border-color 0.3s;
}
.sp-identify:hover { border-color: rgba(96,234,254,0.25); }
.sp-identify-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
  color: #60eafe; padding: 3px 12px;
  border: 1px solid rgba(96,234,254,0.2); border-radius: 20px;
  background: rgba(96,234,254,0.05); margin-bottom: 14px;
}
.sp-identify-title {
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 18px;
  color: #60eafe; margin-bottom: 6px;
}
.sp-identify-sub {
  font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 20px; line-height: 1.6;
}
.sp-identify-link { color: #60eafe; text-decoration: none; }
.sp-identify-link:hover { text-decoration: underline; }
.sp-identify-row { display: flex; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.sp-identify-field { flex: 1; min-width: 160px; }
.sp-identify-field label {
  display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,0.56); margin-bottom: 4px;
  font-family: 'Orbitron', monospace;
}
.sp-id-input {
  width: 100%; padding: 10px 14px;
  background: rgba(10,14,34,0.6); border: 1px solid rgba(96,234,254,0.12);
  border-radius: 10px; color: rgba(255,255,255,0.8);
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  outline: none; transition: all 0.2s;
}
.sp-id-input:focus { border-color: rgba(96,234,254,0.4); box-shadow: 0 0 12px rgba(96,234,254,0.06); }
.sp-id-input:hover { border-color: rgba(96,234,254,0.25); }
select.sp-id-input { cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='rgba(96,234,254,0.5)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
select.sp-id-input option { background: #0a0e22; color: #fff; font-family: 'JetBrains Mono', monospace; }
.sp-identify-btn { align-self: flex-end; margin-top: auto; white-space: nowrap; }
.sp-identify-results {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(96,234,254,0.1);
}
.sp-identify-results-title {
  font-family: 'Orbitron', monospace; font-size: 12px; font-weight: 700;
  color: #60eafe; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px;
}
.sp-id-result {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; background: rgba(10,14,34,0.4);
  border: 1px solid rgba(96,234,254,0.08); border-radius: 10px;
  margin-bottom: 8px; transition: border-color 0.2s;
}
.sp-id-result:hover { border-color: rgba(96,234,254,0.2); }
.sp-id-rank {
  font-family: 'Orbitron', monospace; font-size: 20px; font-weight: 700;
  color: rgba(96,234,254,0.4); min-width: 30px; text-align: center;
}
.sp-id-info { flex: 1; }
.sp-id-name {
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 13px;
  color: #60eafe; margin-bottom: 2px;
}
.sp-id-meta { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.sp-id-conf {
  font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px;
  padding: 2px 8px; border-radius: 10px;
}
.sp-id-high { background: rgba(57,255,20,0.1); color: #39ff14; border: 1px solid rgba(57,255,20,0.2); }
.sp-id-med { background: rgba(255,224,96,0.1); color: #ffe060; border: 1px solid rgba(255,224,96,0.2); }
.sp-id-low { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.08); }
.sp-id-no-result { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }
.sp-id-no-result a { color: #60eafe; }
.sp-id-footer { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 12px; }
.sp-id-footer a { color: #60eafe; }

/* ═══ AUDIO COUNTDOWN (Feature 45) ═══ */
.sp-audio-panel {
  padding: 20px 24px; margin: 24px 0;
  background: rgba(18,20,34,0.6); border: 1px solid rgba(255,224,96,0.08);
  border-radius: 14px;
}
.sp-audio-badge {
  font-family: 'Orbitron', monospace; font-size: 11px; font-weight: 700;
  color: #ffe060; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 6px;
}
.sp-audio-desc { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 14px; line-height: 1.6; }
.sp-audio-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sp-audio-status {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* ═══ PHOTOGRAPHY PLANNER (Feature 43) ═══ */
.sp-card-photo {
  margin-top: 10px; padding: 12px 14px;
  background: rgba(10,14,34,0.5); border: 1px solid rgba(255,224,96,0.08);
  border-radius: 10px;
}
.sp-photo-settings { display: flex; flex-direction: column; gap: 4px; }
.sp-photo-row {
  font-size: 11px; color: rgba(255,255,255,0.6);
  display: flex; gap: 8px;
}
.sp-photo-row strong { color: #ffe060; }
.sp-photo-tip {
  font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 6px;
  padding-top: 6px; border-top: 1px solid rgba(255,224,96,0.06);
}
.sp-photo-tip a { color: #60eafe; text-decoration: none; }
.sp-photo-tip a:hover { text-decoration: underline; }

/* ═══ COLLAPSIBLE ARTICLE (UX 33) ═══ */
.sp-article-collapsible { position: relative; }
.sp-article-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; cursor: pointer; user-select: none;
  font-family: 'Orbitron', monospace; font-size: 13px; font-weight: 700;
  color: rgba(255,224,96,0.7); letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,224,96,0.06);
  margin-bottom: 20px; transition: color 0.2s;
}
.sp-article-toggle:hover { color: #ffe060; }
.sp-article-arrow { font-size: 12px; transition: transform 0.3s; }

/* ═══ SKELETON CARDS (Visual 41) ═══ */
.sp-skel-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px; margin-bottom: 8px;
  background: rgba(10,14,34,0.3); border: 1px solid rgba(255,224,96,0.04);
  border-radius: 12px;
}
.sp-skel-icon {
  width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0;
  background: rgba(255,224,96,0.04);
  animation: sp-skel-shimmer 1.5s infinite;
}
.sp-skel-lines { flex: 1; }


/* ═══════════════════════════════════════════════════════
   ADDITIONS — satellite-pass-predictions.css
   Append this to the existing CSS file
   ═══════════════════════════════════════════════════════ */

/* ── Item 1: Geo Subtitle in Hero ────────────────────── */
.sp-hero-geo {
  font-size: 13px; color: rgba(96,234,254,0.7);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 4px; display: none;
  letter-spacing: 0.5px;
  animation: sp-geo-fade 0.6s ease-out;
}
@keyframes sp-geo-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Item 18: Location Confirmed Flash ───────────────── */
.sp-loc-saved.sp-loc-confirmed {
  animation: sp-loc-flash 0.6s ease-out;
}
@keyframes sp-loc-flash {
  0% { background: rgba(57,255,20,0.15); }
  100% { background: transparent; }
}

/* ── Item 28: Geo Detecting Indicator ────────────────── */
.sp-geo-detecting {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px; margin: 16px 0;
  font-size: 13px; color: rgba(96,234,254,0.7);
}
.sp-geo-pulse {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(96,234,254,0.6);
  animation: sp-geo-pulse-anim 1.5s ease-in-out infinite;
}
@keyframes sp-geo-pulse-anim {
  0%, 100% { transform: scale(1); opacity: 0.6; box-shadow: 0 0 0 0 rgba(96,234,254,0.4); }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px 4px rgba(96,234,254,0.2); }
}

/* ── Item 29: Quick City Chips ───────────────────────── */
.sp-quick-cities {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-top: 20px; align-items: center;
}
.sp-quick-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.25); font-family: 'Orbitron', monospace;
  margin-right: 4px;
}
.sp-quick-city {
  padding: 6px 14px; border-radius: 20px;
  font-size: 11px; font-family: 'Orbitron', 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.5);
  background: rgba(18,20,34,0.6);
  border: 1px solid rgba(255,224,96,0.1);
  cursor: pointer; transition: all 0.25s;
}
.sp-quick-city:hover {
  border-color: rgba(255,224,96,0.4); color: #ffe060;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ── Item 31: Passing Now Urgency Banner ─────────────── */
.sp-passing-now-banner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 24px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(57,255,20,0.08) 0%, rgba(57,255,20,0.02) 100%);
  border: 2px solid rgba(57,255,20,0.4); border-radius: 16px;
  animation: sp-passing-glow 2s ease-in-out infinite alternate;
  position: relative; overflow: hidden;
}
@keyframes sp-passing-glow {
  0% { border-color: rgba(57,255,20,0.4); box-shadow: 0 0 20px rgba(57,255,20,0.1); }
  100% { border-color: rgba(57,255,20,0.7); box-shadow: 0 0 40px rgba(57,255,20,0.15); }
}
.sp-passing-pulse {
  position: absolute; top: -50%; right: -10%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(57,255,20,0.08) 0%, transparent 60%);
  pointer-events: none; animation: sp-glow-pulse 3s ease-in-out infinite alternate;
}
.sp-passing-icon { font-size: 24px; animation: sp-dot-pulse 1.5s ease-in-out infinite; }
.sp-passing-text {
  font-family: 'Orbitron', monospace; font-size: 14px; font-weight: 700;
  color: #39ff14; letter-spacing: 1px;
}
.sp-passing-dir { font-size: 13px; color: rgba(255,255,255,0.7); }
.sp-passing-track { margin-left: auto; }

/* ── Item 34: Floating Action Button ─────────────────── */
.sp-fab {
  position: fixed; bottom: 80px; right: 28px; z-index: 90;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,224,96,0.15) 0%, rgba(255,224,96,0.08) 100%);
  border: 1px solid rgba(255,224,96,0.4);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #ffe060; cursor: pointer;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600;
  transition: all 0.3s; letter-spacing: 0.5px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.sp-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 16px rgba(255,224,96,0.1);
  border-color: rgba(255,224,96,0.7);
}
.sp-fab svg { width: 18px; height: 18px; }
.sp-fab-label { white-space: nowrap; }

/* ── Item 35: Countdown Color States ─────────────────── */
.sp-countdown-soon { animation: sp-countdown-blink 1s ease-in-out infinite; }
@keyframes sp-countdown-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
.sp-countdown-now {
  font-weight: 700; font-size: 13px !important;
  animation: sp-countdown-blink 0.8s ease-in-out infinite;
}

/* ── Card Highlight (FAB scroll target) ──────────────── */
.sp-card-highlight {
  border-color: rgba(96,234,254,0.5) !important;
  box-shadow: 0 0 24px rgba(96,234,254,0.1), inset 0 0 30px rgba(96,234,254,0.03) !important;
  transition: all 0.5s !important;
}

/* ── Item 38: Card Entry Animations ──────────────────── */
.sp-pass-section.open .sp-card {
  animation: sp-card-enter 0.4s ease-out both;
}
.sp-pass-section.open .sp-card:nth-child(2) { animation-delay: 0.05s; }
.sp-pass-section.open .sp-card:nth-child(3) { animation-delay: 0.1s; }
.sp-pass-section.open .sp-card:nth-child(4) { animation-delay: 0.15s; }
.sp-pass-section.open .sp-card:nth-child(5) { animation-delay: 0.2s; }
@keyframes sp-card-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Item 40: Daylight Bar "You Are Here" Marker ─────── */
.sp-daylight-track { position: relative; }
.sp-dl-marker {
  position: absolute; top: -4px; width: 2px; height: calc(100% + 8px);
  background: #ffe060; border-radius: 1px; z-index: 2;
  box-shadow: 0 0 6px rgba(255,224,96,0.5);
}
.sp-dl-marker::after {
  content: '▼'; position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%); font-size: 8px; color: #ffe060;
}

/* ── Item 56: Data Freshness Indicator ───────────────── */
.sp-freshness {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; color: rgba(255,255,255,0.38);
  margin-bottom: 12px; padding-left: 4px;
}
.sp-fresh-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #39ff14; animation: sp-dot-pulse 3s ease-in-out infinite;
}

/* ═══ KILLER FEATURE STYLES ══════════════════════════════ */

/* ── AR CTA ──────────────────────────────────────────── */
.sp-ar-cta {
  padding: 24px 28px; margin: 24px 0;
  background: linear-gradient(135deg, rgba(96,234,254,0.06) 0%, rgba(255,224,96,0.04) 100%);
  border: 1px solid rgba(96,234,254,0.2); border-radius: 16px;
  text-align: center;
}
.sp-ar-badge {
  display: inline-flex; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: #60eafe; padding: 3px 12px;
  border: 1px solid rgba(96,234,254,0.2); border-radius: 20px;
  background: rgba(96,234,254,0.05); margin-bottom: 12px;
}
.sp-ar-title {
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 18px;
  color: #60eafe; margin-bottom: 8px;
}
.sp-ar-desc { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 16px; line-height: 1.6; }
.sp-ar-btn { text-decoration: none; }

/* ── Tonight's Report ────────────────────────────────── */
.sp-report {
  position: relative; padding: 28px; margin: 24px 0;
  background: linear-gradient(135deg, rgba(20,18,10,0.6) 0%, rgba(14,17,34,0.7) 100%);
  border: 2px solid rgba(255,224,96,0.15); border-radius: 18px;
  overflow: hidden;
}
.sp-report-glow {
  position: absolute; top: -40%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,224,96,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.sp-report-badge {
  display: inline-flex; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: #ffe060; padding: 3px 12px;
  border: 1px solid rgba(255,224,96,0.25); border-radius: 20px;
  background: rgba(255,224,96,0.06); margin-bottom: 16px;
}
.sp-report-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px; margin-bottom: 16px;
}
.sp-report-stat { text-align: center; }
.sp-report-num {
  display: block; font-family: 'Orbitron', monospace; font-weight: 700;
  font-size: 20px; color: #ffe060; margin-bottom: 4px;
}
.sp-report-label { font-size: 10px; color: rgba(255,255,255,0.48); text-transform: uppercase; letter-spacing: 1px; }
.sp-report-conditions { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 16px; text-align: center; font-family: 'JetBrains Mono', monospace; }
.sp-report-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }

/* ── Weather / Cloud Cover ───────────────────────────── */
.sp-weather {
  padding: 20px 24px; margin: 16px 0;
  background: rgba(18,20,34,0.6); border: 1px solid rgba(96,234,254,0.1);
  border-radius: 14px;
}
.sp-weather-badge {
  display: inline-flex; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: #60eafe; padding: 3px 12px;
  border: 1px solid rgba(96,234,254,0.2); border-radius: 20px;
  background: rgba(96,234,254,0.05); margin-bottom: 14px;
}
.sp-weather-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px;
}
.sp-weather-item { text-align: center; }
.sp-weather-icon {
  display: block; font-size: 22px; margin-bottom: 6px;
  animation: sp-wx-bob 3s ease-in-out infinite;
  transform-origin: center;
}
.sp-weather-item:nth-child(1) .sp-weather-icon { animation-delay: 0s; }
.sp-weather-item:nth-child(2) .sp-weather-icon { animation-delay: 0.5s; }
.sp-weather-item:nth-child(3) .sp-weather-icon { animation-delay: 1s; }
.sp-weather-item:nth-child(4) .sp-weather-icon { animation-delay: 1.5s; }
@keyframes sp-wx-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.sp-weather-val {
  display: block; font-family: 'Orbitron', monospace; font-weight: 700;
  font-size: 16px; color: #ffe060;
}
.sp-weather-lbl { font-size: 9px; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 0.5px; font-family: 'JetBrains Mono', monospace; }
.sp-weather-verdict {
  text-align: center; font-size: 13px; padding: 10px; border-radius: 10px;
  font-weight: 600; font-family: 'JetBrains Mono', monospace;
}
.sp-weather-verdict.good { background: rgba(57,255,20,0.08); color: #39ff14; border: 1px solid rgba(57,255,20,0.15); }
.sp-weather-verdict.fair { background: rgba(255,224,96,0.08); color: #ffe060; border: 1px solid rgba(255,224,96,0.15); }
.sp-weather-verdict.poor { background: rgba(255,80,60,0.08); color: #ff5050; border: 1px solid rgba(255,80,60,0.15); }

/* ── Pass Heatmap Calendar ───────────────────────────── */
.sp-heatmap {
  padding: 24px; margin: 24px 0;
  background: rgba(18,20,34,0.5); border: 1px solid rgba(255,224,96,0.08);
  border-radius: 16px;
}
.sp-heatmap-badge {
  display: inline-flex; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: #ffe060; padding: 3px 12px;
  border: 1px solid rgba(255,224,96,0.2); border-radius: 20px;
  background: rgba(255,224,96,0.05); margin-bottom: 12px;
}
.sp-heatmap-title {
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 16px;
  color: #ffe060; margin-bottom: 4px;
}
.sp-heatmap-sub { font-size: 12px; color: rgba(255,255,255,0.56); margin-bottom: 16px; }
.sp-heatmap-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
  gap: 4px; margin-bottom: 12px;
}
.sp-hm-cell {
  aspect-ratio: 1; border-radius: 6px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; cursor: pointer;
  border: 1px solid rgba(255,224,96,0.06); transition: all 0.2s;
  position: relative;
}
.sp-hm-cell:hover { border-color: rgba(255,224,96,0.3); transform: scale(1.1); z-index: 2; }
.sp-hm-day { font-size: 8px; color: rgba(255,255,255,0.35); line-height: 1; font-family: 'JetBrains Mono', monospace; }
.sp-hm-date { font-family: 'Orbitron', monospace; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.75); }
.sp-heatmap-legend { display: flex; gap: 16px; justify-content: center; font-size: 10px; color: rgba(255,255,255,0.42); font-family: 'JetBrains Mono', monospace; }
.sp-hm-leg { display: flex; align-items: center; gap: 4px; }
.sp-hm-dot { width: 10px; height: 10px; border-radius: 3px; }

/* ── Conjunction Alert ───────────────────────────────── */
.sp-conjunction {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px; margin: 16px 0;
  background: linear-gradient(135deg, rgba(255,224,96,0.08) 0%, rgba(96,234,254,0.06) 100%);
  border: 2px solid rgba(255,224,96,0.25); border-radius: 14px;
  position: relative; overflow: hidden;
  animation: sp-conj-shimmer 4s ease-in-out infinite alternate;
}
@keyframes sp-conj-shimmer { 0% { border-color: rgba(255,224,96,0.25); } 100% { border-color: rgba(96,234,254,0.3); } }
.sp-conj-glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,224,96,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.sp-conj-icon { font-size: 28px; }
.sp-conj-title {
  font-family: 'Orbitron', monospace; font-size: 13px; font-weight: 700;
  color: #ffe060; letter-spacing: 1px; margin-bottom: 4px;
}
.sp-conj-desc { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ── Multi-Location Compare ──────────────────────────── */
.sp-compare {
  padding: 20px 24px; margin: 20px 0;
  background: rgba(18,20,34,0.5); border: 1px solid rgba(96,234,254,0.1);
  border-radius: 14px;
}
.sp-compare-badge {
  display: inline-flex; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: #60eafe; padding: 3px 12px;
  border: 1px solid rgba(96,234,254,0.2); border-radius: 20px;
  background: rgba(96,234,254,0.05); margin-bottom: 14px;
}
.sp-compare-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.sp-compare-loc {
  flex: 1; min-width: 180px; text-align: center;
  padding: 16px; background: rgba(10,14,34,0.5);
  border: 1px solid rgba(255,224,96,0.06); border-radius: 12px;
}
.sp-compare-loc-name {
  font-family: 'Orbitron', monospace; font-size: 12px; font-weight: 700;
  color: #ffe060; margin-bottom: 6px;
}
.sp-compare-loc-stat {
  font-family: 'Orbitron', monospace; font-size: 18px; font-weight: 700;
  color: #60eafe;
}
.sp-compare-vs {
  font-family: 'Orbitron', monospace; font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,0.2); letter-spacing: 2px;
}
.sp-compare-input {
  width: 100%; padding: 8px 12px; margin-bottom: 8px;
  background: rgba(10,14,34,0.6); border: 1px solid rgba(96,234,254,0.12);
  border-radius: 8px; color: rgba(255,255,255,0.8);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  outline: none; text-align: center;
}
.sp-compare-input:focus { border-color: rgba(96,234,254,0.4); }

/* ── Compare: Autocomplete Suggestions ─────────────── */
.sp-compare-loc { position: relative; }
.sp-compare-suggestions {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
  background: rgba(14,16,30,0.98); border: 1px solid rgba(96,234,254,0.2);
  border-radius: 8px; margin-top: 2px; max-height: 180px;
  overflow-y: auto; display: none;
  backdrop-filter: blur(12px);
}
.sp-compare-suggestions.open { display: block; }
.sp-compare-sug-item {
  padding: 8px 12px; font-size: 11px; color: rgba(255,255,255,0.66);
  cursor: pointer; transition: background 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-family: 'JetBrains Mono', monospace; text-align: left;
}
.sp-compare-sug-item:last-child { border-bottom: none; }
.sp-compare-sug-item:hover, .sp-compare-sug-item.selected {
  background: rgba(96,234,254,0.08); color: #60eafe;
}

/* ── Historical Playback ─────────────────────────────── */
.sp-history {
  padding: 20px 24px; margin: 16px 0;
  background: rgba(18,20,34,0.5); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
}
.sp-history-badge {
  display: inline-flex; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,0.5); padding: 3px 12px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
  background: rgba(255,255,255,0.03); margin-bottom: 10px;
}
.sp-history-desc { font-size: 12px; color: rgba(255,255,255,0.56); margin-bottom: 14px; }
.sp-history-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 12px;
}
.sp-history-name { color: rgba(255,255,255,0.74); font-weight: 600; }
.sp-history-meta { color: rgba(255,255,255,0.56); }

/* ── Dark Sky / Bortle Rating ────────────────────────── */
.sp-darksky {
  padding: 22px 24px; margin: 16px 0;
  background: rgba(18,20,34,0.5); border: 1px solid rgba(255,224,96,0.06);
  border-radius: 14px; position: relative; overflow: hidden;
}
.sp-darksky::before {
  content: ''; position: absolute; top: 0; right: 0; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,224,96,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.sp-darksky-badge {
  display: inline-flex; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,0.56); padding: 3px 12px;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
  background: rgba(255,255,255,0.03); margin-bottom: 12px;
  position: relative;
}
.sp-darksky-inner { display: flex; align-items: center; gap: 18px; position: relative; }
.sp-darksky-score {
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 28px;
  color: #ffe060; min-width: 100px; text-align: center;
  text-shadow: 0 0 16px rgba(255,224,96,0.2);
}
.sp-darksky-label {
  font-family: 'Orbitron', monospace; font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.78); margin-bottom: 4px;
}
.sp-darksky-desc { font-size: 12px; color: rgba(255,255,255,0.56); line-height: 1.5; font-family: 'JetBrains Mono', monospace; }
/* Visual gauge bar (9 segments for Bortle 1-9) */
.sp-darksky-gauge {
  display: flex; gap: 3px; margin-top: 12px; height: 10px; max-width: 240px;
}
.sp-darksky-gauge-seg {
  flex: 1; border-radius: 4px; transition: opacity 0.3s;
  border: 1px solid rgba(255,255,255,0.06);
}
/* Tooltip hint */
.sp-darksky-tip {
  font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 8px;
  cursor: help; border-bottom: 1px dashed rgba(255,255,255,0.15); display: inline;
  font-family: 'JetBrains Mono', monospace;
}

/* ── Embed Widget ────────────────────────────────────── */
.sp-embed-section {
  padding: 24px; margin: 24px 0;
  background: rgba(18,20,34,0.5); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
}
.sp-embed-badge {
  display: inline-flex; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,0.56); padding: 3px 12px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
  background: rgba(255,255,255,0.03); margin-bottom: 12px;
}
.sp-embed-desc { font-size: 13px; color: rgba(255,255,255,0.56); margin-bottom: 16px; line-height: 1.6; }
.sp-embed-code-wrap {
  display: flex; gap: 12px; align-items: flex-start;
}
.sp-embed-code {
  flex: 1; padding: 12px 16px;
  background: rgba(10,14,34,0.6); border: 1px solid rgba(255,224,96,0.08);
  border-radius: 10px; font-size: 11px; color: rgba(255,255,255,0.5);
  word-break: break-all; line-height: 1.5;
  overflow-x: auto; white-space: pre-wrap;
}
.sp-embed-copy { flex-shrink: 0; }

/* ── Voice Indicator ─────────────────────────────────── */
.sp-voice-indicator {
  position: fixed; bottom: 80px; right: 28px; z-index: 91;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 28px;
  background: rgba(255,80,60,0.15); border: 1px solid rgba(255,80,60,0.4);
  backdrop-filter: blur(12px); color: #ff6650;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.sp-voice-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ff6650; animation: sp-dot-pulse 1s ease-in-out infinite;
}

/* ═══ NIGHT MODE ADDITIONS (Item 36) ═════════════════════ */
body.sp-night-mode .sp-daylight-bar,
body.sp-night-mode .sp-weather,
body.sp-night-mode .sp-heatmap,
body.sp-night-mode .sp-compare,
body.sp-night-mode .sp-history,
body.sp-night-mode .sp-darksky,
body.sp-night-mode .sp-embed-section,
body.sp-night-mode .sp-audio-panel {
  background: rgba(10,0,0,0.5) !important;
  border-color: rgba(139,0,0,0.1) !important;
}
body.sp-night-mode .sp-identify {
  background: rgba(10,0,0,0.5) !important;
  border-color: rgba(139,0,0,0.15) !important;
}
body.sp-night-mode .sp-identify-title,
body.sp-night-mode .sp-identify-badge,
body.sp-night-mode .sp-ar-title { color: #8B0000 !important; }
body.sp-night-mode .sp-notify {
  background: rgba(10,0,0,0.5) !important;
  border-color: rgba(139,0,0,0.12) !important;
}
body.sp-night-mode .sp-notify-title { color: #660000 !important; }
body.sp-night-mode .sp-report {
  background: rgba(10,0,0,0.6) !important;
  border-color: rgba(139,0,0,0.2) !important;
}
body.sp-night-mode .sp-report-num,
body.sp-night-mode .sp-report-badge,
body.sp-night-mode .sp-heatmap-title,
body.sp-night-mode .sp-heatmap-badge,
body.sp-night-mode .sp-weather-val,
body.sp-night-mode .sp-darksky-score { color: #8B0000 !important; }
body.sp-night-mode .or-lib-footer {
  background: rgba(5,0,0,0.9) !important;
  border-color: rgba(139,0,0,0.1) !important;
}
body.sp-night-mode .or-lib-footer a { color: rgba(139,0,0,0.6) !important; }
body.sp-night-mode .sp-passing-now-banner {
  background: rgba(139,0,0,0.08) !important;
  border-color: rgba(139,0,0,0.4) !important;
}
body.sp-night-mode .sp-passing-text { color: #8B0000 !important; }
body.sp-night-mode .sp-conjunction {
  background: rgba(10,0,0,0.5) !important;
  border-color: rgba(139,0,0,0.2) !important;
}
body.sp-night-mode .sp-conj-title { color: #8B0000 !important; }
body.sp-night-mode .sp-fab {
  background: rgba(20,0,0,0.9) !important;
  border-color: rgba(139,0,0,0.4) !important;
  color: #8B0000 !important;
}
body.sp-night-mode .sp-quick-city {
  background: rgba(10,0,0,0.5) !important;
  border-color: rgba(139,0,0,0.15) !important;
  color: rgba(139,0,0,0.6) !important;
}

/* ══════════════════════════════════════════════════════
   v2 — New Visual Features & Polish
   ══════════════════════════════════════════════════════ */

/* ── Sky Chart: Outer Glow Ring ─────────────────────── */
.sp-sky-chart-container::before {
  content: ''; position: absolute; inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 48%, rgba(255,224,96,0.04) 50%, rgba(96,234,254,0.03) 52%, transparent 55%);
  pointer-events: none; z-index: -1;
  animation: sp-sky-ring 5s ease-in-out infinite alternate;
}
@keyframes sp-sky-ring {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.02); }
}

/* ── Sky Chart: Atmosphere Haze ─────────────────────── */
.sp-sky-chart-container::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 60%, rgba(16,24,60,0.3) 80%, rgba(7,10,24,0.6) 95%);
  pointer-events: none; z-index: 1;
}

/* ── Best Pass: Animated Border Gradient ────────────── */
.sp-best::before {
  content: ''; position: absolute; inset: -1px; z-index: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,224,96,0.15) 0%, transparent 30%, transparent 70%, rgba(96,234,254,0.1) 100%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.sp-best:hover::before { opacity: 1; }

/* ── Best Pass: Scanning Line ──────────────────────── */
.sp-best::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,224,96,0.25), transparent);
  animation: sp-scan 6s linear infinite;
  pointer-events: none; z-index: 1;
}
@keyframes sp-scan {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ── Best Pass: z-index children above pseudos ─────── */
.sp-best-badge, .sp-best-name, .sp-best-meta,
.sp-best-score, .sp-best-arc-wrap, .sp-best-actions { position: relative; z-index: 2; }

/* ── Best Pass: Pulsing Score Badge ────────────────── */
.sp-best-score { animation: sp-score-glow 3s ease-in-out infinite; }
@keyframes sp-score-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(255,224,96,0.06); }
  50% { box-shadow: 0 0 24px rgba(255,224,96,0.12), 0 0 40px rgba(255,224,96,0.04); }
}

/* ── Daylight Bar: Twilight Gold Highlight ─────────── */
.sp-dl-astro { position: relative; }
.sp-dl-astro::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,224,96,0.12), rgba(255,224,96,0.04));
  pointer-events: none;
}

/* ── Daylight Bar: "You Are Here" Marker ───────────── */
.sp-dl-marker {
  position: absolute; top: -3px; width: 2px; height: 16px;
  background: #ffe060; border-radius: 1px; z-index: 2;
  box-shadow: 0 0 6px rgba(255,224,96,0.5);
}
.sp-dl-marker::before {
  content: ''; position: absolute; top: -4px; left: -3px;
  width: 8px; height: 8px; border-radius: 50%; background: #ffe060;
}

/* ── Pass Card: SVG Icon Containers ────────────────── */
.sp-card-icon svg { width: 22px; height: 22px; stroke: rgba(255,224,96,0.7); fill: none; }
.sp-card-iss .sp-card-icon svg { stroke: #ff6650; }
.sp-card-icon.icon-starlink { background: rgba(255,105,180,0.06); border-color: rgba(255,105,180,0.1); }
.sp-card-icon.icon-starlink svg { stroke: #ff69b4; }
.sp-card-icon.icon-rocket { background: rgba(96,234,254,0.04); border-color: rgba(96,234,254,0.06); }
.sp-card-icon.icon-rocket svg { stroke: rgba(96,234,254,0.7); }
.sp-card-icon.icon-sat svg { stroke: rgba(255,224,96,0.6); }

/* ── Pass Card: SVG Meta Icons ─────────────────────── */
.sp-mi { width: 13px; height: 13px; opacity: 0.5; flex-shrink: 0; vertical-align: middle; display: inline-block; }
.sp-mi svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.3; }

/* ── Pass Card: Quality Gradient Bar ───────────────── */
.sp-card-quality { height: 3px; border-radius: 2px; margin: 6px 0 2px; background: rgba(255,255,255,0.04); overflow: hidden; }
.sp-card-quality-fill { height: 100%; border-radius: 2px; transition: width 0.6s ease; }
.sp-quality-poor   { background: linear-gradient(90deg, #ff5050, #ff8040); }
.sp-quality-fair   { background: linear-gradient(90deg, #ff8040, #ffe060); }
.sp-quality-good   { background: linear-gradient(90deg, #ffe060, #60eafe); }
.sp-quality-great  { background: linear-gradient(90deg, #60eafe, #39ff14); }

/* ── Pass Card: Orbital Shell Tag ──────────────────── */
.sp-card-shell {
  display: inline-flex; align-items: center;
  font-size: 8px; font-weight: 700; letter-spacing: 0.8px;
  padding: 1px 6px; border-radius: 4px;
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.06);
  margin-left: 6px; vertical-align: middle; text-transform: uppercase;
}

/* ── Pass Card: Category Badges ────────────────────── */
.sp-card-pill.science-pill { background: rgba(96,234,254,0.08); color: #60eafe; border-color: rgba(96,234,254,0.2); }
.sp-card-pill.comms-pill { background: rgba(57,255,20,0.06); color: rgba(57,255,20,0.7); border-color: rgba(57,255,20,0.15); }

/* ── Starlink Train Icon: SVG container ────────────── */
.sp-train-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,105,180,0.08); border: 1px solid rgba(255,105,180,0.15);
}
.sp-train-icon svg { width: 22px; height: 22px; stroke: #ff69b4; fill: none; }

/* ── Card-shaped Skeleton ──────────────────────────── */
.sp-skel-card {
  display: flex; gap: 14px; padding: 16px 18px; margin-bottom: 10px;
  background: rgba(10,14,34,0.4); border: 1px solid rgba(255,255,255,0.03); border-radius: 14px;
}
.sp-skel-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, rgba(18,20,34,0.4) 25%, rgba(30,33,49,0.4) 50%, rgba(18,20,34,0.4) 75%);
  animation: sp-skel-shimmer 1.5s infinite;
}
.sp-skel-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.sp-skel-lines .sp-skel { height: 14px; border-radius: 6px; }

/* ── Live Orbital Stats Ticker ─────────────────────── */
.sp-ticker {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  padding: 14px 0; margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,224,96,0.05);
}
.sp-ticker-item { display: flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(255,255,255,0.56); }
.sp-ticker-val { font-family: 'Orbitron', monospace; font-weight: 700; font-size: 13px; color: #ffe060; }
.sp-ticker-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.42); }
.sp-ticker-dot { width: 6px; height: 6px; border-radius: 50%; background: #39ff14; animation: sp-dot-pulse 2s ease-in-out infinite; }

/* ── Countdown States ──────────────────────────────── */
.sp-countdown-now { animation: sp-now-blink 1s infinite; }
@keyframes sp-now-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.sp-countdown-soon { animation: sp-soon-pulse 1.5s ease-in-out infinite; }
@keyframes sp-soon-pulse {
  0%, 100% { text-shadow: 0 0 16px rgba(57,255,20,0.2); }
  50% { text-shadow: 0 0 24px rgba(57,255,20,0.4); }
}

/* ── Location Confirmed Flash ──────────────────────── */
.sp-loc-confirmed { animation: sp-loc-flash 1s ease-out; }
@keyframes sp-loc-flash { 0% { color: #39ff14; } 100% { color: rgba(255,255,255,0.48); } }

/* ── Card Highlight (scroll-to) ────────────────────── */
.sp-card-highlight { animation: sp-card-flash 2s ease-out; }
@keyframes sp-card-flash { 0% { box-shadow: 0 0 0 2px rgba(255,224,96,0.5); } 100% { box-shadow: 0 0 0 2px transparent; } }

/* ── Best Pass Meta SVG Icons ──────────────────────── */
.sp-meta-ico { width: 14px; height: 14px; opacity: 0.5; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.sp-meta-ico svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.2; }

/* ── Night Mode: New elements ──────────────────────── */
body.sp-night-mode .sp-ticker-val { color: #8B0000 !important; }
body.sp-night-mode .sp-ticker-dot { background: #8B0000 !important; }
body.sp-night-mode .sp-card-quality-fill { filter: saturate(0) brightness(0.5) !important; }
body.sp-night-mode .sp-card-icon svg { stroke: #8B0000 !important; }

/* ═══ RESPONSIVE ADDITIONS ═══════════════════════════════ */
@media (max-width: 768px) {
  .sp-weather-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-report-row { grid-template-columns: repeat(2, 1fr); }
  .sp-compare-inner { flex-direction: column; }
  .sp-compare-vs { transform: rotate(90deg); }
  .sp-embed-code-wrap { flex-direction: column; }
  .sp-passing-now-banner { flex-direction: column; text-align: center; }
  .sp-passing-track { margin-left: 0; }
  .sp-fab { bottom: 70px; right: 16px; padding: 10px 16px; }
  .sp-fab-label { display: none; } /* Icon only on mobile */
  .sp-darksky-inner { flex-direction: column; text-align: center; }
  .sp-conjunction { flex-direction: column; text-align: center; }
  .sp-ticker { gap: 12px; }
  
  /* Compare: full-width location boxes */
  .sp-compare-loc { min-width: 100%; }
  
  /* Darksky gauge: center below score */
  .sp-darksky-gauge { margin-left: auto; margin-right: auto; }
  
  /* Report actions: center and wrap */
  .sp-report-actions { justify-content: center; }
  
  /* Embed code: smaller font, full width copy button */
  .sp-embed-code { font-size: 10px; }
  .sp-embed-copy { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .sp-quick-cities { gap: 6px; }
  .sp-quick-city { padding: 5px 10px; font-size: 10px; }
  .sp-heatmap-grid { grid-template-columns: repeat(7, 1fr); }
  .sp-ticker { flex-direction: column; gap: 8px; align-items: flex-start; padding: 14px 20px; }
  
  /* Weather: single column on very narrow */
  .sp-weather-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sp-weather-val { font-size: 14px; }
  .sp-weather-verdict { font-size: 12px; padding: 8px; }
  
  /* Report: 2-column stays but smaller numbers */
  .sp-report-row { gap: 10px; }
  
  /* Heatmap cells: smaller text */
  .sp-hm-date { font-size: 10px; }
  .sp-hm-cell { border-radius: 4px; }
  
  /* Passing now banner: compact */
  .sp-passing-text { font-size: 12px; }
  .sp-passing-dir { font-size: 11px; }
  
  /* Sky chart legend: smaller */
  .sp-sky-legend { font-size: 10px; gap: 8px; }
  
  /* Empty state: tighter padding */
  .sp-empty { padding: 32px 16px; }
  .sp-empty-title { font-size: 14px; }
  .sp-empty-sub { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════
   PASS PREDICTIONS — LIGHT MODE OVERRIDES
   Applied via html.or-light-mode from shared theme toggle
   ═══════════════════════════════════════════════════════ */
html.or-light-mode .sp-hero h1 { color: #0e4a8a; }
html.or-light-mode .sp-hero-sub { color: rgba(10,14,34,0.55); }
html.or-light-mode .sp-hero-badge { background: rgba(26,111,212,0.08); border-color: rgba(26,111,212,0.2); color: #1a6fd4; }
html.or-light-mode .sp-ticker { background: rgba(255,255,255,0.5); border-color: rgba(0,0,0,0.06); }
html.or-light-mode .sp-ticker-val { color: #1a1e2e; }
html.or-light-mode .sp-ticker-label { color: rgba(10,14,34,0.4); }
html.or-light-mode .sp-loc-bar {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.08);
}
html.or-light-mode .sp-loc-input {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.1);
  color: #1a1e2e;
}
html.or-light-mode .sp-section-head h2 { color: #1a1e2e; }
html.or-light-mode .sp-card {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.06);
}
html.or-light-mode .sp-card:hover {
  border-color: rgba(26,111,212,0.2);
  background: rgba(255,255,255,0.9);
}
html.or-light-mode .sp-card-name { color: #1a1e2e; }
html.or-light-mode .sp-card-meta { color: rgba(10,14,34,0.5); }
html.or-light-mode .sp-card-countdown { color: rgba(10,14,34,0.4); }
html.or-light-mode .sp-best { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.08); }
html.or-light-mode .sp-best-name { color: #1a1e2e; }
html.or-light-mode .sp-best-meta-item { color: rgba(10,14,34,0.5); }
html.or-light-mode .sp-conditions-card {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.06);
}
html.or-light-mode .sp-conditions-label { color: rgba(10,14,34,0.5); }
html.or-light-mode .sp-conditions-val { color: #1a1e2e; }
html.or-light-mode .sp-sky-wrap {
  background: rgba(255,255,255,0.3);
  border-color: rgba(0,0,0,0.06);
}
html.or-light-mode .sp-filter-btn {
  background: rgba(255,255,255,0.5);
  border-color: rgba(0,0,0,0.06);
  color: rgba(10,14,34,0.5);
}
html.or-light-mode .sp-filter-btn.active {
  background: rgba(26,111,212,0.08);
  border-color: rgba(26,111,212,0.3);
  color: #1a6fd4;
}
html.or-light-mode .sp-article-toggle {
  background: rgba(255,255,255,0.5);
  border-color: rgba(0,0,0,0.06);
  color: rgba(10,14,34,0.65);
}
html.or-light-mode .sp-ar-cta {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.06);
}
html.or-light-mode .or-lib-faq-q {
  color: #1a1e2e;
  background: rgba(255,255,255,0.5);
  border-color: rgba(0,0,0,0.06);
}
html.or-light-mode .or-lib-faq-a {
  color: rgba(10,14,34,0.65);
  background: rgba(255,255,255,0.3);
}
html.or-light-mode .sp-audio-panel {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.08);
}

/* ── Tonight's Sky Score ────────────────────────────── */
.sp-sky-score {
  position: relative; padding: 28px; margin: 28px 0;
  background: rgba(14,16,30,0.7); border: 1px solid rgba(255,224,96,0.15);
  border-radius: 18px; text-align: center; overflow: hidden;
}
.sp-sky-score-glow {
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,224,96,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.sp-sky-score-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
  color: #ffe060; padding: 4px 14px;
  border: 1px solid rgba(255,224,96,0.2); border-radius: 20px;
  background: rgba(255,224,96,0.05); margin-bottom: 20px;
}
.sp-sky-score-ring {
  width: 120px; height: 120px; margin: 0 auto 16px;
}
.sp-sky-score-svg { width: 100%; height: 100%; }
.sp-sky-score-label {
  font-family: 'Orbitron', monospace; font-size: 16px; font-weight: 700;
  color: #ffe060; margin-bottom: 6px;
}
.sp-sky-score-detail {
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.sp-sky-score-factors { margin-bottom: 14px; }
.sp-sky-score-cta {
  font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 16px;
  max-width: 400px; margin-left: auto; margin-right: auto;
}
.sp-sky-score-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── I Spotted It! ──────────────────────────────────── */
.sp-spotted {
  padding: 24px; margin: 28px 0;
  background: rgba(14,16,30,0.5); border: 1px solid rgba(96,234,254,0.12);
  border-radius: 16px; text-align: center;
}
.sp-spotted-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
  color: #60eafe; padding: 4px 14px;
  border: 1px solid rgba(96,234,254,0.2); border-radius: 20px;
  background: rgba(96,234,254,0.05); margin-bottom: 12px;
}
.sp-spotted-desc {
  font-size: 12px; color: rgba(255,255,255,0.5); max-width: 500px;
  margin: 0 auto 16px; line-height: 1.6;
}
.sp-spotted-stats {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
}
.sp-spotted-stat { text-align: center; }
.sp-spotted-num {
  display: block; font-family: 'Orbitron', monospace; font-size: 28px;
  font-weight: 700; color: #60eafe; text-shadow: 0 0 16px rgba(96,234,254,0.3);
}
.sp-spotted-label {
  font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase;
  letter-spacing: 1px;
}
.sp-spotted-btn {
  font-size: 11px !important; padding: 4px 10px !important;
  border-color: rgba(96,234,254,0.2) !important; color: #60eafe !important;
}
.sp-spotted-btn:hover {
  background: rgba(96,234,254,0.1) !important;
  border-color: rgba(96,234,254,0.4) !important;
}

/* ── Light mode overrides for new sections ─────────── */
html.or-light-mode .sp-sky-score {
  background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.08);
}
html.or-light-mode .sp-spotted {
  background: rgba(255,255,255,0.7); border-color: rgba(0,0,0,0.06);
}
