/**
 * Library pages (site/profile/{module}-list): top band, filters, "continue" row and the collection
 * grid. Markup: resources/views/components/library/*. Behavior: public/js/components/library.js.
 * Page layout, section heads, rails, covers and the pager come from media-kit.css; the finder card
 * from finder.css.
 *
 * Uses only the semantic tokens declared in layout-site/master.css, so it renders in every theme.
 * Text over covers (badges, favorite toggle) stays light on a dark scrim in every theme.
 */

.library-page {
    --library-line: color-mix(in srgb, var(--line) 60%, var(--line-strong));
    --library-scrim: rgba(11, 11, 14, 0.78);
    --library-on-scrim: #f2efe9;
    padding-bottom: clamp(40px, 4vw, 64px);
}

.library-page section[id^="library-"] {
    scroll-margin-top: calc(var(--sticky-top) + 16px);
}

/* ================== BAND ================== */
/* .page-band, .page-band-row, .page-band-title, .page-band-aside and .module-nav come from media-kit.css */
.library-total-number {
    font-family: var(--font-display);
    font-weight: var(--font-display-weight);
    font-size: 26px;
    line-height: 26px;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    color: var(--text-1);
}

.library-band-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 452px;
    align-items: start;
    column-gap: 64px;
    row-gap: 28px;
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.library-band-main {
    min-width: 0;
}

.library-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 56px;
    margin: 0;
}

.library-stat {
    display: flex;
    flex-direction: column-reverse;
    gap: 4px;
}

.library-stat dt {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-2);
}

.library-stat dt .module-dot {
    width: 6px;
    height: 6px;
}

.library-stat dt i {
    font-size: 11px;
    color: var(--accent);
}

.library-stat dd {
    margin: 0;
    font-family: var(--font-display);
    font-weight: var(--font-display-weight);
    font-size: clamp(48px, 5vw, 72px);
    line-height: 0.9;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
    color: var(--text-1);
}

.library-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 10px;
    margin-top: 28px;
}

.library-actions-text {
    flex: none;
    margin-right: 14px;
}

.library-actions-title {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-1);
}

.library-actions-text p {
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-2);
}

.library-actions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.library-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    margin: 0;
    padding: 0 16px 0 14px;
    border: 1px solid color-mix(in srgb, var(--text-1) 30%, transparent);
    border-radius: 20px;
    background: color-mix(in srgb, var(--text-1) 6%, transparent);
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
    color: var(--text-1);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.library-action:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.library-action:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.library-action:disabled {
    opacity: 0.65;
    cursor: default;
}

/* Steam import progress (game library) */
.library-import {
    max-width: 560px;
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--surface-1);
    box-shadow: inset 0 0 0 1px var(--line);
}

.library-import-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.library-import-icon {
    font-size: 24px;
    color: var(--text-1);
}

.library-import-text p {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--text-2);
}

.library-import-text .library-import-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-1);
}

.library-import-percent {
    margin-left: auto;
    font-family: var(--font-display);
    font-weight: var(--font-display-weight);
    font-size: 28px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--accent);
}

.library-import-bar {
    height: 6px;
    margin-top: 12px;
}

.library-import-bar > span {
    background: var(--accent);
}

.library-import-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--text-2);
}

.library-import-numbers strong {
    color: var(--text-1);
}

/* ================== FILTERS ================== */
.library-filters {
    padding-top: 32px;
}

.library-filters-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.library-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.library-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 7px 0 14px;
    border: 1px solid var(--library-line);
    border-radius: 20px;
    background: var(--surface-1);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
    color: var(--text-1);
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.library-chip.is-all {
    padding-left: 16px;
}

.library-chip:hover {
    border-color: var(--text-2);
    color: var(--text-1);
}

.library-chip:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.library-chip[aria-current="true"] {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    font-weight: 600;
}

.library-chip-dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--situation-color, var(--text-2));
}

.library-chip-dot.is-empty {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px var(--text-2);
}

