/* Catalog styles. Generated from main.css by tools/split-discovery-css.php. */

.landing-fiction-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-top: 8px;
}

.landing-chapter-updates {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.landing-chapter-update {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-card);
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
}

.landing-chapter-update span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.landing-chapter-update:hover {
    border-color: var(--blue);
    background: var(--surface-card-hover);
    color: var(--ink);
}

.fiction-row--recent .landing-fiction-meta {
    margin-top: 10px;
}

.fiction-row--shelf .landing-chapter-update {
    display: inline-flex;
    margin-top: 8px;
}

.fiction-update-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.fiction-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    min-height: 68px;
    padding: 8px;
    border: 1px solid rgba(222, 216, 202, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.62);
}

.fiction-row img {
    width: 54px;
    height: 76px;
    border-radius: 5px;
    object-fit: cover;
    background: var(--surface-warm-strong);
    align-self: center;
}

.fiction-row > small {
    align-self: center;
}

.fiction-row p {
    margin: 3px 0;
    color: var(--wine);
    font-size: 0.9rem;
    font-weight: 750;
}

.fiction-row__author {
    margin: 3px 0 0;
}

.fiction-row__synopsis {
    margin: 6px 0 0;
    color: #4f5960;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.fiction-row > div > span {
    display: inline-block;
    margin-top: 6px;
}

.rise-list__body .landing-fiction-meta {
    margin-top: 0;
}

.discovery-filter-trigger {
    position: relative;
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: 1px solid rgba(31, 54, 93, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--ink);
    text-decoration: none;
}

.discovery-filter-trigger:hover,
.discovery-filter-trigger.is-active {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}

.discovery-filter-trigger svg,
.discovery-filter-trigger__icon {
    display: block;
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
    flex: 0 0 16px;
    fill: currentColor;
}

.discovery-filter-trigger__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.discovery-filter-trigger__count {
    position: absolute;
    top: -6px;
    right: -6px;
    display: grid;
    min-width: 17px;
    height: 17px;
    place-items: center;
    border: 1px solid #fff;
    border-radius: 999px;
    background: var(--wine);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 850;
    line-height: 1;
}

@media (max-width: 760px) {
.fiction-row {
        grid-template-columns: 48px minmax(0, 1fr);
    }

.fiction-row > small {
        grid-column: 2;
    }
}
