.home-drawer-topbar {
    position: relative;
    z-index: 1200;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    min-height: 62px;
    padding: max(10px, env(safe-area-inset-top)) 16px 8px;
    border-bottom: 1px solid rgba(217, 120, 143, .1);
    background: rgba(255, 253, 251, .42);
    backdrop-filter: blur(12px);
}

.home-drawer-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #6b5655;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.home-drawer-brand {
    justify-self: center;
    padding: 8px 14px;
    border: 1px solid rgba(217, 120, 143, .26);
    border-radius: 999px;
    color: #b65370;
    background: rgba(255, 244, 247, .88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .12em;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease;
}

.home-drawer-brand:hover,
.home-drawer-brand:focus-visible {
    border-color: rgba(182, 83, 112, .42);
    background: #fff0f4;
}

.home-drawer-topbar-spacer {
    display: block;
}

.home-drawer-toggle:hover,
.home-drawer-toggle:active {
    background: rgba(255, 255, 255, .45);
    transform: translateY(-1px);
}

.home-drawer-toggle-icon {
    display: flex;
    width: 24px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px 0;
}

.home-drawer-toggle-icon i {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #d17a89;
}

.home-drawer-shell[hidden] {
    display: none !important;
}

.home-drawer-shell {
    position: fixed;
    inset: 0;
    z-index: 1400;
    pointer-events: none;
}

.home-drawer-shell.is-open {
    pointer-events: auto;
}

.home-drawer-scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(67, 48, 52, .22);
    opacity: 0;
    cursor: pointer;
    transition: opacity .24s ease;
}

.home-drawer-shell.is-open .home-drawer-scrim {
    opacity: 1;
}

.home-drawer-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(318px, 86vw);
    height: 100%;
    overflow: hidden;
    border-right: 1px solid rgba(217, 120, 143, .2);
    color: #5f4a4c;
    background: rgba(255, 253, 251, .9);
    box-shadow: 16px 0 42px rgba(87, 59, 64, .14);
    backdrop-filter: blur(22px);
    transform: translateX(-102%);
    transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}

.home-drawer-shell.is-open .home-drawer-panel {
    transform: translateX(0);
}

.home-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: max(18px, env(safe-area-inset-top)) 18px 14px;
    border-bottom: 1px solid rgba(217, 120, 143, .15);
    background: rgba(255, 255, 255, .4);
}

.home-drawer-account {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    gap: 11px;
    color: inherit;
    text-decoration: none;
}

.home-drawer-account img {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    object-fit: cover;
    background: #d95770;
    box-shadow: 0 4px 12px rgba(116, 78, 85, .14);
}

.home-drawer-account-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.home-drawer-account-copy strong {
    overflow: hidden;
    color: #4e3e40;
    font-size: 16px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-drawer-close {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 0;
    color: #9a7479;
    background: transparent;
    font: 400 23px/1 system-ui, sans-serif;
    cursor: pointer;
}

.home-drawer-nav {
    display: grid;
    gap: 2px;
    overflow-y: auto;
    padding: 12px 14px calc(20px + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
}

.home-drawer-group {
    display: grid;
    gap: 1px;
    padding: 8px 0 10px;
}

.home-drawer-group + .home-drawer-group {
    border-top: 1px solid rgba(217, 120, 143, .12);
}

.home-drawer-group h3 {
    margin: 0 4px 5px;
    color: #d17a89;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
}

.home-drawer-group a,
.home-drawer-disabled {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 9px;
    color: #6a5757;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color .16s ease, background .16s ease;
}

.home-drawer-group a:hover,
.home-drawer-group a:focus-visible {
    color: #d17a89;
    background: rgba(239, 166, 184, .16);
    outline: none;
}

.home-drawer-disabled {
    color: #a89b9b;
    cursor: default;
}

.home-drawer-disabled em {
    color: #c1aab0;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
}

@media (min-width: 761px) {
    .home-drawer-topbar {
        min-height: 72px;
        padding-right: 28px;
        padding-left: 28px;
    }

    .home-drawer-brand {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-drawer-panel,
    .home-drawer-scrim,
    .home-drawer-toggle {
        transition: none;
    }
}
