/* PAWLY — creamy, playful, coral + mint + butter + lilac */
:root {
  --font: "Heebo", system-ui, sans-serif;
  --font-display: "Fredoka", "Heebo", system-ui, sans-serif;
  --font-num: "Fredoka", "Heebo", system-ui, sans-serif;

  --bg: #FFF8F1;
  --surface: #FFFFFF;
  --surface-2: #FFFBF7;
  --surface-3: #F8EFE5;
  --line: #F2E7DB;
  --line-2: #E8DACB;
  --text: #1F1A17;
  --text-2: #6E655D;
  --text-3: #A89C90;

  --accent: #FF7A59;
  --accent-2: #FF9F85;
  --accent-soft: #FFEAE3;
  --on-accent: #FFFFFF;
  --ink: #1F1A17;
  --on-ink: #FFFFFF;

  --mint: #2FB37F;   --mint-bg: #7ED6B2;  --mint-soft: #E1F6EC;
  --butter: #B98500; --butter-bg: #FFD66B; --butter-soft: #FFF4D2;
  --lilac: #7C64F2;  --lilac-bg: #B9A7FF; --lilac-soft: #EFEAFF;

  --green: #22A06B;  --green-soft: #E1F6EC;
  --amber: #B98500;  --amber-soft: #FFF4D2;
  --red:   #E5484D;  --red-soft:   #FFE7E6;
  --blue:  #4F7DF3;  --blue-soft:  #E8EEFF;
  --orange:#FF7A59;  --orange-soft:#FFEAE3;

  --r-xl: 36px;
  --r-lg: 30px;
  --r: 22px;
  --r-sm: 16px;
  --shadow-sm: 0 1px 2px rgba(110,70,30,.04);
  --shadow: 0 1px 2px rgba(110,70,30,.04), 0 16px 36px -18px rgba(140,80,30,.18);
  --shadow-lg: 0 2px 6px rgba(110,70,30,.05), 0 28px 60px -24px rgba(140,80,30,.30);
}
body { background: var(--bg); }

/* Brand */
.brand { font-family: var(--font-display); font-weight: 700; font-size: 27px; letter-spacing: -.01em; gap: 9px; }
.brand-mark { background: var(--accent); color: #fff; border-radius: 13px; transform: rotate(-8deg); }
.brand b { color: var(--accent); font-weight: 700; }

.nav a { font-weight: 500; }
.nav a.active { background: var(--ink); color: #fff; }
.nav a .count { background: var(--accent); }
.nav a .count.live { background: var(--red); font-size: 11px; padding: 0 8px; }

.card { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.card-grad { background: linear-gradient(118deg, #FFE6DB 0%, #FFF2E4 46%, #E3F6EC 100%); border-color: transparent; }
.card-title { font-weight: 600; font-size: 18px; }
.section-title { font-weight: 600; }
.topbar .title { font-weight: 600; font-size: 32px; letter-spacing: -.01em; }
.hl { background: var(--butter-bg); color: #3a2a00; border-radius: 9px; }
.inl { background: rgba(255,255,255,.85); }
.btn { font-weight: 600; }
.btn-accent { box-shadow: 0 8px 20px -8px rgba(255,122,89,.65); }
.chip.on { background: var(--ink); border-color: var(--ink); }
.pill.mint { background: var(--mint-soft); color: var(--mint); }
.pill.butter { background: var(--butter-soft); color: var(--butter); }
.pill.lilac { background: var(--lilac-soft); color: var(--lilac); }
.ring::before { background: var(--surface); }

/* Pawly bits */
.dav { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-3); }
.dav.sm { width: 30px; height: 30px; }
.dav.lg { width: 60px; height: 60px; }
.dav.ring-c { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent); }
.ico.mint { background: var(--mint-soft); color: var(--mint); }
.ico.butter { background: var(--butter-soft); color: var(--butter); }
.ico.lilac { background: var(--lilac-soft); color: var(--lilac); }
.ico.coral { background: var(--accent-soft); color: var(--accent); }
.ico.red { background: var(--red-soft); color: var(--red); }
.ico.blue { background: var(--blue-soft); color: var(--blue); }
.t { }
.tagc { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.tagc.mint { background: var(--mint-soft); color: #18875E; }
.tagc.butter { background: var(--butter-soft); color: #8A6400; }
.tagc.lilac { background: var(--lilac-soft); color: #5B45D6; }
.tagc.coral { background: var(--accent-soft); color: #D9532F; }
.tagc svg { width: 14px; height: 14px; }
.energy { display: inline-flex; gap: 3px; direction: ltr; }
.energy i { width: 12px; height: 7px; border-radius: 4px; background: var(--surface-3); }
.energy i.on { background: var(--accent); }
.meter { height: 10px; border-radius: 999px; background: var(--surface-3); position: relative; overflow: hidden; }
.meter > i { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: inherit; background: var(--accent); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(229,72,77,.18); display: inline-block; flex: none; }
.stars { color: #F5A524; display: inline-flex; align-items: center; gap: 3px; font-weight: 700; font-size: 13px; }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
.paw-bg { background-image: radial-gradient(circle at 1px 1px, rgba(255,122,89,.10) 1.5px, transparent 0); background-size: 18px 18px; }

/* Mobile header */
.m-head { align-items: center; gap: 12px; margin: 6px 0 16px; }
.m-head .grow { flex: 1; min-width: 0; }
.m-head h1 { font-family: var(--font-display); font-size: 23px; font-weight: 600; letter-spacing: -.01em; }
.m-head p { font-size: 13px; color: var(--text-2); margin-top: 1px; }
.back { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); flex: none; }

@media (max-width: 760px) {
  .grid:not(.m-g-2):not(.m-keep) { grid-template-columns: minmax(0,1fr) !important; }
  .grid > * { grid-column: auto !important; }
  .m-head.m-only { display: flex; }
  .card { border-radius: 26px; }
  .topbar .title { font-size: 26px; }
  .tabbar { background: rgba(255,251,247,.9); }
  .tabbar a.active { color: var(--accent); }
}

/* Map tint — warm, quiet streets so pins pop */
.map { background: #F3EEE6; }
.map .tiles { filter: saturate(.32) sepia(.16) brightness(1.05) contrast(.94); }
.map[data-esri="gray"] .tiles { filter: sepia(.22) saturate(1.3) brightness(1.02); }
