:root {
    color-scheme: dark;
    --bg: #080b12;
    --panel: #111722;
    --panel2: #171f2d;
    --line: #283246;
    --text: #f7f9fc;
    --muted: #91a0b7;
    --accent: #7c5cff;
    --accent2: #9b87ff;
    --good: #35d07f;
    --bad: #ff667d;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at top right,
            rgba(124,92,255,.12),
            transparent 32rem
        ),
        var(--bg);
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.center-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 22px;
}

.login-card {
    width: min(420px, 100%);
    background: rgba(17,23,34,.94);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 30px 90px rgba(0,0,0,.42);
}

.login-card h1 {
    margin: 12px 0 0;
    font-size: 30px;
}

.login-card label {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 650;
}

.login-card input[type="email"],
.login-card input[type="password"] {
    width: 100%;
    border: 1px solid var(--line);
    background: #0b1018;
    color: var(--text);
    border-radius: 13px;
    padding: 14px;
    outline: 0;
}

.login-card input:focus {
    border-color: var(--accent2);
}

.brand-mark,
.brand-mini {
    display: inline-grid;
    place-items: center;
    background:
        linear-gradient(135deg, var(--accent), #bd75ff);
    color: white;
    font-weight: 900;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 27px;
}

.brand-mini {
    width: 31px;
    height: 31px;
    border-radius: 10px;
    font-size: 16px;
}

.muted {
    color: var(--muted);
}

.small-text {
    color: var(--muted);
    font-size: 13px;
}

.remember-row {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    font-weight: 500 !important;
}

.remember-row input {
    width: 18px;
    height: 18px;
}

.primary,
.secondary,
.icon-button,
.reader-back {
    border: 0;
    border-radius: 12px;
    padding: 11px 15px;
    font-weight: 750;
}

.primary {
    background:
        linear-gradient(135deg, var(--accent), #9e72ff);
    color: white;
}

.secondary {
    background: var(--panel2);
    color: var(--text);
    border: 1px solid var(--line);
}

.icon-button,
.reader-back {
    background: transparent;
    color: var(--muted);
}

.wide {
    width: 100%;
}

.compact {
    padding: 8px 10px;
    font-size: 12px;
}

.form-error {
    min-height: 20px;
    color: var(--bad);
    font-size: 13px;
    margin-top: 12px;
}

.topbar {
    position: sticky;
    z-index: 50;
    top: 0;
    height: 66px;
    background: rgba(8,11,18,.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(40,50,70,.75);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:
        max(10px, env(safe-area-inset-top))
        max(16px, env(safe-area-inset-right))
        10px
        max(16px, env(safe-area-inset-left));
}

.brand-button {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-weight: 900;
    letter-spacing: .04em;
}

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

.network-badge {
    color: var(--good);
    font-size: 11px;
    font-weight: 800;
}

main {
    width: min(1360px, 100%);
    margin: 0 auto;
}

.view-section {
    padding: 26px 22px 60px;
}

.section-heading,
.review-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.section-heading h2,
.review-heading h3 {
    margin: 0 0 5px;
}

.section-heading p,
.review-heading p {
    margin: 0;
}

















.progress-track {
    height: 7px;
    border-radius: 999px;
    overflow: hidden;
    background: #252d3c;
}

.progress-fill {
    height: 100%;
    width: 0;
    background:
        linear-gradient(90deg, var(--accent), #bd75ff);
    transition: width .2s ease;
}





.book-open {
    width: 100%;
    margin-top: 12px;
}

.empty-state {
    text-align: center;
    max-width: 500px;
    margin: 70px auto;
    color: var(--muted);
}

.empty-state h3 {
    color: var(--text);
}

.empty-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    font-weight: 900;
    color: var(--accent2);
}







.upload-progress .small-text {
    margin-top: 8px;
}



.group-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    overflow: hidden;
}

.group-head {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid var(--line);
}

.group-title-input {
    flex: 1;
    min-width: 0;
    background: #0b1018;
    border: 1px solid var(--line);
    color: var(--text);
    padding: 11px 12px;
    border-radius: 11px;
    font-weight: 750;
}

.file-row {
    display: grid;
    grid-template-columns:
        minmax(0,1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(40,50,70,.65);
}

.file-row:last-child {
    border-bottom: 0;
}

.file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-meta {
    color: var(--muted);
    font-size: 11px;
}

.file-state {
    font-size: 11px;
    font-weight: 800;
}

.file-state.ready {
    color: var(--good);
}

.file-state.processing {
    color: #f6c75b;
}

.file-state.error {
    color: var(--bad);
}

.order-buttons {
    display: flex;
    gap: 4px;
}

.order-buttons button {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--panel2);
    color: var(--text);
    border-radius: 8px;
}

.reader-view {
    position: fixed;
    inset: 0;
    z-index: 100;
    overflow-y: auto;
    background: #05070b;
}

.reader-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 60px;
    background: rgba(5,7,11,.9);
    backdrop-filter: blur(18px);
    display: grid;
    grid-template-columns: 44px minmax(0,1fr) auto;
    align-items: center;
    gap: 6px;
    padding:
        max(6px, env(safe-area-inset-top))
        max(8px, env(safe-area-inset-right))
        6px
        max(8px, env(safe-area-inset-left));
}

.reader-back {
    font-size: 34px;
    line-height: 1;
    padding: 0;
}

.reader-title-wrap {
    min-width: 0;
}

.reader-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 800;
}

.reader-position {
    color: var(--muted);
    font-size: 10px;
    margin-top: 2px;
}





.reader-pages {
    width: min(100%, 1080px);
    margin: 0 auto;
}

.pdf-section {
    position: relative;
}

.volume-marker {
    padding: 10px 12px;
    background: #0d121b;
    border-top: 1px solid #1f2938;
    border-bottom: 1px solid #1f2938;
    color: #9ba8bc;
    font-size: 11px;
    line-height: 1.4;
}

.volume-marker strong {
    color: #d9dfeb;
}

.page-slot {
    width: 100%;
    background: #090c11;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.page-slot canvas {
    display: block;
    width: 100%;
    height: auto;
}

.page-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #3b4556;
    font-size: 11px;
}

.reader-loading {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 120;
    background: #141b28;
    border: 1px solid var(--line);
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 12px;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: max(22px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 300;
    background: #1b2331;
    border: 1px solid #344057;
    color: white;
    padding: 11px 15px;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0,0,0,.4);
    font-size: 13px;
    max-width: min(90vw, 520px);
}

@media (max-width: 680px) {
    .topbar {
        height: 58px;
    }

    .topbar .secondary {
        padding: 8px 10px;
        font-size: 12px;
    }

    .network-badge {
        display: none;
    }

    .view-section {
        padding: 18px 12px 50px;
    }

    

    

    

    

    .book-open {
        font-size: 11px;
        padding: 9px;
    }

    

    .group-head {
        padding: 10px;
    }

    .file-row {
        grid-template-columns: minmax(0,1fr) auto;
        padding: 10px;
    }

    .order-buttons {
        grid-column: 1 / -1;
    }

    .reader-pages {
        width: 100%;
    }
}

/* GOLDA_GROUP_WARNINGS_V1_START */
.group-warning {
    margin: 10px 0 4px;
    padding: 11px 13px;
    border: 1px solid rgba(245, 158, 11, 0.38);
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.10);
    color: #fbbf24;
    font-size: 13px;
    line-height: 1.45;
}

.group-warning strong {
    display: block;
    margin-bottom: 3px;
    color: #fcd34d;
    font-size: 13px;
}
/* GOLDA_GROUP_WARNINGS_V1_END */

/* GOLDA_HYBRID_READER_V1_START */

.page-slot-webp {
    width: 100%;
    margin-inline: auto;
    overflow: hidden;
    position: relative;
    background: #05070b;
}

.page-slot-webp .page-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-inline: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.page-slot-pdf canvas {
    display: block;
    max-width: 100%;
    margin-inline: auto;
}

/* GOLDA_HYBRID_READER_V1_END */

/* GOLDA_NAV_ROUTING_V1_START */

.app-nav-button,
#logoutButton,
#offlineButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.app-nav-button i,
#logoutButton i,
#offlineButton i {
    width: 1.15em;
    text-align: center;
    font-size: 14px;
}

.reader-back {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    font-size: 18px;
}

.reader-back i {
    pointer-events: none;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 680px) {

    .top-actions {
        gap: 4px;
    }

    .app-nav-button,
#logoutButton {
        min-width: 40px;
        height: 40px;
        padding: 0 11px;
    }

    .top-actions .nav-label {
        display: none;
    }

    .app-nav-button i,
#logoutButton i {
        font-size: 16px;
    }
}

/* GOLDA_NAV_ROUTING_V1_END */

/* GOLDA_EBOOK_READER_V1_START */

.reader-toolbar {
    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

.reader-pages {
    padding-bottom:
        calc(
            104px +
            env(safe-area-inset-bottom)
        );
}

.reader-floating-toolbar {
    position: fixed;
    z-index: 1060;
    left: 50%;
    bottom:
        calc(
            14px +
            env(safe-area-inset-bottom)
        );
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: calc(100vw - 18px);
    padding: 6px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(10,14,23,.90);
    box-shadow: 0 16px 42px rgba(0,0,0,.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition:
        transform 190ms ease,
        opacity 180ms ease;
    touch-action: manipulation;
}

.reader-float-button,
.reader-page-chip {
    border: 0;
    margin: 0;
    color: #e5e7eb;
    background: transparent;
    cursor: pointer;
}

.reader-float-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    padding: 0;
    border-radius: 12px;
    font-size: 15px;
}

.reader-float-button:hover,
.reader-float-button:focus-visible,
.reader-float-button.is-active,
.reader-page-chip:hover,
.reader-page-chip:focus-visible {
    background: rgba(255,255,255,.10);
    color: #fff;
}

.reader-float-button:disabled {
    opacity: .28;
    cursor: default;
}

.reader-page-chip {
    min-width: 76px;
    height: 42px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.reader-controls-hidden .reader-toolbar {
    transform: translateY(-115%);
    opacity: 0;
    pointer-events: none;
}

.reader-controls-hidden .reader-floating-toolbar {
    transform: translate(-50%, 140%);
    opacity: 0;
    pointer-events: none;
}

.reader-sheet {
    position: fixed;
    z-index: 1100;
    inset: 0;
    display: grid;
    align-items: end;
    padding:
        18px
        18px
        calc(18px + env(safe-area-inset-bottom));
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.reader-sheet-card {
    width: min(560px,100%);
    max-height: min(78vh,720px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: #111722;
    box-shadow: 0 24px 70px rgba(0,0,0,.55);
}

.reader-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 16px 13px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.reader-sheet-header strong {
    display: block;
    color: #f8fafc;
    font-size: 17px;
}

.reader-sheet-header small {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 12px;
}

.reader-sheet-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.07);
    color: #e5e7eb;
    cursor: pointer;
}

.reader-index-list {
    overflow-y: auto;
    padding: 8px 10px 12px;
    overscroll-behavior: contain;
}

.reader-index-season {
    position: sticky;
    top: 0;
    z-index: 1;
    margin: 6px 0 4px;
    padding: 9px 10px 6px;
    background: #111722;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.reader-index-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 11px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #f1f5f9;
    text-align: left;
    cursor: pointer;
}

.reader-index-item:hover,
.reader-index-item:focus-visible {
    background: rgba(255,255,255,.07);
}

.reader-index-item-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
}

.reader-index-item small {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.reader-sheet-actions {
    display: grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.reader-sheet-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
}

.reader-page-chip-static {
    cursor: default;
    user-select: none;
}

.reader-fit-width .reader-pages {
    width: 100%;
    max-width: none !important;
    padding-left: 0;
    padding-right: 0;
}

.reader-fit-width .page-slot-webp {
    max-width: none !important;
}

.reader-clean-mode {
    background: #000;
}

.reader-clean-mode .reader-pages {
    max-width: none;
}

@media (max-width: 680px) {

    .reader-floating-toolbar {
        gap: 1px;
        padding: 5px;
        border-radius: 16px;
    }

    .reader-float-button {
        width: 38px;
        height: 40px;
        flex-basis: 38px;
        border-radius: 11px;
        font-size: 14px;
    }

    .reader-page-chip {
        min-width: 66px;
        height: 40px;
        padding: 0 6px;
        font-size: 11px;
    }

    .reader-sheet {
        padding:
            8px
            8px
            calc(
                8px +
                env(safe-area-inset-bottom)
            );
    }

    .reader-sheet-card {
        max-height: 82vh;
        border-radius: 18px;
    }

    .reader-index-item {
        padding: 12px 9px;
    }

    .reader-index-item small {
        font-size: 10px;
    }

    .reader-sheet-actions {
        grid-template-columns: 1fr;
    }
}

/* GOLDA_EBOOK_READER_V1_END */

/* GOLDA_OFFLINE_MANAGER_V2_START */

#offlineView {
    width: 100%;
}

.offline-v2-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding: 4px 0;
}

.offline-v2-hero-copy {
    min-width: 0;
    max-width: 720px;
}

.offline-v2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.offline-v2-hero h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.offline-v2-hero p {
    margin: 10px 0 0;
    max-width: 620px;
    line-height: 1.5;
}

.offline-heading-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex: 0 0 auto;
}

.offline-heading-actions .secondary,
.offline-network-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
}

.offline-network-state {
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.offline-network-state.is-online {
    color: var(--good);
}

.offline-network-state.is-offline {
    color: var(--muted);
}

.offline-storage-card {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 26px;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.offline-storage-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--panel2);
    font-size: 20px;
}

.offline-storage-main {
    flex: 1;
    min-width: 0;
}

.offline-storage-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.offline-storage-top .secondary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.offline-storage-track,
.offline-progress-track {
    overflow: hidden;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: var(--panel2);
}

.offline-storage-track {
    margin-top: 12px;
}

.offline-storage-fill,
.offline-progress-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            var(--accent),
            #9e72ff
        );
    transition: width 180ms ease;
}

.offline-storage-known {
    margin-top: 8px;
}

.offline-v2-library-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 13px;
}

.offline-v2-library-heading h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
}

.offline-v2-library-heading p {
    margin: 5px 0 0;
    font-size: 12px;
}

.offline-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(330px, 1fr)
        );
    gap: 13px;
}

.offline-card {
    display: grid;
    grid-template-columns:
        76px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    padding: 13px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition:
        border-color 160ms ease,
        transform 160ms ease;
}

.offline-card:hover {
    transform: translateY(-1px);
}

.offline-card-cover {
    position: relative;
    overflow: hidden;
    width: 76px;
    aspect-ratio: 3 / 4;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--panel2);
    color: var(--muted);
}

.offline-card-cover > i {
    font-size: 20px;
}

.offline-card-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.offline-card-body {
    min-width: 0;
}

.offline-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.offline-card-copy {
    min-width: 0;
}

.offline-card-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.27;
}

.offline-card-meta,
.offline-card-loading {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.offline-card-loading {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
}

.offline-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.offline-status.is-ready {
    color: var(--good);
}

.offline-status.is-partial {
    color: #f6c75b;
}

.offline-status.is-none,
.offline-status.is-unknown {
    color: var(--muted);
}

.offline-size-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 13px 0 7px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
}

.offline-size-row span:last-child {
    text-align: right;
}

.offline-progress-track {
    margin-bottom: 11px;
}

.offline-card-actions {
    display: grid;
    grid-template-columns:
        auto minmax(0, 1fr) auto;
    gap: 7px;
}

.offline-card-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.offline-card-actions .primary {
    width: 100%;
}

.offline-remove-button {
    color: var(--muted);
}

.offline-card button:disabled {
    opacity: .52;
    cursor: default;
}

@media (max-width: 680px) {

    .offline-v2-hero {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 18px;
    }

    .offline-v2-hero h2 {
        font-size: 30px;
    }

    .offline-heading-actions {
        width: 100%;
        justify-content: space-between;
    }

    .offline-storage-card {
        align-items: flex-start;
        padding: 14px;
        gap: 11px;
        margin-bottom: 22px;
    }

    .offline-storage-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 12px;
        font-size: 17px;
    }

    .offline-storage-top {
        align-items: flex-start;
    }

    .offline-storage-top .secondary span {
        display: none;
    }

    .offline-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .offline-card {
        grid-template-columns:
            64px minmax(0, 1fr);
        gap: 11px;
        padding: 11px;
    }

    .offline-card-cover {
        width: 64px;
        border-radius: 9px;
    }

    .offline-card-title {
        font-size: 14px;
    }

    .offline-card-actions {
        grid-template-columns:
            1fr 1fr auto;
    }

    .offline-card-actions button {
        min-height: 38px;
        padding-left: 9px;
        padding-right: 9px;
    }

    .offline-card-actions .offline-remove-button span {
        display: none;
    }
}

/* GOLDA_OFFLINE_MANAGER_V2_END */

/* GOLDA_NETFLIX_DETAIL_V1_START */

.detail-view {
    padding: 0 !important;
    overflow: hidden;
}

.detail-back {
    position: relative;
    z-index: 8;
    margin: 18px 18px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.detail-hero {
    position: relative;
    min-height: 480px;
    margin-top: -56px;
    overflow: hidden;
}

.detail-hero-backdrop {
    position: absolute;
    inset: 0;
    background-position: center 22%;
    background-size: cover;
    filter: blur(22px) saturate(.8);
    transform: scale(1.09);
    opacity: .5;
}

.detail-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(12,13,18,.98) 0%,
            rgba(12,13,18,.82) 43%,
            rgba(12,13,18,.45) 72%,
            rgba(12,13,18,.68) 100%
        ),
        linear-gradient(
            0deg,
            var(--bg) 0%,
            transparent 55%
        );
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    gap: 34px;
    padding: 105px 36px 52px;
}

.detail-cover-shell {
    width: min(250px, 27vw);
    aspect-ratio: 3 / 4;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 18px;
    background: var(--panel2);
    border: 1px solid var(--line);
    box-shadow:
        0 25px 55px
        rgba(0,0,0,.38);
}

.detail-cover,
.detail-chapter-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.detail-cover-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 42px;
    color: var(--muted);
}

.detail-copy {
    min-width: 0;
    max-width: 730px;
}

.detail-kicker,
.detail-section-kicker {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    color: var(--accent);
}

.detail-copy h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -.04em;
}

.detail-meta {
    margin-top: 15px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.detail-progress-summary {
    max-width: 520px;
    margin-top: 22px;
}

.detail-progress-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
    font-size: 12px;
}

.detail-progress-top span {
    color: var(--muted);
}

.detail-main-progress,
.detail-chapter-progress {
    overflow: hidden;
    height: 6px;
    border-radius: 999px;
    background: var(--panel2);
}

.detail-main-progress-fill,
.detail-chapter-progress-fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            var(--accent),
            #a37cff
        );
    transition: width .22s ease;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 23px;
}

.detail-actions button,
.detail-chapter-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.detail-primary-action {
    min-width: 160px;
}

.detail-content {
    padding: 8px 36px 40px;
}

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

.detail-section-heading h2 {
    margin: 0;
    font-size: 25px;
}

.detail-season-summary {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.detail-season-tabs {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.detail-season-tabs::-webkit-scrollbar {
    display: none;
}

.detail-season-tab {
    min-width: 155px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.detail-season-tab span,
.detail-season-tab small {
    display: block;
}

.detail-season-tab span {
    font-weight: 850;
}

.detail-season-tab small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.detail-season-tab.is-active {
    border-color: var(--accent);
    box-shadow:
        inset 0 0 0 1px
        var(--accent);
}

.detail-chapter-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.detail-chapter-card {
    display: grid;
    grid-template-columns:
        minmax(150px,210px)
        minmax(0,1fr);
    gap: 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--panel);
    transition:
        border-color .15s ease,
        transform .15s ease;
}

.detail-chapter-card:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.detail-chapter-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 11px;
    background: var(--panel2);
    cursor: pointer;
}

.detail-chapter-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 24px;
}

.detail-chapter-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    background: rgba(0,0,0,.72);
    color: #fff;
    opacity: 0;
    transition: opacity .15s ease;
}

.detail-chapter-media:hover
.detail-chapter-play {
    opacity: 1;
}

.detail-chapter-body {
    min-width: 0;
    align-self: center;
}

.detail-chapter-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.detail-chapter-heading h3 {
    margin: 0;
    font-size: 17px;
}

.detail-chapter-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 850;
}

.detail-chapter-status.is-completed {
    color: var(--good);
}

.detail-chapter-status.is-progress {
    color: var(--accent);
}

.detail-chapter-status.is-pending {
    color: var(--muted);
}

.detail-chapter-meta {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
}

.detail-chapter-progress {
    margin-top: 12px;
    height: 5px;
}

.detail-chapter-action-row {
    margin-top: 11px;
}

.detail-loading {
    padding: 30px;
    text-align: center;
    color: var(--muted);
}

@media (max-width:760px) {

    .detail-back {
        margin: 12px 12px 0;
    }

    .detail-hero {
        min-height: 0;
        margin-top: -48px;
    }

    .detail-hero-content {
        min-height: 0;
        gap: 16px;
        padding: 90px 14px 35px;
    }

    .detail-cover-shell {
        width: 118px;
        border-radius: 13px;
    }

    .detail-copy h1 {
        font-size:
            clamp(29px,9vw,44px);
    }

    .detail-meta {
        margin-top: 10px;
        font-size: 11px;
    }

    .detail-progress-summary {
        margin-top: 14px;
    }

    .detail-actions {
        margin-top: 15px;
        gap: 7px;
    }

    .detail-actions button {
        min-height: 38px;
        padding: 8px 11px;
        font-size: 11px;
    }

    .detail-primary-action {
        min-width: 0;
    }

    .detail-content {
        padding: 4px 12px 28px;
    }

    .detail-section-heading h2 {
        font-size: 21px;
    }

    .detail-season-tab {
        min-width: 137px;
        padding: 9px 11px;
    }

    .detail-chapter-card {
        grid-template-columns:
            118px minmax(0,1fr);
        gap: 11px;
        padding: 9px;
        border-radius: 12px;
    }

    .detail-chapter-heading {
        display: block;
    }

    .detail-chapter-heading h3 {
        font-size: 14px;
    }

    .detail-chapter-status {
        margin-top: 4px;
    }

    .detail-chapter-meta {
        margin-top: 5px;
        font-size: 9px;
    }

    .detail-chapter-progress {
        margin-top: 8px;
    }

    .detail-chapter-action-row {
        margin-top: 7px;
    }

    .detail-chapter-open {
        min-height: 32px !important;
        padding: 5px 9px !important;
        font-size: 10px;
    }

    .detail-chapter-play {
        opacity: 1;
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
}

@media (max-width:460px) {

    .detail-hero-content {
        display: grid;
        grid-template-columns:
            92px minmax(0,1fr);
        gap: 12px;
        padding-top: 82px;
    }

    .detail-cover-shell {
        width: 92px;
    }

    .detail-copy h1 {
        font-size: 28px;
    }

    .detail-kicker {
        font-size: 8px;
    }

    .detail-actions {
        grid-column: 1 / -1;
    }

    .detail-chapter-card {
        grid-template-columns:
            105px minmax(0,1fr);
    }
}

/* GOLDA_NETFLIX_DETAIL_V1_END */

/* GOLDA_LIBRARY_REWORK_V1_START */

#libraryView > .section-heading {
    margin-bottom: 24px;
}

#libraryView > .section-heading h2 {
    font-size: clamp(26px, 3vw, 34px);
    letter-spacing: -.025em;
}

#librarySubtitle {
    margin-top: 5px;
    font-size: 13px;
}

























































@media (max-width:680px) {

    #libraryView > .section-heading {
        margin-bottom: 16px;
    }

    #libraryView > .section-heading h2 {
        font-size: 25px;
    }

    #librarySubtitle {
        font-size: 11px;
    }

    

    

    

    

    

    

    

    

    

    

    

    
}

/* GOLDA_LIBRARY_REWORK_V1_END */


/* GOLDA_SIMPLE_IMPORT_V1_START */









.simple-import-step.hidden {
    display: none;
}









.simple-progress-track {
    width: min(430px, 100%);
    height: 9px;
    margin: 22px auto 14px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.09);
}

.simple-progress-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
    opacity: .8;
    transition: width .2s ease;
}

.simple-progress-text {
    min-height: 24px;
    font-size: 14px;
    opacity: .68;
}

.simple-review-help {
    margin-bottom: 20px !important;
}

.simple-review-status {
    min-height: 22px;
    margin-bottom: 12px;
    font-size: 13px;
    opacity: .72;
}

.simple-review-head {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 14px;
    padding: 0 14px 8px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .45;
}

.simple-review-head span:last-child {
    text-align: center;
}

.simple-review-list {
    width: 100%;
    display: grid;
    gap: 8px;
    text-align: left;
}

.simple-review-row {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 14px;
    align-items: center;
    min-height: 58px;
    padding: 9px 12px 9px 16px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
}

.simple-review-row.needs-review {
    border-color: rgba(255,170,80,.55);
    background: rgba(255,170,80,.055);
}

.simple-review-file {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
}

.simple-chapter-input {
    width: 100%;
    height: 40px;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: rgba(0,0,0,.15);
    color: inherit;
    text-align: center;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    outline: none;
}

.simple-chapter-input:focus {
    border-color: currentColor;
    box-shadow: 0 0 0 2px rgba(255,255,255,.08);
}

.simple-review-row.needs-review
.simple-chapter-input {
    border-color: rgba(255,170,80,.65);
}

.simple-save-button {
    max-width: 360px;
    min-height: 50px;
    margin-top: 24px;
    border-radius: 14px;
    font-size: 16px;
}

.simple-save-button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.simple-name-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 18px;
}

.simple-name-modal.hidden {
    display: none;
}

.simple-name-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.68);
    backdrop-filter: blur(8px);
}

.simple-name-card {
    position: relative;
    z-index: 1;
    width: min(430px, 100%);
    padding: 30px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 24px;
    background: #15171c;
    box-shadow: 0 28px 90px rgba(0,0,0,.45);
    text-align: center;
}

.simple-name-card
.simple-name-icon {
    margin: 0 auto 14px;
}

.simple-name-card h2 {
    margin: 0 0 7px;
    font-size: 25px;
    letter-spacing: -.025em;
}

.simple-name-card > p {
    margin: 0 0 22px;
    opacity: .65;
    font-size: 14px;
}

.simple-name-field {
    display: grid;
    gap: 7px;
    text-align: left;
}

.simple-name-field span {
    padding-left: 2px;
    font-size: 12px;
    font-weight: 700;
    opacity: .58;
}

.simple-name-field input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(0,0,0,.18);
    color: inherit;
    font: inherit;
    font-size: 16px;
    outline: none;
}

.simple-name-field input:focus {
    border-color: currentColor;
    box-shadow: 0 0 0 2px rgba(255,255,255,.08);
}

.simple-name-actions {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 10px;
    margin-top: 20px;
}

.simple-name-actions button {
    min-height: 46px;
    border-radius: 12px;
}

@media (max-width: 680px) {
    

    

    

    

    

    .simple-review-head {
        grid-template-columns: minmax(0, 1fr) 88px;
        gap: 8px;
        padding-left: 10px;
        padding-right: 8px;
    }

    .simple-review-row {
        grid-template-columns: minmax(0, 1fr) 88px;
        gap: 8px;
        min-height: 54px;
        padding: 7px 8px 7px 11px;
        border-radius: 12px;
    }

    .simple-review-file {
        font-size: 13px;
    }

    .simple-chapter-input {
        height: 38px;
        font-size: 13px;
        padding: 0 4px;
    }

    .simple-name-card {
        padding: 25px 18px 20px;
        border-radius: 20px;
    }

    .simple-name-actions {
        grid-template-columns: 1fr 1.25fr;
    }
}

/* GOLDA_SIMPLE_IMPORT_V1_END */

/* GOLDA_CHAPTER_SCOPED_READER_V1_START */

.reader-pages.reader-chapter-scoped {
    min-height: 0;
}

.reader-active-chapter-section {
    min-height: 0;
}

.reader-active-chapter-section .volume-marker {
    display: none;
}

.page-slot-segment {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
}

.page-slot-segment .page-image {
    display: block;
    margin: 0;
    border-radius: 0;
}

.reader-next-chapter-card,
.reader-chapter-finish {
    width: min(92%, 720px);
    margin: 48px auto 72px;
    padding: 24px 26px;
    border-radius: 22px;
    text-align: left;
}

.reader-next-chapter-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    border: 1px solid rgba(255,255,255,.14);
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.11),
            rgba(255,255,255,.045)
        );
    color: inherit;
    cursor: pointer;
    box-shadow:
        0 18px 50px rgba(0,0,0,.20);
    transition:
        transform .18s ease,
        border-color .18s ease;
}

.reader-next-chapter-card:hover,
.reader-next-chapter-card:focus-visible {
    transform: translateY(-2px);
    border-color:
        rgba(255,255,255,.28);
}

.reader-next-chapter-card strong,
.reader-chapter-finish strong {
    display: block;
    font-size:
        clamp(20px, 4vw, 28px);
    line-height: 1.12;
}

.reader-next-chapter-card span,
.reader-chapter-finish span {
    display: block;
    margin-top: 2px;
    opacity: .72;
    font-size: 14px;
    line-height: 1.45;
}

.reader-chapter-finish {
    border:
        1px solid rgba(255,255,255,.09);
    background:
        rgba(255,255,255,.04);
}

@media (max-width: 680px) {
    .reader-next-chapter-card,
.reader-chapter-finish {
        width: calc(100% - 28px);
        margin-top: 30px;
        margin-bottom: 54px;
        padding: 20px;
        border-radius: 18px;
    }
}

/* GOLDA_CHAPTER_SCOPED_READER_V1_END */


/* GOLDA_NEXT_CHAPTER_CARD_V2_START */

.reader-next-chapter-card.reader-next-chapter-card-with-preview {
    display: grid !important;
    grid-template-columns: 132px minmax(0,1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    width: min(calc(100% - 28px),560px) !important;
    min-height: 0 !important;
    padding: 9px !important;
    text-align: left !important;
    border-radius: 13px !important;
}

.reader-next-chapter-preview {
    position: relative;
    display: block;
    width: 132px;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 9px;
    margin: 0 !important;
    background: rgba(255,255,255,.055);
}

.reader-next-chapter-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reader-next-chapter-symbol {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,.74);
    color: #fff;
    font-size: 13px;
}

.reader-next-chapter-copy {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.reader-next-chapter-copy strong {
    margin: 0 !important;
    font-size: 15px !important;
}

.reader-next-chapter-copy small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

@media (max-width:520px) {
    .reader-next-chapter-card.reader-next-chapter-card-with-preview {
        grid-template-columns: 106px minmax(0,1fr) !important;
        gap: 10px !important;
        padding: 8px !important;
    }

    .reader-next-chapter-preview {
        width: 106px;
    }
}

/* GOLDA_NEXT_CHAPTER_CARD_V2_END */

/* GOLDA_UX_REWORK_V11_PHASE2_START */

#detailOfflineButton,
#offlineButton,
#readerOfflineQuickButton,
#readerFitButton {
    display: none !important;
}

.detail-chapter-card {
    cursor: pointer;
}

.detail-chapter-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.detail-chapter-action-row {
    display: none !important;
}

.continue-reading-section {
    margin: 5px 0 25px;
}

.continue-reading-heading {
    margin-bottom: 11px;
}

.continue-reading-heading h2 {
    margin: 0;
    font-size: 21px;
}

.continue-reading-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 8px;
}

.continue-reading-card {
    flex: 0 0 268px;
    display: grid;
    grid-template-columns: 74px minmax(0,1fr);
    align-items: center;
    gap: 11px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    background: rgba(255,255,255,.035);
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.continue-reading-cover {
    position: relative;
    display: block;
    width: 74px;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 9px;
    background: rgba(255,255,255,.05);
}

.continue-reading-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.continue-reading-play {
    position: absolute;
    right: 6px;
    bottom: 6px;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: 10px;
}

.continue-reading-copy {
    display: grid;
    min-width: 0;
    gap: 6px;
}

.continue-reading-copy strong {
    font-size: 14px;
}

.continue-reading-copy small {
    color: var(--muted);
    font-size: 11px;
}

.continue-reading-progress {
    display: block;
    width: 100%;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
}

.continue-reading-progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
}

@media (max-width:680px) {
    .continue-reading-card {
        flex-basis: 228px;
        grid-template-columns: 62px minmax(0,1fr);
    }

    .continue-reading-cover {
        width: 62px;
    }
}

/* GOLDA_UX_REWORK_V11_PHASE2_END */

/* GOLDA_EXISTING_MANHWA_IMPORT_V11_START */

.golda-add-pdf-button {
    display:
        inline-flex !important;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;
}

/* GOLDA_EXISTING_MANHWA_IMPORT_V11_END */

/* GOLDA_IMPORT_DRAG_PASTE_V104_START */















/* GOLDA_IMPORT_DRAG_PASTE_V104_END */


/* GOLDA_READER_NAV_PRELOAD_V1B_START */

.reader-floating-toolbar {
    width:
        min(
            680px,
            calc(100vw - 24px)
        );
    max-width: none;
    display: grid;
    grid-template-columns:
        46px
        46px
        minmax(0,1fr)
        50px
        46px
        46px;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border:
        1px solid
        rgba(255,255,255,.14);
    border-radius: 24px;
    background:
        rgba(19,23,33,.94);
    box-shadow:
        0 18px 54px
        rgba(0,0,0,.52);
    backdrop-filter:
        blur(20px)
        saturate(125%);
    -webkit-backdrop-filter:
        blur(20px)
        saturate(125%);
}

.reader-floating-toolbar
.reader-float-button {
    width: 46px;
    height: 46px;
    min-width: 0;
    flex: none;
    border-radius: 14px;
    font-size: 17px;
}

.reader-floating-toolbar
.reader-page-chip {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 10px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background:
        rgba(255,255,255,.045);
    color: #f4f6fb;
    font-size:
        clamp(
            12px,
            2.4vw,
            16px
        );
    font-weight: 820;
    letter-spacing: -.015em;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reader-autoscroll-button {
    position: relative;
    background:
        rgba(126,87,255,.16);
    border:
        1px solid
        rgba(152,126,255,.25);
    color: #d9d0ff;
}

.reader-autoscroll-button:hover,
.reader-autoscroll-button:focus-visible {
    background:
        rgba(126,87,255,.26);
    color: #fff;
}

.reader-autoscroll-button.is-active {
    background:
        linear-gradient(
            135deg,
            var(--accent),
            #9e72ff
        );
    border-color:
        rgba(255,255,255,.22);
    color: #fff;
    box-shadow:
        0 7px 22px
        rgba(126,87,255,.35);
}

/*
 * Durante auto-scroll la barra inferior
 * permanece visible para que Pause siempre
 * esté disponible.
 */
.reader-view.reader-auto-scrolling
.reader-floating-toolbar,
.reader-view.reader-auto-scrolling.reader-controls-hidden
.reader-floating-toolbar {
    transform:
        translateX(-50%);
    opacity: 1;
    pointer-events: auto;
}

/*
 * El aspect-ratio ya se define con las
 * dimensiones reales del manifest antes de
 * descargar cada imagen. Esto mantiene el
 * layout estable mientras se precarga.
 */
.page-slot-webp {
    contain: layout paint;
}

.page-slot-webp .page-image {
    display: block;
    visibility: visible;
    opacity: 1;
}

@media (max-width: 680px) {

    .reader-floating-toolbar {
        width:
            calc(100vw - 10px);
        grid-template-columns:
            38px
            38px
            minmax(0,1fr)
            44px
            38px
            38px;
        gap: 2px;
        padding: 5px;
        border-radius: 19px;
        bottom:
            calc(
                8px +
                env(safe-area-inset-bottom)
            );
    }

    .reader-floating-toolbar
    .reader-float-button {
        width: 38px;
        height: 42px;
        border-radius: 12px;
        font-size: 15px;
    }

    .reader-floating-toolbar
    .reader-autoscroll-button {
        width: 44px;
    }

    .reader-floating-toolbar
    .reader-page-chip {
        height: 42px;
        padding: 0 5px;
        border-radius: 12px;
        font-size:
            clamp(
                11px,
                3.45vw,
                14px
            );
    }
}

/* GOLDA_READER_NAV_PRELOAD_V1B_END */





/* GOLDA_READER_SEEKBAR_V1E2_START */

/*
 * El nav pasa a tener una fila superior
 * dedicada al seekbar.
 */
.reader-floating-toolbar {
    grid-template-rows:
        18px
        46px;
}

.reader-seek-row {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    height: 18px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 6px;
    margin: -2px 0 -1px;
}

.reader-seek-bar {
    --reader-seek-progress: 0%;

    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    height: 18px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 999px;
    outline: none !important;

    background: transparent;

    cursor: pointer;
    touch-action: none;

    user-select: none;
    -webkit-user-select: none;

    -webkit-tap-highlight-color:
        transparent;
}

/* Chromium / Safari */
.reader-seek-bar::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;

    border: 0;
    border-radius: 999px;

    background:
        linear-gradient(
            to right,
            var(--accent) 0,
            var(--accent)
                var(--reader-seek-progress),
            rgba(255,255,255,.18)
                var(--reader-seek-progress),
            rgba(255,255,255,.18) 100%
        );
}

.reader-seek-bar::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;

    width: 15px;
    height: 15px;

    margin-top: -5.5px;

    border: 0;
    border-radius: 50%;
    outline: none;

    background: #fff;

    box-shadow:
        0 1px 6px
        rgba(0,0,0,.55);

    cursor: grab;
}

.reader-seek-bar:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.08);
}

/* Firefox */
.reader-seek-bar::-moz-range-track {
    width: 100%;
    height: 4px;

    border: 0;
    border-radius: 999px;

    background:
        rgba(255,255,255,.18);
}

.reader-seek-bar::-moz-range-progress {
    height: 4px;

    border: 0;
    border-radius: 999px;

    background: var(--accent);
}

.reader-seek-bar::-moz-range-thumb {
    width: 15px;
    height: 15px;

    border: 0;
    border-radius: 50%;
    outline: none;

    background: #fff;

    box-shadow:
        0 1px 6px
        rgba(0,0,0,.55);

    cursor: grab;
}

/*
 * Evitar tap highlights / outlines nativos
 * dentro de todo el mando flotante.
 */
.reader-floating-toolbar,
.reader-floating-toolbar *,
.reader-floating-toolbar *::before,
.reader-floating-toolbar *::after {
    -webkit-tap-highlight-color:
        transparent;
}

.reader-floating-toolbar button,
.reader-floating-toolbar input {
    outline: none !important;
    user-select: none;
    -webkit-user-select: none;
}

.reader-floating-toolbar button:focus,
.reader-floating-toolbar button:focus-visible,
.reader-floating-toolbar input:focus,
.reader-floating-toolbar input:focus-visible {
    outline: none !important;
}

/*
 * Feedback visual propio para teclado,
 * sin usar el marco nativo del navegador.
 */
.reader-seek-bar:focus-visible::-webkit-slider-thumb {
    box-shadow:
        0 0 0 4px
        rgba(158,114,255,.18),
        0 1px 6px
        rgba(0,0,0,.55);
}

.reader-seek-bar:focus-visible::-moz-range-thumb {
    box-shadow:
        0 0 0 4px
        rgba(158,114,255,.18),
        0 1px 6px
        rgba(0,0,0,.55);
}

@media (max-width: 680px) {

    .reader-floating-toolbar {
        grid-template-rows:
            22px
            42px;
    }

    .reader-seek-row {
        height: 22px;
        padding: 0 7px;
        margin: -3px 0 -2px;
    }

    .reader-seek-bar {
        height: 22px;
    }

    .reader-seek-bar::-webkit-slider-thumb {
        width: 17px;
        height: 17px;
        margin-top: -6.5px;
    }

    .reader-seek-bar::-moz-range-thumb {
        width: 17px;
        height: 17px;
    }
}

@media (max-width: 520px) {

    

    

    .manage-book-card > .primary {
        grid-column: 2;
        justify-self: start;
    }

    

    

    

    

    

    

    

    
}

/* GOLDA_MANHWA_MANAGER_UI_V1C_END */

/* GOLDA_MANAGER_ZERO_RESIDUE_DELETE_V1B_START */

.danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 40px;
    padding: 9px 13px;

    border: 1px solid
        rgba(255, 82, 82, .42);

    border-radius: 11px;

    background:
        rgba(255, 64, 64, .09);

    color: #ff8e8e;

    font: inherit;
    font-weight: 750;

    cursor: pointer;

    transition:
        background 150ms ease,
        border-color 150ms ease,
        transform 150ms ease;
}

.danger-button:hover {
    background:
        rgba(255, 64, 64, .16);

    border-color:
        rgba(255, 100, 100, .62);
}

.danger-button:active {
    transform: scale(.98);
}

.danger-button:disabled {
    opacity: .48;
    cursor: default;
    transform: none;
}

.danger-button.compact {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
}

.danger-button.wide {
    width: 100%;
}

/* GOLDA_MANAGER_ZERO_RESIDUE_DELETE_V1B_END */

/* GOLDA_LIBRARY_CHAPTER_BRAND_V1_START */

/*
 * Avatar de usuario.
 */
#logoutButton .user-avatar {
    display: block;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

#logoutButton {
    gap: 8px;
}


/*
 * Biblioteca: los dos metadatos lógicos
 * llevan iconos consistentes.
 */





/*
 * Miniaturas de capítulos en detalle.
 */
.detail-chapter-media {
    aspect-ratio: 4 / 5 !important;
}

.detail-chapter-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}


/*
 * Tarjeta final NEXT:
 * miniatura vertical 4:5,
 * información central,
 * acción visual a la derecha.
 *
 * Toda la tarjeta continúa siendo el botón.
 */
.reader-next-chapter-card.reader-next-chapter-card-with-preview {
    grid-template-columns:
        112px
        minmax(0, 1fr)
        46px
        !important;

    align-items: center !important;

    gap: 14px !important;

    width:
        min(
            calc(100% - 28px),
            590px
        )
        !important;

    padding: 10px !important;
}

.reader-next-chapter-preview {
    width: 112px !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 10px !important;
}

.reader-next-chapter-preview img {
    object-fit: cover !important;
    object-position: center top;
}

.reader-next-chapter-symbol {
    display: none !important;
}

.reader-next-chapter-action {
    display: grid !important;
    place-items: center;

    width: 42px;
    height: 42px;

    justify-self: end;

    margin: 0 !important;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            .10
        );

    color: #fff;

    opacity: 1 !important;

    font-size: 16px !important;
}

.reader-next-chapter-card:hover
.reader-next-chapter-action,
.reader-next-chapter-card:focus-visible
.reader-next-chapter-action {
    background:
        rgba(
            255,
            255,
            255,
            .18
        );
}

@media (max-width: 520px) {

    #logoutButton .user-avatar {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .reader-next-chapter-card.reader-next-chapter-card-with-preview {
        grid-template-columns:
            88px
            minmax(0, 1fr)
            38px
            !important;

        gap: 10px !important;
        padding: 8px !important;
    }

    .reader-next-chapter-preview {
        width: 88px !important;
    }

    .reader-next-chapter-action {
        width: 36px;
        height: 36px;
        font-size: 14px !important;
    }
}

/* GOLDA_LIBRARY_CHAPTER_BRAND_V1_END */

/* GOLDA_NEXT_BUTTON_SPACING_V1_START */

.reader-next-chapter-action {
    margin-right: 24px !important;
}

@media (max-width: 520px) {
    .reader-next-chapter-action {
        margin-right: 12px !important;
    }
}

/* GOLDA_NEXT_BUTTON_SPACING_V1_END */

/* GOLDA_HEADER_AVATAR_LOGO_V1_START */

.brand-mark,
.brand-mini {
    padding: 0 !important;
    overflow: hidden;
    flex: 0 0 auto;
}

.brand-mark img,
.brand-mini img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.brand-mark img {
    border-radius: inherit;
}

.brand-mini img {
    border-radius: inherit;
}

/*
 * El avatar ya no pertenece al botón Salir.
 * Estas reglas neutralizan el antiguo ajuste
 * adicional que se había agregado al botón.
 */
#logoutButton {
    gap: initial;
}

/* GOLDA_HEADER_AVATAR_LOGO_V1_END */

/* GOLDA_NEW_STATUS_GREEN_V1C_START */







/* GOLDA_NEW_STATUS_GREEN_V1C_END */

/* GOLDA_LIBRARY_PROGRESS_MOTION_V1_STYLE_START */

.golda-count-up {
    display: inline;
    font-variant-numeric: tabular-nums;
}

/*
 * CONTINUAR LEYENDO
 * Tarjeta estable independientemente
 * del ancho del viewport.
 */
.continue-reading-rail {
    align-items: stretch;
    scrollbar-width: thin;
}

.continue-reading-card {
    box-sizing: border-box;
    flex: 0 0 300px;
    width: 300px;
    min-width: 0;
    min-height: 112px;
    grid-template-columns:
        68px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 10px;
    overflow: hidden;
}

.continue-reading-card > * {
    min-width: 0;
}

.continue-reading-cover {
    position: relative;
    width: 68px;
    aspect-ratio: 4 / 5;
    align-self: center;
    flex: 0 0 auto;
    border-radius: 10px;
}

.continue-reading-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.continue-reading-play {
    position: absolute;
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;

    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        rgba(8, 10, 15, .78);

    border:
        1px solid
        rgba(255,255,255,.18);

    color: #fff;

    box-shadow:
        0 4px 14px
        rgba(0,0,0,.28);

    font-size: 10px;

    pointer-events: none;
}

.continue-reading-play i {
    display: block;
    line-height: 1;
    transform: translateX(1px);
}

.continue-reading-copy {
    width: 100%;
    min-width: 0;
    gap: 7px;
}

.continue-reading-copy strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.25;
}

.continue-reading-meta {
    display: block;
    min-width: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.3;
    font-variant-numeric:
        tabular-nums;
}

.continue-reading-progress-row {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.continue-reading-progress {
    display: block;
    width: 100%;
    min-width: 0;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background:
        rgba(255,255,255,.10);
}

.continue-reading-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            var(--accent),
            #a37cff
        );
}

.continue-reading-percent {
    min-width: 30px;
    text-align: right;
    color: var(--text);
    font-size: 10px;
    font-weight: 800;
    font-variant-numeric:
        tabular-nums;
}

/*
 * Barra principal de las tarjetas
 * de Biblioteca.
 */


/*
 * Mantener los números estables
 * mientras hacen count-up.
 */
#librarySubtitle {
    font-variant-numeric:
        tabular-nums;
}

@media (max-width: 680px) {

    .continue-reading-section {
        margin-top: 4px;
        margin-bottom: 20px;
    }

    .continue-reading-heading {
        margin-bottom: 9px;
    }

    .continue-reading-heading h2 {
        font-size: 19px;
    }

    .continue-reading-rail {
        gap: 10px;
        margin-left: -2px;
        margin-right: -2px;
        padding:
            2px 2px 8px;
    }

    .continue-reading-card {
        flex-basis:
            min(82vw, 280px);
        width:
            min(82vw, 280px);

        min-height: 104px;

        grid-template-columns:
            62px minmax(0, 1fr);

        gap: 10px;
        padding: 9px;
        border-radius: 13px;
    }

    .continue-reading-cover {
        width: 62px;
        aspect-ratio: 4 / 5;
        border-radius: 9px;
    }

    .continue-reading-play {
        width: 29px;
        height: 29px;
        font-size: 9px;
    }

    .continue-reading-copy {
        gap: 6px;
    }

    .continue-reading-copy strong {
        font-size: 13px;
    }

    .continue-reading-meta {
        font-size: 10px;
    }

    .continue-reading-progress-row {
        gap: 6px;
    }

    .continue-reading-progress {
        height: 4px;
    }

    .continue-reading-percent {
        min-width: 27px;
        font-size: 9px;
    }
}

@media (max-width: 390px) {

    .continue-reading-card {
        flex-basis:
            min(86vw, 264px);
        width:
            min(86vw, 264px);

        grid-template-columns:
            58px minmax(0, 1fr);

        gap: 9px;
        padding: 8px;
    }

    .continue-reading-cover {
        width: 58px;
    }

    .continue-reading-copy strong {
        font-size: 12px;
    }

    .continue-reading-meta {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .continue-reading-progress-fill {
        transition: none !important;
    }
}

/* GOLDA_LIBRARY_PROGRESS_MOTION_V1_STYLE_END */

/* GOLDA_LIBRARY_MOBILE_TYPOGRAPHY_V1_START */

@media (max-width: 680px) {

    #librarySubtitle {
        font-size: 13px !important;
        line-height: 1.35;
    }

    

    

    

    

    

    

    

    

    

    .continue-reading-heading h2 {
        font-size: 21px !important;
    }

    .continue-reading-copy strong {
        font-size: 14.5px !important;
        line-height: 1.3;
    }

    .continue-reading-meta {
        font-size: 11.5px !important;
        line-height: 1.35;
    }

    .continue-reading-percent {
        min-width: 31px;
        font-size: 10.5px !important;
    }

    .continue-reading-card {
        min-height: 108px;
    }
}

@media (max-width: 390px) {

    #librarySubtitle {
        font-size: 12px !important;
    }

    

    

    

    

    

    .continue-reading-copy strong {
        font-size: 14px !important;
    }

    .continue-reading-meta {
        font-size: 11px !important;
    }

    .continue-reading-percent {
        font-size: 10px !important;
    }
}

/* GOLDA_LIBRARY_MOBILE_TYPOGRAPHY_V1_END */

/* GOLDA_GLOBAL_MOBILE_TYPOGRAPHY_V1_START */

/*
 * Escala tipográfica móvil global.
 * Solo <= 760px.
 * No altera la versión de escritorio.
 */
@media (max-width: 760px) {

    /*
     * BASE / LOGIN / MENSAJES
     */
    .login-card label {
        font-size: 15px !important;
    }

    .login-card input[type="email"],
.login-card input[type="password"] {
        font-size: 16px !important;
    }

    .small-text,
.form-error {
        font-size: 13.5px !important;
        line-height: 1.45;
    }

    .toast {
        font-size: 14px !important;
        line-height: 1.4;
    }

    /*
     * BOTONES GENERALES
     */
    .primary,
.secondary,
.compact,
.danger-button {
        font-size: 13.5px !important;
        line-height: 1.2;
    }

    .compact {
        min-height: 38px;
    }

    /*
     * TOPBAR / NAVEGACIÓN
     */
    .topbar .secondary {
        font-size: 13px !important;
    }

    .brand-button {
        font-size: 14px;
    }

    /*
     * ENCABEZADOS GENERALES
     */
    .section-heading p,
.review-heading p {
        font-size: 13.5px !important;
        line-height: 1.4;
    }

    /*
     * IMPORTACIÓN LEGACY / ARCHIVOS
     */
    .file-name {
        font-size: 13.5px;
    }

    .file-meta,
.file-state {
        font-size: 12.5px !important;
        line-height: 1.35;
    }

    .group-warning,
.group-warning strong {
        font-size: 13.5px !important;
    }

    /*
     * BIBLIOTECA
     */
    #librarySubtitle {
        font-size: 13px !important;
    }

    

    

    

    

    

    

    /*
     * CONTINUAR LEYENDO
     */
    .continue-reading-heading h2 {
        font-size: 21px !important;
    }

    .continue-reading-copy strong {
        font-size: 15px !important;
        line-height: 1.3;
    }

    .continue-reading-meta {
        font-size: 12px !important;
        line-height: 1.4;
    }

    .continue-reading-percent {
        min-width: 34px;
        font-size: 11.5px !important;
    }

    /*
     * DETALLE DEL MANHWA
     */
    .detail-kicker,
.detail-section-kicker {
        font-size: 11.5px !important;
        line-height: 1.3;
    }

    .detail-meta {
        font-size: 13px !important;
        line-height: 1.4;
    }

    .detail-progress-top {
        font-size: 12.5px !important;
    }

    .detail-actions button {
        min-height: 41px;
        font-size: 13px !important;
    }

    .detail-season-summary {
        font-size: 12.5px !important;
        line-height: 1.35;
    }

    .detail-season-tab span {
        font-size: 13.5px;
    }

    .detail-season-tab small {
        font-size: 11.5px !important;
        line-height: 1.35;
    }

    .detail-chapter-heading h3 {
        font-size: 15px !important;
        line-height: 1.3;
    }

    .detail-chapter-status {
        font-size: 11.5px !important;
        line-height: 1.3;
    }

    .detail-chapter-meta {
        font-size: 12px !important;
        line-height: 1.4;
    }

    .detail-loading {
        font-size: 13.5px;
    }

    /*
     * IMPORTADOR SIMPLE
     */
    

    .simple-progress-text {
        font-size: 14px !important;
    }

    .simple-review-status {
        font-size: 13.5px !important;
    }

    .simple-review-head {
        font-size: 12px !important;
        line-height: 1.3;
    }

    .simple-review-file {
        font-size: 14px !important;
    }

    .simple-chapter-input,
.simple-name-field input {
        font-size: 16px !important;
    }

    .simple-name-field span {
        font-size: 13.5px;
    }

    .simple-name-card > p {
        font-size: 14px;
        line-height: 1.45;
    }

    /*
     * ZONA OFFLINE
     */
    .offline-card-title {
        font-size: 16px !important;
    }

    .offline-card-meta,
.offline-card-loading {
        font-size: 13px !important;
        line-height: 1.4;
    }

    .offline-status {
        font-size: 12px !important;
    }

    .offline-size-row {
        font-size: 12px !important;
        line-height: 1.35;
    }

    .offline-card-actions button {
        min-height: 41px;
        font-size: 13px !important;
    }

    /*
     * GESTIONAR
     */
    

    

    

    

    

    

    

    

    

    

    

    

    /*
     * LECTOR — BARRA SUPERIOR
     */
    .reader-title {
        font-size: 14px !important;
    }

    .reader-position {
        font-size: 12px !important;
        line-height: 1.3;
    }

    .volume-marker {
        font-size: 12.5px !important;
        line-height: 1.45;
    }

    .reader-loading {
        font-size: 13px !important;
    }

    /*
     * LECTOR — CONTROLES INFERIORES
     */
    .reader-floating-toolbar
    .reader-page-chip {
        font-size:
            clamp(
                12px,
                3.45vw,
                14px
            ) !important;
    }

    /*
     * LECTOR — ÍNDICE / SHEET
     */
    .reader-sheet-header small {
        font-size: 13px !important;
    }

    .reader-index-season {
        font-size: 12px !important;
        line-height: 1.3;
    }

    .reader-index-item-title {
        font-size: 14.5px !important;
    }

    .reader-index-item small {
        font-size: 12px !important;
    }

    .reader-sheet-actions button {
        min-height: 44px;
        font-size: 13.5px !important;
    }

    /*
     * LECTOR — SIGUIENTE CAPÍTULO
     */
    .reader-next-chapter-copy strong {
        font-size: 16px !important;
        line-height: 1.3;
    }

    .reader-next-chapter-copy small {
        font-size: 12.5px !important;
        line-height: 1.4;
    }

    .reader-chapter-finish span {
        font-size: 14px !important;
    }
}


/*
 * Móviles muy estrechos:
 * no volver a reducir a tamaños ilegibles.
 */
@media (max-width: 390px) {

    

    

    

    

    

    

    .continue-reading-copy strong {
        font-size: 14.5px !important;
    }

    .continue-reading-meta {
        font-size: 11.5px !important;
    }

    .continue-reading-percent {
        font-size: 11px !important;
    }
}

/* GOLDA_GLOBAL_MOBILE_TYPOGRAPHY_V1_END */

/* GOLDA_CONTENT_UPDATE_BADGES_V1_START */

/*
 * Nueva temporada:
 * azul intenso.
 */



/*
 * Nuevos capítulos:
 * naranja oscuro, bien contrastado.
 */





/* GOLDA_CONTENT_UPDATE_BADGES_V1_END */

/* GOLDA_TOP_ACTIONS_DROPDOWN_V1_STYLE_START */

.top-actions {
    position: relative;
    display: block;
    flex: 0 0 auto;
}


/*
 * Único control visible a la derecha.
 */
.top-menu-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    border:
        1px solid
        rgba(255,255,255,.12);
    border-radius: 13px;
    color: #f8fafc;
    background:
        rgba(255,255,255,.065);
    cursor: pointer;
    box-shadow:
        0 5px 18px
        rgba(0,0,0,.14);
    transition:
        background .16s ease,
        border-color .16s ease,
        transform .16s ease,
        box-shadow .16s ease;
    -webkit-tap-highlight-color:
        transparent;
}

.top-menu-button i {
    font-size: 17px;
    line-height: 1;
}

.top-menu-button:hover,
.top-menu-button:focus-visible,
.top-menu-button.is-open {
    color: #ffffff;
    background:
        rgba(124,92,255,.18);
    border-color:
        rgba(154,130,255,.46);
    box-shadow:
        0 7px 22px
        rgba(0,0,0,.22);
}

.top-menu-button:active {
    transform: scale(.96);
}

.top-menu-button:focus-visible {
    outline:
        2px solid
        rgba(154,130,255,.74);
    outline-offset: 2px;
}


/*
 * Panel.
 */
.top-actions-menu {
    position: absolute;
    z-index: 1200;
    top:
        calc(100% + 9px);
    right: 0;

    width: 246px;
    max-width:
        calc(100vw - 24px);

    padding: 7px;

    display: flex;
    flex-direction: column;
    gap: 2px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 16px;

    background:
        rgba(17,23,34,.97);

    box-shadow:
        0 22px 65px
        rgba(0,0,0,.48);

    backdrop-filter:
        blur(22px);

    -webkit-backdrop-filter:
        blur(22px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateY(-7px)
        scale(.975);

    transform-origin:
        top right;

    transition:
        opacity .16s ease,
        transform .16s ease,
        visibility .16s ease;
}

.top-actions-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform:
        translateY(0)
        scale(1);
}


/*
 * Anula las reglas antiguas de botones
 * horizontales del topbar, manteniendo
 * exactamente sus IDs y listeners.
 */
.top-actions-menu
.top-menu-item {
    box-sizing: border-box;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    height: auto !important;

    margin: 0;

    padding:
        0 12px !important;

    display: flex;

    align-items: center;

    justify-content:
        flex-start !important;

    gap: 12px !important;

    border:
        1px solid
        transparent !important;

    border-radius: 11px;

    color: #dce3ee;

    background:
        transparent !important;

    font-size: 14px !important;
    font-weight: 700;

    text-align: left;

    box-shadow: none !important;

    cursor: pointer;

    transition:
        background .14s ease,
        color .14s ease,
        border-color .14s ease;
}

.top-actions-menu
.top-menu-item:hover,
.top-actions-menu
.top-menu-item:focus-visible {
    color: #ffffff;

    background:
        rgba(255,255,255,.075)
        !important;

    border-color:
        rgba(255,255,255,.06)
        !important;
}

.top-actions-menu
.top-menu-item:focus-visible {
    outline:
        2px solid
        rgba(154,130,255,.66);

    outline-offset:
        -2px;
}


/*
 * Las etiquetas deben verse dentro del menú
 * incluso en móviles, donde antes se
 * ocultaban para ahorrar espacio.
 */
.top-actions-menu
.nav-label {
    display: inline !important;
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
}


/*
 * Iconos perfectamente alineados.
 */
.top-actions-menu
.top-menu-item i {
    width: 20px !important;
    flex: 0 0 20px;
    margin: 0;
    font-size: 15px !important;
    line-height: 1;
    text-align: center;
    color: #9ca9bb;
}

.top-actions-menu
.top-menu-item:hover i,
.top-actions-menu
.top-menu-item:focus-visible i {
    color: #c8bcff;
}


/*
 * Salir queda separado visualmente sin
 * convertir el menú en algo recargado.
 */
#topActionsMenu
#logoutButton {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    height: auto !important;

    margin-top: 5px;

    padding:
        5px 12px 0
        !important;

    gap: 12px !important;

    border-top:
        1px solid
        rgba(255,255,255,.08)
        !important;

    border-right:
        1px solid
        transparent !important;

    border-bottom:
        1px solid
        transparent !important;

    border-left:
        1px solid
        transparent !important;

    border-radius:
        0 0 11px 11px;

    color: #f0b5b5;
}

#topActionsMenu
#logoutButton:hover,
#topActionsMenu
#logoutButton:focus-visible {
    color: #ffd2d2;

    background:
        rgba(239,68,68,.09)
        !important;
}

#topActionsMenu
#logoutButton i {
    color: #df8d8d;
}


/*
 * Continue ya estaba oculto por la UX
 * existente. No se reactiva aquí.
 */


/*
 * Tablet y móvil.
 */
@media (max-width: 760px) {

    .top-menu-button {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 12px;
    }

    .top-menu-button i {
        font-size: 17px;
    }

    .top-actions-menu {
        width: 238px;
        max-width:
            calc(100vw - 20px);

        top:
            calc(100% + 8px);

        padding: 6px;

        border-radius: 15px;
    }

    .top-actions-menu
    .top-menu-item {
        min-height:
            47px !important;

        padding:
            0 12px !important;

        font-size:
            14px !important;
    }
}


/*
 * Teléfonos muy estrechos.
 */
@media (max-width: 390px) {

    .top-actions-menu {
        width:
            min(
                232px,
                calc(100vw - 18px)
            );
    }

    .top-actions-menu
    .top-menu-item {
        min-height:
            46px !important;

        font-size:
            13.5px !important;
    }
}


/*
 * Usuarios que prefieren menos movimiento.
 */
@media (
    prefers-reduced-motion:
    reduce
) {

    .top-menu-button,
.top-actions-menu,
.top-actions-menu
    .top-menu-item {
        transition: none !important;
    }
}

/* GOLDA_TOP_ACTIONS_DROPDOWN_V1_STYLE_END */

/* GOLDA_MOBILE_PWA_LOGIN_GATE_V1B_STYLE_START */

.pwa-install-gate {
    position: fixed;
    z-index: 5000;
    inset: 0;
    box-sizing: border-box;

    display: grid;
    place-items: center;

    min-height: 100vh;
    min-height: 100dvh;

    padding:
        max(22px, env(safe-area-inset-top))
        max(18px, env(safe-area-inset-right))
        max(22px, env(safe-area-inset-bottom))
        max(18px, env(safe-area-inset-left));

    overflow-y: auto;

    background:
        radial-gradient(
            circle at 50% 18%,
            rgba(124,92,255,.15),
            transparent 36%
        ),
        #080b12;

    overscroll-behavior: none;
}

body.pwa-install-gate-active {
    overflow: hidden;
}

.pwa-install-card {
    box-sizing: border-box;

    width: min(100%, 430px);

    padding: 30px 26px 26px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 24px;

    background:
        rgba(17,23,34,.94);

    box-shadow:
        0 28px 90px
        rgba(0,0,0,.54);

    text-align: center;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.pwa-install-logo {
    width: 82px;
    height: 82px;

    margin: 0 auto 19px;

    overflow: hidden;

    border-radius: 23px;

    box-shadow:
        0 13px 34px
        rgba(0,0,0,.34);
}

.pwa-install-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-install-kicker {
    margin-bottom: 8px;

    color: #9d8cff;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .12em;
}

.pwa-install-card h1 {
    margin: 0 0 10px;

    color: #f8fafc;

    font-size:
        clamp(
            26px,
            7vw,
            32px
        );

    line-height: 1.12;

    letter-spacing: -.025em;
}

.pwa-install-description {
    max-width: 340px;

    margin: 0 auto;

    color: #a7b1c2;

    font-size: 14px;
    line-height: 1.55;
}

.pwa-install-hint {
    margin: 21px auto 0;

    color: #e7eaf0;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.45;
}

.pwa-install-button {
    min-height: 50px;

    margin-top: 19px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    font-size: 15px !important;
}

.pwa-install-manual {
    margin-top: 19px;

    padding: 5px 0 0;

    text-align: left;
}

.pwa-install-step {
    display: grid;

    grid-template-columns:
        38px
        minmax(0,1fr);

    align-items: center;

    gap: 11px;

    min-height: 50px;

    padding: 7px 4px;

    color: #cbd5e1;

    font-size: 13.5px;
    line-height: 1.4;

    border-top:
        1px solid
        rgba(255,255,255,.065);
}

.pwa-install-step:first-child {
    border-top: 0;
}

.pwa-install-step-icon {
    display: grid;
    place-items: center;

    width: 36px;
    height: 36px;

    border-radius: 11px;

    color: #c6bcff;

    background:
        rgba(124,92,255,.12);

    border:
        1px solid
        rgba(154,130,255,.14);
}

.pwa-install-step strong {
    color: #ffffff;
}

.pwa-install-installed {
    display: grid;

    grid-template-columns:
        34px
        minmax(0,1fr);

    align-items: center;

    gap: 10px;

    padding: 13px 14px;

    border:
        1px solid
        rgba(34,197,94,.22);

    border-radius: 14px;

    color: #d8fbe3;

    background:
        rgba(34,197,94,.08);

    font-size: 13.5px;
    line-height: 1.45;
}

.pwa-install-installed i {
    color: #22c55e;
    font-size: 18px;
}

@media (max-width: 520px) {

    .pwa-install-gate {
        padding:
            max(16px, env(safe-area-inset-top))
            max(13px, env(safe-area-inset-right))
            max(16px, env(safe-area-inset-bottom))
            max(13px, env(safe-area-inset-left));
    }

    .pwa-install-card {
        padding: 26px 20px 21px;

        border-radius: 21px;
    }

    .pwa-install-logo {
        width: 74px;
        height: 74px;

        margin-bottom: 17px;

        border-radius: 21px;
    }

    .pwa-install-description,
.pwa-install-hint {
        font-size: 13.5px;
    }

    .pwa-install-step {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .pwa-install-gate *,
.pwa-install-gate *::before,
.pwa-install-gate *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* GOLDA_MOBILE_PWA_LOGIN_GATE_V1B_STYLE_END */

/* GOLDA_INSTALLED_SUCCESS_MODAL_V1B_START */

/*
 * Cuando la PWA ya existe, el aspecto
 * normal de instalación desaparece.
 */
.pwa-install-card.is-installed-success {
    width: min(100%, 570px);

    padding: 18px;

    overflow: hidden;

    border:
        1px solid
        rgba(52, 211, 153, .40);

    border-radius: 26px;

    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(45, 212, 191, .28),
            transparent 40%
        ),
        radial-gradient(
            circle at 92% 90%,
            rgba(99, 102, 241, .28),
            transparent 44%
        ),
        linear-gradient(
            135deg,
            #0d3b3d 0%,
            #10263e 52%,
            #20215b 100%
        );

    box-shadow:
        0 30px 90px
        rgba(0, 0, 0, .55),
        0 0 42px
        rgba(45, 212, 191, .11);
}


/*
 * Ocultar completamente el contenido
 * del modal de instalación normal.
 */
.pwa-install-card.is-installed-success
> .pwa-install-logo,
.pwa-install-card.is-installed-success
> .pwa-install-kicker,
.pwa-install-card.is-installed-success
> #pwaInstallTitle,
.pwa-install-card.is-installed-success
> #pwaInstallDescription,
.pwa-install-card.is-installed-success
> #pwaInstallHint,
.pwa-install-card.is-installed-success
> #pwaInstallButton {
    display: none !important;
}


.pwa-install-card.is-installed-success
> #pwaInstallManual.is-installed-success-layout {
    display: block !important;

    margin: 0;
    padding: 0;

    text-align: left;
}


.pwa-installed-success {
    display: grid;

    grid-template-columns:
        112px minmax(0, 1fr);

    gap: 21px;

    align-items: center;

    min-height: 160px;

    padding: 20px;

    border:
        1px solid
        rgba(255, 255, 255, .14);

    border-radius: 21px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .15),
            rgba(255, 255, 255, .055)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, .10);
}


.pwa-installed-success__logo {
    display: flex;

    align-items: center;
    justify-content: center;
}


.pwa-installed-success__logo img {
    display: block;

    width: 112px;
    height: 112px;

    object-fit: cover;

    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0 18px 40px
        rgba(0, 0, 0, .34),
        0 0 0 4px
        rgba(255, 255, 255, .15),
        0 0 32px
        rgba(45, 212, 191, .24);
}


.pwa-installed-success__content {
    min-width: 0;
}


.pwa-installed-success__badge {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 10px;

    padding: 6px 10px;

    border-radius: 999px;

    color: #052e2b;

    background:
        linear-gradient(
            135deg,
            #86efac,
            #5eead4
        );

    font-size: 11px;

    font-weight: 950;

    letter-spacing: .08em;

    box-shadow:
        0 8px 20px
        rgba(45, 212, 191, .22);
}


.pwa-installed-success__badge i {
    font-size: 13px;
}


.pwa-installed-success h2 {
    margin:
        0 0 7px;

    color: #ffffff;

    font-size:
        clamp(
            21px,
            5vw,
            29px
        );

    line-height: 1.08;

    font-weight: 950;

    letter-spacing: -.025em;
}


.pwa-installed-success__positive {
    margin:
        0 0 5px;

    color: #99f6e4;

    font-size: 15px;

    font-weight: 850;
}


.pwa-installed-success__action {
    margin:
        0;

    color: #ffffff;

    font-size: 16px;

    line-height: 1.4;

    font-weight: 800;
}


.pwa-installed-success__help {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 12px;

    color: #dbeafe;

    font-size: 13px;

    line-height: 1.35;
}


.pwa-installed-success__help i {
    flex: 0 0 auto;

    color: #67e8f9;

    font-size: 15px;
}


/*
 * Incluso en teléfonos estrechos se mantiene
 * la idea solicitada: logo izquierda,
 * mensaje derecha.
 */
@media (max-width: 520px) {

    .pwa-install-card.is-installed-success {
        padding: 11px;

        border-radius: 22px;
    }


    .pwa-installed-success {
        grid-template-columns:
            84px minmax(0, 1fr);

        gap: 14px;

        min-height: 132px;

        padding: 15px;

        border-radius: 18px;
    }


    .pwa-installed-success__logo img {
        width: 84px;
        height: 84px;

        border-radius: 22px;
    }


    .pwa-installed-success h2 {
        font-size: 20px;
    }


    .pwa-installed-success__positive {
        font-size: 13.5px;
    }


    .pwa-installed-success__action {
        font-size: 14px;
    }


    .pwa-installed-success__help {
        margin-top: 9px;

        font-size: 12px;
    }
}


@media (max-width: 360px) {

    .pwa-installed-success {
        grid-template-columns:
            72px minmax(0, 1fr);

        gap: 11px;

        padding: 12px;
    }


    .pwa-installed-success__logo img {
        width: 72px;
        height: 72px;

        border-radius: 19px;
    }


    .pwa-installed-success h2 {
        font-size: 18px;
    }


    .pwa-installed-success__badge {
        padding: 5px 8px;

        font-size: 9.5px;
    }
}

/* GOLDA_INSTALLED_SUCCESS_MODAL_V1B_END */

/* GOLDA_ASYNC_IMPORT_STUDIO_V1C_CSS_START */













.manage-import-state.is-ready {
    color: #bbf7d0;
    border:
        1px solid
        rgba(74, 222, 128, .18);
    background:
        rgba(34, 197, 94, .10);
}





/* GOLDA_ASYNC_IMPORT_STUDIO_V1C_CSS_END */

/* =========================================================
   GOLDA_MANAGER_STUDIO_V2A1_CSS
   ========================================================= */









.manage-studio-summary
.manage-studio-stat {
    min-height: 70px;
    padding: 12px;
    border: 1px solid
        rgba(255,255,255,.08);
    border-radius: 15px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.025)
        );
}

















.manage-studio-chip.is-ready {
    background:
        rgba(49,196,123,.14);
    color: #77e6ae;
}













.manage-studio-stat {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 7px;
    border-radius: 10px;
    background:
        rgba(255,255,255,.045);
}

.manage-studio-stat-icon {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background:
        rgba(255,255,255,.065);
    color: var(--accent);
    font-size: 11px;
}

.manage-studio-stat-copy {
    min-width: 0;
    display: grid;
    line-height: 1.05;
}

.manage-studio-stat-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 850;
}

.manage-studio-stat-copy small {
    margin-top: 3px;
    overflow: hidden;
    color: var(--muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}



































@media (max-width: 760px) {

    

    .manage-studio-summary
    .manage-studio-stat {
        min-height: 58px;
        padding: 8px;
    }

    

    

    

    

    

    

    

    

    .manage-studio-stat {
        gap: 4px;
        padding: 5px;
        border-radius: 8px;
    }

    .manage-studio-stat-icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
        font-size: 9px;
    }

    .manage-studio-stat-copy strong {
        font-size: 11px;
    }

    .manage-studio-stat-copy small {
        font-size: 7px;
    }

    

    

    

    

    

    

    

    
}

/* GOLDA_PUBLICATION_LABEL_V2_0_4_END */


/* GOLDA_INSTANT_SEARCH_V1_START */

.topbar {
    overflow: visible;
}

.golda-search-shell {
    position: relative;
    z-index: 1200;

    flex:
        1 1 560px;

    min-width: 180px;
    max-width: 620px;

    margin:
        0 clamp(10px, 2vw, 26px);
}

.golda-search-field {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
}

.golda-search-field
> .fa-magnifying-glass {
    position: absolute;

    left: 14px;
    z-index: 2;

    color: var(--muted);

    font-size: 13px;

    pointer-events: none;
}

.golda-search-input {
    width: 100%;
    height: 40px;

    margin: 0;
    padding:
        0 40px 0 38px;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius: 13px;

    outline: none;

    background:
        rgba(255,255,255,.055);

    color: inherit;

    font: inherit;
    font-size: 13px;

    transition:
        border-color 140ms ease,
        background 140ms ease,
        box-shadow 140ms ease;
}

.golda-search-input::placeholder {
    color: var(--muted);
    opacity: .78;
}

.golda-search-input:hover {
    background:
        rgba(255,255,255,.075);
}

.golda-search-input:focus {
    border-color:
        rgba(255,255,255,.25);

    background:
        rgba(255,255,255,.09);

    box-shadow:
        0 0 0 3px
        rgba(255,255,255,.035);
}

.golda-search-input::-webkit-search-cancel-button {
    display: none;
}

.golda-search-clear {
    position: absolute;

    right: 5px;

    display: grid;
    place-items: center;

    width: 31px;
    height: 31px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 9px;

    background: transparent;

    color: var(--muted);

    cursor: pointer;
}

.golda-search-clear:hover,
.golda-search-clear:focus-visible {
    background:
        rgba(255,255,255,.09);

    color: inherit;
}

.golda-search-results {
    position: absolute;

    left: 0;
    right: 0;
    top: calc(100% + 8px);

    max-height:
        min(
            68vh,
            520px
        );

    overflow-y: auto;
    overscroll-behavior: contain;

    padding: 6px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 15px;

    background:
        rgba(15,18,26,.98);

    box-shadow:
        0 20px 55px
        rgba(0,0,0,.52);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);
}

.golda-search-results.hidden {
    display: none;
}

.golda-search-result {
    display: grid;

    grid-template-columns:
        42px
        minmax(0,1fr)
        24px;

    align-items: center;

    gap: 11px;

    width: 100%;

    min-height: 58px;

    margin: 0;
    padding: 7px;

    border: 0;
    border-radius: 11px;

    background: transparent;

    color: inherit;

    text-align: left;

    cursor: pointer;
}

.golda-search-result:hover,
.golda-search-result.is-active,
.golda-search-result:focus-visible {
    background:
        rgba(255,255,255,.085);

    outline: none;
}

.golda-search-result-cover {
    display: grid;
    place-items: center;

    width: 42px;
    height: 52px;

    overflow: hidden;

    border-radius: 7px;

    background:
        rgba(255,255,255,.07);
}

.golda-search-result-cover img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
}

.golda-search-result-fallback {
    font-size: 16px;
    font-weight: 800;
}

.golda-search-result-copy {
    display: grid;

    min-width: 0;

    gap: 4px;
}

.golda-search-result-copy strong {
    overflow: hidden;

    font-size: 13px;
    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.golda-search-result-copy small {
    overflow: hidden;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.golda-search-result > .fa-chevron-right {
    justify-self: center;

    color: var(--muted);

    font-size: 10px;
}

.golda-search-empty {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 66px;

    color: var(--muted);

    font-size: 12px;
}

.golda-search-more {
    padding: 8px 10px 6px;

    color: var(--muted);

    font-size: 10px;
    text-align: center;
}


/*
 * Móvil:
 * se conserva el avatar pero se libera
 * el espacio ocupado por el texto GOLDA.
 */
@media (max-width: 680px) {

    .topbar {
        gap: 5px;
    }

    .brand-button .brand-name {
        display: none;
    }

    .brand-button {
        gap: 0;
    }

    .golda-search-shell {
        flex:
            1 1 auto;

        min-width: 0;
        max-width: none;

        margin:
            0 5px;
    }

    .golda-search-input {
        height: 40px;

        padding:
            0 34px 0 33px;

        border-radius: 12px;

        font-size: 12px;
    }

    .golda-search-field
    > .fa-magnifying-glass {
        left: 11px;
        font-size: 12px;
    }

    .golda-search-clear {
        right: 3px;

        width: 30px;
        height: 30px;
    }

    .golda-search-results {
        position: fixed;

        left: 8px;
        right: 8px;
        top: 62px;

        max-height:
            min(
                70vh,
                520px
            );

        border-radius: 14px;
    }
}


@media (max-width: 390px) {

    .golda-search-shell {
        margin:
            0 2px;
    }

    .golda-search-input {
        padding-left: 30px;
        padding-right: 31px;

        font-size: 11px;
    }

    .golda-search-field
    > .fa-magnifying-glass {
        left: 10px;
        font-size: 11px;
    }

    .golda-search-result {
        grid-template-columns:
            38px
            minmax(0,1fr)
            18px;

        gap: 8px;
    }

    .golda-search-result-cover {
        width: 38px;
        height: 48px;
    }
}

/* GOLDA_INSTANT_SEARCH_V1_END */

/* GOLDA_COMPLETED_LIBRARY_V1_CSS */





/* GOLDA_START_LATE_MODAL_TEST_V12_CSS */

.start-late-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 18px;
}

.start-late-modal.hidden {
    display: none;
}

.start-late-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.start-late-card {
    position: relative;
    width: min(100%, 460px);
    max-height: calc(100dvh - 36px);
    overflow: auto;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: #11151b;
    color: #f7f8fb;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

.start-late-card h2 {
    margin: 0;
    font-size: clamp(22px, 5vw, 27px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.start-late-copy {
    margin-top: 18px;
    color: rgba(247, 248, 251, 0.82);
    font-size: 16px;
    line-height: 1.5;
}

.start-late-copy p {
    margin: 0;
}

.start-late-copy p + p {
    margin-top: 16px;
}

.start-late-actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.start-late-actions button {
    width: 100%;
    min-height: 48px;
}

@media (max-width: 560px) {

    .start-late-modal {
        padding: 14px;
    }

    .start-late-card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .start-late-copy {
        font-size: 15px;
    }
}


/* GOLDA_END_MISSING_MODAL_TEST_V1_CSS */

.end-missing-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483100;
    display: grid;
    place-items: center;
    padding: 18px;
}

.end-missing-modal.hidden {
    display: none;
}

.end-missing-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.end-missing-card {
    position: relative;
    width: min(100%, 470px);
    max-height: calc(100dvh - 36px);
    overflow: auto;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: #11151b;
    color: #f7f8fb;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.end-missing-card h2 {
    margin: 0;
    font-size: clamp(22px, 5vw, 27px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.end-missing-copy {
    margin: 14px 0 0;
    color: rgba(247, 248, 251, 0.80);
    font-size: 15px;
    line-height: 1.5;
}

.end-missing-ranges {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.end-missing-range {
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    font-size: 14px;
    line-height: 1.35;
}

.end-missing-range strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 14px;
}

.end-missing-range span {
    color: rgba(247, 248, 251, 0.76);
}

.end-missing-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.end-missing-actions button {
    width: 100%;
    min-height: 48px;
}

.detail-chapter-card.end-missing-focus-v1 {
    scroll-margin-block: 24vh;
    outline: 2px solid currentColor;
    outline-offset: 4px;
    animation: endMissingFocusV1 1.1s ease 2;
}

@keyframes endMissingFocusV1 {
    0%,
    100% {
        transform: translateZ(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

@media (max-width: 560px) {

    .end-missing-modal {
        padding: 14px;
    }

    .end-missing-card {
        padding: 22px 18px;
        border-radius: 18px;
    }
}


/* GOLDA_FINAL_CARD_LIBRARY_CONTINUE_V1_CSS */

.reader-chapter-finish.reader-chapter-finish-with-actions {
    margin-bottom: 18px;
}

.reader-finish-library-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    padding: 11px 18px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.12),
            rgba(255,255,255,.06)
        );
    color: inherit;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.reader-finish-library-button span {
    display: inline !important;
    margin: 0 !important;
    opacity: 1 !important;
    font-size: inherit !important;
    line-height: 1 !important;
}

.reader-finish-library-button:hover,
.reader-finish-library-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.30);
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.16),
            rgba(255,255,255,.08)
        );
}

.reader-finish-continue-section {
    width: min(92%, 720px);
    margin: 0 auto 76px;
}

.reader-finish-continue-section.hidden {
    display: none;
}

.reader-finish-continue-heading {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.2;
}

.reader-finish-continue-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    padding: 2px 2px 9px;
}

.reader-finish-continue-card {
    box-sizing: border-box;
    flex: 0 0 300px;
    width: 300px;
    min-width: 0;
    min-height: 112px;
    display: grid;
    grid-template-columns: 68px minmax(0,1fr);
    align-items: center;
    gap: 13px;
    padding: 10px;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 13px;
    background: rgba(255,255,255,.045);
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.reader-finish-continue-card:hover,
.reader-finish-continue-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.065);
}

.reader-finish-continue-card:disabled {
    cursor: wait;
    opacity: .72;
}

.reader-finish-continue-card > * {
    min-width: 0;
}

.reader-finish-continue-cover {
    position: relative;
    display: block;
    width: 68px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255,255,255,.055);
}

.reader-finish-continue-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reader-finish-continue-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    transform: translate(-50%,-50%);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: rgba(8,10,15,.78);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.28);
    font-size: 10px;
    pointer-events: none;
}

.reader-finish-continue-play i {
    transform: translateX(1px);
}

.reader-finish-continue-copy {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.reader-finish-continue-copy > strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14.5px;
    line-height: 1.25;
}

.reader-finish-continue-copy > small {
    display: block;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.3;
}

.reader-finish-continue-progress-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.reader-finish-continue-progress {
    display: block;
    flex: 1 1 auto;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
}

.reader-finish-continue-progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
}

.reader-finish-continue-percent {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 680px) {

    .reader-chapter-finish.reader-chapter-finish-with-actions {
        margin-bottom: 16px;
    }

    .reader-finish-continue-section {
        width: calc(100% - 28px);
        margin-bottom: 54px;
    }

    .reader-finish-continue-heading {
        font-size: 18px;
    }

    .reader-finish-continue-card {
        flex-basis: 246px;
        width: 246px;
        min-height: 104px;
        grid-template-columns: 62px minmax(0,1fr);
        gap: 11px;
        padding: 9px;
    }

    .reader-finish-continue-cover {
        width: 62px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .reader-finish-library-button,
.reader-finish-continue-card {
        transition: none;
    }

    .reader-finish-library-button:hover,
.reader-finish-library-button:focus-visible,
.reader-finish-continue-card:hover,
.reader-finish-continue-card:focus-visible {
        transform: none;
    }
}

/* GOLDA_FINAL_CARD_LIBRARY_CONTINUE_V1_CSS_END */


/* ========================================================
   GOLDA_IMPORT_CSS_REAL_V4_START
   Migrado desde estilos dinámicos bloqueados por CSP.
   ======================================================== */

/* --- goldaStyleV12 --- */
#goldaGlobalDropV12 {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(8, 11, 18, .84);
    backdrop-filter: blur(8px);
    pointer-events: none;
}
#goldaGlobalDropV12.is-visible {
    display: flex;
}
.golda-global-drop-card-v12 {
    width: min(520px, 92vw);
    min-height: 240px;
    border: 2px dashed currentColor;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.golda-global-drop-card-v12 i {
    font-size: 46px;
}
.golda-global-drop-card-v12 strong {
    font-size: 22px;
}
.golda-global-drop-card-v12 span {
    font-size: 14px;
    opacity: .72;
}





/* --- goldaImportUiStyleV1 --- */
/* ==========================================================
   IMPORT VIEW
   ========================================================== */





#importView .simple-import-nav .secondary.compact {
    border-radius: 14px;
    min-height: 42px;
    padding-inline: 16px;
}

/* --- goldaImportVisualStyleV2 --- */
/* ==========================================================
   RESET VISUAL DEL IMPORTADOR ANTERIOR
   ========================================================== */










/* ==========================================================
   NUEVO WORKSPACE
   ========================================================== */
















/* ==========================================================
   DOS COLUMNAS
   ========================================================== */




/* ==========================================================
   ÁREA PRINCIPAL
   ========================================================== */






























/* ==========================================================
   PANEL LATERAL
   ========================================================== */





























.golda-import-tree-row-v2.root {
    padding-left: 0;
    font-weight: 750;
    opacity: .8;
}




/* ==========================================================
   NAV
   ========================================================== */






/* ==========================================================
   REVIEW V2
   ========================================================== */


















/* ==========================================================
   PROGRESO V2
   ========================================================== */




/* ==========================================================
   OVERLAY GLOBAL CORREGIDO
   ========================================================== */

#goldaGlobalDropV12 {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

#goldaGlobalDropV12.is-visible {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#goldaGlobalDropV12
.golda-global-drop-card-v12 {
    min-height: 300px !important;
    border-radius: 30px !important;
    border-color:
        rgba(180,160,255,.75) !important;
    background:
        rgba(18,19,27,.95);
    box-shadow:
        0 35px 100px
        rgba(0,0,0,.45);
}

/* GOLDA_IMPORT_SPACING_V5_1_END */


/* ========================================================
   GOLDA_IMPORT_WORKSPACE_HIDE_V5_2D_START
   ======================================================== */



/* GOLDA_IMPORT_WORKSPACE_HIDE_V5_2D_END */


/* ========================================================
   GOLDA_IMPORT_SELECTSTEP_HIDE_V5_2E_START
   ======================================================== */



/* GOLDA_IMPORT_SELECTSTEP_HIDE_V5_2E_END */


/* ========================================================
   GOLDA_IMPORT_PROGRESS_FOCUS_V5_2F_START
   ======================================================== */

/*
 * Mientras los PDF se están subiendo,
 * desaparece únicamente el selector inicial.
 * El panel de progreso permanece visible.
 */


/* GOLDA_IMPORT_PROGRESS_FOCUS_V5_2F_END */



/* ========================================================
   GOLDA_DETAIL_SEASON_NAV_V1_START
   GOLDA_DETAIL_SEASON_NAV_GRID_V15B
   ======================================================== */

.detail-season-navigation {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                min(100%, 280px),
                1fr
            )
        );
    gap: 10px;
    margin-top: 8px;
}

.detail-season-nav-button {
    min-width: 0;
    min-height: 88px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    grid-template-rows:
        auto
        auto;

    align-content: center;

    column-gap: 12px;
    row-gap: 8px;

    padding: 17px 19px;

    border: 1px solid var(--line);
    border-radius: 15px;

    background: var(--panel);
    color: var(--text);

    cursor: pointer;

    transition:
        border-color .15s ease,
        background .15s ease,
        transform .15s ease;
}

.detail-season-nav-button:hover,
.detail-season-nav-button:focus-visible {
    border-color: var(--accent);
    background: var(--panel2);
    transform: translateY(-1px);
    outline: none;
}

.detail-season-nav-label {
    font-size: 18px;
    line-height: 1.1;
    font-weight: 850;
}

.detail-season-nav-icon {
    align-self: center;
    color: var(--accent);
    font-size: 15px;
}

.detail-season-nav-meta {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 650;
}


/*
 * CONTINUAR
 *
 * F1 C1 = Continuar
 * F1 C2 = flecha →
 * F2 C1 = Temporada N
 * F2 C2 = vacío
 */

.detail-season-nav-button.is-next
.detail-season-nav-label {
    grid-row: 1;
    grid-column: 1;

    justify-self: start;
    text-align: left;
}

.detail-season-nav-button.is-next
.detail-season-nav-icon {
    grid-row: 1;
    grid-column: 2;

    justify-self: end;
}

.detail-season-nav-button.is-next
.detail-season-nav-meta {
    grid-row: 2;
    grid-column: 1;

    justify-self: start;
    text-align: left;
}


/*
 * REGRESAR
 *
 * F1 C1 = ← flecha
 * F1 C2 = Regresar
 * F2 C1 = vacío
 * F2 C2 = Temporada N
 */

.detail-season-nav-button.is-previous
.detail-season-nav-icon {
    grid-row: 1;
    grid-column: 1;

    justify-self: start;
}

.detail-season-nav-button.is-previous
.detail-season-nav-label {
    grid-row: 1;
    grid-column: 2;

    justify-self: end;
    text-align: right;
}

.detail-season-nav-button.is-previous
.detail-season-nav-meta {
    grid-row: 2;
    grid-column: 2;

    justify-self: end;
    text-align: right;
}


@media (max-width: 620px) {

    .detail-season-navigation {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 6px;
    }

    .detail-season-nav-button {
        min-height: 78px;
        padding: 14px 16px;
    }

    .detail-season-nav-label {
        font-size: 17px;
    }
}

/* GOLDA_DETAIL_SEASON_NAV_V1_END */

/* ========================================================
   GOLDA_DETAIL_SEASON_NAV_COMPACT_V15C
   Flecha con ancho intrínseco + bloque alineado al borde.
   ======================================================== */

.detail-season-nav-button {
    grid-template-columns:
        auto
        auto !important;

    column-gap: 10px;
}

/*
 * CONTINUAR →
 *
 * Todo el bloque se agrupa a la derecha.
 * La flecha ocupa únicamente su ancho real.
 */
.detail-season-nav-button.is-next {
    justify-content: end;
}

.detail-season-nav-button.is-next
.detail-season-nav-label {
    justify-self: start;
}

.detail-season-nav-button.is-next
.detail-season-nav-icon {
    justify-self: start;
}

.detail-season-nav-button.is-next
.detail-season-nav-meta {
    justify-self: start;
}


/*
 * ← REGRESAR
 *
 * Todo el bloque se agrupa a la izquierda.
 * La flecha ocupa únicamente su ancho real.
 */
.detail-season-nav-button.is-previous {
    justify-content: start;
}

.detail-season-nav-button.is-previous
.detail-season-nav-icon {
    justify-self: end;
}

.detail-season-nav-button.is-previous
.detail-season-nav-label {
    justify-self: end;
}

.detail-season-nav-button.is-previous
.detail-season-nav-meta {
    justify-self: end;
}

/* GOLDA_DETAIL_SEASON_NAV_COMPACT_V15C_END */



/* ========================================================
   GOLDA_LIBRARY_COMPLETED_VISUAL_V1
   100% leído = barra verde y sin etiqueta de estado.
   ======================================================== */





/* GOLDA_LIBRARY_COMPLETED_VISUAL_V1_END */



/* ========================================================
   GOLDA_WORK_STATUS_UNCENSORED_V2
   ======================================================== */

/*
 * Desktop:
 *
 * Fila 1:
 * C1 Nombre
 * C2 Estado publicación
 * C3 Etiqueta publicación
 *
 * Fila 2:
 * C1 vacío
 * C2 Estado obra
 * C3 Clasificación
 */



















/*
 * Biblioteca / detalle.
 */
.detail-public-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 6px;
}



.detail-public-meta {
    margin-top: 9px;
}

.manhwa-public-tag {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    padding: 5px 8px;

    border-radius: 999px;

    font-size: 10px;
    line-height: 1;
    font-weight: 850;

    white-space: nowrap;
}

.manhwa-public-tag.is-work-status {
    color: #dbeafe;

    background:
        rgba(37,99,235,.18);

    border:
        1px solid
        rgba(96,165,250,.30);
}

.manhwa-public-tag.is-uncensored {
    color: #ffffff;

    background:
        rgba(220,38,38,.90);

    border:
        1px solid
        rgba(248,113,113,.38);
}

.detail-public-meta
.manhwa-public-tag {
    padding: 6px 10px;
    font-size: 11px;
}

/* GOLDA_WORK_STATUS_UNCENSORED_V2_END */


/* GOLDA_PUBLIC_META_UPPERCASE_V1 */

.detail-public-meta .manhwa-public-tag {
    text-transform: uppercase;
}

/* GOLDA_PUBLIC_META_UPPERCASE_V1_END */


/* GOLDA_LIBRARY_META_OVERLAY_V1 */

/*
 * Las etiquetas públicas de Biblioteca flotan
 * dentro de la portada. No agregan altura a
 * ni modifica el tamaño de tarjeta.
 */






/* GOLDA_LIBRARY_META_OVERLAY_V1_END */

/* GOLDA_LIBRARY_META_ROW_SOLID_V1 */

/*
 * Biblioteca:
 * ambas etiquetas en una sola fila.
 */



/*
 * Estado de la obra:
 * fondo sólido independiente de SIN CENSURA.
 */



/*
 * Mantener SIN CENSURA sólido rojo.
 */


/* GOLDA_LIBRARY_META_MOBILE_SIZE_V1_END */

/* ==========================================================
   GOLDA_MANAGER_LIST_STUDIO_V1
   /gestionar/ — lista compacta tipo Studio
   Mantiene DOM, información y acciones existentes.
   ========================================================== */








/* PORTADA — MISMA RELACIÓN 2:3 */






/* CUERPO */




/* ESTADOS */






/* TÍTULO */




/* ESTADÍSTICAS */



#manageList
.manage-studio-stat {
    display: inline-flex;
    align-items: center;

    width: auto;
    min-width: 0;

    gap: 5px;

    padding: 4px 7px;

    border-radius: 7px;
}

#manageList
.manage-studio-stat-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;

    font-size: 9px;
}

#manageList
.manage-studio-stat-copy {
    min-width: 0;
}

#manageList
.manage-studio-stat-copy strong {
    font-size: 11px;
}

#manageList
.manage-studio-stat-copy small {
    font-size: 9px;
}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 760px) {

    

    

    

    

    

    

    

    

    #manageList
    .manage-studio-stat {
        gap: 4px;

        padding: 3px 5px;

        border-radius: 6px;
    }

    #manageList
    .manage-studio-stat-icon {
        width: 17px;
        height: 17px;
        flex-basis: 17px;

        font-size: 8px;
    }

    #manageList
    .manage-studio-stat-copy strong {
        font-size: 10px;
    }

    #manageList
    .manage-studio-stat-copy small {
        font-size: 8px;
    }

    

    

    

    
}

/* GOLDA_MANAGER_LIST_STUDIO_V1_END */

/* GOLDA_NOTIFICATIONS_V1_START */

.golda-notification-shell {
    position: relative;
    display: flex;
    align-items: center;
}

.golda-notification-button {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 18px;
}

.golda-notification-button:hover,
.golda-notification-button:focus-visible {
    background:
        rgba(255,255,255,.07);
}

.golda-notification-dot {
    position: absolute;
    top: 2px;
    right: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e50914;
    color: #fff;
    box-shadow:
        0 0 0 2px #111;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.02em;
    white-space: nowrap;
    pointer-events: none;
}


.golda-notification-panel {
    position: absolute;
    z-index: 1400;
    top: calc(100% + 10px);
    right: 0;
    width:
        min(410px, calc(100vw - 24px));
    max-height:
        min(620px, calc(100vh - 90px));
    overflow: hidden;
    border:
        1px solid rgba(255,255,255,.11);
    border-radius: 16px;
    background:
        rgba(20,20,22,.98);
    box-shadow:
        0 18px 60px rgba(0,0,0,.42);
    backdrop-filter: blur(18px);
}

.golda-notification-header {
    min-height: 64px;
    padding:
        13px 14px 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom:
        1px solid rgba(255,255,255,.08);
}

.golda-notification-header > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.golda-notification-header strong {
    font-size: 16px;
}

.golda-notification-header span {
    color:
        var(--muted, #9da0a6);
    font-size: 12px;
}

.golda-notification-close {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.golda-notification-list {
    max-height:
        min(540px, calc(100vh - 155px));
    overflow-y: auto;
    overscroll-behavior: contain;
}

.golda-notification-item {
    width: 100%;
    min-height: 102px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns:
        54px minmax(0,1fr);
    align-items: center;
    gap: 12px;
    border: 0;
    border-bottom:
        1px solid rgba(255,255,255,.065);
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.golda-notification-item:hover,
.golda-notification-item:focus-visible,
.golda-notification-item.is-new {
    background:
        rgba(255,255,255,.04);
}

.golda-notification-cover {
    width: 54px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background:
        rgba(255,255,255,.07);
    color:
        var(--muted, #9da0a6);
    font-weight: 700;
}

.golda-notification-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.golda-notification-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.golda-notification-item-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.golda-notification-item-top strong {
    min-width: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.golda-notification-time {
    flex: 0 0 auto;
    color:
        var(--muted, #9da0a6);
    font-size: 11px;
    white-space: nowrap;
}

.golda-notification-content p {
    margin: 0;
    color:
        rgba(255,255,255,.82);
    font-size: 13px;
    line-height: 1.42;
}

.golda-notification-new-label {
    width: fit-content;
    color:
        rgba(255,255,255,.62);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.golda-notification-empty {
    padding: 42px 18px;
    color:
        var(--muted, #9da0a6);
    font-size: 13px;
    text-align: center;
}

























@media (max-width: 680px) {
    .golda-notification-panel {
        position: fixed;
        top: 58px;
        right: 8px;
        left: 8px;
        width: auto;
        max-height:
            calc(100dvh - 68px);
        border-radius: 14px;
    }

    .golda-notification-list {
        max-height:
            calc(100dvh - 134px);
    }

    .golda-notification-item {
        min-height: 96px;
        padding: 11px 12px;
        grid-template-columns:
            50px minmax(0,1fr);
    }

    .golda-notification-cover {
        width: 50px;
    }

    .golda-notification-item-top {
        align-items: flex-start;
    }

    .golda-notification-item-top strong {
        white-space: normal;
    }

    
}

/* GOLDA_NOTIFICATIONS_V1_END */



/* GOLDA_NOTIFICATIONS_TOPBAR_LAYOUT_V25_START */

/*
 * El dropdown histórico redefinía .top-actions
 * como display:block porque antes sólo existía
 * el botón de menú. Ahora existen dos controles:
 * campana + menú.
 */
.top-actions {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.golda-notification-shell {
    order: 1;
    flex: 0 0 auto;
}

.top-menu-button {
    order: 2;
    flex: 0 0 auto;
}

.top-actions-menu {
    order: 3;
}

@media (max-width: 680px) {
    .top-actions {
        gap: 4px;
    }
}

/* GOLDA_NOTIFICATIONS_TOPBAR_LAYOUT_V25_END */


/* GOLDA_RESET_MANHWA_MODAL_V11_CSS_START */

body.golda-reset-modal-open {
    overflow: hidden;
}

.reset-manhwa-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 18px;
}

.reset-manhwa-modal.hidden {
    display: none;
}

.reset-manhwa-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.reset-manhwa-card {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    background: #1b1c20;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
    text-align: center;
    color: #fff;
    animation: goldaResetSimpleInV1 160ms ease-out both;
}

.reset-manhwa-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

#resetManhwaModalTitle {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

#resetManhwaModalDescription {
    margin: 10px auto 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.5;
}

#resetManhwaModalDescription strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.reset-manhwa-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 21px;
}

.reset-manhwa-actions button {
    min-height: 44px;
    border-radius: 12px;
}

@keyframes goldaResetSimpleInV1 {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .reset-manhwa-card {
        width: min(100%, 360px);
        padding: 22px 18px 18px;
        border-radius: 18px;
    }

    .reset-manhwa-actions {
        grid-template-columns: 1fr 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reset-manhwa-card {
        animation: none;
    }
}

/* GOLDA_RESET_MANHWA_MODAL_V11_CSS_END */


/* GOLDA_NOTIFICATION_UNSEEN_EMPHASIS_V30_START */

/*
 * Sólo aplica mientras el backend entrega is_new=true.
 * Al marcarse vista y volver a cargar el listado,
 * el elemento vuelve automáticamente al estilo normal.
 */
.golda-notification-item.is-new {
    background:
        rgba(255,255,255,.085);
}

.golda-notification-item.is-new:hover,
.golda-notification-item.is-new:focus-visible {
    background:
        rgba(255,255,255,.11);
}

.golda-notification-item.is-new
.golda-notification-item-top strong {
    color: #fff;
    font-weight: 800;
}

.golda-notification-item.is-new
.golda-notification-content p {
    color:
        rgba(255,255,255,.94);
}

.golda-notification-item.is-new
.golda-notification-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color:
        rgba(255,255,255,.78);
}

.golda-notification-item.is-new
.golda-notification-time::before {
    content: '';
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow:
        0 0 0 2px rgba(34,197,94,.14);
}

/* GOLDA_NOTIFICATION_UNSEEN_EMPHASIS_V30_END */

/* GOLDA_READER_MOBILE_SEGMENT_EDGE_BLEED_V2_START */
/*
 * Las páginas altas se sirven como varios AVIF independientes.
 * En móvil, el borde rasterizado/rescalado de cada imagen puede
 * hacerse visible como una microcostura horizontal.
 *
 * No movemos los slots entre sí.
 * Recortamos visualmente 1 CSS px del borde interno de cada AVIF
 * ampliando ligeramente la imagen dentro de su propio slot.
 *
 * Primer segmento: elimina sólo borde inferior.
 * Segmentos intermedios: elimina borde superior e inferior.
 * Último segmento: elimina sólo borde superior.
 */
@media (max-width: 680px) {
    .page-slot-segment {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        overflow: hidden !important;
    }

    .page-slot-segment .page-image {
        position: absolute;
        left: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        border: 0;
        border-radius: 0;
    }

    .page-slot-segment-first:not(.page-slot-segment-last) .page-image {
        top: 0;
        height: calc(100% + 1px);
    }

    .page-slot-segment:not(.page-slot-segment-first):not(.page-slot-segment-last) .page-image {
        top: -1px;
        height: calc(100% + 2px);
    }

    .page-slot-segment-last:not(.page-slot-segment-first) .page-image {
        top: -1px;
        height: calc(100% + 1px);
    }
}
/* GOLDA_READER_MOBILE_SEGMENT_EDGE_BLEED_V2_END */


/* GOLDA_NOTIFICATION_TITLE_COLORS_V31_START */
.golda-notification-title-inline {
    font-weight: 800;
    color: #d8deee;
    transition: color .18s ease;
}

.golda-notification-item.is-new .golda-notification-title-inline {
    color: #2662EB;
}

.golda-notification-item:not(.is-new) .golda-notification-title-inline {
    color: #7693D6;
}
/* GOLDA_NOTIFICATION_TITLE_COLORS_V31_END */

/* SOURCE_PUBLISHED_DATE_V1_CSS */
.detail-chapter-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 14px;
}

.detail-chapter-meta > span {
    min-width: 0;
}

.detail-chapter-published-date {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--muted);
    font-size: inherit;
    font-style: italic;
    white-space: nowrap;
}

/* GOLDA_DETAIL_CHAPTER_META_RESPONSIVE_V12_CSS */
.detail-chapter-published-date-short {
    display: none;
}

@media (max-width: 760px) {
    .detail-chapter-published-date-full {
        display: none;
    }

    .detail-chapter-published-date-short {
        display: inline;
    }
}
/* GOLDA_DETAIL_CHAPTER_META_RESPONSIVE_V12_CSS_END */

/* GOLDA_DETAIL_PROFILE_V3_CSS_START */

#detailView .detail-hero {
    min-height: 0 !important;
}

#detailView .detail-hero-backdrop {
    display: none !important;
}

#detailView .detail-hero-shade {
    background:
        radial-gradient(
            circle at 72% 0,
            rgba(96,78,145,.17),
            transparent 38rem
        ),
        linear-gradient(
            180deg,
            rgba(11,14,22,.98),
            rgba(5,7,11,.99) 72%
        ) !important;
}

#detailView .golda-detail-v3 {
    position: relative !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1460px !important;
    min-height: 540px !important;
    margin: 0 auto !important;
    padding: 105px 36px 52px !important;

    display: grid !important;
    grid-template-columns:
        minmax(250px,350px)
        minmax(0,1fr) !important;

    grid-template-areas:
        "cover head"
        "cover synopsis"
        "cover progress" !important;

    grid-template-rows:
        auto auto 1fr !important;

    column-gap: 48px !important;
    row-gap: 18px !important;
    align-items: start !important;
}

#detailView .golda-detail-v3 .detail-cover-shell {
    grid-area: cover !important;
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    border: 1px solid rgba(80,104,142,.45) !important;
    background: #101725 !important;
    box-shadow: 0 26px 75px rgba(0,0,0,.60) !important;
}

#detailView .golda-detail-v3 .detail-cover {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

#detailView .golda-detail-v3 .detail-head-v3 {
    grid-area: head !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    padding-top: 4px !important;
}

#detailView .golda-detail-v3 .detail-author-v3 {
    min-height: 18px !important;
    margin: 0 0 11px !important;
    color: #865dff !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.2 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}

#detailView .golda-detail-v3 .detail-author-v3.hidden {
    display: none !important;
}

#detailView .golda-detail-v3 #detailTitle {
    max-width: 1080px !important;
    margin: 0 0 15px !important;
    color: var(--text) !important;
    font-size: clamp(46px,5.6vw,86px) !important;
    font-weight: 900 !important;
    line-height: .95 !important;
    letter-spacing: -.055em !important;
    overflow-wrap: anywhere !important;
}

#detailView .golda-detail-v3 #detailMeta {
    margin: 0 !important;
    color: var(--muted) !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

#detailView .golda-detail-v3 #detailPublicMetaV2 {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 16px 0 0 !important;
}

#detailView .golda-detail-v3 #detailPublicMetaV2.hidden {
    display: none !important;
}

#detailView .golda-detail-v3
#detailPublicMetaV2 .manhwa-public-tag {
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    margin: 0 !important;
    padding: 7px 13px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    color: #dce7fa !important;
    background: #14213a !important;
    border: 1px solid #315a97 !important;
}

#detailView .golda-detail-v3
#detailPublicMetaV2 .manhwa-public-tag.is-uncensored {
    color: #fff !important;
    background: #d92727 !important;
    border-color: #ff4c4c !important;
}

#detailView .golda-detail-v3
#detailPublicMetaV2 .manhwa-public-tag.is-work-status.is-completed {
    color: #d9ffe4 !important;
    background: #113420 !important;
    border-color: #2e8a4d !important;
}

#detailView .golda-detail-v3
#detailPublicMetaV2 .manhwa-public-tag.is-work-status.is-hiatus {
    color: #ffe9bd !important;
    background: #382811 !important;
    border-color: #9b6d26 !important;
}

#detailView .golda-detail-v3
#detailPublicMetaV2 .manhwa-public-tag.is-work-status.is-cancelled {
    color: #ffe2e2 !important;
    background: #3b1717 !important;
    border-color: #914040 !important;
}

#detailView .golda-detail-v3 .detail-synopsis-v3 {
    grid-area: synopsis !important;
    width: min(980px,100%) !important;
    max-width: 980px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #c0cadb !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.62 !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

#detailView .golda-detail-v3 .detail-synopsis-v3.hidden {
    display: none !important;
}

#detailView .golda-detail-v3 .detail-synopsis-v3:focus,
#detailView .golda-detail-v3 .detail-synopsis-v3:focus-visible,
#detailView .golda-detail-v3 .detail-synopsis-v3:active {
    outline: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

#detailView .golda-detail-v3 .detail-synopsis-line-v3 {
    display: inline !important;
    color: inherit !important;
    font: inherit !important;
    word-break: normal !important;
}

#detailView .golda-detail-v3
.detail-synopsis-line-v3.is-truncated::after {
    content: "…" !important;
    color: inherit !important;
}

#detailView .golda-detail-v3 .detail-synopsis-toggle-v3 {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    font: inherit !important;
    font-weight: 800 !important;
    line-height: inherit !important;
    white-space: nowrap !important;
    pointer-events: none !important;
}

#detailView .golda-detail-v3 .detail-synopsis-toggle-v3.show {
    display: inline !important;
}

#detailView .golda-detail-v3 .detail-progress-v3 {
    grid-area: progress !important;
    align-self: end !important;
    width: min(980px,100%) !important;
    max-width: 980px !important;
    margin: 0 !important;
}

#detailView .golda-detail-v3 .detail-progress-top {
    display: flex !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin: 0 0 10px !important;
    color: #9daac1 !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
}

#detailView .golda-detail-v3 .detail-progress-top strong {
    color: #fff !important;
}

#detailView .golda-detail-v3 .detail-main-progress {
    height: 10px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #13213a !important;
}

#detailView .golda-detail-v3 .detail-main-progress-fill {
    height: 100% !important;
    border-radius: inherit !important;
    background:
        linear-gradient(
            90deg,
            #7b52ff,
            #9569ff
        ) !important;
}

#detailView .golda-detail-v3 .detail-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 22px 0 0 !important;
}

#detailView .golda-detail-v3 #detailContinueButton {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    min-height: 64px !important;
    padding: 0 30px !important;
    border: 0 !important;
    border-radius: 18px !important;
    color: #fff !important;
    background:
        linear-gradient(
            135deg,
            #744eff,
            #9769ff
        ) !important;
    box-shadow:
        0 14px 34px
        rgba(126,85,255,.25) !important;
    font-size: 20px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

#detailView .golda-detail-v3 #detailContinueButton span {
    white-space: nowrap !important;
}

#detailView .golda-detail-v3 #detailContinueButton i {
    font-size: 22px !important;
}

#detailView .golda-detail-v3 .detail-icon-action-v3 {
    flex: 0 0 64px !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #2e3c57 !important;
    border-radius: 18px !important;
    color: #f4f7ff !important;
    background: #151d2d !important;
    font-size: 24px !important;
    line-height: 1 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

#detailView .golda-detail-v3 .detail-icon-action-v3:focus,
#detailView .golda-detail-v3 .detail-icon-action-v3:focus-visible,
#detailView .golda-detail-v3 .detail-icon-action-v3:active {
    outline: 0 !important;
    box-shadow: none !important;
}

#detailView .golda-detail-v3 .detail-follow-action-v3.is-active,
#detailView .golda-detail-v3 .detail-follow-action-v3[aria-pressed="true"] {
    color: #c4b5fd !important;
    border-color: rgba(167,139,250,.95) !important;
    background: rgba(124,58,237,.34) !important;
    box-shadow:
        0 0 0 1px rgba(167,139,250,.18),
        0 0 18px rgba(124,58,237,.22) !important;
}

#detailView .golda-detail-v3 .detail-follow-action-v3.is-active i,
#detailView .golda-detail-v3 .detail-follow-action-v3[aria-pressed="true"] i {
    color: #c4b5fd !important;
}

@media (max-width:760px) {
    #detailView .golda-detail-v3 {
        min-height: 0 !important;
        grid-template-columns:
            128px
            minmax(0,1fr) !important;
        grid-template-areas:
            "cover head"
            "synopsis synopsis"
            "progress progress" !important;
        grid-template-rows:
            auto auto auto !important;
        gap: 14px 16px !important;
        padding: 90px 16px 35px !important;
    }

    #detailView .golda-detail-v3 .detail-cover-shell {
        width: 100% !important;
        border-radius: 18px !important;
    }

    #detailView .golda-detail-v3 .detail-head-v3 {
        padding-top: 1px !important;
    }

    #detailView .golda-detail-v3 .detail-author-v3 {
        min-height: 12px !important;
        margin-bottom: 7px !important;
        font-size: 9px !important;
        letter-spacing: .16em !important;
    }

    #detailView .golda-detail-v3 #detailTitle {
        margin: 0 0 9px !important;
        font-size: clamp(27px,8vw,36px) !important;
        line-height: .98 !important;
        letter-spacing: -.045em !important;
    }

    #detailView .golda-detail-v3 #detailMeta {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    #detailView .golda-detail-v3 #detailPublicMetaV2 {
        gap: 6px !important;
        margin-top: 10px !important;
    }

    #detailView .golda-detail-v3
    #detailPublicMetaV2 .manhwa-public-tag {
        padding: 5px 8px !important;
        font-size: 10px !important;
    }

    #detailView .golda-detail-v3 .detail-synopsis-v3 {
        width: 100% !important;
        max-width: none !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    #detailView .golda-detail-v3 .detail-progress-v3 {
        width: 100% !important;
        max-width: none !important;
    }

    #detailView .golda-detail-v3 .detail-progress-top {
        margin-bottom: 8px !important;
        font-size: 12px !important;
    }

    #detailView .golda-detail-v3 .detail-main-progress {
        height: 8px !important;
    }

    #detailView .golda-detail-v3 .detail-actions {
        gap: 8px !important;
        margin-top: 15px !important;
    }

    #detailView .golda-detail-v3 #detailContinueButton {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 52px !important;
        padding: 0 14px !important;
        border-radius: 15px !important;
        font-size: 15px !important;
        letter-spacing: -.01em !important;
    }

    #detailView .golda-detail-v3 #detailContinueButton i {
        flex: 0 0 auto !important;
        font-size: 17px !important;
    }

    #detailView .golda-detail-v3 .detail-icon-action-v3 {
        flex-basis: 52px !important;
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        height: 52px !important;
        min-height: 52px !important;
        border-radius: 15px !important;
        font-size: 20px !important;
    }
}

@media (max-width:430px) {
    #detailView .golda-detail-v3 {
        grid-template-columns:
            116px
            minmax(0,1fr) !important;
        gap: 13px !important;
    }

    #detailView .golda-detail-v3 #detailTitle {
        font-size: 25px !important;
    }

    #detailView .golda-detail-v3 #detailMeta {
        font-size: 12px !important;
    }

    #detailView .golda-detail-v3 .detail-synopsis-v3 {
        font-size: 12px !important;
    }

    #detailView .golda-detail-v3 .detail-actions {
        gap: 7px !important;
    }

    #detailView .golda-detail-v3 #detailContinueButton {
        min-height: 47px !important;
        padding: 0 9px !important;
        border-radius: 14px !important;
        font-size: 13px !important;
        letter-spacing: -.02em !important;
    }

    #detailView .golda-detail-v3 #detailContinueButton i {
        font-size: 15px !important;
    }

    #detailView .golda-detail-v3 .detail-icon-action-v3 {
        flex-basis: 47px !important;
        width: 47px !important;
        min-width: 47px !important;
        max-width: 47px !important;
        height: 47px !important;
        min-height: 47px !important;
        border-radius: 14px !important;
        font-size: 18px !important;
    }
}

@media (max-width:350px) {
    #detailView .golda-detail-v3 {
        grid-template-columns:
            108px
            minmax(0,1fr) !important;
        gap: 12px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    #detailView .golda-detail-v3 #detailTitle {
        font-size: 23px !important;
    }

    #detailView .golda-detail-v3 .detail-synopsis-v3 {
        font-size: 11.5px !important;
    }

    #detailView .golda-detail-v3 .detail-actions {
        gap: 6px !important;
    }

    #detailView .golda-detail-v3 #detailContinueButton {
        min-height: 43px !important;
        padding: 0 7px !important;
        font-size: 12px !important;
    }

    #detailView .golda-detail-v3 .detail-icon-action-v3 {
        flex-basis: 43px !important;
        width: 43px !important;
        min-width: 43px !important;
        max-width: 43px !important;
        height: 43px !important;
        min-height: 43px !important;
        border-radius: 13px !important;
        font-size: 17px !important;
    }
}

/* GOLDA_DETAIL_PROFILE_V3_CSS_END */

/* GOLDA_DETAIL_RESET_VISIBILITY_V3_3_START */
/*
 * detailResetButton conserva la lógica JS histórica:
 * .hidden = sin progreso.
 *
 * Esta regla tiene mayor especificidad que
 * .detail-icon-action-v3 { display:inline-flex !important; }
 * y evita que el rediseño fuerce su aparición.
 */
#detailView
.golda-detail-v3
#detailResetButton.hidden {
    display: none !important;
}
/* GOLDA_DETAIL_RESET_VISIBILITY_V3_3_END */



/* GOLDA_DETAIL_ACTIONS_V3_4B_START */

/*
 * Offline queda temporalmente oculto.
 * HTML y JS permanecen intactos para reactivarlo después.
 */
#detailView
.golda-detail-v3
#detailOfflineButton {
    display: none !important;
}

/* GOLDA_DETAIL_ACTIONS_V3_4B_END */

/* GOLDA_DETAIL_EDIT_BUTTON_V35B_CSS_START */

/*
 * El botón Biblioteca mantiene exactamente su estructura
 * y posición actual.
 *
 * Editar se alinea visualmente en la misma fila,
 * pero al extremo derecho del detail.
 */
#detailView {
    position: relative;
}

#detailView
.detail-manage-button-v35 {
    position: absolute;
    z-index: 9;

    top: 18px;
    right: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 40px;

    padding: 8px 14px;

    border:
        1px solid
        var(--line);

    border-radius: 11px;

    color: var(--text);

    background:
        var(--panel);

    font-size: 13px;
    font-weight: 800;
    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    -webkit-tap-highlight-color:
        transparent;
}

#detailView
.detail-manage-button-v35:hover {
    border-color: var(--accent);
    color: #fff;
}

#detailView
.detail-manage-button-v35:focus,
#detailView
.detail-manage-button-v35:focus-visible,
#detailView
.detail-manage-button-v35:active {
    outline: 0;
    box-shadow: none;
}

/*
 * Solo PC.
 */
@media (max-width:1180px) {
    #detailView
    .detail-manage-button-v35 {
        display: none !important;
    }
}

/* GOLDA_DETAIL_EDIT_BUTTON_V35B_CSS_END */

/* GOLDA_DETAIL_WORK_STATUS_COLORS_V3_7B_START */

/* EMISIÓN — VERDE */
#detailView
.golda-detail-v3
#detailPublicMetaV2
.manhwa-public-tag.is-work-status.is-ongoing {
    color: #ddffd8 !important;
    background: #183d1b !important;
    border-color: #43a938 !important;
}

/* FINALIZADA — AZUL */
#detailView
.golda-detail-v3
#detailPublicMetaV2
.manhwa-public-tag.is-work-status.is-completed {
    color: #dcecff !important;
    background: #17345d !important;
    border-color: #4384d9 !important;
}

/* PAUSADA — ÁMBAR */
#detailView
.golda-detail-v3
#detailPublicMetaV2
.manhwa-public-tag.is-work-status.is-hiatus {
    color: #fff0ca !important;
    background: #4a3513 !important;
    border-color: #d0952d !important;
}

/* CANCELADA — ROJO */
#detailView
.golda-detail-v3
#detailPublicMetaV2
.manhwa-public-tag.is-work-status.is-cancelled {
    color: #ffe0e0 !important;
    background: #4b191c !important;
    border-color: #d04b52 !important;
}

/* GOLDA_DETAIL_WORK_STATUS_COLORS_V3_7B_END */

/* GOLDA_DETAIL_CHAPTER_VIEW_V1_CSS_START */

.detail-section-heading-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
    min-width: 0;
}

.detail-chapter-view-switch {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--panel);
}

.detail-chapter-view-button {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 13px;
    transition:
        background .15s ease,
        color .15s ease,
        transform .15s ease;
}

.detail-chapter-view-button:hover {
    color: var(--text);
    background: rgba(255,255,255,.055);
}

.detail-chapter-view-button.is-active,
.detail-chapter-view-button[aria-pressed="true"] {
    color: var(--accent);
    background: rgba(134,93,255,.15);
}

.detail-chapter-view-button:focus,
.detail-chapter-view-button:focus-visible,
.detail-chapter-view-button:active {
    outline: none;
    box-shadow: none;
}

.detail-chapter-view-button:active {
    transform: scale(.96);
}

.detail-season-tabs.is-hidden-v1 {
    display: none;
}

.detail-chapter-season-boundary {
    color: var(--accent);
    font-size: .78em;
    font-weight: 850;
    white-space: normal;
}

.detail-chapter-list.is-lezhin-v1 {
    margin-top: 3px;
}

@media (max-width:760px) {

    .detail-section-heading-tools {
        gap: 8px;
    }

    .detail-section-heading-tools
    .detail-season-summary {
        display: none;
    }

    .detail-chapter-view-button {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .detail-chapter-season-boundary {
        font-size: .76em;
    }
}

/* GOLDA_DETAIL_CHAPTER_VIEW_V1_CSS_END */

/* GOLDA_DETAIL_CHAPTER_CARD_REWORK_V2_CSS_START */

/*
 * Grid adaptable:
 * >=1181px : 3 columnas
 * 761-1180 : 2 columnas
 * <=760px  : 1 columna
 */

#detailView .detail-chapter-list,
#detailView .detail-chapter-list.is-lezhin-v1 {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    margin-top: 14px;
}


/*
 * La navegación de temporadas y estados vacíos
 * siguen ocupando el ancho completo del grid.
 */

#detailView
.detail-chapter-list
.detail-season-navigation,
#detailView
.detail-chapter-list
> .empty-state {
    grid-column: 1 / -1;
}


/*
 * Tarjeta:
 * relación horizontal constante inspirada
 * en el diseño proporcionado.
 */

#detailView .detail-chapter-card {
    position: relative;

    display: grid;
    grid-template-columns:
        auto minmax(0, 1fr);

    align-items: stretch;

    width: 100%;
    min-width: 0;

    aspect-ratio: 3.2 / 1;

    gap: 14px;
    padding: 12px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.085);

    border-radius: 16px;

    background:
        #15171e;

    color:
        var(--text);

    cursor: pointer;

    box-shadow:
        0 8px 22px
        rgba(0,0,0,.10);

    transition:
        transform .22s ease,
        border-color .22s ease,
        background .22s ease,
        box-shadow .22s ease;
}

#detailView .detail-chapter-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(255,255,255,.16);

    background:
        #1c1e26;

    box-shadow:
        0 12px 28px
        rgba(0,0,0,.24);
}


/*
 * Miniatura vertical.
 * La altura depende de la tarjeta y el ancho
 * se resuelve por aspect-ratio sin deformarla.
 */

#detailView .detail-chapter-media {
    position: relative;

    display: block;

    width: auto;
    height: 100%;

    min-width: 0;

    aspect-ratio: 11 / 15;

    overflow: hidden;

    padding: 0;

    border: 0;
    border-radius: 10px;

    background:
        #09090b;

    box-shadow:
        0 4px 8px
        rgba(0,0,0,.20);

    cursor: pointer;
}

#detailView .detail-chapter-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: .93;

    transition:
        opacity .22s ease,
        transform .28s ease;
}

#detailView
.detail-chapter-card:hover
.detail-chapter-media img {
    opacity: 1;

    transform:
        scale(1.018);
}

#detailView .detail-chapter-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    color:
        var(--muted);

    background:
        rgba(255,255,255,.035);
}


/*
 * Play overlay minimalista.
 */

#detailView .detail-chapter-play {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    transform:
        translate(-50%, -50%)
        scale(.82);

    border:
        1px solid
        rgba(255,255,255,.20);

    border-radius: 50%;

    background:
        rgba(0,0,0,.62);

    color:
        rgba(255,255,255,.94);

    opacity: 0;

    backdrop-filter:
        blur(4px);

    -webkit-backdrop-filter:
        blur(4px);

    transition:
        opacity .22s ease,
        transform .22s ease,
        background .22s ease;
}

#detailView
.detail-chapter-card:hover
.detail-chapter-play,
#detailView
.detail-chapter-media:focus-visible
.detail-chapter-play {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        scale(1);

    background:
        rgba(59,130,246,.82);
}


/*
 * Cuerpo.
 */

#detailView .detail-chapter-body {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 0;

    align-self: stretch;
}

#detailView .detail-chapter-heading {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: flex-start;

    gap: 7px;

    min-width: 0;
}

#detailView .detail-chapter-heading h3 {
    width: 100%;

    margin: 0;

    overflow: hidden;

    color:
        #f8fafc;

    font-size:
        clamp(14px, 1.2vw, 18px) !important;

    font-weight: 700;

    line-height: 1.24 !important;

    letter-spacing:
        -.015em;

    display: -webkit-box;

    -webkit-box-orient:
        vertical;

    -webkit-line-clamp: 2;
}


/*
 * Estado transformado visualmente a punto + texto,
 * conservando las clases y estados existentes.
 */

#detailView .detail-chapter-status {
    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 0 !important;

    font-size:
        12.5px !important;

    font-weight: 600;

    line-height: 1.25 !important;

    text-transform: none;
}

#detailView
.detail-chapter-status
i {
    display: inline-block;

    flex: 0 0 auto;

    width: 10px;
    height: 10px;

    overflow: hidden;

    border-radius: 50%;

    background:
        currentColor;

    font-size: 0;

    line-height: 0;
}

#detailView
.detail-chapter-status.is-completed {
    color:
        #10b981;
}

#detailView
.detail-chapter-status.is-progress {
    color:
        #06b6d4;
}

#detailView
.detail-chapter-status.is-pending {
    color:
        #64748b;
}

#detailView
.detail-chapter-status.is-progress
i {
    animation:
        goldaChapterCardReadingPulseV2
        2s infinite;
}

@keyframes goldaChapterCardReadingPulseV2 {

    0% {
        box-shadow:
            0 0 0 0
            rgba(6,182,212,.42);
    }

    70% {
        box-shadow:
            0 0 0 6px
            rgba(6,182,212,0);
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(6,182,212,0);
    }
}


/*
 * Metadatos siempre anclados abajo.
 */

#detailView .detail-chapter-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    width: 100%;

    min-width: 0;

    margin-top: auto !important;

    color:
        #64748b;

    font-size:
        11.5px !important;

    line-height:
        1.25 !important;
}

#detailView
.detail-chapter-meta
> span {
    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

#detailView
.detail-chapter-published-date {
    flex: 0 0 auto;

    margin-left: auto;

    white-space: nowrap;
}


/*
 * Progreso solo aparece en estado "Leyendo".
 * La visibilidad la controla JS sin afectar el porcentaje.
 */

#detailView .detail-chapter-progress {
    width: 100%;

    height: 5px !important;

    margin-top: 10px !important;

    overflow: hidden;

    border-radius: 999px;

    background:
        rgba(255,255,255,.055);
}

#detailView
.detail-chapter-progress.hidden {
    display: none !important;
}

#detailView
.detail-chapter-progress-fill {
    height: 100%;

    border-radius:
        inherit;

    background:
        linear-gradient(
            90deg,
            #0891b2,
            #06b6d4
        );

    transition:
        width .35s ease;
}


/*
 * El botón Leer/Continuar ya estaba oculto por UX.
 * Lo mantenemos así para conservar el diseño limpio.
 */

#detailView
.detail-chapter-action-row {
    display:
        none !important;
}


/*
 * Tablet / portátiles estrechos.
 */

@media (max-width:1180px) {

    #detailView
    .detail-chapter-list,
#detailView
    .detail-chapter-list.is-lezhin-v1 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }
}


/*
 * Móvil: una sola columna.
 * Se mantiene la misma relación horizontal.
 */

@media (max-width:760px) {

    #detailView
    .detail-chapter-list,
#detailView
    .detail-chapter-list.is-lezhin-v1 {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 12px;

        margin-top: 11px;
    }

    #detailView
    .detail-chapter-card {
        aspect-ratio:
            3.2 / 1;

        gap: 10px;

        padding: 9px;

        border-radius: 13px;
    }

    #detailView
    .detail-chapter-media {
        border-radius: 8px;
    }

    #detailView
    .detail-chapter-heading {
        gap: 5px;
    }

    #detailView
    .detail-chapter-heading h3 {
        font-size:
            clamp(
                13px,
                4vw,
                15px
            ) !important;

        line-height:
            1.18 !important;
    }

    #detailView
    .detail-chapter-status {
        gap: 6px;

        font-size:
            11px !important;
    }

    #detailView
    .detail-chapter-status
    i {
        width: 8px;
        height: 8px;
    }

    #detailView
    .detail-chapter-meta {
        gap: 7px;

        font-size:
            10px !important;
    }

    #detailView
    .detail-chapter-progress {
        height: 4px !important;

        margin-top:
            7px !important;
    }

    #detailView
    .detail-chapter-play {
        width: 30px;
        height: 30px;

        font-size: 10px;
    }
}


/*
 * Pantallas móviles muy estrechas:
 * conservar legibilidad sin romper la proporción.
 */

@media (max-width:360px) {

    #detailView
    .detail-chapter-card {
        gap: 8px;
        padding: 8px;
    }

    #detailView
    .detail-chapter-heading h3 {
        font-size:
            12.5px !important;
    }

    #detailView
    .detail-chapter-status {
        font-size:
            10.5px !important;
    }

    #detailView
    .detail-chapter-meta {
        font-size:
            9.5px !important;
    }
}

/* GOLDA_DETAIL_CHAPTER_CARD_REWORK_V2_CSS_END */

/* GOLDA_DETAIL_CHAPTER_CARD_MOBILE_FIX_V2B_START */

@media (max-width:760px) {

    #detailView
    .detail-chapter-list,
#detailView
    .detail-chapter-list.is-lezhin-v1 {
        gap: 14px;
        margin-top: 12px;
    }

    #detailView
    .detail-chapter-card {
        aspect-ratio: 2.42 / 1;
        min-height: 170px;
        gap: 12px;
        padding: 12px;
        border-radius: 15px;
    }

    #detailView
    .detail-chapter-media {
        border-radius: 10px;
    }

    #detailView
    .detail-chapter-heading {
        gap: 7px;
    }

    #detailView
    .detail-chapter-heading h3 {
        font-size: clamp(18px, 5vw, 21px) !important;
        line-height: 1.14 !important;
    }

    #detailView
    .detail-chapter-status {
        gap: 8px;
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    #detailView
    .detail-chapter-status
    i {
        width: 10px;
        height: 10px;
    }

    #detailView
    .detail-chapter-meta {
        gap: 10px;
        font-size: 13px !important;
        line-height: 1.25 !important;
    }

    #detailView
    .detail-chapter-progress {
        height: 5px !important;
        margin-top: 10px !important;
    }

    #detailView
    .detail-chapter-play {
        width: 34px;
        height: 34px;
        font-size: 11px;
    }
}

@media (max-width:480px) {

    #detailView
    .detail-chapter-card {
        aspect-ratio: 2.24 / 1;
        min-height: 160px;
        gap: 11px;
        padding: 11px;
    }

    #detailView
    .detail-chapter-heading h3 {
        font-size: clamp(17px, 5.4vw, 19px) !important;
    }

    #detailView
    .detail-chapter-status {
        font-size: 14px !important;
    }

    #detailView
    .detail-chapter-meta {
        font-size: 12.5px !important;
    }
}

@media (max-width:360px) {

    #detailView
    .detail-chapter-card {
        aspect-ratio: 2.08 / 1;
        min-height: 148px;
        gap: 10px;
        padding: 10px;
    }

    #detailView
    .detail-chapter-heading h3 {
        font-size: 16px !important;
    }

    #detailView
    .detail-chapter-status {
        font-size: 13px !important;
    }

    #detailView
    .detail-chapter-meta {
        font-size: 11.5px !important;
    }
}

/* GOLDA_DETAIL_CHAPTER_CARD_MOBILE_FIX_V2B_END */

/* GOLDA_DETAIL_CHAPTER_CARD_MOBILE_COMPACT_V2C_START */

/*
 * Mantener texto grande del V2B, pero eliminar
 * la altura excesiva que genera espacio vacío.
 */

@media (max-width:760px) {

    #detailView
    .detail-chapter-card {
        aspect-ratio: 2.85 / 1;
        min-height: 0;
    }

    #detailView
    .detail-chapter-body {
        min-height: 0;
    }
}

@media (max-width:480px) {

    #detailView
    .detail-chapter-card {
        aspect-ratio: 2.65 / 1;
        min-height: 0;
    }
}

@media (max-width:360px) {

    #detailView
    .detail-chapter-card {
        aspect-ratio: 2.50 / 1;
        min-height: 0;
    }
}

/* GOLDA_DETAIL_CHAPTER_CARD_MOBILE_COMPACT_V2C_END */

/* GOLDA_DETAIL_CHAPTER_SQUARE_THUMB_V2D_START */

/*
 * Móvil:
 * - La tarjeta deja de tener proporción forzada.
 * - La miniatura pasa a 1:1.
 * - La altura real nace del contenido + thumbnail,
 *   evitando el gran espacio vacío anterior.
 */

@media (max-width:760px) {

    #detailView
    .detail-chapter-card {
        grid-template-columns:
            112px minmax(0, 1fr);

        aspect-ratio: auto;
        min-height: 0;

        align-items: stretch;
    }

    #detailView
    .detail-chapter-media {
        width: 112px;
        height: 112px;

        aspect-ratio: 1 / 1;

        align-self: center;
    }

    #detailView
    .detail-chapter-media img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }

    #detailView
    .detail-chapter-body {
        min-height: 112px;
    }
}

@media (max-width:480px) {

    #detailView
    .detail-chapter-card {
        grid-template-columns:
            96px minmax(0, 1fr);

        aspect-ratio: auto;
    }

    #detailView
    .detail-chapter-media {
        width: 96px;
        height: 96px;

        aspect-ratio: 1 / 1;
    }

    #detailView
    .detail-chapter-body {
        min-height: 96px;
    }
}

@media (max-width:360px) {

    #detailView
    .detail-chapter-card {
        grid-template-columns:
            88px minmax(0, 1fr);

        aspect-ratio: auto;
    }

    #detailView
    .detail-chapter-media {
        width: 88px;
        height: 88px;
    }

    #detailView
    .detail-chapter-body {
        min-height: 88px;
    }
}

/* GOLDA_DETAIL_CHAPTER_SQUARE_THUMB_V2D_END */



/* GOLDA_DETAIL_CHAPTER_TITLE_TOP_SPACE_V2E_START */

@media (max-width:760px) {

    #detailView
    .detail-chapter-heading h3 {
        margin-top: 6px !important;
    }
}

/* GOLDA_DETAIL_CHAPTER_TITLE_TOP_SPACE_V2E_END */

/* GOLDA_DETAIL_CHAPTER_NEW_BADGE_V1_CSS_START */

#detailView
.detail-chapter-new-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 22px;
    padding: 5px 8px;

    border-radius: 7px;

    background: #16a34a;
    color: #ffffff;

    font-size: 10px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: .055em;

    pointer-events: none;

    box-shadow:
        0 3px 10px
        rgba(0, 0, 0, .28);
}

/*
 * Reservar el espacio superior derecho para evitar
 * que títulos largos queden debajo del badge.
 */
#detailView
.detail-chapter-card.has-new-badge
.detail-chapter-heading {
    padding-right: 58px;
}

@media (max-width:480px) {

    #detailView
    .detail-chapter-new-badge {
        top: 7px;
        right: 7px;

        min-height: 20px;
        padding: 4px 7px;

        font-size: 9px;
    }

    #detailView
    .detail-chapter-card.has-new-badge
    .detail-chapter-heading {
        padding-right: 52px;
    }
}

/* GOLDA_DETAIL_CHAPTER_NEW_BADGE_V1_CSS_END */


/* GOLDA_READER_CLEAN_FULLSCREEN_V1_START
 *
 * Pantalla completa inmersiva:
 * - Oculta exclusivamente los controles propios del lector.
 * - No modifica el modo de lectura normal.
 * - Al abandonar Fullscreen API estas reglas dejan de aplicar
 *   automáticamente y los controles recuperan su estado previo.
 */
#readerView:fullscreen .reader-toolbar,
#readerView:fullscreen .reader-floating-toolbar,
#readerView:-webkit-full-screen .reader-toolbar,
#readerView:-webkit-full-screen .reader-floating-toolbar {
    display: none !important;
}
/* GOLDA_READER_CLEAN_FULLSCREEN_V1_END */

/* GOLDA_CONTINUE_CARD_SIZE_V1_START
 *
 * Aumento moderado de tamaño exclusivo para
 * las tarjetas de "Continuar viendo".
 *
 * No altera tipografías, progreso ni comportamiento.
 */

.continue-reading-card {
    flex-basis: 324px;
    width: 324px;
    min-height: 120px;
    grid-template-columns:
        74px minmax(0, 1fr);
    gap: 14px;
    padding: 11px;
}

.continue-reading-cover {
    width: 74px;
}

@media (max-width: 680px) {
    .continue-reading-card {
        flex-basis:
            min(84vw, 296px);
        width:
            min(84vw, 296px);
        min-height: 112px;
        grid-template-columns:
            66px minmax(0, 1fr);
        gap: 11px;
        padding: 10px;
    }

    .continue-reading-cover {
        width: 66px;
    }
}

@media (max-width: 390px) {
    .continue-reading-card {
        flex-basis:
            min(88vw, 278px);
        width:
            min(88vw, 278px);
        min-height: 108px;
        grid-template-columns:
            62px minmax(0, 1fr);
        gap: 10px;
        padding: 9px;
    }

    .continue-reading-cover {
        width: 62px;
    }
}

/* GOLDA_CONTINUE_CARD_SIZE_V1_END */

/* GOLDA_CONTINUE_MOBILE_SCROLLBAR_HIDE_V1_START
 *
 * Oculta únicamente la barra visual horizontal en móvil.
 * El desplazamiento táctil permanece completamente activo.
 */
@media (max-width: 680px) {
    .continue-reading-rail {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .continue-reading-rail::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
}
/* GOLDA_CONTINUE_MOBILE_SCROLLBAR_HIDE_V1_END */

/* ==========================================================
   GOLDA_READER_NEXT_VISUAL_V3_START

   Scope exclusivo:
   .golda-reader-next-v3-*

   Ninguna regla genérica del lector, biblioteca o detalle
   depende de este bloque.
   ========================================================== */

.golda-reader-next-v3-shell {
    box-sizing: border-box;
    width: min(calc(100% - 32px), 672px);
    margin: 46px auto 72px;
}

.golda-reader-next-v3-shell,
.golda-reader-next-v3-shell * {
    box-sizing: border-box;
}

.golda-reader-next-v3-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0 0 11px;
    padding: 0 8px;
    color: rgba(255,255,255,.50);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.golda-reader-next-v3-heading > i {
    flex: 0 0 auto;
    color: #22d3ee;
    font-size: 12px;
}

.golda-reader-next-v3-heading > span {
    display: block !important;
    min-width: 0;
    margin: 0 !important;
    opacity: 1 !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
}

/*
 * Selector deliberadamente más específico que los estilos
 * históricos .reader-next-chapter-card.
 */
.reader-next-chapter-card.reader-next-chapter-card-with-preview.golda-reader-next-v3-card {
    position: relative !important;
    display: grid !important;
    grid-template-columns:
        132px
        minmax(0, 1fr)
        68px
        !important;
    align-items: stretch !important;
    gap: 0 !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 165px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border:
        1px solid
        rgba(255,255,255,.085)
        !important;
    border-radius: 17px !important;

    background:
        #1a1d24
        !important;

    color: #fff !important;
    text-align: left !important;

    box-shadow:
        0 18px 46px
        rgba(0,0,0,.20)
        !important;

    transform:
        translateY(0)
        !important;

    transition:
        transform .26s ease,
        border-color .26s ease,
        box-shadow .26s ease
        !important;
}

.reader-next-chapter-card.reader-next-chapter-card-with-preview.golda-reader-next-v3-card:hover,
.reader-next-chapter-card.reader-next-chapter-card-with-preview.golda-reader-next-v3-card:focus-visible {
    transform:
        translateY(-4px)
        !important;

    border-color:
        rgba(34,211,238,.38)
        !important;

    box-shadow:
        0 22px 52px
        rgba(0,0,0,.28),
        0 0 30px
        rgba(34,211,238,.09)
        !important;
}

.reader-next-chapter-card.reader-next-chapter-card-with-preview.golda-reader-next-v3-card:focus-visible {
    outline:
        2px solid
        rgba(34,211,238,.58)
        !important;
    outline-offset: 3px !important;
}

/*
 * Thumbnail canónico 4:5.
 */
.golda-reader-next-v3-card
.golda-reader-next-v3-thumb {
    position: relative !important;
    display: block !important;

    width: 132px !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;

    align-self: stretch !important;
    margin: 0 !important;

    overflow: hidden !important;

    border: 0 !important;
    border-radius:
        16px 0 0 16px
        !important;

    background:
        rgba(255,255,255,.045)
        !important;

    opacity: 1 !important;
}

/*
 * Fundido lateral entre imagen y cuerpo.
 */
.golda-reader-next-v3-card
.golda-reader-next-v3-thumb::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent 54%,
            rgba(26,29,36,.16) 74%,
            #1a1d24 100%
        );
}

.golda-reader-next-v3-card
.golda-reader-next-v3-thumb > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center top !important;

    transform: scale(1);
    transition:
        transform .65s ease
        !important;
}

.golda-reader-next-v3-card:hover
.golda-reader-next-v3-thumb > img,
.golda-reader-next-v3-card:focus-visible
.golda-reader-next-v3-thumb > img {
    transform: scale(1.055);
}

/*
 * Cuerpo textual.
 */
.golda-reader-next-v3-card
.golda-reader-next-v3-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 0 !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding:
        18px 18px 18px 20px
        !important;

    opacity: 1 !important;
}

.golda-reader-next-v3-card
.golda-reader-next-v3-manhwa {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;

    margin: 0 0 7px !important;

    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;

    opacity: 1 !important;

    color: #22d3ee !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: .075em !important;
    text-transform: uppercase !important;
}

.golda-reader-next-v3-card
.golda-reader-next-v3-chapter {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;

    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;

    color: #fff !important;

    font-size:
        clamp(22px, 3vw, 30px)
        !important;
    font-weight: 760 !important;
    line-height: 1.12 !important;
    letter-spacing: -.025em !important;
}

.golda-reader-next-v3-card
.golda-reader-next-v3-season {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;

    margin: 11px 0 0 !important;

    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;

    opacity: 1 !important;

    color:
        rgba(255,255,255,.48)
        !important;

    font-size: 13px !important;
    font-weight: 550 !important;
    line-height: 1.3 !important;
}

/*
 * Acción derecha.
 * Neutraliza además GOLDA_NEXT_BUTTON_SPACING_V1.
 */
.golda-reader-next-v3-card
.golda-reader-next-v3-action {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 68px !important;
    height: auto !important;
    min-width: 0 !important;

    align-self: stretch !important;
    justify-self: stretch !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background:
        linear-gradient(
            270deg,
            #15171c 0%,
            rgba(21,23,28,.42) 52%,
            transparent 100%
        )
        !important;

    color:
        rgba(255,255,255,.27)
        !important;

    opacity: 1 !important;

    font-size: 24px !important;

    transition:
        color .26s ease
        !important;
}

.golda-reader-next-v3-card
.golda-reader-next-v3-action > i {
    transform: translateX(0);
    transition:
        transform .26s ease
        !important;
}

.golda-reader-next-v3-card:hover
.golda-reader-next-v3-action,
.golda-reader-next-v3-card:focus-visible
.golda-reader-next-v3-action {
    color: #22d3ee !important;
}

.golda-reader-next-v3-card:hover
.golda-reader-next-v3-action > i,
.golda-reader-next-v3-card:focus-visible
.golda-reader-next-v3-action > i {
    transform: translateX(6px);
}


/* ---------------------- MÓVIL ---------------------- */

@media (max-width: 680px) {

    .golda-reader-next-v3-shell {
        width: calc(100% - 24px);
        margin:
            32px auto 56px;
    }

    .golda-reader-next-v3-heading {
        margin-bottom: 9px;
        padding: 0 5px;
        gap: 7px;
        font-size: 10px;
        letter-spacing: .13em;
    }

    .golda-reader-next-v3-heading > i {
        font-size: 10px;
    }

    .reader-next-chapter-card.reader-next-chapter-card-with-preview.golda-reader-next-v3-card {
        grid-template-columns:
            98px
            minmax(0, 1fr)
            48px
            !important;

        min-height: 123px !important;

        border-radius: 15px !important;
    }

    .golda-reader-next-v3-card
    .golda-reader-next-v3-thumb {
        width: 98px !important;
        aspect-ratio: 4 / 5 !important;
        border-radius:
            14px 0 0 14px
            !important;
    }

    .golda-reader-next-v3-card
    .golda-reader-next-v3-copy {
        padding:
            13px 10px 13px 14px
            !important;
    }

    .golda-reader-next-v3-card
    .golda-reader-next-v3-manhwa {
        margin-bottom: 5px !important;
        font-size: 10px !important;
        letter-spacing: .065em !important;
    }

    .golda-reader-next-v3-card
    .golda-reader-next-v3-chapter {
        font-size: 20px !important;
        line-height: 1.14 !important;
    }

    .golda-reader-next-v3-card
    .golda-reader-next-v3-season {
        margin-top: 8px !important;
        font-size: 11px !important;
    }

    .golda-reader-next-v3-card
    .golda-reader-next-v3-action {
        width: 48px !important;
        margin: 0 !important;
        font-size: 19px !important;
    }

}


/* ---------------- MÓVIL MUY ESTRECHO ---------------- */

@media (max-width: 390px) {

    .golda-reader-next-v3-shell {
        width: calc(100% - 18px);
    }

    .reader-next-chapter-card.reader-next-chapter-card-with-preview.golda-reader-next-v3-card {
        grid-template-columns:
            86px
            minmax(0, 1fr)
            42px
            !important;

        min-height: 108px !important;
    }

    .golda-reader-next-v3-card
    .golda-reader-next-v3-thumb {
        width: 86px !important;
    }

    .golda-reader-next-v3-card
    .golda-reader-next-v3-copy {
        padding:
            11px 8px 11px 12px
            !important;
    }

    .golda-reader-next-v3-card
    .golda-reader-next-v3-manhwa {
        font-size: 9px !important;
    }

    .golda-reader-next-v3-card
    .golda-reader-next-v3-chapter {
        font-size: 18px !important;
    }

    .golda-reader-next-v3-card
    .golda-reader-next-v3-season {
        margin-top: 7px !important;
        font-size: 10px !important;
    }

    .golda-reader-next-v3-card
    .golda-reader-next-v3-action {
        width: 42px !important;
        font-size: 17px !important;
    }

}


/* ---------------- REDUCED MOTION ---------------- */

@media (prefers-reduced-motion: reduce) {

    .reader-next-chapter-card.reader-next-chapter-card-with-preview.golda-reader-next-v3-card,
.golda-reader-next-v3-card
    .golda-reader-next-v3-thumb > img,
.golda-reader-next-v3-card
    .golda-reader-next-v3-action,
.golda-reader-next-v3-card
    .golda-reader-next-v3-action > i {
        transition: none !important;
    }

}

/* GOLDA_READER_NEXT_VISUAL_V3_END */

/* GOLDA_LIBRARY_SOURCE_FAVICON_V1D */

/* GOLDA_LIBRARY_SOURCE_FAVICON_V1D_END */

/* GOLDA_LIBRARY_SOURCE_FAVICON_OPAQUE_V1 */

/* GOLDA_LIBRARY_SOURCE_FAVICON_OPAQUE_V1_END */

/* GOLDA_LIBRARY_SOURCE_FAVICON_WHITE_BG_V1 */

/* GOLDA_LIBRARY_SOURCE_FAVICON_WHITE_BG_V1_END */

/* GOLDA_LIBRARY_SOURCE_FAVICON_TRIANGLE_WHITE_V1 */





/* GOLDA_LIBRARY_SOURCE_FAVICON_TRIANGLE_WHITE_V1_END */

/* GOLDA_LIBRARY_SOURCE_FAVICON_TRIANGLE_NOBLUR_V1 */

/* GOLDA_LIBRARY_SOURCE_FAVICON_TRIANGLE_NOBLUR_V1_END */

/* GOLDA_LIBRARY_LEZHIN_FAVICON_NOMARGIN_V1 */

/* GOLDA_LIBRARY_LEZHIN_FAVICON_NOMARGIN_V1_END */

/* GOLDA_LIBRARY_SOURCE_FAVICON_TRIANGLE_ED1D24_V1 */

/* GOLDA_LIBRARY_SOURCE_FAVICON_TRIANGLE_ED1D24_V1_END */

/* GOLDA_DETAIL_CHAPTER_THUMB_3X4_V1_START
 *
 * Relación canónica de miniaturas de capítulos:
 * ancho:alto = 3:4.
 *
 * Este override sustituye visualmente las reglas históricas
 * 4:5, 11:15 y el modo móvil cuadrado V2D sin alterar
 * el grid, los anchos responsive, object-fit ni la lógica JS.
 */

#detailView .detail-chapter-media {
    aspect-ratio: 3 / 4 !important;
}

/*
 * V2D fija height explícito en móvil (112/96/88px).
 * Liberar solamente la altura permite que los anchos
 * responsive existentes calculen automáticamente 3:4.
 */
@media (max-width: 760px) {
    #detailView .detail-chapter-media {
        height: auto !important;
    }
}

/* GOLDA_DETAIL_CHAPTER_THUMB_3X4_V1_END */

/* ==========================================================
   GOLDA_LIBRARY_META_ATOMIC_STABLE_V2

   Los contadores se distribuyen por unidades completas.
   Reservamos dos líneas visuales para evitar que unas
   tarjetas crezcan y otras no según el número de grupos.

   La barra de 0% se vuelve invisible, pero conserva sus
   dimensiones para no alterar la geometría de la tarjeta.
   ========================================================== */











/*
 * No usar display:none:
 * el espacio del track se conserva deliberadamente,
 * por lo que una tarjeta 0% no queda más corta.
 */


/* GOLDA_LIBRARY_META_ATOMIC_STABLE_V2_END */

/* ==========================================================
   GOLDA_LIBRARY_CARD_EQUAL_HEIGHT_V3B

   Igualar geometría de todas las tarjetas sin alterar
   portadas, badges, contenido ni lógica de progreso.
   ========================================================== */

/*
 * La regla histórica usa align-items:start.
 * Esto hace que cada tarjeta conserve su altura natural.
 */


/*
 * La tarjeta ocupa completamente su celda.
 */


/*
 * Zona inferior flexible.
 */


/*
 * Reserva SIEMPRE dos líneas de título.
 *
 * La regla específica antigua:
 * La regla histórica de altura mínima ya no aplica.
 * era la principal causa de diferencias.
 */


/*
 * El bloque de metadata ya usa items atómicos.
 * Se mantiene siempre espacio para dos líneas.
 */


/*
 * Mantener la zona de progreso geométricamente estable.
 */


/*
 * El footer queda pegado al borde inferior.
 */


/*
 * En 0% se elimina visualmente la barra,
 * conservando los mismos 5px de geometría.
 */


/*
 * Refuerzo: si algún selector previo anima el fill,
 * éste tampoco puede resultar visible.
 */


/* GOLDA_LIBRARY_CARD_EQUAL_HEIGHT_V3B_END */


/* ==========================================================
   GOLDA_LIBRARY_DISCOVERY_V1_START
   Capa aditiva. La vista cards preserva la Biblioteca actual.
   ========================================================== */

.golda-library-discovery {
    position: relative;
    margin: 0 0 18px;
}

.golda-library-discovery,
.golda-library-discovery * {
    box-sizing: border-box;
}

.golda-library-discovery-sticky {
    position: sticky;
    top: 8px;
    z-index: 28;

    padding: 12px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;

    background:
        rgba(13,15,19,.92);

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);

    box-shadow:
        0 12px 36px rgba(0,0,0,.20);
}











































.golda-library-quick-row {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 10px;

    min-width: 0;
    overflow-x: auto;

    scrollbar-width: none;
}

.golda-library-quick-row::-webkit-scrollbar {
    display: none;
}

.golda-library-quick-row > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    flex: 0 0 auto;

    min-height: 32px;

    padding: 0 11px;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 999px;

    background:
        rgba(255,255,255,.035);
    color:
        rgba(255,255,255,.58);

    font: inherit;
    font-size: 11px;
    font-weight: 750;

    cursor: pointer;
}

.golda-library-quick-row > button:hover,
.golda-library-quick-row > button:focus-visible {
    border-color:
        rgba(34,211,238,.32);
    color: #fff;
}

.golda-library-quick-row > button.is-active {
    border-color:
        rgba(34,211,238,.30);

    background:
        rgba(34,211,238,.12);

    color: #22d3ee;
}

.golda-library-result-count {
    flex: 0 0 auto;

    margin-left: auto;
    padding-left: 10px;

    color:
        rgba(255,255,255,.44);

    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.golda-library-alphabet {
    display: flex;
    align-items: center;
    gap: 4px;

    margin-top: 9px;

    overflow-x: auto;

    scrollbar-width: none;
}

.golda-library-alphabet::-webkit-scrollbar {
    display: none;
}

.golda-library-letter {
    flex: 0 0 auto;

    min-width: 25px;
    height: 25px;

    padding: 0 6px;

    border: 0;
    border-radius: 7px;

    background: transparent;
    color:
        rgba(255,255,255,.35);

    font: inherit;
    font-size: 10px;
    font-weight: 800;

    cursor: pointer;
}

.golda-library-letter:first-child {
    min-width: auto;
    padding-inline: 9px;
}

.golda-library-letter:hover,
.golda-library-letter:focus-visible {
    background:
        rgba(255,255,255,.06);
    color: #fff;
}

.golda-library-letter.is-active {
    background:
        rgba(34,211,238,.13);
    color: #22d3ee;
}

.golda-library-filter-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;

    z-index: 1002;

    width: min(420px, calc(100vw - 40px));

    margin: 0;
    padding:
        22px 18px
        calc(
            22px +
            env(safe-area-inset-bottom, 0px)
        );

    overflow-y: auto;

    border: 0;
    border-left:
        1px solid rgba(255,255,255,.09);
    border-radius: 20px 0 0 20px;

    background: #111318;

    box-shadow:
        -18px 0 60px rgba(0,0,0,.48);
}

.golda-library-filter-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;

    margin-bottom: 13px;
}

.golda-library-filter-panel-head > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.golda-library-filter-panel-head strong {
    color: #fff;
    font-size: 14px;
}

.golda-library-filter-panel-head span {
    color:
        rgba(255,255,255,.42);
    font-size: 11px;
}

.golda-library-filter-panel-head button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    padding: 0;
    border: 0;
    border-radius: 9px;

    background:
        rgba(255,255,255,.05);
    color:
        rgba(255,255,255,.56);

    cursor: pointer;
}

.golda-library-filter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
}

.golda-library-filter-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;

    min-width: 0;
}

.golda-library-filter-grid label > span {
    color:
        rgba(255,255,255,.42);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.golda-library-filter-grid select {
    width: 100%;
    height: 39px;

    padding: 0 10px;

    border:
        1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    outline: 0;

    background: #191c22;
    color: #fff;

    font: inherit;
    font-size: 12px;

    cursor: pointer;
}

.golda-library-filter-panel-actions {
    display: flex;
    justify-content: flex-end;

    margin-top: 12px;
}

.golda-library-filter-panel-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 36px;

    padding: 0 12px;

    border:
        1px solid rgba(255,255,255,.08);
    border-radius: 10px;

    background:
        rgba(255,255,255,.045);

    color:
        rgba(255,255,255,.68);

    font: inherit;
    font-size: 11px;
    font-weight: 750;

    cursor: pointer;
}

.golda-library-filter-panel-actions button:disabled {
    opacity: .36;
    cursor: default;
}

.golda-library-filter-overlay {
    position: fixed;
    inset: 0;

    z-index: 1001;

    display: block;

    background:
        rgba(0,0,0,.44);
}

body.golda-library-filter-open {
    overflow: hidden;
}

.golda-library-discovery-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 220px;

    margin: 8px 0 18px;
    padding: 28px;

    border:
        1px dashed rgba(255,255,255,.10);
    border-radius: 18px;

    background:
        rgba(255,255,255,.025);

    text-align: center;
}

.golda-library-discovery-empty > i {
    margin-bottom: 4px;

    color:
        rgba(34,211,238,.72);

    font-size: 24px;
}

.golda-library-discovery-empty strong {
    color: #fff;
    font-size: 15px;
}

.golda-library-discovery-empty span {
    color:
        rgba(255,255,255,.42);

    font-size: 12px;
}

.golda-discovery-filtered-out {
    display: none !important;
}



/*
 * Modo vigente:
 * la interfaz vigente utiliza exclusivamente Estantería.
 */


.golda-library-derived-view {
    margin-top: 2px;
}







.golda-library-derived-cover {
    position: relative;

    min-width: 0;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #22262d,
            #111318
        );
}



.golda-library-derived-cover > img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.golda-library-derived-fallback {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color:
        rgba(255,255,255,.72);

    font-size: 30px;
    font-weight: 900;
}







.golda-library-derived-badge {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    max-width: 132px;

    min-height: 20px;
    padding: 0 7px;

    border-radius: 6px;

    background:
        rgba(34,211,238,.13);
    color: #22d3ee;

    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .04em;

    white-space: nowrap;
}

.golda-library-derived-badge.is-new {
    background:
        rgba(34,197,94,.16);
    color: #4ade80;
}

.golda-library-derived-badge.is-reading {
    background:
        rgba(59,130,246,.16);
    color: #60a5fa;
}

.golda-library-derived-badge.is-news {
    background:
        rgba(34,197,94,.16);
    color: #4ade80;
}













.golda-library-cover-card {
    min-width: 0;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.07);
    border-radius: 15px;
    outline: 0;

    background: #15171c;

    cursor: pointer;

    content-visibility: auto;
    contain-intrinsic-size: 210px 280px;
}

.golda-library-cover-card:hover,
.golda-library-cover-card:focus-visible {
    border-color:
        rgba(34,211,238,.30);

    transform: translateY(-2px);
}

.golda-library-cover-card
.golda-library-derived-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
}

.golda-library-cover-card
.golda-library-derived-badge {
    position: absolute;
    top: 8px;
    left: 8px;

    z-index: 3;

    max-width:
        calc(100% - 16px);
}

.golda-library-cover-overlay {
    position: absolute;
    inset:
        auto 0 0 0;

    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    min-height: 46%;

    padding: 34px 10px 11px;

    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(6,7,9,.42) 28%,
            rgba(6,7,9,.94) 100%
        );
}

.golda-library-cover-overlay h3 {
    margin: 0;

    overflow: hidden;

    color: #fff;

    font-size: 12px;
    font-weight: 820;
    line-height: 1.18;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.golda-library-cover-overlay > span {
    margin-top: 5px;

    color:
        rgba(255,255,255,.55);

    font-size: 9px;
    font-weight: 700;
}

.golda-library-cover-progress {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 5px;

    z-index: 4;

    height: 3px;

    overflow: hidden;

    border-radius: 999px;

    background:
        rgba(255,255,255,.16);
}

.golda-library-cover-progress > span {
    display: block;
    height: 100%;

    border-radius: inherit;

    background: #22d3ee;
}

.golda-library-shelf-section {
    margin: 0 0 24px;
}

.golda-library-shelf-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin: 0 0 9px;
    padding: 0 4px;
}

.golda-library-shelf-heading h3 {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0;

    color: #fff;

    font-size: 14px;
    font-weight: 800;
}

.golda-library-shelf-heading h3 > i {
    color: #22d3ee;
    font-size: 12px;
}

.golda-library-shelf-heading > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 25px;
    height: 25px;

    padding: 0 7px;

    border-radius: 999px;

    background:
        rgba(255,255,255,.05);

    color:
        rgba(255,255,255,.52);

    font-size: 10px;
    font-weight: 800;
}

.golda-library-shelf-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns:
        minmax(138px, 164px);
    gap: 10px;

    overflow-x: auto;
    overscroll-behavior-inline: contain;
    /* GOLDA_LIBRARY_FREE_HORIZONTAL_SCROLL_V1 */
    scroll-snap-type: none;

    padding:
        1px 2px 8px;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(255,255,255,.15)
        transparent;
}

.golda-library-shelf-rail
.golda-library-cover-card {
    scroll-snap-align: none;
}

.golda-library-shelf-rail
.golda-library-cover-card
.golda-library-derived-cover {
    aspect-ratio: 3 / 4;
}

@media (max-width: 680px) {

    .golda-library-discovery {
        margin-bottom: 14px;
    }

    .golda-library-discovery-sticky {
        top: 5px;

        padding: 9px;

        border-radius: 14px;
    }

    

    

    

    

    

    

    

    

    

    .golda-library-quick-row {
        margin-top: 8px;
        gap: 5px;
    }

    .golda-library-quick-row > button {
        min-height: 29px;

        padding: 0 9px;

        font-size: 9px;
    }

    .golda-library-result-count {
        font-size: 9px;
    }

    .golda-library-alphabet {
        margin-top: 7px;
    }

    .golda-library-letter {
        min-width: 24px;
        height: 24px;

        font-size: 9px;
    }

    .golda-library-filter-overlay {
        position: fixed;
        inset: 0;

        z-index: 1001;

        display: block;

        background:
            rgba(0,0,0,.60);
    }

    .golda-library-filter-panel {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;

        z-index: 1002;

        max-height:
            min(78vh, 660px);

        margin: 0;
        padding:
            16px 14px
            calc(
                16px +
                env(safe-area-inset-bottom, 0px)
            );

        overflow-y: auto;

        border-width: 1px 0 0;
        border-radius: 20px 20px 0 0;

        background: #111318;

        box-shadow:
            0 -18px 60px rgba(0,0,0,.50);
    }

    .golda-library-filter-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .golda-library-filter-grid select {
        height: 42px;
    }
    

    

    

    

    

    

    

    

    

    .golda-library-cover-card {
        border-radius: 10px;
    }

    .golda-library-cover-overlay {
        min-height: 50%;
        padding: 26px 7px 8px;
    }

    .golda-library-cover-overlay h3 {
        font-size: 9px;
    }

    .golda-library-cover-overlay > span {
        margin-top: 3px;
        font-size: 7.5px;
    }

    .golda-library-cover-card
    .golda-library-derived-badge {
        top: 5px;
        left: 5px;

        max-width:
            calc(100% - 10px);

        min-height: 17px;

        padding: 0 5px;

        font-size: 6.5px;
    }

    .golda-library-cover-progress {
        left: 5px;
        right: 5px;
        bottom: 4px;
    }

    .golda-library-shelf-section {
        margin-bottom: 19px;
    }

    .golda-library-shelf-rail {
        grid-auto-columns:
            minmax(112px, 128px);

        gap: 7px;

        scrollbar-width: none;
    }

    .golda-library-shelf-rail::-webkit-scrollbar {
        display: none;
    }

}

@media (max-width: 390px) {

    

    

    

    .golda-library-shelf-rail {
        grid-auto-columns:
            minmax(104px, 118px);
    }

}

@media (prefers-reduced-motion: reduce) {

    .golda-library-cover-card {
        transition: none !important;
    }

}

/* GOLDA_LIBRARY_DISCOVERY_V1_END */


/* GOLDA_LIBRARY_SIMPLE_CONTROLS_V1_START
 *
 * Dos niveles visuales:
 *
 * 1. Filtros + orden
 * 2. Todas / Leyendo / Pendientes / Completadas / Novedades
 *
 * A-Z y contador permanecen en DOM para no alterar la
 * lógica de Library Discovery, pero no se muestran.
 */

#goldaLibraryAlphabet {
    display: none !important;
}

#goldaLibraryResultCount {
    display: none !important;
}

.golda-library-quick-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;

    gap: 7px !important;

    overflow: visible !important;

    scrollbar-width: auto !important;
}

.golda-library-quick-row > button {
    flex: 0 0 auto !important;
}

@media (max-width: 680px) {

    .golda-library-quick-row {
        gap: 6px !important;
    }

    .golda-library-quick-row > button {
        min-height: 30px !important;

        padding-left: 9px !important;
        padding-right: 9px !important;

        font-size: 9px !important;
    }
}

/* GOLDA_LIBRARY_SIMPLE_CONTROLS_V1_END */

/* GOLDA_LIBRARY_SHELF_HEIGHT_FIX_V1_START
 *
 * La portada ya tiene aspect-ratio 3:4.
 *
 * El defecto estaba en el grid de Estantería:
 * sus items podían estirarse verticalmente hasta ocupar
 * toda la altura de la fila, dejando fondo vacío debajo.
 *
 * Scope estricto: vista shelf.
 */

#libraryView.golda-library-view-shelf
.golda-library-shelf-rail {
    align-items: start !important;
    align-content: start !important;
    grid-auto-rows: max-content !important;
}

#libraryView.golda-library-view-shelf
.golda-library-shelf-rail
> .golda-library-cover-card {
    align-self: start !important;

    height: auto !important;
    min-height: 0 !important;
}

#libraryView.golda-library-view-shelf
.golda-library-shelf-rail
.golda-library-cover-card
.golda-library-derived-cover {
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
}

/* GOLDA_LIBRARY_SHELF_HEIGHT_FIX_V1_END */

/* GOLDA_LIBRARY_SHELF_HEIGHT_FIX_V2_START
 *
 * La tarjeta usa estos valores base:
 *
 *   content-visibility: auto;
 *   contain-intrinsic-size: 210px 280px;
 *
 * Eso es razonable para el grid de Portadas, pero no para
 * Estantería móvil, donde cada columna mide ~104-128px.
 *
 * Los cards horizontales fuera del viewport reservaban 280px
 * de alto y elevaban artificialmente el track completo.
 *
 * Sólo Estantería calcula ahora la altura real de sus cards.
 */

#libraryView.golda-library-view-shelf
.golda-library-shelf-rail
> .golda-library-cover-card {
    content-visibility: visible !important;
    contain-intrinsic-size: none !important;
}

/* GOLDA_LIBRARY_SHELF_HEIGHT_FIX_V2_END */

/* GOLDA_LIBRARY_MOBILE_LEGIBILITY_V1_START
 *
 * Las vistas derivadas originales estaban demasiado densas
 * en teléfonos:
 *
 * - Estantería móvil requiere legibilidad suficiente.
 * - Portadas: 3 columnas demasiado estrechas.
 * - Estantería: columnas de 104-128px.
 *
 * Scope estricto <=700px.
 * El alcance permanece limitado a Estantería.
 */

@media (max-width: 700px) {

    /*
     * COMPACTA
     * Portada suficientemente grande para reconocer la obra
     * y contenido textual legible sin perder densidad.
     */
    

    

    

    

    

    

    

    


    /*
     * PORTADAS
     * Dos columnas reales en teléfono.
     */
    


    /*
     * PORTADAS + ESTANTERÍA
     * Textos de overlay y badges legibles.
     */
#libraryView.golda-library-view-shelf
    .golda-library-cover-overlay {
        padding:
            28px 9px 10px !important;
    }

#libraryView.golda-library-view-shelf
    .golda-library-cover-overlay h3 {
        font-size: 13.5px !important;
        line-height: 1.18 !important;
    }

#libraryView.golda-library-view-shelf
    .golda-library-cover-overlay > span {
        font-size: 11.5px !important;
        line-height: 1.2 !important;
    }

#libraryView.golda-library-view-shelf
    .golda-library-derived-badge {
        min-height: 20px !important;

        padding:
            3px 6px !important;

        font-size: 9px !important;
        line-height: 1.1 !important;
    }


    /*
     * ESTANTERÍA
     * Aproximadamente dos portadas visibles en lugar de cuatro.
     * Mantiene desplazamiento horizontal y scroll-preserve.
     */
    #libraryView.golda-library-view-shelf
    .golda-library-shelf-rail {
        grid-auto-columns:
            minmax(
                156px,
                44vw
            ) !important;

        gap: 10px !important;
    }

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section {
        margin-bottom:
            24px !important;
    }

    #libraryView.golda-library-view-shelf
    .golda-library-cover-progress {
        left: 7px !important;
        right: 7px !important;
        bottom: 6px !important;
    }
}


/*
 * Teléfonos muy estrechos:
 * no volver a reducir las portadas a 104px.
 */
@media (max-width: 390px) {

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-rail {
        grid-auto-columns:
            minmax(
                148px,
                45vw
            ) !important;
    }
}

/* GOLDA_LIBRARY_MOBILE_LEGIBILITY_V1_END */

/* GOLDA_LIBRARY_COVER_BADGES_CONTRAST_V1_START
 *
 * Scope:
 * - Estantería
 * - Vista Estantería
 *
 * Las etiquetas sobre imágenes necesitan una superficie
 * suficientemente opaca para no depender del color de la portada.
 */


/* Base segura para cualquier badge presente o futuro. */
#libraryView.golda-library-view-shelf
.golda-library-cover-card
.golda-library-derived-badge {

    min-height: 22px !important;

    padding:
        0 7px !important;

    border:
        1px solid rgba(255,255,255,.22) !important;

    border-radius:
        6px !important;

    background:
        rgba(9,11,15,.90) !important;

    color:
        rgba(255,255,255,.96) !important;

    font-size:
        10px !important;

    font-weight:
        900 !important;

    line-height:
        1 !important;

    letter-spacing:
        .035em !important;

    text-shadow:
        0 1px 2px rgba(0,0,0,.85) !important;

    box-shadow:
        0 2px 8px rgba(0,0,0,.36) !important;

    backdrop-filter:
        blur(5px);

    -webkit-backdrop-filter:
        blur(5px);
}


/*
 * NUEVO / novedades.
 * Verde brillante sobre verde oscuro sólido.
 */
#libraryView.golda-library-view-shelf
.golda-library-derived-badge.is-new,
#libraryView.golda-library-view-shelf
.golda-library-derived-badge.is-news {

    background:
        rgba(4,36,22,.94) !important;

    border-color:
        rgba(74,222,128,.55) !important;

    color:
        #86efac !important;
}


/*
 * EN CURSO / leyendo.
 * Azul claro sobre azul oscuro sólido.
 */
#libraryView.golda-library-view-shelf
.golda-library-derived-badge.is-reading {

    background:
        rgba(7,27,52,.94) !important;

    border-color:
        rgba(96,165,250,.58) !important;

    color:
        #93c5fd !important;
}


/*
 * En teléfono mantenemos el mismo contraste.
 * Sólo reducimos mínimamente el tamaño para etiquetas largas.
 */
@media (max-width: 700px) {

#libraryView.golda-library-view-shelf
.golda-library-cover-card
.golda-library-derived-badge {

        min-height:
            21px !important;

        padding:
            0 6px !important;

        font-size:
            9.5px !important;
    }
}

/* GOLDA_LIBRARY_COVER_BADGES_CONTRAST_V1_END */

/* GOLDA_LIBRARY_HEADER_SHELF_V2_CSS_START
 *
 * Cabecera de Biblioteca.
 * El bloque Discovery conserva únicamente filtros rápidos.
 */

#libraryView > .section-heading {
    align-items: flex-start;
}





/*
 * Ya no existe toolbar superior dentro de Discovery.
 * La fila Todas/Leyendo/Pendientes/... pasa a ser
 * el primer contenido visible del bloque sticky.
 */
#goldaLibraryDiscovery
.golda-library-quick-row {
    margin-top: 0 !important;
}


/*
 * En móvil mantener H2 y selector en una sola cabecera
 * sin reducir el área táctil de los cuatro modos.
 */
@media (max-width: 680px) {

    #libraryView > .section-heading {
        gap: 10px;
    }

    
}

@media (max-width: 390px) {

    #libraryView > .section-heading {
        gap: 7px;
    }
}

/* GOLDA_LIBRARY_HEADER_SHELF_V2_CSS_END */

/* GOLDA_LIBRARY_SHELF_HIDE_DISCOVERY_V1_START
 *
 * Estantería ya organiza su contenido mediante secciones propias,
 * por lo que todo el bloque Discovery se oculta únicamente aquí.
 *
 * Discovery queda oculto exclusivamente en Estantería.
 */
#libraryView.golda-library-view-shelf
#goldaLibraryDiscovery {
    display: none !important;
}
/* GOLDA_LIBRARY_SHELF_HIDE_DISCOVERY_V1_END */

/* GOLDA_LIBRARY_SHELF_CONTINUE_PROGRESS_META_V1_CSS_START
 *
 * Scope estricto:
 * Estantería > Continuar viendo > tarjetas parity.
 *
 * 75%                                      9/12
 * ────────────────────────────────────────────
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-continue-progress-meta-v1 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;

    width: 100% !important;
    min-width: 0 !important;
}

#libraryView.golda-library-view-shelf
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-continue-percent-v1,
#libraryView.golda-library-view-shelf
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-continue-chapters-v1 {
    display: inline-block;
    flex: 0 0 auto;
    margin: 0 !important;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

#libraryView.golda-library-view-shelf
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-continue-chapters-v1 {
    margin-left: auto !important;
    text-align: right;
}
/* GOLDA_LIBRARY_SHELF_CONTINUE_PROGRESS_META_V1_CSS_END */

/* GOLDA_LIBRARY_SHELF_COMPLETED_GREEN_V1_CSS_START
 *
 * Exclusivo de Estantería.
 *
 * 100%                                      Completado
 * ────────────────────────────────────────────
 *
 * "Completado" y la barra al 100% usan --good.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf.is-completed
.golda-library-shelf-completed-meta-v1 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-width: 0 !important;
    gap: 8px !important;
}

#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf.is-completed
.golda-library-shelf-completed-percent-v1,
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf.is-completed
.golda-library-shelf-completed-label-v1 {
    display: inline-block;
    flex: 0 0 auto;
    margin: 0 !important;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf.is-completed
.golda-library-shelf-completed-label-v1 {
    margin-left: auto !important;
    text-align: right;
    color: var(--good) !important;
}

#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf.is-completed
.golda-library-cover-progress > span {
    background: var(--good) !important;
}
/* GOLDA_LIBRARY_SHELF_COMPLETED_GREEN_V1_CSS_END */

/* GOLDA_LIBRARY_SHELF_STATUS_RATING_V1_CSS_START
 *
 * Estantería:
 *
 * [ Estado ]                              [ SC ]
 *
 * SC aparece únicamente cuando content_rating=uncensored.
 * Paleta de estados coherente con Detalle.
 */

#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-work-meta-v1 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-width: 0 !important;

    gap: 4px !important;
}


/*
 * Etiqueta base del estado de la obra.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-work-status-v1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 1 auto;

    min-width: 0;
    max-width: 100%;

    padding: 2px 5px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 999px;

    font-size: 9px;
    font-weight: 850;
    line-height: 1;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/*
 * EN EMISIÓN — VERDE
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-work-status-v1.is-work-ongoing {
    color: #ddffd8 !important;
    background: #183d1b !important;
    border-color: #43a938 !important;
}


/*
 * FINALIZADO — AZUL
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-work-status-v1.is-work-completed {
    color: #dcecff !important;
    background: #17345d !important;
    border-color: #4384d9 !important;
}


/*
 * EN PAUSA — ÁMBAR
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-work-status-v1.is-work-hiatus {
    color: #fff0ca !important;
    background: #4a3513 !important;
    border-color: #d0952d !important;
}


/*
 * CANCELADO — ROJO OSCURO
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-work-status-v1.is-work-cancelled {
    color: #ffe0e0 !important;
    background: #4b191c !important;
    border-color: #d04b52 !important;
}


/*
 * Fallback defensivo para un estado desconocido.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-work-status-v1.is-work-unknown {
    color: rgba(255,255,255,.74) !important;
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.18) !important;
}


/*
 * SIN CENSURA — SC
 *
 * Siempre rojo, texto blanco y pegado al borde derecho
 * de la línea de metadata.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-rating-sc-v1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    margin-left: auto !important;
    padding: 2px 5px;

    border:
        1px solid
        rgba(255,255,255,.22);

    border-radius: 999px;

    background: #ed1d24 !important;
    color: #ffffff !important;

    font-size: 9px;
    font-weight: 950;
    line-height: 1;

    letter-spacing: .02em;
    white-space: nowrap;
}


@media (max-width: 390px) {

    #libraryView.golda-library-view-shelf
    .golda-library-cover-card.is-shelf
    .golda-library-shelf-work-status-v1,
#libraryView.golda-library-view-shelf
    .golda-library-cover-card.is-shelf
    .golda-library-shelf-rating-sc-v1 {
        padding:
            2px 4px;

        font-size:
            8px;
    }
}

/* GOLDA_LIBRARY_SHELF_STATUS_RATING_V1_CSS_END */

/* GOLDA_LIBRARY_SHELF_PROGRESS_ALL_V1_CSS_START
 *
 * Todas las tarjetas con progreso de Estantería:
 *
 * 75%                                      9/12
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-progress-meta-v1 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-width: 0 !important;

    gap: 8px !important;
}

#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-progress-percent-v1,
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-progress-chapters-v1 {
    display: inline-block;

    flex: 0 0 auto;

    margin: 0 !important;

    white-space: nowrap;

    font-variant-numeric:
        tabular-nums;
}

#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-progress-chapters-v1 {
    margin-left: auto !important;
    text-align: right;
}
/* GOLDA_LIBRARY_SHELF_PROGRESS_ALL_V1_CSS_END */

/*
 * GOLDA_LIBRARY_SHELF_TITLE_3LINES_V1_START
 *
 * Títulos de las portadas exclusivamente en Estantería.
 *
 * - ligeramente mayores;
 * - hasta tres líneas;
 * - Alcance exclusivo de Estantería.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-overlay h3 {
    font-size: 13px !important;
    line-height: 1.18 !important;

    display: -webkit-box !important;
    overflow: hidden !important;

    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3;
}

@media (max-width: 700px) {
    #libraryView.golda-library-view-shelf
    .golda-library-cover-overlay h3 {
        font-size: 14.5px !important;
    }
}
/* GOLDA_LIBRARY_SHELF_TITLE_3LINES_V1_END */

/* GOLDA_LIBRARY_SHELF_LEZHIN_SOURCE_LABEL_V1_CSS_START */

#libraryView.golda-library-view-shelf
.golda-library-shelf-lezhin-source-v1 {
    display: flex;
    align-items: center;
    gap: 3px;

    width: max-content;
    max-width: 100%;

    margin: 0 0 3px;

    color:
        rgba(255,255,255,.76);

    font-size: 6.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .045em;

    white-space: nowrap;
}

#libraryView.golda-library-view-shelf
.golda-library-shelf-lezhin-source-icon-v1 {
    display: block;

    width: 8px;
    height: 8px;

    flex: 0 0 auto;
    object-fit: contain;

    border-radius: 2px;
}

@media (max-width: 700px) {
    #libraryView.golda-library-view-shelf
    .golda-library-shelf-lezhin-source-v1 {
        font-size: 7.25px;
    }

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-lezhin-source-icon-v1 {
        width: 9px;
        height: 9px;
    }
}

/* GOLDA_LIBRARY_SHELF_LEZHIN_SOURCE_LABEL_V1_CSS_END */

/*
 * GOLDA_LIBRARY_NEW_MANHWA_MARQUEE_V1_START
 *
 * Portada central dominante, laterales parcialmente visibles
 * y navegación horizontal estilo marquesina.
 */

.golda-new-manhwa-marquee {
    --golda-new-manhwa-width:
        min(34vw, 360px);

    width: 100%;
    min-width: 0;

    margin:
        5px 0 24px;
}

.golda-new-manhwa-marquee-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin:
        0 0 10px;

    padding:
        0 4px;
}

.golda-new-manhwa-marquee-heading h3 {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0;

    color: var(--text);

    font-size: 16px;
    font-weight: 850;
    line-height: 1.2;
}

.golda-new-manhwa-marquee-heading h3 i {
    color: var(--accent);
    font-size: 13px;
}

.golda-new-manhwa-marquee-counter {
    color: var(--muted);

    font-size: 10px;
    font-weight: 800;

    font-variant-numeric:
        tabular-nums;
}

.golda-new-manhwa-marquee-viewport {
    width: 100%;
    min-width: 0;

    overflow: hidden;
}

.golda-new-manhwa-marquee-rail {
    display: flex;
    align-items: center;

    gap: 12px;

    width: 100%;
    min-width: 0;

    overflow-x: auto;
    overflow-y: hidden;

    overscroll-behavior-inline:
        contain;

    scroll-snap-type:
        x mandatory;

    scroll-behavior:
        smooth;

    padding:
        4px
        max(
            12px,
            calc(
                50% -
                (
                    var(--golda-new-manhwa-width) /
                    2
                )
            )
        )
        9px;

    scrollbar-width:
        none;

    -webkit-overflow-scrolling:
        touch;
}

.golda-new-manhwa-marquee-rail::-webkit-scrollbar {
    display: none;
}

.golda-new-manhwa-marquee-slide {
    position: relative;

    flex:
        0 0
        var(--golda-new-manhwa-width);

    width:
        var(--golda-new-manhwa-width);

    aspect-ratio:
        3 / 4;

    min-width: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius:
        20px;

    background:
        var(--panel2);

    opacity: .48;

    transform:
        scale(.92);

    transform-origin:
        center center;

    scroll-snap-align:
        center;

    cursor: pointer;

    box-shadow:
        0 10px 26px
        rgba(0,0,0,.18);

    transition:
        transform .34s ease,
        opacity .34s ease,
        border-color .34s ease,
        box-shadow .34s ease;

    -webkit-tap-highlight-color:
        transparent;
}

.golda-new-manhwa-marquee-slide.is-active {
    opacity: 1;

    transform:
        scale(1);

    border-color:
        rgba(255,255,255,.16);

    box-shadow:
        0 18px 44px
        rgba(0,0,0,.34);
}

.golda-new-manhwa-marquee-slide:focus-visible {
    outline:
        2px solid
        var(--accent);

    outline-offset:
        3px;
}

.golda-new-manhwa-marquee-media,
.golda-new-manhwa-marquee-media img {
    display: block;

    width: 100%;
    height: 100%;
}

.golda-new-manhwa-marquee-media {
    position: absolute;
    inset: 0;

    overflow: hidden;

    background:
        var(--panel2);
}

.golda-new-manhwa-marquee-media img {
    object-fit: cover;
    object-position: center;
}

.golda-new-manhwa-marquee-media
.golda-library-derived-fallback {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    font-size: 54px;
    font-weight: 900;
}

.golda-new-manhwa-marquee-overlay {
    position: absolute;
    inset:
        auto 0 0;

    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;

    min-height: 39%;

    padding:
        58px 18px 18px;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(4,5,8,.18) 16%,
            rgba(4,5,8,.78) 55%,
            rgba(4,5,8,.96) 100%
        );
}

.golda-new-manhwa-marquee-kicker {
    display: inline-flex;
    align-items: center;

    min-height: 23px;

    padding:
        0 8px;

    border-radius:
        7px;

    background:
        var(--accent);

    color: #fff;

    font-size: 8px;
    font-weight: 900;
    line-height: 1;

    letter-spacing:
        .06em;
}

.golda-new-manhwa-marquee-title {
    display: -webkit-box;

    max-width: 100%;

    overflow: hidden;

    color: #fff;

    font-size: 25px;
    font-weight: 900;
    line-height: 1.12;

    text-shadow:
        0 2px 7px
        rgba(0,0,0,.65);

    -webkit-box-orient:
        vertical;

    -webkit-line-clamp:
        3;

    line-clamp:
        3;
}

.golda-new-manhwa-marquee-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 5px;

    min-height: 14px;

    margin-top: 5px;
}

.golda-new-manhwa-marquee-dot {
    width: 16px;
    height: 4px;

    min-width: 0;
    min-height: 0;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background:
        rgba(255,255,255,.18);

    opacity: .9;

    cursor: pointer;

    transition:
        width .18s ease,
        background .18s ease,
        opacity .18s ease;
}

.golda-new-manhwa-marquee-dot.is-active {
    width: 28px;

    background:
        var(--accent);

    opacity: 1;
}

.golda-new-manhwa-marquee[data-count="1"]
.golda-new-manhwa-marquee-dots {
    visibility: hidden;
}

@media (max-width: 700px) {

    .golda-new-manhwa-marquee {
        --golda-new-manhwa-width:
            min(76vw, 300px);

        margin-top: 3px;
        margin-bottom: 20px;
    }

    .golda-new-manhwa-marquee-heading {
        margin-bottom: 8px;
        padding-inline: 2px;
    }

    .golda-new-manhwa-marquee-heading h3 {
        font-size: 15px;
    }

    .golda-new-manhwa-marquee-rail {
        gap: 9px;

        padding-top: 2px;
        padding-bottom: 7px;
    }

    .golda-new-manhwa-marquee-slide {
        border-radius: 17px;
    }

    .golda-new-manhwa-marquee-overlay {
        min-height: 37%;

        gap: 5px;

        padding:
            48px 14px 14px;
    }

    .golda-new-manhwa-marquee-kicker {
        min-height: 21px;

        padding-inline: 7px;

        font-size: 7px;
    }

    .golda-new-manhwa-marquee-title {
        font-size: 22px;
    }
}

@media (max-width: 390px) {

    .golda-new-manhwa-marquee {
        --golda-new-manhwa-width:
            min(77vw, 288px);
    }

    .golda-new-manhwa-marquee-title {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .golda-new-manhwa-marquee-slide,
.golda-new-manhwa-marquee-dot {
        transition: none !important;
    }

    .golda-new-manhwa-marquee-rail {
        scroll-behavior: auto;
    }
}

/* GOLDA_LIBRARY_NEW_MANHWA_MARQUEE_V1_END */


/*
 * GOLDA_LIBRARY_MARQUEE_LEZHIN_LABEL_V1_CSS_START
 *
 * NUEVO MANHWA -> esquina superior izquierda.
 * VERSIÓN LEZHIN -> lugar anterior sobre el título.
 */

.golda-new-manhwa-marquee-slide
.golda-new-manhwa-marquee-kicker {
    position: absolute !important;

    top: 12px !important;
    left: 12px !important;

    z-index: 4 !important;

    margin: 0 !important;

    pointer-events: none;
}

.golda-new-manhwa-marquee-lezhin-v1 {
    display: inline-flex;
    align-items: center;

    gap: 4px;

    width: max-content;
    max-width: 100%;

    margin: 0 0 1px;

    color:
        rgba(255,255,255,.82);

    font-size: 8px;
    font-weight: 850;
    line-height: 1;

    letter-spacing: .055em;

    white-space: nowrap;
}

.golda-new-manhwa-marquee-lezhin-v1 > span {
    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.golda-new-manhwa-marquee-lezhin-icon-v1 {
    display: block;

    flex: 0 0 auto;

    width: 10px;
    height: 10px;

    object-fit: contain;

    border-radius: 2px;
}

@media (max-width: 700px) {

    .golda-new-manhwa-marquee-slide
    .golda-new-manhwa-marquee-kicker {
        top: 9px !important;
        left: 9px !important;
    }

    .golda-new-manhwa-marquee-lezhin-v1 {
        font-size: 7.5px;
    }

    .golda-new-manhwa-marquee-lezhin-icon-v1 {
        width: 9px;
        height: 9px;
    }
}

/* GOLDA_LIBRARY_MARQUEE_LEZHIN_LABEL_V1_CSS_END */

/*
 * GOLDA_LIBRARY_MARQUEE_META_V1_CSS_START
 *
 * Línea inferior bajo el título:
 * "N capítulos" + "SIN CENSURA" cuando corresponde.
 */

.golda-new-manhwa-marquee-meta-v1 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    width: 100%;
    min-width: 0;

    margin-top: 2px;

    color:
        rgba(255,255,255,.78);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;

    text-shadow:
        0 1px 4px
        rgba(0,0,0,.7);
}

.golda-new-manhwa-marquee-chapters-v1 {
    display: inline-flex;
    align-items: center;

    white-space: nowrap;
}

.golda-new-manhwa-marquee-uncensored-v1 {
    display: inline-flex;
    align-items: center;

    min-height: 19px;

    padding:
        0 6px;

    border:
        1px solid
        rgba(237,29,36,.72);

    border-radius:
        5px;

    background:
        rgba(237,29,36,.18);

    color:
        #ff6b70;

    font-size: 8px;
    font-weight: 900;
    line-height: 1;

    letter-spacing:
        .045em;

    white-space: nowrap;
}

@media (max-width: 700px) {

    .golda-new-manhwa-marquee-meta-v1 {
        gap: 6px;

        font-size: 10.5px;
    }

    .golda-new-manhwa-marquee-uncensored-v1 {
        min-height: 18px;

        padding-inline: 5px;

        font-size: 7.5px;
    }
}

/* GOLDA_LIBRARY_MARQUEE_META_V1_CSS_END */

/*
 * GOLDA_LIBRARY_SHELF_PEEK_2_5_ALL_MOBILE_V1_START
 *
 * Toda Estantería móvil <=700px:
 * 2 portadas completas + 1/2 de la tercera.
 *
 * El rail es CSS Grid.
 * gap existente = 10px.
 *
 * 2.5W + 20px = 100%
 * W = 40% - 8px
 *
 * Sólo se modifica grid-auto-columns.
 * No se modifica la tarjeta hija.
 */

@media (max-width: 700px) {

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-rail {
        grid-auto-columns:
            calc(
                40% - 8px
            ) !important;
    }
}

/* GOLDA_LIBRARY_SHELF_PEEK_2_5_ALL_MOBILE_V1_END */

/* GOLDA_DETAIL_TABLET_RESPONSIVE_V1_START
 *
 * Tablet / portátil estrecho:
 * 761px - 1180px.
 *
 * Objetivos:
 * - evitar que el perfil desktop quede comprimido;
 * - reducir portada, título y espacios progresivamente;
 * - conservar synopsis/progreso en la columna derecha;
 * - mantener CTA + acciones en una sola fila;
 * - permitir elipsis solamente en el texto del CTA;
 * - NO modificar móvil <=760px;
 * - NO modificar desktop >=1181px;
 * - NO modificar tarjetas de capítulos.
 */
@media (min-width:761px) and (max-width:1180px) {

    #detailView .golda-detail-v3 {
        min-height: 0 !important;

        grid-template-columns:
            clamp(190px, 22vw, 260px)
            minmax(0, 1fr) !important;

        grid-template-areas:
            "cover head"
            "cover synopsis"
            "cover progress" !important;

        grid-template-rows:
            auto auto 1fr !important;

        padding:
            96px
            clamp(22px, 3vw, 32px)
            44px !important;

        column-gap:
            clamp(24px, 3.4vw, 40px) !important;

        row-gap: 16px !important;

        align-items: start !important;
    }

    #detailView
    .golda-detail-v3
    .detail-cover-shell {
        width: 100% !important;
        max-width: none !important;

        border-radius:
            clamp(19px, 2vw, 24px) !important;
    }

    #detailView
    .golda-detail-v3
    .detail-head-v3 {
        min-width: 0 !important;
        padding-top: 2px !important;
    }

    #detailView
    .golda-detail-v3
    .detail-author-v3 {
        min-height: 15px !important;
        margin-bottom: 8px !important;

        font-size: 12px !important;
        line-height: 1.2 !important;
        letter-spacing: .17em !important;
    }

    #detailView
    .golda-detail-v3
    #detailTitle {
        max-width: none !important;
        margin: 0 0 12px !important;

        font-size:
            clamp(
                36px,
                4.8vw,
                56px
            ) !important;

        line-height: .97 !important;
        letter-spacing: -.05em !important;
    }

    #detailView
    .golda-detail-v3
    #detailMeta {
        font-size:
            clamp(
                15px,
                1.55vw,
                18px
            ) !important;

        line-height: 1.35 !important;
    }

    #detailView
    .golda-detail-v3
    #detailPublicMetaV2 {
        gap: 7px !important;
        margin-top: 11px !important;
    }

    #detailView
    .golda-detail-v3
    #detailPublicMetaV2
    .manhwa-public-tag {
        padding: 6px 9px !important;
        font-size: 11px !important;
    }

    #detailView
    .golda-detail-v3
    .detail-synopsis-v3 {
        width: 100% !important;
        max-width: none !important;

        font-size:
            clamp(
                14px,
                1.35vw,
                16px
            ) !important;

        line-height: 1.5 !important;
    }

    #detailView
    .golda-detail-v3
    .detail-progress-v3 {
        width: 100% !important;
        max-width: none !important;
    }

    #detailView
    .golda-detail-v3
    .detail-progress-top {
        margin-bottom: 8px !important;
        font-size: 12.5px !important;
    }

    #detailView
    .golda-detail-v3
    .detail-main-progress {
        height: 8px !important;
    }

    #detailView
    .golda-detail-v3
    .detail-actions {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;

        gap: 8px !important;
        margin-top: 15px !important;

        min-width: 0 !important;
        width: 100% !important;
    }

    #detailView
    .golda-detail-v3
    #detailContinueButton {
        flex: 1 1 auto !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;

        min-height: 52px !important;

        padding: 0 16px !important;

        border-radius: 15px !important;

        font-size: 14px !important;
        letter-spacing: -.01em !important;

        overflow: hidden !important;
    }

    #detailView
    .golda-detail-v3
    #detailContinueButton span {
        display: block !important;

        min-width: 0 !important;
        max-width: 100% !important;

        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    #detailView
    .golda-detail-v3
    #detailContinueButton i {
        flex: 0 0 auto !important;
        font-size: 17px !important;
    }

    #detailView
    .golda-detail-v3
    .detail-icon-action-v3 {
        flex: 0 0 52px !important;
        flex-basis: 52px !important;

        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;

        height: 52px !important;
        min-height: 52px !important;

        padding: 0 !important;

        border-radius: 15px !important;

        font-size: 19px !important;
    }
}
/* GOLDA_DETAIL_TABLET_RESPONSIVE_V1_END */

/* GOLDA_LIBRARY_SHELF_DESKTOP_6_5_V1_START
 *
 * Estantería — desktop >=1181px.
 *
 * Objetivo visual:
 *   6 tarjetas completas + 1/2 de la séptima.
 *
 * Geometría:
 *   gap = 10px
 *   6.5W + 6(10px) = 100%
 *   W = (100% - 60px) / 6.5
 *   W = 15.3846153846% - 9.2307692308px
 *
 * Sólo cambia el ancho de las columnas automáticas.
 * La tarjeta, portada, badges, progreso, scroll horizontal,
 * scroll-preserve y todos los breakpoints <=1180px permanecen
 * intactos.
 */
@media (min-width:1181px) {

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-rail {
        grid-auto-columns:
            calc(
                15.3846153846% - 9.2307692308px
            ) !important;

        gap: 10px !important;
    }
}
/* GOLDA_LIBRARY_SHELF_DESKTOP_6_5_V1_END */

/* GOLDA_LIBRARY_SHELF_PUBLICATION_LABEL_COLORS_V1B_START
 *
 * Scope estricto:
 * Biblioteca -> Estantería.
 *
 * NUEVO               = verde
 * ESTRENO             = dorado
 * NUEVA TEMPORADA     = azul
 * NUEVO(S) CAPÍTULO(S)= naranja
 * EN CURSO            = violeta
 *
 * SIN ETIQUETA no genera badge.
 */

/* NUEVO — CIAN */
#libraryView.golda-library-view-shelf
.golda-library-derived-badge.is-new {
    background:
        rgba(6,42,52,.97) !important;

    border-color:
        #22d3ee !important;

    color:
        #a5f3fc !important;

    box-shadow:
        0 2px 9px
        rgba(34,211,238,.20) !important;
}


/* ESTRENO — VERDE */
#libraryView.golda-library-view-shelf
.golda-library-derived-badge.is-premiere {
    background:
        rgba(4,36,22,.97) !important;

    border-color:
        #22c55e !important;

    color:
        #bbf7d0 !important;

    box-shadow:
        0 2px 9px
        rgba(34,197,94,.22) !important;
}


/* NUEVA TEMPORADA — AZUL */
#libraryView.golda-library-view-shelf
.golda-library-derived-badge.is-new-season {
    background:
        rgba(12,35,73,.97) !important;

    border-color:
        #3b82f6 !important;

    color:
        #bfdbfe !important;

    box-shadow:
        0 2px 9px
        rgba(59,130,246,.20) !important;
}


/* NUEVO CAPÍTULO / NUEVOS CAPÍTULOS — NARANJA */
#libraryView.golda-library-view-shelf
.golda-library-derived-badge.is-new-chapters {
    background:
        rgba(4,36,22,.97) !important;

    border-color:
        #22c55e !important;

    color:
        #bbf7d0 !important;

    box-shadow:
        0 2px 9px
        rgba(34,197,94,.22) !important;
}


/* EN CURSO — VIOLETA */
#libraryView.golda-library-view-shelf
.golda-library-derived-badge.is-reading {
    background:
        rgba(42,20,75,.97) !important;

    border-color:
        #8b5cf6 !important;

    color:
        #ddd6fe !important;

    box-shadow:
        0 2px 9px
        rgba(139,92,246,.20) !important;
}

/* GOLDA_LIBRARY_SHELF_PUBLICATION_LABEL_COLORS_V1B_END */
/* GOLDA_LIBRARY_PREMIERE_GRID_V1_CSS_START */

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1 {
    box-sizing: border-box;

    width:
        min(
            980px,
            calc(100% - 72px)
        );

    margin:
        24px auto 38px;

    padding:
        22px;

    overflow: hidden;

    border:
        1px solid
        rgba(167,139,250,.18);

    border-radius:
        28px;

    background:
        radial-gradient(
            circle at 7% 0%,
            rgba(34,197,94,.17),
            transparent 34%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(124,58,237,.20),
            transparent 40%
        ),
        linear-gradient(
            145deg,
            rgba(16,22,31,.985),
            rgba(30,21,44,.985)
        );

    box-shadow:
        0 18px 55px
        rgba(0,0,0,.24);
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-heading-v1 {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 14px;

    margin:
        0 2px 17px;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-heading-v1 h3 {
    display: flex;

    align-items: center;

    gap: 9px;

    margin: 0;

    color: #fff;

    font-size: 19px;
    line-height: 1.15;
    font-weight: 850;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-heading-v1 h3 > i {
    color: #4ade80;
    font-size: 15px;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-count-v1 {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 29px;
    height: 29px;

    padding: 0 9px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 999px;

    background:
        rgba(255,255,255,.06);

    color:
        rgba(255,255,255,.66);

    font-size: 11px;
    font-weight: 800;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1 {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 16px;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
> .golda-library-premiere-card-v1 {
    width: 100%;
    min-width: 0;

    content-visibility:
        visible !important;

    contain-intrinsic-size:
        none !important;

    border:
        1px solid
        rgba(255,255,255,.11) !important;

    border-radius:
        19px !important;

    background:
        rgba(10,13,19,.82) !important;

    box-shadow:
        0 9px 28px
        rgba(0,0,0,.24);
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
> .golda-library-premiere-card-v1:hover,
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
> .golda-library-premiere-card-v1:focus-visible {
    transform:
        translateY(-3px);

    border-color:
        rgba(74,222,128,.38) !important;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
> .golda-library-derived-cover {
    width:
        100% !important;

    height:
        auto !important;

    aspect-ratio:
        4 / 5 !important;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-cover-overlay {
    min-height:
        43% !important;

    padding:
        48px 15px 15px !important;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-cover-overlay h3 {
    font-size:
        18px !important;

    line-height:
        1.17 !important;

    -webkit-line-clamp:
        3 !important;

    line-clamp:
        3 !important;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-cover-overlay > span {
    font-size:
        12px !important;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-derived-badge {
    top:
        12px !important;

    left:
        12px !important;

    min-height:
        25px !important;

    padding:
        4px 9px !important;

    font-size:
        10px !important;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-actions-v1 {
    display: flex;

    align-items: center;
    justify-content: center;

    margin-top:
        19px;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-actions-v1[hidden],
#libraryView.golda-library-view-shelf
.golda-library-premiere-more-v1[hidden] {
    display:
        none !important;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-more-v1 {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width:
        164px;

    min-height:
        43px;

    padding:
        0 22px;

    border:
        1px solid
        rgba(74,222,128,.32);

    border-radius:
        999px;

    background:
        linear-gradient(
            135deg,
            rgba(34,197,94,.15),
            rgba(45,212,191,.09)
        );

    color:
        #dcfce7;

    font-size:
        11px;

    font-weight:
        900;

    letter-spacing:
        .085em;

    cursor:
        pointer;
}


@media (max-width: 700px) {

    #libraryView.golda-library-view-shelf
    .golda-library-premiere-feature-v1 {
        width:
            calc(100% - 20px);

        margin:
            18px auto 29px;

        padding:
            13px;

        border-radius:
            21px;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-premiere-heading-v1 h3 {
        font-size:
            16px;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-premiere-grid-v1 {
        gap:
            10px;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-premiere-grid-v1
    > .golda-library-premiere-card-v1 {
        border-radius:
            14px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-premiere-grid-v1
    .golda-library-cover-overlay {
        min-height:
            48% !important;

        padding:
            30px 9px 10px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-premiere-grid-v1
    .golda-library-cover-overlay h3 {
        font-size:
            13px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-premiere-grid-v1
    .golda-library-cover-overlay > span {
        font-size:
            10px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-premiere-grid-v1
    .golda-library-derived-badge {
        top:
            7px !important;

        left:
            7px !important;

        min-height:
            20px !important;

        padding:
            3px 6px !important;

        font-size:
            8.5px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-premiere-actions-v1 {
        margin-top:
            14px;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-premiere-more-v1 {
        min-width:
            146px;

        min-height:
            40px;

        font-size:
            10px;
    }
}


@media (max-width: 390px) {

    #libraryView.golda-library-view-shelf
    .golda-library-premiere-grid-v1 {
        gap:
            8px;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-premiere-feature-v1 {
        width:
            calc(100% - 16px);

        padding:
            11px;
    }
}

/* GOLDA_LIBRARY_PREMIERE_GRID_V1_CSS_END */

/* GOLDA_LIBRARY_PREMIERE_CARD_PARITY_V1B_CSS_START
 *
 * Exclusivo de Biblioteca -> Estantería -> Estrenos.
 */

#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-cover-overlay h3 {
    font-size: 36px !important;
    line-height: 1.08 !important;

    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
}


/*
 * El encabezado ESTRRENOS ya comunica el contexto.
 * La etiqueta individual sería redundante.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-derived-badge.is-premiere {
    display: none !important;
}


@media (max-width: 700px) {

    #libraryView.golda-library-view-shelf
    .golda-library-premiere-grid-v1
    .golda-library-premiere-card-v1
    .golda-library-cover-overlay h3 {
        font-size: 26px !important;
        line-height: 1.08 !important;
    }
}

/* GOLDA_LIBRARY_PREMIERE_CARD_PARITY_V1B_CSS_END */

/* GOLDA_LIBRARY_PREMIERE_GRID_STATUS_UNCENSORED_V1C_CSS_START
 *
 * Scope exclusivo:
 * Biblioteca -> Estantería -> Estrenos.
 */

#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c {
    position: relative !important;
}


/*
 * Estado de la obra NO aparece en Estrenos.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-shelf-work-meta-v1,
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-shelf-work-status-v1,
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-shelf-rating-sc-v1 {
    display: none !important;
}


/*
 * SIN CENSURA — arriba derecha.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-uncensored-v1c {
    position: absolute !important;

    top: 13px !important;
    right: 13px !important;

    z-index: 10 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 34px !important;

    padding:
        0 13px !important;

    border:
        1px solid
        rgba(255,255,255,.42) !important;

    border-radius:
        999px !important;

    background:
        rgba(237,29,36,.96) !important;

    color:
        #fff !important;

    font-size:
        11px !important;

    font-weight:
        950 !important;

    line-height:
        1 !important;

    letter-spacing:
        .055em !important;

    white-space:
        nowrap !important;

    box-shadow:
        0 6px 22px
        rgba(0,0,0,.38) !important;

    text-shadow:
        0 1px 2px
        rgba(0,0,0,.36) !important;

    pointer-events:
        none !important;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-image-v1c {
    image-rendering:
        auto !important;
}


@media (max-width: 700px) {

    #libraryView.golda-library-view-shelf
    .golda-library-premiere-grid-v1
    .golda-library-premiere-card-v1
    .golda-library-premiere-uncensored-v1c {
        top: 8px !important;
        right: 8px !important;

        min-height:
            28px !important;

        padding:
            0 9px !important;

        font-size:
            8.5px !important;

        letter-spacing:
            .035em !important;
    }
}

/* GOLDA_LIBRARY_PREMIERE_GRID_STATUS_UNCENSORED_V1C_CSS_END */

/* GOLDA_LIBRARY_PREMIERE_SC_CARD_FLUID_V1D2_START
 *
 * Exclusivo:
 * Biblioteca -> Estantería -> Estrenos.
 *
 * La portada 4:5 es el contenedor dimensional.
 * No se utilizan breakpoints de viewport para decidir
 * el tamaño del título ni del círculo SC.
 */


/*
 * La propia portada pasa a ser el container de referencia.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c {
    container-type: inline-size;
}


/*
 * TÍTULO
 *
 * Fallback fijo seguro primero.
 * En navegadores modernos se sustituye por cqw.
 *
 * La escala depende del ancho REAL de la portada:
 *
 * 200px -> ~12px
 * 250px -> ~12px
 * 300px -> 14.4px
 * 350px -> 16.8px
 * 400px -> 19.2px
 * 450px -> 21.6px
 *
 * Máximo protegido: 22px.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-cover-overlay h3 {
    font-size: 16px !important;

    font-size:
        8.2cqw !important;

    line-height:
        1.12 !important;

    -webkit-line-clamp:
        3 !important;

    line-clamp:
        3 !important;
}


/*
 * SC — estilo similar a +18.
 *
 * Círculo real:
 * - rojo;
 * - borde blanco;
 * - texto blanco;
 * - arriba a la derecha;
 * - dimensiones ligadas a la propia portada.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-uncensored-v1c {
    position: absolute !important;

    top: 9px !important;
    right: 9px !important;

    top:
        clamp(
            7px,
            3cqw,
            13px
        ) !important;

    right:
        clamp(
            7px,
            3cqw,
            13px
        ) !important;

    z-index:
        10 !important;

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    box-sizing:
        border-box !important;

    width:
        34px !important;

    height:
        34px !important;

    width:
        clamp(
            28px,
            10cqw,
            42px
        ) !important;

    height:
        clamp(
            28px,
            10cqw,
            42px
        ) !important;

    min-width:
        0 !important;

    min-height:
        0 !important;

    padding:
        0 !important;

    border:
        2px solid
        #ffffff !important;

    border-radius:
        50% !important;

    background:
        #ed1d24 !important;

    color:
        #ffffff !important;

    font-size:
        10px !important;

    font-size:
        clamp(
            9px,
            3cqw,
            12px
        ) !important;

    font-weight:
        950 !important;

    line-height:
        1 !important;

    letter-spacing:
        .01em !important;

    white-space:
        nowrap !important;

    box-shadow:
        0 4px 14px
        rgba(0,0,0,.38) !important;

    text-shadow:
        0 1px 2px
        rgba(0,0,0,.40) !important;

    pointer-events:
        none !important;
}


/*
 * Las defensas de V1C se mantienen.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-shelf-work-meta-v1,
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-shelf-work-status-v1,
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-shelf-rating-sc-v1 {
    display: none !important;
}


/*
 * Portada original/no compacta de V1C:
 * no se modifica su fuente.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-image-v1c {
    image-rendering:
        auto !important;
}

/* GOLDA_LIBRARY_PREMIERE_SC_CARD_FLUID_V1D2_END */

/* GOLDA_LIBRARY_PREMIERE_TRUE_PROPORTIONAL_SPACING_V1G_START
 *
 * Estrenos:
 * los espacios visuales conservan la proporción que ya
 * funciona correctamente en móvil.
 *
 * Dos referencias:
 *
 * 1. La sección Estrenos es contenedor de los espacios
 *    entre encabezado, tarjetas y acciones.
 *
 * 2. Cada portada continúa siendo contenedor propio para
 *    los márgenes internos del overlay, igual que el título.
 */


/*
 * El panel se convierte en referencia dimensional para
 * todos sus descendientes que no tengan un contenedor
 * más cercano.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1 {
    container-type: inline-size;

    /*
     * Móvil actual ≈ 13px.
     * A 980px llega aproximadamente a 34px.
     *
     * El límite superior coincide con el ancho máximo
     * actual de la sección y evita crecimiento inútil
     * fuera de ella.
     */
    padding:
        clamp(
            11px,
            3.5%,
            34px
        );
}


/*
 * Encabezado -> cuadrícula.
 *
 * En móvil conserva prácticamente los ~17px actuales.
 * Al crecer el panel crece en la misma relación.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-heading-v1 {
    gap:
        3.8cqw;

    margin:
        0
        .55cqw
        4.5cqw;
}


/*
 * Separación entre las cuatro tarjetas.
 *
 * El móvil actual ronda 10px.
 * La nueva separación equivale al 2.9% del ancho
 * real del panel y ya no queda congelada en desktop.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1 {
    gap:
        2.9cqw;
}


/*
 * El overlay utiliza la portada como container más
 * cercano gracias al container-type existente en
 * .golda-library-premiere-cover-host-v1c.
 *
 * Se conserva aproximadamente la proporción móvil:
 *
 * top      ≈ 17% del ancho de la portada
 * laterales ≈ 5.4%
 * inferior  ≈ 6%
 *
 * Así el título y VERSIÓN LEZHIN dejan de quedar
 * pegados visualmente al borde en tarjetas grandes.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-cover-overlay {
    padding:
        17cqw
        5.4cqw
        6cqw !important;
}


/*
 * Separación del bloque VER MÁS / VER MENOS.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-actions-v1 {
    margin-top:
        3.8cqw;
}


/*
 * No alterar la proporción del título conseguida en V1F.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-cover-overlay h3 {
    font-size:
        8.2cqw !important;
}

/* GOLDA_LIBRARY_PREMIERE_TRUE_PROPORTIONAL_SPACING_V1G_END */

/* GOLDA_LIBRARY_SHELF_PREMIERE_FULL_PROPORTIONAL_V1H_START
 *
 * OBJETIVOS
 *
 * 1. Toda tarjeta de Estantería utiliza su propio ancho como
 *    sistema dimensional.
 *
 * 2. Textos, etiquetas, Lezhin, favicon, estados, SC,
 *    progreso y márgenes internos crecen/reducen junto con
 *    la tarjeta.
 *
 * 3. No se cambia ningún anclaje:
 *    badges siguen arriba-izquierda;
 *    SC/estado siguen donde ya estaban;
 *    progreso sigue abajo;
 *    orden DOM intacto.
 *
 * 4. Estrenos:
 *    desktop >=1181px = cuatro columnas.
 *    <=1180px conserva dos columnas.
 */


/* ==========================================================
 * A. TODAS LAS TARJETAS DE ESTANTERÍA
 * ========================================================== */

/*
 * La tarjeta completa se convierte en container.
 *
 * inline-size NO fija altura ni altera la geometría del rail.
 * Sólo ofrece cqw a sus descendientes.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf {
    container-type: inline-size;
}


/*
 * Overlay de tarjeta normal.
 *
 * Proporciones tomadas de la apariencia móvil existente.
 * No modifica el punto de anclaje del overlay.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-cover-overlay {
    padding:
        18.8cqw
        6cqw
        6.7cqw !important;
}


/*
 * Título.
 *
 * Sustituye 13px / 14.5px dependientes del viewport por
 * una relación permanente con la propia tarjeta.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-cover-overlay h3 {
    font-size:
        9.7cqw !important;

    line-height:
        1.18 !important;

    -webkit-line-clamp:
        3 !important;

    line-clamp:
        3 !important;
}


/*
 * Metadato base bajo el título.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-cover-overlay > span {
    margin-top:
        3.3cqw !important;

    font-size:
        7.7cqw !important;

    line-height:
        1.2 !important;
}


/*
 * Etiqueta de publicación que ya exista sobre la portada.
 *
 * Anclaje proporcional arriba/derecha.
 * Sus dimensiones siguen escalando con la tarjeta.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-derived-badge {
    top:
        4.7cqw !important;

    left:
        auto !important;

    right:
        4.7cqw !important;

    max-width:
        82cqw !important;

    min-height:
        13.4cqw !important;

    padding:
        0 4cqw !important;

    border-radius:
        4cqw !important;

    font-size:
        6cqw !important;

    line-height:
        1.1 !important;
}


/*
 * VERSIÓN LEZHIN.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-lezhin-source-v1 {
    gap:
        2cqw !important;

    margin:
        0 0 2cqw !important;

    font-size:
        4.9cqw !important;

    line-height:
        1 !important;
}


/*
 * Favicon Lezhin.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-lezhin-source-icon-v1 {
    width:
        6cqw !important;

    height:
        6cqw !important;

    border-radius:
        1.3cqw !important;
}


/*
 * Estado de la obra + SC de las tarjetas normales.
 *
 * No se cambia flex, orden, izquierda/derecha ni colores.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-work-meta-v1 {
    gap:
        2.7cqw !important;
}

#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-work-status-v1,
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-rating-sc-v1 {
    padding:
        1.3cqw 3.3cqw !important;

    font-size:
        6cqw !important;

    line-height:
        1 !important;
}


/*
 * Progreso de lectura.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-progress-meta-v1 {
    gap:
        5.4cqw !important;
}

#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-progress-percent-v1,
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-progress-chapters-v1 {
    font-size:
        6.7cqw !important;

    line-height:
        1.15 !important;
}


/*
 * Tarjeta completada.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-completed-meta-v1 {
    gap:
        5.4cqw !important;
}

#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-completed-percent-v1,
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-shelf-completed-label-v1 {
    font-size:
        6.7cqw !important;

    line-height:
        1.15 !important;
}


/*
 * Barra de progreso.
 *
 * Sigue anclada abajo; sólo conserva proporcionalmente
 * sus distancias y espesor.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-cover-progress {
    left:
        4.7cqw !important;

    right:
        4.7cqw !important;

    bottom:
        4cqw !important;

    height:
        2cqw !important;
}


/* ==========================================================
 * B. ESTRENOS — AJUSTES ESPECÍFICOS
 * ========================================================== */

/*
 * Estrenos ya dispone de una portada 4:5 como container.
 * Se conserva el título conseguido:
 * 8.2% del ancho real de la portada.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-cover-overlay h3 {
    font-size:
        8.2cqw !important;
}


/*
 * Overlay de Estrenos conserva la proporción V1G.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-cover-overlay {
    padding:
        17cqw
        5.4cqw
        6cqw !important;
}


/*
 * Lezhin dentro de Estrenos.
 *
 * Ya no utiliza 6.5 / 7.25px según viewport.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-shelf-lezhin-source-v1 {
    gap:
        1.7cqw !important;

    margin:
        0 0 1.7cqw !important;

    font-size:
        4.1cqw !important;

    line-height:
        1 !important;
}

#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-shelf-lezhin-source-icon-v1 {
    width:
        5.1cqw !important;

    height:
        5.1cqw !important;

    border-radius:
        1.1cqw !important;
}


/*
 * SC de Estrenos.
 *
 * Se eliminan los mínimos/máximos del antiguo clamp.
 * Sigue arriba-derecha, círculo rojo, letras blancas.
 *
 * Ahora TODO escala con la propia portada:
 * posición, diámetro, borde y texto.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-uncensored-v1c {
    top:
        4.5cqw !important;

    right:
        4.5cqw !important;

    width:
        15.8cqw !important;

    height:
        15.8cqw !important;

    min-width:
        0 !important;

    min-height:
        0 !important;

    padding:
        0 !important;

    border-width:
        1.1cqw !important;

    border-style:
        solid !important;

    border-color:
        #ffffff !important;

    border-radius:
        50% !important;

    font-size:
        5.1cqw !important;

    line-height:
        1 !important;
}


/*
 * Si en el futuro una tarjeta de Estrenos recibe algún
 * badge visible, también mantendrá proporción sin cambiar
 * su anclaje arriba-izquierda.
 */
#libraryView.golda-library-view-shelf
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-derived-badge {
    top:
        4.5cqw !important;

    left:
        4.5cqw !important;

    min-height:
        12.5cqw !important;

    padding:
        0 3.4cqw !important;

    font-size:
        5.1cqw !important;
}


/* ==========================================================
 * C. ESTRENOS — PC 1 FILA / 4 COLUMNAS
 * ========================================================== */

/*
 * PC solamente.
 *
 * Tablet <=1180px sigue con dos columnas.
 * Móvil <=700px sigue con dos columnas.
 *
 * Con los cuatro estrenos iniciales:
 * 1 fila x 4 columnas.
 *
 * Si VER MÁS agrega otros cuatro, naturalmente crea
 * una segunda fila de cuatro.
 */
@media (min-width: 1181px) {

    #libraryView.golda-library-view-shelf
    .golda-library-premiere-grid-v1 {
        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            ) !important;
    }
}

/* GOLDA_LIBRARY_SHELF_PREMIERE_FULL_PROPORTIONAL_V1H_END */

/* GOLDA_LIBRARY_PREMIERE_DESKTOP_FULL_WIDTH_V1I_START
 *
 * Estrenos en PC:
 *
 * - elimina exclusivamente el límite histórico de 980px;
 * - ocupa todo el ancho útil de Biblioteca;
 * - respeta el main y padding global ya existentes;
 * - conserva 4 columnas de V1H;
 * - no afecta tablet ni móvil.
 */

@media (min-width: 1181px) {

    #libraryView.golda-library-view-shelf
    .golda-library-premiere-feature-v1 {
        width:
            100% !important;

        max-width:
            none !important;
    }

}

/* GOLDA_LIBRARY_PREMIERE_DESKTOP_FULL_WIDTH_V1I_END */

/* GOLDA_SECTIONS_FAVORITES_NAV_V1_CSS_START */
.golda-sections-view-v1 {width:min(1180px,calc(100% - 32px));margin:auto;padding:28px 0 38px}.golda-sections-heading-v1 {margin-bottom:20px}.golda-sections-heading-v1 h2 {margin:0;font-size:clamp(1.55rem,3vw,2.2rem)}.golda-sections-heading-v1 p {margin:7px 0 0}.golda-sections-grid-v1 {display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:18px 14px}.golda-section-book-card-v1 {width:100%;min-width:0;position:relative}.golda-section-favorite-v1 {position:absolute;top:8px;right:8px;z-index:8;width:38px;height:38px;padding:0;border-radius:50%;border:1px solid #ffffff30;background:#08080cb8;color:#ffffffc7;cursor:pointer}.golda-section-favorite-v1.is-active {color:#ed1d24;border-color:#ed1d24b3}.golda-section-favorite-v1:disabled {opacity:.55}.golda-sections-secondary-v1 {margin-top:36px;padding-top:26px;border-top:1px solid #ffffff17}.golda-sections-secondary-v1 h3 {margin:0}.golda-sections-secondary-v1 p {margin:6px 0 14px}.golda-sections-recent-list-v1 {display:grid;gap:8px}.golda-section-recent-row-v1 {width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:12px;border:1px solid #ffffff15;border-radius:12px;background:#ffffff06;color:inherit;text-align:left;cursor:pointer}.golda-section-recent-row-v1 span {font-size:.7rem;font-weight:800;color:#fff;background:#ed1d24;border-radius:99px;padding:4px 8px}.golda-section-empty-v1,
.golda-section-loading-v1 {grid-column:1/-1;min-height:145px;display:grid;place-items:center;align-content:center;gap:8px;padding:25px;text-align:center;border:1px dashed #ffffff1c;border-radius:15px;color:#9a9aa4}.golda-bottom-nav-v1 {display:none;position:fixed;left:50%;bottom:max(8px,env(safe-area-inset-bottom));z-index:2147482000;transform:translateX(-50%);width:min(620px,calc(100% - 20px));grid-template-columns:repeat(4,1fr);gap:2px;padding:6px;border:1px solid #ffffff1c;border-radius:18px;background:#0d0d11ed;box-shadow:0 12px 38px #0006;backdrop-filter:blur(18px)}.golda-bottom-nav-v1.is-visible {display:grid}.golda-bottom-nav-v1 button {display:grid;justify-items:center;gap:4px;padding:8px 2px;border:0;border-radius:12px;background:transparent;color:#ffffff9e;cursor:pointer}.golda-bottom-nav-v1 button span {font-size:.64rem;font-weight:700}.golda-bottom-nav-v1 button.is-active {color:#fff;background:#ed1d2429}.golda-bottom-nav-v1 button.is-active i {color:#ed1d24}body.golda-bottom-nav-active-v1 main {padding-bottom:calc(94px + env(safe-area-inset-bottom))!important}@media(max-width:700px){.golda-sections-view-v1 {width:calc(100% - 20px);padding-top:20px}.golda-sections-grid-v1 {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 9px}.golda-bottom-nav-v1 {width:calc(100% - 10px);bottom:max(5px,env(safe-area-inset-bottom));padding:5px}.golda-bottom-nav-v1 button span {font-size:.58rem}}
/* GOLDA_SECTIONS_FAVORITES_NAV_V1_CSS_END */



/* ==========================================================
 * GOLDA_SECTIONS_LAYOUT_V2_CSS
 * ========================================================== */


/* ----------------------------------------------------------
 * FAVORITOS — lista horizontal
 * ---------------------------------------------------------- */

#goldaSectionsPrimaryV1.is-favorites-v2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.golda-favorite-row-v2 {
    display: grid;
    grid-template-columns:
        76px
        minmax(0, 1fr)
        auto;
    gap: 14px;
    align-items: center;

    width: 100%;
    min-width: 0;

    padding: 10px;

    border-radius: 14px;

    background:
        rgba(255,255,255,.045);

    cursor: pointer;

    transition:
        background-color .15s ease,
        transform .15s ease;
}

.golda-favorite-row-v2:hover {
    background:
        rgba(255,255,255,.07);
}

.golda-favorite-row-v2:active {
    transform:
        scale(.995);
}

.golda-favorite-cover-v2 {
    position: relative;

    width: 76px;
    aspect-ratio: 3 / 4;

    overflow: hidden;

    border-radius: 10px;

    background:
        rgba(255,255,255,.06);
}

.golda-favorite-cover-v2 img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.golda-favorite-cover-v2 > span {
    display: grid;
    place-items: center;

    width: 100%;
    height: 100%;

    font-weight: 800;
    font-size: 24px;
}

.golda-favorite-copy-v2 {
    min-width: 0;
}

.golda-favorite-copy-v2 h3 {
    margin: 0;

    overflow: hidden;

    font-size: 15px;
    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.golda-favorite-facts-v2 {
    margin-top: 5px;

    overflow: hidden;

    font-size: 12px;
    line-height: 1.35;

    opacity: .72;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.golda-favorite-progress-v2 {
    margin-top: 11px;
}

.golda-favorite-progress-labels-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    margin-bottom: 6px;

    font-size: 11px;
    line-height: 1.2;
}

.golda-favorite-progress-labels-v2 strong {
    font-size: inherit;
    line-height: inherit;
}

.golda-favorite-progress-labels-v2 span {
    overflow: hidden;

    opacity: .78;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.golda-favorite-row-v2.is-completed
.golda-favorite-progress-labels-v2 {
    opacity: 1;
}

.golda-favorite-progress-track-v2 {
    position: relative;

    width: 100%;
    height: 5px;

    overflow: hidden;

    border-radius: 999px;
}

.golda-favorite-progress-fill-v2 {
    display: block;

    height: 100%;

    border-radius: inherit;
}

.golda-favorite-actions-v2 {
    align-self: center;
}

.golda-favorite-actions-v2
.golda-section-favorite-v1 {
    position: static;
}


/* ----------------------------------------------------------
 * ESTRENOS agrupados por día/mes
 * ---------------------------------------------------------- */

#goldaSectionsPrimaryV1.is-premieres-v2 {
    display: block;
}

.golda-premiere-date-group-v2 +
.golda-premiere-date-group-v2 {
    margin-top: 28px;
}

.golda-premiere-date-v2 {
    margin:
        0
        0
        12px;

    font-size: 15px;
    line-height: 1.2;

    font-weight: 800;

    text-transform: capitalize;
}

.golda-premiere-date-grid-v2 {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );

    gap: 14px;
}


@media (max-width: 900px) {

    .golda-premiere-date-grid-v2 {
        grid-template-columns:
            repeat(
                3,
                minmax(0,1fr)
            );
    }
}


@media (max-width: 640px) {

    #goldaSectionsPrimaryV1.is-favorites-v2 {
        gap: 9px;
    }

    .golda-favorite-row-v2 {
        grid-template-columns:
            64px
            minmax(0,1fr)
            auto;

        gap: 10px;

        padding: 8px;

        border-radius: 12px;
    }

    .golda-favorite-cover-v2 {
        width: 64px;

        border-radius: 8px;
    }

    .golda-favorite-copy-v2 h3 {
        font-size: 13px;
    }

    .golda-favorite-facts-v2 {
        margin-top: 3px;

        font-size: 10px;
    }

    .golda-favorite-progress-v2 {
        margin-top: 8px;
    }

    .golda-favorite-progress-labels-v2 {
        margin-bottom: 5px;

        font-size: 9px;
    }

    .golda-premiere-date-grid-v2 {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );

        gap: 10px;
    }

    .golda-premiere-date-v2 {
        margin-bottom: 10px;

        font-size: 14px;
    }
}

/* GOLDA_SECTIONS_LAYOUT_V2_CSS_END */


/* ==========================================================
 * GOLDA_EXPLORE_CARD_PARITY_V1_CSS_START
 * ========================================================== */

.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-derived-cover {
    container-type:
        inline-size;
}


/*
 * Título.
 *
 * El renderer genérico quedaba visualmente demasiado
 * pequeño dentro de la grilla de EXPLORAR.
 */
.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-cover-overlay h3 {
    font-size:
        clamp(
            14px,
            8.2cqw,
            19px
        ) !important;

    line-height:
        1.08 !important;
}


/*
 * Espacio del overlay para título + VERSIÓN LEZHIN.
 */
.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-cover-overlay {
    padding:
        17cqw
        5.4cqw
        6cqw !important;
}


/*
 * VERSIÓN LEZHIN + favicon:
 * mismas proporciones finales de las tarjetas globales.
 */
.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-shelf-lezhin-source-v1 {
    gap:
        2cqw !important;

    margin:
        0 0 2cqw !important;

    font-size:
        4.9cqw !important;

    line-height:
        1 !important;
}

.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-shelf-lezhin-source-icon-v1 {
    width:
        6cqw !important;

    height:
        6cqw !important;

    border-radius:
        1.3cqw !important;
}


/*
 * Estado global + SC.
 *
 * Los colores/bordes siguen viniendo de las clases
 * globales existentes; aquí solo reproducimos tamaño
 * y separación final.
 */
.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-shelf-work-meta-v1 {
    gap:
        2.7cqw !important;
}

.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-shelf-work-status-v1,
.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-shelf-rating-sc-v1 {
    padding:
        1.3cqw
        3.3cqw !important;

    font-size:
        6cqw !important;

    line-height:
        1 !important;
}


/*
 * Las etiquetas temporales de publicación quedan
 * prohibidas visualmente en EXPLORAR como defensa extra.
 */
.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-derived-badge {
    display:
        none !important;
}


/* GOLDA_EXPLORE_CARD_PARITY_V1_CSS_END */


/* GOLDA_DETAIL_FAVORITE_HEART_ACTIVE_V2B_REMOVED_V3B */





/* ==========================================================
 * GOLDA_FAVORITES_CONTINUE_CARD_PARITY_V1_CSS_START
 *
 * /favoritos/ adopta la misma geometría base de el rail compacto compartido.
 * No modifica el rail compacto compartido ni INICIO.
 * ========================================================== */


/*
 * Lista vertical: una tarjeta por fila.
 */
#goldaSectionsPrimaryV1.is-favorites-v2 {
    display:
        flex !important;

    flex-direction:
        column !important;

    gap:
        12px !important;

    width:
        100% !important;
}


/*
 * Misma tarjeta base de Continuar, expandida al ancho
 * disponible en la sección exclusiva.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-row-v3 {
    position:
        relative;

    width:
        100% !important;

    min-width:
        0 !important;

    max-width:
        none !important;

    margin:
        0 !important;

    scroll-snap-align:
        none !important;

    cursor:
        pointer;
}


/*
 * Miniatura idéntica a la estructura de Continuar.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-cover-v3 {
    flex:
        0 0 auto;
}


/*
 * Reserva espacio para el corazón sin reducir la
 * miniatura ni solapar títulos largos.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-copy-v3 {
    min-width:
        0;

    padding-right:
        48px !important;
}


/*
 * Los metadatos pueden ocupar el ancho disponible
 * manteniendo el ritmo tipográfico de Continuar.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-work-meta-v3,
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-source-meta-v3 {
    display:
        block;

    max-width:
        100%;

    overflow:
        hidden;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;
}


/*
 * Fuente / SC ligeramente secundaria.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-source-meta-v3 {
    opacity:
        .78;
}


/*
 * Corazón en la esquina superior derecha.
 *
 * goldaHeartV1 conserva toda su lógica; solo anulamos
 * su posible posicionamiento propio al estar dentro de
 * este nuevo contenedor.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-actions-v3 {
    position:
        absolute;

    top:
        8px;

    right:
        8px;

    z-index:
        8;

    display:
        grid;

    place-items:
        center;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-actions-v3 > button {
    position:
        static !important;

    top:
        auto !important;

    right:
        auto !important;

    margin:
        0 !important;
}


/*
 * Fallback cuando no exista portada.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-cover-fallback-v3 {
    display:
        grid;

    width:
        100%;

    height:
        100%;

    place-items:
        center;

    font-size:
        24px;

    font-weight:
        800;

    color:
        rgba(255,255,255,.72);

    background:
        rgba(255,255,255,.06);
}




/*
 * GOLDA_BIBLIOTECA_MOBILE_FLUID_SCALE_V1
 *
 * /biblioteca/
 *
 * <=390px:
 * conserva exactamente la geometría móvil histórica.
 *
 * 391px–760px:
 * la tarjeta ocupa el mismo ancho de siempre, pero su
 * contenido interno crece proporcionalmente al viewport.
 *
 * Scope estricto:
 * únicamente #goldaSectionsPrimaryV1.is-favorites-v2.
 */
@media (min-width: 391px) and (max-width: 760px) {

    #goldaSectionsPrimaryV1.is-favorites-v2
    .golda-favorite-row-v3 {
        min-height:
            clamp(
                120px,
                calc(72px + 12vw),
                136px
            ) !important;

        grid-template-columns:
            clamp(
                72px,
                calc(25px + 12vw),
                84px
            )
            minmax(0, 1fr) !important;

        gap:
            clamp(
                12px,
                3vw,
                14px
            ) !important;

        padding:
            clamp(
                11px,
                2.8vw,
                13px
            ) !important;
    }


    #goldaSectionsPrimaryV1.is-favorites-v2
    .golda-favorite-row-v3
    .continue-reading-cover {
        width:
            clamp(
                72px,
                calc(25px + 12vw),
                84px
            ) !important;
    }


    #goldaSectionsPrimaryV1.is-favorites-v2
    .golda-favorite-row-v3
    .continue-reading-copy {
        gap:
            clamp(
                7px,
                1.9vw,
                9px
            ) !important;
    }


    #goldaSectionsPrimaryV1.is-favorites-v2
    .golda-favorite-row-v3
    .continue-reading-copy
    strong {
        font-size:
            clamp(
                16px,
                calc(10px + 1.55vw),
                17.5px
            ) !important;

        line-height:
            1.3 !important;
    }


    #goldaSectionsPrimaryV1.is-favorites-v2
    .golda-favorite-row-v3
    .continue-reading-meta {
        font-size:
            clamp(
                12.5px,
                calc(8px + 1.15vw),
                14px
            ) !important;

        line-height:
            1.38 !important;
    }


    #goldaSectionsPrimaryV1.is-favorites-v2
    .golda-favorite-row-v3
    .continue-reading-percent {
        min-width:
            clamp(
                34px,
                9vw,
                40px
            ) !important;

        font-size:
            clamp(
                12px,
                calc(7.5px + 1.15vw),
                13.5px
            ) !important;
    }


    #goldaSectionsPrimaryV1.is-favorites-v2
    .golda-favorite-row-v3
    .continue-reading-progress {
        height:
            clamp(
                5px,
                1.3vw,
                6px
            ) !important;
    }
}

/* GOLDA_FAVORITES_CONTINUE_CARD_PARITY_V1_CSS_END */

/* ==========================================================
 * GOLDA_FAVORITES_CARD_HEIGHT_FIX_V1_START
 *
 * continue-reading-card posee reglas flex pensadas para
 * carrusel horizontal.
 *
 * En Favoritos la lista es vertical, por lo que usamos
 * grid exactamente como la sección exclusiva el rail compacto compartido.
 * ========================================================== */

#goldaSectionsPrimaryV1.is-favorites-v2 {
    display:
        grid !important;

    grid-template-columns:
        minmax(0, 1fr) !important;

    grid-auto-flow:
        row !important;

    grid-auto-rows:
        auto !important;

    align-items:
        start !important;

    gap:
        12px !important;

    width:
        100% !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-row-v3 {
    /*
     * Fundamental:
     * neutraliza el flex-basis heredado del carrusel.
     */
    flex:
        none !important;

    flex-basis:
        auto !important;

    height:
        auto !important;

    /*
     * GOLDA_BIBLIOTECA_CONTINUE_VISUAL_PARITY_V1
     *
     * No sobrescribir min-height ni align-self.
     * Esta tarjeta ya es .continue-reading-card y debe
     * heredar directamente la geometría responsive canónica
     * de el rail compacto compartido:
     *
     * desktop: 120px
     * <=680px: 112px
     * <=390px: 108px
     *
     * La lógica y contenido propios de Mi Biblioteca
     * permanecen intactos.
     */

    width:
        100% !important;

    min-width:
        0 !important;

    max-width:
        none !important;
}


/*
 * El contenido interno queda centrado verticalmente,
 * igual que la tarjeta compacta de Continuar.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-row-v3
.continue-reading-copy {
    align-self:
        center;
}


/* GOLDA_FAVORITES_CARD_HEIGHT_FIX_V1_END */

/* ==========================================================
 * GOLDA_PREMIERES_MARQUEE_CARD_PARITY_V1_CSS_START
 *
 * Tarjetas de /estrenos/:
 * misma piel visual de goldaNewManhwaMarqueeRail.
 *
 * La grilla y agrupación cronológica de Estrenos permanecen
 * intactas.
 * ========================================================== */

#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1 {
    /*
     * Dentro de Estrenos no existe el custom property
     * de anchura del carrusel, por lo que la tarjeta ocupa
     * exactamente su celda de grilla.
     */
    flex:
        none !important;

    width:
        100% !important;

    min-width:
        0 !important;

    max-width:
        none !important;

    aspect-ratio:
        3 / 4 !important;

    padding:
        0 !important;

    margin:
        0 !important;

    color:
        inherit;

    font:
        inherit;

    text-align:
        left;

    appearance:
        none;

    opacity:
        1 !important;

    transform:
        none !important;

    scroll-snap-align:
        none !important;
}


/*
 * En la marquesina la tarjeta central recibe is-active.
 * En Estrenos todas son tarjetas principales, por eso todas
 * mantienen exactamente ese nivel de luminosidad.
 */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1.is-active {
    opacity:
        1 !important;

    transform:
        none !important;
}


/*
 * Mantener la grilla existente, pero impedir que cualquier
 * regla histórica de goldaBookCardV1 afecte estas tarjetas.
 */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-date-grid-v2
> .golda-premiere-marquee-card-v1 {
    box-sizing:
        border-box;
}


/*
 * Overlay/media/kicker/meta usan directamente las clases
 * canónicas de la marquesina; no se duplican dimensiones,
 * tipografía ni colores aquí.
 */


/* GOLDA_PREMIERES_MARQUEE_CARD_PARITY_V1_CSS_END */


/* ==========================================================
 * GOLDA_EXPLORE_CARD_POLISH_V1_CSS_START
 *
 * EXPLORAR únicamente:
 * - SC arriba a la izquierda;
 * - estado sin margen/padding;
 * - más aire entre VERSIÓN LEZHIN y favicon.
 * ========================================================== */


/*
 * El cover es la referencia geométrica del SC.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-derived-cover {
    position:
        relative !important;
}


/*
 * SC fuera del overlay inferior.
 * El corazón de Favoritos permanece arriba a la derecha.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-rating-sc-v1 {
    position:
        absolute !important;

    top:
        8px !important;

    left:
        8px !important;

    right:
        auto !important;

    bottom:
        auto !important;

    z-index:
        7 !important;

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    width:
        auto !important;

    margin:
        0 !important;

    padding:
        4px 7px !important;

    border:
        1px solid
        rgba(255,255,255,.22) !important;

    border-radius:
        999px !important;

    background:
        rgba(8,8,12,.72) !important;

    color:
        #fff !important;

    font-size:
        11px !important;

    font-weight:
        900 !important;

    line-height:
        1 !important;

    letter-spacing:
        .02em !important;

    white-space:
        nowrap !important;

    pointer-events:
        none !important;
}


/*
 * La línea inferior contiene ahora exclusivamente
 * el estado editorial.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-work-meta-v1 {
    gap:
        0 !important;

    margin:
        0 !important;

    padding:
        0 !important;
}


/*
 * EMISIÓN / FINALIZADO / EN PAUSA / CANCELADO:
 * sin caja de aire artificial alrededor del texto.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-shelf-work-status-v1 {
    margin:
        0 !important;

    padding:
        0 !important;
}


/*
 * Separación explícita entre VERSIÓN LEZHIN y favicon.
 * Antes: 2cqw.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-shelf-lezhin-source-v1 {
    gap:
        3.4cqw !important;
}


/* GOLDA_EXPLORE_CARD_POLISH_V1_CSS_END */


/* ==========================================================
 * GOLDA_EXPLORE_PROGRESS_PARITY_V1_CSS_START
 *
 * /explorar/ — progreso con la misma semántica visual de
 * las tarjetas de Biblioteca:
 *
 * 2%                                      2/129
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * ========================================================== */

#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-progress-meta-v1 {
    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        space-between !important;

    width:
        100% !important;

    min-width:
        0 !important;

    gap:
        8px !important;

    margin:
        1.5cqw 0 0 !important;

    padding:
        0 !important;
}


#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-progress-meta-v1
.golda-library-shelf-progress-percent-v1,
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-progress-meta-v1
.golda-library-shelf-progress-chapters-v1,
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-progress-meta-v1
.golda-library-shelf-completed-percent-v1,
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-progress-meta-v1
.golda-library-shelf-completed-label-v1 {
    display:
        inline-block !important;

    flex:
        0 0 auto !important;

    margin:
        0 !important;

    padding:
        0 !important;

    color:
        rgba(255,255,255,.62) !important;

    font-size:
        clamp(
            11px,
            6cqw,
            14px
        ) !important;

    font-weight:
        850 !important;

    line-height:
        1 !important;

    white-space:
        nowrap !important;

    font-variant-numeric:
        tabular-nums;
}


#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-progress-meta-v1
.golda-library-shelf-progress-chapters-v1,
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-progress-meta-v1
.golda-library-shelf-completed-label-v1 {
    margin-left:
        auto !important;

    text-align:
        right !important;
}


/*
 * Lectura completada:
 * misma semántica de Biblioteca, barra verde al 100%.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1.is-completed
.golda-library-cover-progress
> span {
    background:
        var(--good) !important;
}


/*
 * Defensa: el track permanece idéntico al componente base.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-cover-progress {
    display:
        block !important;
}


/* GOLDA_EXPLORE_PROGRESS_PARITY_V1_CSS_END */


/* ==========================================================
 * GOLDA_EXPLORE_SC_RED_CIRCLE_V1_CSS_START
 *
 * /explorar/ únicamente:
 * - badge SC circular
 * - texto rojo
 * ========================================================== */

#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-rating-sc-v1 {
    width:
        34px !important;

    min-width:
        34px !important;

    height:
        34px !important;

    padding:
        0 !important;

    border-radius:
        50% !important;

    border:
        1px solid
        rgba(237,29,36,.42) !important;

    background:
        rgba(8,8,12,.78) !important;

    color:
        #ED1D24 !important;

    font-size:
        12px !important;

    font-weight:
        900 !important;

    letter-spacing:
        0 !important;

    box-sizing:
        border-box !important;
}

/* GOLDA_EXPLORE_SC_RED_CIRCLE_V1_CSS_END */


/* ==========================================================
 * GOLDA_EXPLORE_SC_TAB_EDGE_V1_CSS_START
 *
 * /explorar/ únicamente:
 * - SC pegado al borde superior izquierdo
 * - sin margen
 * - formato pestaña
 * - sobresale levemente del borde
 * ========================================================== */

#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-rating-sc-v1 {
    top:
        -1px !important;

    left:
        -1px !important;

    right:
        auto !important;

    bottom:
        auto !important;

    z-index:
        7 !important;

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    width:
        auto !important;

    min-width:
        0 !important;

    height:
        28px !important;

    padding:
        0 10px !important;

    margin:
        0 !important;

    border-top:
        1px solid rgba(237,29,36,.42) !important;

    border-right:
        1px solid rgba(237,29,36,.42) !important;

    border-bottom:
        1px solid rgba(237,29,36,.42) !important;

    border-left:
        0 !important;

    border-radius:
        0 0 12px 0 !important;

    background:
        rgba(8,8,12,.86) !important;

    color:
        #ED1D24 !important;

    font-size:
        11px !important;

    font-weight:
        900 !important;

    line-height:
        1 !important;

    letter-spacing:
        0 !important;

    white-space:
        nowrap !important;

    box-sizing:
        border-box !important;

    box-shadow:
        0 4px 12px rgba(0,0,0,.24) !important;

    pointer-events:
        none !important;
}

/* GOLDA_EXPLORE_SC_TAB_EDGE_V1_CSS_END */


/* ==========================================================
 * GOLDA_EXPLORE_SMALL_CARD_HEART_V1_CSS_START
 *
 * /explorar/ móvil:
 * corazón proporcional a las tarjetas de dos columnas.
 * ========================================================== */

@media (max-width: 700px) {

    #goldaSectionsPrimaryV1
    .golda-section-book-card-v1.is-explore-parity-v1
    > .golda-section-favorite-v1 {
        width:
            30px !important;

        min-width:
            30px !important;

        height:
            30px !important;

        min-height:
            30px !important;

        top:
            7px !important;

        right:
            7px !important;

        padding:
            0 !important;
    }


    #goldaSectionsPrimaryV1
    .golda-section-book-card-v1.is-explore-parity-v1
    > .golda-section-favorite-v1
    > i {
        font-size:
            13px !important;
    }
}

/* GOLDA_EXPLORE_SMALL_CARD_HEART_V1_CSS_END */


/* ==========================================================
 * GOLDA_EXPLORE_FLUID_FAVORITE_HEART_V1_CSS_START
 *
 * El favorito de /explorar/ escala con EL ANCHO REAL
 * DE LA TARJETA, no con breakpoints de viewport.
 *
 * Esto conserva proporción cuando la grilla cambia entre
 * 2, 3 o más columnas.
 * ========================================================== */


/*
 * Contenedor independiente para unidades cqw del corazón.
 *
 * El cover interno ya posee su propio container-type, por
 * lo que sus títulos/labels continúan calculándose contra
 * la portada y no cambian.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1 {
    container-type:
        inline-size;
}


/*
 * Favorito fluido.
 *
 * Tarjeta pequeña  -> ~24px
 * Tarjeta mediana  -> proporcional
 * Tarjeta grande   -> máximo 34px
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
> .golda-section-favorite-v1 {
    width:
        clamp(
            24px,
            10cqw,
            34px
        ) !important;

    min-width:
        clamp(
            24px,
            10cqw,
            34px
        ) !important;

    height:
        clamp(
            24px,
            10cqw,
            34px
        ) !important;

    min-height:
        clamp(
            24px,
            10cqw,
            34px
        ) !important;

    top:
        clamp(
            5px,
            2.2cqw,
            8px
        ) !important;

    right:
        clamp(
            5px,
            2.2cqw,
            8px
        ) !important;

    padding:
        0 !important;
}


/*
 * El corazón interno escala con la misma tarjeta.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
> .golda-section-favorite-v1
> i {
    font-size:
        clamp(
            10px,
            4.2cqw,
            14px
        ) !important;
}


/* GOLDA_EXPLORE_FLUID_FAVORITE_HEART_V1_CSS_END */


/* ==========================================================
 * GOLDA_EXPLORE_HEART_CENTER_V1_CSS_START
 *
 * Ajuste fino del botón favorito en /explorar/:
 * - tamaño un poco mayor
 * - círculo perfecto
 * - centrado absoluto del icono
 * - preserva el escalado por ancho de tarjeta
 * ========================================================== */

#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
> .golda-section-favorite-v1 {
    width:
        clamp(
            28px,
            12cqw,
            40px
        ) !important;

    min-width:
        clamp(
            28px,
            12cqw,
            40px
        ) !important;

    height:
        clamp(
            28px,
            12cqw,
            40px
        ) !important;

    min-height:
        clamp(
            28px,
            12cqw,
            40px
        ) !important;

    aspect-ratio:
        1 / 1 !important;

    top:
        clamp(
            6px,
            2.5cqw,
            9px
        ) !important;

    right:
        clamp(
            6px,
            2.5cqw,
            9px
        ) !important;

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    padding:
        0 !important;

    border-radius:
        50% !important;

    line-height:
        1 !important;

    box-sizing:
        border-box !important;

    overflow:
        hidden !important;
}


#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
> .golda-section-favorite-v1
> i {
    display:
        block !important;

    width:
        auto !important;

    height:
        auto !important;

    margin:
        0 !important;

    padding:
        0 !important;

    font-size:
        clamp(
            12px,
            5cqw,
            16px
        ) !important;

    line-height:
        1 !important;

    text-align:
        center !important;
}

/* GOLDA_EXPLORE_HEART_CENTER_V1_CSS_END */


/* ==========================================================
 * GOLDA_PREMIERES_HEART_PARITY_V1_CSS_START
 *
 * /estrenos/:
 * mismo comportamiento responsivo del favorito de /explorar/.
 *
 * El tamaño depende del ancho REAL de cada tarjeta.
 * ========================================================== */


/*
 * Las unidades cqw del corazón se calculan respecto
 * de su propia tarjeta de Estrenos.
 */
#goldaSectionsPrimaryV1
.golda-premiere-marquee-card-v1 {
    container-type:
        inline-size;
}


/*
 * Círculo favorito fluido.
 */
#goldaSectionsPrimaryV1
.golda-premiere-marquee-card-v1
> .golda-premiere-favorite-v1 {
    width:
        clamp(
            28px,
            12cqw,
            40px
        ) !important;

    min-width:
        clamp(
            28px,
            12cqw,
            40px
        ) !important;

    height:
        clamp(
            28px,
            12cqw,
            40px
        ) !important;

    min-height:
        clamp(
            28px,
            12cqw,
            40px
        ) !important;

    aspect-ratio:
        1 / 1 !important;

    top:
        clamp(
            6px,
            2.5cqw,
            9px
        ) !important;

    right:
        clamp(
            6px,
            2.5cqw,
            9px
        ) !important;

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    padding:
        0 !important;

    margin:
        0 !important;

    border-radius:
        50% !important;

    line-height:
        1 !important;

    box-sizing:
        border-box !important;

    overflow:
        hidden !important;
}


/*
 * Icono centrado y proporcional.
 */
#goldaSectionsPrimaryV1
.golda-premiere-marquee-card-v1
> .golda-premiere-favorite-v1
> i {
    display:
        block !important;

    width:
        auto !important;

    height:
        auto !important;

    margin:
        0 !important;

    padding:
        0 !important;

    font-size:
        clamp(
            12px,
            5cqw,
            16px
        ) !important;

    line-height:
        1 !important;

    text-align:
        center !important;
}


/* GOLDA_PREMIERES_HEART_PARITY_V1_CSS_END */


/* ==========================================================
 * GOLDA_PREMIERES_MOBILE_HEART_V1_CSS_START
 *
 * /estrenos/ móvil:
 * aumenta exclusivamente el botón Favorito en tarjetas
 * pequeñas sin alterar tablet/escritorio.
 * ========================================================== */

@media (max-width: 700px) {

    #goldaSectionsPrimaryV1
    .golda-premiere-marquee-card-v1
    > .golda-premiere-favorite-v1 {
        width:
            clamp(
                28px,
                12cqw,
                40px
            ) !important;

        min-width:
            clamp(
                28px,
                12cqw,
                40px
            ) !important;

        height:
            clamp(
                28px,
                12cqw,
                40px
            ) !important;

        min-height:
            clamp(
                28px,
                12cqw,
                40px
            ) !important;

        top:
            clamp(
                7px,
                3cqw,
                10px
            ) !important;

        right:
            clamp(
                7px,
                3cqw,
                10px
            ) !important;

        aspect-ratio:
            1 / 1 !important;

        display:
            inline-flex !important;

        align-items:
            center !important;

        justify-content:
            center !important;

        padding:
            0 !important;

        border-radius:
            50% !important;

        box-sizing:
            border-box !important;
    }


    #goldaSectionsPrimaryV1
    .golda-premiere-marquee-card-v1
    > .golda-premiere-favorite-v1
    > i {
        display:
            block !important;

        margin:
            0 !important;

        padding:
            0 !important;

        font-size:
            clamp(
                12px,
                5cqw,
                16px
            ) !important;

        line-height:
            1 !important;

        text-align:
            center !important;
    }
}

/* GOLDA_PREMIERES_MOBILE_HEART_V1_CSS_END */


/* ==========================================================
 * GOLDA_MOBILE_FAVORITE_LARGE_PARITY_V1_CSS_START
 *
 * Móvil:
 * /explorar/ y /estrenos/ usan el tamaño grande que tenía
 * Estrenos antes de la estandarización invertida.
 *
 * Solo tamaño. Posición/diseño existentes preservados.
 * ========================================================== */

@media (max-width: 700px) {

    #goldaSectionsPrimaryV1
    .golda-section-book-card-v1.is-explore-parity-v1
    > .golda-section-favorite-v1,
#goldaSectionsPrimaryV1
    .golda-premiere-marquee-card-v1
    > .golda-premiere-favorite-v1 {
        width:
            clamp(
                36px,
                16cqw,
                44px
            ) !important;

        min-width:
            clamp(
                36px,
                16cqw,
                44px
            ) !important;

        height:
            clamp(
                36px,
                16cqw,
                44px
            ) !important;

        min-height:
            clamp(
                36px,
                16cqw,
                44px
            ) !important;
    }


    #goldaSectionsPrimaryV1
    .golda-section-book-card-v1.is-explore-parity-v1
    > .golda-section-favorite-v1
    > i,
#goldaSectionsPrimaryV1
    .golda-premiere-marquee-card-v1
    > .golda-premiere-favorite-v1
    > i {
        font-size:
            clamp(
                16px,
                6.5cqw,
                19px
            ) !important;
    }
}

/* GOLDA_MOBILE_FAVORITE_LARGE_PARITY_V1_CSS_END */


/* ==========================================================
 * GOLDA_EXPLORE_META_POLISH_V1_CSS_START
 *
 * /explorar/ únicamente:
 * - Estado sin negrita y a la derecha.
 * - SC rojo/blanco, sin borde y sin negrita.
 * - Separación favicon Lezhin / texto.
 * ========================================================== */


/*
 * ESTADO DE LA OBRA
 *
 * Solo metadata de estado. No afecta metadata de progreso.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-work-meta-v1 {
    width:
        100% !important;

    display:
        flex !important;

    align-items:
        center !important;
}


#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-work-meta-v1
.golda-library-shelf-work-status-v1 {
    margin-left:
        auto !important;

    margin-right:
        0 !important;

    font-weight:
        400 !important;

    text-align:
        right !important;

    justify-content:
        flex-end !important;
}


/*
 * SC
 *
 * Conserva posición y forma de pestaña.
 * Solo cambia superficie visual y peso tipográfico.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-rating-sc-v1 {
    border:
        0 !important;

    background:
        #ED1D24 !important;

    color:
        #FFFFFF !important;

    font-weight:
        400 !important;
}


/*
 * LEZHIN
 *
 * Un espacio visual entre favicon y texto.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-shelf-lezhin-source-v1 {
    gap:
        .5em !important;
}


/* GOLDA_EXPLORE_META_POLISH_V1_CSS_END */


/* ==========================================================
 * GOLDA_EXPLORE_META_SPACING_V1_CSS_START
 *
 * /explorar/:
 * - leve aire entre título y estado editorial.
 * - separación directa entre texto LEZHIN y favicon.
 * ========================================================== */


/*
 * ESTADO
 *
 * Conserva derecha + peso normal.
 * Solo agrega aire por arriba.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-work-meta-v1
.golda-library-shelf-work-status-v1 {
    margin-top:
        clamp(
            3px,
            1.2cqw,
            5px
        ) !important;
}


/*
 * LEZHIN
 *
 * No dependemos del gap entre flex items/anónimo de texto.
 * La separación se aplica directamente al favicon.
 */
#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-shelf-lezhin-source-v1 {
    gap:
        0 !important;
}


#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-library-shelf-lezhin-source-icon-v1 {
    margin-left:
        .45em !important;

    margin-right:
        0 !important;
}


/* GOLDA_EXPLORE_META_SPACING_V1_CSS_END */

/* ==========================================================
 * GOLDA_PREMIERES_CARD_PROPORTIONAL_V1_CSS_START
 *
 * /estrenos/ únicamente.
 *
 * La propia tarjeta ya es container-type:inline-size.
 * Todos los detalles internos relevantes pasan a escalar
 * por el ancho REAL de esa tarjeta mediante cqw.
 *
 * Referencia geométrica de Nuevos manhwas:
 *   360px -> título ~25px / padding ~58 18 18
 *   300px -> título ~22px / padding ~48 14 14
 *
 * No modifica:
 * - grid;
 * - ancho/alto de tarjeta;
 * - imagen;
 * - Favoritos;
 * - renderer;
 * - Biblioteca.
 * ========================================================== */


/*
 * TARJETA
 *
 * Radio exterior restaurado:
 * queda nuevamente gobernado por las reglas canónicas de
 * .golda-new-manhwa-marquee-slide.
 *
 * Los cqw permanecen únicamente en componentes internos.
 */


/*
 * FALLBACK DE PORTADA.
 *
 * 54px / 360px = 15%.
 */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-media
.golda-library-derived-fallback {
    font-size:
        15cqw !important;
}


/*
 * OVERLAY
 *
 * La interpolación proporcional reproduce aproximadamente:
 *
 * 360px -> 57.6px 17.3px 17.3px
 * 300px -> 48.0px 14.4px 14.4px
 */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-overlay {
    min-height:
        39% !important;

    gap:
        1.67cqw !important;

    padding:
        16cqw
        4.8cqw
        4.8cqw !important;
}


/*
 * VERSIÓN LEZHIN
 *
 * Todo depende del ancho de la propia tarjeta.
 */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-lezhin-v1 {
    gap:
        1.4cqw !important;

    margin:
        0 0 1.35cqw !important;

    font-size:
        2.45cqw !important;

    line-height:
        1 !important;
}


/*
 * Evita que el texto interno imponga una medida fija.
 */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-lezhin-v1
> span {
    font-size:
        inherit !important;

    line-height:
        inherit !important;
}


/*
 * Favicon LEZHIN proporcional.
 *
 * ~11px a 360px.
 * ~9px a 300px.
 */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-lezhin-icon-v1 {
    width:
        3.05cqw !important;

    height:
        3.05cqw !important;

    border-radius:
        .55cqw !important;

    flex:
        0 0 auto !important;
}


/*
 * TÍTULO
 *
 * 7.2cqw produce:
 *   360px -> 25.92px
 *   300px -> 21.60px
 *   200px -> 14.40px
 *   160px -> 11.52px
 *
 * Sin breakpoint de viewport.
 */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-title {
    font-size:
        7.2cqw !important;

    line-height:
        1.12 !important;

    text-shadow:
        0
        .55cqw
        1.95cqw
        rgba(0,0,0,.65) !important;
}


/*
 * METADATA inferior.
 */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-meta-v1 {
    gap:
        1.7cqw !important;

    font-size:
        2.8cqw !important;

    line-height:
        1 !important;
}


/*
 * Número de capítulos.
 */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-chapters-v1 {
    font-size:
        inherit !important;

    line-height:
        inherit !important;
}


/*
 * SIN CENSURA.
 *
 * Tamaño, altura, padding y borde escalan con la tarjeta.
 */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-uncensored-v1 {
    min-height:
        5.3cqw !important;

    padding:
        0
        1.7cqw !important;

    border-width:
        .28cqw !important;

    border-radius:
        999px !important;

    font-size:
        2.45cqw !important;

    line-height:
        1 !important;

    letter-spacing:
        .055em !important;
}


/*
 * IMPORTANTE:
 *
 * El corazón NO se redefine aquí.
 * Sus reglas históricas de Favoritos permanecen intactas.
 */


/* GOLDA_PREMIERES_CARD_PROPORTIONAL_V1_CSS_END */

/* ==========================================================
 * GOLDA_PREMIERES_TEXT_SCALE_V1B_CSS_START
 *
 * /estrenos/ únicamente.
 *
 * Incremento moderado de tipografía manteniendo cqw:
 * el ancho REAL de cada tarjeta sigue gobernando su escala.
 *
 * No modifica geometría, bordes, grid, overlay ni favorito.
 * ========================================================== */


/* TÍTULO */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-title {
    font-size:
        7.6cqw !important;
}


/* VERSIÓN LEZHIN */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-lezhin-v1 {
    font-size:
        2.6cqw !important;
}


/* CAPÍTULOS / METADATA */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-meta-v1 {
    font-size:
        3cqw !important;
}


/* SIN CENSURA */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-uncensored-v1 {
    font-size:
        2.6cqw !important;
}


/* GOLDA_PREMIERES_TEXT_SCALE_V1B_CSS_END */

/* ==========================================================
 * GOLDA_PREMIERES_TEXT_SCALE_V2B_CSS_START
 *
 * /estrenos/ únicamente.
 *
 * Aumento claramente visible manteniendo container units.
 * La escala continúa dependiendo exclusivamente del ancho
 * real de cada tarjeta.
 *
 * SOLO font-size.
 * ========================================================== */


/* TÍTULO */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-title {
    font-size: 9cqw !important;
}


/* VERSIÓN LEZHIN */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-lezhin-v1 {
    font-size: 3.3cqw !important;
}


/* CAPÍTULOS / METADATA */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-meta-v1 {
    font-size: 3.8cqw !important;
}


/* SIN CENSURA */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-uncensored-v1 {
    font-size: 3.3cqw !important;
}


/* GOLDA_PREMIERES_TEXT_SCALE_V2B_CSS_END */

/* GOLDA_PREMIERES_META_SCALE_V1_START
 *
 * /estrenos/ únicamente.
 * Ligero aumento de la línea de metadata.
 * Mantiene container query units según ancho de tarjeta.
 */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-meta-v1 {
    font-size: 4cqw !important;
}
/* GOLDA_PREMIERES_META_SCALE_V1_END */

/* GOLDA_PREMIERES_META_CHILDREN_V2_START
 *
 * /estrenos/ únicamente.
 *
 * Aumento directo de los dos textos visibles de la
 * línea inferior de la tarjeta.
 *
 * Mantiene cqw: ambos continúan escalando según
 * el ancho real de cada tarjeta.
 */

/* {n} capítulos */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-chapters-v1 {
    font-size: 4.5cqw !important;
}

/* SIN CENSURA */
#goldaSectionsPrimaryV1.is-premieres-v2
.golda-premiere-marquee-card-v1
.golda-new-manhwa-marquee-uncensored-v1 {
    font-size: 3.8cqw !important;
}

/* GOLDA_PREMIERES_META_CHILDREN_V2_END */

/* GOLDA_FAVORITES_EMPTY_POLISH_V1_START
 *
 * Separación visual adicional del CTA en el estado
 * vacío de /favoritos/.
 */
.golda-section-empty-v1
.golda-favorites-empty-explore-v1 {
    margin-top: 6px;
}
/* GOLDA_FAVORITES_EMPTY_POLISH_V1_END */

/* ==========================================================
 * GOLDA_LIBRARY_SHELF_CONTINUE_PLAY_V2_CSS_START
 *
 * ESTANTERÍA > Continuar viendo.
 *
 * Exclusivamente tarjetas:
 * data-continue-parity="1"
 *
 * El icono se mide respecto al ancho real de la miniatura,
 * no respecto al viewport.
 * ========================================================== */

#libraryView.golda-library-view-shelf
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-derived-cover {
    position: relative;
    container-type: inline-size;
}

#libraryView.golda-library-view-shelf
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-shelf-continue-play-v2 {
    position: absolute !important;

    top: 50% !important;
    left: 50% !important;

    z-index: 8;

    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    color: rgba(255,255,255,.98) !important;

    /*
     * Aproximadamente 5.5% del ancho de la portada.
     * Al usar CQI conserva exactamente la misma proporción
     * aunque cambie el tamaño de la tarjeta.
     */
    font-size: 11cqi;

    line-height: 1 !important;

    transform:
        translate(-46%, -50%) !important;

    pointer-events: none !important;
}

#libraryView.golda-library-view-shelf
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-shelf-continue-play-v2 > i {
    display: block;

    margin: 0;
    padding: 0;

    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    text-shadow:
        0 1px 2px rgba(0,0,0,.30);

    filter: none !important;
}

/* GOLDA_LIBRARY_SHELF_CONTINUE_PLAY_V2_CSS_END */

/* ==========================================================
 * GOLDA_LIBRARY_SHELF_HEADINGS_V1_START
 *
 * Encabezados de secciones de Biblioteca > Estanterías.
 *
 * No afecta los H3 internos de las tarjetas.
 * ========================================================== */

#libraryView.golda-library-view-shelf
.golda-library-shelf-heading h3 {
    font-size: 16px !important;
}

#libraryView.golda-library-view-shelf
.golda-library-premiere-heading-v1 h3 {
    font-size: 21px !important;
}

@media (max-width: 680px) {

    #libraryView.golda-library-view-shelf
    .golda-library-premiere-heading-v1 h3 {
        font-size: 18px !important;
    }
}

/* GOLDA_LIBRARY_SHELF_HEADINGS_V1_END */

/* ==========================================================
 * GOLDA_LIBRARY_SHELF_CONTINUE_REFERENCE_CARD_V1_CSS_START
 *
 * ÚNICO ALCANCE:
 *
 * Biblioteca
 * > Estanterías
 * > sección data-shelf="reading"
 * > tarjeta data-continue-parity="1"
 *
 * Referencia:
 * 324x120 CSS px
 * miniatura lateral 74x93
 * ========================================================== */


/* ----------------------------------------------------------
 * RAIL
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
> .golda-library-shelf-rail {
    grid-auto-columns:
        324px !important;

    gap:
        12px !important;

    padding:
        2px 2px 8px !important;
}


/* ----------------------------------------------------------
 * TARJETA
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"] {
    box-sizing:
        border-box !important;

    display:
        block !important;

    width:
        324px !important;

    min-width:
        324px !important;

    height:
        120px !important;

    min-height:
        120px !important;

    padding:
        11px !important;

    overflow:
        hidden !important;

    border:
        1px solid #2b3037 !important;

    border-radius:
        13px !important;

    outline:
        0 !important;

    background:
        #101419 !important;

    color:
        #ffffff !important;

    text-align:
        left !important;

    cursor:
        pointer;

    content-visibility:
        visible !important;

    contain:
        none !important;

    contain-intrinsic-size:
        none !important;

    transform:
        none !important;

    transition:
        border-color .16s ease,
        background .16s ease !important;
}


#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]:hover,
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]:focus-visible {
    transform:
        none !important;

    border-color:
        #3a4049 !important;

    background:
        #12171d !important;
}


/* ----------------------------------------------------------
 * CONTENEDOR INTERNO
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
> .golda-library-derived-cover {
    position:
        relative !important;

    display:
        grid !important;

    grid-template-columns:
        74px minmax(0, 1fr) !important;

    grid-template-rows:
        93px !important;

    align-items:
        center !important;

    column-gap:
        14px !important;

    width:
        302px !important;

    height:
        98px !important;

    min-width:
        0 !important;

    aspect-ratio:
        auto !important;

    overflow:
        visible !important;

    border:
        0 !important;

    border-radius:
        0 !important;

    background:
        transparent !important;

    container-type:
        normal !important;
}


/* ----------------------------------------------------------
 * MINIATURA
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
> .golda-library-derived-cover
> img {
    position:
        relative !important;

    z-index:
        1 !important;

    grid-column:
        1 !important;

    grid-row:
        1 !important;

    align-self:
        center !important;

    display:
        block !important;

    width:
        74px !important;

    min-width:
        74px !important;

    max-width:
        74px !important;

    height:
        93px !important;

    min-height:
        93px !important;

    max-height:
        93px !important;

    aspect-ratio:
        4 / 5 !important;

    object-fit:
        cover !important;

    overflow:
        hidden !important;

    border-radius:
        10px !important;

    background:
        #171c22 !important;
}


/* fallback visual si excepcionalmente no existe IMG */
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
> .golda-library-derived-cover
> .golda-library-derived-fallback {
    position:
        relative !important;

    z-index:
        1 !important;

    grid-column:
        1 !important;

    grid-row:
        1 !important;

    width:
        74px !important;

    height:
        93px !important;

    min-width:
        74px !important;

    aspect-ratio:
        4 / 5 !important;

    overflow:
        hidden !important;

    border-radius:
        10px !important;

    background:
        #171c22 !important;
}


/* ----------------------------------------------------------
 * PLAY — CÍRCULO OSCURO DE LA REFERENCIA
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-shelf-continue-play-v2 {
    position:
        absolute !important;

    z-index:
        8 !important;

    top:
        46.5px !important;

    left:
        37px !important;

    display:
        grid !important;

    place-items:
        center !important;

    width:
        32px !important;

    height:
        32px !important;

    margin:
        0 !important;

    padding:
        0 !important;

    transform:
        translate(-50%, -50%) !important;

    border:
        1px solid rgba(255,255,255,.12) !important;

    border-radius:
        50% !important;

    background:
        rgba(9,11,15,.82) !important;

    color:
        #ffffff !important;

    font-size:
        10px !important;

    line-height:
        1 !important;

    box-shadow:
        0 3px 10px rgba(0,0,0,.32) !important;

    text-shadow:
        none !important;

    pointer-events:
        none !important;
}


#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-shelf-continue-play-v2 > i {
    display:
        block !important;

    margin:
        0 !important;

    padding:
        0 !important;

    color:
        #ffffff !important;

    font-size:
        10px !important;

    line-height:
        1 !important;

    transform:
        translateX(1px);

    background:
        transparent !important;

    border:
        0 !important;

    box-shadow:
        none !important;

    text-shadow:
        none !important;
}


/* ----------------------------------------------------------
 * PANEL DE TEXTO
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-cover-overlay {
    position:
        relative !important;

    inset:
        auto !important;

    z-index:
        2 !important;

    grid-column:
        2 !important;

    grid-row:
        1 !important;

    align-self:
        stretch !important;

    display:
        block !important;

    width:
        214px !important;

    min-width:
        0 !important;

    min-height:
        93px !important;

    height:
        93px !important;

    margin:
        0 !important;

    padding:
        17px 0 0 !important;

    overflow:
        visible !important;

    background:
        transparent !important;
}


/* ----------------------------------------------------------
 * TÍTULO
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-cover-overlay h3 {
    display:
        block !important;

    width:
        100% !important;

    min-width:
        0 !important;

    margin:
        0 !important;

    padding:
        0 !important;

    overflow:
        hidden !important;

    color:
        #f7f8fa !important;

    font-size:
        14.5px !important;

    font-weight:
        800 !important;

    line-height:
        1.22 !important;

    letter-spacing:
        -.01em !important;

    white-space:
        nowrap !important;

    text-overflow:
        ellipsis !important;

    -webkit-line-clamp:
        unset !important;

    line-clamp:
        unset !important;

    -webkit-box-orient:
        initial !important;
}


/* ----------------------------------------------------------
 * META
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-continue-progress-meta-v1 {
    display:
        block !important;

    position:
        static !important;

    width:
        100% !important;

    min-width:
        0 !important;

    margin:
        7px 0 0 !important;

    padding:
        0 !important;
}


/*
 * El porcentaje deja de ocupar la línea de metadata
 * y pasa al extremo derecho de la barra.
 */
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-continue-percent-v1 {
    position:
        absolute !important;

    right:
        0 !important;

    bottom:
        9px !important;

    display:
        block !important;

    margin:
        0 !important;

    padding:
        0 !important;

    color:
        #ffffff !important;

    font-size:
        11px !important;

    font-weight:
        800 !important;

    line-height:
        1 !important;

    font-variant-numeric:
        tabular-nums;

    white-space:
        nowrap;
}


/*
 * "Capítulo 2 de 129"
 */
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-continue-chapter-meta-v2 {
    position:
        static !important;

    display:
        block !important;

    margin:
        0 !important;

    padding:
        0 !important;

    color:
        #9daabd !important;

    font-size:
        12px !important;

    font-weight:
        500 !important;

    line-height:
        1.25 !important;

    white-space:
        nowrap !important;

    overflow:
        hidden !important;

    text-overflow:
        ellipsis !important;
}


/* ----------------------------------------------------------
 * OCULTAR METADATA AJENA A LA REFERENCIA
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-shelf-work-meta-v1,
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-shelf-work-status-v1,
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-shelf-rating-sc-v1,
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-shelf-lezhin-source-v1,
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-derived-badge {
    display:
        none !important;
}


/* ----------------------------------------------------------
 * BARRA DE PROGRESO
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-cover-progress {
    position:
        absolute !important;

    z-index:
        5 !important;

    left:
        88px !important;

    right:
        27px !important;

    bottom:
        11px !important;

    width:
        auto !important;

    height:
        5px !important;

    margin:
        0 !important;

    overflow:
        hidden !important;

    border-radius:
        999px !important;

    background:
        #2b2f34 !important;
}


#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-cover-progress > span {
    display:
        block !important;

    height:
        100% !important;

    border-radius:
        inherit !important;

    background:
        #ffffff !important;
}


/* ----------------------------------------------------------
 * MÓVIL
 * ---------------------------------------------------------- */

@media (max-width: 680px) {

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    > .golda-library-shelf-rail {
        grid-auto-columns:
            min(84vw, 296px) !important;

        gap:
            10px !important;

        scrollbar-width:
            none;

        -ms-overflow-style:
            none;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    > .golda-library-shelf-rail::-webkit-scrollbar {
        display:
            none;

        width:
            0;

        height:
            0;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"] {
        width:
            min(84vw, 296px) !important;

        min-width:
            min(84vw, 296px) !important;

        height:
            112px !important;

        min-height:
            112px !important;

        padding:
            10px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    > .golda-library-derived-cover {
        grid-template-columns:
            66px minmax(0, 1fr) !important;

        grid-template-rows:
            82px !important;

        column-gap:
            11px !important;

        width:
            100% !important;

        height:
            92px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    > .golda-library-derived-cover
    > img,
#libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    > .golda-library-derived-cover
    > .golda-library-derived-fallback {
        width:
            66px !important;

        min-width:
            66px !important;

        max-width:
            66px !important;

        height:
            82px !important;

        min-height:
            82px !important;

        max-height:
            82px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-cover-overlay {
        width:
            100% !important;

        height:
            82px !important;

        min-height:
            82px !important;

        padding-top:
            13px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-cover-overlay h3 {
        font-size:
            14px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-continue-chapter-meta-v2 {
        font-size:
            11px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-shelf-continue-play-v2 {
        top:
            41px !important;

        left:
            33px !important;

        width:
            30px !important;

        height:
            30px !important;

        font-size:
            9px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-cover-progress {
        left:
            77px !important;

        right:
            25px !important;

        bottom:
            10px !important;

        height:
            4px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-continue-percent-v1 {
        right:
            0 !important;

        bottom:
            8px !important;

        font-size:
            10.5px !important;
    }
}


/* ----------------------------------------------------------
 * MÓVIL ESTRECHO
 * ---------------------------------------------------------- */

@media (max-width: 390px) {

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    > .golda-library-shelf-rail {
        grid-auto-columns:
            min(88vw, 278px) !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"] {
        width:
            min(88vw, 278px) !important;

        min-width:
            min(88vw, 278px) !important;

        height:
            108px !important;

        min-height:
            108px !important;

        padding:
            9px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    > .golda-library-derived-cover {
        grid-template-columns:
            62px minmax(0, 1fr) !important;

        grid-template-rows:
            78px !important;

        column-gap:
            10px !important;

        height:
            90px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    > .golda-library-derived-cover
    > img,
#libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    > .golda-library-derived-cover
    > .golda-library-derived-fallback {
        width:
            62px !important;

        min-width:
            62px !important;

        max-width:
            62px !important;

        height:
            78px !important;

        min-height:
            78px !important;

        max-height:
            78px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-cover-overlay {
        height:
            78px !important;

        min-height:
            78px !important;

        padding-top:
            11px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-cover-overlay h3 {
        font-size:
            13px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-continue-chapter-meta-v2 {
        font-size:
            10px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-shelf-continue-play-v2 {
        top:
            39px !important;

        left:
            31px !important;

        width:
            28px !important;

        height:
            28px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-cover-progress {
        left:
            72px !important;

        right:
            24px !important;

        bottom:
            10px !important;
    }
}


/* GOLDA_LIBRARY_SHELF_CONTINUE_REFERENCE_CARD_V1_CSS_END */

/* ==========================================================
 * GOLDA_LIBRARY_SHELF_CONTINUE_REFERENCE_CARD_V1B_START
 *
 * Corrección geométrica contra referencia proporcionada.
 *
 * Scope absoluto:
 * Biblioteca > Estanterías > Continuar viendo.
 *
 * No modifica tarjeta, thumbnail, PLAY ni lógica.
 * ========================================================== */


/* ----------------------------------------------------------
 * SUBTÍTULO
 *
 * Referencia:
 *
 * Semantic Error
 * Capítulo 47 de 102
 *
 * Ambos arrancan en el mismo eje izquierdo.
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-continue-progress-meta-v1 {
    margin-top:
        5px !important;

    text-align:
        left !important;
}


#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-continue-chapter-meta-v2 {
    display:
        block !important;

    width:
        100% !important;

    margin:
        0 !important;

    margin-left:
        0 !important;

    padding:
        0 !important;

    text-align:
        left !important;

    justify-self:
        start !important;

    align-self:
        start !important;
}


/* ----------------------------------------------------------
 * BARRA
 *
 * En la referencia no está pegada al borde inferior.
 * Queda debajo del subtítulo, aproximadamente a 2/3
 * de la altura interna de la tarjeta.
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-cover-progress {
    top:
        66px !important;

    bottom:
        auto !important;

    left:
        90px !important;

    right:
        37px !important;

    height:
        5px !important;
}


/* ----------------------------------------------------------
 * PORCENTAJE
 *
 * Queda en el mismo eje vertical que la barra.
 * Conserva el borde derecho actual, que ya coincide
 * con la referencia.
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-continue-percent-v1 {
    top:
        64px !important;

    right:
        0 !important;

    bottom:
        auto !important;

    margin:
        0 !important;

    line-height:
        1 !important;
}


/* ----------------------------------------------------------
 * MÓVIL
 * ---------------------------------------------------------- */

@media (max-width: 680px) {

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-continue-progress-meta-v1 {
        margin-top:
            4px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-cover-progress {
        top:
            58px !important;

        bottom:
            auto !important;

        left:
            79px !important;

        right:
            34px !important;

        height:
            4px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-continue-percent-v1 {
        top:
            56px !important;

        bottom:
            auto !important;

        right:
            0 !important;
    }
}


/* ----------------------------------------------------------
 * MÓVIL ESTRECHO
 * ---------------------------------------------------------- */

@media (max-width: 390px) {

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-cover-progress {
        top:
            55px !important;

        bottom:
            auto !important;

        left:
            74px !important;

        right:
            32px !important;
    }


    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-continue-percent-v1 {
        top:
            53px !important;

        bottom:
            auto !important;
    }
}


/* GOLDA_LIBRARY_SHELF_CONTINUE_REFERENCE_CARD_V1B_END */

/* ==========================================================
 * GOLDA_LIBRARY_SHELF_ONLY_V1_CSS_START
 *
 * Biblioteca queda oficialmente con una sola vista:
 * ESTANTERÍAS.
 *
 * La interfaz vigente utiliza únicamente Estantería
 * histórico inactivo para evitar eliminar dependencias.
 *
 * NO afecta:
 * - menú flotante inferior;
 * - filtros;
 * - búsqueda;
 * - tarjetas de Estanterías;
 * - Continuar viendo;
 * - otras rutas.
 * ========================================================== */



/* GOLDA_LIBRARY_SHELF_ONLY_V1_CSS_END */

/* ==========================================================
 * GOLDA_GLOBAL_TAP_HIGHLIGHT_NONE_V1_START
 *
 * Desactiva globalmente el resaltado táctil impuesto
 * por WebKit/Blink sin modificar focus, outline,
 * selección de texto ni comportamiento táctil.
 * ========================================================== */

html,
body,
* {
    -webkit-tap-highlight-color:
        transparent !important;
}

/* GOLDA_GLOBAL_TAP_HIGHLIGHT_NONE_V1_END */

/* ==========================================================
 * GOLDA_EXPLORE_DESKTOP_MAX6_V1_START
 *
 * /explorar/ — PC únicamente.
 *
 * Contenedor máximo actual: 1180px
 * gap horizontal actual: 14px
 * mínimo de tarjeta: 178px
 *
 * 6 columnas:
 * 6 × 178 + 5 × 14 = 1138px
 *
 * 7 columnas:
 * 7 × 178 + 6 × 14 = 1330px
 *
 * Resultado: hasta 6 columnas, nunca 7.
 *
 * Scope exacto mediante la clase exclusiva de las
 * tarjetas renderer de Explorar.
 * ========================================================== */

@media (min-width: 1181px) {

    #goldaSectionsPrimaryV1.golda-sections-grid-v1:has(
        > .golda-section-book-card-v1.is-explore-parity-v1
    ) {
        grid-template-columns:
            repeat(
                auto-fill,
                minmax(178px, 1fr)
            );
    }

}

/* GOLDA_EXPLORE_DESKTOP_MAX6_V1_END */


/* ==========================================================
 * GOLDA_CONTINUE_NEW_CHAPTERS_V1_CSS_START
 *
 * Texto simple de capítulo/s nuevo/s.
 *
 * Requisitos:
 * - pequeño;
 * - verde;
 * - font-weight normal;
 * - sin fondo;
 * - sin borde.
 *
 * No modifica barra, porcentaje, thumbnail, PLAY,
 * dimensiones base ni navegación.
 * ========================================================== */


/* ----------------------------------------------------------
 * el rail compacto compartido + rail clásico Continuar viendo
 * ---------------------------------------------------------- */

.continue-reading-copy
> .continue-reading-new-chapters-v1 {
    display:
        block;

    width:
        100%;

    min-width:
        0;

    margin:
        -2px 0 0;

    padding:
        0;

    border:
        0;

    border-radius:
        0;

    background:
        transparent;

    box-shadow:
        none;

    color:
        #22c55e;

    font-size:
        10px;

    font-weight:
        400;

    line-height:
        1.15;

    text-align:
        left;

    text-transform:
        uppercase;

    white-space:
        nowrap;

    overflow:
        hidden;

    text-overflow:
        ellipsis;
}


/* ----------------------------------------------------------
 * Biblioteca > Estanterías > Continuar viendo
 *
 * La barra actual:
 * top 66px / height 5px.
 *
 * Texto:
 * top 75px => 4px debajo de la barra.
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
> .golda-library-derived-cover {
    position:
        relative !important;
}


#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="reading"]
.golda-library-cover-card[data-continue-parity="1"]
.golda-library-continue-new-chapters-v1 {
    position:
        absolute !important;

    top:
        78px !important;

    left:
        90px !important;

    right:
        37px !important;

    z-index:
        6;

    display:
        block !important;

    min-width:
        0;

    margin:
        0 !important;

    padding:
        0 !important;

    border:
        0 !important;

    border-radius:
        0 !important;

    background:
        transparent !important;

    box-shadow:
        none !important;

    color:
        #22c55e !important;

    font-size:
        10px !important;

    font-weight:
        400 !important;

    line-height:
        1.15 !important;

    text-align:
        left !important;

    text-transform:
        uppercase;

    white-space:
        nowrap;

    overflow:
        hidden;

    text-overflow:
        ellipsis;

    pointer-events:
        none;
}


/* ----------------------------------------------------------
 * Móvil <=680
 *
 * Barra actual:
 * top 58px / height 4px.
 * ---------------------------------------------------------- */

@media (max-width: 680px) {

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-continue-new-chapters-v1 {
        top:
            68px !important;

        left:
            79px !important;

        right:
            34px !important;

        font-size:
            9px !important;
    }


    .continue-reading-copy
    > .continue-reading-new-chapters-v1 {
        font-size:
            9px;
    }
}


/* ----------------------------------------------------------
 * Móvil estrecho <=390
 *
 * Barra actual:
 * top 55px / height 4px.
 * ---------------------------------------------------------- */

@media (max-width: 390px) {

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section[data-shelf="reading"]
    .golda-library-cover-card[data-continue-parity="1"]
    .golda-library-continue-new-chapters-v1 {
        top:
            65px !important;

        left:
            74px !important;

        right:
            32px !important;

        font-size:
            8.5px !important;
    }
}


/* GOLDA_CONTINUE_NEW_CHAPTERS_V1_CSS_END */

/* ==========================================================
 * GOLDA_EXPLORE_HIDE_WORK_STATUS_V1B_START
 *
 * Exclusivo de /explorar/.
 *
 * Oculta únicamente:
 * EMISIÓN / FINALIZADO / EN PAUSA / CANCELADO.
 *
 * No modifica SC, progreso, Lezhin, favoritos ni otras vistas.
 * ========================================================== */

#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
.golda-explore-work-meta-v1
> .golda-library-shelf-work-status-v1 {
    display:
        none !important;
}

/* GOLDA_EXPLORE_HIDE_WORK_STATUS_V1B_END */

/* ==========================================================
 * GOLDA_LIBRARY_MARQUEE_LABEL_STYLE_V1_CSS_START
 *
 * Exclusivo de Biblioteca > marquesina.
 *
 * Estado lógico:
 * NUEVO / ESTRENO
 *
 * Estado visual:
 * NUEVO   -> RECIEN AGREGADO / celeste / plus
 * ESTRENO -> ESTRENO / verde / star
 * ========================================================== */

#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-kicker {
    gap:
        5px !important;

    min-height:
        25px !important;

    padding:
        0 10px !important;

    border:
        1px solid
        rgba(255,255,255,.16) !important;

    font-size:
        9.5px !important;

    letter-spacing:
        .045em !important;

    box-shadow:
        0 4px 12px
        rgba(0,0,0,.20);
}

#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-kicker
> i {
    display:
        block;

    flex:
        0 0 auto;

    font-size:
        10px;

    line-height:
        1;
}

#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-kicker
> span {
    display:
        block;

    line-height:
        1;

    white-space:
        nowrap;
}

#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-kicker.is-recent-added-v1 {
    background:
        #0ea5e9 !important;

    border-color:
        rgba(125,211,252,.55) !important;

    color:
        #fff !important;
}

#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-kicker.is-premiere-v1 {
    background:
        #16a34a !important;

    border-color:
        rgba(134,239,172,.55) !important;

    color:
        #fff !important;
}

@media (max-width: 700px) {

    #goldaNewManhwaMarquee
    .golda-new-manhwa-marquee-kicker {
        gap:
            4px !important;

        min-height:
            23px !important;

        padding:
            0 8px !important;

        font-size:
            8.5px !important;
    }

    #goldaNewManhwaMarquee
    .golda-new-manhwa-marquee-kicker
    > i {
        font-size:
            9px;
    }
}

/* GOLDA_LIBRARY_MARQUEE_LABEL_STYLE_V1_CSS_END */

/* ==========================================================
 * GOLDA_LIBRARY_MARQUEE_FAVORITE_HEART_V1_CSS_START
 *
 * Biblioteca > marquesina.
 *
 * Reutiliza .golda-section-favorite-v1 de /explorar/.
 * Este bloque únicamente adapta geometría/posición al slide.
 *
 * - etiqueta NUEVO/ESTRENO: arriba izquierda;
 * - favorito: arriba derecha.
 * ========================================================== */

#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-slide {
    position:
        relative;
}

#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-slide
> .golda-marquee-favorite-v1 {
    position:
        absolute !important;

    top:
        8px !important;

    right:
        8px !important;

    z-index:
        12 !important;

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    width:
        38px !important;

    min-width:
        38px !important;

    height:
        38px !important;

    min-height:
        38px !important;

    margin:
        0 !important;

    padding:
        0 !important;

    border-radius:
        50% !important;

    line-height:
        1 !important;

    box-sizing:
        border-box !important;

    overflow:
        hidden !important;
}

#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-slide
> .golda-marquee-favorite-v1
> i {
    display:
        block !important;

    margin:
        0 !important;

    padding:
        0 !important;

    font-size:
        15px !important;

    line-height:
        1 !important;
}

@media (max-width: 700px) {

    #goldaNewManhwaMarquee
    .golda-new-manhwa-marquee-slide
    > .golda-marquee-favorite-v1 {
        width:
            40px !important;

        min-width:
            40px !important;

        height:
            40px !important;

        min-height:
            40px !important;

        top:
            8px !important;

        right:
            8px !important;
    }

    #goldaNewManhwaMarquee
    .golda-new-manhwa-marquee-slide
    > .golda-marquee-favorite-v1
    > i {
        font-size:
            17px !important;
    }
}

/* GOLDA_LIBRARY_MARQUEE_FAVORITE_HEART_V1_CSS_END */

/* ==========================================================
 * GOLDA_LIBRARY_PREMIERE_SC_TAB_FAVORITE_V1C_CSS_START
 *
 * Biblioteca > Estantería > Estrenos exclusivamente.
 *
 * SC = pestaña roja pegada arriba-izquierda.
 * Favorito = círculo arriba-derecha.
 * ========================================================== */


/* SC — pestaña como referencia visual aportada */

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-uncensored-v1c {
    position:
        absolute !important;

    top:
        0 !important;

    left:
        0 !important;

    right:
        auto !important;

    z-index:
        12 !important;

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    box-sizing:
        border-box !important;

    width:
        auto !important;

    min-width:
        52px !important;

    min-width:
        21cqw !important;

    height:
        42px !important;

    height:
        17cqw !important;

    min-height:
        0 !important;

    padding:
        0 12px !important;

    padding:
        0 4.8cqw !important;

    border:
        0 !important;

    border-width:
        0 !important;

    border-radius:
        0 0 5.3cqw 0 !important;

    background:
        #df3035 !important;

    color:
        #ffffff !important;

    font-size:
        14px !important;

    font-size:
        5.8cqw !important;

    font-weight:
        800 !important;

    line-height:
        1 !important;

    letter-spacing:
        .01em !important;

    white-space:
        nowrap !important;

    box-shadow:
        4px 5px 16px
        rgba(0,0,0,.24) !important;

    text-shadow:
        0 1px 2px
        rgba(0,0,0,.20) !important;

    pointer-events:
        none !important;
}


/* Favorito — mismo corazón global */

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1 {
    position:
        absolute !important;

    top:
        4.2cqw !important;

    right:
        4.2cqw !important;

    left:
        auto !important;

    z-index:
        14 !important;

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    box-sizing:
        border-box !important;

    width:
        16.5cqw !important;

    min-width:
        0 !important;

    height:
        16.5cqw !important;

    min-height:
        0 !important;

    margin:
        0 !important;

    padding:
        0 !important;

    border-radius:
        50% !important;

    background:
        rgba(8,8,12,.72) !important;

    box-shadow:
        0 5px 18px
        rgba(0,0,0,.35) !important;

    backdrop-filter:
        blur(7px);

    -webkit-backdrop-filter:
        blur(7px);

    line-height:
        1 !important;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1
> i {
    display:
        block !important;

    margin:
        0 !important;

    padding:
        0 !important;

    font-size:
        7cqw !important;

    line-height:
        1 !important;
}


/*
 * Color activo NO se reemplaza:
 * golda-section-favorite-v1.is-active conserva el rojo global.
 */

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1:disabled {
    opacity:
        .55;
}

/* GOLDA_LIBRARY_PREMIERE_SC_TAB_FAVORITE_V1C_CSS_END */

/* GOLDA_ADMIN_VISIBILITY_EXTERNAL_V1_START */

/*
 * Fail-closed:
 * cualquier control administrativo permanece oculto
 * hasta que app.js aplique explícitamente role=admin
 * proveniente de bootstrap/login.
 */


/*
 * Evita que reglas históricas display:flex/grid/block
 * sobreescriban el atributo HTML hidden.
 */


/* GOLDA_ADMIN_VISIBILITY_EXTERNAL_V1_END */


/* GOLDA_PUBLIC_ADMIN_ONLY_UI_V1_CSS_START */
html:not([data-golda-role="admin"])
[data-golda-admin-only="1"],
[data-golda-admin-only="1"][hidden] {
    display: none !important;
}
/* GOLDA_PUBLIC_ADMIN_ONLY_UI_V1_CSS_END */

/*
 * GOLDA_READER_TRANSITION_OVERLAY_V1
 */
.golda-reader-transition-v1 {
    position: fixed;
    inset: 0;
    z-index: 2147483400;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding:
        max(24px, env(safe-area-inset-top))
        max(20px, env(safe-area-inset-right))
        max(24px, env(safe-area-inset-bottom))
        max(20px, env(safe-area-inset-left));
    background:
        radial-gradient(
            circle at 50% 44%,
            rgba(237, 29, 36, 0.11),
            transparent 34%
        ),
        rgba(7, 7, 10, 0.965);
    pointer-events: auto;
    touch-action: none;
    cursor: progress;
}

.golda-reader-transition-v1.hidden {
    display: none !important;
}

.golda-reader-transition-card-v1 {
    width: min(310px, 86vw);
    display: grid;
    justify-items: center;
    gap: 11px;
    padding: 26px 24px 23px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 22px;
    background: rgba(18,18,23,0.94);
    box-shadow: 0 24px 70px rgba(0,0,0,0.48);
    text-align: center;
    color: #fff;
}

.golda-reader-transition-card-v1 strong {
    margin-top: 2px;
    font-size: 1.02rem;
    font-weight: 800;
}

.golda-reader-transition-card-v1 small {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.58);
}

.golda-reader-transition-spinner-v1 {
    position: relative;
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.10);
    border-top-color: #ed1d24;
    animation:
        goldaReaderTransitionSpinV1
        0.82s linear infinite;
}

.golda-reader-transition-spinner-v1 span {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: rgba(255,255,255,0.72);
    animation:
        goldaReaderTransitionSpinV1
        1.15s linear infinite reverse;
}

.golda-reader-transition-progress-v1 {
    position: relative;
    width: min(168px, 64vw);
    height: 3px;
    margin-top: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,0.09);
}

.golda-reader-transition-progress-v1 i {
    position: absolute;
    inset: 0 auto 0 0;
    width: 46%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            transparent,
            #ed1d24 36%,
            #ff6f74 72%,
            transparent
        );
    animation:
        goldaReaderTransitionProgressV1
        1.05s ease-in-out infinite;
}

@keyframes goldaReaderTransitionSpinV1 {
    to {
        transform: rotate(360deg);
    }
}

@keyframes goldaReaderTransitionProgressV1 {
    0% {
        transform: translateX(-115%);
    }

    100% {
        transform: translateX(235%);
    }
}

@media (max-width: 700px) {
    .golda-reader-transition-card-v1 {
        width: min(290px, 84vw);
        padding: 24px 20px 22px;
        border-radius: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .golda-reader-transition-spinner-v1 {
        animation-duration: 1.7s;
    }

    .golda-reader-transition-spinner-v1 span {
        animation-duration: 2.1s;
    }

    .golda-reader-transition-progress-v1 i {
        animation-duration: 2s;
    }
}

/* GOLDA_ADMIN_DESKTOP_SHORTCUTS_V1_START */

/*
 * Accesos administrativos directos del topbar.
 * Fail-closed por defecto.
 * Solo visibles para role=admin y viewport >= 681px.
 * Móvil conserva exactamente la navegación existente.
 */
.golda-admin-desktop-shortcut-v1 {
    display: none;
    order: 0;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
}

@media (min-width: 681px) {
    html[data-golda-role="admin"]
    .golda-admin-desktop-shortcut-v1:not([hidden]) {
        display: inline-flex;
    }

    .golda-admin-desktop-shortcut-v1:hover,
.golda-admin-desktop-shortcut-v1:focus-visible {
        background: rgba(255,255,255,.07);
    }
}

/* GOLDA_ADMIN_DESKTOP_SHORTCUTS_V1_END */

/* GOLDA_LIBRARY_SC_EXPLORE_PARITY_V1_CSS_START
 *
 * Copia visual final de /explorar/:
 * - pestaña superior izquierda;
 * - top/left -1px;
 * - 28px de alto;
 * - fondo rojo sólido;
 * - texto blanco;
 * - sin borde;
 *
 * Scope:
 * - únicamente SC que YA existía en Estantería;
 * - Estrenos conserva su condición actual;
 * - no crea SC en tarjetas nuevas.
 */
#libraryView.golda-library-view-shelf
.golda-library-cover-card.is-shelf
.golda-library-derived-cover
> .golda-library-shelf-rating-sc-v1.golda-explore-rating-sc-v1,
#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-uncensored-v1c.golda-explore-rating-sc-v1 {
    position:
        absolute !important;

    top:
        -1px !important;

    left:
        -1px !important;

    right:
        auto !important;

    bottom:
        auto !important;

    z-index:
        7 !important;

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    width:
        auto !important;

    min-width:
        0 !important;

    min-height:
        0 !important;

    height:
        28px !important;

    padding:
        0 10px !important;

    margin:
        0 !important;

    border:
        0 !important;

    border-radius:
        0 0 12px 0 !important;

    background:
        #ED1D24 !important;

    color:
        #FFFFFF !important;

    font-size:
        11px !important;

    font-weight:
        400 !important;

    line-height:
        1 !important;

    letter-spacing:
        0 !important;

    white-space:
        nowrap !important;

    box-sizing:
        border-box !important;

    box-shadow:
        0 4px 12px
        rgba(0,0,0,.24) !important;

    text-shadow:
        none !important;

    pointer-events:
        none !important;
}
/* GOLDA_LIBRARY_SC_EXPLORE_PARITY_V1_CSS_END */

/* GOLDA_HOME_HIDE_CHAPTER_BADGE_UNCENSORED_ONGOING_V1_START
 *
 * Exclusivo de Estantería:
 * - Sin censura
 * - En emisión
 *
 * Oculta únicamente NUEVO(S) CAPÍTULO(S).
 * No afecta SC ni ninguna otra etiqueta.
 */
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="uncensored"]
.golda-library-derived-badge.is-new-chapters,
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="ongoing"]
.golda-library-derived-badge.is-new-chapters {
    display: none !important;
}
/* GOLDA_HOME_HIDE_CHAPTER_BADGE_UNCENSORED_ONGOING_V1_END */


/* GOLDA_HOME_HIDE_WORK_STATUS_SIX_SHELVES_V1_START
 *
 * Exclusivamente:
 * - Novedades
 * - Nuevos capítulos
 * - Recién agregados
 * - Finalizados
 * - Sin censura
 * - En emisión
 *
 * Oculta el bloque de Estado de la obra:
 * EMISIÓN / FINALIZADO / EN PAUSA / CANCELADO.
 *
 * SC ya vive directamente sobre la portada y no depende
 * de este bloque.
 *
 * No afecta progreso, badges editoriales, Lezhin ni otras
 * secciones.
 */
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="news"]
.golda-library-shelf-work-meta-v1,
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="new_chapters"]
.golda-library-shelf-work-meta-v1,
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="recently_added"]
.golda-library-shelf-work-meta-v1,
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="finished"]
.golda-library-shelf-work-meta-v1,
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="uncensored"]
.golda-library-shelf-work-meta-v1,
#libraryView.golda-library-view-shelf
.golda-library-shelf-section[data-shelf="ongoing"]
.golda-library-shelf-work-meta-v1 {
    display: none !important;
}
/* GOLDA_HOME_HIDE_WORK_STATUS_SIX_SHELVES_V1_END */

/* ==========================================================
 * GOLDA_LIBRARY_NETFLIX_SHELF_NAV_V1_CSS_START
 *
 * Desktop/fine-pointer navigation only.
 * Mobile keeps native swipe and its existing geometry.
 * ========================================================== */

#libraryView.golda-library-view-shelf
.golda-library-shelf-section.golda-library-shelf-netflix-nav-v1 {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1fr) !important;
}

#libraryView.golda-library-view-shelf
.golda-library-shelf-section.golda-library-shelf-netflix-nav-v1
> .golda-library-shelf-heading {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

#libraryView.golda-library-view-shelf
.golda-library-shelf-section.golda-library-shelf-netflix-nav-v1
> .golda-library-shelf-rail {
    grid-column: 1 !important;
    grid-row: 2 !important;

    min-width: 0 !important;
}

#libraryView.golda-library-view-shelf
.golda-library-shelf-nav-v1 {
    display: none;
}

@media
    (min-width: 701px)
    and (hover: hover)
    and (pointer: fine) {

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section.golda-library-shelf-netflix-nav-v1
    > .golda-library-shelf-rail {
        scrollbar-width:
            none !important;

        -ms-overflow-style:
            none !important;
    }

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-section.golda-library-shelf-netflix-nav-v1
    > .golda-library-shelf-rail::-webkit-scrollbar {
        display:
            none !important;

        width:
            0 !important;

        height:
            0 !important;
    }

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-nav-v1 {
        grid-column:
            1 !important;

        grid-row:
            2 !important;

        align-self:
            center !important;

        z-index:
            60 !important;

        display:
            inline-flex;

        align-items:
            center;

        justify-content:
            center;

        width:
            34px;

        height:
            62px;

        margin:
            0 2px;

        padding:
            0;

        border:
            1px solid
            rgba(255,255,255,.11);

        border-radius:
            10px;

        background:
            rgba(8,10,13,.86);

        color:
            #ffffff;

        box-shadow:
            0 5px 18px
            rgba(0,0,0,.34);

        font-size:
            17px;

        line-height:
            1;

        cursor:
            pointer;

        opacity:
            .90;

        transition:
            opacity .16s ease,
            background .16s ease,
            transform .16s ease;

        user-select:
            none;

        -webkit-user-select:
            none;

        touch-action:
            manipulation;
    }

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-nav-v1.is-previous {
        justify-self:
            start !important;
    }

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-nav-v1.is-next {
        justify-self:
            end !important;
    }

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-nav-v1:hover {
        opacity:
            1;

        background:
            rgba(8,10,13,.97);

        transform:
            scale(1.04);
    }

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-nav-v1:active {
        transform:
            scale(.97);
    }

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-nav-v1:focus-visible {
        outline:
            2px solid
            rgba(255,255,255,.92);

        outline-offset:
            2px;
    }

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-nav-v1[hidden] {
        display:
            none !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    #libraryView.golda-library-view-shelf
    .golda-library-shelf-nav-v1 {
        transition:
            none !important;
    }
}

/* GOLDA_LIBRARY_NETFLIX_SHELF_NAV_V1_CSS_END */

/* ==========================================================
 * GOLDA_READER_FULLSCREEN_EXIT_BUTTON_V1_CSS_START
 *
 * Control independiente y permanente dentro de Fullscreen API.
 * No forma parte de reader-toolbar / reader-floating-toolbar,
 * por lo que permanece accesible durante modo inmersivo.
 * ========================================================== */

.reader-fullscreen-exit-button-v1 {
    display: none;
}

#readerView:fullscreen
> .reader-fullscreen-exit-button-v1,
#readerView:-webkit-full-screen
> .reader-fullscreen-exit-button-v1 {
    position: fixed;

    top: auto;

    bottom:
        calc(
            28px +
            env(safe-area-inset-bottom)
        );

    right:
        calc(
            20px +
            env(safe-area-inset-right)
        );

    z-index: 1300;

    display: grid !important;
    place-items: center;

    width: 44px;
    height: 44px;

    padding: 0;

    border:
        1px solid
        rgba(255,255,255,.16);

    border-radius: 13px;

    background:
        rgba(8,10,14,.78);

    color: #ffffff;

    box-shadow:
        0 6px 22px
        rgba(0,0,0,.42);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);

    font-size: 17px;

    line-height: 1;

    cursor: pointer;

    opacity: .86;

    pointer-events: auto;

    touch-action: manipulation;

    user-select: none;

    -webkit-user-select: none;

    -webkit-tap-highlight-color:
        transparent;

    transition:
        opacity .16s ease,
        background .16s ease,
        transform .16s ease;
}

#readerView:fullscreen
> .reader-fullscreen-exit-button-v1:hover,
#readerView:fullscreen
> .reader-fullscreen-exit-button-v1:focus-visible,
#readerView:-webkit-full-screen
> .reader-fullscreen-exit-button-v1:hover,
#readerView:-webkit-full-screen
> .reader-fullscreen-exit-button-v1:focus-visible {
    opacity: 1;

    background:
        rgba(8,10,14,.96);

    transform:
        scale(1.04);

    outline:
        2px solid
        rgba(255,255,255,.72);

    outline-offset: 2px;
}

#readerView:fullscreen
> .reader-fullscreen-exit-button-v1:active,
#readerView:-webkit-full-screen
> .reader-fullscreen-exit-button-v1:active {
    transform:
        scale(.95);
}

#readerView:fullscreen
> .reader-fullscreen-exit-button-v1:disabled,
#readerView:-webkit-full-screen
> .reader-fullscreen-exit-button-v1:disabled {
    opacity: .45;
    cursor: wait;
}

@media (max-width: 680px) {

    #readerView:fullscreen
    > .reader-fullscreen-exit-button-v1,
    #readerView:-webkit-full-screen
    > .reader-fullscreen-exit-button-v1 {
        width: 42px;
        height: 42px;

        top: auto;

        bottom:
            calc(
                24px +
                env(safe-area-inset-bottom)
            );

        right:
            calc(
                18px +
                env(safe-area-inset-right)
            );

        border-radius: 12px;

        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .reader-fullscreen-exit-button-v1 {
        transition:
            none !important;
    }
}

/* GOLDA_READER_FULLSCREEN_EXIT_BUTTON_V1_CSS_END */

/* GOLDA_OFFLINE_MICRO_APP_V3_CSS_START */

.offline-micro-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.offline-micro-nav::-webkit-scrollbar {
    display: none;
}

.offline-micro-nav.hidden {
    display: none !important;
}

.offline-micro-tab {
    appearance: none;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.offline-micro-tab.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

html.golda-offline-runtime-v3
#topActionsMenu
.top-menu-item:not(#offlineNavButton):not(.top-menu-logout) {
    display: none !important;
}

html.golda-offline-runtime-v3
#goldaNotificationShell {
    display: none !important;
}

html.golda-offline-runtime-v3
[data-golda-section-route] {
    display: none !important;
}

/* GOLDA_OFFLINE_MICRO_APP_V3_CSS_END */

/*
 * GOLDA_SPECIAL_GROUP_ORIGINAL_NUMBER_V2
 *
 * Referencia global deliberadamente terciaria:
 * pequeña, tenue y sin competir con el título del capítulo.
 */
#detailView .detail-chapter-original-number-v2 {
    flex: 0 0 auto;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    color: inherit;
    opacity: .34;
    white-space: nowrap;
}

@media (max-width: 760px) {
    #detailView .detail-chapter-original-number-v2 {
        font-size: 8px !important;
        opacity: .30;
    }
}


/* ==========================================================
 * GOLDA_OFFLINE_FULL_MICRO_APP_V11_CSS_START
 * ========================================================== */

#offlineView .offline-grid {
    display: grid !important;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(150px, 1fr)
        ) !important;

    align-items: start !important;

    gap: 12px !important;
}


#offlineView
.golda-offline-library-card-v11 {
    position: relative;

    width: 100%;
    min-width: 0;

    height: auto !important;

    content-visibility:
        visible !important;

    contain-intrinsic-size:
        none !important;
}


#offlineView
.golda-offline-library-card-v11
.golda-library-derived-cover {
    width: 100%;

    aspect-ratio:
        3 / 4;
}


#offlineView
.golda-offline-remove-v11 {
    position: absolute;

    top: 7px;
    right: 7px;

    z-index: 10;

    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    margin: 0;
    padding: 0;

    border:
        1px solid
        rgba(255,255,255,.20);

    border-radius:
        50%;

    background:
        rgba(8,10,14,.86);

    color:
        rgba(255,255,255,.94);

    cursor: pointer;

    box-shadow:
        0 3px 10px
        rgba(0,0,0,.32);

    backdrop-filter:
        blur(5px);

    -webkit-backdrop-filter:
        blur(5px);
}


#offlineView
.golda-offline-remove-v11:hover,
#offlineView
.golda-offline-remove-v11:focus-visible {
    border-color:
        rgba(248,113,113,.58);

    background:
        rgba(74,20,24,.94);

    color:
        #fecaca;

    outline: 0;
}


#offlineView
.golda-offline-remove-v11 > i {
    font-size: 12px;
    line-height: 1;
}


.detail-offline-action-v3.is-ready-v11 {
    color:
        var(--good) !important;

    border-color:
        rgba(74,222,128,.42) !important;

    background:
        rgba(34,197,94,.10) !important;
}


@media (max-width: 680px) {

    #offlineView .offline-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            ) !important;

        gap:
            8px !important;
    }


    #offlineView
    .golda-offline-remove-v11 {
        top: 5px;
        right: 5px;

        width: 27px;
        height: 27px;
    }


    #offlineView
    .golda-offline-remove-v11 > i {
        font-size:
            11px;
    }
}


@media (max-width: 360px) {

    #offlineView .offline-grid {
        gap:
            7px !important;
    }
}

/* GOLDA_OFFLINE_FULL_MICRO_APP_V11_CSS_END */


/* ==========================================================
 * GOLDA_DETAIL_DOWNLOAD_VISIBILITY_V11D_START
 *
 * V11 reactivó funcionalmente detailOfflineButton.
 * Dos reglas históricas todavía lo ocultaban mediante
 * display:none!important.
 *
 * Este override final conserva intactas esas reglas históricas
 * y reactiva exclusivamente el control Offline del detalle.
 * ========================================================== */

#detailView
.golda-detail-v3
#detailOfflineButton {
    display: inline-flex !important;
}

/* GOLDA_DETAIL_DOWNLOAD_VISIBILITY_V11D_END */


/* ==========================================================
 * GOLDA_BACKGROUND_DOWNLOAD_PROGRESS_V12_CSS_START
 * ========================================================== */

#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12 {
    cursor: default !important;
}


#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12:disabled {
    opacity: 1 !important;
}


.golda-download-ring-v12 {
    --golda-download-progress: 0%;

    position: relative;

    display: inline-grid;
    place-items: center;

    flex: 0 0 auto;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    background:
        conic-gradient(
            var(--accent)
                var(--golda-download-progress),
            rgba(255,255,255,.14)
                0
        );
}


.golda-download-ring-core-v12 {
    display: grid;
    place-items: center;

    width: 29px;
    height: 29px;

    border-radius: 50%;

    background: #151d2d;

    color: #f4f7ff;

    font-size: 13px;
    line-height: 1;
}


.golda-download-ring-v12.is-complete {
    background:
        conic-gradient(
            var(--good) 100%,
            var(--good) 100%
        );
}


.golda-download-ring-v12.is-complete
.golda-download-ring-core-v12 {
    color: var(--good);
}


.golda-download-ring-v12.is-error {
    background:
        conic-gradient(
            #f87171 100%,
            #f87171 100%
        );
}


.golda-download-ring-v12.is-error
.golda-download-ring-core-v12 {
    color: #fca5a5;
}


.golda-download-float-v12 {
    position: fixed;

    right: 16px;

    bottom:
        max(
            88px,
            calc(
                74px +
                env(safe-area-inset-bottom)
            )
        );

    z-index: 290;

    display: grid;

    width:
        min(
            360px,
            calc(100vw - 32px)
        );

    gap: 8px;

    pointer-events: none;
}


.golda-download-float-v12.hidden {
    display: none !important;
}


.golda-download-float-item-v12 {
    display: grid;

    grid-template-columns:
        42px
        minmax(0,1fr);

    align-items: center;

    gap: 11px;

    min-height: 62px;

    padding:
        10px
        13px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius:
        15px;

    background:
        rgba(20,27,40,.96);

    box-shadow:
        0 14px 38px
        rgba(0,0,0,.42);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);
}


.golda-download-float-ring-v12 {
    display: grid;
    place-items: center;
}


.golda-download-float-item-v12
.golda-download-ring-v12 {
    width: 38px;
    height: 38px;
}


.golda-download-float-item-v12
.golda-download-ring-core-v12 {
    width: 31px;
    height: 31px;
}


.golda-download-float-copy-v12 {
    display: grid;

    min-width: 0;

    gap: 2px;
}


.golda-download-float-label-v12 {
    overflow: hidden;

    color: #f6f8ff;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.golda-download-float-title-v12 {
    overflow: hidden;

    color: rgba(255,255,255,.90);

    font-size: 12px;
    font-weight: 650;
    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.golda-download-float-meta-v12 {
    overflow: hidden;

    color: rgba(255,255,255,.62);

    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.golda-download-float-item-v12.is-complete {
    border-color:
        rgba(74,222,128,.30);
}


.golda-download-float-item-v12.is-error {
    border-color:
        rgba(248,113,113,.34);
}


@media (max-width: 680px) {

    .golda-download-float-v12 {
        left: 10px;
        right: 10px;

        bottom:
            max(
                82px,
                calc(
                    70px +
                    env(safe-area-inset-bottom)
                )
            );

        width: auto;
    }


    .golda-download-float-item-v12 {
        grid-template-columns:
            40px
            minmax(0,1fr);

        min-height: 58px;

        padding:
            9px
            11px;

        border-radius:
            14px;
    }


    .golda-download-float-item-v12
    .golda-download-ring-v12 {
        width: 36px;
        height: 36px;
    }


    .golda-download-float-item-v12
    .golda-download-ring-core-v12 {
        width: 29px;
        height: 29px;
    }
}

/* GOLDA_BACKGROUND_DOWNLOAD_PROGRESS_V12_CSS_END */


/* ==========================================================
 * GOLDA_DOWNLOAD_CANCEL_CONTROLS_V13_CSS_START
 * ========================================================== */

.golda-download-float-v12 {
    pointer-events: none;
}


.golda-download-float-item-v12 {
    grid-template-columns:
        42px
        minmax(0,1fr)
        auto;

    pointer-events: auto;

    cursor: pointer;
}


.golda-download-float-item-v12:focus-visible {
    outline:
        2px solid
        currentColor;

    outline-offset:
        2px;
}


.golda-download-float-stop-v13 {
    display: inline-grid;
    place-items: center;

    align-self: center;

    width: 32px;
    height: 32px;

    margin: 0;
    padding: 0;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius:
        50%;

    background:
        rgba(255,255,255,.06);

    color:
        rgba(255,255,255,.88);

    cursor: pointer;

    font-size: 13px;
    line-height: 1;
}


.golda-download-float-stop-v13:hover {
    background:
        rgba(255,255,255,.11);
}


.golda-download-float-stop-v13:disabled {
    opacity: .42;
    cursor: default;
}


.golda-download-float-item-v12.is-complete
.golda-download-float-stop-v13,
.golda-download-float-item-v12.is-error
.golda-download-float-stop-v13 {
    display: none !important;
}


@media (max-width: 680px) {

    .golda-download-float-item-v12 {
        grid-template-columns:
            40px
            minmax(0,1fr)
            auto;
    }


    .golda-download-float-stop-v13 {
        width: 30px;
        height: 30px;

        font-size: 12px;
    }
}

/* GOLDA_DOWNLOAD_CANCEL_CONTROLS_V13_CSS_END */

/* ==========================================================
 * GOLDA_DETAIL_CONTINUE_FULL_LABEL_RESPONSIVE_V2R_START
 *
 * Objetivo:
 * - mantener los 5 controles en una sola fila;
 * - mostrar "Continuar · CAP {n}" completo;
 * - sin ellipsis ni recorte del texto;
 * - redistribuir geometría únicamente en móvil.
 * ========================================================== */

@media (max-width:760px) {

    #detailView
    .golda-detail-v3
    .detail-actions {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;

        width: 100% !important;
        min-width: 0 !important;
    }

    #detailView
    .golda-detail-v3
    #detailContinueButton {
        flex: 1 1 0 !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;

        overflow: visible !important;
    }

    #detailView
    .golda-detail-v3
    #detailContinueButton span {
        flex: 0 0 auto !important;

        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;

        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap !important;
    }

    #detailView
    .golda-detail-v3
    #detailContinueButton i {
        flex: 0 0 auto !important;
    }
}


/*
 * Teléfonos normales.
 *
 * El cuarto control cuadrado añadido reduce el ancho libre del
 * CTA. Recuperamos espacio repartiendo unos pocos píxeles entre
 * gaps y controles, en vez de mutilar el texto.
 */
@media (max-width:430px) {

    #detailView
    .golda-detail-v3
    .detail-actions {
        gap: 4px !important;
    }

    #detailView
    .golda-detail-v3
    #detailContinueButton {
        min-height: 44px !important;

        padding-left: 5px !important;
        padding-right: 5px !important;

        gap: 4px !important;

        border-radius: 13px !important;

        font-size:
            clamp(
                10.5px,
                3.05vw,
                13px
            ) !important;

        letter-spacing: -.025em !important;
    }

    #detailView
    .golda-detail-v3
    #detailContinueButton i {
        font-size: 14px !important;
    }

    #detailView
    .golda-detail-v3
    .detail-icon-action-v3 {
        flex:
            0 0 44px !important;

        flex-basis:
            44px !important;

        width:
            44px !important;

        min-width:
            44px !important;

        max-width:
            44px !important;

        height:
            44px !important;

        min-height:
            44px !important;

        border-radius:
            13px !important;

        font-size:
            18px !important;
    }
}


/*
 * 351–390 px:
 * pequeña reducción adicional para mantener el texto entero.
 */
@media (max-width:390px) {

    #detailView
    .golda-detail-v3
    .detail-actions {
        gap: 3px !important;
    }

    #detailView
    .golda-detail-v3
    #detailContinueButton {
        padding-left: 3px !important;
        padding-right: 3px !important;

        gap: 3px !important;
    }

    #detailView
    .golda-detail-v3
    .detail-icon-action-v3 {
        flex:
            0 0 42px !important;

        flex-basis:
            42px !important;

        width:
            42px !important;

        min-width:
            42px !important;

        max-width:
            42px !important;

        height:
            42px !important;

        min-height:
            42px !important;

        border-radius:
            12px !important;

        font-size:
            17px !important;
    }
}


/*
 * <=350 px:
 * prioridad absoluta al texto completo.
 * Solo aquí desaparece el icono play del CTA.
 */
@media (max-width:350px) {

    #detailView
    .golda-detail-v3
    .detail-actions {
        gap: 3px !important;
    }

    #detailView
    .golda-detail-v3
    #detailContinueButton {
        min-height: 40px !important;

        padding-left: 3px !important;
        padding-right: 3px !important;

        gap: 0 !important;

        font-size: 10.5px !important;
        letter-spacing: -.035em !important;

        border-radius: 12px !important;
    }

    #detailView
    .golda-detail-v3
    #detailContinueButton i {
        display: none !important;
    }

    #detailView
    .golda-detail-v3
    .detail-icon-action-v3 {
        flex:
            0 0 38px !important;

        flex-basis:
            38px !important;

        width:
            38px !important;

        min-width:
            38px !important;

        max-width:
            38px !important;

        height:
            38px !important;

        min-height:
            38px !important;

        border-radius:
            11px !important;

        font-size:
            16px !important;
    }
}

/* GOLDA_DETAIL_CONTINUE_FULL_LABEL_RESPONSIVE_V2R_END */

/*
 * GOLDA_START_LATE_MODAL_ACTIONS_V13_START
 *
 * El modal de capítulos saltados conserva siempre
 * ambas decisiones en una sola fila:
 *
 * [ Sí, ya los vi ] [ Volver ]
 */
.start-late-actions {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    gap: 12px !important;
    align-items: stretch;
}

.start-late-actions > button {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    white-space: normal;
}

/*
 * GOLDA_START_LATE_MODAL_ACTIONS_V13_END
 */

/* GOLDA_MI_BIBLIOTECA_PHASE_A_V2_CSS_START */

.golda-library-state-symbol-v1 {
    display: inline-grid;
    place-items: center;
    min-width: 1em;
    line-height: 1;
    font-size: 1.34rem;
    font-weight: 900;
}

.golda-section-favorite-v1.is-active,
.golda-section-favorite-v1[aria-pressed="true"],
#detailFavoriteButtonV1.is-active,
#detailFavoriteButtonV1[aria-pressed="true"] {
    color: #22c55e !important;
    border-color: rgba(34, 197, 94, .72) !important;
}

.golda-section-favorite-v1.is-active
.golda-library-state-symbol-v1,
.golda-section-favorite-v1[aria-pressed="true"]
.golda-library-state-symbol-v1,
#detailFavoriteButtonV1.is-active
.golda-library-state-symbol-v1,
#detailFavoriteButtonV1[aria-pressed="true"]
.golda-library-state-symbol-v1 {
    color: #22c55e !important;
}


/*
 * Flecha verde para una descarga completa.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11,
#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11 > i {
    color: #22c55e !important;
    border-color: rgba(34, 197, 94, .72) !important;
}


/*
 * Descargas incorporadas a Mi Biblioteca.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-downloads-heading-v2 {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 16px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-downloads-heading-v2 h3 {
    margin: 0;
    font-size: 1.08rem;
}

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-downloads-heading-v2 p {
    margin: 5px 0 0;
}

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-downloaded-row-v2 {
    grid-column: 1 / -1;
    width: 100%;
}

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-downloads-empty-v2 {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 18px;
    border: 1px dashed rgba(255, 255, 255, .12);
    border-radius: 14px;
    color: #9a9aa4;
    text-align: center;
}

.golda-library-download-remove-v2 {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0 !important;
    display: inline-grid !important;
    place-items: center;
    border-radius: 50% !important;
}

.golda-library-download-remove-v2:hover {
    color: #ef4444;
    border-color: rgba(239, 68, 68, .65);
}


/*
 * Offline usa la misma geometría de tarjeta que
 * Mi Biblioteca, no la antigua tarjeta de descargas.
 */
#offlineGrid {
    display: grid;
    gap: 12px;
}

#offlineGrid
.golda-favorite-row-v3 {
    width: 100%;
}

/* GOLDA_MI_BIBLIOTECA_PHASE_A_V2_CSS_END */

/*
 * GOLDA_MI_BIBLIOTECA_ICON_POLISH_V3B_START
 */


/* ----------------------------------------------------------
 * Mi Biblioteca: estado guardado
 * ---------------------------------------------------------- */

.golda-library-saved-icon-v3b {
    color:
        #22c55e !important;

    font-size:
        1.18rem;

    line-height:
        1;
}


/* ----------------------------------------------------------
 * Detalle — botón Mi Biblioteca.
 *
 * No debe heredar absolutamente ningún estado visual rojo
 * del antiguo corazón.
 * ---------------------------------------------------------- */

#detailView
.golda-detail-v3
#detailFavoriteButtonV1 {
    color:
        rgba(255,255,255,.88) !important;

    border-color:
        rgba(255,255,255,.20) !important;

    background:
        rgba(255,255,255,.055) !important;

    box-shadow:
        none !important;

    text-shadow:
        none !important;

    filter:
        none !important;
}


#detailView
.golda-detail-v3
#detailFavoriteButtonV1:hover,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1:focus,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1:focus-visible {
    color:
        #ffffff !important;

    border-color:
        rgba(255,255,255,.35) !important;

    background:
        rgba(255,255,255,.085) !important;

    box-shadow:
        none !important;
}


#detailView
.golda-detail-v3
#detailFavoriteButtonV1.is-active,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1[aria-pressed="true"],
#detailView
.golda-detail-v3
#detailFavoriteButtonV1.is-active:hover,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1[aria-pressed="true"]:hover,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1.is-active:focus,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1[aria-pressed="true"]:focus,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1.is-active:focus-visible,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1[aria-pressed="true"]:focus-visible {
    color:
        #22c55e !important;

    border-color:
        rgba(34,197,94,.72) !important;

    background:
        rgba(34,197,94,.10) !important;

    outline-color:
        rgba(34,197,94,.50) !important;

    box-shadow:
        none !important;

    text-shadow:
        none !important;

    filter:
        none !important;
}


#detailView
.golda-detail-v3
#detailFavoriteButtonV1.is-active
.golda-library-saved-icon-v3b,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1[aria-pressed="true"]
.golda-library-saved-icon-v3b {
    color:
        #22c55e !important;
}


/* ----------------------------------------------------------
 * Tarjetas Mi Biblioteca:
 * circle-check verde.
 * ---------------------------------------------------------- */

.golda-section-favorite-v1.is-active,
.golda-section-favorite-v1[aria-pressed="true"] {
    color:
        #22c55e !important;

    border-color:
        rgba(34,197,94,.72) !important;

    box-shadow:
        none !important;
}


.golda-section-favorite-v1.is-active
.golda-library-saved-icon-v3b,
.golda-section-favorite-v1[aria-pressed="true"]
.golda-library-saved-icon-v3b {
    color:
        #22c55e !important;
}


/* ----------------------------------------------------------
 * Detalle — descarga completa.
 * ---------------------------------------------------------- */

#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11 {
    color:
        #22c55e !important;

    border-color:
        rgba(34,197,94,.72) !important;

    box-shadow:
        none !important;
}


#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11
> i.fa-circle-arrow-down,
#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11
> i.fa-circle-arrow-down::before {
    color:
        #22c55e !important;
}


/* ----------------------------------------------------------
 * SVG local del menú.
 * No aplica filtros/recoloración: conserva el SVG original.
 * ---------------------------------------------------------- */

.golda-bottom-nav-v1
.golda-bottom-nav-library-icon-v4 {
    display:
        block;

    width:
        20px;

    height:
        20px;

    flex:
        0 0 20px;

    color:
        inherit;

    background-color:
        currentColor;

    -webkit-mask-image:
        url("/assets/icons/mi-biblioteca.svg?v=974ac70b");

    mask-image:
        url("/assets/icons/mi-biblioteca.svg?v=974ac70b");

    -webkit-mask-repeat:
        no-repeat;

    mask-repeat:
        no-repeat;

    -webkit-mask-position:
        center;

    mask-position:
        center;

    -webkit-mask-size:
        contain;

    mask-size:
        contain;

    pointer-events:
        none;
}


.golda-bottom-nav-v1
button.is-active
.golda-bottom-nav-library-icon-v4 {
    color:
        #ed1d24;
}


/* GOLDA_MI_BIBLIOTECA_ACTIVE_COLOR_MASK_V1 */


/*
 * GOLDA_MI_BIBLIOTECA_ICON_POLISH_V3B_END
 */

/* ==========================================================
 * GOLDA_LIBRARY_FAVORITE_ICON_PARITY_V1_START
 *
 * Mi Biblioteca:
 * - fa-plus en estado inactivo
 * - fa-circle-check en estado activo
 * - misma escala del resto de acciones del detalle
 * - centrado óptico consistente en tarjetas
 * ========================================================== */

/*
 * Tarjetas globales.
 *
 * La carcasa ya mide 38x38.
 * Se fuerza centrado real independiente de baseline tipográfico.
 */
.golda-section-favorite-v1 {
    display:
        grid !important;

    place-items:
        center !important;

    line-height:
        1 !important;
}

.golda-section-favorite-v1
> i.golda-library-favorite-icon-v4 {
    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    width:
        1em !important;

    height:
        1em !important;

    margin:
        0 !important;

    padding:
        0 !important;

    font-size:
        18px !important;

    line-height:
        1 !important;

    vertical-align:
        middle !important;
}


/*
 * Detalle de obra.
 *
 * .detail-icon-action-v3 ya define el tamaño de campana,
 * descarga y Mi Biblioteca.
 *
 * 1em obliga a + / circle-check a heredar exactamente
 * el mismo font-size responsive del botón contenedor:
 * 24px escritorio y sus tamaños móviles existentes.
 */
#detailView
.golda-detail-v3
#detailFavoriteButtonV1
> i.golda-library-favorite-icon-v4 {
    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    width:
        1em !important;

    height:
        1em !important;

    margin:
        0 !important;

    padding:
        0 !important;

    font-size:
        1em !important;

    line-height:
        1 !important;

    vertical-align:
        middle !important;
}


/*
 * Garantiza que el icono activo no recupere el 1.18rem
 * histórico del circle-check.
 */
#detailView
.golda-detail-v3
#detailFavoriteButtonV1
> i.golda-library-saved-icon-v3b {
    font-size:
        1em !important;
}


/*
 * Colores existentes:
 * activo continúa siendo verde.
 */
.golda-section-favorite-v1.is-active
> i.golda-library-favorite-icon-v4,
.golda-section-favorite-v1[aria-pressed="true"]
> i.golda-library-favorite-icon-v4,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1.is-active
> i.golda-library-favorite-icon-v4,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1[aria-pressed="true"]
> i.golda-library-favorite-icon-v4 {
    color:
        #22c55e !important;
}

/* GOLDA_LIBRARY_FAVORITE_ICON_PARITY_V1_END */

/* ==========================================================
 * GOLDA_LIBRARY_CIRCLE_ICON_CLEANUP_V2_START
 *
 * Mi Biblioteca:
 *
 * La forma circular pertenece ahora al propio icono:
 *   - fa-circle-plus
 *   - fa-circle-check
 *
 * El botón conserva su área táctil/click pero deja de dibujar
 * un segundo fondo/borde exterior alrededor del icono.
 * ========================================================== */


/* ----------------------------------------------------------
 * TARJETAS
 * ---------------------------------------------------------- */

.golda-section-favorite-v1,
.golda-section-favorite-v1:hover,
.golda-section-favorite-v1:focus,
.golda-section-favorite-v1:active,
.golda-section-favorite-v1.is-active,
.golda-section-favorite-v1[aria-pressed="true"] {
    background:
        transparent !important;

    border:
        0 !important;

    border-color:
        transparent !important;

    box-shadow:
        none !important;

    text-shadow:
        none !important;
}


/*
 * La marquesina reutiliza el mismo control, pero posee
 * selectores históricos de mayor especificidad.
 */
#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-slide
> .golda-marquee-favorite-v1,
#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-slide
> .golda-marquee-favorite-v1:hover,
#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-slide
> .golda-marquee-favorite-v1:focus,
#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-slide
> .golda-marquee-favorite-v1.is-active,
#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-slide
> .golda-marquee-favorite-v1[aria-pressed="true"] {
    background:
        transparent !important;

    border:
        0 !important;

    border-color:
        transparent !important;

    box-shadow:
        none !important;
}


/*
 * 38x38 sigue siendo el hit-area.
 * Solo el dibujo visible aumenta para ocupar mejor ese espacio.
 */
.golda-section-favorite-v1
> i.golda-library-favorite-icon-v4 {
    width:
        1em !important;

    height:
        1em !important;

    font-size:
        24px !important;

    line-height:
        1 !important;
}


/* ----------------------------------------------------------
 * DETALLE DE OBRA
 * ---------------------------------------------------------- */

/*
 * Conserva las dimensiones responsive de .detail-icon-action-v3
 * para no alterar el layout ni el área táctil.
 *
 * Únicamente desaparece la carcasa visual del botón
 * de Mi Biblioteca.
 */
#detailView
.golda-detail-v3
#detailFavoriteButtonV1,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1:hover,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1:focus,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1:active,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1.is-active,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1[aria-pressed="true"],
#detailView
.golda-detail-v3
#detailFavoriteButtonV1.is-active:hover,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1[aria-pressed="true"]:hover,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1.is-active:focus,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1[aria-pressed="true"]:focus {
    background:
        transparent !important;

    border:
        0 !important;

    border-color:
        transparent !important;

    box-shadow:
        none !important;

    text-shadow:
        none !important;

    filter:
        none !important;
}


/*
 * Plus circular y check circular usan la misma escala.
 * El font-size continúa heredando el responsive del botón
 * (17/18/19px según breakpoint).
 */
#detailView
.golda-detail-v3
#detailFavoriteButtonV1
> i.golda-library-favorite-icon-v4 {
    font-size:
        1em !important;

    line-height:
        1 !important;
}


/*
 * Estado activo:
 * únicamente el icono cambia a verde.
 */
.golda-section-favorite-v1.is-active
> i.golda-library-favorite-icon-v4,
.golda-section-favorite-v1[aria-pressed="true"]
> i.golda-library-favorite-icon-v4,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1.is-active
> i.golda-library-favorite-icon-v4,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1[aria-pressed="true"]
> i.golda-library-favorite-icon-v4 {
    color:
        #22c55e !important;
}

/* GOLDA_LIBRARY_CIRCLE_ICON_CLEANUP_V2_END */

/* ==========================================================
 * GOLDA_LIBRARY_CIRCLE_ICON_SCALE_V3_START
 *
 * Tras retirar el fondo/borde exterior, el propio glyph
 * circular recupera el peso visual que antes ocupaba
 * la carcasa completa.
 * ========================================================== */

/*
 * Tarjetas / marquesina.
 *
 * Hit-area: sigue siendo 38x38.
 * Glyph visible: 30x30 aprox.
 */
.golda-section-favorite-v1
> i.golda-library-favorite-icon-v4 {
    font-size:
        30px !important;

    width:
        1em !important;

    height:
        1em !important;

    line-height:
        1 !important;
}


/*
 * Detalle.
 *
 * El botón conserva intactas sus dimensiones responsive.
 * Solo aumenta el icono circular.
 *
 * Móvil: 28px
 * Escritorio/tablet grande: hasta 34px
 */
#detailView
.golda-detail-v3
#detailFavoriteButtonV1
> i.golda-library-favorite-icon-v4 {
    font-size:
        28px !important;

    width:
        1em !important;

    height:
        1em !important;

    line-height:
        1 !important;
}


/*
 * Ambos estados deben conservar exactamente la misma escala.
 */
#detailView
.golda-detail-v3
#detailFavoriteButtonV1
> i.fa-circle-plus,
#detailView
.golda-detail-v3
#detailFavoriteButtonV1
> i.fa-circle-check {
    font-size:
        28px !important;
}

/* GOLDA_LIBRARY_CIRCLE_ICON_SCALE_V3_END */

/* ==========================================================
 * GOLDA_GLOBAL_CARD_LIBRARY_ICON_SCALE_V4_START
 *
 * V3 definía 30px globales, pero los layouts antiguos de
 * Explorar/Estrenos tenían selectores más específicos con
 * !important de 12–19px.
 *
 * Este bloque final gana deliberadamente esa cascada.
 * ========================================================== */

.golda-section-favorite-v1
> i.golda-library-favorite-icon-v4,

#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
> .golda-section-favorite-v1
> i.golda-library-favorite-icon-v4,

#goldaSectionsPrimaryV1
.golda-premiere-marquee-card-v1
> .golda-premiere-favorite-v1
> i.golda-library-favorite-icon-v4,

#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-slide
> .golda-marquee-favorite-v1
> i.golda-library-favorite-icon-v4 {
    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    width:
        1em !important;

    height:
        1em !important;

    margin:
        0 !important;

    padding:
        0 !important;

    font-size:
        30px !important;

    line-height:
        1 !important;

    text-align:
        center !important;

    vertical-align:
        middle !important;

    transform:
        none !important;
}

/* GOLDA_GLOBAL_CARD_LIBRARY_ICON_SCALE_V4_END */


/* ==========================================================
 * GOLDA_DETAIL_ACTION_SHELL_PARITY_V4_START
 *
 * Detalle:
 *
 * - Reiniciar progreso
 * - Mi Biblioteca
 * - Notificaciones
 * - Descargar / Descarga completa
 *
 * conservan sus hit-areas responsive.
 *
 * Se elimina solamente la carcasa visible.
 * ========================================================== */


/*
 * Reiniciar.
 */
#detailView
.golda-detail-v3
#detailResetButton,

#detailView
.golda-detail-v3
#detailResetButton:hover,

#detailView
.golda-detail-v3
#detailResetButton:focus,

#detailView
.golda-detail-v3
#detailResetButton:focus-visible,

#detailView
.golda-detail-v3
#detailResetButton:active,


/*
 * Notificaciones.
 */
#detailView
.golda-detail-v3
#detailFollowButtonV3,

#detailView
.golda-detail-v3
#detailFollowButtonV3:hover,

#detailView
.golda-detail-v3
#detailFollowButtonV3:focus,

#detailView
.golda-detail-v3
#detailFollowButtonV3:focus-visible,

#detailView
.golda-detail-v3
#detailFollowButtonV3:active,

#detailView
.golda-detail-v3
#detailFollowButtonV3.is-active,

#detailView
.golda-detail-v3
#detailFollowButtonV3[aria-pressed="true"],


/*
 * Descargar.
 */
#detailView
.golda-detail-v3
#detailOfflineButton,

#detailView
.golda-detail-v3
#detailOfflineButton:hover,

#detailView
.golda-detail-v3
#detailOfflineButton:focus,

#detailView
.golda-detail-v3
#detailOfflineButton:focus-visible,

#detailView
.golda-detail-v3
#detailOfflineButton:active,

#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11,

#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11:hover,

#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11:focus,

#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11:focus-visible {
    background:
        transparent !important;

    border:
        0 !important;

    border-color:
        transparent !important;

    box-shadow:
        none !important;

    text-shadow:
        none !important;

    filter:
        none !important;
}


/*
 * Igualamos el peso visual de los iconos vecinos con
 * circle-plus / circle-check.
 *
 * Las dimensiones del botón NO cambian.
 */
#detailView
.golda-detail-v3
#detailResetButton
> i,

#detailView
.golda-detail-v3
#detailFollowButtonV3
> i,

#detailView
.golda-detail-v3
#detailOfflineButton
> i {
    font-size:
        clamp(
            28px,
            3vw,
            34px
        ) !important;

    line-height:
        1 !important;

    margin:
        0 !important;
}


/*
 * Campana activa:
 * conserva únicamente su color violeta.
 */
#detailView
.golda-detail-v3
#detailFollowButtonV3.is-active,

#detailView
.golda-detail-v3
#detailFollowButtonV3[aria-pressed="true"],

#detailView
.golda-detail-v3
#detailFollowButtonV3.is-active
> i,

#detailView
.golda-detail-v3
#detailFollowButtonV3[aria-pressed="true"]
> i {
    color:
        #c4b5fd !important;
}


/*
 * Descarga completa:
 * conserva únicamente su verde.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11,

#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11
> i,

#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11
> i::before {
    color:
        #22c55e !important;
}


/*
 * El ring de progreso pertenece a la propia descarga activa.
 * No es la carcasa del botón y debe conservarse intacto.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12 {
    display:
        inline-grid;
}


/*
 * La regla histórica de visibilidad de Reiniciar sigue siendo
 * autoridad: sin progreso continúa oculto.
 */
#detailView
.golda-detail-v3
#detailResetButton.hidden {
    display:
        none !important;
}

/* GOLDA_DETAIL_ACTION_SHELL_PARITY_V4_END */

/* GOLDA_DETAIL_ACTION_ICON_STANDARD_V5_START */
/* ==========================================================
 * Detalle de obra — estandarización óptica de iconos.
 *
 * Objetivos:
 * - Igualar tamaño visual entre reiniciar / biblioteca / campana /
 *   descargando / descarga completa.
 * - Compensar que el botón descargando se veía pequeño.
 * - Bajar un poco la presencia óptica de reiniciar.
 * - Campana activa en amarillo.
 * ========================================================== */

#detailView .golda-detail-v3 #detailResetButton > i,
#detailView .golda-detail-v3 #detailFavoriteButtonV1 > i,
#detailView .golda-detail-v3 .detail-follow-action-v3 > i,
#detailView .golda-detail-v3 #detailOfflineButton > i,
#detailView .golda-detail-v3 .golda-download-ring-core-v12 > i {
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1em !important;
    height: 1em !important;
    vertical-align: middle !important;
}

/* Ajuste fino por icono para emparejar peso visual real */
#detailView .golda-detail-v3 #detailResetButton > i {
    font-size: 31px !important;
}

#detailView .golda-detail-v3 #detailFavoriteButtonV1 > i,
#detailView .golda-detail-v3 #detailOfflineButton.is-ready-v11 > i,
#detailView .golda-detail-v3 #detailOfflineButton > i.fa-circle-arrow-down,
#detailView .golda-detail-v3 #detailOfflineButton > i.fa-arrow-down,
#detailView .golda-detail-v3 .golda-download-ring-core-v12 > i {
    font-size: 32px !important;
}

#detailView .golda-detail-v3 .detail-follow-action-v3 > i {
    font-size: 31px !important;
}

/* El estado "descargando" necesitaba más presencia */
#detailView .golda-detail-v3 .golda-download-ring-v12 {
    width: 42px !important;
    height: 42px !important;
}

#detailView .golda-detail-v3 .golda-download-ring-core-v12 {
    width: 32px !important;
    height: 32px !important;
}

/* Campana activa amarilla */
#detailView .golda-detail-v3 .detail-follow-action-v3.is-active,
#detailView .golda-detail-v3 .detail-follow-action-v3[aria-pressed="true"],
#detailView .golda-detail-v3 .detail-follow-action-v3.is-active > i,
#detailView .golda-detail-v3 .detail-follow-action-v3[aria-pressed="true"] > i {
    color: #facc15 !important;
}

/* Mantener shell removida también cuando está activa */
#detailView .golda-detail-v3 .detail-follow-action-v3.is-active,
#detailView .golda-detail-v3 .detail-follow-action-v3[aria-pressed="true"] {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
/* GOLDA_DETAIL_ACTION_ICON_STANDARD_V5_END */

/* GOLDA_DETAIL_DOWNLOAD_UNIFIED_CIRCLE_ARROW_V6C_START */


/* ==========================================================
 * DESCARGA — UN SOLO ICONO
 * ========================================================== */

#detailView
.golda-detail-v3
#detailOfflineButton
i.fa-circle-arrow-down {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 1em !important;
    height: 1em !important;

    margin: 0 !important;

    font-size:
        28px !important;
    line-height: 1 !important;
}


/*
 * 1. NO DESCARGADO
 */
#detailView
.golda-detail-v3
#detailOfflineButton:not(.is-ready-v11):not(.is-downloading-v12)
> i.fa-circle-arrow-down,
#detailView
.golda-detail-v3
#detailOfflineButton:not(.is-ready-v11):not(.is-downloading-v12)
> i.fa-circle-arrow-down::before {
    color: #f4f7ff !important;
}


/*
 * 2. DESCARGANDO
 *
 * 32px icono
 * + 1px separación transparente por lado
 * + 2px progreso por lado
 * = 38px exteriores.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12 {
    position: relative !important;

    display: inline-grid !important;
    place-items: center !important;

    width: 38px !important;
    height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: transparent !important;
    box-shadow: none !important;
}


/*
 * Solo se pinta el porcentaje completado.
 * El resto no tiene color.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        conic-gradient(
            #22c55e
                var(--golda-download-progress),
            transparent
                0
        );

    -webkit-mask:
        radial-gradient(
            farthest-side,
            transparent
                calc(100% - 3px),
            #000
                calc(100% - 3px)
        );

    mask:
        radial-gradient(
            farthest-side,
            transparent
                calc(100% - 3px),
            #000
                calc(100% - 3px)
        );

    pointer-events: none;
}


/*
 * Separación de 1px transparente entre
 * icono y progreso.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-core-v12 {
    position: relative !important;
    z-index: 1;

    display: grid !important;
    place-items: center !important;

    width: 34px !important;
    height: 34px !important;

    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 0 !important;

    border:
        1px solid transparent !important;

    border-radius:
        50% !important;

    background:
        transparent !important;

    color:
        #f4f7ff !important;
}


#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-core-v12
> i.fa-circle-arrow-down,
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-core-v12
> i.fa-circle-arrow-down::before {
    font-size:
        28px !important;

    line-height:
        1 !important;

    color:
        #f4f7ff !important;
}


/*
 * Complete transitorio antes del rebind final.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12.is-complete::before {
    display:
        none !important;
}


#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12.is-complete
.golda-download-ring-core-v12
> i.fa-circle-arrow-down,
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12.is-complete
.golda-download-ring-core-v12
> i.fa-circle-arrow-down::before {
    color:
        #22c55e !important;
}


/*
 * Error: mantiene el mismo icono,
 * solamente feedback rojo.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12.is-error::before {
    background:
        conic-gradient(
            #f87171 100%,
            transparent 0
        ) !important;
}


/*
 * 3. DESCARGADO
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11
> i.fa-circle-arrow-down,
#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11
> i.fa-circle-arrow-down::before {
    color:
        #22c55e !important;
}


/* ==========================================================
 * CAMPANA ACTIVA — AMARILLO
 *
 * Estos selectores usan el ID real del botón.
 * La regla violeta histórica queda vencida.
 * ========================================================== */

#detailView
.golda-detail-v3
#detailFollowButtonV3.is-active,
#detailView
.golda-detail-v3
#detailFollowButtonV3[aria-pressed="true"],
#detailView
.golda-detail-v3
#detailFollowButtonV3.is-active
> i,
#detailView
.golda-detail-v3
#detailFollowButtonV3[aria-pressed="true"]
> i,
#detailView
.golda-detail-v3
#detailFollowButtonV3.is-active
> i::before,
#detailView
.golda-detail-v3
#detailFollowButtonV3[aria-pressed="true"]
> i::before {
    color:
        #facc15 !important;
}


#detailView
.golda-detail-v3
#detailFollowButtonV3.is-active,
#detailView
.golda-detail-v3
#detailFollowButtonV3[aria-pressed="true"] {
    background:
        transparent !important;

    border-color:
        transparent !important;

    box-shadow:
        none !important;
}

/* GOLDA_DETAIL_DOWNLOAD_UNIFIED_CIRCLE_ARROW_V6C_END */

/* ==========================================================
 * GOLDA_MOBILE_RESET_ICON_SCALE_V7_START
 *
 * Reiniciar:
 * - Desktop conserva 31px.
 * - Móvil baja a 28px para igualar su huella óptica
 *   con Biblioteca / Campana / Descarga.
 * - El click target del botón no cambia.
 * ========================================================== */

@media (max-width: 680px) {

    #detailView
    .golda-detail-v3
    #detailResetButton
    > i {
        font-size:
            28px !important;
    }

}

/* GOLDA_MOBILE_RESET_ICON_SCALE_V7_END */

/* ==========================================================
 * GOLDA_DETAIL_ICON_HITBOX_SCALE_V8_START
 *
 * ICONOS:
 * - Reiniciar:      27px
 * - Campana:        27px
 * - Mi Biblioteca:  28px
 * - Descarga:       28px
 *
 * HITBOX:
 * - solo cambia el ancho horizontal;
 * - altura permanece intacta;
 * - reducción exacta: 4px totales = 2px por lado.
 *
 * 64 -> 60
 * 52 -> 48
 * 47 -> 43
 * 43 -> 39
 * ========================================================== */


/* ----------------------------------------------------------
 * ICONOS — 27px
 * ---------------------------------------------------------- */

#detailView
.golda-detail-v3
#detailResetButton
> i,

#detailView
.golda-detail-v3
#detailFollowButtonV3
> i {
    font-size:
        27px !important;
}


/* ----------------------------------------------------------
 * ICONOS — 28px
 * ---------------------------------------------------------- */

#detailView
.golda-detail-v3
#detailFavoriteButtonV1
> i,

#detailView
.golda-detail-v3
#detailOfflineButton
> i.fa-circle-arrow-down,

#detailView
.golda-detail-v3
#detailOfflineButton
.golda-download-ring-core-v12
> i.fa-circle-arrow-down {
    font-size:
        28px !important;
}


/* ----------------------------------------------------------
 * DESCARGANDO
 *
 * 28px icono
 * + 1px separación por lado
 * + 2px aro por lado
 * = 34px exteriores.
 * ---------------------------------------------------------- */

#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12 {
    width:
        34px !important;

    height:
        34px !important;
}


#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-core-v12 {
    width:
        30px !important;

    height:
        30px !important;
}


/* ----------------------------------------------------------
 * HITBOX HORIZONTAL
 *
 * Desktop actual 64px -> 60px.
 * NO se declara height: permanece intacto.
 * ---------------------------------------------------------- */

#detailView .golda-detail-v3 #detailResetButton,
#detailView .golda-detail-v3 #detailFavoriteButtonV1,
#detailView .golda-detail-v3 #detailFollowButtonV3,
#detailView .golda-detail-v3 #detailOfflineButton {
    width:
        60px !important;

    min-width:
        60px !important;

    max-width:
        60px !important;

    flex-basis:
        60px !important;
}


/* 52px -> 48px */
@media (max-width: 1180px) {

    #detailView .golda-detail-v3 #detailResetButton,
    #detailView .golda-detail-v3 #detailFavoriteButtonV1,
    #detailView .golda-detail-v3 #detailFollowButtonV3,
    #detailView .golda-detail-v3 #detailOfflineButton {
        width:
            48px !important;

        min-width:
            48px !important;

        max-width:
            48px !important;

        flex-basis:
            48px !important;
    }

}


/* 47px -> 43px */
@media (max-width: 430px) {

    #detailView .golda-detail-v3 #detailResetButton,
    #detailView .golda-detail-v3 #detailFavoriteButtonV1,
    #detailView .golda-detail-v3 #detailFollowButtonV3,
    #detailView .golda-detail-v3 #detailOfflineButton {
        width:
            43px !important;

        min-width:
            43px !important;

        max-width:
            43px !important;

        flex-basis:
            43px !important;
    }

}


/* 43px -> 39px */
@media (max-width: 350px) {

    #detailView .golda-detail-v3 #detailResetButton,
    #detailView .golda-detail-v3 #detailFavoriteButtonV1,
    #detailView .golda-detail-v3 #detailFollowButtonV3,
    #detailView .golda-detail-v3 #detailOfflineButton {
        width:
            39px !important;

        min-width:
            39px !important;

        max-width:
            39px !important;

        flex-basis:
            39px !important;
    }

}


/*
 * V7 reducía Reiniciar a 28px en móvil.
 * V8 es autoridad final: Reiniciar = 27px en todos
 * los breakpoints.
 */
@media (max-width: 680px) {

    #detailView
    .golda-detail-v3
    #detailResetButton
    > i {
        font-size:
            27px !important;
    }

}


/*
 * Los colores funcionales siguen siendo autoridad:
 * Campana activa amarilla.
 */
#detailView
.golda-detail-v3
#detailFollowButtonV3.is-active
> i,

#detailView
.golda-detail-v3
#detailFollowButtonV3[aria-pressed="true"]
> i,

#detailView
.golda-detail-v3
#detailFollowButtonV3.is-active
> i::before,

#detailView
.golda-detail-v3
#detailFollowButtonV3[aria-pressed="true"]
> i::before {
    color:
        #facc15 !important;
}


/*
 * Descarga completa sigue verde.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11
> i.fa-circle-arrow-down,

#detailView
.golda-detail-v3
#detailOfflineButton.is-ready-v11
> i.fa-circle-arrow-down::before {
    color:
        #22c55e !important;
}

/* GOLDA_DETAIL_ICON_HITBOX_SCALE_V8_END */

/* ==========================================================
 * GOLDA_DETAIL_HITBOX_EXACT_V8B_START
 *
 * Corrección basada en la cascada histórica efectiva.
 *
 * ÚNICAMENTE ANCHO:
 *
 * >1180px       64 -> 60
 * 431–1180px    52 -> 48
 * 391–430px     44 -> 40
 * 351–390px     42 -> 38
 * <=350px       38 -> 34
 *
 * Altura intacta:
 *
 * 64 / 52 / 44 / 42 / 38
 *
 * Iconos intactos:
 *
 * Reiniciar 27px
 * Campana 27px
 * Mi Biblioteca 28px
 * Descarga 28px
 * ========================================================== */


/*
 * V8 ya dejó correctamente:
 *
 * >1180px    = 60px
 * 431–1180px = 48px
 *
 * V8B corrige exclusivamente los tres rangos
 * estrechos cuya autoridad histórica estaba más abajo.
 */


/* 391–430px: 44 -> 40 */
@media (max-width: 430px) {

    #detailView .golda-detail-v3 #detailResetButton,
    #detailView .golda-detail-v3 #detailFavoriteButtonV1,
    #detailView .golda-detail-v3 #detailFollowButtonV3,
    #detailView .golda-detail-v3 #detailOfflineButton {
        flex:
            0 0 40px !important;

        flex-basis:
            40px !important;

        width:
            40px !important;

        min-width:
            40px !important;

        max-width:
            40px !important;
    }

}


/* 351–390px: 42 -> 38 */
@media (max-width: 390px) {

    #detailView .golda-detail-v3 #detailResetButton,
    #detailView .golda-detail-v3 #detailFavoriteButtonV1,
    #detailView .golda-detail-v3 #detailFollowButtonV3,
    #detailView .golda-detail-v3 #detailOfflineButton {
        flex:
            0 0 38px !important;

        flex-basis:
            38px !important;

        width:
            38px !important;

        min-width:
            38px !important;

        max-width:
            38px !important;
    }

}


/* <=350px: 38 -> 34 */
@media (max-width: 350px) {

    #detailView .golda-detail-v3 #detailResetButton,
    #detailView .golda-detail-v3 #detailFavoriteButtonV1,
    #detailView .golda-detail-v3 #detailFollowButtonV3,
    #detailView .golda-detail-v3 #detailOfflineButton {
        flex:
            0 0 34px !important;

        flex-basis:
            34px !important;

        width:
            34px !important;

        min-width:
            34px !important;

        max-width:
            34px !important;
    }

}

/* GOLDA_DETAIL_HITBOX_EXACT_V8B_END */

/* ==========================================================
 * GOLDA_DOWNLOAD_ACTIVE_NO_GROW_V8C_START
 *
 * Estado normal:
 *   icono = 28x28
 *
 * Estado descargando:
 *   layout interno = 28x28 (NO crece)
 *   icono = 28x28
 *
 * Aro visual:
 *   1px separación transparente
 *   3px progreso
 *   diámetro exterior visible = 36px
 *
 * El aro se dibuja FUERA del layout mediante inset:-4px.
 * ========================================================== */


/*
 * El botón conserva exactamente el hitbox responsive V8B.
 * Permitimos que el aro visual sobresalga sin recortarse.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12 {
    overflow:
        visible !important;
}


/*
 * El host del estado activo ocupa exactamente lo mismo
 * que el icono normal: 28x28.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12 {
    position:
        relative !important;

    display:
        inline-grid !important;

    place-items:
        center !important;

    flex:
        0 0 28px !important;

    width:
        28px !important;

    min-width:
        28px !important;

    max-width:
        28px !important;

    height:
        28px !important;

    min-height:
        28px !important;

    max-height:
        28px !important;

    margin:
        0 !important;

    padding:
        0 !important;

    overflow:
        visible !important;

    border:
        0 !important;

    background:
        transparent !important;

    box-shadow:
        none !important;
}


/*
 * El aro NO altera el layout.
 *
 * 28px icono
 * + 1px gap por lado
 * + 3px ring por lado
 * = 36px exterior.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12::before {
    position:
        absolute !important;

    inset:
        -4px !important;

    border-radius:
        50% !important;

    pointer-events:
        none !important;
}


/*
 * Core exactamente 28x28.
 * Sin borde que pueda consumir espacio.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-core-v12 {
    position:
        relative !important;

    z-index:
        1 !important;

    display:
        grid !important;

    place-items:
        center !important;

    width:
        28px !important;

    min-width:
        28px !important;

    max-width:
        28px !important;

    height:
        28px !important;

    min-height:
        28px !important;

    max-height:
        28px !important;

    box-sizing:
        border-box !important;

    margin:
        0 !important;

    padding:
        0 !important;

    overflow:
        visible !important;

    border:
        0 !important;

    border-radius:
        50% !important;

    background:
        transparent !important;
}


/*
 * Esta regla tiene deliberadamente mayor especificidad que
 * el 32px histórico de V6C.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12
.golda-download-ring-core-v12
> i.fa-circle-arrow-down,

#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12
.golda-download-ring-core-v12
> i.fa-circle-arrow-down::before {
    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    width:
        28px !important;

    height:
        28px !important;

    margin:
        0 !important;

    padding:
        0 !important;

    font-size:
        28px !important;

    line-height:
        1 !important;

    color:
        #f4f7ff !important;
}


/*
 * Al completar transitoriamente conserva 28px
 * y pasa a verde sin cambiar geometría.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12.is-complete
.golda-download-ring-core-v12
> i.fa-circle-arrow-down,

#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12.is-complete
.golda-download-ring-core-v12
> i.fa-circle-arrow-down::before {
    font-size:
        28px !important;

    color:
        #22c55e !important;
}

/* GOLDA_DOWNLOAD_ACTIVE_NO_GROW_V8C_END */


/* GOLDA_DETAIL_ICON_EFFECTIVE_PARITY_V9 */


/* GOLDA_DETAIL_DOWNLOAD_RING_3PX_V10B
 * Icono: 28px
 * Gap: 1px
 * Aro: 3px
 * Exterior visual: 36px
 * Efecto en layout: 0px
 */

/* ==========================================================
 * GOLDA_DOWNLOAD_FULL_HIT_TARGET_V11A_START
 *
 * Durante descarga:
 *
 * - el BUTTON es el único dueño del hit-test;
 * - ring / core / icono son estrictamente visuales;
 * - el aro sigue sobresaliendo visualmente;
 * - no cambia geometría, tamaño ni progreso.
 * ========================================================== */

#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12 {
    pointer-events:
        auto !important;

    touch-action:
        manipulation !important;

    cursor:
        pointer !important;
}


/*
 * Toda capa visual interna queda transparente a eventos.
 *
 * El clic/tap atraviesa:
 * ring -> core -> icono
 *
 * y aterriza directamente en #detailOfflineButton.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
*,

#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
*::before,

#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
*::after {
    pointer-events:
        none !important;
}


/*
 * Declaración explícita de las tres capas actuales para
 * proteger el contrato aunque cambien otras reglas globales.
 */
#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-v12,

#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-core-v12,

#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
i.fa-circle-arrow-down,

#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
i.fa-circle-arrow-down::before {
    pointer-events:
        none !important;
}

/* GOLDA_DOWNLOAD_FULL_HIT_TARGET_V11A_END */

/* ==========================================================
 * GOLDA_BIBLIOTECA_DOWNLOAD_ACTION_V1_START
 *
 * Botón Offline de /biblioteca/.
 *
 * Icono: 28px
 * Separación: 1px
 * Aro: 3px
 * Exterior visual: 36px
 * ========================================================== */

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1 {
    position: static !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;

    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: transparent !important;
    box-shadow: none !important;

    color: #f4f7ff !important;

    overflow: visible !important;

    cursor: pointer !important;
    touch-action: manipulation !important;

    transform: none !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1:hover,

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1:focus,

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1:focus-visible,

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1:active {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1
> i.fa-circle-arrow-down {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    height: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 28px !important;
    line-height: 1 !important;

    color: #f4f7ff !important;
}


/* DESCARGADO */

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-ready-v11
> i.fa-circle-arrow-down,

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-ready-v11
> i.fa-circle-arrow-down::before {
    color: #22c55e !important;
}


/* DESCARGANDO */

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-downloading-v12 {
    overflow: visible !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    opacity: 1 !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-downloading-v12
.golda-download-ring-v12 {
    position: relative !important;

    display: inline-grid !important;
    place-items: center !important;

    flex: 0 0 28px !important;

    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;

    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: transparent !important;
    box-shadow: none !important;
}


/* 28 + 1 + 3 = 36px exterior */

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-downloading-v12
.golda-download-ring-v12::before {
    content: "" !important;

    position: absolute !important;
    inset: -4px !important;

    border-radius: 50% !important;

    background:
        conic-gradient(
            #22c55e
                var(--golda-download-progress),
            transparent 0
        ) !important;

    -webkit-mask:
        radial-gradient(
            farthest-side,
            transparent calc(100% - 3px),
            #000 calc(100% - 3px)
        ) !important;

    mask:
        radial-gradient(
            farthest-side,
            transparent calc(100% - 3px),
            #000 calc(100% - 3px)
        ) !important;

    pointer-events: none !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-downloading-v12
.golda-download-ring-core-v12 {
    position: relative !important;
    z-index: 1 !important;

    display: grid !important;
    place-items: center !important;

    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;

    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;

    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: transparent !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-downloading-v12
.golda-download-ring-core-v12
> i.fa-circle-arrow-down,

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-downloading-v12
.golda-download-ring-core-v12
> i.fa-circle-arrow-down::before {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    height: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 28px !important;
    line-height: 1 !important;

    color: #f4f7ff !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-downloading-v12
*,

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-downloading-v12
*::before,

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-downloading-v12
*::after {
    pointer-events: none !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1:disabled:not(.is-downloading-v12) {
    opacity: .55 !important;
    cursor: default !important;
}

/* GOLDA_BIBLIOTECA_DOWNLOAD_ACTION_V1_END */

/* ==========================================================
 * GOLDA_BIBLIOTECA_COMPLETED_SECTION_V1
 *
 * /biblioteca/
 * - H2 Completados ocupa una fila completa.
 * - solo las tarjetas 100% reciben barra verde.
 * ========================================================== */

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorites-completed-heading-v1 {
    grid-column:
        1 / -1;

    width:
        100%;

    margin:
        18px 0 0;

    padding:
        0;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorites-completed-heading-v1 h2 {
    margin:
        0;

    padding:
        0;
}


/*
 * Barra verde exclusivamente cuando la tarjeta fue
 * clasificada al 100% por el renderer de Biblioteca.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-row-v3.is-library-completed-v1
.continue-reading-progress-fill {
    background:
        #22c55e !important;
}

/* GOLDA_BIBLIOTECA_COMPLETED_SECTION_V1_END */

/* ==========================================================
 * GOLDA_DOWNLOAD_STOP_ICON_LIBRARY_ALIGN_V1
 *
 * ACTIVE:
 *   fa-circle-stop = 28px
 *
 * BIBLIOTECA:
 *   barra | porcentaje | botón
 * ========================================================== */


/* DETAIL — STOP activo */

#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-core-v12
> i.fa-circle-stop {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;

    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 28px !important;
    line-height: 1 !important;

    color: #f4f7ff !important;

    pointer-events: none !important;
}


#detailView
.golda-detail-v3
#detailOfflineButton.is-downloading-v12
.golda-download-ring-core-v12
> i.fa-circle-stop::before {
    color: #f4f7ff !important;
    pointer-events: none !important;
}


/* BIBLIOTECA — barra + porcentaje + descarga */

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-progress-row-v5 {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-width: 0 !important;

    gap: 6px !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-progress-row-v5
> .continue-reading-progress {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-progress-row-v5
> .continue-reading-percent {
    flex: 0 0 auto !important;
}


/*
 * El antiguo contenedor absoluto pasa a formar parte
 * de la fila de progreso.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-progress-row-v5
> .golda-favorite-actions-v3 {
    position: static !important;

    top: auto !important;
    right: auto !important;

    z-index: auto !important;

    display: grid !important;
    place-items: center !important;

    flex: 0 0 38px !important;

    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;

    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    align-self: center !important;
}


/* BIBLIOTECA — STOP activo */

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-downloading-v12
.golda-download-ring-core-v12
> i.fa-circle-stop {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;

    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 28px !important;
    line-height: 1 !important;

    color: #f4f7ff !important;

    pointer-events: none !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-downloading-v12
.golda-download-ring-core-v12
> i.fa-circle-stop::before {
    color: #f4f7ff !important;
    pointer-events: none !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-downloading-v12
i.fa-circle-stop,

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-downloading-v12
i.fa-circle-stop::before {
    pointer-events: none !important;
}

/* GOLDA_DOWNLOAD_STOP_ICON_LIBRARY_ALIGN_V1_END */

/* ==========================================================
 * GOLDA_BIBLIOTECA_DOWNLOAD_ROW_VISUAL_FIX_V1
 * SUPERSEDED_BY=GOLDA_BIBLIOTECA_DOWNLOAD_ROW_VISUAL_FIX_V2
 *
 * GOLDA_BIBLIOTECA_DOWNLOAD_ROW_VISUAL_FIX_V2
 *
 * El botón continúa visualmente junto a la barra, pero
 * deja de participar en la altura de progressRow.
 * ========================================================== */


/*
 * El padding de 48px pertenecía al antiguo control
 * posicionado en la esquina superior derecha.
 *
 * El botón ya no vive allí.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-row-v3
.golda-favorite-copy-v3 {
    min-width: 0 !important;
    padding-right: 0 !important;
}


/*
 * Restaurar el metadato "Capítulo X de Y" a un elemento
 * normal. No necesita grid ni espacios internos.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-progress-meta-v4 {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    row-gap: 0 !important;
}


/*
 * La fila real vuelve a tener únicamente la altura natural
 * de barra + porcentaje.
 *
 * Los 48px derechos son solo reserva HORIZONTAL para el
 * hitbox del botón absoluto.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-progress-row-v5 {
    position: relative !important;

    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    gap: 8px !important;

    margin: 0 !important;
    padding: 0 48px 0 0 !important;

    box-sizing: border-box !important;
    overflow: visible !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-progress-row-v5
> .continue-reading-progress {
    flex: 1 1 auto !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-progress-row-v5
> .continue-reading-percent {
    flex: 0 0 auto !important;

    min-width: 34px !important;

    margin: 0 !important;

    text-align: right !important;
    white-space: nowrap !important;
}


/*
 * CRÍTICO:
 *
 * actions continúa siendo hijo de progressRow en el DOM,
 * pero position:absolute lo elimina del flujo vertical.
 *
 * top:50% lo deja exactamente al nivel de barra/porcentaje.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-progress-row-v5
> .golda-favorite-actions-v3 {
    position: absolute !important;

    top: 50% !important;
    right: 0 !important;

    z-index: 8 !important;

    display: grid !important;
    place-items: center !important;

    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;

    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;

    overflow: visible !important;
}


/*
 * El botón interno mantiene su hitbox y su escala.
 */
#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-progress-row-v5
> .golda-favorite-actions-v3
> .golda-library-download-action-v1 {
    position: static !important;

    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;

    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;

    margin: 0 !important;
}


/*
 * No tocar:
 * - fa-circle-stop 28px;
 * - aro de descarga;
 * - barra verde de completados;
 * - motor Offline.
 */

/* GOLDA_BIBLIOTECA_DOWNLOAD_ROW_VISUAL_FIX_V1_END */
/* GOLDA_BIBLIOTECA_DOWNLOAD_ROW_VISUAL_FIX_V2_END */

/* ==========================================================
 * GOLDA_BIBLIOTECA_REMOVE_COVER_PLAY_V1
 *
 * /biblioteca/
 * Oculta únicamente el Play superpuesto sobre la portada.
 * La tarjeta completa conserva su navegación.
 * ========================================================== */

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-row-v3
.continue-reading-play {
    display: none !important;
}

/* GOLDA_BIBLIOTECA_REMOVE_COVER_PLAY_V1_END */

/* ==========================================================
 * GOLDA_BIBLIOTECA_NEW_CHAPTER_BADGE_V1
 *
 * Badge de nuevos capítulos inline antes del título.
 *
 * +1 CAP
 * +N CAPS
 * ========================================================== */

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-title-line-v6 {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-width: 0 !important;

    gap: 7px !important;

    margin: 0 !important;
    padding: 0 !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-title-line-v6
> .golda-favorite-new-chapters-badge-v1 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    margin: 0 !important;

    padding:
        4px 6px !important;

    border:
        0 !important;

    border-radius:
        4px !important;

    background:
        #22c55e !important;

    color:
        #000000 !important;

    font-size:
        .64rem !important;

    font-weight:
        900 !important;

    line-height:
        1 !important;

    letter-spacing:
        .01em !important;

    white-space:
        nowrap !important;
}


#goldaSectionsPrimaryV1.is-favorites-v2
.golda-favorite-title-line-v6
> .golda-favorite-title-v6 {
    display: block !important;

    flex:
        1 1 auto !important;

    min-width:
        0 !important;

    overflow:
        hidden !important;

    text-overflow:
        ellipsis !important;

    white-space:
        nowrap !important;
}

/* GOLDA_BIBLIOTECA_NEW_CHAPTER_BADGE_V1_END */


/* ==========================================================
 * GOLDA_REGULAR_CIRCLE_ICON_RENDER_FIX_V2_START
 *
 * Clases canónicas:
 *   fa-regular fa-circle-plus
 *   fa-regular fa-circle-arrow-down
 *
 * Render local estable para el paquete Font Awesome actual.
 * ========================================================== */

.fa-regular.fa-circle-plus::before,
.fa-regular.fa-circle-arrow-down::before {
    content: "" !important;

    display:
        inline-block !important;

    width:
        1em !important;

    height:
        1em !important;

    background-color:
        currentColor !important;

    -webkit-mask-repeat:
        no-repeat !important;

    mask-repeat:
        no-repeat !important;

    -webkit-mask-position:
        center !important;

    mask-position:
        center !important;

    -webkit-mask-size:
        contain !important;

    mask-size:
        contain !important;

    font-family:
        initial !important;

    font-weight:
        normal !important;
}

.fa-regular.fa-circle-plus::before {
    -webkit-mask-image:
        url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+CjxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS45Ii8+CjxwYXRoIGQ9Ik0xMiA4djhNOCAxMmg4IiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuOSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+Cjwvc3ZnPg==") !important;

    mask-image:
        url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+CjxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS45Ii8+CjxwYXRoIGQ9Ik0xMiA4djhNOCAxMmg4IiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuOSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+Cjwvc3ZnPg==") !important;
}

.fa-regular.fa-circle-arrow-down::before {
    -webkit-mask-image:
        url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+CjxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS45Ii8+CjxwYXRoIGQ9Ik0xMiA3LjV2OC4yNU04Ljc1IDEyLjc1TDEyIDE2bDMuMjUtMy4yNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4=") !important;

    mask-image:
        url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+CjxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS45Ii8+CjxwYXRoIGQ9Ik0xMiA3LjV2OC4yNU04Ljc1IDEyLjc1TDEyIDE2bDMuMjUtMy4yNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4=") !important;
}

/* GOLDA_REGULAR_CIRCLE_ICON_RENDER_FIX_V2_END */

/* ==========================================================
 * GOLDA_DETAIL_REGULAR_ICON_SCALE_V1_START
 *
 * Regular conserva sus clases canónicas.
 * Sólo aumenta su tamaño visual en Detalle.
 * ========================================================== */

#detailView
.golda-detail-v3
#detailFavoriteButtonV1
> i.fa-regular.fa-circle-plus::before,

#detailView
.golda-detail-v3
#detailOfflineButton:not(.is-ready-v11):not(.is-downloading-v12)
> i.fa-regular.fa-circle-arrow-down::before {
    transform:
        scale(1.12) !important;

    transform-origin:
        center center !important;
}

/* GOLDA_DETAIL_REGULAR_ICON_SCALE_V1_END */

/* ==========================================================
 * GOLDA_BIBLIOTECA_READY_DOWNLOAD_ICON_SIZE_V1_START
 *
 * Igualar visualmente el icono solid descargado
 * con el tamaño aparente del regular pendiente.
 *
 * Hitbox permanece intacto.
 * ========================================================== */

#goldaSectionsPrimaryV1.is-favorites-v2
.golda-library-download-action-v1.is-ready-v11
> i.fa-solid.fa-circle-arrow-down {
    transform:
        scale(.75) !important;

    transform-origin:
        center center !important;
}

/* GOLDA_BIBLIOTECA_READY_DOWNLOAD_ICON_SIZE_V1_END */


/* ==========================================================
 * GOLDA_PREMIERE_PLUS_DIRECT_CSS_V4R2_START
 *
 * Portada > Estrenos
 *
 * HTML real:
 * .golda-library-premiere-favorite-v1
 *
 * Sólo estado inactivo.
 * Conserva posición y hitbox del botón.
 * Elimina únicamente su carcasa visible.
 * ========================================================== */

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1:not(.is-active):not([aria-pressed="true"]),

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1:not(.is-active):not([aria-pressed="true"]):hover,

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1:not(.is-active):not([aria-pressed="true"]):focus,

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1:not(.is-active):not([aria-pressed="true"]):focus-visible,

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1:not(.is-active):not([aria-pressed="true"]):active {
    background:
        transparent !important;

    background-color:
        transparent !important;

    background-image:
        none !important;

    border:
        0 !important;

    border-color:
        transparent !important;

    box-shadow:
        none !important;

    text-shadow:
        none !important;

    backdrop-filter:
        none !important;

    -webkit-backdrop-filter:
        none !important;

    filter:
        none !important;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1:not(.is-active):not([aria-pressed="true"])::before,

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1:not(.is-active):not([aria-pressed="true"])::after {
    content:
        none !important;

    display:
        none !important;

    background:
        none !important;

    box-shadow:
        none !important;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1:not(.is-active):not([aria-pressed="true"])
> i.fa-regular.fa-circle-plus {
    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    width:
        1em !important;

    min-width:
        1em !important;

    height:
        1em !important;

    min-height:
        1em !important;

    margin:
        0 !important;

    padding:
        0 !important;

    font-size:
        30px !important;

    line-height:
        1 !important;

    background:
        transparent !important;

    border:
        0 !important;

    box-shadow:
        none !important;

    filter:
        none !important;

    transform:
        none !important;
}

/* GOLDA_PREMIERE_PLUS_DIRECT_CSS_V4R2_END */

/* ==========================================================
 * GOLDA_PREMIERE_ACTIVE_CHECK_CLEAN_V4R3_START
 *
 * Estrenos:
 * el estado guardado debe seguir la misma lógica visual
 * que el + inactivo: sólo icono, sin carcasa externa.
 * ========================================================== */

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1.is-active,

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1[aria-pressed="true"],

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1.is-active:hover,

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1.is-active:focus,

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1.is-active:focus-visible,

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1.is-active:active {
    background:
        transparent !important;

    background-color:
        transparent !important;

    background-image:
        none !important;

    border:
        0 !important;

    border-color:
        transparent !important;

    box-shadow:
        none !important;

    text-shadow:
        none !important;

    backdrop-filter:
        none !important;

    -webkit-backdrop-filter:
        none !important;

    filter:
        none !important;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1.is-active::before,

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1.is-active::after,

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1[aria-pressed="true"]::before,

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1[aria-pressed="true"]::after {
    content:
        none !important;

    display:
        none !important;

    background:
        none !important;

    box-shadow:
        none !important;
}


#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1.is-active
> i.fa-solid.fa-circle-check,

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1[aria-pressed="true"]
> i.fa-solid.fa-circle-check {
    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    width:
        1em !important;

    min-width:
        1em !important;

    height:
        1em !important;

    min-height:
        1em !important;

    margin:
        0 !important;

    padding:
        0 !important;

    font-size:
        30px !important;

    line-height:
        1 !important;

    background:
        transparent !important;

    border:
        0 !important;

    box-shadow:
        none !important;

    filter:
        none !important;

    transform:
        none !important;
}

/* GOLDA_PREMIERE_ACTIVE_CHECK_CLEAN_V4R3_END */

/* ==========================================================
 * GOLDA_FAVORITE_CHECK_VISUAL_PARITY_V1_START
 *
 * Referencia visual:
 *   fa-regular fa-circle-plus
 *
 * El círculo del SVG regular ocupa ~75% del em.
 * El fa-solid fa-circle-check llena prácticamente todo el em.
 *
 * Reducir exclusivamente el check sólido mantiene el mismo
 * diámetro aparente sin modificar botón, hitbox ni lógica.
 *
 * Targets:
 * - Portada > Estrenos
 * - Portada > Nuevos manhwas
 * - Explorar
 * ========================================================== */


/* ----------------------------------------------------------
 * 1. PORTADA > ESTRENOS
 * ---------------------------------------------------------- */

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1.is-active
> i.fa-solid.fa-circle-check,

#libraryView.golda-library-view-shelf
.golda-library-premiere-feature-v1
.golda-library-premiere-grid-v1
.golda-library-premiere-card-v1
.golda-library-premiere-cover-host-v1c
> .golda-library-premiere-favorite-v1[aria-pressed="true"]
> i.fa-solid.fa-circle-check {
    transform:
        scale(.75) !important;

    transform-origin:
        center center !important;
}


/* ----------------------------------------------------------
 * 2. PORTADA > NUEVOS MANHWAS
 * ---------------------------------------------------------- */

#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-slide
> .golda-marquee-favorite-v1.is-active
> i.fa-solid.fa-circle-check,

#goldaNewManhwaMarquee
.golda-new-manhwa-marquee-slide
> .golda-marquee-favorite-v1[aria-pressed="true"]
> i.fa-solid.fa-circle-check {
    transform:
        scale(.75) !important;

    transform-origin:
        center center !important;
}


/* ----------------------------------------------------------
 * 3. EXPLORAR
 * ---------------------------------------------------------- */

#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
> .golda-section-favorite-v1.is-active
> i.fa-solid.fa-circle-check,

#goldaSectionsPrimaryV1
.golda-section-book-card-v1.is-explore-parity-v1
> .golda-section-favorite-v1[aria-pressed="true"]
> i.fa-solid.fa-circle-check {
    transform:
        scale(.75) !important;

    transform-origin:
        center center !important;
}


/*
 * GOLDA_FAVORITE_ICON_CONTRAST_V1_START
 *
 * Autoridad visual compartida de Mi Biblioteca:
 *
 * - aplica a todos los controles registrados mediante
 *   data-golda-favorite-id;
 * - + inactivo: blanco puro / 100% opaco;
 * - check activo: verde puro / 100% opaco;
 * - sombra mínima únicamente sobre la silueta;
 * - no restaura carcasa, fondo ni borde del hitbox;
 * - no modifica tamaño, posición, transform ni lógica.
 */


/*
 * Nunca atenuar el control durante el pequeño intervalo
 * disabled usado para evitar doble clic.
 */
[data-golda-favorite-id],
[data-golda-favorite-id]:disabled {
    opacity:
        1 !important;
}


/*
 * Ambos glyphs permanecen totalmente opacos.
 */
[data-golda-favorite-id]
i.golda-library-favorite-icon-v4 {
    opacity:
        1 !important;
}


/*
 * ESTADO INACTIVO
 *
 * El circle-plus regular está renderizado mediante máscara
 * en ::before, por lo que la sombra se aplica directamente
 * a esa silueta.
 */
[data-golda-favorite-id]:not(.is-active):not([aria-pressed="true"])
i.fa-regular.fa-circle-plus.golda-library-favorite-icon-v4 {
    color:
        #ffffff !important;

    opacity:
        1 !important;
}


[data-golda-favorite-id]:not(.is-active):not([aria-pressed="true"])
i.fa-regular.fa-circle-plus.golda-library-favorite-icon-v4::before {
    opacity:
        1 !important;

    background-color:
        currentColor !important;

    filter:
        drop-shadow(
            0
            1px
            1px
            rgba(0,0,0,.55)
        ) !important;
}


/*
 * ESTADO ACTIVO
 *
 * El circle-check sólido conserva el verde actual.
 * text-shadow sigue exactamente la forma tipográfica
 * sin crear una carcasa exterior.
 */
[data-golda-favorite-id].is-active
i.fa-solid.fa-circle-check.golda-library-favorite-icon-v4,
[data-golda-favorite-id][aria-pressed="true"]
i.fa-solid.fa-circle-check.golda-library-favorite-icon-v4 {
    color:
        #22c55e !important;

    opacity:
        1 !important;

    text-shadow:
        0
        1px
        1px
        rgba(0,0,0,.55) !important;
}


[data-golda-favorite-id].is-active
i.fa-solid.fa-circle-check.golda-library-favorite-icon-v4::before,
[data-golda-favorite-id][aria-pressed="true"]
i.fa-solid.fa-circle-check.golda-library-favorite-icon-v4::before {
    opacity:
        1 !important;

    text-shadow:
        0
        1px
        1px
        rgba(0,0,0,.55) !important;
}

/* GOLDA_FAVORITE_ICON_CONTRAST_V1_END */

/* GOLDA_FAVORITE_CHECK_VISUAL_PARITY_V1_END */

/* ==========================================================
 * GOLDA_BIBLIOTECA_DESKTOP_TWO_COLUMNS_V1_START
 *
 * /biblioteca/
 *
 * Desktop:
 * - tarjetas activas: 2 columnas;
 * - tarjetas completadas: 2 columnas;
 * - tarjetas descargadas: 2 columnas;
 * - títulos de sección siguen ocupando ancho completo.
 *
 * <1024px:
 * - comportamiento histórico intacto.
 * ========================================================== */

@media (min-width: 1024px) {

    #goldaSectionsPrimaryV1.is-favorites-v2 {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            ) !important;
    }


    /*
     * Históricamente Descargas fuerza 1 / -1.
     * En desktop debe comportarse como cualquier otra tarjeta.
     */
    #goldaSectionsPrimaryV1.is-favorites-v2
    .golda-library-downloaded-row-v2 {
        grid-column:
            auto !important;
    }


    /*
     * Encabezados siempre ocupan ambas columnas.
     */
    #goldaSectionsPrimaryV1.is-favorites-v2
    .golda-favorites-completed-heading-v1,

    #goldaSectionsPrimaryV1.is-favorites-v2
    .golda-library-downloads-heading-v2,

    #goldaSectionsPrimaryV1.is-favorites-v2
    .golda-library-downloads-empty-v2 {
        grid-column:
            1 / -1 !important;
    }
}

/* GOLDA_BIBLIOTECA_DESKTOP_TWO_COLUMNS_V1_END */


/* GOLDA_PUSH_CSS_V11D5_START */
.golda-push-settings-v11d5 { display:flex; flex-direction:column; gap:7px; padding:11px 14px; border-bottom:1px solid rgba(255,255,255,.08); }
.golda-push-toggle-v11d5 { width:100%; min-height:38px; border:1px solid rgba(255,255,255,.16); border-radius:10px; background:rgba(255,255,255,.08); color:inherit; font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.golda-push-toggle-v11d5:disabled { opacity:.55; cursor:not-allowed; }
.golda-push-status-v11d5 { color:var(--muted,#9da0a6); font-size:11px; line-height:1.4; }
.golda-notification-panel .golda-notification-list { max-height:min(445px,calc(100vh - 235px)); }
@media(max-width:680px) { .golda-notification-panel .golda-notification-list { max-height:calc(100dvh - 225px); } }
/* GOLDA_PUSH_CSS_V11D5_END */