.library-chip-count {
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 13px;
    background: var(--surface-3);
    font-size: 12px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: var(--text-1);
}

.library-chip[aria-current="true"] .library-chip-count {
    background: var(--accent);
    color: var(--on-accent);
}

.library-chip--favorites {
    flex: none;
    margin-left: auto;
}

.library-chip--favorites i {
    font-size: 13px;
    color: var(--accent);
}

.library-filters-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.library-search {
    position: relative;
    flex: 0 1 360px;
    min-width: 220px;
}

.library-search input {
    display: block;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 40px 0 42px;
    border: 1px solid var(--library-line);
    border-radius: 20px;
    background: var(--surface-1);
    font: inherit;
    font-size: 13px;
    color: var(--text-1);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.library-search input::placeholder {
    color: var(--text-2);
    opacity: 1;
}

.library-search input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.library-search input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.library-search-icon,
.library-search-spinner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    pointer-events: none;
}

.library-search-icon {
    left: 16px;
    color: var(--text-2);
}

.library-search-spinner {
    right: 15px;
    color: var(--accent);
}

.library-select {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    height: 40px;
    border: 1px solid var(--library-line);
    border-radius: 20px;
    background: var(--surface-1);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.library-select--sort {
    flex: 0 1 448px;
    margin-left: auto;
}

.library-select--platform {
    flex: 0 1 308px;
}

.library-select:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.library-select label {
    flex: none;
    margin: 0;
    padding-left: 18px;
    font-size: 11px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--text-2);
    cursor: pointer;
}

.library-select select {
    flex: 1;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 38px 0 12px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-1);
    text-overflow: ellipsis;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
}

.library-select option {
    background: var(--surface-2);
    color: var(--text-1);
}

.library-select > i {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--text-2);
    pointer-events: none;
}

.library-reset {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    margin: 0;
    padding: 0 4px 0 8px;
    border: 0;
    background: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--text-1);
    cursor: pointer;
}

.library-reset:hover {
    color: var(--accent);
}

.library-reset:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ================== SCORES AND PROGRESS (shared by both cards) ================== */
.library-score {
    padding-top: 2px;
    font-family: var(--font-display);
    font-weight: var(--font-display-weight);
    font-size: 22px;
    line-height: 20px;
    letter-spacing: 0.02em;
    color: var(--text-1);
}

.library-progress {
    height: 4px;
    margin-top: 6px;
    border-radius: 2px;
    background: var(--surface-3);
    overflow: hidden;
}

.library-progress > span {
    display: block;
    height: 100%;
    border-radius: 2px;
    background: var(--situation-color, var(--accent));
    transition: width 0.3s ease;
}

/* Favorite toggle over the cover */
.library-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--library-on-scrim) 45%, transparent);
    border-radius: 50%;
    background: rgba(11, 11, 14, 0.74);
    font-size: 13px;
    color: var(--library-on-scrim);
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.library-favorite:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.library-favorite[aria-pressed="true"] {
    border-color: var(--accent);
    background: rgba(11, 11, 14, 0.82);
    color: var(--accent);
}

.library-favorite[aria-busy="true"] {
    opacity: 0.6;
    cursor: progress;
}

.library-favorite:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ================== CONTINUE ROW ================== */
.library-continue-rail {
    --rail-gap: 24px;
}

.continue-card {
    --continue-cover-w: 133px;
    position: relative;
    flex: none;
    display: flex;
    /* Four cards across the content width on desktop, like the collection grid below */
    width: clamp(280px, calc((100% - 3 * var(--rail-gap)) / 4), 380px);
    min-height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-1);
    box-shadow: inset 0 0 0 1px var(--line);
}

.continue-card-cover {
    flex: none;
    width: var(--continue-cover-w);
    height: auto;
    min-height: 200px;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
}

.continue-card .library-favorite {
    top: 8px;
    right: auto;
    left: calc(var(--continue-cover-w) - 38px);
    width: 30px;
    height: 30px;
    font-size: 12px;
}

