.itai-stats-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-family: inherit;
    color: inherit;
}

.itai-stats-section {
    flex: 1 1 260px;
}

.itai-stats-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    margin: 0 0 1rem;
    padding: 0;
    border: none;
}

/* --- disk bar --- */

.itai-disk-bar {
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
    margin-bottom: 0.4rem;
}

.itai-disk-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.itai-disk-bar-label {
    font-size: 0.75rem;
    opacity: 0.55;
    margin: 0 0 1.2rem;
}

/* --- stat row (used / free / total) --- */

.itai-stat-row {
    display: flex;
    gap: 1.5rem;
}

.itai-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.itai-stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
}

.itai-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.45;
}

/* --- media total --- */

.itai-media-total {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.itai-media-count {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

/* --- media type breakdown list --- */

.itai-media-types {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.itai-media-type-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    font-size: 0.85rem;
}

.itai-media-type-row:last-child {
    border-bottom: none;
}

.itai-type-label {
    opacity: 0.7;
}

.itai-type-count {
    font-weight: 600;
}
