/*
 * CSS-Ergänzung für charaktersteckbrief.css
 */

.csml-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:14px;
}

.csml-card{
    display:grid;
    grid-template-columns:82px 1fr;
    gap:14px;
    border:1px solid #dde2ec;
    border-radius:14px;
    padding:14px;
    background:#fff;
}

.csml-avatar{
    display:block;
    width:82px;
    height:82px;
    border-radius:14px;
    overflow:hidden;
    background:#f2f4f8;
    text-decoration:none;
}

.csml-avatar-img{
    width:82px;
    height:82px;
    object-fit:cover;
    display:block;
}

.csml-avatar-placeholder{
    width:82px;
    height:82px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    font-size:28px;
    color:#888;
}

.csml-body h3{
    margin:0 0 4px;
}

.csml-values{
    margin-top:10px;
    display:grid;
    gap:6px;
}

.csml-value{
    display:grid;
    grid-template-columns:110px 1fr;
    gap:8px;
    border-top:1px solid #edf0f5;
    padding-top:6px;
}

.csml-label{
    font-weight:bold;
    color:#555;
}

.csml-text{
    min-width:0;
}

@media(max-width:600px){
    .csml-card{
        grid-template-columns:1fr;
    }

    .csml-value{
        grid-template-columns:1fr;
    }
}
