body {
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(ellipse at 50% 20%, #161b22 0%, #080a0c 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: #aaa;
}

.site-name {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #f0f0f0;
}

.widget-card {
  max-width: 860px;
  margin: 0 auto;
}

.card-inner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1rem;
  padding: 1.5rem;
}

.widget-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7c9cbf;
}

.widget-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #e0e0e0;
  margin: 0;
}

.meta {
  font-size: 0.78rem;
  color: #666;
}

/* APOD */
.apod-media img {
  max-width: 100%;
  height: auto;
  border-radius: 0.6rem;
  display: block;
}

.apod-media iframe {
  width: 100%;
  height: 480px;
  border: 0;
  border-radius: 0.6rem;
  display: block;
}

.apod-explanation {
  font-size: 0.825rem;
  line-height: 1.7;
  color: #888;
  white-space: pre-line;
  margin: 0;
}

/* ISS */
#iss-map {
  height: 220px;
  border-radius: 0.6rem;
  overflow: hidden;
}

.iss-marker {
  width: 12px;
  height: 12px;
  background: #7c9cbf;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(124, 156, 191, 0.25), 0 0 14px 5px rgba(124, 156, 191, 0.35);
}

.live-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #7c9cbf;
  display: flex;
  align-items: center;
  gap: 5px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #7c9cbf;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* Leaflet attribution dark theme */
.leaflet-control-attribution {
  background: rgba(0, 0, 0, 0.55) !important;
  color: #555 !important;
  font-size: 0.6rem !important;
}

.leaflet-control-attribution a {
  color: #555 !important;
}
