.account-menu > .account-backdrop,
.account-menu .account-close {
  display: none;
}

.account-dropdown {
  width: 280px;
  padding: 11px;
  border-radius: 16px;
}

.account-dropdown > a {
  min-height: 50px;
  padding: 9px 10px;
  font-size: 14px;
}

.account-dropdown > a > i {
  width: 34px;
  height: 34px;
  font-size: 17px;
}

@media (max-width: 900px) {
  body.account-sheet-open {
    overflow: hidden;
  }

  .account-menu > .account-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(15, 28, 22, 0.42);
    z-index: 24;
    cursor: default;
  }

  .account-menu .account-dropdown {
    position: fixed;
    inset: auto 12px 12px 12px;
    top: auto;
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
    border-radius: 22px;
    z-index: 25;
    animation: account-sheet-in 0.2s ease-out;
  }

  .account-menu .account-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 13px;
    right: 13px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f4f2;
    color: #445049;
    font-size: 22px;
    cursor: pointer;
  }

  .account-menu .account-identity {
    min-height: 60px;
    padding: 7px 50px 14px 5px;
  }

  .account-menu .account-identity > span {
    width: 44px;
    height: 44px;
  }

  .account-menu .account-dropdown > a {
    min-height: 56px;
    margin-top: 3px;
    padding: 10px;
    border-radius: 12px;
    font-size: 15px;
  }

  .account-menu .account-dropdown > a > i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 18px;
  }

  .account-menu .account-dropdown .account-logout {
    margin-top: 8px;
    padding-top: 12px;
  }
}

@keyframes account-sheet-in {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
