/* =====================================================================
   Raveheart design system (v2) — loaded after styles.css.
   Minimal, black, calm hierarchy; neon orange used sparingly as the accent.
   ===================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/fonts/inter-latin.woff2") format("woff2-variations"), url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2-variations"), url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-display: 2rem;      /* 32 */
  --fs-title: 1.75rem;     /* 28 page titles */
  --fs-h2: 1.375rem;       /* 22 */
  --fs-headline: 1.0625rem;/* 17 */
  --fs-body: 1rem;         /* 16 */
  --fs-callout: .9375rem;  /* 15 */
  --fs-sub: .875rem;       /* 14 */
  --fs-foot: .8125rem;     /* 13 */
  --fs-cap: .75rem;        /* 12 */
  --fw-light: 300; --fw-reg: 400; --fw-med: 500; --fw-semi: 600; --fw-bold: 650;
  --lh-tight: 1.2; --lh-snug: 1.35; --lh-body: 1.5;

  /* Color */
  --bg: #000; --bg2: #000;
  --surface: #0f0f10; --surface-2: #17171a; --surface-3: #222226;
  --card: var(--surface); --card2: var(--surface-2);
  --text: #f5f5f7; --text-2: #a1a1a6; --text-3: #8e8e93;
  --muted: var(--text-2); --dim: var(--text-3);
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.16);
  --accent: #ff5c00; --accent-press: #e65300; --accent-soft: rgba(255,92,0,.12); --on-accent: #000;
  --orange: var(--accent); --orange2: #ff8a3d;
  --danger: #ff453a; --ok: #30d158; --gold: #ffb020;

  /* Space + shape */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px; --s8: 48px;
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-pill: 999px;
  --tap: 44px; --btn-h: 52px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

