:root {
  --bg: #0d0b12; --surface: #17141f; --surface2: #211d2b; --border: #2e2939;
  --text: #f3eff8; --muted: #9b93a8; --accent: #ff5a3c; --accent2: #ff9f43;
  --man: #3d9bff; --woman: #ff4fa3; --trans_man: #5bd0e8; --trans_woman: #f7a8d8; --nonbinary: #f5d547; --couple: #a46bff;
  --online: #34d17a; --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 15px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.spacer { flex: 1; }
h2 { margin: 0 0 6px; font-size: 20px; } h3 { margin: 18px 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

.btn { border: 1px solid var(--border); background: var(--surface2); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); border: 0; color: #fff; font-weight: 600; }
.btn.danger { color: #ff6b6b; }
.btn.big { width: 100%; padding: 14px; font-size: 16px; margin: 14px 0 8px; }
.btn:disabled { opacity: .5; }
.link { background: none; border: 0; color: var(--accent2); padding: 0; cursor: pointer; text-decoration: underline; }

.overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(8,6,12,.92); display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px; width: 100%; max-width: 440px; max-height: 100%; overflow-y: auto; }
.gate { text-align: center; }
.logo { font-weight: 800; font-size: 34px; letter-spacing: -.02em; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.small-logo { font-size: 20px; }
.lead { font-size: 17px; }

#app, #map { position: fixed; inset: 0; }
#map { background: #111; }
.leaflet-container { background: #0f0d14; }
.leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9) saturate(.6); }

.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: linear-gradient(var(--bg), rgba(13,11,18,0)); pointer-events: none; }
.topbar > * { pointer-events: auto; }
.icon-btn { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.icon-btn span { font-size: 13px; }

.pill { position: fixed; top: 64px; left: 50%; transform: translateX(-50%); z-index: 1000; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font-size: 13px; white-space: nowrap; }

.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1100; display: flex; background: var(--surface); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
.tabbar button { flex: 1; background: none; border: 0; padding: 8px 0 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 18px; color: var(--muted); cursor: pointer; position: relative; }
.tabbar button span { font-size: 11px; }
.tabbar button.active { color: var(--text); }
.badge { position: absolute; top: 4px; left: calc(50% + 6px); background: var(--accent); color: #fff; font-size: 11px; border-radius: 999px; padding: 0 6px; min-width: 18px; }

.panel { position: fixed; inset: 0 0 58px 0; z-index: 1050; background: var(--bg); overflow-y: auto; padding-top: calc(56px + env(safe-area-inset-top)); }
.panel-inner { max-width: 640px; margin: 0 auto; padding: 0 16px 24px; }
.sheet { position: fixed; left: 0; right: 0; bottom: 58px; z-index: 1200; max-height: calc(100% - 120px); overflow-y: auto; background: var(--surface); border-top-left-radius: 22px; border-top-right-radius: 22px; border: 1px solid var(--border); box-shadow: 0 -10px 40px rgba(0,0,0,.5); animation: up .18s ease-out; }
.sheet.full { top: 0; max-height: none; border-radius: 0; bottom: 58px; display: flex; flex-direction: column; }
.sheet-inner { max-width: 640px; margin: 0 auto; padding: 16px; }
.sheet.full .sheet-inner { flex: 1; display: flex; flex-direction: column; width: 100%; min-height: 0; padding-top: calc(12px + env(safe-area-inset-top)); }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.grabber { width: 40px; height: 4px; background: var(--border); border-radius: 4px; margin: 0 auto 12px; }

/* map pins */
.pin { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--c, var(--muted)); background: var(--surface2) center/cover no-repeat; box-shadow: 0 2px 8px rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; font-size: 16px; position: relative; }
.pin.online::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; background: var(--online); border: 2px solid var(--bg); }
.pin.couple { border-style: double; border-width: 5px; }
.pin.me { border-color: #fff; background: var(--accent); width: 22px; height: 22px; box-shadow: 0 0 0 8px rgba(255,90,60,.25); }
.pin.now { animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,60,.6); } 70% { box-shadow: 0 0 0 12px rgba(255,90,60,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,60,0); } }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--border); background: var(--surface2); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 14px; user-select: none; }
.chip.on { background: rgba(255,90,60,.18); border-color: var(--accent); color: #fff; }
.tag { display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--border); margin: 0 4px 4px 0; }
.g { display: inline-flex; align-items: center; gap: 4px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); display: inline-block; }

