/* Storm Ridge — the app's palette, so a shared link feels like Toklat. */
:root {
  --primary:   #4A535C;
  --secondary: #5E8C6A;
  --bg:        #ECEEF0;
  --card:      #FFFFFF;
  --border:    #DDE0DB;
  --text:      #1A1E1B;
  --text-2:    #5A6259;
  --text-3:    #8A9488;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary:   #2E353C;
    --secondary: #6BA882;
    --bg:        #141714;
    --card:      #1E221F;
    --border:    #2A302B;
    --text:      #E4E8E2;
    --text-2:    #96A494;
    --text-3:    #637060;
  }
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 64px; }

/* ── Hero ── */
.hero {
  background: var(--primary);
  color: #fff;
  padding: 48px 16px 28px;
  margin-bottom: 24px;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero h1 { font-size: clamp(26px, 5vw, 36px); font-weight: 700; line-height: 1.15; text-wrap: balance; }
.hero .loc { color: rgba(255,255,255,.72); font-size: 15px; margin-top: 4px; }
.hero .dates { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 8px; }

.stats { display: flex; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.stat .n { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.6); }

/* ── Sections ── */
h2 {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-3);
  margin: 28px 0 10px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.day {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.day:last-child { border-bottom: none; }
.day .num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg); color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.day .body { flex: 1; min-width: 0; }
.day .site { font-size: 15px; font-weight: 600; }
.day .meta { font-size: 13px; color: var(--text-2); margin-top: 2px; font-variant-numeric: tabular-nums; }
.day .coord { font-size: 12px; color: var(--text-3); margin-top: 2px; font-variant-numeric: tabular-nums; }

/* ── Pack list ── */
.pack-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.pack-row:last-child { border-bottom: none; }
.pack-row .w { color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pack-total {
  display: flex; justify-content: space-between;
  padding: 12px 16px; background: var(--bg);
  font-size: 14px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ── Map ── */
#map { width: 100%; height: 340px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }

/* ── Footer / misc ── */
.foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-3); text-align: center; }
.foot a { color: var(--secondary); text-decoration: none; }

.note { font-size: 12px; color: var(--text-3); margin-top: 10px; text-align: center; }

.empty { text-align: center; padding: 80px 24px; }
.empty h1 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--text-2); font-size: 15px; max-width: 34ch; margin: 0 auto; }
