.app-shell-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: color-mix(in srgb, #17191b 88%, transparent);
    border-bottom: 1px solid #1f2123;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.3rem;
    height: 54px;
    font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif;
}

.app-shell-header__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #ecedee;
    flex-shrink: 0;
}

.app-shell-header__mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: linear-gradient(135deg, #1b3569, #36599f);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.app-shell-header__mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.app-shell-header__label {
    font-family: 'Sora', 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.app-shell-header__nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: 2rem;
}

.app-shell-header__nav a {
    color: #909397;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.app-shell-header__nav a:hover {
    color: #ecedee;
    background: rgba(255,255,255,0.06);
}

.app-shell-header__left {
    display: flex;
    align-items: center;
}

.app-shell-header__right {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2rem;
}

.app-shell-header__right .auth-email {
    font-size: 0.84rem;
    color: #909397;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .app-shell-header {
        padding: 0 0.8rem;
        height: 48px;
    }
    .app-shell-header__label {
        font-size: 0.92rem;
    }
    .app-shell-header__nav {
        margin-left: 1rem;
        gap: 0;
    }
    .app-shell-header__nav a {
        font-size: 0.8rem;
        padding: 0.35rem 0.5rem;
    }
}
