.vb-profile-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #30283d;
  border-radius: 24px;
  color: #f7f2fc;
  background: #100d17;
  box-shadow: 0 24px 100px #000a;
  font: 15px/1.45 system-ui, sans-serif;
}
.vb-profile-dialog::backdrop { background: #06050cbf; backdrop-filter: blur(5px); }
.vb-profile-dialog form { position: relative; padding: clamp(18px, 5vw, 30px); }
.vb-profile-dialog header { margin: 0 0 22px; }
.vb-profile-dialog header p { margin: 6px 0 0; color: #c2b7cf; }
.vb-profile-dialog .vb-profile-label { color: #b9a4f1; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vb-profile-dialog h2 { margin: 4px 0 0; font-size: 1.65rem; letter-spacing: -.035em; }
.vb-profile-dialog button { cursor: pointer; font: inherit; }
.vb-profile-close { position: absolute; inset: 14px 14px auto auto; color: #cec2dc; background: #221b30; border: 0; border-radius: 50%; width: 30px; height: 30px; }
.vb-profile-name, .vb-profile-dialog legend { color: #e1d8ed; font-size: .84rem; font-weight: 600; }
.vb-profile-name { display: grid; gap: 7px; }
.vb-profile-name input { box-sizing: border-box; width: 100%; border: 1px solid #3a2d4c; border-radius: 10px; padding: 11px 12px; background: #171320; color: #f8f3ff; font: inherit; }
.vb-profile-dialog fieldset { border: 0; margin: 16px 0 0; padding: 0; }
.vb-profile-portraits { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
.vb-profile-portraits label { position: relative; display: grid; cursor: pointer; }
.vb-profile-portraits input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.vb-profile-portraits img { box-sizing: border-box; width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid transparent; border-radius: 9px; }
.vb-profile-portraits input:checked + img { border-color: #ad94ff; }
.vb-profile-portraits input:focus-visible + img { outline: 2px solid #f3ddff; outline-offset: 2px; }
.vb-profile-status { color: #f4b8d0; margin: 10px 0; font-size: .82rem; }
.vb-profile-status:empty { display: none; }
.vb-profile-actions { display: flex; align-items: center; justify-content: end; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.vb-profile-actions button { border: 0; border-radius: 10px; padding: 9px 15px; color: #ccc0dd; background: transparent; }
.vb-profile-actions button[type="submit"] { background: #7c5cff; color: white; font-weight: 650; }
.vb-profile-dialog button:disabled { opacity: .65; cursor: wait; }

.vb-profile-dialog .vb-profile-import { font-size: .79rem; }
.vb-profile-dialog .vb-profile-switch { color: #c3adff; background: transparent; border: 0; padding: 4px 0 0; font-size: .8rem; text-decoration: underline; }

.vb-profile-icon-note { color: #c2b7cf; font-size: .76rem; margin: 4px 0 8px; }

/* Your Identities above the free icons (Nov 12 2026). */
.vb-profile-section { margin: 10px 0 0; color: #f3ddff; font-size: .8rem; font-weight: 700; }
.vb-profile-owned { grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 260px; overflow-y: auto; }
.vb-profile-owned label small { margin-top: 3px; color: #c2b7cf; font-size: .68rem; text-align: center; }
.vb-profile-icon-note a { color: #ad94ff; }
