/* onboarding.css */
#onboarding-overlay {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
  padding: 20px;
}
#onboarding-overlay.open { opacity: 1; pointer-events: all; }
.ob-card {
  background: var(--bg1); border: 1px solid var(--border2);
  border-radius: 18px; width: 480px; max-width: 100%;
  padding: 40px 36px; text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}
.ob-icon-wrap {
  width: 80px; height: 80px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; margin: 0 auto 24px;
  transition: background 0.4s;
}
.ob-title { font-size: 24px; font-weight: 900; margin-bottom: 14px; }
.ob-body { font-size: 15px; color: var(--text2); line-height: 1.7; margin-bottom: 28px; }
.ob-dots { display: flex; gap: 7px; justify-content: center; margin-bottom: 24px; }
.ob-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bg4); cursor: pointer; transition: all 0.2s;
}
.ob-dot.active { background: var(--glow); width: 22px; border-radius: 4px; }
.ob-btns { display: flex; gap: 10px; justify-content: center; }
.ob-btn {
  padding: 11px 28px; border-radius: 8px; border: none;
  font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.15s;
}
.ob-btn.prev { background: var(--bg3); color: var(--text2); }
.ob-btn.prev:hover { color: var(--text); }
.ob-btn.next { background: var(--accent); color: #fff; min-width: 130px; }
.ob-btn.next:hover { background: var(--accent2); }
.ob-skip { font-size: 12px; color: var(--text3); margin-top: 16px; cursor: pointer; }
.ob-skip:hover { color: var(--text2); }

/* privacy.css */
.privacy-modal-inner { }
.pmode-option {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; border-radius: 10px; cursor: pointer;
  border: 1.5px solid var(--border); margin-bottom: 9px;
  background: var(--bg2); transition: all 0.15s;
}
.pmode-option:hover { border-color: var(--border2); }
.pmode-option.active { border-color: var(--accent2); background: rgba(123,94,167,0.12); }
.pmode-icon { font-size: 26px; flex-shrink: 0; width: 44px; text-align: center; }
.pmode-name { font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.pmode-desc { font-size: 12px; color: var(--text2); line-height: 1.4; }
.pmode-check { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.pmode-option.active .pmode-check { background: var(--accent); border-color: var(--accent); color: #fff; }
#privacy-indicator {
  font-size: 16px; cursor: pointer; padding: 4px;
  border-radius: 50%; transition: background 0.15s;
}
#privacy-indicator:hover { background: rgba(255,255,255,0.08); }

/* family/friends.css */
#circle-view { flex-direction: column; overflow: hidden; }
.circle-top {
  padding: 16px 22px 12px; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.circle-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
#circle-view-title { font-size: 22px; font-weight: 900; }
.circle-tabs { display: flex; gap: 7px; }
.circle-add-btn {
  font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: 6px;
  background: var(--bg3); border: 1px solid var(--border2); color: var(--text);
  cursor: pointer; transition: all 0.15s;
}
.circle-add-btn:hover { border-color: var(--accent2); }
.circle-body { display: flex; flex: 1; overflow: hidden; }
.circle-list { width: 300px; flex-shrink: 0; overflow-y: auto; padding: 10px; border-right: 1px solid var(--border); }
.circle-map-pane { flex: 1; position: relative; }
.circle-map-pane #map { height: 100%; }
.circle-person-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: var(--bg2);
  border-radius: 8px; border: 1px solid var(--border);
  margin-bottom: 6px; cursor: pointer; transition: all 0.15s;
}
.circle-person-card:hover { border-color: var(--border2); }
.cp-av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cp-body { flex: 1; min-width: 0; }
.cp-top { display: flex; align-items: center; gap: 6px; }
.cp-name { font-size: 13px; font-weight: 700; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.offline-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text3); flex-shrink: 0; }
.ghost-badge { font-family: var(--font-mono); font-size: 9px; padding: 1px 5px; border-radius: 3px; background: rgba(176,142,240,0.15); color: var(--glow); }
.cp-relation { font-size: 11px; color: var(--text3); }
.cp-status { font-size: 11px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-actions { display: flex; gap: 5px; flex-shrink: 0; }
.cp-btn { width: 28px; height: 28px; border-radius: 50%; background: var(--bg3); border: none; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: background 0.12s; }
.cp-btn:hover { background: var(--bg4); }
.circle-marker { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(255,255,255,0.3); box-shadow: 0 2px 8px rgba(0,0,0,0.4); cursor: pointer; }
.circle-tooltip .leaflet-tooltip { background: var(--bg2); border: 1px solid var(--border2); color: var(--text); border-radius: 6px; font-size: 12px; }

/* bounty.css */
#bounty-view { flex-direction: column; overflow: hidden; }
.bounty-top { padding: 16px 22px 12px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.bounty-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.bounty-main-title { font-size: 22px; font-weight: 900; }
.bounty-sub { font-size: 13px; color: var(--text2); margin-top: 2px; }
.drop-bounty-btn {
  font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 6px;
  background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; border: none;
  cursor: pointer; transition: opacity 0.15s; white-space: nowrap;
}
.drop-bounty-btn:hover { opacity: 0.88; }
.bounty-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.bounty-list { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.bounty-card {
  background: var(--bg2); border-radius: 10px;
  border: 1px solid var(--border); cursor: pointer; padding: 16px;
  transition: all 0.15s;
}
.bounty-card:hover { border-color: var(--border2); transform: translateY(-1px); }
.bounty-card.completed { opacity: 0.65; }
.bc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.bc-cat { font-family: var(--font-mono); font-size: 9px; padding: 2px 7px; border-radius: 3px; background: var(--bg3); color: var(--accent2); }
.bc-status { font-family: var(--font-mono); font-size: 10px; font-weight: 700; }
.bc-title { font-size: 15px; font-weight: 800; margin-bottom: 6px; line-height: 1.3; }
.bc-desc { font-size: 12px; color: var(--text2); line-height: 1.5; margin-bottom: 10px; }
.bc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bc-amount { display: flex; flex-direction: column; gap: 2px; }
.bc-prize { font-size: 22px; font-weight: 900; color: var(--green); }
.bc-payout { font-size: 11px; color: var(--text3); font-family: var(--font-mono); }
.bc-meta { display: flex; flex-direction: column; gap: 3px; text-align: right; font-size: 11px; color: var(--text3); font-family: var(--font-mono); }
.bc-winner { margin-top: 10px; padding: 8px 12px; background: rgba(176,142,240,0.1); border-radius: 6px; font-size: 12px; color: var(--glow); font-weight: 700; }
.bounty-marker { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#f59e0b,#ef4444); display: flex; align-items: center; justify-content: center; font-size: 18px; border: 2px solid rgba(255,255,255,0.3); box-shadow: 0 3px 10px rgba(0,0,0,0.4); cursor: pointer; }

/* group sidebar panel */
.group-members-panel {
  width: 180px; flex-shrink: 0; border-left: 1px solid var(--border);
  overflow-y: auto; background: var(--bg1); padding: 10px 8px;
  display: flex; flex-direction: column; gap: 6px;
}
.gmp-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text3); margin-bottom: 4px; font-family: var(--font-mono); padding: 0 4px; }
.gmp-person {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 8px; border-radius: 7px; cursor: pointer;
  transition: background 0.12s; position: relative;
}
.gmp-person:hover { background: var(--bg2); }
.gmp-av { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }
.gmp-av img { width: 100%; height: 100%; object-fit: cover; }
.gmp-name { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gmp-dist { font-family: var(--font-mono); font-size: 9px; color: var(--text3); }
.gmp-online { position: absolute; bottom: 7px; left: 28px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); border: 2px solid var(--bg1); }
.gmp-post-btn {
  width: 100%; padding: 8px; border-radius: 6px; border: 1px dashed var(--border2);
  background: transparent; color: var(--text2); font-size: 11px; font-weight: 700;
  cursor: pointer; transition: all 0.15s; margin-top: 4px;
}
.gmp-post-btn:hover { background: var(--bg2); border-color: var(--accent2); }

/* photo message */
.msg-photo { max-width: 200px; border-radius: 8px; overflow: hidden; cursor: pointer; }
.msg-photo img { width: 100%; display: block; }
.chat-attach-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border2);
  background: var(--bg2); color: var(--text2); font-size: 16px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all 0.15s; flex-shrink: 0;
}
.chat-attach-btn:hover { border-color: var(--accent2); color: var(--text); }

/* age verify */
.age-verify-banner {
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3);
  border-radius: 8px; padding: 12px 14px; margin-bottom: 14px;
  font-size: 13px; color: var(--amber); display: flex; align-items: center; gap: 8px;
}

/* ── PHOTO STRIP ── */
.photo-strip-wrap {
  border-top: 1px solid var(--border);
  padding: 12px 0 0;
  flex-shrink: 0;
}
.photo-strip-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--text3);
  margin: 0 14px 8px; font-family: var(--font-mono);
  display: flex; align-items: center; justify-content: space-between;
}
.photo-strip-label button {
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 4px; background: var(--bg3); border: 1px solid var(--border2);
  color: var(--text2); cursor: pointer; transition: all 0.15s;
  font-family: var(--font-main);
}
.photo-strip-label button:hover { border-color: var(--accent2); color: var(--text); }
.photo-strip-inner {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 0 14px 12px; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.photo-strip-inner::-webkit-scrollbar { display: none; }
.photo-strip-upload {
  width: 80px; height: 80px; flex-shrink: 0;
  border: 2px dashed var(--border2); border-radius: 8px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; cursor: pointer; transition: border-color 0.15s;
  background: var(--bg2);
}
.photo-strip-upload:hover { border-color: var(--accent2); }
.photo-strip-empty {
  display: flex; align-items: center; height: 80px;
  font-size: 12px; color: var(--text3); white-space: nowrap;
  padding: 0 8px;
}
.photo-strip-item {
  width: 80px; height: 80px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  cursor: pointer; position: relative;
  background: var(--bg3); border: 1px solid var(--border);
  transition: transform 0.15s;
}
.photo-strip-item:hover { transform: scale(1.04); }
.photo-strip-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.photo-strip-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.2s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 5px;
}
.photo-strip-item:hover .photo-strip-overlay { opacity: 1; }
.pso-author {
  display: flex; align-items: center; gap: 4px;
  font-size: 9px; color: #fff; font-weight: 600;
}
.pso-av {
  width: 16px; height: 16px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.pso-actions { display: flex; gap: 4px; margin-top: 3px; }
.pso-btn {
  background: rgba(255,255,255,0.15); border: none;
  color: #fff; font-size: 9px; padding: 2px 5px;
  border-radius: 3px; cursor: pointer;
}
.pso-btn.liked { color: #ff6b6b; }
.photo-strip-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.7); padding: 2px 4px;
  font-size: 9px; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── CIRCLE VERTICAL PHOTO FEED ── */
.circle-photo-pane {
  width: 140px; flex-shrink: 0;
  border-left: 1px solid var(--border);
  overflow-y: auto; background: var(--bg1);
  display: flex; flex-direction: column;
}
.cpp-header {
  padding: 10px 10px 6px; border-bottom: 1px solid var(--border);
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text3); font-family: var(--font-mono);
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.cpp-upload {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 12px; transition: all 0.15s;
}
.cpp-upload:hover { border-color: var(--accent2); }
.cpp-photo {
  margin: 6px 8px 0; border-radius: 6px; overflow: hidden;
  cursor: pointer; position: relative; flex-shrink: 0;
  background: var(--bg3);
}
.cpp-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.cpp-photo-meta { padding: 4px 6px 6px; }
.cpp-author { font-size: 10px; font-weight: 600; color: var(--text2); }
.cpp-time { font-size: 9px; color: var(--text3); font-family: var(--font-mono); }
.cpp-empty { padding: 20px 10px; text-align: center; font-size: 11px; color: var(--text3); line-height: 1.5; }

/* GPS access tip */
.gps-tip {
  position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%);
  background: rgba(8,9,26,0.95); border: 1px solid var(--border2);
  border-radius: 10px; padding: 12px 16px; z-index: 450;
  max-width: 320px; width: 92vw; backdrop-filter: blur(8px);
  font-size: 12px; line-height: 1.6; color: var(--text2);
}
.gps-tip strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 13px; }
.gps-tip-close { float: right; background: none; border: none; color: var(--text3); cursor: pointer; font-size: 16px; line-height: 1; margin-left: 8px; }
