#account {
  width: min(calc(100vw - 26px), 430px); max-height: min(90dvh, 650px);
  padding: 23px; border-radius: 18px; border: 1px solid #bfd2dd; color: #192740;
  background: #fff; box-shadow: 0 11px 32px #1b274044;
}
#account::backdrop { background: #10213d88; }
#account h2 { margin: 0 32px 10px 0; }
#account .close {
  position: absolute; top: 7px; right: 7px; width: 42px; height: 42px; border: 0;
  background: #edf4fb; border-radius: 12px; color: #1b2740; font-size: 24px; line-height: 1;
}
#account form, #signed-in { display: grid; gap: 11px; }
#google-sign-in { display: grid; gap: 9px; }
#google-button { min-height: 40px; display: grid; justify-content: center; }
#account #email-open, #account #telegram-open { width: 100%; margin-top: 9px; }
#google-profile p { margin: 0; }
#account input, #account button:not(.close), #account .primary {
  display: grid; place-items: center; min-height: 44px; border-radius: 10px;
  border: 1px solid #c8d7e7; background: #f7fbff; padding: 8px 12px; color: #192740;
}
#account .primary { background: #23684c !important; color: white !important; font-weight: 700; border-color: #23684c !important; }
#account .payment-action { background: #b52430 !important; border-color: #b52430 !important; text-align: center; text-decoration: none; }
#account .payment-action:hover { background: #961d26 !important; border-color: #961d26 !important; }
#account .account-back { justify-self: start; background: transparent; border-color: transparent; padding-inline: 0; }
#account :disabled { opacity: .63; cursor: wait; }
#account-message { margin: 0 0 13px; }
#account-message:empty { display: none; }
#subscription { margin: 0; }
#account .account-email { margin: 0; color: #495a71; overflow-wrap: anywhere; }
#account .consent { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; }
#account .consent input { display: block; width: 19px; min-height: 19px; height: 19px; margin: 2px 0 0; flex: none; }
#account .consent a { color: #23684c; text-decoration: underline; text-underline-offset: .23em; }
