/* AFTR — deep violet night, glass cards, magenta → violet glow */
:root {
  --font: "Heebo", system-ui, sans-serif;
  --font-display: "Heebo", system-ui, sans-serif;
  --font-num: "Heebo", system-ui, sans-serif;

  --bg: #0B0812;
  --surface: #15101F;
  --surface-2: #1A1427;
  --surface-3: #251D35;
  --line: rgba(255,255,255,.075);
  --line-2: rgba(255,255,255,.13);
  --text: #F7F3FF;
  --text-2: #A99FBE;
  --text-3: #6F6688;

  --accent: #FF2E93;
  --accent-2: #7B3BFF;
  --accent-soft: rgba(255,46,147,.14);
  --violet: #8B5CFF;
  --violet-soft: rgba(139,92,255,.16);
  --on-accent: #FFFFFF;
  --ink: #F7F3FF;
  --on-ink: #0B0812;
  --grad: linear-gradient(120deg, #FF2E93 0%, #B23BFF 55%, #7B3BFF 100%);

  --green: #3DDC97;  --green-soft: rgba(61,220,151,.12);
  --amber: #FFC857;  --amber-soft: rgba(255,200,87,.13);
  --red:   #FF5C7A;  --red-soft:   rgba(255,92,122,.14);
  --blue:  #7FA8FF;  --blue-soft:  rgba(127,168,255,.14);
  --orange:#FF2E93;  --orange-soft:rgba(255,46,147,.14);

  --shadow-sm: none;
  --shadow: 0 24px 50px -24px rgba(0,0,0,.7);
  --shadow-lg: 0 30px 80px -24px rgba(0,0,0,.8);
}

body {
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(123,59,255,.22), transparent 60%),
    radial-gradient(700px 520px at 5% 110%, rgba(255,46,147,.14), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
.brand { font-weight: 900; letter-spacing: -.04em; font-size: 26px; }
.brand-mark { background: var(--grad); color: #fff; border-radius: 12px; box-shadow: 0 8px 24px -6px rgba(255,46,147,.6); }
.nav a { color: var(--text-2); }
.nav a:hover { background: rgba(255,255,255,.05); }
.nav a.active { background: var(--ink); color: var(--on-ink); }
.nav a .count { background: var(--grad); color: #fff; }

/* Glass cards */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.028) 100%);
  border: 1px solid var(--line);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.card-grad {
  background: linear-gradient(125deg, rgba(255,46,147,.22) 0%, rgba(178,59,255,.16) 45%, rgba(123,59,255,.10) 100%);
  border: 1px solid rgba(255,46,147,.28);
}
.card-hot {
  background: radial-gradient(130% 130% at 100% 0%, #FF2E93 0%, #B23BFF 48%, #4A1FB8 100%);
  border-color: transparent; color: #fff;
  box-shadow: 0 30px 60px -30px rgba(255,46,147,.7);
}
.card-hot .muted, .card-hot .faint, .card-hot .label { color: rgba(255,255,255,.75) !important; }
.ring::before { background: #17111F; }
.card-hot .ring::before { background: #8a2fd0; }

.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(255,46,147,.65); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--text); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.chip { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--text-2); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.seg { background: rgba(255,255,255,.06); }
.seg span.on { background: rgba(255,255,255,.14); color: var(--text); box-shadow: none; }
.search, .icon-btn { background: rgba(255,255,255,.04); border-color: var(--line); box-shadow: none; }
.icon-btn .dot { background: var(--accent); border-color: var(--bg); }
.tag { background: rgba(255,255,255,.07); color: var(--text-2); }
.pill { background: rgba(255,255,255,.08); }
.pill.accent { background: var(--accent-soft); color: #FF6FB4; }
.pill.violet { background: var(--violet-soft); color: #B39BFF; }
.inl { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: var(--text); }
.hl { background: rgba(255,46,147,.22); color: #FF8CC6; }
.av-stack > * { border-color: #17111F; }
.av-more { background: var(--surface-3); color: var(--text-2); }
.online::after { border-color: #17111F; background: var(--green); }
.progress { background: rgba(255,255,255,.08); }
.progress > i { background: var(--grad); }
.input { background: rgba(255,255,255,.04); border-color: var(--line-2); }
.input.focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,46,147,.15); }
.toggle { background: rgba(255,255,255,.14); }
.toggle.on { background: var(--accent); }
.cb { border-color: var(--line-2); }
.cb.on { background: var(--accent); border-color: var(--accent); }
.table th { background: rgba(255,255,255,.03); }
.li { border-bottom-color: var(--line); }
.ico { background: rgba(255,255,255,.06); color: var(--text); }
.ico.accent { background: var(--accent-soft); color: var(--accent); }
.fav { background: rgba(11,8,18,.55); color: #fff; backdrop-filter: blur(10px); }
.pin-label { background: rgba(21,16,31,.92); color: var(--text); border: 1px solid var(--line-2); }
.map { background: #0f0c16; }
.map-attrib { color: rgba(255,255,255,.3); }
.step b { background: rgba(255,255,255,.08); }
.step.cur b { background: var(--grad); color: #fff; }
.step.done b { background: var(--green); color: #0B0812; }
.step-line { background: rgba(255,255,255,.12); }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.live { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 8px; background: #FF2E5E; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.glow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 2px rgba(255,46,147,.8); display: inline-block; }

/* Dot orb (Taster dark component) */
.orb { position: relative; width: 150px; height: 150px; border-radius: 50%; flex: none; }
.orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,120,200,.95) 1.3px, transparent 1.7px) 0 0 / 8px 8px;
  -webkit-mask: radial-gradient(circle, #000 0%, rgba(0,0,0,.85) 28%, rgba(0,0,0,.25) 55%, transparent 70%);
          mask: radial-gradient(circle, #000 0%, rgba(0,0,0,.85) 28%, rgba(0,0,0,.25) 55%, transparent 70%); }
.orb::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(255,46,147,.55), rgba(123,59,255,.25) 55%, transparent 72%); filter: blur(10px); }
.orb > * { position: relative; z-index: 2; }

/* Heat map blobs */
.heat { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255,60,150,.75) 0%, rgba(255,46,147,.42) 22%, rgba(150,60,255,.28) 45%, rgba(123,59,255,0) 70%); }
.heat.mid { background: radial-gradient(circle, rgba(190,80,255,.6) 0%, rgba(140,70,255,.3) 35%, rgba(123,59,255,0) 70%); }
.heat.low { background: radial-gradient(circle, rgba(120,110,255,.45) 0%, rgba(100,90,255,.18) 40%, rgba(100,90,255,0) 70%); }

/* Crowd meter */
.crowd { display: inline-flex; gap: 3px; direction: ltr; align-items: flex-end; }
.crowd i { width: 4px; border-radius: 2px; background: rgba(255,255,255,.18); }
.crowd i:nth-child(1) { height: 6px; } .crowd i:nth-child(2) { height: 9px; } .crowd i:nth-child(3) { height: 12px; } .crowd i:nth-child(4) { height: 15px; } .crowd i:nth-child(5) { height: 18px; }
.crowd i.on { background: var(--accent); }

.m-head { display: none; }
.back-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.stepper span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); }
.stepper span svg { width: 15px; height: 15px; }
.stepper b { min-width: 26px; text-align: center; font-size: 15px; }

/* Sidebar foot card */
.city-card { padding: 16px; border-radius: 22px; display: flex; align-items: center; gap: 12px; overflow: visible; }
.city-card .orb { width: 64px; height: 64px; }
.city-card .orb::before { background-size: 6px 6px; }

@media (max-width: 760px) {
  body { background-attachment: scroll; }
  .m-head { display: flex; align-items: center; gap: 12px; margin: 6px 0 16px; }
  .m-head .grow { flex: 1; min-width: 0; }
  .m-head h1 { font-size: 23px; font-weight: 900; letter-spacing: -.03em; line-height: 1.15; }
  .m-head p { font-size: 13px; color: var(--text-2); margin-top: 2px; }
  .tabbar { background: rgba(11,8,18,.82); border-top-color: var(--line); }
  .tabbar a.active { color: var(--text); }
  .tabbar a.active svg { color: var(--accent); }
  .tabbar a.fab span.fab-btn { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -6px rgba(255,46,147,.7); }
  .home-ind { background: #fff; }
  .m-bar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; padding: 14px 16px 34px; display: flex; align-items: center; gap: 12px;
    background: rgba(11,8,18,.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid var(--line); }
}
@media (min-width: 761px) { .m-bar { display: none; } }
