:root {
  --bg: #0b0e11;
  --panel: #12171c;
  --line: #232b32;
  --text: #e9edf1;
  --text-muted: #7c8791;
  --amber: #e8a24c;
  --cyan: #5fd3c4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hub {
  width: min(92vw, 900px);
  padding: 48px 56px;
}

.hub-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}

.hub-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--text-muted);
}

.hub-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hub-main {
  display: flex;
  align-items: center;
}

.ring-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  margin-right: 64px;
}

.ring { width: 100%; height: 100%; transform: rotate(-90deg); }

.ring-track {
  fill: none;
  stroke: var(--line);
  stroke-width: 6;
}

.ring-progress {
  fill: none;
  stroke: var(--amber);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 553;
  stroke-dashoffset: 553;
  filter: drop-shadow(0 0 6px rgba(232, 162, 76, 0.55));
  transition: stroke-dashoffset 1s linear;
}

.ring-center {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.clock {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 40px;
  letter-spacing: 0.02em;
}

.ampm {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.2em;
  margin-top: 4px;
}

.readout { flex: 1; }

.temp {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
}

.condition {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 8px;
}

.hilo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 14px;
}

.hilo .dot { margin: 0 8px; color: var(--line); }

.commute-bar {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
}

.commute-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-right: 16px;
}

.commute-text {
  font-size: 15px;
  color: var(--text);
}

.map-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.map-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.map-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.map-box {
  width: 100%;
  height: 220px;
  border-radius: 6px;
  overflow: hidden;
  background: #0b0e11;
}

.leaflet-control-attribution {
  background: rgba(11, 14, 17, 0.75) !important;
  color: var(--text-muted) !important;
  font-size: 9px !important;
}

.leaflet-control-attribution a {
  color: var(--cyan) !important;
}

@media (max-width: 640px) {
  .hub-main { flex-direction: column; text-align: center; gap: 32px; }
  .temp { font-size: 56px; }
  .map-grid { grid-template-columns: 1fr; }
}