.continue-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.continue-card-title {
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0;
}

.continue-card-title a {
    color: var(--text-1);
    text-decoration: none;
}

.continue-card-title a:hover {
    color: var(--accent);
}

.continue-card-title a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}

.continue-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    color: var(--text-2);
}

.continue-card-meta .fa-star,
.continue-card-meta .fa-crown {
    font-size: 11px;
    color: var(--accent);
}

.continue-card-meta .library-score {
    font-size: 19px;
    line-height: 18px;
}

.continue-card-meta-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.continue-card-activity {
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-2);
}

.continue-card-activity span {
    color: var(--text-1);
}

.continue-card-progress {
    margin-top: auto;
    padding-top: 10px;
}

.continue-card-numbers {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 0;
}

.continue-card-unit {
    font-family: var(--font-display);
    font-weight: var(--font-display-weight);
    font-size: 18px;
    line-height: 18px;
    letter-spacing: 0.04em;
    color: var(--text-2);
}

i.continue-card-unit {
    align-self: center;
    font-size: 13px;
    color: var(--accent);
}

.continue-card-current {
    font-family: var(--font-display);
    font-weight: var(--font-display-weight);
    font-size: 34px;
    line-height: 30px;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
    color: var(--text-1);
}

.continue-card-total {
    font-family: var(--font-display);
    font-weight: var(--font-display-weight);
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 0.02em;
    color: var(--text-2);
}

.continue-card-percent {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    font-variant-numeric: tabular-nums;
    color: var(--text-2);
}

.continue-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.continue-card-next {
    display: inline-flex;
    align-items: center;
    height: 30px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid color-mix(in srgb, var(--text-1) 30%, transparent);
    border-radius: 15px;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
    color: var(--text-1);
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.continue-card-next:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.continue-card-next:disabled {
    opacity: 0.6;
    cursor: progress;
}

.continue-card-next:focus-visible,
.continue-card-edit:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.continue-card-edit {
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-size: 11px;
    color: var(--text-1);
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.continue-card-edit:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ================== COLLECTION ================== */
.library-page-indicator {
    margin: 0;
    font-family: var(--font-display);
    font-weight: var(--font-display-weight);
    font-size: 22px;
    line-height: 22px;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
    color: var(--text-1);
}

.library-page-indicator-total {
    color: var(--text-2);
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    align-items: start;
    gap: 36px 28px;
}

.library-card {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

.library-card-cover {
    display: block;
    text-decoration: none;
}

.library-card-cover:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.library-card:hover .library-card-title {
    color: var(--accent);
}

.library-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 54px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: none;
}

.library-card-situation,
.library-card-masterpiece,
.library-card-platinum,
.library-card-favorite-mark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    height: 22px;
    padding: 0 9px 0 8px;
    border-radius: 11px;
    background: var(--library-scrim);
    font-size: 11px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--library-on-scrim);
}

.library-card-situation .library-chip-dot {
    width: 6px;
    height: 6px;
}

.library-card-platinum {
    color: #ffd76a;
}

/* The user's masterpiece (11): the gold of media-kit.css */
.library-card-masterpiece {
    background: var(--masterpiece-gradient);
    color: var(--on-masterpiece);
}

.library-card-masterpiece i {
    font-size: 10px;
}

.library-card-platinum i {
    font-size: 10px;
}

/* Someone else's favorite on a public list (their toggle is not shown there) */
.library-card-favorite-mark i {
    font-size: 10px;
    color: var(--accent);
}