html, body, button, input, textarea, select { font-family: var(--font); }
html, body { font-size: 100%; line-height: var(--lh-body); letter-spacing: -.006em;
  font-feature-settings: "cv11", "ss03"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body { font-size: var(--fs-body); font-weight: var(--fw-reg); color: var(--text); }
b, strong { font-weight: var(--fw-semi); }

/* App column: no glow; wider, centered column on iPad/desktop. */
#app { box-shadow: none; background: var(--bg); }
@media (min-width: 501px) and (min-height: 501px) {
  body { background: #000; }
  #app { max-width: 620px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .screen.has-tabs .tabbar { max-width: 620px; }
  .photo { height: min(62vh, 620px); }
}

/* ---------- Type scale ---------- */
.h2 { font-size: var(--fs-title); font-weight: var(--fw-semi); letter-spacing: -.022em; line-height: var(--lh-tight); }
.sub { color: var(--text-2); font-size: var(--fs-callout); line-height: var(--lh-body); }
.label { font-size: var(--fs-foot); font-weight: var(--fw-med); color: var(--text-3); letter-spacing: 0; text-transform: none; margin-bottom: var(--s2); }
.muted { color: var(--text-2); font-size: var(--fs-sub); }
.tiny { color: var(--text-3); font-size: var(--fs-cap); line-height: var(--lh-snug); }
.page-title { font-size: var(--fs-title); font-weight: var(--fw-semi); letter-spacing: -.024em; line-height: 1.1; margin: 0; color: var(--text); }
.wordmark { font-weight: var(--fw-semi); letter-spacing: .32em; }
.wordmark.grad { background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }
.splash h1 { font-weight: var(--fw-light); letter-spacing: .34em; font-size: 2.75rem; }
.splash p { color: var(--text-2); font-size: var(--fs-body); }
.demo-tag { font-size: var(--fs-cap); letter-spacing: .04em; color: var(--text-3); }
.example { color: var(--gold); font-weight: var(--fw-semi); letter-spacing: .04em; }
.match-wrap h2 { font-weight: var(--fw-semi); letter-spacing: -.02em; background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }
.price { font-weight: var(--fw-semi); }

/* ---------- Buttons ---------- */
.btn { height: var(--btn-h); min-height: var(--btn-h); border-radius: var(--r-md); font-size: var(--fs-headline);
  font-weight: var(--fw-semi); letter-spacing: -.01em; transition: transform .12s var(--ease), background-color .15s, opacity .15s; }
.btn.primary, a.btn.primary { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.btn.primary:active { background: var(--accent-press); transform: scale(.985); }
.btn.ghost { background: var(--surface-2); border: 0; color: var(--text); }
.btn.ghost:active { background: var(--surface-3); }
.btn.outline { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.btn.danger { background: rgba(255,69,58,.12); color: var(--danger); }
.btn.sm { height: var(--tap); min-height: var(--tap); border-radius: var(--r-sm); font-size: var(--fs-sub); padding: 0 var(--s4); }
.btn:focus-visible, .icon-btn:focus-visible, .tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.icon-btn { width: var(--tap); height: var(--tap); border: 0; background: transparent; color: var(--text); border-radius: 50%; font-size: 20px; }
.icon-btn:active { background: var(--surface-2); }
.icon-btn .kic, .tab .kic, .heart-fab .kic, .round .kic, .post-actions .kic { display: block; width: 22px; height: 22px; }
.icon-btn .badge { top: 2px; right: 2px; }
.chat-bar .icon-btn { width: var(--tap); height: var(--tap); }

/* Chips */
.chip { min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: transparent; font-size: var(--fs-sub); font-weight: var(--fw-med); }
.chip.on { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.chip.soft { background: var(--accent-soft); border-color: transparent; color: var(--orange2); font-weight: var(--fw-med); }
.pill { background: var(--accent-soft); border: 0; color: var(--orange2); font-weight: var(--fw-semi); font-size: var(--fs-cap); letter-spacing: 0; }
.seg { background: var(--surface-2); border-radius: var(--r-md); padding: 3px; }
.seg button { height: 38px; border-radius: 11px; font-size: var(--fs-sub); font-weight: var(--fw-med); }
.seg button.on { background: var(--surface-3); color: var(--text); }
.toggle { width: 51px; min-width: 51px; height: 31px; background: var(--surface-3); }
.toggle i { width: 27px; height: 27px; top: 2px; left: 2px; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.toggle.on { background: var(--accent); }
.toggle.on i { left: 22px; }

/* ---------- Inputs ---------- */
input, textarea, select { background: var(--surface-2); border: 1px solid transparent; border-radius: var(--r-md);
  font-size: var(--fs-body); color: var(--text); }
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]) { min-height: var(--btn-h); padding: 0 var(--s4); }
textarea { padding: 14px var(--s4); line-height: var(--lh-body); }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: none; }
.chat-bar input { border-radius: var(--r-pill); min-height: var(--tap) !important; }

/* ---------- Surfaces ---------- */
.card, .meta-card, .event, .plan, .set-group, .prompt, .upcoming-row, .notice, .nudge, .ios-tip, .meet-note-box {
  border: 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: none; }
.card { padding: var(--s4); }
.plan.on { box-shadow: inset 0 0 0 1.5px var(--accent); }
.notice { color: var(--text-2); background: var(--surface); }
.notice.warn { background: rgba(255,176,32,.08); color: #ffd98a; }
.notice.ok { background: rgba(48,209,88,.08); color: #a6f0b9; }
.nudge { background: var(--surface); }
.ios-tip { background: var(--surface); }
.prompt .q { color: var(--text-3); font-size: var(--fs-foot); font-weight: var(--fw-med); }
.prompt .a { font-weight: var(--fw-semi); font-size: 1.375rem; letter-spacing: -.02em; }
.founding-card { box-shadow: inset 0 0 0 1px rgba(255,92,0,.35); }
.founding-spots .num { text-shadow: none; font-weight: var(--fw-semi); }
.sheet { background: var(--surface); border-top: 0; border-radius: 24px 24px 0 0; padding-left: var(--s5); padding-right: var(--s5); }
.sheet-bg { background: rgba(0,0,0,.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.grab { background: var(--surface-3); width: 36px; height: 5px; }
.overlay .match-wrap { background: radial-gradient(circle at 50% 30%, rgba(255,92,0,.10), transparent 60%); }
.toast { background: var(--surface-2); border: 0; border-radius: var(--r-md); font-size: var(--fs-sub); font-weight: var(--fw-med); }
.toast.err { box-shadow: inset 3px 0 0 var(--danger); }
.toast.warn { box-shadow: inset 3px 0 0 var(--gold); }

/* List rows (settings and similar) */
.set-group { margin-bottom: var(--s6); }
.set-row { min-height: 56px; padding: 14px var(--s4); border-bottom: 1px solid var(--line); font-size: var(--fs-body); }
.set-row .tiny { margin-top: 2px; font-size: var(--fs-foot); color: var(--text-3); }
.set-row > span[aria-hidden="true"] { color: var(--text-3); font-size: 20px; }
.set-row:active:not(.static) { background: var(--surface-2); }

/* ---------- Header + tab bar ---------- */
.header { min-height: calc(56px + var(--safe-t)); padding: calc(8px + var(--safe-t)) var(--s4) var(--s2); }
/* Raveheart is longer than the old wordmark, so the in-app header uses tighter
   tracking, and the Discover likes-left chip hides the bead row so they don't overlap. */
.header .wordmark,
.header .wordmark.grad[style] {
  font-size: 15px !important;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.header:has(.pill) .beads { display: none; }
.header .beads .bead { box-shadow: inset 0 1px 2px rgba(255,255,255,.35); }
.bead { box-shadow: inset 0 2px 3px rgba(255,255,255,.35), inset 0 -2px 3px rgba(0,0,0,.25); }
.tabbar { background: rgba(0,0,0,.92); -webkit-backdrop-filter: saturate(140%) blur(20px); backdrop-filter: saturate(140%) blur(20px);
  border-top: 1px solid var(--line); padding-top: 4px; }
.tab { font-size: 10px; font-weight: var(--fw-med); letter-spacing: .01em; color: var(--text-3); gap: 3px; min-height: 50px; justify-content: center; }
.tab .ic { font-size: 22px; line-height: 0; }
.tab .kic { width: 24px; height: 24px; }
.tab.on { color: var(--text); }
.tab.on .ic { color: var(--accent); text-shadow: none; }
.badge { background: var(--accent); color: #000; font-weight: var(--fw-bold); font-size: 10px; box-shadow: 0 0 0 2px #000; }

/* ---------- Less glow, calmer accents ---------- */
.genre-badge, .chip.genre-pick, .raver-badge, .social-btn, .song-card, .badge-explain.on, .founder-badge, .ambassador-badge, .cam-badge, .round.like,
.fab-post, .song-play, .playing .song-play, .song-progress i, .share-av .av, .genre-badge .gb-ic, .genre-badge .gb-ic.ring, .genre-badge .gb-ic.spark {
  box-shadow: none !important; }
.genre-badge .gb-ic.bars { filter: none; }
.genre-badge { font-weight: var(--fw-semi); letter-spacing: .03em; }
.chip.genre-pick.on { box-shadow: none !important; }
.post-actions button.loved { text-shadow: none; }
.dot.on { box-shadow: none; }
.social-btn { background: var(--surface-2); border-color: transparent; color: var(--text); font-weight: var(--fw-med); }
.song-card { border-color: transparent; background: var(--surface); }
.song-card.playing { box-shadow: inset 0 0 0 1px var(--accent) !important; }
.song-play { box-shadow: 0 0 0 2px rgba(255,255,255,.85) !important; }
.playing .song-play { box-shadow: 0 0 0 2px var(--accent) !important; }
.song-title { font-weight: var(--fw-semi); color: var(--text); }
.share-av .av { box-shadow: 0 0 0 2px var(--accent) !important; }
.share-url { background: var(--surface-2); border-color: transparent; color: var(--text); font-weight: var(--fw-med); }
.cam-badge, .fab-post, .round.like, .story-ring-wrap .plus { background: var(--accent); color: #000; }
.fab-post { width: 56px; height: 56px; }
.round { background: var(--surface-2); border: 0; box-shadow: none; }
.heart-fab { background: rgba(0,0,0,.45); border: 0; }
.heart-fab.loved { background: var(--accent); color: #000; }
.story .ring, .story-ring.unseen .ring { background: var(--accent); }
.av.lg, .prof-av { border-color: transparent; }
.av { border-color: rgba(255,255,255,.08); }
.photo .who .nm { font-weight: var(--fw-semi); letter-spacing: -.02em; }
.photo { border-radius: var(--r-lg); }
.photo .grain { opacity: .12; }
.splash::before { background: radial-gradient(circle, rgba(255,92,0,.16), transparent 65%); filter: blur(20px); }
.splash::after { display: none; }
body.net-busy::before { background: linear-gradient(90deg, transparent, var(--accent), transparent); height: 2px; }
.feed-tabs button { height: 36px; border: 0; background: transparent; color: var(--text-3); font-weight: var(--fw-med); font-size: var(--fs-sub); border-radius: var(--r-pill); }
.feed-tabs button.on { background: var(--surface-2); color: var(--text); }
.post-view-toggle { border-color: transparent; background: var(--surface-2); }
.post-view-toggle button { background: transparent; }
.post-view-toggle button.on { background: var(--surface-3); box-shadow: none; color: var(--text); }
.notif.unread { background: var(--surface); }
.meet-banner, .meet-plan, .meet-note-box { background: var(--surface); border: 0; }
.photo-slot { border-color: transparent; background-color: var(--surface-2); }
.photo-slot.main { box-shadow: inset 0 0 0 2px var(--accent); }
.photo-slot.add { border-color: var(--line-strong); background-color: var(--surface); }
.big-pick, .pick-more { border-color: var(--line-strong); }

/* Weights: keep everything in the 400–650 range */
.post-hd .who .nm, .post-body .likes, .chat-head .nm, .prof-hero .nm, .crew-hero .nm, .crew-list-item .nm,
.story-text, .story-chrome .nm, .rec-time, .vip, .unread-pill, .founder-badge, .ambassador-badge, .story-ring .demo-tag, .photo-slot .main-tag,
.raver-badge, .genre-badge { font-weight: var(--fw-semi); }
.prof-hero .nm { font-size: var(--fs-h2); letter-spacing: -.02em; }
.post-hd .who .nm { font-size: var(--fs-callout); }
.post-hd .who .un { font-size: var(--fs-cap); color: var(--text-3); }
.post-body .cap { font-size: var(--fs-callout); line-height: var(--lh-body); white-space: pre-line; }
.post-body .likes { font-size: var(--fs-foot); color: var(--text-2); }
.post { border-bottom-color: var(--line); }

/* Chat */
.bubble { font-size: var(--fs-body); line-height: 1.4; padding: 10px 14px; border-radius: 20px; }
.bubble.them { background: var(--surface-2); }
.bubble.me { background: var(--accent); color: #000; }
.bubble.me .bubble-meta { opacity: .65; }
.bubble.sys { font-size: var(--fs-cap); color: var(--text-3); }
.chat-bar { background: #000; border-top: 1px solid var(--line); }

/* Empty + loading states */
.empty { padding: var(--s8) var(--s6); color: var(--text-2); font-size: var(--fs-callout); line-height: var(--lh-body); }
.empty .h2, .empty h2, .empty h3 { color: var(--text); }
.skeleton .sk { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; }
.spin { border-color: rgba(255,255,255,.18); border-top-color: var(--accent); border-right-color: rgba(255,255,255,.18); }
.btn[data-act].busy::after { border-color: currentColor; border-right-color: transparent; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* Higher contrast when the OS asks for it */
@media (prefers-contrast: more) {
  :root { --text-2: #d1d1d6; --text-3: #aeaeb2; --line: rgba(255,255,255,.22); }
}

/* Line icons */
.kic-wrap { display: inline-grid; place-items: center; line-height: 0; }
.kic { width: 22px; height: 22px; }
.kic.filled path { fill: currentColor; }
.loved .kic path, .heart-fab.loved .kic path { fill: currentColor; }
.round .kic { width: 26px; height: 26px; }
.round.like .kic { width: 28px; height: 28px; stroke-width: 2.6; }
.heart-fab .kic { width: 24px; height: 24px; }
.post-actions button { width: var(--tap); height: var(--tap); display: grid; place-items: center; }
.post-actions .kic { width: 24px; height: 24px; }
.fab-post .kic { width: 26px; height: 26px; }

/* Page headers: big calm titles instead of shouty wordmarks */
.header.page-header { padding-top: calc(10px + var(--safe-t)); }
.header.page-header .page-title { padding-left: 2px; }
.splash::before { left: 50%; top: -160px; transform: translateX(-50%); }

/* My songs (up to 5) */
.song-list { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border-radius: var(--r-lg); padding: 6px; }
.song-row { background: transparent; border: 0; border-radius: var(--r-md); padding: 6px; gap: 12px; }
.song-results .song-row { background: var(--surface); }
.song-row.playing { background: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(255,92,0,.55); }
.song-row .song-thumb { width: 52px; height: 52px; border-radius: 10px; }
.song-row .song-title { font-size: var(--fs-callout); font-weight: var(--fw-semi); }
.song-row .song-artist { font-size: var(--fs-foot); color: var(--text-2); }
.song-row .song-progress { background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.song-row .song-progress i { background: var(--accent); }
.song-am-link { color: var(--text-2); flex-shrink: 0; }
.song-am-link:active { color: var(--accent); }
.song-edit-btns { display: flex; gap: 0; flex-shrink: 0; }
.song-edit-btns .icon-btn { width: 40px; height: 44px; border-radius: 10px; color: var(--text-2); }
.song-edit-btns .icon-btn .kic { width: 20px; height: 20px; }
.song-edit-btns .icon-btn:disabled { opacity: .25; pointer-events: none; }
.song-num { width: 16px; text-align: center; font-size: var(--fs-foot); color: var(--text-3); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.song-list.edit .song-row { padding: 4px 2px 4px 6px; gap: 10px; }
.song-added { color: var(--text-3); padding: 0 8px; }
.song-credit { margin-top: 6px; }
.song-strip { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px; }
.song-strip::-webkit-scrollbar { display: none; }
.song-tile { flex: 0 0 72px; width: 72px; }
.song-tile .song-thumb { width: 72px; height: 72px; border-radius: 12px; }
.song-tile.playing .song-thumb { box-shadow: 0 0 0 2px var(--accent); }
.song-tile-nm { margin-top: 4px; font-size: var(--fs-cap); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-thumb .song-play.sm { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.song-tile.loading .song-play::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); border-right-color: transparent; animation: kspin .8s linear infinite; }
.song-row .song-row-meta { flex: 1 1 auto; min-width: 0; }
.song-row .song-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-row .song-artist { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Profile videos: poster + play badge, inline playback ---- */
.vid-tile { position: relative; overflow: hidden; border-radius: var(--r-md, 14px); background: #111 center/cover no-repeat; aspect-ratio: 3 / 4; }
.vid-tile.big { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-lg, 20px); }
.vid-tile .vid-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; pointer-events: none; z-index: 1; }
.vid-tile .vid-hit { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; padding: 0; margin: 0; z-index: 3; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vid-tile .vid-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; z-index: 2; pointer-events: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vid-tile .vid-badge .k-icon, .vid-tile .vid-badge svg { width: 22px; height: 22px; margin-left: 3px; }
.photo-strip .vid-tile .vid-badge { width: 36px; height: 36px; }
.photo-strip .vid-tile .vid-badge svg { width: 16px; height: 16px; }
.vid-tile.playing .vid-badge { display: none; }
.vid-dur { position: absolute; right: 8px; bottom: 8px; z-index: 2; pointer-events: none; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,.6); padding: 2px 7px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.vid-tile.playing .vid-dur { display: none; }
.vid-sound { position: absolute; right: 8px; bottom: 8px; z-index: 4; pointer-events: auto; width: 44px; height: 44px; border: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vid-sound svg, .vid-sound .kic { width: 20px; height: 20px; }
.vid-sound .on { display: none; }
.vid-tile.sound .vid-sound .on { display: contents; }
.vid-tile.sound .vid-sound .off { display: none; }
.vid-tile .heart-fab { z-index: 4; }
.photo-strip .vid-tile.photo-strip-item { aspect-ratio: auto; }
.prof-videos { margin: 14px 0 6px; }
.prof-videos .label { margin-bottom: 8px; }
.vid-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo-slot.video { background-color: #111; background-size: cover; background-position: center; }
.photo-slot .slot-vid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; pointer-events: none; }
.photo-slot .slot-vid svg { width: 18px; height: 18px; margin-left: 2px; }
.add-video-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; }
.add-video-btn svg { width: 20px; height: 20px; }
.vid-tile.big .vid-dur, .vid-tile.big .vid-sound { right: auto; left: 12px; bottom: 12px; }

/* ---- Shows I'm going to: field + searchable multi-select sheet ---- */
.show-field { margin: 6px 0 4px; }
.show-field-btn { width: 100%; min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: var(--r-md, 14px); background: var(--surface-2); border: 1px solid var(--surface-3); color: var(--text); font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.show-field-btn .grow { flex: 1; min-width: 0; }
.show-field-btn svg { width: 20px; height: 20px; color: var(--text-2); flex: 0 0 auto; }
.show-field-btn:active { background: var(--surface-3); }
.show-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.show-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 36px; padding-left: 12px; border-radius: 999px; background: rgba(255, 92, 0, .14); border: 1px solid rgba(255, 92, 0, .45); color: var(--text); font-size: 14px; }
.show-chip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.show-chip-x { position: relative; flex: 0 0 auto; width: 32px; height: 36px; margin: 0 2px 0 -4px; border: 0; background: transparent; color: var(--text-2); font-size: 18px; line-height: 1; cursor: pointer; }
.show-chip-x::after { content: ""; position: absolute; inset: -4px -6px; } /* 44px tap target */
.sheet.show-pick { display: flex; flex-direction: column; height: min(88%, 760px); max-height: 88%; overflow: hidden; padding-bottom: 0; }
.screen.has-tabs .sheet.show-pick { max-height: 88%; padding-bottom: 0; }
.show-pick-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.show-pick-head .h2 { margin: 0; font-size: 22px; }
.show-search { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border-radius: var(--r-md, 14px); background: var(--surface-2); border: 1px solid var(--surface-3); }
.show-search svg { width: 18px; height: 18px; color: var(--text-3); flex: 0 0 auto; }
.show-search input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; padding: 0 !important; margin: 0 !important; height: 46px; font-size: 16px; color: var(--text); box-shadow: none !important; outline: none; -webkit-appearance: none; appearance: none; }
.show-pick-cats { margin: 10px 0 6px; }
.show-pick-list { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; margin: 0 calc(-1 * var(--s5, 20px)); padding: 0 var(--s5, 20px) 8px; }
.show-group[hidden], .show-opt[hidden] { display: none !important; }
.show-day { position: sticky; top: 0; z-index: 1; background: var(--surface); padding: 12px 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text-2); text-transform: uppercase; }
.show-opt { width: 100%; min-height: 56px; display: flex; align-items: center; gap: 12px; padding: 8px 4px; border: 0; border-bottom: 1px solid var(--surface-3); background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.show-opt:active { background: var(--surface-2); }
.show-check { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--text-3); display: grid; place-items: center; color: transparent; }
.show-check svg { width: 16px; height: 16px; }
.show-opt.on .show-check { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.show-opt-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.show-opt-name { font-size: 16px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.show-opt-meta { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.show-pick-empty { padding: 16px 0; }
.show-pick-foot { padding: 10px 0 calc(12px + var(--safe-b, 0px)); border-top: 1px solid var(--surface-3); background: var(--surface); }
.sheet-bg.show-pick-bg, .screen.has-tabs .sheet-bg.show-pick-bg { z-index: 75; bottom: 0; }
.screen.has-tabs .sheet.show-pick { max-height: calc(100% - 56px - var(--safe-t, 0px)); }

.sheet-bg.invite-show-bg, .screen.has-tabs .sheet-bg.invite-show-bg { z-index: 75; }
.invite-card-hit { display: block; width: 100%; text-align: left; background: transparent; border: 0; color: inherit; padding: 0; font: inherit; cursor: pointer; }
.invite-card-name { font-weight: 600; margin-bottom: 2px; }
.invite-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.invite-actions .btn { flex: 1; min-width: 0; }
.invite-status { margin-top: 8px; opacity: .8; }
.bubble.show_invite { min-width: 220px; max-width: 86%; }
.show-land-art { width: 100%; height: 220px; border-radius: 16px; margin-top: 18px; background: linear-gradient(160deg, #140800, #3a1400 55%, #ff5c00); display: grid; place-items: center; font-size: 42px; overflow: hidden; position: relative; }
.show-land-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.show-land-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; text-align: center; background: linear-gradient(160deg, #140800, #3a1400 50%, #ff5c00); }
.show-land-fallback[hidden] { display: none !important; }
.show-land-k { letter-spacing: .28em; text-transform: uppercase; font-size: 11px; font-weight: 800; color: #ffb07a; }
.show-land-name { font-size: 22px; font-weight: 700; margin-top: 8px; line-height: 1.2; color: #fff7f0; }
.show-land-meta { font-size: 13px; color: rgba(255,247,240,.8); margin-top: 4px; }

.trust-note { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; padding: 11px 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.03); color: var(--muted); font-size: 12.5px; line-height: 1.45; text-align: left; font-weight: 400; }
.trust-note svg, .trust-note .kic { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 1px; opacity: .65; color: #c4c4c4; }
.empty .trust-note { margin-top: 16px; max-width: 360px; }
.verified-badge { display: inline-grid; place-items: center; vertical-align: -2px; margin-left: 5px; width: 17px; height: 17px; border-radius: 50%; background: var(--accent); color: #000; box-shadow: 0 0 8px rgba(255,92,0,.55); }
.verified-badge svg, .verified-badge .kic { width: 12px; height: 12px; stroke-width: 3; }
.verify-card { margin-top: 16px; padding: 18px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.03); text-align: center; }
.verify-pose { width: 48px; height: 48px; margin: 0 auto 8px; display: grid; place-items: center; color: #c8c8c8; }
.verify-pose svg, .verify-pose .kic { width: 28px; height: 28px; }
.verify-preview { width: 100%; max-width: 280px; height: 280px; margin: 16px auto 0; border-radius: 16px; background: #111 center/cover no-repeat; border: 1px solid rgba(255,255,255,.08); }
.admin-verify-card { margin-bottom: 16px; padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.03); }
.admin-compare { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.admin-ph { width: 100%; aspect-ratio: 1; border-radius: 12px; background: #111 center/cover no-repeat; border: 1px solid rgba(255,255,255,.08); }
.admin-ph.selfie { max-width: 160px; }
.admin-ph-row { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-ph-row .admin-ph { width: 72px; min-width: 72px; }

.tagline { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; margin: 18px 0 0; line-height: 1.2; }
.tag-sub { margin-top: 8px; }
.chip.soft.meet-intent, .chip.soft.match-kind { border-color: rgba(255,255,255,.18); letter-spacing: 0.01em; }
.mode-toggle { display: flex; gap: 0; margin: 10px 16px 12px; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.scroll.pad > .mode-toggle { margin-left: 0; margin-right: 0; }
.mode-toggle button, .mode-toggle span { flex: 1; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 9px; text-align: center; }
.mode-toggle button.on, .mode-toggle span.on { background: rgba(255,255,255,.12); color: #fff; }
.mode-toggle.single { max-width: 180px; }
.match-kind { margin-left: 6px; font-weight: 500; font-size: 11px; vertical-align: 1px; }

.invite-banner { margin-top: 16px; padding: 14px 14px 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.03); text-align: left; }
.invite-card { margin-top: 8px; padding: 20px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.03); text-align: center; }
.invite-code-wrap { margin-top: 18px; }
.invite-code { font-size: 28px; font-weight: 700; letter-spacing: 0.14em; margin-top: 6px; }
.invite-progress { margin-top: 18px; }
.invite-progress-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.invite-progress-bar span { display: block; height: 100%; border-radius: 99px; background: #fff; }
.ambassador-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; vertical-align: 1px; border: 1px solid rgba(255,255,255,.28); color: #f2f2f2; }
.ambassador-badge.lg { display: inline-block; margin: 0 0 10px; padding: 5px 12px; font-size: 13px; }
.admin-ref-list { display: flex; flex-direction: column; gap: 10px; }

/* ---- Profile page, round 2: cover-hero, section cards, tighter actions ---- */
/* Scrolling: the page body scrolls on its own and always clears the tab bar, notch and home indicator. */
.scroll { overscroll-behavior-y: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.scroll.pf-scroll, .overlay > .scroll.pad { padding-bottom: calc(var(--s7) + var(--safe-b)); }
.overlay > .scroll { min-height: 0; }
body.safety-dock-on .scroll.pf-scroll { padding-bottom: calc(96px + var(--safe-b)); }

.pf-page { display: flex; flex-direction: column; gap: 18px; padding-top: 2px; padding-bottom: 8px; }

/* Hero: rounded cover with name on a gradient, neon glow */
.pf-hero {
  background: var(--surface);
  border: 1px solid rgba(255,92,0,.22);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,92,0,.06), 0 12px 40px rgba(255,92,0,.16);
}
.pf-cover {
  position: relative;
  height: 280px;
  background: #140800 center/cover no-repeat;
  isolation: isolate;
}
.pf-cover.no-photo { background-image: none; }
.pf-cover-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 20%, rgba(0,0,0,.35) 52%, rgba(0,0,0,.88) 100%);
}
.pf-cover-emoji {
  position: absolute; left: 50%; top: 38%; transform: translate(-50%,-50%);
  font-size: 88px; opacity: .28; pointer-events: none; filter: drop-shadow(0 8px 24px rgba(255,92,0,.35));
}
.pf-cover-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; gap: 12px;
  padding: 16px 16px 18px;
  z-index: 1;
}
.pf-hero .pf-cover .avatar-ring-lg { width: 86px; height: 86px; padding: 3px; flex-shrink: 0;
  background: transparent;
  filter: drop-shadow(0 0 16px rgba(255,92,0,.45));
}
.pf-hero .pf-cover .avatar-ring-lg .av,
.pf-hero .pf-cover .avatar-ring-lg .prof-av { width: 76px; height: 76px; border-color: rgba(255,255,255,.18); }
.pf-id { min-width: 0; flex: 1; padding-bottom: 2px; }
.pf-id .nm, .pf-cover-meta .nm {
  font-size: 1.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: -.03em;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,.55);
  overflow-wrap: anywhere;
}
.pf-handle {
  margin-top: 4px;
  font-size: var(--fs-sub);
  color: rgba(255,247,240,.82);
  overflow-wrap: anywhere;
}
.pf-hero-body { padding: 14px 16px 16px; }
.pf-hero-body .genre-row { margin: 0 0 10px; }
.pf-hero-body .social-links { margin: 0 0 12px; }
.pf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pf-stats span, .pf-stats > span { text-align: center; color: inherit; }
.pf-stats strong { font-size: 1.0625rem; font-weight: var(--fw-bold); letter-spacing: -.02em; }
.pf-stats .tiny { display: block; margin-top: 1px; color: var(--text-3); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.pf-actions { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.pf-actions .pf-edit { width: 100%; height: 44px; border-radius: var(--r-pill); font-weight: var(--fw-semi); }
.pf-actions-row { display: flex; gap: 8px; }
.pf-actions-row .btn {
  flex: 1 1 0; min-width: 0; height: 38px;
  padding: 0 10px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: var(--fw-semi);
  white-space: nowrap;
}
.pf-actions-row .btn.primary:only-child { height: 44px; font-size: 15px; }

/* Sections as consistent cards */
.pf-sec {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
}
.pf-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin: 0 0 12px; }
.pf-title, .pf-sec .kandi-col-head .label, .pf-sec .prof-crew .row .label, .pf-sec .posts-heading .label {
  margin: 0;
  font-size: 16px;
  font-weight: var(--fw-bold);
  letter-spacing: -.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pf-ico, .pf-title .kic, .pf-sec .kandi-col-head .label .kic, .pf-sec .prof-crew .row .label .kic, .pf-sec .posts-heading .label .kic {
  width: 18px; height: 18px; flex: none; color: var(--accent);
}
/* Keep a slim neon tick, plus the icon */
.pf-title::before, .pf-sec .kandi-col-head .label::before, .pf-sec .prof-crew .row .label::before, .pf-sec .posts-heading .label::before,
.ef-title::before { content: ""; flex: none; width: 3px; height: 16px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 8px rgba(255,92,0,.7); }
.pf-sec .label { font-size: var(--fs-foot); font-weight: var(--fw-semi); color: var(--text-2); margin: var(--s4) 0 var(--s2); }
.pf-sec .pf-head + .label, .pf-sec > .label:first-child { margin-top: 0; }
.pf-sec .prof-bio { margin: 0 0 12px; font-size: var(--fs-callout); line-height: 1.5; }
.pf-sec .prof-chips { margin: 0 0 14px; }
.pf-sec .prof-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin: 0; }
.pf-sec .prof-fact { min-width: 0; }
.pf-sec .prof-fact .label { font-size: 10px; font-weight: var(--fw-semi); color: var(--text-3); margin: 0 0 3px; letter-spacing: .08em; text-transform: uppercase; }
.pf-sec .prof-fact-val { font-size: var(--fs-callout); overflow-wrap: anywhere; }
.pf-sec .pf-prompt { padding: 14px; margin: 12px 0 0; border-radius: 14px; background: var(--surface-2); border-color: transparent; }
.pf-sec .pf-prompt .q { font-size: var(--fs-cap); }
.pf-sec .pf-prompt .a { font-size: 17px; margin-top: 4px; }

.pf-sec .photo-strip { margin: 0; gap: 10px; }
.pf-sec .photo-strip-item { flex: 0 0 112px; width: 112px; height: 148px; border-radius: 16px; }
.pf-sec .prof-song, .pf-sec .prof-artists, .pf-sec .prof-tunes, .pf-sec .prof-videos, .pf-sec .kandi-collection, .pf-sec .prof-crew { margin: 0; }
.pf-sec .prof-song + .prof-artists, .pf-sec .prof-song + .prof-tunes, .pf-sec .prof-artists + .prof-tunes { margin-top: 16px; }
.pf-sec .upcoming-list { margin: 0; gap: 8px; }
.pf-sec .upcoming-row { border-radius: 14px; }
.pf-sec .posts-toolbar { margin: 0 0 12px; }
.pf-sec .profile-feed { margin: 0 -16px; }
.pf-sec .kandi-col-head { flex-direction: column; align-items: stretch; margin-bottom: 12px; gap: 12px; }
.pf-sec .kandi-col-head > div { min-width: 0; width: 100%; }
.pf-sec .kandi-col-btns .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; height: 36px; padding: 0 12px; border-radius: var(--r-pill); }
.pf-sec .prof-crew .row { align-items: center; }
.pf-more { width: 100%; margin-top: 10px; height: 38px; border-radius: var(--r-pill); }

.pf-empty { text-align: center; padding: 18px 8px 8px; }
.pf-empty .tiny, .pf-empty p { margin: 0 auto 12px; max-width: 260px; color: var(--text-3); }
.pf-empty-ico, .pf-empty .kic { width: 28px; height: 28px; color: var(--accent); opacity: .9; margin: 0 auto 8px; display: block; }
.pf-empty .btn { margin: 0 auto; }
.pf-sec .empty { padding: 16px 8px; text-align: center; }

.pf-links { margin-bottom: 0; }
.pf-links .set-row:last-child { border-bottom: 0; }
.pf-foot { margin-top: 4px; }
.pf-foot .btn { width: 100%; border-radius: var(--r-pill); }

/* Edit profile: grouped, headed sections */
.ef-page { display: flex; flex-direction: column; gap: var(--s6); padding-top: var(--s2); }
.ef-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s4); }
.ef-title { margin: 0 0 var(--s3); font-size: var(--fs-headline); font-weight: var(--fw-bold); display: flex; align-items: center; gap: 8px; }
.ef-hint { margin: -6px 0 var(--s3); color: var(--text-3); }
.ef-sec .label:first-child { margin-top: 0; }

.pf-cover-meta .verified-badge { color: #000; }
.pf-cover-meta .ambassador-badge, .pf-cover-meta .founder-badge { vertical-align: middle; }


/* ---- Full-screen profile photo viewer ---- */
.media-viewer {
  position: absolute; inset: 0; z-index: 85;
  background: #000; color: #fff;
  touch-action: none;
  -webkit-user-select: none; user-select: none;
}
.mv-close {
  position: absolute; z-index: 3;
  top: calc(8px + var(--safe-t, 0px));
  left: max(8px, env(safe-area-inset-left, 0px));
  width: 44px; height: 44px;
  background: rgba(0,0,0,.45); color: #fff;
  border-radius: 50%;
}
.mv-close:active { background: rgba(255,255,255,.16); }
.mv-counter {
  position: absolute; z-index: 3;
  top: calc(16px + var(--safe-t, 0px));
  left: 0; right: 0;
  text-align: center;
  font-size: 13px; font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255,255,255,.92);
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.mv-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: calc(56px + var(--safe-t, 0px)) 0 calc(24px + var(--safe-b, 0px));
  overflow: hidden;
}
.mv-frame {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transform-origin: center center;
  will-change: transform;
}
.mv-media {
  display: block;
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  background: #000;
  -webkit-user-drag: none;
}
.mv-media.mv-emoji {
  width: min(100%, 420px); height: min(100%, 420px);
  display: grid; place-items: center;
  font-size: 96px;
  border-radius: 8px;
}
.mv-media.mv-emoji span { filter: drop-shadow(0 8px 24px rgba(0,0,0,.4)); }
video.mv-media { width: 100%; height: 100%; }
body.photo-viewer-open { overflow: hidden; }
button.photo-strip-item {
  border: 0; padding: 0; color: inherit; font: inherit;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pf-cover[data-act="photo-view"],
.photo[data-act="photo-view"],
button.photo-strip-item[data-act="photo-view"] {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Selfie verification v2: banner, blocking screen, admin actions */
.selfie-nudge { margin: 8px 14px 10px; border: 1px solid rgba(255,92,0,.35); background: linear-gradient(135deg, rgba(255,92,0,.14), rgba(255,92,0,.04)); }
.scroll.pad > .selfie-nudge { margin: 0 0 12px; }
.selfie-nudge-ic, .selfie-gate-ic { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #000; box-shadow: 0 0 14px rgba(255,92,0,.55); }
.selfie-nudge-ic svg, .selfie-nudge-ic .kic { width: 18px; height: 18px; stroke-width: 3; }
.selfie-gate-ic { width: 64px; height: 64px; margin: 0 auto 14px; box-shadow: 0 0 28px rgba(255,92,0,.6); }
.selfie-gate-ic svg, .selfie-gate-ic .kic { width: 34px; height: 34px; stroke-width: 3; }
.verify-alt { display: block; margin-top: 10px; text-align: center; font-size: var(--fs-foot); color: var(--accent); text-decoration: underline; cursor: pointer; }
.admin-flags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 6px; }
.admin-flag { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--text-2); text-transform: capitalize; }
.admin-flag.req { background: rgba(255,92,0,.16); color: var(--accent); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.admin-actions .btn { width: auto; flex: 0 0 auto; }
.btn.danger-ghost { background: transparent; color: var(--danger); border: 1px solid rgba(255,69,58,.45); }
.admin-ph-empty { display: grid; place-items: center; text-align: center; }
.admin-modal-bg { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.72); display: grid; place-items: center; padding: 20px; }
.admin-modal { width: 100%; max-width: 380px; padding: 20px; border-radius: 20px; background: var(--surface-2); border: 1px solid rgba(255,69,58,.35); }

/* ---------- Home city picker (sign-up + Edit Profile) ---------- */
.city-picker { position: relative; }
.city-input-wrap { position: relative; }
.city-input-wrap .city-pin { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--accent); pointer-events: none; }
.city-picker .city-input-wrap input { padding-left: 44px !important; width: 100%; }
.city-input-wrap input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.city-results { display: flex; flex-direction: column; margin-top: var(--s2); }
.city-results:empty { display: none; }
.city-head { font-size: var(--fs-cap); font-weight: var(--fw-semi); color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; margin: var(--s2) 2px var(--s2); }
.city-opt { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: var(--tap); padding: 10px 14px; margin-bottom: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--text); font-size: var(--fs-callout); text-align: left; width: 100%; }
.city-opt .nm { font-weight: var(--fw-med); }
.city-opt .st { color: var(--text-3); font-size: var(--fs-foot); white-space: nowrap; }
.city-opt:active, .city-opt:focus-visible { border-color: var(--accent); background: var(--accent-soft); outline: none; }
.city-opt.custom .nm { color: var(--orange2); }
.city-empty, .city-loading { color: var(--text-3); font-size: var(--fs-sub); padding: 8px 2px; }
.city-gps { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s1); padding: 8px 2px; min-height: var(--tap); background: none; border: 0; color: var(--accent); font-size: var(--fs-callout); font-weight: var(--fw-semi); }
.city-err { color: var(--danger); font-size: var(--fs-sub); margin-top: 6px; }
.city-err:empty { display: none; }
.city-chosen { display: flex; align-items: center; gap: var(--s3); padding: 16px; background: var(--accent-soft); border: 1px solid rgba(255,92,0,.45); border-radius: var(--r-lg); }
.city-chosen .city-pin { color: var(--accent); flex: none; }
.city-chosen .nm { flex: 1; font-size: var(--fs-headline); font-weight: var(--fw-semi); color: var(--text); }
.city-change { background: none; border: 0; color: var(--accent); font-weight: var(--fw-semi); font-size: var(--fs-callout); min-height: var(--tap); padding: 0 4px; }
.chip.soft.city-chip::before { content: ""; display: inline-block; width: 9px; height: 11px; margin-right: 5px; vertical-align: -1px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") center/contain no-repeat; }
