/* Tela de opções da conta no celular (account-sheet.js): padrão iOS com as cores Saucee. */
html.acs-open, html.acs-open body { overflow: hidden; }

.acs-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(17, 12, 46, .32);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .2s ease;
    display: flex;
    align-items: stretch;
}
.acs-backdrop.is-open { opacity: 1; }

.acs-sheet {
    /* Owner request: the account screen takes the whole phone screen. */
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #f2f2f7;
    border-radius: 0;
    padding: calc(18px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1d1d1f;
    transform: translateY(24px);
    transition: transform .22s ease;
}
.acs-backdrop.is-open .acs-sheet { transform: translateY(0); }

.acs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 18px;
}
.acs-profile { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acs-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #b92ad2;
    background: #ede9fe;
    flex: 0 0 56px;
}
.acs-who { display: flex; flex-direction: column; min-width: 0; }
.acs-hello { font-size: .85rem; color: #515154; }
.acs-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 0;
    color: #1d1d1f;
    overflow-wrap: anywhere;
}
.acs-close {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #e5e5ea;
    color: #1d1d1f;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.acs-close:focus-visible, .acs-row:focus-visible { outline: 3px solid rgba(109, 40, 217, .35); outline-offset: 2px; }

.acs-group { margin: 0 0 16px; }
.acs-group-title {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6e6e73;
    margin: 0 0 6px 6px;
}
.acs-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.acs-card--logout { margin-top: 4px; }

.acs-row {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border: 0;
    background: transparent;
    text-align: left;
    color: #1d1d1f;
    font: inherit;
}
.acs-row + .acs-row { border-top: 1px solid #ececf1; }
.acs-row:active { background: #f5f3fa; }
.acs-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f3efff;
    color: #6d28d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.acs-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.acs-label { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.acs-hint { font-size: .8rem; color: #6e6e73; line-height: 1.3; overflow-wrap: anywhere; }
.acs-chevron { color: #c7c7cc; font-size: .85rem; }
.acs-row.is-danger { justify-content: center; color: #c4001a; }
.acs-row.is-danger .acs-icon { background: #ffe5e7; color: #c4001a; }
.acs-row.is-danger .acs-text { flex: 0 1 auto; }

@media (prefers-reduced-motion: reduce) {
    .acs-backdrop, .acs-sheet { transition: none; }
}

.acs-sheet h2, .acs-sheet h3 { font-family: inherit; }