/* The visitor's add button or "in library" mark, where the favorite toggle sits on the owner's cards */
.library-card-action {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.library-card-bar {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(11, 11, 14, 0.72);
}

.library-card-bar > span {
    display: block;
    height: 100%;
    background: var(--situation-color, var(--accent));
}

.library-card.is-platinum .library-card-bar > span {
    background: linear-gradient(90deg, #f5b83d, #ffe08a);
}

.library-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 40px;
    margin: 14px 0 0;
    overflow: hidden;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0;
    color: var(--text-1);
    transition: color 0.15s ease;
}

.library-card-scores {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 22px;
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    color: var(--text-2);
}

.library-card-scores .fa-star,
.library-card-scores .fa-crown {
    font-size: 12px;
    color: var(--accent);
}

.library-card-scores .fa-crown,
.continue-card-meta .fa-crown,
.library-score.is-masterpiece,
.library-card-community.is-masterpiece {
    color: var(--masterpiece);
}

.library-card-community {
    overflow: hidden;
    text-overflow: ellipsis;
}

.library-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--text-2);
}

.library-card-meta-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.library-card-progress i {
    margin-right: 4px;
    font-size: 11px;
    color: var(--accent);
}

.library-card-note {
    flex: none;
    margin-left: auto;
    font-size: 12px;
    color: var(--text-2);
    cursor: help;
}

.library-card-platforms {
    margin: 4px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 18px;
    color: var(--text-2);
}

.library-card-platforms .library-card-progress {
    color: var(--text-1);
}

.library-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
}

.library-empty-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: var(--font-display-weight);
    font-size: 32px;
    line-height: 1.05;
    color: var(--text-1);
}

.library-empty-text {
    margin: 0;
    font-size: 14px;
    color: var(--text-2);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 1199.98px) {
    .library-band-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .library-band-finder {
        max-width: 620px;
    }

    .library-select--sort {
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .library-filters-row {
        flex-wrap: wrap;
    }

    /* One scrolling line of chips that runs to the screen edges */
    .library-chips {
        flex-wrap: nowrap;
        width: calc(100% + 2 * var(--page-inset));
        margin-inline: calc(-1 * var(--page-inset));
        padding: 2px var(--page-inset) 4px;
        overflow-x: auto;
        scroll-padding-inline: var(--page-inset);
        scrollbar-width: none;
    }

    .library-chips::-webkit-scrollbar {
        display: none;
    }

    .library-chip,
    .library-chips li {
        flex: none;
    }

    .library-chip--favorites {
        margin-left: 0;
    }
}

@media (max-width: 767.98px) {
    .library-band-grid {
        margin-top: 20px;
        padding-top: 20px;
    }

    .library-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 16px;
    }

    .library-stat dd {
        font-size: 44px;
    }

    .library-actions-text {
        width: 100%;
        margin-right: 0;
    }

    .library-filters {
        padding-top: 24px;
    }

    .library-search,
    .library-select--sort,
    .library-select--platform {
        flex: 1 1 100%;
        min-width: 0;
    }

    .library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 14px;
    }

    .library-card-badges {
        top: 8px;
        left: 8px;
        right: 44px;
        gap: 4px;
    }

    .library-card-situation,
    .library-card-masterpiece,
    .library-card-platinum,
    .library-card-favorite-mark {
        height: 20px;
        padding: 0 7px 0 6px;
        font-size: 9.5px;
        line-height: 20px;
        letter-spacing: 0.06em;
    }

    .library-card .library-favorite {
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .library-card-action {
        top: 8px;
        right: 8px;
    }

    .library-card-action .add-btn--icon,
    .library-card-action .badge-in-library--icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .library-card-title {
        margin-top: 10px;
        font-size: 14px;
        line-height: 19px;
        min-height: 38px;
    }

    .library-card-scores .library-score {
        font-size: 20px;
    }

    .library-card-meta,
    .library-card-scores {
        font-size: 12px;
    }

    .continue-card {
        --continue-cover-w: 112px;
        width: min(320px, 86%);
        min-height: 176px;
    }

    .continue-card-cover {
        min-height: 176px;
    }

    .continue-card-body {
        padding: 12px 14px;
    }

    .continue-card-current {
        font-size: 30px;
        line-height: 26px;
    }
}
