/* =========================================================
   COMIXIO 9.3.9.141 - bibliotheque recentree
   Hierarchie de l'histoire active, planches et anciennes histoires.
========================================================= */

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] {
    --cx141-ink: #141c2c;
    --cx141-muted: #64748b;
    --cx141-line: #d9e0e8;
    --cx141-soft: #f6f8fb;
    --cx141-pink: #ff2d6f;
    --cx141-pink-dark: #e91f61;
    --cx141-cyan: #3edbff;
    --cx141-green: #087f5b;
}

/* Histoire active: une seule lecture, de gauche a droite. */
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured.storybd-library-story-box {
    padding: 20px !important;
    border: 1px solid rgba(20, 28, 44, .12) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 18px 44px rgba(8, 13, 24, .12) !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-perfect-hero {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) 290px !important;
    align-items: stretch !important;
    gap: 24px !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-perfect-hero .storybd-library-featured-summary {
    display: contents !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-cover {
    display: flex !important;
    flex-direction: column !important;
    align-self: start !important;
    width: 220px !important;
    max-width: 220px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-cover-read-link {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    border: 1px solid rgba(20, 28, 44, .14) !important;
    border-radius: 8px !important;
    background: var(--cx141-soft) !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-cover > img,
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-cover-read-link > img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    transition: opacity .2s ease !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-cover > small {
    display: none !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-image-badge {
    top: 8px !important;
    right: auto !important;
    bottom: auto !important;
    left: 8px !important;
    min-height: 26px !important;
    padding: 5px 9px !important;
    border-radius: 6px !important;
    background: rgba(20, 28, 44, .88) !important;
    color: #fff !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-cover-read-badge {
    min-height: 34px !important;
    padding: 7px 12px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: var(--cx141-pink) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(255, 45, 111, .26) !important;
    letter-spacing: 0 !important;
    transition: opacity .18s ease !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-cover .storybd-book-status-chip {
    align-self: flex-start !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 28px !important;
    margin: 9px 0 0 !important;
    padding: 6px 9px !important;
    border: 1px solid rgba(8, 127, 91, .20) !important;
    border-radius: 999px !important;
    background: #e9fbf4 !important;
    color: var(--cx141-green) !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-edit-open {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 38px !important;
    margin: 8px 0 0 !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(20, 28, 44, .14) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--cx141-ink) !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-edit-open:hover {
    border-color: rgba(255, 45, 111, .45) !important;
    background: #fff6f9 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-edit-open .storybd-cover-edit-price {
    color: var(--cx141-pink) !important;
    font-size: 10px !important;
    white-space: nowrap !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 13px !important;
    min-width: 0 !important;
    padding: 6px 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-active-kicker,
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planches-kicker,
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-eyebrow {
    display: inline-flex !important;
    color: var(--cx141-pink) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-title-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    min-width: 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-title-row h2 {
    max-width: 100% !important;
    margin: 0 !important;
    color: var(--cx141-ink) !important;
    font-size: 34px !important;
    font-weight: 950 !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-status-badge {
    min-height: 28px !important;
    padding: 6px 10px !important;
    border: 1px solid rgba(8, 127, 91, .18) !important;
    border-radius: 999px !important;
    background: #e9fbf4 !important;
    color: var(--cx141-green) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-status-badge > span {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #12b886 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-progress {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 480px !important;
    padding: 14px 0 !important;
    border-top: 1px solid var(--cx141-line) !important;
    border-bottom: 1px solid var(--cx141-line) !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-progress > span {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    min-width: 0 !important;
    padding-right: 14px !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-progress > span + span {
    padding-right: 0 !important;
    padding-left: 14px !important;
    border-left: 1px solid var(--cx141-line) !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-progress small {
    color: var(--cx141-muted) !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-progress strong {
    color: var(--cx141-ink) !important;
    font-size: 19px !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-continue {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 13px !important;
    min-height: 0 !important;
    padding: 10px 0 10px 24px !important;
    border: 0 !important;
    border-left: 1px solid var(--cx141-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-continue-eyebrow {
    color: var(--cx141-pink) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-next-step {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: end !important;
    justify-items: start !important;
    gap: 2px 12px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-next-step > span {
    grid-column: 1 / -1 !important;
    color: var(--cx141-muted) !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-next-step > strong {
    color: var(--cx141-ink) !important;
    font-size: 40px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-next-step > em {
    margin: 0 0 4px !important;
    color: var(--cx141-muted) !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-continue a.storybd-library-primary-continue {
    justify-content: space-between !important;
    min-height: 52px !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    background: var(--cx141-pink) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(255, 45, 111, .24) !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-continue a.storybd-library-primary-continue:hover {
    background: var(--cx141-pink-dark) !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-continue-cost {
    justify-content: flex-start !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--cx141-muted) !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-continue-cost > span {
    width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
}

/* L'offre reste volontairement avant les planches. */
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured > .storybd-library-print-offer {
    margin: 0 0 16px !important;
}

/* Planches: etat courant, derniere creation et prochaine action. */
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-panel {
    padding-top: 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planches-head {
    display: flex !important;
    align-items: end !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 18px 2px 14px !important;
    border-bottom: 1px solid var(--cx141-line) !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planches-head > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planches-head h3 {
    margin: 0 !important;
    color: var(--cx141-ink) !important;
    font-size: 21px !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planches-head > span {
    color: var(--cx141-muted) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: right !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planches-head > span b {
    color: var(--cx141-pink) !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planche-row {
    padding-top: 16px !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planche-row > .storybd-library-card.storybd-planche-card,
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planche-row > .storybd-library-future-card {
    border-radius: 8px !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planche-card.is-latest {
    outline: 2px solid rgba(255, 45, 111, .62) !important;
    outline-offset: 2px !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-latest-label {
    position: absolute !important;
    z-index: 7 !important;
    top: 9px !important;
    right: 8px !important;
    display: inline-flex !important;
    min-height: 25px !important;
    align-items: center !important;
    padding: 5px 8px !important;
    border-radius: 6px !important;
    background: var(--cx141-ink) !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-next-card {
    border: 1px solid rgba(255, 45, 111, .26) !important;
    background: #fff6f9 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-next-card > strong {
    max-width: 130px !important;
    color: var(--cx141-ink) !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

/* Anciennes histoires: couverture toujours visible, meme ouvertes. */
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card,
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-paginated-story {
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(20, 28, 44, .12) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(8, 13, 24, .06) !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card.is-open {
    grid-column: 1 / -1 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card > .storybd-library-story-toggle,
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card.is-open > .storybd-library-story-toggle {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    min-height: 132px !important;
    padding: 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    text-align: left !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card.is-open > .storybd-library-story-toggle {
    border-bottom: 1px solid var(--cx141-line) !important;
    background: var(--cx141-soft) !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card .storybd-library-story-cover,
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card.is-open > .storybd-library-story-toggle .storybd-library-story-cover {
    position: relative !important;
    display: block !important;
    width: 88px !important;
    min-width: 88px !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
    border: 1px solid rgba(20, 28, 44, .12) !important;
    border-radius: 6px !important;
    background: var(--cx141-soft) !important;
    box-shadow: none !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card .storybd-library-story-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card .storybd-library-story-text,
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card.is-open > .storybd-library-story-toggle .storybd-library-story-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 7px !important;
    min-width: 0 !important;
    padding: 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card .storybd-library-story-text > strong {
    display: -webkit-box !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: var(--cx141-ink) !important;
    font-size: 17px !important;
    font-weight: 950 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-overflow: ellipsis !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card .storybd-library-story-meta > em {
    display: inline-flex !important;
    width: auto !important;
    max-width: max-content !important;
    min-height: 25px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 5px 8px !important;
    border: 1px solid rgba(20, 28, 44, .10) !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: var(--cx141-muted) !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card .storybd-library-story-text > .storybd-book-status-chip {
    align-self: flex-start !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 25px !important;
    margin: 0 !important;
    padding: 5px 8px !important;
    border: 1px solid rgba(8, 127, 91, .18) !important;
    border-radius: 999px !important;
    background: #e9fbf4 !important;
    color: var(--cx141-green) !important;
    box-shadow: none !important;
    font-size: 9px !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card .storybd-library-story-text > .storybd-book-status-chip.is-preparing {
    border-color: rgba(2, 132, 199, .20) !important;
    background: #eaf8ff !important;
    color: #0369a1 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-action {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 114px !important;
    color: var(--cx141-ink) !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-action b {
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-action .is-open {
    display: none !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-toggle[aria-expanded="true"] .storybd-library-story-action .is-closed {
    display: none !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-toggle[aria-expanded="true"] .storybd-library-story-action .is-open {
    display: inline !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-action i {
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid rgba(20, 28, 44, .14) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--cx141-pink) !important;
    font-size: 17px !important;
    font-style: normal !important;
    transition: transform .18s ease !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-toggle[aria-expanded="true"] .storybd-library-story-action i {
    transform: rotate(90deg) !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card > .storybd-library-story-panel {
    padding: 16px !important;
    background: #fff !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card .storybd-library-print-offer-compact {
    margin-top: 0 !important;
}

/* Modification de couverture sans rechargement de page. */
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-update-progress {
    position: absolute !important;
    z-index: 20 !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 16px !important;
    border-radius: 7px !important;
    background: rgba(20, 28, 44, .92) !important;
    color: #fff !important;
    text-align: center !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-update-progress[data-state="success"] {
    background: rgba(8, 127, 91, .94) !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-update-progress[data-state="error"] {
    background: rgba(190, 24, 93, .95) !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-update-progress strong {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-update-progress small {
    max-width: 180px !important;
    color: rgba(255, 255, 255, .84) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-update-spinner {
    width: 30px !important;
    height: 30px !important;
    border: 3px solid rgba(255, 255, 255, .28) !important;
    border-top-color: #fff !important;
    border-radius: 50% !important;
    animation: storybdCoverUpdateSpin .8s linear infinite !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-update-progress[data-state="success"] .storybd-cover-update-spinner,
.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-update-progress[data-state="error"] .storybd-cover-update-spinner {
    display: none !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .is-cover-regenerating .storybd-library-cover-read-badge {
    opacity: 0 !important;
}

.storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .is-cover-regenerating .storybd-cover-edit-open {
    opacity: .58 !important;
    cursor: wait !important;
}

@keyframes storybdCoverUpdateSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-perfect-hero {
        grid-template-columns: 180px minmax(0, 1fr) !important;
        gap: 20px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-cover {
        width: 180px !important;
        max-width: 180px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-continue {
        grid-column: 1 / -1 !important;
        padding: 18px 0 0 !important;
        border-top: 1px solid var(--cx141-line) !important;
        border-left: 0 !important;
    }
}

@media (max-width: 760px) {
    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured.storybd-library-story-box {
        padding: 12px !important;
        border-radius: 8px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-perfect-hero {
        grid-template-columns: 112px minmax(0, 1fr) !important;
        align-items: start !important;
        gap: 14px !important;
        margin-bottom: 14px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-cover {
        width: 112px !important;
        max-width: 112px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-image-badge,
    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-cover-read-badge {
        display: none !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-cover .storybd-book-status-chip {
        width: 100% !important;
        justify-content: center !important;
        font-size: 9px !important;
        text-align: center !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-edit-open {
        flex-direction: column !important;
        justify-content: center !important;
        gap: 2px !important;
        min-height: 42px !important;
        padding: 6px !important;
        text-align: center !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-copy {
        gap: 9px !important;
        padding: 2px 0 !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-active-kicker {
        font-size: 9px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-title-row {
        gap: 7px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-title-row h2 {
        font-size: 23px !important;
        line-height: 1.08 !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-status-badge {
        min-height: 24px !important;
        padding: 5px 8px !important;
        font-size: 9px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-progress {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        padding: 9px 0 !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-progress > span,
    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-progress > span + span {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-progress small {
        font-size: 9px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-progress strong {
        font-size: 13px !important;
        white-space: nowrap !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-continue {
        gap: 10px !important;
        padding-top: 14px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-next-step {
        grid-template-columns: auto minmax(0, 1fr) !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-next-step > strong {
        font-size: 33px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-continue a.storybd-library-primary-continue {
        min-height: 50px !important;
        font-size: 14px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planches-head {
        align-items: flex-start !important;
        padding: 15px 0 12px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planches-head h3 {
        font-size: 18px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planches-head > span {
        max-width: 118px !important;
        font-size: 10px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planche-row > .storybd-library-card.storybd-planche-card,
    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-planche-row > .storybd-library-future-card {
        flex: 0 0 min(68vw, 240px) !important;
        width: min(68vw, 240px) !important;
        max-width: min(68vw, 240px) !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-latest-label {
        top: 8px !important;
        right: 7px !important;
        font-size: 8px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card > .storybd-library-story-toggle,
    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card.is-open > .storybd-library-story-toggle {
        grid-template-columns: 72px minmax(0, 1fr) 34px !important;
        gap: 10px !important;
        min-height: 112px !important;
        padding: 9px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card .storybd-library-story-cover,
    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card.is-open > .storybd-library-story-toggle .storybd-library-story-cover {
        width: 72px !important;
        min-width: 72px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card .storybd-library-story-text {
        gap: 5px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-eyebrow {
        font-size: 8px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card .storybd-library-story-text > strong {
        font-size: 15px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-meta > em:nth-child(2) {
        display: none !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-action {
        min-width: 0 !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-action b {
        display: none !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-story-action i {
        width: 32px !important;
        height: 32px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-other-card > .storybd-library-story-panel {
        padding: 10px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-update-progress {
        gap: 5px !important;
        padding: 8px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-update-progress strong {
        font-size: 11px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-update-progress small {
        font-size: 9px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-update-spinner {
        width: 24px !important;
        height: 24px !important;
    }
}

@media (max-width: 380px) {
    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-perfect-hero {
        grid-template-columns: 96px minmax(0, 1fr) !important;
        gap: 11px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-cover {
        width: 96px !important;
        max-width: 96px !important;
    }

    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-library-featured-title-row h2 {
        font-size: 20px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .storybd-v7.storybd-library[data-storybd-library-ux="9.3.9.141"] .storybd-cover-update-spinner {
        animation-duration: 1.6s !important;
    }
}
