
body { margin: 0; background: var(--lavender); }

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    font-family: var(--font);
    background: var(--lavender);
    border-bottom: 2px dashed rgba(81, 9, 53, 0.18);
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-weight: 800;
    font-size: 22px;
    color: var(--plum);
    text-decoration: none;
    white-space: nowrap;
}
.brand-icon {
    display: grid;
    place-items: center;
    width: 32px; height: 32px;
    margin-right: -9px;
    transform: rotate(-6deg);
}

.who { display: flex; align-items: center; gap: 10px; min-width: 0; }

.who-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 5px 14px 5px 5px;
    background: #fff;
    border: 2px solid var(--plum);
    border-radius: 999px;
}
.who-pill:has(#whoami[hidden]) { display: none; }   
.avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--plum);
    color: #fff;
    font-family: var(--display);
    font-weight: 800;
    font-size: 15px;
}
.who-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.who-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mauve);
}
#whoami {
    font-size: 14px;
    font-weight: 500;
    color: var(--plum);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}

.signout-btn {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    color: var(--plum);
    background: var(--sky);
    border: 2px solid var(--plum);
    border-radius: 999px;
    padding: 7px 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, transform .1s;
}
.signout-btn:hover { background: var(--blue); transform: rotate(-2deg); }

@media (max-width: 520px) {
    .brand-text { display: none; }
    .who-label { display: none; }
    #whoami { max-width: 130px; }
}