:root {
  --bg: #0e0c0a;
  --bg-warm: #14110d;
  --surface: #1a1611;
  --surface-2: #211c15;
  --border: #332c22;
  --border-soft: #241f19;
  --text: #f3ede1;
  --muted: #a89a86;
  --muted-2: #7c705f;
  --accent: #ff5a36;
  --accent-ink: #2a0d02;
  --accent-soft: rgba(255, 90, 54, 0.14);
  --gold: #e3ab45;
  --gold-soft: rgba(227, 171, 69, 0.14);
  --danger: #ef5a4c;
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --r-sm: 6px;
  --r-md: 10px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 42px 42px;
  background-position: -1px -1px;
  color: var(--text);
  min-height: 100vh;
}
.hidden { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Auth ---------- */
#auth-screen { min-height: 100vh; display: flex; align-items: stretch; justify-content: center; }
.auth-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  width: 100%;
  max-width: 980px;
  margin: auto;
  min-height: 560px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.auth-pitch {
  padding: 48px 44px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-warm);
}
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  border-radius: var(--r-sm);
}
.logo-mark.small { width: 24px; height: 24px; font-size: 13px; }
.auth-pitch h1 {
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: 46px; margin: 18px 0 10px; letter-spacing: -0.5px;
}
.tagline { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 0 0 32px; }
.pitch-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pitch-list li { display: flex; align-items: baseline; gap: 12px; font-size: 14px; color: var(--text); }
.pitch-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }

.auth-panel { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.tabs { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.tab-btn { flex: 1; padding: 10px 0; border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; font-family: var(--font-sans); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-btn.active { color: var(--text); border-bottom-color: var(--accent); }
.auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-form input {
  padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); font-size: 14px; font-family: var(--font-sans);
}
.auth-form input::placeholder { color: var(--muted-2); }
.auth-form input:focus { outline: none; border-color: var(--accent); }
.auth-form button {
  margin-top: 6px; padding: 12px; border-radius: var(--r-sm); border: none;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; cursor: pointer;
  font-size: 14px; font-family: var(--font-sans);
}
.error { color: var(--danger); font-size: 13px; min-height: 16px; margin: 2px 0 0; }
.fine-print { color: var(--muted-2); font-size: 12px; margin-top: 22px; line-height: 1.5; }

@media (max-width: 760px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-pitch { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 28px; }
  .auth-panel { padding: 36px 28px; }
}

/* ---------- App shell ---------- */
.topbar { display: flex; align-items: center; gap: 20px; padding: 14px 24px; border-bottom: 1px solid var(--border); background: var(--bg-warm); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand.small { font-family: var(--font-display); font-style: italic; font-size: 17px; }
.nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; }
.nav-btn { position: relative; padding: 7px 13px; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-family: var(--font-sans); font-weight: 500; white-space: nowrap; }
.nav-btn.active { background: var(--accent-soft); color: var(--accent); }
.level-pill { background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold); padding: 4px 11px; border-radius: var(--r-sm); font-size: 12px; font-family: var(--font-mono); font-weight: 500; white-space: nowrap; }
.ghost-btn { background: transparent; border: 1px solid var(--border); color: var(--muted); padding: 7px 13px; border-radius: var(--r-sm); cursor: pointer; font-size: 13px; font-family: var(--font-sans); }
.ghost-btn:hover { color: var(--text); border-color: var(--muted); }
.icon-btn { position: relative; background: transparent; border: 1px solid var(--border); color: var(--muted); border-radius: var(--r-sm); width: 34px; height: 34px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.icon-btn:hover { color: var(--text); border-color: var(--muted); }
.badge-dot { position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 1px solid var(--bg-warm); }
.nav-btn .badge-dot { top: 2px; right: -2px; }

.content { max-width: 640px; margin: 0 auto; padding: 28px 24px; }
.view-intro { color: var(--muted); font-size: 13px; margin-bottom: 18px; line-height: 1.6; }
.section-title { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--text); margin: 26px 0 12px; font-weight: 500; }

.notif-panel { position: absolute; right: 24px; top: 62px; width: 320px; max-height: 400px; overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: 0 20px 50px rgba(0,0,0,0.5); z-index: 20; }
.notif-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 600; }
.ghost-btn.small { padding: 4px 10px; font-size: 11px; }
.notif-list { display: flex; flex-direction: column; }
.notif-item { padding: 10px 14px; border-bottom: 1px solid var(--border-soft); font-size: 12px; color: var(--muted); }
.notif-item.unread { background: var(--accent-soft); }
.notif-item b { color: var(--text); }

