/* Glimpse — skin: nova (deep-space, glassy, electric). Swap via SKINS in app.js. */
:root {
  --bg: #04070f;
  --bg2: #0a1122;
  --card: rgba(13, 21, 40, 0.6);
  --card-solid: #0d1528;
  --line: rgba(96, 200, 255, 0.14);
  --line-strong: rgba(96, 200, 255, 0.38);
  --ink: #e8f1ff;
  --dim: #8fa3c8;
  --acc: #3ee6ff;
  --acc2: #8b5cf6;
  --glow: rgba(62, 230, 255, 0.35);
  --danger: #ff6b8a;
  --radius: 18px;
  --display: "Space Grotesk", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
/* aurora backdrop */
body::before {
  content: ""; position: fixed; inset: -30%;
  background:
    radial-gradient(38% 32% at 22% 18%, rgba(62, 230, 255, 0.16), transparent 70%),
    radial-gradient(34% 30% at 78% 30%, rgba(139, 92, 246, 0.14), transparent 70%),
    radial-gradient(30% 26% at 55% 85%, rgba(62, 230, 255, 0.08), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
  pointer-events: none; z-index: 0;
}
@keyframes drift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
.hidden { display: none !important; }

.app { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }

/* auth */
.view { flex: 1; }
.auth-view { display: flex; flex-direction: column; justify-content: center; padding: 32px 20px; gap: 28px; }
.landing-discover { display: flex; justify-content: center; }
.landing-discover .dc-chips { justify-content: center; }
.brand { text-align: center; }
.brand-mark {
  font-size: 52px; color: var(--acc);
  text-shadow: 0 0 22px var(--glow), 0 0 60px rgba(62, 230, 255, 0.25);
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.85; } 50% { opacity: 1; } }
.brand h1 {
  font-family: var(--display); font-size: 34px; letter-spacing: 6px; font-weight: 600; margin-top: 4px;
  background: linear-gradient(100deg, var(--acc), var(--acc2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(62, 230, 255, 0.25));
}
.tagline { color: var(--dim); margin-top: 8px; font-size: 14px; letter-spacing: 0.4px; }
.brand.small { display: flex; align-items: center; gap: 8px; }
.brand.small .brand-mark { font-size: 20px; text-shadow: 0 0 12px var(--glow); animation: none; }
.brand.small span:last-child {
  font-family: var(--display); letter-spacing: 3px; font-size: 16px; font-weight: 600;
  background: linear-gradient(100deg, var(--acc), var(--acc2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.card {
  background: var(--card);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 36px rgba(0, 0, 0, 0.45);
}
.auth-card { max-width: 360px; margin: 0 auto; width: 100%; }
.tabs-mini { display: flex; gap: 8px; margin-bottom: 14px; background: rgba(10, 17, 34, 0.7); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.tab-mini { flex: 1; padding: 8px; background: none; border: none; color: var(--dim); border-radius: 9px; font-size: 13px; cursor: pointer; transition: all 0.2s; }
.tab-mini.active { color: #04070f; background: linear-gradient(100deg, var(--acc), var(--acc2)); font-weight: 700; box-shadow: 0 0 16px var(--glow); }
.auth-form { display: flex; flex-direction: column; gap: 10px; }
input {
  background: rgba(8, 14, 28, 0.85); border: 1px solid var(--line); color: var(--ink);
  padding: 12px 14px; border-radius: 12px; font-size: 15px; width: 100%; transition: border 0.2s, box-shadow 0.2s;
}
input:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(62, 230, 255, 0.12); }
.btn {
  background: rgba(10, 17, 34, 0.8); border: 1px solid var(--line); color: var(--ink);
  padding: 12px 14px; border-radius: 12px; font-size: 15px; cursor: pointer; transition: all 0.18s;
}
.btn:active { transform: scale(0.97); }
.btn.primary {
  background: linear-gradient(100deg, var(--acc), var(--acc2)); border: none;
  color: #04070f; font-weight: 800; letter-spacing: 0.3px;
  box-shadow: 0 4px 22px rgba(62, 230, 255, 0.3);
}
.btn.ghost { background: none; }
.btn.danger { color: var(--danger); border-color: rgba(255, 107, 138, 0.4); }
.info-lines { font-size: 13px; line-height: 1.65; color: var(--ink); opacity: 0.85; padding: 2px 2px 12px; }
.btn.tiny { padding: 6px 12px; font-size: 12px; border-radius: 9px; }
.btn:disabled { opacity: 0.45; }
.err { color: var(--danger); font-size: 13px; margin-top: 10px; text-align: center; }
.legal-check { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--dim); line-height: 1.5; cursor: pointer; }
.legal-check input { width: 16px; height: 16px; flex: none; margin-top: 1px; accent-color: var(--acc); cursor: pointer; }
.legal-check a { color: var(--acc); text-decoration: none; }
.legal-check a:hover { text-decoration: underline; }
.beta-btn { display: block; margin: 12px auto 0; color: var(--dim); }
.beta-btn:hover { color: var(--acc); border-color: var(--acc); }
.beta-pop .vi-desc { white-space: pre-line; }
.beta-pop .vi-row { align-items: flex-start; }

/* main */
.topbar { display: flex; justify-content: space-between; align-items: center; padding: calc(14px + env(safe-area-inset-top)) 16px 8px; position: relative; }
.brand.small { cursor: pointer; }
.brand-menu { position: absolute; top: calc(40px + env(safe-area-inset-top)); left: 10px; z-index: 30; background: var(--card-solid); border: 1px solid var(--line-strong); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; gap: 2px; min-width: 180px; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.brand-menu button { background: none; border: none; color: var(--ink); font-size: 13px; text-align: left; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.brand-menu button:hover { background: rgba(62,230,255,.08); color: var(--acc); }
.tb-actions { display: flex; gap: 6px; }
.content { flex: 1; overflow-y: auto; padding: 8px 14px 96px; }
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 640px;
  display: flex; justify-content: space-around;
  background: rgba(6, 10, 20, 0.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line); padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  z-index: 40;
}
.tab { background: none; border: none; color: var(--dim); font-size: 13px; padding: 6px 16px; border-radius: 10px; cursor: pointer; transition: all 0.2s; letter-spacing: 0.5px; }
.tab.active { color: var(--acc); text-shadow: 0 0 12px var(--glow); }
.tab.post-tab { font-size: 24px; line-height: 1; color: var(--acc); }

/* feed */
.post {
  background: var(--card); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 16px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 36px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.post:hover { border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(62, 230, 255, 0.12), 0 12px 44px rgba(0, 0, 0, 0.5); }
.post-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(62, 230, 255, 0.18), rgba(139, 92, 246, 0.18));
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--acc);
  overflow: hidden; flex-shrink: 0;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 56px; height: 56px; font-size: 22px; }
.avatar.sm { width: 34px; height: 34px; font-size: 13px; }

/* dms */
.dm-badge {
  background: linear-gradient(100deg, var(--acc), var(--acc2)); color: #04070f;
  font-size: 11px; font-weight: 800; border-radius: 999px;
  padding: 1px 7px; margin-left: 6px; vertical-align: super;
}
.dm-row {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: none; border-bottom: 1px solid var(--line);
  padding: 11px 4px; color: var(--ink); cursor: pointer; text-align: left; font-family: inherit;
}
.dm-row:hover { background: rgba(62, 230, 255, 0.07); }
.dm-main { flex: 1; min-width: 0; }
.dm-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.dm-time { font-size: 11px; opacity: 0.55; }
.dm-prev { font-size: 12px; opacity: 0.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.dm-search-row { margin-bottom: 10px; }
.dm-search-row input { width: 100%; box-sizing: border-box; }
.dm-head-name { display: flex; flex-direction: column; line-height: 1.2; }
.dm-head-sub { font-size: 11px; opacity: 0.55; }
.dm-chat { display: flex; flex-direction: column; height: calc(100vh - 190px); height: calc(100dvh - 190px); min-height: 320px; }
.dm-chat-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dm-msgs { flex: 1; overflow-y: auto; padding: 12px 2px; display: flex; flex-direction: column; gap: 6px; }
.dm-bubble {
  align-self: flex-start; max-width: 78%;
  background: rgba(20, 30, 52, 0.9); border: 1px solid var(--line);
  padding: 8px 11px; border-radius: 14px 14px 14px 4px; font-size: 14px; line-height: 1.4; white-space: pre-wrap; word-break: break-word;
}
.dm-bubble.mine {
  align-self: flex-end; background: linear-gradient(100deg, var(--acc), var(--acc2));
  border: none; color: #04070f; border-radius: 14px 14px 4px 14px;
}
.dm-btime { display: block; font-size: 10px; opacity: 0.6; margin-top: 3px; text-align: right; }
.dm-send { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.dm-send input { flex: 1; }

/* moderation */
.cmt-flag { padding: 2px 6px; font-size: 12px; margin-left: 6px; }
.prof-acts { display: flex; gap: 8px; margin-top: 10px; }
.mod-row { border-bottom: 1px solid var(--line); padding: 10px 2px; }
.mod-what { font-weight: 700; font-size: 13px; }
.mod-meta { font-size: 12px; opacity: 0.7; margin: 3px 0 6px; }
.mod-acts { display: flex; gap: 8px; }
.mod-stats { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.mod-stat { flex: 1; min-width: 70px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px; text-align: center; }
.mod-stat b { display: block; font-size: 18px; }
.mod-stat span { font-size: 10px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.04em; }
.mod-tabs { display: flex; gap: 6px; margin: 8px 0; }
.mod-sorts { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 10px; }
.sort-chip { font-size: 11px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; opacity: 0.65; }
.sort-chip.on { background: var(--accent); color: var(--card); opacity: 1; }
.mod-x { background: var(--danger, #e5484d); color: #fff; border-radius: 999px; padding: 0 6px; font-size: 10px; }
.mod-preview { font-size: 12px; opacity: 0.85; background: var(--bg); border-radius: 8px; padding: 6px 8px; margin: 4px 0 6px; }
.mod-acts.wrap { flex-wrap: wrap; margin-top: 8px; }
.tiny-in { font-size: 12px; padding: 2px 4px; border-radius: 6px; border: 1px solid var(--line); background: var(--card); color: inherit; }
.avatar-row { display: flex; align-items: center; gap: 12px; }
.avatar-controls { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.avatar-controls .btn { align-self: flex-start; }
.post-who { font-weight: 600; font-size: 14px; }
.post-handle { color: var(--dim); font-size: 12px; }
.post-when { margin-left: auto; color: var(--dim); font-size: 12px; }
.rel-badge { display: inline-block; margin-left: 6px; font-size: 10px; color: #7dd3fc; background: #0d2a45; border: 1px solid #1e5a8f; border-radius: 999px; padding: 1px 7px; vertical-align: 1px; }

/* dots menu (report / delete / pin / save) */
.dots-wrap { position: relative; margin-left: 8px; }
.dots {
  background: none; border: none; color: var(--dim); font-size: 20px; line-height: 1;
  padding: 2px 6px; cursor: pointer; border-radius: 8px;
}
.dots:hover { color: var(--acc); background: rgba(62, 230, 255, 0.08); }
.dots-menu {
  position: absolute; right: 0; top: 26px; z-index: 50;
  background: var(--card-solid); border: 1px solid var(--line-strong); border-radius: 12px;
  min-width: 168px; padding: 5px; display: none; flex-direction: column; gap: 1px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
.dots-menu.open { display: flex; }
.mi {
  background: none; border: none; color: var(--ink); text-align: left;
  padding: 9px 10px; border-radius: 9px; cursor: pointer; font-size: 13px; font-family: inherit;
}
.mi:hover { background: rgba(62, 230, 255, 0.12); }
.mi.danger { color: var(--danger); }
.mi.danger:hover { background: rgba(255, 107, 138, 0.12); }
.pin-badge { font-size: 11px; margin-left: 5px; filter: drop-shadow(0 0 6px var(--glow)); }
.lock-badge { font-size: 11px; margin-left: 5px; opacity: .85; }

/* image guard: blocks right-click save, drag, long-press menu on post photos */
.img-guard { position: relative; cursor: pointer; }
.img-guard img {
  pointer-events: none; user-select: none; -webkit-user-select: none;
  -webkit-user-drag: none; -webkit-touch-callout: none;
}
.img-guard::after { content: ''; position: absolute; inset: 0; }

/* transcripts (optional, on voice captions + voice comments) */
.tt-toggle {
  background: none; border: 1px solid var(--line-strong); color: var(--dim);
  border-radius: 9px; padding: 4px 9px; font-size: 11px; cursor: pointer; margin-top: 7px;
  transition: all 0.15s; font-family: inherit;
}
.tt-toggle:hover { border-color: var(--acc); color: var(--acc); }
.tt-toggle.on { border-color: var(--acc); color: var(--acc); box-shadow: 0 0 10px rgba(62, 230, 255, 0.15); }
.tt-toggle:disabled { opacity: 0.4; cursor: not-allowed; }
.tt { color: var(--dim); font-size: 12.5px; line-height: 1.55; margin-top: 6px; font-style: italic; }
.cmt .tt-toggle { margin-top: 4px; }
.cap-row .tt-toggle { margin-top: 0; font-size: 13px; }
.cmt-form .tt-toggle { margin-top: 0; white-space: nowrap; }
.add-voice-row { display: flex; align-items: center; gap: 10px; margin: 10px 14px 2px; font-size: 13px; color: var(--dim); }
.add-voice-row .mic-btn { flex-shrink: 0; }
.rec-chip { font-size: 12px; color: var(--acc); }
.post-img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; background: var(--bg2); }
.post-body { padding: 10px 14px 14px; }
.caption { font-size: 15px; line-height: 1.45; white-space: pre-wrap; }
.voice { width: 100%; margin-top: 8px; height: 40px; border-radius: 10px; }
.place { color: var(--dim); font-size: 13px; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.place::before { content: "◉ "; color: var(--acc); text-shadow: 0 0 8px var(--glow); }

/* vibe bar — the heart */
.vibebar { display: flex; gap: 8px; margin-top: 12px; }
.vibe-btn {
  flex: 1; background: rgba(8, 14, 28, 0.7); border: 1px solid var(--line); border-radius: 12px;
  font-size: 22px; padding: 8px 0; cursor: pointer; transition: all 0.15s;
}
.vibe-btn.on {
  background: rgba(62, 230, 255, 0.14); border-color: var(--acc);
  box-shadow: 0 0 16px var(--glow); transform: translateY(-2px);
}
.aura { display: flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 20px; flex-wrap: wrap; }
.aura .lbl { color: var(--dim); font-size: 12px; }
.aura .chip { font-size: 18px; animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 0%,100% { opacity: 0.7; } 50% { opacity: 1; text-shadow: 0 0 12px var(--glow); } }

/* vibe info button + popup */
.vibe-info {
  flex: 0 0 auto; width: 34px; background: rgba(8, 14, 28, 0.7); border: 1px solid var(--line);
  border-radius: 12px; color: var(--dim); font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all 0.15s;
}
.vibe-info:hover { color: var(--acc); border-color: var(--acc); box-shadow: 0 0 12px var(--glow); }
.vibe-pop {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  background: rgba(2, 5, 12, 0.72); backdrop-filter: blur(6px); padding: 20px;
}
.vibe-pop .vibe-info-pop {
  width: 100%; max-width: 360px; background: var(--card-solid); border: 1px solid var(--line-strong);
  border-radius: 18px; padding: 20px; box-shadow: 0 0 40px rgba(62, 230, 255, 0.12);
  animation: popin 0.18s ease-out;
}
@keyframes popin { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.vi-head { margin-bottom: 14px; }
.vi-title { font-size: 18px; font-weight: 700; color: var(--ink); }
.vi-sub { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; }
.vi-row { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); }
.vi-emoji { font-size: 22px; line-height: 1.2; }
.vi-name { font-size: 14px; font-weight: 600; color: var(--acc); }
.vi-desc { font-size: 13px; color: var(--dim); margin-top: 1px; }
.vi-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; line-height: 1.5; }

.comments { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.cmt { display: flex; flex-direction: column; gap: 2px; font-size: 13px; margin-bottom: 10px; }
.cmt .who { color: var(--acc); font-weight: 600; font-size: 12px; }
.cmt .cmt-audio { width: 100%; height: 36px; border-radius: 9px; margin-top: 3px; }
.cmt-reply { margin-left: 16px; }
.rep-to { font-size: 11px; color: var(--dim); }
.cmt-actions { display: flex; gap: 2px; margin-top: 4px; align-self: flex-end; }
.cmt-actions .dots-wrap { margin-left: 0; }
.rep-chip { width: 100%; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--acc); padding-bottom: 2px; }
.cmt-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
.cmt-form input { padding: 9px 12px; font-size: 13px; flex: 1; }
.cmt-form .btn { padding: 9px 14px; font-size: 13px; }
.mic-btn {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(8, 14, 28, 0.8); border: 1px solid var(--line); color: var(--acc);
  font-size: 16px; cursor: pointer; transition: all 0.18s;
}
.mic-btn.busy { background: rgba(255, 107, 138, 0.15); border-color: var(--danger); color: var(--danger); box-shadow: 0 0 14px rgba(255, 107, 138, 0.3); animation: breathe 1.2s ease-in-out infinite; }
.mic-btn.busy2 { background: rgba(62, 230, 255, 0.12); border-color: var(--acc); box-shadow: 0 0 14px var(--glow); }
.rec-chip {
  font-size: 12px; color: var(--acc); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 4px 12px; background: rgba(62, 230, 255, 0.08); cursor: pointer; white-space: nowrap;
}
.toggle-cmt { background: none; border: none; color: var(--dim); font-size: 12px; margin-top: 8px; cursor: pointer; text-decoration: underline; }

/* composer */
.compose-note { font-size: 12px; color: var(--dim); text-align: center; }
.composer .card { display: flex; flex-direction: column; gap: 12px; }
.pick {
  background: rgba(8, 14, 28, 0.7); border: 1px dashed var(--line-strong); border-radius: 14px;
  padding: 28px; text-align: center; color: var(--dim); cursor: pointer; transition: all 0.2s;
}
.pick:hover { border-color: var(--acc); box-shadow: inset 0 0 30px rgba(62, 230, 255, 0.05); }
.pick img { max-width: 100%; border-radius: 12px; display: block; }
.cap-row { display: flex; gap: 8px; align-items: stretch; }
.cap-row textarea { flex: 1; }
textarea {
  background: rgba(8, 14, 28, 0.85); border: 1px solid var(--line); color: var(--ink);
  border-radius: 12px; padding: 12px; font-size: 15px; resize: none; font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
}
textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(62, 230, 255, 0.12); }
.row2 { display: flex; gap: 8px; }
.row2 input { flex: 1; }
.loc-line { font-size: 12px; color: var(--dim); cursor: pointer; }
.pin-map-wrap { margin: 8px 0 4px; }
.pin-map { height: 220px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; z-index: 1; }
.pin-map-hint { font-size: 11px; color: var(--dim); padding: 6px 2px 0; }

/* map */
.map { height: calc(100vh - 190px); height: calc(100dvh - 190px); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4); z-index: 1; }
.map-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 2px 4px; }
.map-note { color: var(--dim); font-size: 12px; }
.leaflet-container { background: #050a16; font-family: inherit; }
.pin {
  background: transparent; border: none;
  filter: drop-shadow(0 0 8px rgba(62, 230, 255, 0.6));
}
.pin img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--acc); box-shadow: 0 0 12px rgba(62, 230, 255, 0.5); }
.leaflet-popup-content-wrapper { background: var(--card-solid); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 10px 36px rgba(0,0,0,0.5); }
.leaflet-popup-tip { background: var(--card-solid); border: 1px solid var(--line-strong); }
.pop-card img { width: 100%; max-width: 220px; border-radius: 10px; display: block; }
.pop-card .pc-cap { font-size: 13px; margin-top: 6px; }
.pop-card .pc-who { color: var(--dim); font-size: 12px; margin-top: 2px; }
.pop-card .btn { margin-top: 8px; width: 100%; }

/* sheet (post detail) */
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(2, 5, 12, 0.66);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 60;
}
.sheet {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%) translateY(105%);
  width: 100%; max-width: 640px; max-height: 88dvh; overflow-y: auto;
  background: rgba(8, 13, 26, 0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-strong); border-top-left-radius: 22px; border-top-right-radius: 22px;
  z-index: 70; transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
  box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.6);
}
.sheet.open { transform: translateX(-50%) translateY(0); }
.sheet-grab { width: 44px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 10px auto 4px; }
.sheet-body { padding: 8px 16px 28px; }
.sheet-x { position: absolute; top: 12px; right: 14px; background: none; border: none; color: var(--dim); font-size: 20px; cursor: pointer; z-index: 2; }

/* you */
.profile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.profile-head .avatar { width: 56px; height: 56px; font-size: 22px; }
.profile-name { font-weight: 700; font-size: 18px; font-family: var(--display); }
.profile-handle { color: var(--dim); font-size: 13px; }
.bio { color: var(--ink); font-size: 14px; margin-top: 6px; }
.section-title { color: var(--dim); font-size: 12px; letter-spacing: 2px; margin: 18px 0 10px; }
.follow-row { display: flex; gap: 8px; margin-bottom: 10px; }

.empty { color: var(--dim); text-align: center; padding: 40px 20px; font-size: 14px; }
.spin { text-align: center; padding: 40px; color: var(--dim); }

/* location precision + ghost mode (privacy layer) */
.locvis { margin-top: 10px; }
.locvis-title { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.locvis-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 13px; color: var(--ink); }
.locvis-row label { display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,0.02); }
.locvis-row label:has(input:checked) { border-color: var(--acc); background: rgba(62, 230, 255, 0.07); }
.locvis-row input { accent-color: var(--acc); margin: 0; width: auto; padding: 0; }
.ghost-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink); cursor: pointer; padding: 10px 0; }
.ghost-row input { accent-color: var(--acc); margin-top: 3px; width: auto; padding: 0; border: none; border-radius: 0; flex-shrink: 0; }

/* ---------- discover (nearby + counters) ---------- */
.discover { padding: 12px 14px 4px; display: flex; flex-direction: column; gap: 10px; }
.dc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-chip { font-size: 11px; color: #9fb0c8; background: #0b1220; border: 1px solid #1a2536; border-radius: 999px; padding: 5px 10px; }
.dc-chip b { color: #e8eef7; font-weight: 600; }
.dc-chip.dim { opacity: 0.75; }
.nearby-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.nearby-strip::-webkit-scrollbar { display: none; }
.nearby-card { flex: 0 0 110px; background: #0b1220; border: 1px solid #1a2536; border-radius: 12px; overflow: hidden; padding: 0; text-align: left; cursor: pointer; }
.nearby-card img { width: 100%; height: 74px; object-fit: cover; display: block; }
.nearby-card .nc-name { display: block; font-size: 11px; color: #e8eef7; padding: 5px 7px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nearby-card .nc-dist { display: block; font-size: 10px; color: #7dd3fc; padding: 0 7px 6px; }

/* ---------- follow buttons + friends ---------- */
.author-cell { flex: 1; min-width: 0; cursor: pointer; }
.author-cell .post-who, .author-cell .post-handle { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.follow-btn { margin-left: auto; background: #0d2a45; border: 1px solid #1e5a8f; color: #7dd3fc; border-radius: 999px; font-size: 11px; font-weight: 600; padding: 4px 10px; cursor: pointer; flex-shrink: 0; }
.follow-btn.on { background: #0b1220; border-color: #1a2536; color: #9fb0c8; }
.sheet .post-head .follow-btn { margin-left: 0; }
.pop-card .follow-btn { margin-top: 8px; }
.profile-stats { display: flex; gap: 14px; font-size: 12px; color: #9fb0c8; margin-top: 8px; }
.profile-stats b { color: #e8eef7; }
.back { margin-bottom: 10px; }
.friends { display: flex; gap: 12px; }
.friend-col { flex: 1; min-width: 0; }
.fc-title { font-size: 11px; color: #9fb0c8; margin-bottom: 6px; }
.fc-empty { font-size: 11px; color: #5b6b82; padding: 4px 0; }
.friend-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 0; border-bottom: 1px solid #121a28; }
.fr-go { background: none; border: none; color: #e8eef7; text-align: left; display: flex; flex-direction: column; min-width: 0; cursor: pointer; padding: 0; }
.fr-name { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-handle { font-size: 11px; color: #9fb0c8; }
.fr-unfollow { background: none; border: 1px solid #1a2536; color: #9fb0c8; border-radius: 999px; font-size: 11px; padding: 3px 8px; cursor: pointer; flex-shrink: 0; }

/* meet-the-room strip on the feed */
.people-title { font-size: 11px; color: #9fb0c8; margin: 18px 0 6px; }
.people-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.person-card { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 92px; padding: 12px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.p-avatar { width: 44px; height: 44px; border-radius: 50%; background: #0d2a45; color: #7dd3fc; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; overflow: hidden; }
.p-avatar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.p-name { font-size: 12px; font-weight: 600; color: #e8eef7; white-space: nowrap; max-width: 84px; overflow: hidden; text-overflow: ellipsis; }
.p-handle { font-size: 10px; color: #9fb0c8; }
.person-card .follow-btn { margin-left: 0; }

/* notification station */
.notif-btn { position: relative; }
.notif-row { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; padding: 12px 14px; margin-bottom: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; color: var(--ink); }
.notif-row.unread { border-color: var(--line-strong); background: rgba(62, 230, 255, 0.06); }
.notif-line { font-size: 13px; line-height: 1.4; }
.notif-line b { color: #fff; }
.notif-prev { font-size: 12px; color: var(--dim); }
.notif-time { font-size: 10px; color: #5b6b82; margin-top: 2px; }
.cmt.flash { outline: 1px solid var(--acc); box-shadow: 0 0 0 4px rgba(62, 230, 255, 0.12); border-radius: 10px; animation: notifFlash 1.6s ease-out; }
@keyframes notifFlash { 0% { background: rgba(62, 230, 255, 0.18); } 100% { background: transparent; } }

/* about glimpse (info sheet) */
.about-glimpse { padding: 4px 2px 12px; }
.about-glimpse p { font-size: 13px; line-height: 1.6; color: var(--dim); margin: 6px 0; }
.about-glimpse .about-h { font-size: 13px; font-weight: 700; color: var(--ink); margin: 14px 0 4px; letter-spacing: 0.02em; }
.about-glimpse b { color: var(--ink); font-weight: 600; }

/* ================= mass push: reactions, voice chips, ambient, discovery, places ================= */

/* the room felt — fire / glow / feels / curious / vibe, reply parks beside comments */
.reactbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 12px; }
.cmt-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.cmt-row .toggle-cmt { margin-top: 0; }
.cmt-row .react-btn.reply { flex-direction: row; gap: 4px; padding: 4px 10px; margin: 0; }
.react-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: rgba(13, 21, 40, 0.55); border: 1px solid var(--line); border-radius: 12px;
  color: var(--dim); padding: 7px 2px 5px; font-size: 11px; cursor: pointer; transition: all .15s ease;
}
.react-btn .rb-emoji { font-size: 16px; line-height: 1; }
.react-btn .rb-label { font-size: 9px; letter-spacing: 0.4px; text-transform: uppercase; opacity: .85; }
.react-btn .rb-n { font-size: 10px; color: var(--acc); font-weight: 700; }
.react-btn:active { transform: scale(0.94); }
.react-btn.on { border-color: var(--acc); color: var(--ink); background: rgba(62, 230, 255, 0.10); box-shadow: 0 0 12px rgba(62, 230, 255, 0.18); }
.react-btn.on .rb-emoji { filter: drop-shadow(0 0 6px var(--glow)); }
.react-btn.reply { border-style: dashed; }
.react-btn.reply .rb-emoji { font-size: 14px; }

/* voice chip — one player, styled everywhere */
.vchip {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: rgba(13, 21, 40, 0.7); border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 8px 12px; margin-top: 8px; cursor: pointer; text-align: left; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vchip:hover { border-color: var(--acc); }
.vchip.playing { border-color: var(--acc); box-shadow: 0 0 16px rgba(62, 230, 255, 0.25); }
.vchip .vc-play {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(62, 230, 255, 0.12); border: 1px solid var(--acc);
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--acc);
}
.vchip.playing .vc-play { background: rgba(62, 230, 255, 0.9); color: #04121a; }
.vchip .vc-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.vchip .vc-name { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vchip .vc-time { font-size: 10px; color: var(--dim); }
.vchip .vc-prog { flex-basis: 100%; height: 3px; background: rgba(143, 163, 200, 0.2); border-radius: 2px; overflow: hidden; }
.vchip .vc-bar { display: block; height: 100%; width: 0; background: var(--acc); box-shadow: 0 0 6px var(--glow); transition: width .25s linear; }
.vchip:not(.playing) .vc-prog { margin-top: 2px; }

/* location sub-line: distance + captured time */
.place-sub { display: block; color: var(--dim); font-size: 11px; margin-top: 2px; opacity: .8; }

/* ambient glimpses — voice-only moments */
.ambient { padding: 4px 0 2px; }
.amb-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--acc); margin: 0 0 4px; }
.amb-row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ambient .vchip { margin-top: 6px; padding: 12px 14px; }
.amb-record { text-align: center; padding: 18px 8px; border: 1px dashed var(--line-strong); border-radius: 14px; }
.amb-record .mic-btn.big { width: 64px; height: 64px; font-size: 26px; border-radius: 50%; margin: 10px auto; }
.amb-hint { font-size: 11px; color: var(--dim); margin-top: 6px; }

/* composer mode toggle + time capsule */
.compose-mode { display: flex; gap: 6px; }
.cmode {
  flex: 1; padding: 9px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(13, 21, 40, 0.5); color: var(--dim); font-size: 13px; cursor: pointer;
}
.cmode.on { border-color: var(--acc); color: var(--ink); background: rgba(62, 230, 255, 0.10); box-shadow: 0 0 10px rgba(62, 230, 255, 0.15); }
.capsule-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); flex-wrap: wrap; }
.capsule-row select { background: var(--card-solid); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 12px; }
.capsule-hint { font-size: 10px; opacity: .7; }
.vis-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); flex-wrap: wrap; margin-top: 6px; }
.vis-row label { display: flex; align-items: center; gap: 5px; color: var(--ink); cursor: pointer; }
.vis-hint { font-size: 10px; opacity: .7; }

/* discovery view */
.q-card {
  border: 1px solid var(--line-strong); border-radius: 16px; padding: 16px; margin: 10px 0 4px;
  background: linear-gradient(135deg, rgba(62, 230, 255, 0.08), rgba(139, 92, 246, 0.08));
}
.q-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--acc); }
.q-text { font-size: 16px; font-weight: 600; color: var(--ink); margin: 8px 0 12px; line-height: 1.4; }
.jh-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.jh-card {
  flex: 0 0 150px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: var(--card-solid); cursor: pointer; text-align: left; padding: 0;
}
.jh-card img { width: 100%; height: 110px; object-fit: cover; display: block; }
.jh-card .nc-nopic { display: flex; height: 110px; align-items: center; justify-content: center; font-size: 28px; background: rgba(62, 230, 255, 0.06); }
.jh-meta { display: block; padding: 8px 10px; font-size: 11px; color: var(--dim); }
.jh-meta b { color: var(--ink); }
.trend-list { display: flex; flex-direction: column; gap: 6px; }
.trend-row {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  background: rgba(13, 21, 40, 0.5); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 14px; color: var(--dim); font-size: 13px; cursor: pointer; text-align: left;
}
.trend-row b { color: var(--ink); }
.trend-row span { font-size: 11px; }
.trend-row:hover { border-color: var(--acc); }
.random-card { display: flex; gap: 12px; margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card-solid); }
.random-card img { width: 110px; height: 110px; object-fit: cover; flex-shrink: 0; cursor: pointer; }
.random-card .nc-nopic.big { width: 110px; height: 110px; display: flex; align-items: center; justify-content: center; font-size: 34px; background: rgba(62, 230, 255, 0.06); cursor: pointer; flex-shrink: 0; }
.rc-meta { padding: 10px 12px; min-width: 0; flex: 1; }
.rc-cap { font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.rc-who { font-size: 11px; color: var(--dim); margin-bottom: 8px; }
.dc-chip.goto { cursor: pointer; border: 1px solid var(--line); background: rgba(13, 21, 40, 0.5); color: var(--ink); font-size: 12px; border-radius: 20px; padding: 6px 12px; }
.dc-chip.goto:hover { border-color: var(--acc); color: var(--acc); }

/* place pages (1.0 seed) */
.place-head { padding: 16px; }
.place-title { font-size: 18px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.03em; }
.place-about { display: inline-block; margin-left: 7px; font-size: 10px; font-weight: 600; text-transform: none; letter-spacing: 0.02em; color: var(--acc); opacity: .85; text-decoration: none; border-bottom: 1px dotted rgba(62,230,255,.4); vertical-align: middle; }
.place-about:hover { opacity: 1; border-bottom-style: solid; }
.place-link { background: none; border: none; padding: 0; margin: 0; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.place-link:hover { color: var(--acc); }
.pulse-strip { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.pulse-row { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 9px 12px; color: var(--ink); font-size: 14px; }
.pulse-row:hover { border-color: var(--acc); }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.pulse-dot.buzzing { background: #ff4d4d; box-shadow: 0 0 10px rgba(255,77,77,.8); }
.pulse-dot.active { background: #ff9f43; box-shadow: 0 0 8px rgba(255,159,67,.7); }
.pulse-dot.moving { background: #ffd166; box-shadow: 0 0 6px rgba(255,209,102,.6); }
.pulse-dot.quiet { background: #4d9fff; box-shadow: 0 0 6px rgba(77,159,255,.5); }
.pulse-tier { margin-left: auto; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--dim); }
.pulse-n { font-size: 11px; color: var(--dim); }
.tab-avatar { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: rgba(96, 200, 255, 0.1); border: 1px solid var(--line); }
.tab-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tab-avatar svg { width: 13px; height: 13px; }
.place-stats { display: flex; gap: 14px; margin-top: 8px; font-size: 12px; color: var(--dim); }
.place-stats b { color: var(--acc); font-size: 14px; }
.echoes { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.echoes .lbl { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); }
.echoes .chip { font-size: 11px; background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.35); color: var(--ink); padding: 3px 9px; border-radius: 12px; }
.place-people { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pp { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--dim); background: rgba(13, 21, 40, 0.6); border: 1px solid var(--line); border-radius: 16px; padding: 3px 10px 3px 3px; }
.pp img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

/* local legends badge */
.badge-chip { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--acc); background: rgba(62, 230, 255, 0.08); border: 1px solid rgba(62, 230, 255, 0.3); border-radius: 14px; padding: 4px 12px; }

/* map popup extras */
.pc-dist { font-size: 11px; color: var(--acc); margin-top: 4px; }
.pc-nopic { display: flex; align-items: center; justify-content: center; height: 90px; font-size: 30px; background: rgba(62, 230, 255, 0.06); border-radius: 10px; margin-bottom: 6px; }
.pop-card .vchip { margin-top: 6px; padding: 6px 10px; }
.pop-card .vchip .vc-play { width: 28px; height: 28px; font-size: 11px; }

/* tab icons */
.tabbar .tab svg { display: block; margin: 0 auto 1px; }
.tabbar .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }

/* ---- 2026-08-31: tags + Glimpse Live ---- */
.tag-row { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag-row input { flex: 1; min-width: 140px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: inherit; font-size: 13px; }
.tag-row input:disabled { opacity: 0.45; }
.tag-chips { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.tag-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--acc-soft, rgba(120,160,255,0.14)); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; font-size: 12px; color: var(--acc, #7aa2ff); }
.tag-x { background: none; border: 0; color: inherit; font-size: 13px; line-height: 1; cursor: pointer; padding: 0 1px; opacity: 0.7; }
.tag-hint { width: 100%; font-size: 11px; opacity: 0.55; }
.post-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 6px; }
.post-tags .tag-chip { font-size: 11px; padding: 2px 8px; }

.live-bar-btn { display: block; width: 100%; margin: 0 0 10px; padding: 10px; border: 1px dashed var(--acc, #7aa2ff); border-radius: 12px; background: rgba(122,162,255,0.08); color: var(--acc, #7aa2ff); font-weight: 700; font-size: 13px; letter-spacing: 1px; cursor: pointer; }
.live-bar-btn:active { transform: scale(0.99); }

.live-view { position: relative; height: calc(100dvh - 130px); min-height: 420px; display: flex; flex-direction: column; }
.live-top { display: flex; align-items: center; gap: 10px; padding: 4px 2px 10px; }
.live-handle { font-weight: 700; font-size: 15px; }
.live-place { font-size: 12px; opacity: 0.7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.live-x { margin-left: auto; background: none; border: 0; font-size: 18px; color: inherit; opacity: 0.8; cursor: pointer; padding: 4px 8px; }
.live-stage { flex: 1; border-radius: 16px; overflow: hidden; background: #000; position: relative; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.live-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-bottom { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px 0; }
.live-nav { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: inherit; cursor: pointer; }
.live-count { font-size: 12px; opacity: 0.6; }
.live-sound { position: absolute; bottom: 14px; right: 14px; background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.25); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; cursor: pointer; z-index: 2; }
.live-sound.on { background: var(--acc, #7aa2ff); border-color: var(--acc, #7aa2ff); }

/* Glimpse Live window — lives under today's question on the feed */
.live-window { margin: 0 0 12px; }
.live-win-stage { position: relative; width: 100%; height: 220px; border-radius: 16px; overflow: hidden; background: #000; cursor: pointer; }
.live-win-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-win-img.fade { animation: liveWinFade 0.5s ease; }
@keyframes liveWinFade { from { opacity: 0.35; } to { opacity: 1; } }
.live-win-handle { position: absolute; left: 12px; bottom: 10px; background: rgba(0,0,0,0.55); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; z-index: 2; }
.live-win-sound { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.25); color: #fff; border-radius: 999px; padding: 6px 10px; font-size: 13px; cursor: pointer; z-index: 2; }
.live-win-sound.on { background: var(--acc, #7aa2ff); border-color: var(--acc, #7aa2ff); }


/* ---------- v27 — vibe check map + landing hero ---------- */
.pin-vibe {
  position: absolute; bottom: -3px; right: -7px; font-size: 13px; line-height: 1.2;
  background: var(--card-solid); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 1px 4px; box-shadow: 0 0 10px rgba(62, 230, 255, 0.35); pointer-events: none;
}
.map-vibes { display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.map-vibes .lbl { color: var(--dim); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.mv-chip { font-size: 17px; }
.hero {
  position: relative; border-radius: 22px; overflow: hidden; margin: 14px 0 18px;
  border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.hero-img { width: 100%; max-height: 44vh; object-fit: cover; display: block; }
.hero-fade { position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, var(--bg) 8%, transparent); pointer-events: none; }
.hero-brand {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; padding: 0 20px 16px; text-align: center;
}
.hero-brand .brand-mark { font-size: 34px; color: var(--acc); text-shadow: 0 0 18px var(--glow); }
.hero-brand h1 { font-size: 30px; letter-spacing: 6px; }
.hero-brand .tagline { font-size: 12px; }
@media (max-width: 380px) { .hero-img { max-height: 36vh; } }


/* ---------- v28 — the painting, whole + most vibed places ---------- */
.hero { margin: 14px 0 0; background: var(--bg); }
.hero-img { max-height: 40vh; object-fit: contain; }
.hero-fade { display: none; }
.hero-brand { position: static; inset: auto; justify-content: center; padding: 14px 20px 0; }
.hero-brand .tagline { margin-top: 4px; }
.vibed-filters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.vf-chip { font-size: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0.35; filter: grayscale(0.4); }
.vf-chip.on { opacity: 1; filter: none; border-color: var(--acc); box-shadow: 0 0 14px rgba(62, 230, 255, 0.25); }
.vibed-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; }
.vibed-rank { font-size: 15px; font-weight: 700; color: var(--acc); width: 22px; }
.vibed-thumb { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: none; }
.vibed-thumb.none { display: flex; align-items: center; justify-content: center; background: var(--card); font-size: 16px; }
.vibed-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vibed-vibes { font-size: 11px; color: var(--dim); }
.vibed-total { font-size: 12px; color: var(--dim); }
@media (max-width: 380px) { .hero-img { max-height: 34vh; } }


/* ---------- v29 — transparent globe on top of the wordmark, closer to the stats ---------- */
.hero { margin: 10px 0 0; background: transparent; border: none; border-radius: 0; box-shadow: none; overflow: visible; position: relative; z-index: 1; }
.hero-img { width: 72%; max-height: 44vh; margin: 0 auto; display: block; object-fit: contain; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.55)); }
.hero-brand { position: relative; z-index: 0; margin-top: -74px; margin-bottom: -12px; padding: 0 20px 0; }
@media (max-width: 380px) { .hero-img { width: 78%; max-height: 40vh; } .hero-brand { margin-top: -64px; } }
