/* SoraKai — Популярное, обновления, рейтинги и карточки тайтлов */

.content-section {
    margin-top: 17px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 11px;
}

.section-heading h2,.section-heading h1 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -.5px;
    font-weight: 800;
    line-height: 1.3;
}

.section-icon {
    font-size: 24px;
    vertical-align: -1px;
    margin-right: 3px;
}

.see-all {
    white-space: nowrap;
    color: #b374ff;
    font-size: 12px;
    font-weight: 800;
}

.see-all span {
    font-size: 19px;
    margin-left: 5px;
}

.see-all:hover {
    color: #d6b6ff;
}

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

.manga-card {
    min-width: 0;
}

.manga-cover-wrap {
    height: 155px;
    position: relative;
    overflow: hidden;
    border: 1px solid #33405c;
    border-radius: 10px;
    background: #1b1734;
}

.manga-cover {
    display: block;
    height: 100%;
    width: 100%;
}

.manga-cover img,.update-image-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.manga-cover:hover img,.update-image-wrap>a:hover img {
    transform: scale(1.06);
}

.bookmark-toggle {
    width: 27px;
    height: 32px;
    position: absolute;
    right: 4px;
    top: 5px;
    background: #0609149a;
    border: 1px solid #ffffff2b;
    border-radius: 6px;
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 2;
}

.bookmark-toggle svg {
    width: 18px;
    height: 19px;
}

.bookmark-toggle:hover,.bookmark-toggle[aria-pressed=true] {
    color: #c09bff;
    background: #301a59;
}

.bookmark-toggle[aria-pressed=true] svg {
    fill: #8444ff;
    stroke: #cdb7ff;
}

.rating-pill {
    position: absolute;
    bottom: 5px;
    left: 7px;
    border-radius: 6px;
    background: #0b1023c9;
    padding: 2px 8px 2px 6px;
    font-weight: 800;
    font-size: 12px;
}

.rating-pill span,.top-rating span {
    color: #ffbb25;
}

.rating-pill span {
    font-size: 17px;
    vertical-align: -1px;
    margin-right: 2px;
}

.manga-title {
    margin: 5px 6px 0;
    font-size: 12px;
    line-height: 1.48;
    font-weight: 800;
    min-height: 36px;
}

.manga-title:hover,.update-name:hover {
    color: #ae84ff;
}

.manga-genres {
    margin: 1px 6px 0;
    font-size: 11px;
    color: #90a4d1;
}

.updates-section {
    margin-top: 24px;
}

.update-grid {
    gap: 17px;
}

.update-card {
    min-width: 0;
}

.update-image-wrap {
    height: 117px;
    position: relative;
    border: 1px solid #2d3b57;
    border-radius: 10px;
    overflow: hidden;
    background: #15192a;
}

.update-image-wrap>a {
    display: block;
    height: 100%;
    position: relative;
}

.chapter-overlay {
    position: absolute;
    bottom: 5px;
    left: 5px;
    border-radius: 5px;
    background: #080e20c9;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
}

.update-name {
    margin: 7px 6px 0;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
}

/* Современные иконки заголовков секций */
.section-heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon-modern {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(18,24,42,.95), rgba(10,15,28,.95));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.section-icon-modern svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section-icon--popular {
    color: #ffb949;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 0 18px rgba(255,185,73,.18);
}

.section-icon--updates {
    color: #8d68ff;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 0 18px rgba(141,104,255,.18);
}

/* Иконка Популярное */

.section-icon--popular svg {
    display: block;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}