/* Creator subscription, account settings, and pending access states for V2. */
.v2-profile-plans {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}
.v2-profile-plans li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(243,233,237,.08);
  color: #f3e9ed;
  font-size: 16px;
}
.v2-profile-plan-amount,
.v2-subscription-popup .price-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d9a441;
  font-variant-numeric: tabular-nums;
}
.v2-profile-plan-amount .svg-icon,
.v2-subscription-popup .price-main .svg-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: currentColor;
}
.v2-account-password {
  margin-bottom: 28px;
  font-size: 16px;
}
.v2-account-password p { margin: 12px 0 18px; }
/* Style the existing KVS password form without changing its submit contract. */
.fancybox-wrap:has(#edit_profile_old_pass) {
  width: min(480px, calc(100vw - 32px)) !important;
}
.fancybox-wrap:has(#edit_profile_old_pass) .fancybox-skin {
  padding: 0 !important;
  background: #251119;
  border: 1px solid rgba(243,233,237,.12);
  border-radius: 16px;
}
.fancybox-inner:has(#edit_profile_old_pass) {
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  max-height: calc(100dvh - 64px);
  padding: 32px 24px 24px;
  overflow: auto !important;
  color: #f3e9ed;
  font: 16px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.fancybox-inner:has(#edit_profile_old_pass) .popup-title {
  display: block;
  padding-right: 24px;
  margin-bottom: 24px;
  font: 500 26px/1.2 Fraunces, Georgia, serif;
}
.fancybox-inner:has(#edit_profile_old_pass) .row { margin-bottom: 18px; }
.fancybox-inner:has(#edit_profile_old_pass) .field-label {
  display: block;
  margin-bottom: 8px;
}
.fancybox-inner:has(#edit_profile_old_pass) .textfield {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(243,233,237,.2);
  border-radius: 6px;
  background: #170a10;
  color: #f3e9ed;
  font: inherit;
}
.fancybox-inner:has(#edit_profile_old_pass) .textfield::placeholder { color: #a68b97; }
.fancybox-inner:has(#edit_profile_old_pass) .textfield:focus-visible {
  outline: 2px solid #d9a441;
  outline-offset: 2px;
}
.fancybox-inner:has(#edit_profile_old_pass) .field-error {
  position: static;
  margin-top: 6px;
  color: #f3a9c9;
  font-size: 14px;
}
.fancybox-inner:has(#edit_profile_old_pass) .submit {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  background: #b2175a;
  color: #f3e9ed;
  font: inherit;
  cursor: pointer;
}
.fancybox-inner:has(#edit_profile_old_pass) .submit:hover { background: #cf2a72; }
.fancybox-wrap:has(#edit_profile_old_pass) .fancybox-close {
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  background: none;
  opacity: 1;
}
.fancybox-wrap:has(#edit_profile_old_pass) .fancybox-close::before,
.fancybox-wrap:has(#edit_profile_old_pass) .fancybox-close::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 12px;
  width: 20px;
  height: 2px;
  background: #f3e9ed;
  transform: rotate(45deg);
}
.fancybox-wrap:has(#edit_profile_old_pass) .fancybox-close::after { transform: rotate(-45deg); }
.v2-age-access-loading { display: none; }
html.age-access-pending.age-access-checking .v2-age-access-loading {
  display: block;
  position: fixed;
  inset: 45% 20px auto;
  z-index: 2147483000;
  margin: 0;
  color: #a68b97;
  font: 16px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}
html.age-access-login-open .v2-age-access-loading { display: none !important; }
