/* SoraKai — Каталог, страница манги и общие внутренние страницы */

.inner-page {
    padding-top: 31px;
    min-height: 65vh;
}

.breadcrumbs {
    font-size: 12px;
    color: #8992b4;
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: #b482ff;
}

.catalog-page .section-heading {
    margin-bottom: 20px;
}

.catalog-page h1,.detail-content h1 {
    font-size: 29px;
    letter-spacing: -.6px;
}

.catalog-count {
    color: #8594b7;
    font-size: 12px;
}

.catalog-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.catalog-filters input,.catalog-filters select {
    min-height: 46px;
    padding: 0 15px;
    border: 1px solid #313757;
    border-radius: 10px;
    background: #121827;
    color: #fff;
    outline: none;
}

.catalog-filters input {
    flex: 1;
}

.catalog-filters select {
    min-width: 200px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 28px 20px;
}

.catalog-grid .manga-cover-wrap {
    height: auto;
    aspect-ratio: 1.04;
}

.empty-state {
    padding: 24px;
    border: 1px solid #283148;
    color: #a6b3d1;
    border-radius: 12px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 28px;
}

.pagination a {
    border: 1px solid #30314d;
    border-radius: 9px;
    padding: 7px 13px;
}

.pagination .current {
    background: #6032dc;
}

.detail-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 36px;
    background: #111725;
    border: 1px solid #27304b;
    border-radius: 15px;
    padding: 25px;
}

.detail-cover {
    width: 100%;
    aspect-ratio: .85;
    object-fit: cover;
    border-radius: 12px;
}

.detail-content h1 {
    margin: 0 0 16px;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-badges span {
    background: #24233e;
    border-radius: 6px;
    padding: 7px 10px;
    color: #e3daff;
}

.detail-content p {
    line-height: 1.8;
    color: #c4cbe0;
    max-width: 780px;
}

.detail-genre {
    color: #a993d8 !important;
}

.detail-bookmark {
    margin-left: 9px;
}

.detail-bookmark svg {
    width: 18px;
}

.chapters-section {
    margin: 28px 0;
}

.chapters-section h2 {
    font-size: 20px;
}

.chapter-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #232c40;
    background: #101524;
    padding: 13px 17px;
    margin: 6px 0;
    border-radius: 8px;
}

.chapter-row span:last-child,.muted {
    color: #8590ad;
}