.row { display: flex; gap: 10px; align-items: center; }
.field { margin: 12px 0; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input[type=text], input[type=number], textarea, select { width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; outline: none; }
textarea { resize: vertical; min-height: 70px; }
input:focus, textarea:focus { border-color: var(--accent); }
.member { background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; margin: 8px 0; }

/* profile */
.prof-head { display: flex; gap: 14px; align-items: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--surface2) center/cover; flex: none; display: flex; align-items: center; justify-content: center; font-size: 26px; border: 3px solid var(--c, var(--border)); }
.prof-name { font-size: 20px; font-weight: 700; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0; }
.photos .ph { aspect-ratio: 1; background: var(--surface2) center/cover; border-radius: 10px; cursor: pointer; position: relative; border: 1px solid var(--border); }
.photos .ph .x { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,.7); border: 0; border-radius: 50%; width: 24px; height: 24px; cursor: pointer; }
.photos .add { display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--muted); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.actions .btn.primary { flex: 1; }

/* grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.tile { aspect-ratio: 3/4; border-radius: 12px; background: var(--surface2) center/cover; position: relative; overflow: hidden; cursor: pointer; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 36px; }
.tile .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: 12px; }
.tile .meta b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .on { position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--online); }

/* chats */
.convo { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.convo .avatar { width: 50px; height: 50px; font-size: 20px; }
.convo .body { flex: 1; min-width: 0; }
.convo .last { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo .badge { position: static; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.chat-head .avatar { width: 40px; height: 40px; font-size: 16px; cursor: pointer; }
.msgs { flex: 1; overflow-y: auto; padding: 12px 0; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.msg { max-width: 78%; padding: 8px 12px; border-radius: 16px; background: var(--surface2); align-self: flex-start; word-wrap: break-word; white-space: pre-wrap; }
.msg.mine { align-self: flex-end; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }
.msg img { max-width: 220px; max-height: 260px; border-radius: 10px; display: block; cursor: pointer; }
.msg .t { font-size: 10px; opacity: .7; margin-top: 2px; text-align: right; }
.composer { display: flex; gap: 8px; align-items: center; padding-top: 8px; border-top: 1px solid var(--border); }
.composer input[type=text] { flex: 1; border-radius: 999px; }
.composer .icon-btn { padding: 9px 12px; }
.typing { font-size: 12px; color: var(--muted); height: 16px; }

.toast { position: fixed; left: 50%; top: calc(64px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 3000; background: var(--surface2); border: 1px solid var(--border); padding: 10px 16px; border-radius: 999px; font-size: 14px; max-width: calc(100% - 32px); }
#lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 6px; }

/* Plus & boosts */
.plus-btn { background: linear-gradient(135deg, rgba(255,90,60,.25), rgba(255,159,67,.25)); border-color: var(--accent); }
.pill.radius { top: 104px; cursor: pointer; font-size: 12px; }
.pin.boost { width: 46px; height: 46px; border-color: #ffc83d; box-shadow: 0 0 0 4px rgba(255,200,61,.35), 0 0 18px 4px rgba(255,200,61,.55); }
.pin.boost.online::after { right: 0; bottom: 0; }
.tile .bolt { position: absolute; top: 4px; left: 6px; font-size: 16px; }
.plus-badge { margin-left: 6px; font-size: 16px; }
.locked { background: var(--surface2); border: 1px dashed var(--border); border-radius: 12px; padding: 10px 12px; font-size: 13px; cursor: pointer; margin: 6px 0; }
.plus-card { display: flex; gap: 12px; align-items: center; justify-content: space-between; background: linear-gradient(135deg, rgba(255,90,60,.18), rgba(255,159,67,.12)); border: 1px solid var(--accent); border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.plus-card .btn { flex: none; }
.boost-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; }
.plan { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface2); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin: 8px 0; }
.plan .btn { flex: none; min-width: 92px; }
.perks { padding-left: 4px; list-style: none; margin: 8px 0 12px; }
.perks li { margin: 6px 0; }
.reason { background: rgba(255,90,60,.15); border: 1px solid var(--accent); border-radius: 10px; padding: 8px 12px; font-size: 14px; margin-bottom: 12px; }
.viewers { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.viewer { flex: none; width: 64px; text-align: center; cursor: pointer; }
.viewer .avatar { width: 52px; height: 52px; margin: 0 auto 4px; font-size: 20px; }
.viewer .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 440px) { #btnFilters span, #btnLocate span { display: none; } .small-logo { white-space: nowrap; } }

/* spots */
.fabs { position: fixed; right: 16px; bottom: 76px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.fab { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); font-size: 20px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.fab.off { opacity: .45; }
.spot { width: 34px; height: 34px; border-radius: 10px; background: var(--surface); border: 2px solid #8bd3ff; display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 2px 8px rgba(0,0,0,.6); position: relative; }
.spot b { position: absolute; top: -8px; right: -8px; background: var(--online); color: #062; font-size: 11px; border-radius: 999px; padding: 0 5px; min-width: 18px; text-align: center; }
.crosshair { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 900; font-size: 34px; color: #8bd3ff; pointer-events: none; text-shadow: 0 0 6px #000; }
.here { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 8px; }
.code { font: 600 20px ui-monospace, Menlo, monospace; letter-spacing: .06em; text-align: center; background: var(--surface2); border: 1px dashed var(--accent); border-radius: 12px; padding: 14px; margin: 12px 0; user-select: all; word-break: break-all; }
.acct-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin: 10px 0; }
.ok { color: var(--online); }
body:not(.dark-tiles) .leaflet-tile-pane { filter: none; }

/* zoomed-out head counts */
.cluster { border-radius: 50%; background: rgba(23,20,31,.88); border: 2px solid var(--accent); box-shadow: 0 0 0 6px rgba(255,90,60,.18), 0 2px 10px rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; position: relative; cursor: pointer; }
.cluster b { font-size: 14px; font-weight: 700; color: #fff; }
.cluster.hot { border-color: var(--online); box-shadow: 0 0 0 6px rgba(52,209,122,.18), 0 2px 10px rgba(0,0,0,.6); }
.cluster i { position: absolute; top: -6px; right: -6px; font-style: normal; font-size: 10px; font-weight: 700; background: var(--online); color: #062; border-radius: 999px; padding: 1px 5px; min-width: 16px; text-align: center; }

/* active users pane, bottom left */
.active-pane { position: fixed; left: 12px; bottom: 76px; z-index: 1000; width: 270px; max-width: calc(100% - 90px); background: rgba(23,20,31,.94); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.5); padding: 8px 10px; }
.ap-head { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; white-space: nowrap; overflow: hidden; }
.ap-head .muted { overflow: hidden; text-overflow: ellipsis; }
.ap-caret { margin-left: auto; color: var(--muted); }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--online); flex: none; box-shadow: 0 0 0 0 rgba(52,209,122,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(52,209,122,0); } 100% { box-shadow: 0 0 0 0 rgba(52,209,122,0); } }
.ap-stack { display: flex; align-items: center; margin-top: 6px; cursor: pointer; }
.ap-stack .avatar { width: 30px; height: 30px; font-size: 13px; border-width: 2px; margin-right: -8px; }
.ap-stack .more { margin-left: 14px; font-size: 12px; color: var(--muted); }
.ap-list { max-height: 42vh; overflow-y: auto; margin-top: 6px; }
.ap-row { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--border); cursor: pointer; }
.ap-row .avatar { width: 38px; height: 38px; font-size: 15px; border-width: 2px; }
.ap-body { min-width: 0; }
.ap-body b, .ap-body .small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-empty { padding: 8px 0 4px; }

/* body stats & kinks */
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.stats-row .field:last-child { grid-column: 1 / -1; }
.stats-row .field { margin: 6px 0; }
select { width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; color: var(--text); }
.kinks { margin-top: 8px; }
.tag.pos { border-color: var(--accent2); color: var(--accent2); }
.tag.kink.match { border-color: var(--online); color: var(--online); }

/* private album card in chat */
.msg.album-card { max-width: 86%; }
.msg.album-card.off { color: var(--muted); font-style: italic; }
.album-title { font-weight: 600; cursor: pointer; margin-bottom: 6px; }
.album-strip { display: grid; grid-template-columns: repeat(4, 52px); gap: 4px; margin-bottom: 4px; }
.album-strip .ph { width: 52px; height: 52px; border-radius: 8px; background: var(--surface) center/cover; cursor: pointer; position: relative; display: flex; align-items: center; justify-content: center; }
.album-strip .more { background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 700; position: absolute; inset: 0; border-radius: 8px; display: flex; align-items: center; justify-content: center; }

/* legal links */
.legal-links { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.9; }
.legal-links a { color: var(--muted); }
.legal-links.left { margin-top: 0; font-size: 13px; }

/* NSFW blur */
.nsfw { position: relative; overflow: hidden; background: var(--surface2); }
.nsfw-img { position: absolute; inset: -12px; background: center/cover no-repeat; filter: blur(16px) brightness(.55); }
img.nsfw-img { width: calc(100% + 24px); height: calc(100% + 24px); object-fit: cover; }
.nsfw-tag { position: relative; z-index: 1; font-size: 11px; font-weight: 700; color: #fff; text-align: center; line-height: 1.2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-shadow: 0 1px 3px #000; }
.nsfw-tag small { font-weight: 400; font-size: 10px; opacity: .85; }
.avatar.nsfw .nsfw-tag small, .viewer .nsfw-tag small, .ap-row .nsfw-tag, .ap-stack .nsfw-tag, .convo .nsfw-tag, .chat-head .nsfw-tag { display: none; }
.avatar.nsfw .nsfw-tag { font-size: 9px; }
.photos .ph.nsfw, .tile.nsfw { display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tile.nsfw .meta, .tile.nsfw .on, .tile.nsfw .bolt { z-index: 1; }
.chat-nsfw { width: 220px; height: 220px; border-radius: 10px; cursor: pointer; display: flex; }
.pin.nsfw-pin { overflow: hidden; }
.pin.nsfw-pin .nsfw-img { inset: 0; border-radius: 50%; filter: blur(5px) brightness(.6); }
.pin.nsfw-pin.online { overflow: visible; }
.nsfw-toggle { position: absolute; left: 4px; bottom: 4px; border: 0; border-radius: 999px; font-size: 10px; padding: 2px 7px; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; }
.nsfw-toggle.on { background: #c0392b; }

/* planned visits */
.spot b.soon { background: #8bd3ff; color: #062033; font-size: 10px; }
.coming { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.coming-row { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.coming-row .avatar { width: 34px; height: 34px; font-size: 14px; border-width: 2px; }
.coming-row .muted { margin-left: auto; }
input[type=datetime-local] { width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; color: var(--text); color-scheme: dark; }

/* in-app yes/no prompt */
.overlay.ask { z-index: 4000; background: rgba(8,6,12,.75); }
.ask-card { max-width: 360px; text-align: center; }
.ask-card h2 { margin-bottom: 8px; }
.ask-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.ask-actions .btn { width: 100%; padding: 12px; }

/* area chat */
.area-row .area-ico, .area-ico { background: linear-gradient(135deg, var(--accent), var(--accent2)); border-color: transparent; font-size: 20px; }
.area-composer { border-top: 0; border-bottom: 1px solid var(--border); padding: 8px 0; }
.area-list { gap: 0; }
.area-msg { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.area-msg .avatar { width: 38px; height: 38px; font-size: 15px; border-width: 2px; cursor: pointer; flex: none; }
.area-body { flex: 1; min-width: 0; }
.area-meta { display: flex; gap: 8px; align-items: baseline; }
.area-meta b { cursor: pointer; }
.area-meta .link { margin-left: auto; font-size: 11px; }
.area-text { white-space: pre-wrap; word-wrap: break-word; }
.area-photo { max-width: 220px; max-height: 260px; border-radius: 10px; display: block; margin-top: 6px; cursor: pointer; }
.area-msg.mine .area-meta b { color: var(--accent2); }

/* events */
.ev-list { display: flex; flex-direction: column; gap: 8px; }
.ev-card { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; cursor: pointer; }
.ev-emoji { font-size: 28px; width: 44px; text-align: center; }
.ev-body { min-width: 0; flex: 1; }
.ev-badge { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--border); margin-left: 4px; }
.ev-badge.host { border-color: #ffb84d; color: #ffb84d; }
.ev-badge.going { border-color: var(--online); color: var(--online); }
.ev-badge.off { color: var(--muted); }
.consent-note { font-size: 12px; background: rgba(255,184,77,.1); border: 1px solid rgba(255,184,77,.4); border-radius: 10px; padding: 8px 10px; }
.ev-address { background: var(--surface2); border: 1px solid var(--online); border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.ev-pin { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 2px solid #ffb84d; display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 2px 8px rgba(0,0,0,.6); }
.coming-row .btn { padding: 5px 10px; font-size: 13px; }
.coming-row .small.muted { margin-left: auto; }

/* add-spot pin: tip marks the spot, centered in the map strip above the short sheet */
.crosshair { transform: translate(-50%, -100%); font-size: 0; color: inherit; text-shadow: none; filter: drop-shadow(0 3px 4px rgba(0,0,0,.6)); }
.crosshair::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 10px; height: 4px; margin-left: -5px; border-radius: 50%; background: rgba(0,0,0,.45); }
.sheet.compact { max-height: 46vh; }

/* grouped kink/tag pickers: picks strip, search, accordion rows */
.gchips { margin-top: 4px; }
.gtop { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.gtop b { font-size: 15px; }
.gtop .link { margin-left: auto; }
.gsel { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.gchips input[type=search] { width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; color: var(--text); }
.gnone { padding: 10px 2px; }
.glist { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.grow + .grow { border-top: 1px solid var(--border); }
.ghead { width: 100%; min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface2); border: 0; text-align: left; cursor: pointer; color: var(--text); }
.ghead:active { background: #2a2536; }
.grow.open .ghead { background: #2a2536; }
.gicon { font-size: 20px; width: 26px; text-align: center; flex: none; }
.gname { flex: 1; font-size: 15px; }
.gsum { font-size: 13px; color: var(--muted); white-space: nowrap; }
.gsum.on { color: var(--accent2); font-weight: 600; }
.gchev { width: 11px; height: 11px; border-right: 2.5px solid var(--text); border-bottom: 2.5px solid var(--text); transform: rotate(45deg); margin: 0 4px 5px 4px; transition: transform .15s; flex: none; opacity: .8; }
.grow.open .gchev { transform: rotate(-135deg); margin: 5px 4px 0 4px; }
.gpanel { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; background: rgba(0,0,0,.18); box-shadow: inset 0 2px 6px rgba(0,0,0,.25); }
.gchip { border: 1.5px solid var(--border); background: transparent; color: var(--text); border-radius: 999px; padding: 7px 12px; font-size: 14px; cursor: pointer; }
.gchip.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.gchip mark { background: rgba(255,159,67,.45); color: inherit; border-radius: 3px; }
/* native dropdowns: show a clear arrow */
select { -webkit-appearance: none; appearance: none; padding-right: 36px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #9b93a8 50%), linear-gradient(135deg, #9b93a8 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.live.off { background: var(--muted); animation: none; }

/* filters sheet: sticky header/footer, accordion sections, range sliders */
.fsheet { margin: -16px -16px 0; }
.fhead { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; background: var(--surface); border-bottom: 1px solid var(--border); }
.fhead h2 { margin: 0; }
.fsheet .glist { margin: 12px 16px; }
.fsum { display: block; font-size: 12px; color: var(--muted); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fsheet .gname { display: flex; flex-direction: column; min-width: 0; }
.fsheet .gname b { display: flex; align-items: center; gap: 8px; }
.plus-lock { font-size: 11px; font-weight: 600; color: #ffc83d; border: 1px solid rgba(255,200,61,.5); border-radius: 999px; padding: 1px 7px; align-self: flex-start; margin-top: 2px; }
.fpanel { padding: 4px 14px 16px; background: rgba(0,0,0,.18); box-shadow: inset 0 2px 6px rgba(0,0,0,.25); }
.flabel { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 8px; }
.fpanel .locked { margin-top: 14px; }
.ffoot { position: sticky; bottom: 0; z-index: 2; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); }
.ffoot .btn.big { margin: 0; }
.drange { padding: 2px 0 6px; }
.rvals { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.rtrack { position: relative; height: 28px; }
.rbar, .rfill { position: absolute; top: 12px; height: 4px; border-radius: 4px; }
.rbar { left: 0; right: 0; background: var(--border); }
.rfill { background: var(--accent); }
.rtrack input[type=range] { position: absolute; left: 0; width: 100%; top: 0; height: 28px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.rtrack input[type=range]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.rtrack input[type=range]::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); cursor: pointer; }
.rtrack input[type=range]::-webkit-slider-runnable-track { background: none; }
.rtrack input[type=range]::-moz-range-track { background: none; }
/* Plus preview: options visible, slightly dimmed; tapping one opens the upgrade sheet */
.plus-preview .gchip, .plus-preview .chip, .plus-preview .drange, .plus-preview input, .plus-preview select { opacity: .7; }
.plus-hint { font-size: 12px; color: #ffc83d; margin: 12px 0 2px; }
.flabel .plus-lock { margin-left: 8px; vertical-align: middle; }
.plus-preview .gchip::after, .plus-preview .chip::after { content: " 🔒"; font-size: 10px; opacity: .8; }
.plus-preview .gtop .link { display: none; }

/* people beyond the free 15 km: teaser pins and tiles with the CumThru mark */
.pin.locked { opacity: .9; }
.pin.locked.nsfw-pin { overflow: visible; }
.lockbadge { position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); font-size: 10px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); line-height: 1; }
.tile .lockbadge { top: 6px; left: 6px; right: auto; width: 24px; height: 24px; font-size: 13px; z-index: 1; }
.pill.radius { cursor: pointer; }

/* boosted + online: extra-fancy pin (transform/opacity animations only) */
.pin.boost.live { overflow: visible; }
.pin.boost.live::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, #ffc83d, #fff6c2, #ff9f43, #ffd86b, #fff6c2, #ffc83d);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: boostspin 2.4s linear infinite; will-change: transform; }
.pin .bglow { position: absolute; inset: -18px; border-radius: 50%; z-index: -2; pointer-events: none;
  background: radial-gradient(circle, rgba(255,200,61,.55) 0%, rgba(255,200,61,.18) 45%, rgba(255,200,61,0) 70%);
  animation: boostglow 1.8s ease-in-out infinite; will-change: transform, opacity; }
.pin .sparks { position: absolute; inset: -14px; pointer-events: none; animation: boostspin 6s linear infinite reverse; will-change: transform; }
.pin .sparks i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #fff6c2; box-shadow: 0 0 6px 2px rgba(255,214,107,.9);
  animation: twinkle 1.4s ease-in-out infinite; }
.pin .sparks i:nth-child(1) { transform: rotate(0deg) translateY(-37px); }
.pin .sparks i:nth-child(2) { transform: rotate(95deg) translateY(-35px); animation-delay: .35s; }
.pin .sparks i:nth-child(3) { transform: rotate(190deg) translateY(-38px); animation-delay: .7s; }
.pin .sparks i:nth-child(4) { transform: rotate(280deg) translateY(-35px); animation-delay: 1.05s; }
.pin .boltbadge { position: absolute; top: -9px; left: -9px; width: 19px; height: 19px; border-radius: 50%; background: linear-gradient(135deg, #ffd86b, #ff9f43); border: 2px solid var(--bg); font-size: 10px; display: flex; align-items: center; justify-content: center; z-index: 2; }
@keyframes boostspin { to { transform: rotate(360deg); } }
@keyframes boostglow { 0%, 100% { transform: scale(.85); opacity: .55; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
/* smaller version on Nearby tiles and online-pane faces */
.avatar.boost-live, .tile.boost-live { position: relative; overflow: visible; }
.avatar.boost-live::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, #ffc83d, #fff6c2, #ff9f43, #ffc83d);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: boostspin 2.4s linear infinite; }
.tile.boost-live::before { content: ""; position: absolute; inset: -3px; border-radius: 14px; z-index: -1;
  background: conic-gradient(from 0deg, #ffc83d, #fff6c2, #ff9f43, #ffc83d); opacity: .9; animation: boostglow 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .pin.boost.live::before, .pin .bglow, .pin .sparks, .pin .sparks i, .avatar.boost-live::before, .tile.boost-live::before { animation: none; }
  .pin .sparks { display: none; }
}
.grabber { padding: 6px 0; background-clip: content-box; height: 16px; cursor: grab; }

/* square teasers for people beyond the free 15 km: crisp photo, orange 💦 badge */
.pin.locked { opacity: 1; border-radius: 7px; }
.pin.locked .nsfw-img { border-radius: 4px; }
.tile.locked-tile { opacity: 1; filter: none; }

/* location privacy slider */
.fuzz-slider { width: 100%; accent-color: var(--accent); }
.fuzz-ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 2px; }
.about-row { margin-top: 8px; }
.tag.about { background: var(--surface); }

/* message requests */
.req-ico { background: var(--surface2); }
.req-row .gchev { margin-left: auto; }
.convo.req { padding-left: 18px; }
.req-banner { display: flex; flex-direction: column; gap: 8px; background: var(--surface2); border: 1px solid var(--accent); border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.msg.explicit-hide { font-style: italic; color: var(--muted); cursor: pointer; border: 1px dashed var(--border); background: transparent; }

/* verification */
.vbadge { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-left: 6px; border-radius: 50%; background: #3d9bff; color: #fff; font-size: 12px; font-weight: 800; vertical-align: middle; }
.vpin { position: absolute; left: -6px; bottom: -6px; width: 17px; height: 17px; border-radius: 50%; background: #3d9bff; color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); z-index: 2; }
.verify-pose { font-size: 22px; font-weight: 700; text-align: center; padding: 14px; background: var(--surface2); border-radius: 12px; margin: 8px 0; }
.verify-cam { width: 100%; max-height: 50vh; border-radius: 12px; background: #000; transform: scaleX(-1); }
.hidden-banner { position: fixed; top: calc(60px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 1150; background: #3a1f1f; border: 1px solid #ff6b6b; color: #fff; border-radius: 999px; padding: 6px 8px 6px 14px; font-size: 13px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hidden-banner .btn { padding: 4px 12px; font-size: 13px; }

/* boundaries & vouches */
.bounds { margin: 10px 0; padding: 10px 12px; border: 1px solid #ff6b6b; background: rgba(255,107,107,.08); border-radius: 12px; display: flex; flex-direction: column; gap: 6px; }
.tag.limit { border-color: #ff6b6b; color: #ff9a9a; }
.vouches { margin: 10px 0; display: flex; flex-direction: column; gap: 8px; }
.vouch { background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
.tag.ok-tag { border-color: var(--online); color: var(--online); }
.room-tabs { padding: 8px 0 4px; }
.ev-badge.led { border-color: #ff9fd0; color: #ffc2e2; }
.tag.looking { border-color: var(--accent2); color: var(--accent2); }
.full-body { flex: 1; overflow-y: auto; padding: 8px 0 20px; }
.full-sec h3 { margin: 16px 0 6px; }
.full-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.full-row span:last-child { text-align: right; }
.tag.intent { border-color: #ff9fd0; color: #ffc2e2; font-weight: 600; }
.moved-banner { position: fixed; left: 50%; bottom: calc(140px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 1150; background: var(--surface); border: 1px solid var(--accent); border-radius: 999px; padding: 6px 6px 6px 14px; font-size: 13px; display: flex; align-items: center; gap: 8px; white-space: nowrap; box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.moved-banner .btn { padding: 6px 12px; font-size: 13px; text-decoration: none; }
.push-ask { bottom: calc(190px + env(safe-area-inset-bottom)); }

/* homing guide */
.hm { display: flex; flex-direction: column; flex: 1; min-height: 0; gap: 8px; }
.hm-arrow { width: 200px; height: 200px; margin: 14px auto 4px; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,60,.18), rgba(255,90,60,0) 70%); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; position: relative; }
.hm-arrow.north-up::before { content: "N"; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--muted); font-weight: 700; }
.hm-arrow-inner { font-size: 110px; line-height: 1; color: var(--accent); transition: transform .25s ease-out; text-shadow: 0 4px 16px rgba(255,90,60,.5); }
.hm-dist { text-align: center; font-size: 34px; font-weight: 800; }
.hm-hint { text-align: center; min-height: 34px; }
.hm-map { flex: 1; min-height: 160px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.homing-pill { position: fixed; top: calc(104px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 1150; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 700; box-shadow: 0 6px 20px rgba(255,90,60,.4); cursor: pointer; }

/* NSFW label: always dead-center over the blurred photo, whatever else is in the box */
.nsfw > .nsfw-tag { position: absolute; inset: 0; height: auto; width: auto; margin: 0; padding: 0 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; pointer-events: none; }
.tile.nsfw > .nsfw-tag { padding-bottom: 34px; } /* keep it clear of the name strip at the bottom of Nearby tiles */
.tile.nsfw .meta, .tile.nsfw .on, .tile.nsfw .bolt, .tile.nsfw .lockbadge { z-index: 2; }
.nsfw > .nsfw-img { z-index: 0; }
