/* Messages: a dialog over the page, opened from the bell, as on zealz.fun. */
.vb-messages-dialog { width: min(980px, calc(100vw - 32px)); height: min(720px, calc(100dvh - 48px)); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: #f7f2fc; overflow: visible; }
.vb-messages-dialog::backdrop { background: #05070fa8; backdrop-filter: blur(6px); }
.vb-messages-dialog .vb-social { height: 100%; min-height: 0; box-shadow: 0 30px 80px #0009; }
.vb-social-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #231b2e; color: #cec2dc; font-size: 1.1rem; cursor: pointer; }
.vb-social-close:hover { color: #fff; }
.vb-social-side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-right: 12px; }
.vb-social-new { padding: 7px 14px; border: 0; border-radius: 99px; background: #7c5cff; color: #fff; font-family: inherit; font-size: .78rem; font-weight: 700; line-height: 1; cursor: pointer; }
.vb-social-find { display: grid; gap: 4px; padding: 0 12px 8px; }
.vb-social-find[hidden] { display: none; }
.vb-social-find input { box-sizing: border-box; width: 100%; padding: 10px 12px; border: 1px solid #3a2d4c; border-radius: 12px; background: #171320; color: #f8f3ff; font: inherit; font-size: 16px; }
.vb-social-find input:focus { border-color: #7c5cff; outline: none; }
.vb-social-found { margin: 0; padding: 0; list-style: none; }
.vb-social-avatar.is-private { background: repeating-linear-gradient(135deg, #e8e2f2 0 3px, #2a2536 3px 7px); }
.vb-social-friend-who small { color: #8d819d; font-size: .74rem; }

/* The bell in the top bar and its panel. */
.vb-bell-wrap { position: relative; display: flex; align-items: center; }
.vb-bell-wrap[hidden] { display: none; }
.vb-bell { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(211, 193, 238, .18); border-radius: 50%; background: rgba(14, 10, 24, .6); color: #e8dff5; cursor: pointer; backdrop-filter: blur(10px); }
.vb-bell svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vb-bell:hover { border-color: rgba(211, 193, 238, .4); }
.vb-bell .vb-social-badge { position: absolute; top: -4px; right: -4px; margin: 0; }
.vb-bell-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: min(360px, calc(100vw - 24px)); max-height: min(520px, 70dvh); overflow-y: auto; padding: 8px; border: 1px solid rgba(211, 193, 238, .18); border-radius: 20px; background: #101321; box-shadow: 0 24px 70px #000b; }
.vb-bell-panel[hidden] { display: none; }
.vb-bell-messages { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px; border: 0; border-radius: 14px; background: #191b2b; color: #f7f2fc; font: inherit; cursor: pointer; }
.vb-bell-messages small { color: #d9c8ff; font-weight: 700; }
.vb-bell-messages em { color: #b9a4f1; font-size: .8rem; font-style: normal; font-weight: 700; }
.vb-bell-note { margin: 0; padding: 10px 12px 4px; color: #a99cba; font-size: .8rem; }
.vb-bell-note:empty { display: none; }
.vb-bell-list { margin: 6px 0 0; padding: 0; list-style: none; }
.vb-bell-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; }
.vb-bell-item.is-unread { background: rgba(177, 140, 255, .07); }
.vb-bell-item.is-link { cursor: pointer; } .vb-bell-item.is-link:hover { background: #191b2b; }
.vb-bell-item .vb-social-avatar { width: 32px; height: 32px; font-size: .8rem; }
.vb-bell-text { font-size: .84rem; line-height: 1.35; color: #d9d0e6; } .vb-bell-text b { color: #fff; } .vb-bell-text small { display: block; color: #8d819d; font-size: .7rem; }
.vb-bell-actions { display: flex; gap: 6px; }
.vb-bell-actions button { padding: 6px 10px; border: 1px solid #3a2f47; border-radius: 99px; background: transparent; color: #d6c8e6; font-family: inherit; font-size: .72rem; font-weight: 600; line-height: 1; cursor: pointer; }
.vb-bell-actions button.is-primary { border-color: transparent; background: #7c5cff; color: #fff; }

/* Friends and messages. */
.vb-social { display: grid; grid-template-rows: auto minmax(0, 1fr); height: calc(100dvh - 150px); min-height: 460px; overflow: hidden; border: 1px solid #2a2233; border-radius: 22px; background: linear-gradient(180deg, #1a1422, #110e17 38%); }
.vb-social-header { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 20px 24px 16px; border-bottom: 1px solid #261f2f; }
.vb-social-header h1 { margin: 2px 0 0; font-size: 1.5rem; letter-spacing: -.03em; }
.vb-social-header > p { margin: 0; color: #a99cba; font-size: .8rem; }
.vb-social-body { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); min-height: 0; }
.vb-social-side { display: grid; grid-template-rows: auto auto minmax(0, 1fr); min-height: 0; border-right: 1px solid #261f2f; }
.vb-social-tabs { display: flex; gap: 4px; padding: 12px 12px 8px; }
.vb-social-tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid transparent; border-radius: 99px; background: transparent; color: #b2a5c3; font-family: inherit; font-size: .8rem; font-weight: 600; line-height: 1; cursor: pointer; }
.vb-social-tabs button:hover { color: #f4eefb; }
.vb-social-tabs button.is-active { border-color: #4a3d5e; background: #231b2e; color: #fff; }
.vb-social-tabs i, .vb-social-dot, .vb-social-badge { display: inline-grid; min-width: 17px; height: 17px; padding: 0 5px; place-items: center; border-radius: 99px; background: linear-gradient(135deg, #ff5fc4, #ad94ff); color: #14101a; font: 800 .62rem/1 system-ui, sans-serif; font-style: normal; }
.vb-social-tabs i[hidden], .vb-social-badge[hidden] { display: none; }
.vb-social-badge { margin-left: 6px; vertical-align: middle; }
.vb-social-note { margin: 0; padding: 6px 16px 10px; color: #a99cba; font-size: .8rem; line-height: 1.45; }
.vb-social-note:empty { display: none; }
.vb-social-list { margin: 0; padding: 0 8px 12px; overflow-y: auto; list-style: none; }
.vb-social-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; width: 100%; padding: 10px; border: 0; border-radius: 14px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.vb-social-row:hover, .vb-social-row.is-open { background: #201928; }
.vb-social-row-text { display: grid; gap: 2px; min-width: 0; }
.vb-social-row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.vb-social-row-top b { overflow: hidden; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.vb-social-row-top small { flex: none; color: #8d819d; font-size: .68rem; }
.vb-social-row-last { overflow: hidden; color: #a99cba; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.vb-social-row.is-unread .vb-social-row-last { color: #f4eefb; font-weight: 600; }
.vb-social-avatar { position: relative; display: grid; flex: none; width: 38px; height: 38px; place-items: center; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, #3a2c4d, #241b30); color: #d9c8f0; font: 700 .9rem/1 system-ui, sans-serif; }
.vb-social-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vb-social-group { padding: 12px 10px 6px; color: #8d819d; font: 700 .64rem/1 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.vb-social-friend { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 14px; }
.vb-social-friend:hover { background: #1b1522; }
.vb-social-friend-who { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
.vb-social-friend-who b { overflow: hidden; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
a.vb-social-friend-who:hover b { text-decoration: underline; }
.vb-social-friend-actions { display: flex; flex: none; gap: 6px; }
.vb-social-friend-actions button { padding: 6px 11px; border: 1px solid #3a2f47; border-radius: 99px; background: transparent; color: #d6c8e6; font-family: inherit; font-size: .72rem; font-weight: 600; line-height: 1; cursor: pointer; }
.vb-social-friend-actions button.is-primary { border-color: transparent; background: #7c5cff; color: #fff; }
.vb-social-friend-actions button:disabled { opacity: .6; cursor: wait; }
.vb-social-thread { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; min-height: 0; }
.vb-social-thread[hidden] { display: none; }
.vb-social-thread > header { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid #261f2f; }
.vb-social-back { display: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: #231b2e; color: inherit; cursor: pointer; }
.vb-social-messages { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 18px; overflow-y: auto; list-style: none; }
.vb-social-messages li { display: grid; justify-items: start; gap: 2px; max-width: min(78%, 520px); }
.vb-social-messages li.is-mine { align-self: end; justify-items: end; }
.vb-social-messages p { margin: 0; padding: 9px 13px; border-radius: 16px 16px 16px 5px; background: #231b2e; color: #f4eefb; font-size: .9rem; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; }
.vb-social-messages li.is-mine p { border-radius: 16px 16px 5px 16px; background: linear-gradient(135deg, #7c5cff, #a05cff); color: #fff; }
.vb-social-messages small { color: #7f748f; font-size: .64rem; }
.vb-social-unsend { padding: 0; border: 0; background: none; color: #8d819d; font: inherit; font-size: .64rem; cursor: pointer; opacity: 0; }
.vb-social-messages li:hover .vb-social-unsend, .vb-social-unsend:focus-visible { opacity: 1; }
.vb-social-messages li.vb-social-day { align-self: center; max-width: none; padding: 8px 0 2px; color: #7f748f; font: 700 .62rem/1 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.vb-social-thread-status { margin: 0; padding: 0 18px 6px; color: #f4b8d0; font-size: .78rem; }
.vb-social-thread-status:empty { display: none; }
.vb-social-compose { display: flex; align-items: end; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid #261f2f; }
.vb-social-compose textarea { flex: 1; min-height: 42px; max-height: 140px; padding: 11px 14px; border: 1px solid #33293f; border-radius: 14px; background: #17121f; color: #f8f3ff; font: inherit; font-size: .9rem; resize: none; field-sizing: content; }
.vb-social-compose textarea:focus { border-color: #7c5cff; outline: none; }
.vb-social-compose button { height: 42px; padding: 0 18px; border: 0; border-radius: 14px; background: #7c5cff; color: #fff; font-family: inherit; font-size: .86rem; font-weight: 650; line-height: 1; cursor: pointer; }
.vb-social-compose button:disabled { opacity: .6; cursor: wait; }
.vb-social-empty { display: grid; place-content: center; justify-items: center; gap: 6px; padding: 24px; color: #a99cba; text-align: center; }
.vb-social-empty[hidden] { display: none; }
.vb-social-empty strong { color: #f4eefb; font-size: 1.05rem; }
.vb-social-empty span { max-width: 300px; font-size: .84rem; line-height: 1.45; }
.member-profile-social { display: flex; flex-wrap: wrap; gap: 8px; }
.member-profile-social[hidden] { display: none; }
@media (max-width: 820px) {
  .vb-messages-dialog { width: 100vw; height: 100dvh; margin: 0; inset: 0; }
  .vb-messages-dialog .vb-social { border-radius: 0; border: 0; }
  .vb-social { height: calc(100dvh - 120px); border-radius: 16px; }
  .vb-social-header > p { display: none; }
  .vb-social-body { grid-template-columns: minmax(0, 1fr); }
  .vb-social-side { border-right: 0; }
  .vb-social-empty { display: none; }
  .has-thread .vb-social-side { display: none; }
  .vb-social-back { display: inline-grid; place-items: center; }
}

/* Add Cash. */
.vb-add-cash { width: min(440px, calc(100% - 32px)); padding: 28px 26px 22px; border: 1px solid #30283d; border-radius: 22px; background: radial-gradient(120% 70% at 50% 0%, #7c5cff24, transparent 60%), #100d17; color: #f7f2fc; box-shadow: 0 24px 100px #000a; }
.vb-add-cash::backdrop { background: #06050cbf; backdrop-filter: blur(5px); }
.vb-add-cash-close { position: absolute; inset: 14px 14px auto auto; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #221b30; color: #cec2dc; cursor: pointer; }
.vb-add-cash-eyebrow { margin: 0; color: #b9a4f1; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.vb-add-cash h2 { margin: 4px 0 0; font-size: 1.6rem; letter-spacing: -.035em; }
.vb-add-cash-lead { margin: 8px 0 0; color: #c2b7cf; font-size: .9rem; line-height: 1.45; }
.vb-add-cash-tags { display: flex; gap: 6px; margin-top: 14px; }
.vb-add-cash-tags span { padding: 4px 10px; border: 1px solid #4a3d5e; border-radius: 99px; color: #e1d8ed; font: 700 .66rem/1.4 ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.vb-add-cash-address { display: grid; gap: 8px; margin-top: 14px; padding: 14px; border: 1px solid #3a2d4c; border-radius: 14px; background: #171320; }
.vb-add-cash-address[hidden] { display: none; }
.vb-add-cash-address small { color: #a99cba; font-size: .72rem; }
.vb-add-cash-address code { color: #fff; font: 600 .86rem/1.5 ui-monospace, monospace; overflow-wrap: anywhere; user-select: all; }
.vb-add-cash-copy { justify-self: start; padding: 9px 16px; border: 0; border-radius: 10px; background: #7c5cff; color: #fff; font-family: inherit; font-size: .84rem; font-weight: 650; line-height: 1; cursor: pointer; }
.vb-add-cash-status { margin: 12px 0 0; color: #f4b8d0; font-size: .84rem; line-height: 1.45; }
.vb-add-cash-status:empty { display: none; }
.vb-add-cash-notes { display: grid; gap: 7px; margin: 16px 0 0; padding: 0 0 0 18px; color: #b2a5c3; font-size: .8rem; line-height: 1.45; }
.vb-add-cash-notes b { color: #f1eaf7; }

/* Withdraw Cash shares the Add Cash dialog. */
.vb-withdraw-form { display: grid; gap: 12px; margin-top: 16px; }
.vb-withdraw-form label { display: grid; gap: 6px; color: #e1d8ed; font-size: .84rem; font-weight: 600; }
.vb-withdraw-form input { box-sizing: border-box; width: 100%; padding: 11px 12px; border: 1px solid #3a2d4c; border-radius: 10px; background: #171320; color: #f8f3ff; font: inherit; font-size: 16px; }
.vb-withdraw-form input:focus { border-color: #7c5cff; outline: none; }
.vb-withdraw-amount { position: relative; display: block; }
.vb-withdraw-amount i { position: absolute; inset: 0 auto 0 12px; display: grid; place-items: center; color: #b9a9c8; font-style: normal; pointer-events: none; }
.vb-withdraw-amount input { padding-left: 26px; }
.vb-withdraw-form .vb-add-cash-status { margin: 0; }
.vb-withdraw-form .vb-add-cash-copy:disabled { opacity: .6; cursor: wait; }

/* One bell, sized and placed as zealz.fun's header bell (36px, no ring, purple count), before the avatar (Nov 12 2026). */
.account-cluster .vb-bell-wrap { order: 0; }
.vb-bell { width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: #a5a3ad; backdrop-filter: none; }
.vb-bell:hover { border: 0; background: rgba(245, 245, 247, .08); color: #f5f5f7; }
.vb-bell svg { width: 18px; height: 18px; }
.vb-bell .vb-social-badge { top: -4px; right: -6px; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: #7C5CFF; color: #fff; font: 800 10.5px/17px system-ui, sans-serif; box-shadow: 0 0 0 2px #0b0b0f; }
.vb-bell-alerts { display: grid; gap: 2px; padding: 6px 4px 0; }
.vb-bell-alerts[hidden] { display: none; }
.vb-bell-alert { margin: 0; padding: 10px 12px; border-radius: 12px; color: #e8dff5; font-size: .86rem; text-decoration: none; }
.vb-bell-alert small { color: #a99cba; }
.vb-bell-alert.is-unread, .vb-bell-claim { background: rgba(124, 92, 255, .12); color: #f7f2fc; font-weight: 700; }
.account-cluster:has(> .vb-bell-wrap) { display: flex; align-items: center; gap: 8px; }
@media (max-width: 560px) { .vb-bell-panel { position: fixed; top: 64px; left: 12px; right: 12px; width: auto; } }
