/*
 * Tema MS Stories (baca-tulis/*) -- identitas MS Stories (navbar gelap,
 * warna aksen dari admin Tema, mode gelap) TETAP, tapi bahasa desainnya
 * disamakan dgn situs utama: Plus Jakarta Sans + Fraunces utk judul,
 * latar kertas di mode terang, sampul berbentuk buku. Aktif lewat class
 * `bt-stories` yg dipasang baca-tulis/_header.php.
 */
body.bt-stories {
    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-family: var(--bs-body-font-family);
}

body.bt-stories:not(.bt-dark-mode),
body.bt-stories:not(.bt-dark-mode).bg-light {
    background-color: #f7f4ee !important;
    color: #1a1714;
}
body.bt-stories:not(.bt-dark-mode) .bg-light { background-color: #f7f4ee !important; }
body.bt-stories:not(.bt-dark-mode) .text-muted { color: #6b645c !important; }

body.bt-stories h1, body.bt-stories .h1,
body.bt-stories h2, body.bt-stories .h2,
body.bt-stories h3, body.bt-stories .h3,
body.bt-stories h4,
body.bt-stories h5.fw-bold {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.005em;
}
body.bt-stories h5.fw-bold { font-size: 1.35rem; }
body.bt-stories .navbar h1, body.bt-stories .navbar h5, body.bt-stories .modal-title { font-family: inherit; }

/* Kartu karya: sampul seperti buku fisik, tanpa kotak berbayang. */
body.bt-stories .bt-book-card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    overflow: visible;
}
body.bt-stories .bt-book-card:hover { transform: none !important; box-shadow: none !important; }
body.bt-stories .bt-book-card > a > .position-relative,
body.bt-stories .bt-book-card > a > .bt-img-shimmer { border-radius: 3px 6px 6px 3px; }
body.bt-stories .bt-book-card .book-cover,
body.bt-stories .bt-book-card .book-cover-placeholder,
body.bt-stories .bt-book-card .bt-img-shimmer {
    border-radius: 3px 6px 6px 3px !important;
    box-shadow: 0 1px 2px rgba(26, 23, 20, .18), 0 12px 24px -12px rgba(26, 23, 20, .45);
    transition: transform .3s ease;
}
body.bt-stories .bt-book-card .bt-img-shimmer .book-cover { box-shadow: none; }
body.bt-stories .bt-book-card:hover .book-cover,
body.bt-stories .bt-book-card:hover .book-cover-placeholder,
body.bt-stories .bt-book-card:hover .bt-img-shimmer { transform: translateY(-6px); }
body.bt-stories .bt-book-card .card-body { padding-left: 0; padding-right: 0; }
body.bt-stories .bt-book-card .bt-card-title { font-weight: 700; }
body.bt-stories.bt-dark-mode .bt-book-card .book-cover,
body.bt-stories.bt-dark-mode .bt-book-card .book-cover-placeholder,
body.bt-stories.bt-dark-mode .bt-book-card .bt-img-shimmer { box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .8); }

/* Sampul tipografis di kartu kecil: judul di bawah badge sudut. */
body.bt-stories .bt-book-card .sc-type-cover { padding-top: 2.6rem; padding-bottom: 2.2rem; }
@media (max-width: 575.98px) {
    body.bt-stories .bt-book-card .sc-type-cover-title { font-size: .9rem; }
}
/* Sampul besar di halaman detail novel. */
body.bt-stories .novel-cover-compact .sc-type-cover { border-radius: 4px 8px 8px 4px; box-shadow: 0 2px 4px rgba(26, 23, 20, .2), 0 18px 32px -16px rgba(26, 23, 20, .5); }
body.bt-stories .novel-cover-compact .sc-type-cover-title { font-size: 1.15rem; }