/* ---------- Post form / feed ---------- */
.post-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; margin-bottom: 22px; }
.post-form textarea { width: 100%; min-height: 66px; resize: vertical; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px; font-size: 14px; font-family: var(--font-sans); }
.post-form textarea:focus { outline: none; border-color: var(--accent); }
.post-form-row { display: flex; gap: 10px; margin-top: 10px; align-items: center; justify-content: space-between; }
.xp-hint { color: var(--gold); font-size: 11px; font-family: var(--font-mono); }
.post-form-row button { padding: 9px 16px; border-radius: var(--r-sm); border: none; background: var(--accent); color: var(--accent-ink); font-weight: 600; cursor: pointer; font-size: 13px; white-space: nowrap; font-family: var(--font-sans); }
.attach-btn { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 11px; cursor: pointer; display: inline-flex; align-items: center; color: var(--muted); }
.attach-btn:hover { color: var(--text); }

.image-preview { position: relative; margin-top: 10px; display: inline-block; }
.image-preview img { max-width: 100%; max-height: 220px; border-radius: var(--r-sm); border: 1px solid var(--border); }
.image-preview button { position: absolute; top: 6px; right: 6px; background: rgba(14,12,10,0.85); color: var(--text); border: none; border-radius: var(--r-sm); padding: 4px 10px; font-size: 11px; cursor: pointer; }
.post-image { max-width: 100%; border-radius: var(--r-sm); margin-bottom: 10px; display: block; }

.feed-list { display: flex; flex-direction: column; gap: 12px; }
.empty-state { color: var(--muted-2); text-align: center; padding: 40px 0; font-size: 14px; }

.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mini-avatar { width: 30px; height: 30px; border-radius: var(--r-sm); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; color: var(--accent-ink); font-family: var(--font-display); }
.post-author-col { flex: 1; }
.post-author { font-weight: 600; font-size: 13.5px; display: block; }
.post-time { color: var(--muted-2); font-size: 11px; font-family: var(--font-mono); }
.post-text { font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; margin-bottom: 10px; }
.post-actions { display: flex; gap: 8px; }
.post-actions button { background: transparent; border: 1px solid var(--border); color: var(--muted); padding: 6px 11px; border-radius: var(--r-sm); cursor: pointer; font-size: 11.5px; font-family: var(--font-sans); }
.post-actions button.active { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.ai-box { margin-top: 10px; border-top: 1px solid var(--border-soft); padding-top: 10px; font-size: 12px; color: var(--muted); }
.ai-summary { color: var(--text); margin-bottom: 8px; font-family: var(--font-display); font-style: italic; font-size: 14px; }
.ai-suggestions { display: flex; flex-direction: column; gap: 4px; }
.ai-suggestion-btn { text-align: left; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); padding: 7px 10px; border-radius: var(--r-sm); cursor: pointer; font-size: 12px; font-family: var(--font-sans); }
.comments-box { margin-top: 10px; border-top: 1px solid var(--border-soft); padding-top: 10px; }
.comment-item { font-size: 12.5px; margin-bottom: 6px; color: var(--muted); }
.comment-item b { color: var(--text); }
.comment-form { display: flex; gap: 8px; margin-top: 8px; }
.comment-form input { flex: 1; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 10px; color: var(--text); font-size: 13px; font-family: var(--font-sans); }
.comment-form button { background: var(--border); border: none; color: var(--text); border-radius: var(--r-sm); padding: 8px 12px; cursor: pointer; font-size: 12px; }
.mini-actions { display: flex; gap: 6px; }
.mini-actions button { background: transparent; border: 1px solid var(--border); color: var(--muted-2); padding: 4px 9px; border-radius: var(--r-sm); font-size: 11px; cursor: pointer; font-family: var(--font-sans); }
.mini-actions button.danger { color: var(--danger); border-color: var(--danger); }

