body {
  font-family: Inter, system-ui, sans-serif;
  color: #1b1f33;
  background: #faf9fc;
}

.dash {
  min-height: 100vh;
  grid-template-columns: 260px 1fr;
  background:
    radial-gradient(ellipse 70% 40% at 100% 0%, #f5edff 0%, transparent 58%),
    #faf9fc;
}
.dash aside {
  padding: 22px 16px 20px;
  border-right: 1px solid #eeedf5;
  background: #fff;
}
.dash aside .brand img { height: 32px; width: auto; }
.dash-who {
  margin: 18px 8px 8px;
  padding: 12px 12px 0;
  border-top: 1px solid #f0eef6;
}
.dash-who b {
  display: block;
  font: 800 14px Sora, sans-serif;
  color: #1b1f33;
}
.dash-who small {
  display: block;
  margin-top: 2px;
  color: #8b90a3;
  font-size: 12px;
  font-weight: 600;
}
.dash-balance {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-balance span {
  color: #8b90a3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.dash-balance strong {
  font: 800 28px/1.1 Sora, sans-serif;
  letter-spacing: -.03em;
  color: #1b1f33;
}
.dash-balance--hero {
  margin: 0 0 22px;
  padding: 22px 24px;
  border: 1px solid #eeedf5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(40, 24, 90, .05);
}
.dash-balance--hero strong {
  font-size: 42px;
}
.dash-balance--side {
  margin: 0 8px 10px;
  padding: 12px 12px 14px;
  border-bottom: 1px solid #f0eef6;
}
.dash-balance--side strong {
  font-size: 22px;
}
html[data-theme="dark"] .dash-balance span { color: #9d97b0; }
html[data-theme="dark"] .dash-balance strong { color: #f4f1fb; }
html[data-theme="dark"] .dash-balance--hero {
  background: #1a1624;
  border-color: #332d44;
  box-shadow: none;
}
html[data-theme="dark"] .dash-balance--side { border-color: #2c2738; }
.dash aside nav { margin-top: 12px; gap: 6px; }
.dash aside a,
.dash aside button {
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #3a3f55;
}
.dash aside a.on,
.dash aside a:hover,
.dash aside button:hover {
  background: #f1edff;
  color: #6d4aff;
}
.dash aside form { margin-top: 10px; }
.dash-main { padding: 32px 36px 48px; }
.dash-top { margin-bottom: 22px; }
.dash-top h1 {
  font: 800 34px/1.1 Sora, sans-serif;
  letter-spacing: -.03em;
  color: #1b1f33;
}
.dash-top p { color: #5d6275; font-size: 15px; max-width: 62em; }
.dash-top a { color: #6d4aff; font-weight: 700; }

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.stat-grid article,
.panel,
.sheet,
.support-card,
.about-card {
  border: 1px solid #eeedf5;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(40, 24, 90, .05);
}
.stat-grid article { padding: 20px 22px; background: #fff; }
.stat-grid span {
  display: block;
  color: #8b90a3;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.stat-grid strong {
  font: 800 30px/1.1 Sora, sans-serif;
  letter-spacing: -.03em;
  color: #1b1f33;
}
.panel { padding: 22px; background: #fff; }
.panel h2,
.sheet h2,
.support-card h3,
.about-card h2 {
  font: 800 20px/1.2 Sora, sans-serif;
  letter-spacing: -.02em;
  color: #1b1f33;
}

.sheet {
  width: min(720px, 100%);
  padding: 28px;
  background: #fff;
}
.sheet label { color: #3a3f55; }
.sheet input,
.sheet textarea,
.field input,
.field textarea,
.support-card input:not([type="checkbox"]):not([type="radio"]),
.support-card textarea {
  border: 1px solid #e8e6f2;
  border-radius: 14px;
  background: #f7f6fb;
}
.sheet input:focus,
.sheet textarea:focus,
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #6d4aff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(109, 74, 255, .12);
}
.sheet .btn-primary,
.support-card .btn-primary,
.dash-main .btn-primary,
.system .btn-primary {
  background: linear-gradient(135deg, #644cff 0%, #8b5cf6 52%, #ff4fa3 100%);
  box-shadow: 0 10px 24px rgba(109, 74, 255, .24);
  border-radius: 14px;
}

.bars span { background: #f1edff; }
.bars i { background: linear-gradient(180deg, #a98cff, #6d4aff); }
.tx li, .supporters li { align-items: center; }
.dot-avatar {
  background: #f1edff;
  color: #6d4aff;
  font-weight: 800;
}
.ok { color: #0f8f5a; font-weight: 700; }
.link-preview a { color: #6d4aff; font-weight: 800; word-break: break-all; }
.tabs a.on { background: #6d4aff; border-color: #6d4aff; }
.system { padding: 40px 0 80px; }
.system > .container > h1,
.system h1 {
  font-family: Sora, sans-serif;
  letter-spacing: -.04em;
}

.profile-page { background: #f6f5fb; padding: 8px 0 72px; }
.profile-page .cover-stage {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 12px auto 0;
  border-radius: 28px;
}
.profile-page .cover {
  height: auto;
  overflow: hidden;
  background: none;
  width: 100%;
  margin: 0;
  border-radius: 28px;
}
.profile-page .cover img,
.profile-page .cover-fallback {
  display: block;
  width: 100%;
  height: 300px;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}
.profile-page .cover-fallback {
  width: 100%;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
}
.profile-page .profile-media-protect {
  position: relative;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.profile-page .profile-media-protect img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}
.profile-page .profile-media-protect__shield {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  border-radius: inherit;
  background: transparent;
  -webkit-touch-callout: none;
}
.profile-page .avatar.lg.profile-media-protect {
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}
.profile-page .avatar.lg.profile-media-protect img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: none;
}
.profile-page .avatar-stage {
  position: relative;
  width: 120px;
  margin-top: -54px;
  justify-self: start;
}
.profile-page .avatar-stage .avatar.lg {
  margin-top: 0;
}
.profile-page .creator-verify {
  position: absolute;
  right: 2px;
  bottom: 2px;
  z-index: 4;
  width: 22%;
  min-width: 22px;
  max-width: 32px;
  aspect-ratio: 1;
  pointer-events: auto;
}
.profile-page .creator-verify__badge {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #1d9bf0;
  color: #1d9bf0;
  box-shadow: 0 1px 3px rgba(15, 20, 40, .18);
  cursor: help;
  box-sizing: border-box;
  line-height: 0;
  overflow: hidden;
}
.profile-page .creator-verify__badge:focus-visible {
  outline: 2px solid #1d9bf0;
  outline-offset: 2px;
}
.profile-page .creator-verify__icon {
  display: block;
  width: 56%;
  height: 56%;
  overflow: visible;
}
.profile-page .creator-verify__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 7;
  width: max-content;
  max-width: min(260px, calc(100vw - 24px));
  padding: 8px 12px;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .01em;
  text-align: center;
  white-space: normal;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .14s ease, visibility .14s ease;
}
.profile-page .creator-verify__tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: #1a1a1a;
}
.profile-page .creator-verify.is-open .creator-verify__tip,
.profile-page .creator-verify:hover .creator-verify__tip,
.profile-page .creator-verify:focus-within .creator-verify__tip {
  opacity: 1;
  visibility: visible;
}
.profile-page .avatar-stage--owner.avatar-stage--verified .profile-media-edit--avatar {
  right: auto;
  left: -2px;
  bottom: 2px;
}
.profile-page .profile-media-edit {
  position: absolute;
  z-index: 3;
  pointer-events: auto;
}
.profile-page .profile-media-edit.is-open {
  z-index: 6;
}
.profile-page .profile-media-edit--cover {
  right: 14px;
  bottom: 14px;
}
.profile-page .profile-media-edit--avatar {
  right: 0;
  bottom: 4px;
}
.profile-page .profile-media-edit__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 16, 36, .72);
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 16, 40, .28);
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.profile-page .profile-media-edit__btn svg {
  display: block;
  color: inherit;
  stroke: currentColor;
  pointer-events: none;
}
.profile-page .profile-media-edit--avatar .profile-media-edit__btn {
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  background: rgba(20, 16, 36, .78);
}
.profile-page .profile-media-edit__btn:hover,
.profile-page .profile-media-edit__btn:focus-visible {
  background: rgba(20, 16, 36, .92);
  outline: none;
}
.profile-page .profile-media-edit__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  min-width: 180px;
  max-width: min(220px, calc(100vw - 24px));
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(24, 18, 50, .22);
  border: 1px solid rgba(40, 30, 70, .08);
  box-sizing: border-box;
  z-index: 4;
}
.profile-page .profile-media-edit--avatar .profile-media-edit__menu {
  right: 0;
  left: auto;
}
.profile-page .profile-media-edit__item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #1c1830;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.profile-page .profile-media-edit__item:hover,
.profile-page .profile-media-edit__item:focus-visible {
  background: #f3f0fb;
  outline: none;
}
.profile-page .profile-media-edit__item--danger {
  color: #b42318;
}
.profile-page .profile-media-edit__item--danger:hover,
.profile-page .profile-media-edit__item--danger:focus-visible {
  background: #fdeceb;
  color: #912018;
}
.profile-page .profile-media-edit__item input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.profile-page .profile-media-edit__upload {
  margin: 0;
}
.profile-page .profile-sheet { margin-top: 0; }
.profile-page .profile-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 6px 18px;
  margin-bottom: 22px;
}
.profile-page .avatar.lg {
  width: 120px;
  height: 120px;
  margin-top: -54px;
  border: 4px solid #fff;
  box-shadow: 0 12px 28px rgba(40, 24, 90, .14);
}
.profile-page .profile-id,
.profile-page .profile-stats { margin-top: 16px; }
.profile-page .profile-id h1 {
  font-family: Sora, sans-serif;
  font-size: 36px;
  letter-spacing: -.04em;
  margin: 0;
}
.profile-page .handle { color: #8b90a3; font-weight: 600; }
.profile-page .bio { max-width: 46em; color: #4a5168; }
.profile-page .mini-socials.dark { gap: 8px; margin: 12px 0 0; }
.profile-page .mini-socials.dark a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eceaf3;
  color: #3a3f55;
}
.profile-page .mini-socials.dark a.soc-instagram { color: #e1306c; }
.profile-page .mini-socials.dark a.soc-youtube { color: #ff0033; }
.profile-page .profile-stats {
  align-self: start;
  background: #fff;
  border: 1px solid #eceaf3;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(40, 24, 90, .04);
}
.profile-page .about-card > p:first-of-type { max-width: none; }
.profile-page .about-card h3:first-child { margin-top: 0; }
.profile-page .support-card,
.profile-page .about-card { border-radius: 24px; }
.profile-page .profile-grid--solo {
  grid-template-columns: 1fr;
  justify-items: center;
}
.profile-page .profile-grid--solo .support-card,
.profile-page .profile-grid--solo .about-card {
  width: 100%;
  max-width: 520px;
}
.profile-page .supporters li:first-child { border-top: 0; }
.amounts label:has(input:checked) {
  background: #6d4aff;
  border-color: #6d4aff;
}

@media (max-width: 860px) {
  .site-header .nav {
    display: grid;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border: 0;
    flex-direction: unset;
  }
  .dash { grid-template-columns: 1fr; }
  .dash-main { padding: 16px 16px 40px; }
  .dash-top h1 { font-size: 26px; }
  .stat-grid { grid-template-columns: 1fr; }
  .profile-page { padding-bottom: 48px; }
  .profile-page .cover-stage,
  .profile-page .cover,
  .profile-page .cover-fallback {
    width: min(1120px, calc(100% - 28px));
    margin-top: 8px;
    border-radius: 20px;
  }
  .profile-page .cover-stage {
    width: min(1120px, calc(100% - 28px));
  }
  .profile-page .cover,
  .profile-page .cover-fallback {
    width: 100%;
    margin-top: 0;
  }
  .profile-page .cover img,
  .profile-page .cover-fallback { height: 180px; }
  .profile-page .profile-head { grid-template-columns: 1fr; gap: 0; justify-items: center; }
  .profile-page .avatar-stage {
    width: 88px;
    margin-top: -40px;
    justify-self: center;
  }
  .profile-page .avatar.lg { width: 88px; height: 88px; margin-top: -40px; justify-self: center; }
  .profile-page .avatar-stage .avatar.lg { margin-top: 0; }
  .profile-page .profile-media-edit--cover {
    right: 10px;
    bottom: 10px;
  }
  .profile-page .profile-media-edit__menu {
    right: 0;
    left: auto;
    max-width: min(200px, calc(100vw - 32px));
  }
  .profile-page .profile-id,
  .profile-page .profile-stats { margin-top: 10px; width: 100%; }
  .profile-page .profile-id { text-align: center; }
  .profile-page .profile-id h1,
  .profile-page .profile-id .handle { text-align: center; }
  .profile-page .profile-id h1 { font-size: 30px; }
  .profile-page .profile-id .mini-socials.dark { justify-content: center; }
  .profile-page .profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    padding: 10px 12px;
    min-height: 0;
    justify-content: unset;
    align-items: center;
  }
  .profile-page .profile-stats > div { text-align: center; }
  .profile-page .profile-stats strong {
    font-size: 18px;
    line-height: 1.15;
  }
  .profile-page .profile-stats span { line-height: 1.2; }
  .profile-page .profile-grid { gap: 14px; }
  .profile-page .support-card,
  .profile-page .about-card { padding: 18px; }
  .dash-top {
    flex-direction: column;
    align-items: stretch;
  }
  .dash-top-actions { justify-content: flex-start; }
  .dash-form-actions { justify-content: stretch; }
  .dash-form-actions .btn { width: 100%; }
}

/* Shared dashboard page structure */
.dash-stack {
  display: grid;
  gap: 16px;
}
.dash-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.dash-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.dash-section-head {
  display: block;
  margin: 0 0 14px;
}
.dash-section-head h2 { margin: 0 0 4px; }
.dash-section-head p {
  margin: 0;
  color: #5d6275;
  font-size: 14px;
  max-width: 52em;
}
.panel > .dash-section-head {
  display: block;
}
.sheet-block {
  width: min(720px, 100%);
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #eeedf5;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(40, 24, 90, .05);
}
.sheet-block + .sheet-block { margin-top: 0; }
.sheet-block h2 {
  margin: 0 0 6px;
  font: 800 20px/1.2 Sora, sans-serif;
  letter-spacing: -.02em;
  color: #1b1f33;
}
.sheet-block > p.section-lead {
  margin: 0 0 16px;
  color: #5d6275;
  font-size: 14px;
}
.sheet-block label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 12px 0;
  color: #3a3f55;
}
.sheet-block input:not([type="checkbox"]):not([type="radio"]),
.sheet-block textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #e8e6f2;
  border-radius: 14px;
  padding: 12px;
  background: #f7f6fb;
  font: inherit;
}
.sheet-block input[type="file"] { width: auto; max-width: 100%; }
.sheet-block input:focus,
.sheet-block textarea:focus {
  outline: none;
  border-color: #6d4aff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(109, 74, 255, .12);
}
.sheet-stack {
  display: grid;
  gap: 16px;
  width: min(720px, 100%);
}
.sheet-stack .sheet-block { width: 100%; }
.toggle-list {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  padding: 4px 14px;
  border: 1px solid #eeedf5;
  border-radius: 16px;
  background: #faf9fc;
}
.toggle-list .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid #eeedf5;
  font-weight: 600;
  color: #3a3f55;
  cursor: pointer;
}
.toggle-list .check:first-child { border-top: 0; }
.toggle-list .check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: #6d4aff;
}
.dash-empty {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 22px 18px;
  text-align: center;
  border: 1px dashed #d9d5e8;
  border-radius: 16px;
  background: #faf9fc;
  color: #5d6275;
  font-size: 14px;
}
.dash-empty strong {
  display: block;
  color: #1b1f33;
  font: 700 15px/1.3 Inter, sans-serif;
}
.dash-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  width: min(720px, 100%);
}
.link-preview {
  margin: 8px 0 0;
  padding: 14px 16px;
  border: 1px solid #eeedf5;
  border-radius: 14px;
  background: #f7f6fb;
  word-break: break-all;
}
.ok {
  margin: 0 0 4px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 143, 90, .22);
  border-radius: 14px;
  background: rgba(15, 143, 90, .08);
}
.panel .rank { margin-top: 4px; }
.media-preview {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.media-preview .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eeedf5;
}
.profile-grid .sheet {
  width: auto;
  margin: 0;
}

.support-details-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 18px;
}
.support-details-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #ede9fe;
  color: #6d4aff;
  font: 800 28px/1 Sora, sans-serif;
  position: relative;
}
.support-details-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.support-details-id {
  display: grid;
  gap: 2px;
}
.support-details-id strong {
  font: 800 20px/1.2 Sora, sans-serif;
  letter-spacing: -.02em;
  color: #1b1f33;
}
.support-details-handle {
  color: #ff4fa3;
  font-weight: 700;
  font-size: 14px;
}
.support-amount-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffe6f2;
  color: #ff4fa3;
  font-weight: 800;
  font-size: 14px;
}
.support-details-socials {
  margin-top: 6px;
  justify-content: center;
}
.support-field {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.support-field-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3a3f55;
  font-weight: 700;
  font-size: 13px;
}
.support-field-label svg { flex: 0 0 auto; opacity: .72; }
.support-field-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.support-field-help {
  color: #8b90a3;
  font-size: 12px;
  line-height: 1.35;
}
.support-field-count {
  color: #8b90a3;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.support-card select {
  border: 1px solid #e8e6f2;
  border-radius: 14px;
  background: #f7f6fb;
  width: 100%;
  padding: 12px 14px;
  color: #1b1f33;
  font: inherit;
}
.support-card select:focus {
  outline: none;
  border-color: #6d4aff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(109, 74, 255, .12);
}
.support-details-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.support-back {
  border: 0;
  background: transparent;
  color: #6d4aff;
  font: 800 13px/1 Sora, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 0;
}
.support-back:hover { color: #ff4fa3; }
.support-details-actions .btn-primary {
  min-width: min(220px, 100%);
}
.support-details-legal {
  text-align: right;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .support-details-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .support-details-actions .btn-primary { width: 100%; }
  .support-back { text-align: left; }
  .support-details-legal { text-align: left; }
  .support-field-meta { flex-direction: column; gap: 4px; }
}

/* Fan dashboard */
.fan-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fan-stat-grid em {
  display: block;
  margin-top: 6px;
  color: #8b90a3;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.fan-dash-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.fan-dash-identity > div { min-width: 0; }
.fan-dash-identity h1 {
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.fan-dash-kicker {
  margin: 0 0 4px;
  color: #8b90a3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.fan-dash-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.fan-dash-avatar--initials {
  display: inline-grid;
  place-items: center;
  background: #6d4aff;
  color: #fff;
  font: 800 22px/1 Sora, sans-serif;
}
.fan-avatar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
/* Nested .input + .sheet/.field input both drew borders; flatten like .auth-form */
.fan-settings-section .input input,
.fan-settings-section .input select {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: 500 15px Inter, sans-serif;
  color: #1b1f33;
  outline: none;
  border-radius: 0;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}
.fan-settings-section .input input:focus,
.fan-settings-section .input select:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.fan-settings-section .input input::placeholder { color: #a5a9bb; }
.fan-settings-section + .fan-settings-section {
  margin-top: 0;
}
.fan-settings-section.sheet {
  width: min(720px, 100%);
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.fan-settings-section .dash-form-actions {
  width: 100%;
}
.fan-settings-section .input {
  min-width: 0;
  max-width: 100%;
}
.fan-settings-section .field {
  min-width: 0;
}
.profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.profile-name-row h1 {
  margin: 0;
}
.fan-favorite-form {
  margin: 0;
  display: inline-flex;
  flex-shrink: 0;
}
.fan-favorite-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #d8d4e6;
  background: #fff;
  color: #6b728a;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(40, 24, 90, .06);
  transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease;
}
.fan-favorite-btn:hover,
.fan-favorite-btn:focus-visible {
  color: #c9a227;
  border-color: #e4d28a;
  background: #fffaf0;
  outline: none;
}
.fan-favorite-btn:active {
  transform: scale(.96);
}
.fan-favorite-btn.is-saved {
  background: #fff6d6;
  border-color: #e8c84a;
  color: #c9a227;
}
.fan-favorite-icon {
  display: block;
}
html[data-theme="dark"] .fan-favorite-btn {
  background: #1e2233;
  border-color: #3a4158;
  color: #b7bdd0;
  box-shadow: none;
}
html[data-theme="dark"] .fan-favorite-btn:hover,
html[data-theme="dark"] .fan-favorite-btn:focus-visible {
  color: #f0d56a;
  border-color: #8a7428;
  background: #2a2618;
}
html[data-theme="dark"] .fan-favorite-btn.is-saved {
  background: #2a2618;
  border-color: #8a7428;
  color: #f0d56a;
}
.fan-fav-list .fan-fav-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fan-fav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.fan-fav-link:hover .fan-fav-name,
.fan-fav-link:focus-visible .fan-fav-name {
  text-decoration: underline;
}
.fan-fav-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.fan-fav-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}
.fan-fav-name .fan-favorite-icon {
  color: #c9a227;
  flex-shrink: 0;
}
html[data-theme="dark"] .fan-fav-name .fan-favorite-icon {
  color: #f0d56a;
}
.fan-favorite-form--dash {
  margin-left: auto;
}
@media (max-width: 860px) {
  .profile-name-row {
    justify-content: center;
  }
}
.btn-danger {
  background: #d9485f;
  color: #fff;
  border: 0;
}
.btn-danger:hover {
  background: #c23a50;
}
.input.is-readonly input {
  opacity: .85;
}
.dash-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dash-stack {
  min-width: 0;
  max-width: 100%;
}
.dash-stack .panel {
  min-width: 0;
  max-width: 100%;
}
.dash-stack .tx {
  min-width: 0;
}
.dash-stack .tx li {
  min-width: 0;
}
.dash-stack .tx time {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 860px) {
  /* Fan chrome: lang/theme live in the drawer only — float the hamburger so content starts higher */
  .dash--fan .dash-main {
    position: relative;
  }
  .dash--fan .dash-tools.dash-tools--menu-only {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 5;
    margin: 0;
  }
  .dash--fan .dash-stack > .dash-top,
  .dash--fan .fan-dash-hero {
    padding-right: 52px;
  }
  .fan-stat-grid { grid-template-columns: 1fr; }
  .fan-dash-identity { align-items: flex-start; }
  .fan-settings-section.sheet,
  .fan-settings-section {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 18px 16px;
  }
  .fan-settings-section .dash-form .field-row,
  .dash-stack .dash-form .field-row {
    grid-template-columns: 1fr;
  }
  .fan-settings-section .dash-form-actions .btn,
  .dash-stack .dash-form-actions .btn {
    width: 100%;
    min-height: 44px;
  }
  .dash-stack .tx li {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 10px 12px;
  }
  .dash-stack .tx li > form,
  .dash-stack .tx li > b {
    grid-column: 2;
    justify-self: start;
  }
  .dash-stack .tx li > form .btn {
    min-height: 44px;
    padding: 10px 16px;
  }
  .dash-stack .panel {
    padding: 18px 16px;
  }
}

@media (max-width: 420px) {
  .fan-dash-avatar {
    width: 56px;
    height: 56px;
  }
  .fan-dash-avatar--initials { font-size: 18px; }
  .fan-dash-identity { gap: 12px; }
  .fan-dash-identity h1 { font-size: 22px; }
}

/* Creator dashboard pill chrome — mobile only; desktop keeps the sidebar */
.dash--creator .dash-main {
  min-width: 0;
}
.creator-chrome {
  display: none;
}
@media (max-width: 860px) {
  .creator-chrome {
    display: block;
    margin: 0 0 16px;
    min-width: 0;
    max-width: 100%;
  }
  .dash--creator .dash-balance--hero {
    display: none;
  }
  .creator-chrome__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    padding: 7px 10px 7px 12px;
    border-radius: 999px;
    background: #14121c;
    border: 1px solid #ff4fa3;
    box-shadow:
      0 0 0 1px rgba(255, 79, 163, .12),
      0 0 16px rgba(255, 79, 163, .38),
      0 0 28px rgba(255, 79, 163, .16);
  }
  .creator-chrome__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(148px, 42vw);
    text-decoration: none;
  }
  .creator-chrome__brand .header-brand-logo {
    height: 28px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    filter: none;
  }
  .creator-chrome__right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex: 0 0 auto;
    min-width: 0;
  }
  .creator-chrome__balance {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid rgba(244, 241, 251, .55);
    border-radius: 999px;
    color: #f4f1fb;
    font: 700 12px/1.2 Inter, system-ui, sans-serif;
    letter-spacing: -.01em;
    white-space: nowrap;
  }
  .creator-chrome__balance span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .creator-chrome__account {
    position: relative;
    flex: 0 0 auto;
  }
  .creator-chrome__avatar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 3px 6px 3px 3px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #f4f1fb;
    cursor: pointer;
  }
  .creator-chrome__avatar-btn:hover,
  .creator-chrome__account.is-open .creator-chrome__avatar-btn {
    background: rgba(255, 255, 255, .08);
  }
  .creator-chrome__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #2a2340;
  }
  .creator-chrome__avatar--initials {
    display: grid;
    place-items: center;
    font: 700 11px/1 Inter, system-ui, sans-serif;
    color: #f4f1fb;
    letter-spacing: .02em;
  }
  .creator-chrome__caret {
    flex: 0 0 auto;
    opacity: .85;
  }
  .creator-chrome__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    min-width: 220px;
    max-width: min(280px, calc(100vw - 24px));
    max-height: min(70vh, 520px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid #332d44;
    background: #1a1624;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
  }
  .creator-chrome__dropdown[hidden] { display: none !important; }
  .creator-chrome__dropdown > a[role="menuitem"],
  .creator-chrome__dropdown > form > button[role="menuitem"] {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #f4f1fb;
    font: 600 13px/1.2 Inter, system-ui, sans-serif;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }
  .creator-chrome__dropdown > a[role="menuitem"]:hover,
  .creator-chrome__dropdown > a[role="menuitem"][aria-current="page"],
  .creator-chrome__dropdown > form > button[role="menuitem"]:hover {
    background: rgba(255, 79, 163, .14);
    color: #fff;
  }
  .creator-chrome__dropdown > form { margin: 0; }
  .creator-chrome__tools {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 6px 0;
    padding: 8px 6px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .creator-chrome__tools .lang-switch {
    position: relative;
    width: 100%;
    z-index: 2;
  }
  .creator-chrome__tools .lang-switch-btn {
    width: 100%;
    min-height: 40px;
    height: 40px;
    justify-content: space-between;
    padding: 0 12px;
  }
  .creator-chrome__tools .lang-switch-name {
    display: inline;
    max-width: none;
  }
  .creator-chrome__tools .lang-switch.is-open .lang-switch-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: 40vh;
    z-index: 5;
  }
  .creator-chrome__tools .theme-toggle {
    align-self: flex-start;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 999px;
  }

  /* Light mode */
  html:not([data-theme="dark"]) .creator-chrome__bar {
    background: #ffffff;
    border-color: #ff4fa3;
    box-shadow:
      0 0 0 1px rgba(255, 79, 163, .1),
      0 0 14px rgba(255, 79, 163, .22),
      0 8px 22px rgba(40, 24, 90, .06);
  }
  html:not([data-theme="dark"]) .creator-chrome__balance {
    border-color: rgba(27, 31, 51, .28);
    color: #1b1f33;
  }
  html:not([data-theme="dark"]) .creator-chrome__avatar-btn {
    color: #1b1f33;
  }
  html:not([data-theme="dark"]) .creator-chrome__avatar-btn:hover,
  html:not([data-theme="dark"]) .creator-chrome__account.is-open .creator-chrome__avatar-btn {
    background: rgba(27, 31, 51, .06);
  }
  html:not([data-theme="dark"]) .creator-chrome__avatar--initials {
    background: #f1edff;
    color: #6d4aff;
  }
  html:not([data-theme="dark"]) .creator-chrome__dropdown {
    background: #fff;
    border-color: #eeedf5;
    box-shadow: 0 16px 36px rgba(40, 24, 90, .12);
  }
  html:not([data-theme="dark"]) .creator-chrome__dropdown > a[role="menuitem"],
  html:not([data-theme="dark"]) .creator-chrome__dropdown > form > button[role="menuitem"] {
    color: #1b1f33;
  }
  html:not([data-theme="dark"]) .creator-chrome__dropdown > a[role="menuitem"]:hover,
  html:not([data-theme="dark"]) .creator-chrome__dropdown > a[role="menuitem"][aria-current="page"],
  html:not([data-theme="dark"]) .creator-chrome__dropdown > form > button[role="menuitem"]:hover {
    background: #f7f4ff;
    color: #6d4aff;
  }
  html:not([data-theme="dark"]) .creator-chrome__tools {
    border-top-color: #eeedf5;
    border-bottom-color: #eeedf5;
  }
}

/* Last-7-days: visible euro sums (not bar height alone) */
.bars { display: flex; align-items: stretch; gap: 8px; height: 200px; margin-top: 12px; }
.bars > div { flex: 1; display: flex; flex-direction: column; height: 100%; min-width: 0; }
.bars .bar-amount {
  flex: 0 0 auto;
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
  line-height: 1.2;
  color: #1b1f33;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bars span { flex: 1 1 auto; background: #efeaff; border-radius: 10px 10px 0 0; position: relative; min-height: 8px; }
.bars i { display: block; width: 100%; position: absolute; bottom: 0; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, #8b6cff, #6d4aff); }
.bars small { flex: 0 0 auto; display: block; text-align: center; color: var(--muted); font-size: 12px; margin-top: 6px; }
.panel .chart-total { margin-top: 14px; }
.panel .chart-total strong { font-size: 22px; letter-spacing: -0.03em; color: #1b1f33; }
html[data-theme="dark"] .bars span { background: #2a2340; }
html[data-theme="dark"] .bars .bar-amount,
html[data-theme="dark"] .panel .chart-total strong { color: #f4f1fb; }
html[data-theme="dark"] .chart-total em { color: #5dcea0; }

/* Wish packages */
.wish-grid-block {
  margin: 0 0 18px;
}
.wish-grid-head h4 {
  margin: 0 0 6px;
  font: 700 16px/1.3 Sora, sans-serif;
  color: #1b1f33;
}
.wish-grid-note {
  margin: 0 0 14px;
  color: #6b7287;
  font-size: 13px;
  line-height: 1.45;
}
.wish-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .wish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .wish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .profile-page .wish-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.wish-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e4e2ef;
  border-radius: 16px;
  background: #fff;
  min-width: 0;
}
.wish-card.is-selected {
  border-color: #6d4aff;
  box-shadow: 0 0 0 1px rgba(109, 74, 255, .25);
}
.wish-card-media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #eceaf4;
}
.wish-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wish-card-placeholder,
.wish-manage-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 72px;
  background:
    linear-gradient(135deg, rgba(109, 74, 255, .12), rgba(255, 79, 163, .08)),
    #eceaf4;
}
.wish-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.wish-card-title {
  font: 700 15px/1.25 Inter, sans-serif;
  color: #1b1f33;
  overflow-wrap: anywhere;
}
.wish-card-price {
  font: 700 16px/1.2 Sora, sans-serif;
  color: #1b1f33;
}
.wish-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  border: 0;
  border-radius: 999px;
  background: #6d4aff;
  color: #fff;
  font: 700 14px/1 Inter, sans-serif;
  cursor: pointer;
}
.wish-card.is-selected .wish-card-btn {
  background: #5640c7;
}
.wish-card-btn:hover { filter: brightness(1.05); }
.wish-card-btn:focus-visible {
  outline: 2px solid #ff4fa3;
  outline-offset: 2px;
}
.wish-card-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
.amounts.is-disabled {
  opacity: .45;
  pointer-events: none;
}
.support-card input[data-support-custom].is-wish-locked {
  background: #f3f1fa;
  color: #1b1f33;
  cursor: default;
}

.wish-manage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.wish-manage-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e4e2ef;
  border-radius: 16px;
  background: #fff;
}
.wish-manage-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #eceaf4;
  flex-shrink: 0;
}
.wish-manage-thumb--lg {
  width: 120px;
  height: 120px;
}
.wish-manage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wish-manage-placeholder--lg {
  width: 120px;
  height: 120px;
  border-radius: 12px;
}
.wish-manage-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.wish-manage-meta strong {
  font: 700 15px/1.3 Inter, sans-serif;
  overflow-wrap: anywhere;
}
.wish-manage-meta span {
  color: #6b7287;
  font-weight: 600;
}
.wish-manage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.wish-manage-actions .btn-sm {
  min-height: 36px;
  padding: 0 12px;
}
.wish-manage-delete { color: #c23a50; }
.wish-form .hint { margin-top: -4px; }
.wish-edit-image {
  display: grid;
  gap: 10px;
}
.wish-edit-image-label {
  font-weight: 600;
}
.wish-support-tags {
  margin: 4px 0 0;
  color: #6d4aff;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .wish-manage-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .wish-manage-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .wish-manage-actions .btn-sm { min-height: 44px; }
}

html[data-theme="dark"] .wish-grid-head h4,
html[data-theme="dark"] .wish-card-title,
html[data-theme="dark"] .wish-card-price,
html[data-theme="dark"] .wish-manage-meta strong { color: #f4f1fb; }
html[data-theme="dark"] .wish-grid-note,
html[data-theme="dark"] .wish-manage-meta span { color: #9d97b0; }
html[data-theme="dark"] .wish-card,
html[data-theme="dark"] .wish-manage-item {
  background: #1a1624;
  border-color: #332d45;
}
html[data-theme="dark"] .wish-card.is-selected {
  border-color: #8b74ff;
  box-shadow: 0 0 0 1px rgba(139, 116, 255, .35);
}
html[data-theme="dark"] .wish-card-media,
html[data-theme="dark"] .wish-manage-thumb,
html[data-theme="dark"] .wish-card-placeholder,
html[data-theme="dark"] .wish-manage-placeholder {
  background: #282238;
}
html[data-theme="dark"] .wish-card-placeholder,
html[data-theme="dark"] .wish-manage-placeholder {
  background:
    linear-gradient(135deg, rgba(139, 116, 255, .18), rgba(255, 122, 184, .1)),
    #282238;
}
html[data-theme="dark"] .wish-card-btn { background: #7a5cff; }
html[data-theme="dark"] .wish-card.is-selected .wish-card-btn { background: #6348e0; }
html[data-theme="dark"] .support-card input[data-support-custom].is-wish-locked {
  background: #241f33;
  color: #f4f1fb;
}
html[data-theme="dark"] .wish-support-tags { color: #b5a6ff; }



/* Two-factor security */
.security-panel { width: min(720px, 100%); }
.security-status { font-weight: 700; margin: 0 0 12px; }
.security-status.is-on { color: #0f8f5a; }
.security-qr {
  display: inline-block;
  padding: 12px;
  margin: 12px 0 16px;
  background: #fff;
  border-radius: 12px;
  line-height: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}
.security-qr svg { display: block; width: 220px; height: 220px; }
.security-secret-label { margin: 0 0 6px; font-weight: 600; }
.security-secret {
  margin: 0 0 18px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(109, 74, 255, .08);
  overflow-wrap: anywhere;
}
.security-secret code { font: 700 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.security-recovery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.security-recovery-list code {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(109, 74, 255, .08);
  font: 700 13px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-align: center;
}
.security-form--regen { margin-top: 28px; padding-top: 22px; border-top: 1px solid #e4e2ef; }
.security-recovery-once { border: 1px solid #e8c84a; background: #fffaf0; }
html[data-theme="dark"] .security-form--regen { border-top-color: #332d45; }
html[data-theme="dark"] .security-secret,
html[data-theme="dark"] .security-recovery-list code { background: rgba(139, 116, 255, .16); }
html[data-theme="dark"] .security-recovery-once {
  background: #2a2618;
  border-color: #8a7428;
}
@media (max-width: 520px) {
  .security-recovery-list { grid-template-columns: 1fr; }
  .security-qr svg { width: 180px; height: 180px; }
}