/* Tombol & form mengikuti tinta; tombol aksen (--bt-accent) tidak disentuh. */
body.bt-stories:not(.bt-dark-mode) .btn-outline-dark { border-color: #1a1714; color: #1a1714; }
body.bt-stories:not(.bt-dark-mode) .btn-outline-dark:hover { background: #1a1714; color: #f7f4ee; }
body.bt-stories:not(.bt-dark-mode) .btn-dark { background: #1a1714; border-color: #1a1714; }
body.bt-stories:not(.bt-dark-mode) .form-control,
body.bt-stories:not(.bt-dark-mode) .form-select { border-color: #e4ddd2; }
body.bt-stories:not(.bt-dark-mode) .form-control:focus,
body.bt-stories:not(.bt-dark-mode) .form-select:focus { border-color: #1a1714; box-shadow: 0 0 0 .2rem rgba(26, 23, 20, .08); }

/* Fade tepi baris geser (NovelCardHelper::renderHorizontalCardRow) mengikuti warna latar. */
body.bt-stories:not(.bt-dark-mode) [style*="rgba(248,249,250"] {
    background: linear-gradient(to right, rgba(247, 244, 238, 0), rgba(247, 244, 238, .95)) !important;
}
body.bt-stories.bt-dark-mode [style*="rgba(248,249,250"] {
    background: linear-gradient(to right, rgba(28, 25, 23, 0), rgba(28, 25, 23, .95)) !important;
}

/* Ikon dekoratif di depan judul bagian (renderSectionHeader) disembunyikan -- judul serif sudah cukup. */
body.bt-stories h5.fw-bold > i.bi:first-child { display: none; }

/* Radio/checkbox/switch: tinta, bukan biru bawaan Bootstrap. */
body.bt-stories:not(.bt-dark-mode) .form-check-input:checked { background-color: #1a1714; border-color: #1a1714; }
body.bt-stories:not(.bt-dark-mode) .form-check-input:focus { border-color: #1a1714; box-shadow: 0 0 0 .2rem rgba(26, 23, 20, .1); }

/* Dasbor penulis (baca-tulis/tulis/*): kartu bergaris tipis tanpa bayangan, angka serif. */
body.bt-writer:not(.bt-dark-mode) .card:not(.bt-book-card) { background: #fff; border: 1px solid #e4ddd2 !important; border-radius: 14px; box-shadow: none !important; }
body.bt-writer .card .fs-3.fw-bold, body.bt-writer .card .fs-4.fw-bold {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
}
body.bt-writer:not(.bt-dark-mode) > .bg-white.border-bottom { background: transparent !important; border-bottom-color: #e4ddd2 !important; }
body.bt-writer .card > a > .book-cover, body.bt-writer .card > a > .book-cover-placeholder,
body.bt-writer .card > .book-cover, body.bt-writer .card > .book-cover-placeholder { border-radius: 13px 13px 0 0; }
body.bt-writer .card .sc-type-cover { padding-top: 1.25rem; }

/* Detail novel: satu tombol utama (baca), aksi lain seragam & tenang. */
body.bt-stories .bt-read-btn {
    display: inline-flex; align-items: center;
    background: #1a1714; color: #f7f4ee; border: 0;
    font-weight: 600; padding: .65rem 1.25rem; border-radius: 999px;
}
body.bt-stories .bt-read-btn:hover { background: var(--bt-accent, #be123c); color: #1a1714; }
body.bt-stories .bt-action {
    border: 1px solid #e4ddd2; background: transparent; color: #1a1714;
    font-weight: 600; border-radius: 999px; padding: .4rem .85rem;
}
body.bt-stories .bt-action:hover, body.bt-stories .bt-action.show { border-color: #1a1714; color: #1a1714; background: transparent; }
body.bt-stories .bt-action.is-on { background: #1a1714; border-color: #1a1714; color: #f7f4ee; }
body.bt-stories.bt-dark-mode .bt-read-btn { background: #f7f4ee; color: #1a1714; }
body.bt-stories.bt-dark-mode .bt-action { border-color: #57534e; color: #e7e5e4; }

body.bt-stories .bt-detail-synopsis { margin-top: 1.5rem; max-width: 42rem; }
body.bt-stories .bt-detail-label { font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important; font-size: .78rem !important; font-weight: 700 !important; letter-spacing: .12em; text-transform: uppercase; color: #6b645c; margin-bottom: .5rem; }
body.bt-stories .bt-synopsis { font-family: 'Literata', Georgia, serif; font-size: 1.08rem; line-height: 1.75; white-space: pre-line; overflow-wrap: break-word; }
body.bt-stories .bt-tag { display: inline-block; font-size: .8rem; font-weight: 600; color: #6b645c; margin: 0 .75rem .35rem 0; text-decoration: none; }
body.bt-stories .bt-tag:hover { color: #1a1714; }

/* Daftar bab: nomor, judul, waktu baca; status sbg teks kecil. */
body.bt-stories .bt-chapter-list { border-radius: 0; }
body.bt-stories .bt-chapter-list .list-group-item { background: transparent; border-left: 0; border-right: 0; border-color: #e4ddd2; padding: .9rem .25rem; }
body.bt-stories .bt-chapter-list .list-group-item:first-child { border-top-left-radius: 0; border-top-right-radius: 0; }
body.bt-stories .bt-chapter-list .list-group-item:last-child { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
body.bt-stories .bt-chapter-list .list-group-item:hover { background: rgba(26, 23, 20, .03); }
body.bt-stories .bt-chapter-num { font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; color: #6b645c; width: 2.5rem; flex-shrink: 0; }
body.bt-stories .bt-chapter-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
body.bt-stories .bt-chapter-title { font-weight: 600; }
body.bt-stories .bt-chapter-meta { font-size: .8rem; color: #6b645c; }
body.bt-stories .bt-chapter-tag { font-size: .78rem; font-weight: 600; color: #6b645c; margin-left: 1rem; white-space: nowrap; }
body.bt-stories .bt-chapter-tag.is-locked { color: #1a1714; }
body.bt-stories.bt-dark-mode .bt-chapter-list .list-group-item { border-color: #44403c; }

/* Disiplin warna: tinta + aksen Tema. Biru/navy/kuning bawaan Bootstrap diganti. */
body.bt-stories:not(.bt-dark-mode) {
    --bs-link-color: #9f1239;
    --bs-link-color-rgb: 159, 18, 57;
    --bs-link-hover-color: #be123c;
    --bs-link-hover-color-rgb: 190, 18, 60;
}
body.bt-stories:not(.bt-dark-mode) .btn-primary-custom,
body.bt-stories:not(.bt-dark-mode) .btn-primary { background: #1a1714; border-color: #1a1714; color: #f7f4ee; }
body.bt-stories:not(.bt-dark-mode) .btn-primary-custom:hover,
body.bt-stories:not(.bt-dark-mode) .btn-primary:hover { background: #be123c; border-color: #be123c; color: #fff; }
body.bt-stories:not(.bt-dark-mode) .btn-outline-primary,
body.bt-stories:not(.bt-dark-mode) .btn-outline-warning { border-color: #e4ddd2; color: #1a1714; }
body.bt-stories:not(.bt-dark-mode) .btn-outline-primary:hover,
body.bt-stories:not(.bt-dark-mode) .btn-outline-warning:hover { border-color: #1a1714; background: transparent; color: #1a1714; }
body.bt-stories:not(.bt-dark-mode) .text-primary { color: #1a1714 !important; }

/* Badge sampul: satu gaya (chip gelap), "Unggulan" pakai aksen Tema. */
body.bt-stories .bt-cover-badges .badge {
    background: rgba(26, 23, 20, .82) !important;
    color: #f7f4ee !important;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: .02em;
}
body.bt-stories .bt-cover-badges .badge.bg-warning { background: var(--bt-accent, #fbbf24) !important; color: #1a1714 !important; }
/* Jenis karya di bawah sampul: teks kecil, bukan pil berbingkai. */
body.bt-stories .bt-card-badge {
    background: transparent !important;
    border: 0 !important;
    padding: 0;
    color: #6b645c !important;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* Beranda MS Stories: judul + sorotan kalimat pembuka. */
body.bt-stories .bt-home-head { margin-bottom: 2rem; }
body.bt-stories .bt-home-title { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .35rem; }
body.bt-stories .bt-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    grid-gap: 3rem;
    align-items: center;
    padding: 2.5rem 0;
    margin-bottom: 3rem;
    border-top: 1px solid #e4ddd2;
    border-bottom: 1px solid #e4ddd2;
}
body.bt-stories .bt-spotlight-label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6b645c; margin-bottom: 1rem; }
body.bt-stories .bt-spotlight-quote {
    font-family: 'Literata', Georgia, serif;
    font-size: clamp(1.25rem, 2.6vw, 1.75rem);
    line-height: 1.5;
    margin: 0 0 1.25rem;
    max-width: 40rem;
}
body.bt-stories .bt-spotlight-source { font-size: .9rem; color: #6b645c; margin-bottom: 1.5rem; }
body.bt-stories .bt-spotlight-source a { font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
body.bt-stories .bt-spotlight-actions { display: flex; flex-wrap: wrap; align-items: center; }
body.bt-stories .bt-spotlight-actions .btn { margin: 0 .5rem .5rem 0; }
body.bt-stories .bt-spotlight-cover { display: block; transform: rotate(2deg); transition: transform .4s ease; }
body.bt-stories .bt-spotlight-cover:hover { transform: rotate(0deg) translateY(-6px); }
body.bt-stories .bt-spotlight-cover img,
body.bt-stories .bt-spotlight-cover .sc-type-cover {
    display: block; width: 100%; aspect-ratio: 7 / 10; object-fit: cover;
    border-radius: 3px 6px 6px 3px;
    box-shadow: 0 2px 4px rgba(26, 23, 20, .2), 0 22px 40px -18px rgba(26, 23, 20, .55);
}
body.bt-stories .bt-spotlight-cover .sc-type-cover-title { font-size: 1.25rem; }
body.bt-stories.bt-dark-mode .bt-spotlight { border-color: #44403c; }
body.bt-stories.bt-dark-mode .bt-spotlight-label, body.bt-stories.bt-dark-mode .bt-spotlight-source { color: #a8a29e; }
@media (max-width: 575.98px) {
    body.bt-stories .bt-spotlight { grid-template-columns: minmax(0, 1fr) 84px; grid-gap: 1rem; padding: 1.75rem 0; align-items: start; }
    body.bt-stories .bt-spotlight-cover, body.bt-stories .bt-spotlight-cover:hover { transform: none; }
    body.bt-stories .bt-spotlight-cover { grid-row: 1; grid-column: 2; }
    body.bt-stories .bt-spotlight-cover .sc-type-cover { padding: .7rem .6rem .6rem .85rem; }
    body.bt-stories .bt-spotlight-cover .sc-type-cover-title { font-size: .8rem; }
    body.bt-stories .bt-spotlight-cover .sc-type-cover-author { display: none; }
}

/* Banner lomba: tinta solid, label status sbg teks aksen (bukan pil kuning bertrofi). */
body.bt-stories [style*="linear-gradient(135deg, #1c1917, #44403c)"] { background: #1a1714 !important; border-radius: 12px !important; padding: 1.5rem !important; }
body.bt-stories [style*="linear-gradient(135deg, #1c1917, #44403c)"] .badge.bg-warning {
    background: transparent !important; color: var(--bt-accent, #fbbf24) !important;
    padding: 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
}
body.bt-stories [style*="linear-gradient(135deg, #1c1917, #44403c)"] .badge.bg-warning i { display: none; }
body.bt-stories [style*="linear-gradient(135deg, #1c1917, #44403c)"] p.fw-bold { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.35rem; margin: .35rem 0 .25rem !important; }

/* Mode gelap: bar baca, link, tombol netral, banner lomba. */
body.bt-stories.bt-dark-mode {
    --bs-link-color: #f4a3b4;
    --bs-link-color-rgb: 244, 163, 180;
    --bs-link-hover-color: #fecdd3;
    --bs-link-hover-color-rgb: 254, 205, 211;
}
body.bt-dark-mode .reader-bar { border-bottom-color: #44403c; }
body.bt-dark-mode .reader-back, body.bt-dark-mode .reader-tool-size { color: #a8a29e; }
body.bt-dark-mode .reader-back:hover { color: #f5f5f4; }
body.bt-dark-mode .reader-tool { color: #e7e5e4; border-color: #57534e; }
body.bt-dark-mode .reader-tool:hover { border-color: #e7e5e4; }
body.bt-stories.bt-dark-mode .btn-outline-primary,
body.bt-stories.bt-dark-mode .btn-outline-warning { border-color: #57534e; color: #e7e5e4; }
body.bt-stories.bt-dark-mode .btn-primary-custom, body.bt-stories.bt-dark-mode .btn-primary { background: #f7f4ee; border-color: #f7f4ee; color: #1a1714; }
body.bt-stories.bt-dark-mode [style*="linear-gradient(135deg, #1c1917, #44403c)"] { background: #292524 !important; }
body.bt-stories.bt-dark-mode .bt-card-badge { color: #a8a29e !important; }

/* Detail novel: tata letak editorial 2 kolom -- sampul + keterangan di kiri (menempel saat
   digulir), semua isi di kanan dgn tepi & lebar yg sama. */
body.bt-stories .bt-detail { display: grid; grid-template-columns: 220px minmax(0, 680px); grid-gap: 3rem; align-items: start; justify-content: center; }
body.bt-stories .bt-detail-aside { position: -webkit-sticky; position: sticky; top: 84px; }
body.bt-stories .bt-detail-aside .novel-cover-compact { width: 100%; }
body.bt-stories .bt-detail-main { min-width: 0; }
body.bt-stories .bt-facts { margin: 1.5rem 0 0; font-size: .85rem; }
body.bt-stories .bt-facts > div { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px solid #e4ddd2; }
body.bt-stories .bt-facts dt { font-weight: 500; color: #6b645c; }
body.bt-stories .bt-facts dd { margin: 0; font-weight: 600; text-align: right; }
body.bt-stories .bt-facts dd a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #e4ddd2; }

body.bt-stories .bt-detail-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b645c; }
body.bt-stories .bt-detail-kicker:empty { display: none; }
body.bt-stories .bt-detail-kicker > * { margin-right: 1rem; }
body.bt-stories .bt-detail-kicker a { color: inherit; text-decoration: none; }
body.bt-stories .bt-detail-kicker a:hover { color: #1a1714; }
body.bt-stories .bt-kicker-accent { color: #9f1239; }
body.bt-stories .novel-title-heading { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: clamp(2rem, 4.5vw, 3rem) !important; line-height: 1.08; letter-spacing: -0.01em; margin: .35rem 0 .5rem; }
body.bt-stories .novel-author-line { font-size: .95rem !important; margin-bottom: 1.25rem !important; }

body.bt-stories .bt-detail-synopsis { margin-top: 2.25rem; max-width: none; }
body.bt-stories .bt-synopsis { white-space: normal; }
body.bt-stories .bt-synopsis p { margin: 0 0 1em; }
body.bt-stories .bt-synopsis p:last-child { margin-bottom: 0; }
body.bt-stories .bt-tags { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #e4ddd2; }
body.bt-stories .bt-tag { margin: 0 1rem .35rem 0; }

body.bt-stories #daftar-bab { margin-top: 3rem !important; }
body.bt-stories .bt-chapter-note { font-size: .85rem; color: #6b645c; margin: -.25rem 0 .75rem; }
body.bt-stories .bt-chapter-list .list-group-item { padding: .7rem .25rem; }
body.bt-stories .bt-chapter-num { width: 2.25rem; font-size: 1rem; }
body.bt-stories .bt-chapter-main { flex-direction: row; align-items: baseline; justify-content: space-between; }
body.bt-stories .bt-chapter-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 1rem; }
body.bt-stories .bt-chapter-meta { white-space: nowrap; flex-shrink: 0; }

body.bt-stories.bt-dark-mode .bt-facts > div, body.bt-stories.bt-dark-mode .bt-tags { border-color: #44403c; }
body.bt-stories.bt-dark-mode .bt-facts dt, body.bt-stories.bt-dark-mode .bt-detail-kicker { color: #a8a29e; }

@media (max-width: 991.98px) {
    body.bt-stories .bt-detail { grid-template-columns: 180px minmax(0, 1fr); grid-gap: 2rem; }
}
@media (max-width: 767.98px) {
    body.bt-stories .bt-detail { grid-template-columns: minmax(0, 1fr); grid-gap: 1.5rem; }
    body.bt-stories .bt-detail-aside { position: static; display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-gap: 1.25rem; align-items: start; }
    body.bt-stories .bt-facts { margin-top: 0; font-size: .8rem; }
    body.bt-stories .bt-facts > div { padding: .3rem 0; }
    body.bt-stories .bt-chapter-main { flex-direction: column; align-items: flex-start; }
    body.bt-stories .bt-chapter-title { white-space: normal; }
}
body.bt-stories .bt-detail-main .bt-action { padding: .4rem .75rem; }
body.bt-stories.bt-dark-mode .bt-chapter-list .list-group-item { background: transparent !important; }
body.bt-stories.bt-dark-mode .bt-chapter-list .list-group-item:hover { background: rgba(255, 255, 255, .04) !important; }

/* Navigasi atas (desktop): teks saja -- ikon di tiap item menu cuma dekorasi.
   Ikon tetap ada di menu mobile & dropdown. */
@media (min-width: 992px) {
    body.bt-stories .bt-navbar .navbar-nav > .nav-item > .nav-link > i.bi.me-1:first-child { display: none; }
    body.bt-stories .bt-navbar .navbar-nav > .nav-item > .nav-link { padding-left: .7rem; padding-right: .7rem; }
}

/* Zona hapus karya (dasbor penulis) -- tertutup secara bawaan supaya tidak ditekan tanpa sengaja. */
body.bt-stories .bt-danger-zone { border: 1px solid #e4ddd2; border-radius: 14px; background: #fff; }
body.bt-stories .bt-danger-zone > summary { cursor: pointer; list-style: none; padding: .9rem 1.1rem; font-weight: 600; color: #9f1239; }
body.bt-stories .bt-danger-zone > summary::-webkit-details-marker { display: none; }
body.bt-stories .bt-danger-zone > summary::after { content: "+"; float: right; color: #6b645c; }
body.bt-stories .bt-danger-zone[open] > summary::after { content: "\2212"; }
body.bt-stories .bt-danger-body { padding: 0 1.1rem 1.1rem; }
body.bt-stories.bt-dark-mode .bt-danger-zone { background: #292524; border-color: #44403c; }

/* Ulasan pembaca: ringkasan + sebaran rating, pemilih bintang, daftar ulasan. */
body.bt-stories .bt-interact-row .bt-action { padding: .45rem .9rem; }
body.bt-stories .bt-reviews { margin-top: 1rem; }
body.bt-stories .bt-reviews-title { font-family: 'Fraunces', Georgia, serif !important; font-weight: 600; font-size: 1.6rem; margin-bottom: 1.25rem; }
body.bt-stories .bt-reviews-top { display: flex; flex-wrap: wrap; align-items: center; padding: 1.25rem 0; border-top: 1px solid #e4ddd2; border-bottom: 1px solid #e4ddd2; margin-bottom: 1.5rem; }
body.bt-stories .bt-rating-overview { min-width: 150px; margin-right: 2.5rem; }
body.bt-stories .bt-rating-big { font-family: 'Fraunces', Georgia, serif; font-size: 3.25rem; font-weight: 600; line-height: 1; }
body.bt-stories .bt-rating-big.is-empty { color: #c9c0b2; }
body.bt-stories .bt-stars { color: #b45309; letter-spacing: .1em; margin: .35rem 0 .15rem; }
body.bt-stories .bt-stars.is-small { font-size: .78rem; margin: 0; }
body.bt-stories .bt-rating-count { font-size: .85rem; color: #6b645c; }
body.bt-stories .bt-rating-bars { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 220px; max-width: 360px; }
body.bt-stories .bt-rating-bars li { display: flex; align-items: center; font-size: .8rem; color: #6b645c; padding: .12rem 0; }
body.bt-stories .bt-rating-bar-label { width: 1rem; }
body.bt-stories .bt-rating-bar { flex: 1; height: 6px; border-radius: 999px; background: #ebe4d8; margin: 0 .6rem; overflow: hidden; }
body.bt-stories .bt-rating-bar > span { display: block; height: 100%; background: #1a1714; border-radius: 999px; }
body.bt-stories .bt-rating-bar-count { width: 1.5rem; text-align: right; font-variant-numeric: tabular-nums; }

body.bt-stories .bt-review-form { background: #fff; border: 1px solid #e4ddd2; border-radius: 14px; padding: 1.25rem; margin-bottom: 2rem; }
body.bt-stories .bt-review-form-title { font-weight: 700; margin-bottom: .5rem; }
body.bt-stories .bt-star-picker { display: inline-flex; flex-direction: row-reverse; border: 0; padding: 0; margin: 0 0 .9rem; }
body.bt-stories .bt-star-picker input { position: absolute; opacity: 0; pointer-events: none; }
body.bt-stories .bt-star-picker label { font-size: 1.7rem; color: #ddd4c6; cursor: pointer; padding: 0 .12rem; transition: color .12s, transform .12s; }
body.bt-stories .bt-star-picker label:hover,
body.bt-stories .bt-star-picker label:hover ~ label,
body.bt-stories .bt-star-picker input:checked ~ label { color: #b45309; }
body.bt-stories .bt-star-picker label:hover { transform: scale(1.12); }
body.bt-stories .bt-star-picker input:focus-visible + label { outline: 2px solid #1a1714; outline-offset: 2px; border-radius: 4px; }
body.bt-stories .bt-review-hint { font-size: .9rem; color: #6b645c; padding: .9rem 1rem; border: 1px dashed #e4ddd2; border-radius: 12px; margin-bottom: 2rem; }

body.bt-stories .bt-review-list { list-style: none; margin: 0; padding: 0; }
body.bt-stories .bt-review-item { padding: 1.1rem 0; border-bottom: 1px solid #e4ddd2; }
body.bt-stories .bt-review-head { display: flex; align-items: center; flex-wrap: wrap; }
body.bt-stories .bt-review-head > * { margin-right: .6rem; }
body.bt-stories .bt-review-avatar { width: 30px; height: 30px; border-radius: 50%; background: #1a1714; color: #f7f4ee; display: inline-flex; align-items: center; justify-content: center; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: .85rem; }
body.bt-stories .bt-review-name { font-weight: 700; font-size: .92rem; }
body.bt-stories .bt-review-date { font-size: .78rem; color: #6b645c; margin-left: auto; margin-right: 0 !important; }
body.bt-stories .bt-review-body { font-family: 'Literata', Georgia, serif; font-size: 1rem; line-height: 1.7; margin: .6rem 0 0 calc(30px + .6rem); }
body.bt-stories .bt-review-body p { margin: 0 0 .6em; }
body.bt-stories .bt-review-body p:last-child { margin-bottom: 0; }
body.bt-stories .bt-review-foot { margin: .35rem 0 0 calc(30px + .6rem); font-size: .75rem; }
body.bt-stories .bt-review-foot a { color: #6b645c; }

body.bt-stories.bt-dark-mode .bt-reviews-top, body.bt-stories.bt-dark-mode .bt-review-item { border-color: #44403c; }
body.bt-stories.bt-dark-mode .bt-review-form { background: #292524; border-color: #44403c; }
body.bt-stories.bt-dark-mode .bt-rating-bar { background: #44403c; }
body.bt-stories.bt-dark-mode .bt-rating-bar > span, body.bt-stories.bt-dark-mode .bt-review-avatar { background: #e7e5e4; color: #1a1714; }
body.bt-stories.bt-dark-mode .bt-stars, body.bt-stories.bt-dark-mode .bt-star-picker input:checked ~ label { color: #fbbf24; }
body.bt-stories.bt-dark-mode .bt-rating-count, body.bt-stories.bt-dark-mode .bt-review-date, body.bt-stories.bt-dark-mode .bt-review-hint { color: #a8a29e; }
@media (max-width: 575.98px) {
    body.bt-stories .bt-rating-overview { margin: 0 0 1rem; width: 100%; display: flex; align-items: baseline; }
    body.bt-stories .bt-rating-overview > * { margin-right: .75rem; }
    body.bt-stories .bt-review-body, body.bt-stories .bt-review-foot { margin-left: 0; }
}

/* Pencarian: label Promosi & nomor urut Sedang tren. */
body.bt-stories .bt-promo-chip { display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1a1714; background: var(--bt-accent, #fbbf24); border-radius: 3px; padding: 0 .3rem; margin-right: .35rem; vertical-align: 1px; }
body.bt-stories .bt-search-rank { flex-shrink: 0; width: 28px; text-align: center; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.15rem; color: #6b645c; margin-right: .5rem; }
body.bt-stories .bt-navbar .nav-link, body.bt-stories .bt-navbar .btn { white-space: nowrap; }

/* Ruang Tulis (dasbor penulis): strip statistik, panel penghasilan & tren, daftar naskah. */
body.bt-writer .bt-studio { max-width: 1080px; }
body.bt-writer .bt-studio-crumb { display: inline-flex; align-items: center; font-size: .85rem; font-weight: 600; color: #6b645c; text-decoration: none; margin-bottom: 1.5rem; }
body.bt-writer .bt-studio-crumb:hover { color: #1a1714; }
body.bt-writer .bt-studio-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1.75rem; }
body.bt-writer .bt-studio-head > div { max-width: 40rem; margin: 0 1.5rem 1rem 0; }
body.bt-writer .bt-studio-head .btn { margin-bottom: 1rem; }
body.bt-writer .bt-studio-kicker, body.bt-writer .bt-studio-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6b645c; margin-bottom: .4rem; }
body.bt-writer .bt-studio-title { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; margin-bottom: .5rem; }
body.bt-writer .bt-studio-desc { color: #6b645c; margin: 0; }

body.bt-writer .bt-studio-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0 0 2rem; border-top: 1px solid #e4ddd2; border-bottom: 1px solid #e4ddd2; }
body.bt-writer .bt-studio-stats > div { padding: 1.1rem 1rem 1.1rem 0; }
body.bt-writer .bt-studio-stats > div + div { padding-left: 1rem; border-left: 1px solid #e4ddd2; }
body.bt-writer .bt-studio-stats dt { font-size: .75rem; font-weight: 600; color: #6b645c; margin-bottom: .35rem; }
body.bt-writer .bt-studio-stats dd { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.75rem; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; }

body.bt-writer .bt-studio-panels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-gap: 1.25rem; margin-bottom: 1.25rem; }
body.bt-writer .bt-studio-panel { background: #fff; border: 1px solid #e4ddd2; border-radius: 14px; padding: 1.25rem 1.35rem; }
body.bt-writer .bt-studio-money { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 2.2rem; line-height: 1.1; margin: 0; }
body.bt-writer .bt-studio-sub { font-size: .82rem; color: #6b645c; margin: .2rem 0 0; }
body.bt-writer .bt-studio-progress { height: 6px; border-radius: 999px; background: #ebe4d8; overflow: hidden; margin-top: .85rem; }
body.bt-writer .bt-studio-progress > span { display: block; height: 100%; background: #1a1714; border-radius: 999px; }
body.bt-writer .bt-studio-link { font-size: .88rem; font-weight: 700; color: #1a1714; text-decoration: none; }
body.bt-writer .bt-studio-link:hover { color: #9f1239; }
body.bt-writer .bt-studio-bars { display: flex; align-items: flex-end; height: 110px; margin-top: .5rem; }
body.bt-writer .bt-studio-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
body.bt-writer .bt-studio-bar > span { width: 55%; max-width: 28px; background: #1a1714; border-radius: 4px 4px 0 0; min-height: 3px; }
body.bt-writer .bt-studio-bar:last-child > span { background: #be123c; }
body.bt-writer .bt-studio-bar small { font-size: .68rem; color: #6b645c; margin-top: .35rem; }
body.bt-writer .bt-studio-empty { font-size: .9rem; color: #6b645c; padding: 1.5rem 0; margin: 0; }
body.bt-writer .bt-studio-activity { font-size: .88rem; margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid #e4ddd2; }
body.bt-writer .bt-studio-dot { color: #c9c0b2; margin: 0 .4rem; }

body.bt-writer .bt-studio-note { display: flex; align-items: flex-start; font-size: .88rem; color: #3d3833; margin: 0 0 .5rem; }
body.bt-writer .bt-studio-note:last-of-type { margin-bottom: 2.5rem; }
body.bt-writer .bt-studio-note > i { color: #be123c; margin: .1rem .6rem 0 0; }
body.bt-writer .bt-studio-note a { color: #9f1239; }

body.bt-writer .bt-studio-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 2rem; margin-bottom: .5rem; }
body.bt-writer .bt-studio-section-title { font-family: 'Fraunces', Georgia, serif !important; font-size: 1.5rem !important; font-weight: 600; margin: 0 1rem .75rem 0; }
body.bt-writer .bt-studio-filters { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: .75rem; }
body.bt-writer .bt-studio-filters > * { width: auto; margin: 0 0 .35rem .5rem; }
body.bt-writer .bt-studio-filters .form-select { border-radius: 999px; padding-left: .9rem; background-color: transparent; }

body.bt-writer .bt-work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e4ddd2; }
body.bt-writer .bt-work { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-gap: 1.1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid #e4ddd2; }
body.bt-writer .bt-work-cover { display: block; width: 56px; }
body.bt-writer .bt-work-cover img, body.bt-writer .bt-work-cover .sc-type-cover { display: block; width: 56px; height: 80px; object-fit: cover; border-radius: 2px 4px 4px 2px; box-shadow: 0 1px 2px rgba(26, 23, 20, .2), 0 6px 12px -6px rgba(26, 23, 20, .4); }
body.bt-writer .bt-work-cover .sc-type-cover { padding: .35rem .3rem .3rem .45rem; }
body.bt-writer .bt-work-cover .sc-type-cover::before { left: 4px; width: 1px; }
body.bt-writer .bt-work-cover .sc-type-cover-title { font-size: .5rem; -webkit-line-clamp: 4; }
body.bt-writer .bt-work-cover .sc-type-cover-author { display: none; }
body.bt-writer .bt-work-title { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.2rem; line-height: 1.25; color: #1a1714; text-decoration: none; display: inline-block; }
body.bt-writer .bt-work-title:hover { color: #9f1239; }
body.bt-writer .bt-work-meta { font-size: .82rem; color: #3d3833; margin: .3rem 0 .15rem; }
body.bt-writer .bt-work-updated { font-size: .75rem; color: #6b645c; margin: 0; }
body.bt-writer .bt-status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .4rem; vertical-align: 1px; background: #a8a29e; }
body.bt-writer .bt-status-dot.is-success { background: #15803d; }
body.bt-writer .bt-status-dot.is-warning { background: #d97706; }
body.bt-writer .bt-status-dot.is-danger { background: #be123c; }
body.bt-writer .bt-status-dot.is-info, body.bt-writer .bt-status-dot.is-primary { background: #2563eb; }
body.bt-writer .bt-work-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
body.bt-writer .bt-work-actions > * { margin: .2rem 0 .2rem .4rem; }
body.bt-writer .bt-work-actions form { display: inline-block; }
body.bt-writer .bt-work-primary { background: #1a1714; color: #f7f4ee; border-radius: 999px; font-weight: 600; padding: .4rem .95rem; border: 0; }
body.bt-writer .bt-work-primary:hover, body.bt-writer .bt-work-primary:focus { background: #be123c; color: #fff; }
body.bt-writer .bt-work-more { padding: .35rem .65rem; }
body.bt-writer .bt-work-boosted { font-size: .78rem; font-weight: 600; color: #9f1239; }

body.bt-writer .bt-studio-blank { text-align: center; padding: 4rem 1rem; border: 1px dashed #d6cdbf; border-radius: 14px; }
body.bt-writer .bt-studio-blank-title { font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; font-weight: 600; margin-bottom: .5rem; }
body.bt-writer .bt-studio-blank p { color: #6b645c; }

body.bt-writer.bt-dark-mode .bt-studio-panel { background: #292524; border-color: #44403c; }
body.bt-writer.bt-dark-mode .bt-studio-stats, body.bt-writer.bt-dark-mode .bt-studio-stats > div,
body.bt-writer.bt-dark-mode .bt-work-list, body.bt-writer.bt-dark-mode .bt-work,
body.bt-writer.bt-dark-mode .bt-studio-activity, body.bt-writer.bt-dark-mode .bt-studio-blank { border-color: #44403c !important; }
body.bt-writer.bt-dark-mode .bt-work-title, body.bt-writer.bt-dark-mode .bt-studio-link, body.bt-writer.bt-dark-mode .bt-studio-crumb:hover { color: #f5f5f4; }
body.bt-writer.bt-dark-mode .bt-studio-progress { background: #44403c; }
body.bt-writer.bt-dark-mode .bt-studio-bar > span, body.bt-writer.bt-dark-mode .bt-studio-progress > span { background: #e7e5e4; }
body.bt-writer.bt-dark-mode .bt-studio-bar:last-child > span { background: #fb7185; }
body.bt-writer.bt-dark-mode .bt-work-primary { background: #f5f5f4; color: #1a1714; }
body.bt-writer.bt-dark-mode .bt-work-primary:hover { background: #fb7185; color: #1a1714; }
body.bt-writer.bt-dark-mode .bt-work-meta, body.bt-writer.bt-dark-mode .bt-studio-note { color: #d6d3d1; }
body.bt-writer.bt-dark-mode .bt-studio-kicker, body.bt-writer.bt-dark-mode .bt-studio-label,
body.bt-writer.bt-dark-mode .bt-studio-stats dt, body.bt-writer.bt-dark-mode .bt-studio-sub,
body.bt-writer.bt-dark-mode .bt-studio-desc, body.bt-writer.bt-dark-mode .bt-work-updated,
body.bt-writer.bt-dark-mode .bt-studio-bar small, body.bt-writer.bt-dark-mode .bt-studio-crumb { color: #a8a29e; }
body.bt-writer.bt-dark-mode .bt-work-title:hover, body.bt-writer.bt-dark-mode .bt-studio-note a, body.bt-writer.bt-dark-mode .bt-work-boosted { color: #fb7185; }

@media (max-width: 991.98px) {
    body.bt-writer .bt-studio-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.bt-writer .bt-studio-stats > div:nth-child(4) { padding-left: 0; border-left: 0; }
    body.bt-writer .bt-studio-stats > div:nth-child(n+4) { border-top: 1px solid #e4ddd2; }
}
@media (max-width: 767.98px) {
    body.bt-writer .bt-studio-panels { grid-template-columns: minmax(0, 1fr); }
    body.bt-writer .bt-work { grid-template-columns: 48px minmax(0, 1fr); grid-gap: .5rem 1rem; }
    body.bt-writer .bt-work-cover, body.bt-writer .bt-work-cover img, body.bt-writer .bt-work-cover .sc-type-cover { width: 48px; height: 68px; }
    body.bt-writer .bt-work-actions { grid-column: 1 / -1; justify-content: flex-start; }
    body.bt-writer .bt-work-actions > * { margin: .2rem .4rem .2rem 0; }
    body.bt-writer .bt-studio-filters > * { margin: 0 .5rem .35rem 0; }
}
@media (max-width: 479.98px) {
    body.bt-writer .bt-studio-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.bt-writer .bt-studio-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
    body.bt-writer .bt-studio-stats > div:nth-child(even) { padding-left: 1rem; border-left: 1px solid #e4ddd2; }
    body.bt-writer .bt-studio-stats > div:nth-child(n+3) { border-top: 1px solid #e4ddd2; }
    body.bt-writer .bt-studio-stats dd { font-size: 1.5rem; }
}

/* Halaman penulis lain (edit karya, bab, penghasilan, dst): komponen Bootstrap disetel ke gaya Ruang Tulis. */
body.bt-writer .bt-page-title { font-size: clamp(1.9rem, 4vw, 2.6rem); }
body.bt-writer > .bg-white.border-bottom.py-2 { background: transparent !important; border: 0 !important; padding-top: 2rem !important; padding-bottom: 0 !important; }
body.bt-writer > .bg-white.border-bottom.py-2 .btn { border: 0; padding: 0; background: none; font-size: .85rem; font-weight: 600; color: #6b645c; }
body.bt-writer > .bg-white.border-bottom.py-2 .btn:hover { color: #1a1714; }
body.bt-writer > .bg-white.border-bottom.py-2 + .container.py-5 { padding-top: 1.25rem !important; }
body.bt-writer .container.py-5 > h4.fw-bold,
body.bt-writer .container.py-5 > .d-flex > h4.fw-bold,
body.bt-writer .container.py-5 > .row > div > h4.fw-bold,
body.bt-writer .container.py-5 > .row > div > .d-flex h4.fw-bold { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 2.3rem); line-height: 1.1; letter-spacing: -.01em; }

body.bt-writer .card.border-0.shadow-sm { border: 1px solid #e4ddd2 !important; border-radius: 14px; box-shadow: none !important; }
body.bt-writer .card-body > h6.fw-bold:first-child,
body.bt-writer .card-body > .d-flex:first-child h6.fw-bold { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.15rem; }
body.bt-writer .card-body > h6.fw-bold:first-child > .bi,
body.bt-writer .card-body > .d-flex:first-child h6.fw-bold > .bi { color: #9f1239; font-size: .95rem; }

body.bt-writer .form-label { font-size: .82rem; font-weight: 700; color: #1a1714; }
body.bt-writer .form-control, body.bt-writer .form-select { border-color: #ddd5c8; border-radius: 10px; }
body.bt-writer .form-control:focus, body.bt-writer .form-select:focus { border-color: #1a1714; box-shadow: 0 0 0 3px rgba(26, 23, 20, .08); }
body.bt-writer .form-check-input:checked { background-color: #1a1714; border-color: #1a1714; }
body.bt-writer .form-check-input:focus { border-color: #1a1714; box-shadow: 0 0 0 3px rgba(26, 23, 20, .08); }
body.bt-writer .ql-toolbar.ql-snow, body.bt-writer .ql-container.ql-snow { border-color: #ddd5c8; }
body.bt-writer .ql-toolbar.ql-snow { border-radius: 10px 10px 0 0; background: #fbf9f5; }
body.bt-writer .ql-container.ql-snow { border-radius: 0 0 10px 10px; }

body.bt-writer .btn-danger { background: #1a1714; border-color: #1a1714; color: #f7f4ee; border-radius: 999px; padding-left: 1.15rem; padding-right: 1.15rem; }
body.bt-writer .btn-danger:hover, body.bt-writer .btn-danger:focus { background: #be123c; border-color: #be123c; color: #fff; }
body.bt-writer .btn-outline-dark, body.bt-writer .btn-outline-secondary { border-color: #ddd5c8; color: #1a1714; border-radius: 999px; background: transparent; }
body.bt-writer .btn-outline-dark:hover, body.bt-writer .btn-outline-secondary:hover { background: #1a1714; border-color: #1a1714; color: #f7f4ee; }
body.bt-writer .btn-outline-danger { border-color: transparent; color: #9f1239; border-radius: 999px; }
body.bt-writer .btn-outline-danger:hover { background: #fdf0f2; border-color: #f4c6cf; color: #9f1239; }
body.bt-writer .bt-danger-zone .btn-danger { background: #be123c; border-color: #be123c; }
body.bt-writer .bt-danger-zone .btn-danger:hover { background: #9f1239; border-color: #9f1239; }

body.bt-writer .alert { border: 0; border-left: 3px solid #d6cdbf; border-radius: 0 8px 8px 0; background: #f1ece3; color: #3d3833; }
body.bt-writer .alert-info { border-left-color: #2563eb; background: #eef3fc; }
body.bt-writer .alert-warning { border-left-color: #d97706; background: #fdf5e7; }
body.bt-writer .alert-danger { border-left-color: #be123c; background: #fdf0f2; color: #881337; }
body.bt-writer .alert-success { border-left-color: #15803d; background: #edf7ef; color: #14532d; }
body.bt-writer .alert a { color: inherit; font-weight: 600; }

body.bt-writer .table > thead th { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6b645c; border-bottom-color: #e4ddd2; }
body.bt-writer .table > tbody td { border-color: #ece6dc; }
body.bt-writer .pagination .page-link { border: 0; border-radius: 999px !important; color: #1a1714; background: transparent; margin: 0 .1rem; }
body.bt-writer .pagination .page-item.active .page-link { background: #1a1714; color: #f7f4ee; }

body.bt-writer .bt-chapter-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e4ddd2; }
body.bt-writer .bt-chapter-row { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; grid-gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid #e4ddd2; }
body.bt-writer .bt-chapter-num { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.5rem; line-height: 1; color: #b5aa99; font-variant-numeric: tabular-nums; }
body.bt-writer .bt-chrow-title { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.1rem; color: #1a1714; text-decoration: none; }
body.bt-writer .bt-chrow-title:hover { color: #9f1239; }
body.bt-writer .bt-chapter-row .bt-work-meta { margin: .2rem 0 0; }
body.bt-writer .bt-chapter-delete { color: #9f1239; border: 0; background: none; font-weight: 600; }
body.bt-writer .bt-chapter-delete:hover { background: #fdf0f2; color: #9f1239; border-radius: 999px; }

body.bt-writer .bt-ledger .card.border-0.shadow-sm { background: transparent; border: 0 !important; border-top: 1px solid #e4ddd2 !important; border-radius: 0; margin-bottom: 0 !important; }
body.bt-writer .bt-ledger .card.border-0.shadow-sm > .card-body { padding: 1.75rem 0; }
body.bt-writer .bt-ledger .card.border-0.shadow-sm.bt-ledger-lead { background: #fff; border: 1px solid #e4ddd2 !important; border-radius: 14px; margin-bottom: 2rem !important; }
body.bt-writer .bt-ledger .card.border-0.shadow-sm.bt-ledger-lead > .card-body { padding: 1.5rem 1.6rem; }
body.bt-writer .bt-ledger .fs-3.fw-bold.text-danger { font-family: 'Fraunces', Georgia, serif; font-size: 2.6rem !important; font-weight: 600 !important; color: #1a1714 !important; line-height: 1.1; }
body.bt-writer .bt-ledger .row.text-center .fs-4.fw-bold { font-family: 'Fraunces', Georgia, serif; font-size: 2rem !important; font-weight: 600 !important; }

body.bt-writer.bt-dark-mode .card.border-0.shadow-sm { border-color: #44403c !important; }
body.bt-writer.bt-dark-mode .bt-ledger .card.border-0.shadow-sm.bt-ledger-lead { background: #292524; }
body.bt-writer.bt-dark-mode .bt-ledger .fs-3.fw-bold.text-danger, body.bt-writer.bt-dark-mode .bt-chrow-title, body.bt-writer.bt-dark-mode .form-label { color: #f5f5f4 !important; }
body.bt-writer.bt-dark-mode .btn-danger { background: #f5f5f4; border-color: #f5f5f4; color: #1a1714; }
body.bt-writer.bt-dark-mode .btn-danger:hover { background: #fb7185; border-color: #fb7185; color: #1a1714; }
body.bt-writer.bt-dark-mode .btn-outline-dark, body.bt-writer.bt-dark-mode .btn-outline-secondary { border-color: #57534e; color: #f5f5f4; }
body.bt-writer.bt-dark-mode .alert { background: #292524; color: #e7e5e4; }
body.bt-writer.bt-dark-mode .bt-chapter-rows, body.bt-writer.bt-dark-mode .bt-chapter-row, body.bt-writer.bt-dark-mode .bt-ledger .card.border-0.shadow-sm { border-color: #44403c !important; }
body.bt-writer.bt-dark-mode .ql-toolbar.ql-snow { background: #292524; }

@media (max-width: 575.98px) {
    body.bt-writer .bt-chapter-row { grid-template-columns: 2.25rem minmax(0, 1fr); }
    body.bt-writer .bt-chapter-row .bt-work-actions { grid-column: 2; justify-content: flex-start; }
    body.bt-writer .bt-chapter-row .bt-work-actions > * { margin: 0 .4rem 0 0; }
}
body.bt-writer .bt-collab-head { margin-top: 3.5rem; }