/* ---------- Pools / rooms / market shared cards ---------- */
.pools-list { display: flex; flex-direction: column; gap: 10px; }
.pool-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 15px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pool-name { font-weight: 600; font-size: 14.5px; }
.pool-desc { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.pool-count { color: var(--muted-2); font-size: 11px; margin-top: 6px; font-family: var(--font-mono); }
.pool-join-btn { background: var(--accent); color: var(--accent-ink); border: none; padding: 8px 15px; border-radius: var(--r-sm); font-weight: 600; cursor: pointer; font-size: 12.5px; white-space: nowrap; font-family: var(--font-sans); }
.pool-join-btn.joined { background: transparent; border: 1px solid var(--accent); color: var(--accent); }

.room-detail { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; margin-top: 16px; }
.room-messages { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.room-message { font-size: 12.5px; color: var(--muted); }
.room-message b { color: var(--text); }
.room-send-form { display: flex; gap: 8px; }
.room-send-form input { flex: 1; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 10px; color: var(--text); font-family: var(--font-sans); }
.room-send-form button { background: var(--accent); color: var(--accent-ink); border: none; border-radius: var(--r-sm); padding: 8px 14px; font-weight: 600; cursor: pointer; }

.audio-controls { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.audio-controls button { background: var(--accent); color: var(--accent-ink); border: none; padding: 8px 14px; border-radius: var(--r-sm); font-weight: 600; cursor: pointer; font-size: 12px; font-family: var(--font-sans); }
.audio-controls button.active { background: var(--danger); color: #2a0402; }
.audio-peer-tag { font-size: 11px; color: var(--muted-2); border: 1px solid var(--border); padding: 3px 9px; border-radius: var(--r-sm); font-family: var(--font-mono); }

.listing-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.listing-form input { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 12px; color: var(--text); font-size: 13px; font-family: var(--font-sans); }
.listing-form button { background: var(--accent); color: var(--accent-ink); border: none; padding: 10px; border-radius: var(--r-sm); font-weight: 600; cursor: pointer; font-size: 13px; font-family: var(--font-sans); }
.listing-price { color: var(--gold); font-weight: 600; font-family: var(--font-mono); }
.sold-tag { color: var(--muted-2); font-size: 11px; border: 1px solid var(--border); padding: 3px 10px; border-radius: var(--r-sm); font-family: var(--font-mono); }

.dm-messages { display: flex; flex-direction: column; gap: 8px; max-height: 400px; }
.dm-msg { max-width: 75%; padding: 8px 12px; border-radius: var(--r-sm); font-size: 13px; }
.dm-msg.mine { align-self: flex-end; background: var(--accent); color: var(--accent-ink); }
.dm-msg.theirs { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); }

/* ---------- Explorar / usuarios ---------- */
.search-form { display: flex; gap: 8px; margin-bottom: 12px; }
.search-form input { flex: 1; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 12px; color: var(--text); font-family: var(--font-sans); }
.search-form button { background: var(--border); border: none; color: var(--text); border-radius: var(--r-sm); padding: 10px 16px; cursor: pointer; }
.search-results { display: flex; flex-direction: column; gap: 8px; }
.user-row { display: flex; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 14px; gap: 10px; }
.user-row .uname { font-weight: 600; font-size: 13.5px; }
.user-row .ubio { color: var(--muted-2); font-size: 12px; }
.small-btn { background: var(--accent); color: var(--accent-ink); border: none; padding: 6px 12px; border-radius: var(--r-sm); font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; font-family: var(--font-sans); }
.small-btn.following { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.pay-btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.paypal-btn, .boost-btn-paypal, .premium-room-btn-paypal, .checkout-btn-paypal { background: #ffc439; color: #111; border: none; padding: 6px 12px; border-radius: var(--r-sm); font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; font-family: var(--font-sans); }

/* ---------- Perfil ---------- */
.profile-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; }
.profile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.avatar-circle { width: 54px; height: 54px; border-radius: var(--r-md); flex-shrink: 0; }
.profile-card h2 { font-family: var(--font-display); font-weight: 500; font-style: italic; margin: 0; }
.profile-bio { color: var(--muted); margin: 4px 0 0; font-size: 13px; }
.stats-row { display: flex; gap: 22px; margin-bottom: 18px; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-value { font-size: 19px; font-weight: 600; color: var(--text); font-family: var(--font-mono); }
.stat-label { font-size: 11px; color: var(--muted-2); }
.xp-bar-box { margin-bottom: 6px; }
.xp-bar { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; border: 1px solid var(--border); }
.xp-bar-fill { height: 100%; background: var(--accent); }
.xp-text { font-size: 11px; color: var(--muted-2); font-family: var(--font-mono); }
.privacy-toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 18px 0; cursor: pointer; }
.privacy-toggle input { width: 15px; height: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--accent-soft); color: var(--accent); font-size: 11.5px; padding: 4px 11px; border-radius: var(--r-sm); font-family: var(--font-mono); }
.chip.gold { background: var(--gold-soft); color: var(--gold); }

@media (max-width: 600px) {
  .topbar { gap: 12px; padding: 12px; flex-wrap: wrap; }
}

/* ---------- Feed tabs ---------- */
.feed-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.feed-tab-btn { flex: 1; padding: 9px 0; text-align: center; background: var(--surface); border: 1px solid var(--border); color: var(--muted); cursor: pointer; font-size: 13px; font-family: var(--font-sans); font-weight: 500; border-radius: var(--r-sm); }
.feed-tab-btn.active { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

/* ---------- Reactions ---------- */
.reaction-row { display: flex; gap: 6px; flex-wrap: wrap; }
.reaction-btn { background: transparent; border: 1px solid var(--border); color: var(--muted); padding: 5px 10px; border-radius: 999px; cursor: pointer; font-size: 13px; font-family: var(--font-sans); display: inline-flex; align-items: center; gap: 5px; }
.reaction-btn.mine { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.reaction-count { font-family: var(--font-mono); font-size: 11px; }

/* ---------- Repost embed ---------- */
.repost-tag { font-size: 11px; color: var(--muted-2); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); }
.repost-embed { border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 10px; background: var(--surface-2); }
.repost-embed .post-author { font-size: 12.5px; }
.repost-embed .post-text { font-size: 13px; margin-bottom: 0; }

/* ---------- Editar post ---------- */
.post-edit-form textarea { width: 100%; min-height: 60px; background: var(--surface-2); border: 1px solid var(--accent); border-radius: var(--r-sm); padding: 10px; color: var(--text); font-family: var(--font-sans); font-size: 14px; }
.post-edit-actions { display: flex; gap: 8px; margin-top: 6px; }
.post-edit-actions button { padding: 6px 12px; border-radius: var(--r-sm); border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-family: var(--font-sans); }
.post-edit-actions button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.edited-tag { color: var(--muted-2); font-size: 10.5px; font-style: italic; margin-left: 6px; }

/* ---------- Comentarios anidados ---------- */
.comment-item-row { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.comment-item-row b { color: var(--text); }
.comment-reply-btn { background: none; border: none; color: var(--muted-2); font-size: 11px; cursor: pointer; padding: 0; margin-left: 6px; font-family: var(--font-sans); }
.comment-replies { margin-left: 18px; border-left: 1px solid var(--border-soft); padding-left: 10px; margin-top: 4px; }
.reply-form { display: flex; gap: 6px; margin: 6px 0 6px 18px; }
.reply-form input { flex: 1; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 6px 9px; color: var(--text); font-size: 12px; font-family: var(--font-sans); }
.reply-form button { background: var(--border); border: none; color: var(--text); border-radius: var(--r-sm); padding: 6px 10px; cursor: pointer; font-size: 11px; }

/* ---------- Sugerencias de a quien seguir ---------- */
.suggested-box { margin-bottom: 22px; }
.suggested-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.suggested-card { flex-shrink: 0; width: 150px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 12px; text-align: center; }
.suggested-card .uname { font-size: 12.5px; font-weight: 600; margin-top: 8px; }
.suggested-card .ubio { font-size: 10.5px; color: var(--muted-2); margin: 4px 0 8px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------- Avatares con imagen real ---------- */
.mini-avatar.has-img, .avatar-circle.has-img { padding: 0; overflow: hidden; }
.mini-avatar img, .avatar-circle img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.avatar-upload-wrap { position: relative; display: inline-block; cursor: pointer; }
.avatar-edit-hint { font-size: 10px; color: var(--muted-2); margin-top: 6px; text-align: center; }

/* ---------- Sala: minijuego y mensajes de sistema ---------- */
.room-message-system { color: var(--gold); font-style: italic; text-align: center; padding: 4px 0; }
.game-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 10px; }
.game-choices { display: flex; gap: 8px; }
.game-choice-btn { flex: 1; background: var(--accent); color: var(--accent-ink); border: none; padding: 8px 0; border-radius: var(--r-sm); font-weight: 600; cursor: pointer; font-size: 13px; font-family: var(--font-sans); }

/* ---------- Insignias con progreso ---------- */
.chip.locked { background: var(--surface-2); color: var(--muted-2); border: 1px solid var(--border); }
.chip-progress { font-size: 10px; opacity: 0.75; margin-left: 4px; }

/* ---------- Galeria de fotos del perfil ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gallery-item { aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; }
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Verificado ---------- */
.verified-badge { color: var(--accent); vertical-align: middle; margin-left: 3px; flex-shrink: 0; }
#profile-username { display: flex; align-items: center; gap: 2px; }
.verification-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; }
.verified-row { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }

/* ---------- Ajustes ---------- */
#view-settings .privacy-toggle { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; margin: 0; }

/* ---------- Anuncios ---------- */
.ad-slot { position: relative; }
.ad-label { font-size: 10px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; font-family: var(--font-mono); }
.ad-demo-body { display: flex; align-items: center; gap: 12px; }
.ad-demo-icon { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 18px; flex-shrink: 0; }
.ad-demo-title { font-size: 13px; color: var(--text); font-weight: 500; }
.ad-demo-sub { font-size: 11.5px; color: var(--muted-2); margin-top: 2px; }

/* ---------- Ajustes: usuarios bloqueados y cuenta ---------- */
.blocked-list { display: flex; flex-direction: column; gap: 8px; }
.blocked-list .empty-state { margin: 0; }
.small-btn.danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
.account-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.delete-account-form { background: var(--surface); border: 1px solid var(--danger); border-radius: var(--r-md); padding: 16px; margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.delete-account-form input { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 9px 12px; color: var(--text); font-family: var(--font-sans); font-size: 13px; }

/* ---------- Monetizacion: Plus, creador, impulsar, salas premium ---------- */
.monetize-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; margin-bottom: 18px; }
.boost-btn, .premium-room-btn { background: none; border: 1px solid var(--gold); color: var(--gold); border-radius: var(--r-sm); padding: 4px 9px; font-size: 11px; cursor: pointer; font-family: var(--font-sans); }
.boosted-tag { color: var(--gold); font-size: 10.5px; font-weight: 600; margin-left: 6px; }
.pool-card .pool-premium-tag { color: var(--gold); font-size: 10.5px; font-weight: 600; }

/* ---------- Panel de ganancias (solo owner) ---------- */
.earn-summary-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.earn-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px; flex: 1; min-width: 160px; }
.earn-card-label { font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.earn-card-value { font-size: 26px; font-weight: 700; font-family: var(--font-display); color: var(--text); }
.earn-card-value.demo { color: var(--muted-2); }
.earn-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.earn-bar-label { width: 160px; font-size: 12.5px; color: var(--muted); flex-shrink: 0; }
.earn-bar-track { flex: 1; background: var(--surface-2); border-radius: var(--r-sm); height: 10px; overflow: hidden; }
.earn-bar-fill { height: 100%; background: var(--accent); border-radius: var(--r-sm); }
.earn-bar-value { width: 70px; text-align: right; font-size: 12px; color: var(--muted-2); font-family: var(--font-mono); }
.earn-tx-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.earn-tx-item { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--border-soft); padding-bottom: 6px; }
.earn-tx-item .earn-tx-amount { color: var(--text); font-weight: 600; flex-shrink: 0; }
.earn-tx-item.demo .earn-tx-amount { color: var(--muted-2); }
.earn-tx-tag { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-2); background: var(--surface-2); border-radius: 4px; padding: 1px 5px; margin-left: 6px; }
