.chapter-offline {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.chapter-offline [hidden],
.account-offline [hidden] {
    display: none !important;
}

.chapter-offline__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.chapter-offline-button {
    gap: 9px;
}

.chapter-offline-button__icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
}

.chapter-offline.is-saving .chapter-offline-button,
.chapter-offline.is-saved .chapter-offline-button {
    border-color: rgba(123, 92, 67, 0.30);
    background: rgba(247, 241, 232, 0.78);
}

.chapter-offline__progress {
    width: min(360px, 100%);
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(31, 26, 23, 0.10);
}

.chapter-offline__progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #7b5c43;
    transition: width 0.18s ease;
}

.chapter-offline__message,
.mh-global-player__status,
.account-offline-card__meta {
    margin: 0;
    color: rgba(31, 26, 23, 0.66);
    font-size: 14px;
    line-height: 1.5;
}

.chapter-offline__message:empty {
    display: none;
}

.mh-global-player__status {
    margin-top: 4px;
    color: #7b5c43;
    font-weight: 600;
}

.account-offline {
    display: grid;
    gap: 18px;
}

.account-offline__usage {
    display: grid;
    gap: 8px;
}

.account-offline__usage-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(31, 26, 23, 0.10);
}

.account-offline__usage-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #7b5c43;
    transition: width 0.2s ease;
}

.account-offline-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.account-offline-card {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid rgba(31, 26, 23, 0.12);
    background: rgba(255, 255, 255, 0.68);
}

.account-offline-card__title {
    margin: 0;
    color: #1f1a17;
    font-size: 22px;
    line-height: 1.2;
}

.account-offline-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 760px) {
    .account-offline-list {
        grid-template-columns: 1fr;
    }

    .chapter-offline__actions .button,
    .account-offline-card__actions .button {
        width: 100%;
    }
}
