/**
 * Karten-Übersicht: Ergänzungen zu boersen/overview.css (Profil-Rechner, Kartenbild in den
 * Empfehlungen, Spalte „Unterm Strich“) und Karten-Vergleich A vs B.
 */

.kc-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: flex-end;
    margin: 4px 0 14px;
    padding: 14px 18px;
    border-radius: var(--kb-radius);
    background: var(--kb-accent-soft);
}

.kc-profile-title {
    align-self: center;
    font-size: 16px;
}

.kc-profile label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
}

.kc-profile .kc-check {
    flex-direction: row;
    gap: 8px;
    align-items: center;
    align-self: center;
    font-weight: 500;
}

.kc-input {
    display: flex;
    gap: 6px;
    align-items: center;
    font-weight: 400;
}

.kc-input input {
    width: 100px;
    padding: 7px 10px;
    border: 1px solid var(--kb-border);
    border-radius: var(--kb-radius-sm);
    background: #fff;
    color: var(--kb-text);
    font: inherit;
    font-size: 16px; /* kein Zoom auf iOS */
}

.kc-input input:focus {
    border-color: var(--kb-accent);
    outline: 2px solid var(--kb-accent-soft);
}

.kc-breakdown {
    display: block;
    margin: 3px 0 0;
    color: var(--kb-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.kc-net.is-plus {
    color: var(--kb-good);
}

.kc-net.is-minus {
    color: var(--kb-bad);
}

.kc-type,
.kc-max {
    display: block;
    margin: 2px 0 0;
    color: var(--kb-muted);
    font-size: 12px;
    font-weight: 500;
}

.kc-type {
    margin-left: 30px;
}

.kc-pick-card {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    margin: 6px auto 12px;
    aspect-ratio: 85.6 / 54;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    object-fit: cover;
}

.kc-table .ov-col-name img {
    background: #fff;
    object-fit: contain;
}

/* Karten-Vergleich A vs B */
.kc-compare-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin: 0 0 16px;
}

.kc-compare-cards img {
    width: 220px;
    max-width: 44%;
    height: auto;
    aspect-ratio: 85.6 / 54;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    object-fit: cover;
}

.kc-compare-table td.is-better {
    background: var(--kb-good-soft);
    font-weight: 600;
}

.kc-compare-table td .kb-icon {
    vertical-align: -3px;
}

.kc-compare-table th[scope="row"] {
    color: var(--kb-muted);
    font-weight: 500;
    text-align: left;
}

@media (max-width: 600px) {
    .kc-profile {
        gap: 10px 14px;
    }

    .kc-input input {
        width: 84px;
    }
}
