.streamer-seo-summary{
    margin: calc(-1 * var(--space-sm)) 0 var(--space-md) 0;
    color: var(--color-muted);
    font-size: 13px;
}

.streamer-notfound{
    text-align: center;
    padding: var(--space-lg) var(--space-md);
}

.streamer-notfound .notice-emoji{
    font-size: 44px;
    margin: 0 0 var(--space-sm) 0;
}

.streamer-notfound h2{
    margin: 0 0 var(--space-sm) 0;
    font-size: 18px;
}

.streamer-notfound p{
    color: var(--color-muted);
    margin: 0 0 var(--space-md) 0;
}

.streamer-content{
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* .streamer-content declare son propre display : sans cette regle, l'attribut
hidden serait ignore (une regle d'auteur l'emporte toujours sur celle, egale en
specificite, du navigateur pour [hidden]). */
.streamer-content[hidden]{
    display: none;
}

.streamer-card{
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.streamer-page-avatar-slot{
    display: inline-flex;
    flex-shrink: 0;
}

.streamer-page-avatar{
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--color-bg);
    border: 2px solid var(--color-panel-border);
    flex-shrink: 0;
}

.streamer-page-avatar[src=""]{
    visibility: hidden;
}

.streamer-identity{
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

.streamer-name-heading{
    margin: 0;
    font-size: 22px;
}

.streamer-badges{
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.streamer-live-badge{
    color: white;
    background-color: #eb0400;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
}

.streamer-boost-badge{
    color: white;
    background: linear-gradient(90deg, #f97316, #ec4899);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
}

.streamer-actions{
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.streamer-share{
    font: inherit;
    background: none;
    cursor: pointer;
}

.streamer-share-feedback{
    margin: calc(-1 * var(--space-sm)) 0 0 0;
    color: var(--color-muted);
    font-size: 12px;
}

.streamer-share-fallback{
    width: 100%;
    max-width: 420px;
    height: 36px;
    resize: none;
    background-color: var(--color-bg);
    color: var(--color-text);
    border: 1px solid var(--color-panel-border);
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
    font: inherit;
    font-size: 12px;
}

.streamer-stats{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-md);
}

.streamer-history-list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.streamer-history-item{
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-panel-border);
    font-size: 13px;
}

.streamer-history-item:last-child{
    border-bottom: none;
}

.streamer-history-date{
    color: var(--color-muted);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.streamer-history-detail{
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 480px){
    .streamer-card{
        flex-direction: column;
        text-align: center;
    }
    .streamer-actions{
        justify-content: center;
    }
    .streamer-history-item{
        flex-direction: column;
        gap: 2px;
    }
}
