/* motjo v2 — mobile-first, dua tema (gelap default, terang) */
:root {
  --bg: #101216;
  --surface: #171a20;
  --surface-2: #1f232c;
  --text: #ece7db;
  --muted: #a3a8b3;
  --border: #2a2e37;
  --accent: #d3a94f;
  --accent-soft: rgba(211, 169, 79, 0.14);
  --danger: #e06464;
  --ok: #6fbf7f;
  --radius: 12px;
  --read-bg: #101216;
  --read-text: #ece7db;
  --read-size: 1.05rem;
}
[data-theme="light"] {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-2: #f0ede3;
  --text: #23211b;
  --muted: #6f6a5c;
  --border: #e2dccb;
  --accent: #9a7418;
  --accent-soft: rgba(154, 116, 24, 0.12);
  --danger: #c04545;
  --read-bg: #f7f5ef;
  --read-text: #23211b;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.6;
  min-height: 100vh;
}
body, input, select, textarea, button { font-family: "Georgia", "Times New Roman", serif; }
a { color: var(--accent); text-decoration: none; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px 48px; }

/* header */
.topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  max-width: 720px; margin: 0 auto;
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar .brand { font-size: 1.4rem; letter-spacing: 2px; color: var(--accent); font-weight: bold; cursor: default; user-select: none; }
.topbar .spacer { flex: 1; }
.topbar .back { color: var(--muted); font-size: 1rem; }

button, .btn {
  background: var(--accent);
  color: #101216;
  border: none; border-radius: 10px;
  padding: 12px 18px;
  font-size: 1rem; font-weight: bold;
  cursor: pointer;
  display: inline-block; text-align: center;
}
button:disabled { opacity: 0.5; cursor: default; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-danger { background: var(--danger); color: #fff; }
.btn-green { background: var(--ok); color: #101216; }
.btn-yellow { background: #e3c341; color: #101216; }
.danger-title { text-align: center; color: var(--danger); font-weight: 700; letter-spacing: 2px; margin-bottom: 10px; }
.danger-stack { display: flex; flex-direction: column; gap: 8px; }
.danger-stack button { width: 100%; padding: 8px 12px; font-size: .92rem; }
.btn-tutup { text-transform: uppercase; letter-spacing: 1px; color: #fff; font-weight: 800; }
.btn-small { padding: 7px 12px; font-size: 0.85rem; border-radius: 8px; }

input, select, textarea {
  width: 100%;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  font-size: 1rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
label { display: block; margin: 14px 0 6px; font-weight: bold; }
.field-hint { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin: 12px 0;
}
.muted { color: var(--muted); }
.center { text-align: center; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* hero / landing */
.hero { text-align: center; padding: 40px 0 8px; }
.hero .logo-img { width: min(240px, 56%); height: auto; }
/* Mode terang: huruf logo merah-kuning terang jadi samar di latar cerah.
   drop-shadow mengikuti bentuk huruf (alpha PNG), bukan kotak gambar:
   4 arah tipis = hairline gelap di sekeliling huruf + bayangan lembut.
   Mode gelap tidak disentuh (sudah bagus apa adanya). */
[data-theme="light"] .hero .logo-img {
  filter:
    drop-shadow(1px 0 0 rgba(0,0,0,.50))
    drop-shadow(-1px 0 0 rgba(0,0,0,.50))
    drop-shadow(0 1px 0 rgba(0,0,0,.50))
    drop-shadow(0 -1px 0 rgba(0,0,0,.50))
    drop-shadow(0 3px 8px rgba(0,0,0,.30));
}
/* cross-fade cepat untuk novel unggulan */
.card.featured { transition: opacity .25s ease; }
.card.featured.fade-out { opacity: 0; }
.hero .logo-big {
  font-size: 4rem; letter-spacing: 6px; color: var(--accent);
  font-weight: bold; cursor: default; user-select: none; line-height: 1.1;
}
.hero .tagline { color: var(--muted); margin-top: 6px; }
.featured { display: flex; gap: 16px; align-items: center; margin-top: 24px; text-align: left; }
.featured img { width: 120px; border-radius: 10px; border: 1px solid var(--border); }
.featured h2 { margin: 0 0 6px; font-size: 1.3rem; }
.featured p { margin: 0 0 10px; color: var(--muted); font-size: 0.92rem; }
.cta-row { display: flex; gap: 12px; justify-content: center; margin: 28px 0; flex-wrap: wrap; }
.cta-row .btn, .cta-row button { min-width: 150px; }
footer.site { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 32px 0 8px; border-top: 1px solid var(--border); margin-top: 40px; }
footer.site a { color: var(--muted); text-decoration: underline; }
.disclaimer-text { max-height: 50vh; overflow-y: auto; }
.disclaimer-text p { margin: 0 0 1em; text-align: justify; font-size: 0.92rem; }
.disclaimer-text p:last-child { margin-bottom: 0; }

/* novel cards */
.searchbar { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; font-size: .9rem; color: var(--text); font-family: inherit; margin: 16px 0; width: 100%; box-sizing: border-box; }
.searchbar::placeholder { color: var(--muted); }
.novel-card { display: flex; gap: 14px; align-items: flex-start; }
.novel-card img { width: 84px; min-width: 84px; border-radius: 8px; border: 1px solid var(--border); aspect-ratio: 2/3; object-fit: cover; background: var(--surface-2); }
.novel-card .no-cover { width: 84px; min-width: 84px; aspect-ratio: 2/3; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1.6rem; }
.novel-card h3 { margin: 0 0 4px; font-size: 1.1rem; color: var(--text); }
.novel-card .meta { color: var(--muted); font-size: 0.82rem; margin: 6px 0; }
.novel-card p.desc { margin: 4px 0 0; font-size: 0.9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* novel detail */
.detail-head { display: flex; gap: 16px; margin: 20px 0; align-items: flex-start; }
.detail-head img { width: 130px; border-radius: 10px; border: 1px solid var(--border); }
.detail-head h1 { margin: 0 0 4px; font-size: 1.5rem; }
.detail-head .meta { color: var(--muted); font-size: 0.9rem; }
.badge { display: inline-block; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent); border-radius: 20px; padding: 2px 12px; font-size: 0.8rem; margin: 4px 6px 4px 0; }
.season-title { margin: 22px 0 8px; font-size: 1.15rem; color: var(--accent); }
.chapter-list { list-style: none; margin: 0 0 8px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.chapter-list li { border-bottom: 1px solid var(--border); }
.chapter-list li:last-child { border-bottom: none; }
.chapter-list a { display: block; padding: 12px 16px; color: var(--text); }
.chapter-list a:hover { background: var(--surface-2); }

/* reader */
.reader-head { margin: 18px 0 6px; }
.reader-head h1 { font-size: 1.35rem; margin: 0; }
.reader-head .crumb { color: var(--muted); font-size: 0.9rem; }
.reader-tools { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.reader-tools .btn-small.on { background: var(--accent); color: #101216; }
.chapter-body {
  background: var(--read-bg); color: var(--read-text);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 18px; font-size: var(--read-size); line-height: 1.85;
}
.chapter-body[data-readtheme="sepia"] { --read-bg: #f4ecd8; --read-text: #433422; }
.chapter-body[data-readtheme="light"] { --read-bg: #fdfdfb; --read-text: #222; }
.chapter-body[data-readtheme="dark"] { --read-bg: #101216; --read-text: #ece7db; }
.chapter-body p { margin: 0 0 1.1em; text-align: left; }
.reader-nav { display: flex; gap: 10px; margin: 20px 0; }
.reader-nav a, .reader-nav span { flex: 1; }
.reader-nav .disabled { visibility: hidden; }

/* modal */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal-bg.open { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; width: 100%; max-width: 380px; }
.modal h2 { margin-top: 0; }
.modal-syn { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin: 0 0 14px; }
.modal-tall { max-width: 420px; max-height: 88vh; display: flex; flex-direction: column; overflow-y: auto; }
.modal-tall .chapter-list-scroll { overflow-y: auto; margin: 0 -4px; padding: 0 4px; }

/* admin */
.tabs { display: flex; gap: 8px; overflow-x: auto; margin: 16px 0; padding-bottom: 4px; }
.tabs button { white-space: nowrap; }
.tabpane { display: none; }
.tabpane.active { display: block; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.data th, table.data td { border-bottom: 1px solid var(--border); padding: 10px 8px; text-align: left; }
table.data th { color: var(--muted); font-weight: normal; }
.file-item { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; margin: 6px 0; font-size: 0.9rem; }
.file-item .grow { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item button { padding: 4px 10px; font-size: 0.8rem; }
.status-msg { padding: 12px 16px; border-radius: 10px; margin: 12px 0; display: none; }
.status-msg.ok { display: block; background: rgba(111,191,127,0.15); border: 1px solid var(--ok); color: var(--ok); }
.status-msg.err { display: block; background: rgba(224,100,100,0.12); border: 1px solid var(--danger); color: var(--danger); }
.status-msg.info { display: block; background: var(--accent-soft); border: 1px solid var(--accent); color: var(--text); }
ol.guide { padding-left: 20px; color: var(--muted); font-size: 0.92rem; }
ol.guide li { margin-bottom: 8px; }
.progress { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; margin: 10px 0; display: none; }
.progress.on { display: block; }
.progress i { display: block; height: 100%; background: var(--accent); width: 0; transition: width 0.2s; }
.cover-preview { max-width: 160px; border-radius: 8px; border: 1px solid var(--border); margin-top: 8px; display: none; }

/* ===== REDESIGN PERPUSTAKAAN (2026-10-11) ===== */
.sec-title { font-size: 1.05rem; margin: 22px 0 10px; display: flex; align-items: center; justify-content: space-between; font-weight: bold; }
/* spotlight */
.spotlight { position: relative; border-radius: var(--radius); overflow: hidden; margin: 14px 0; min-height: 200px; display: flex; align-items: flex-end; border: 1px solid var(--border); cursor: pointer; }
.spotlight .bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(18px) brightness(.45); transform: scale(1.2); }
.spotlight .inner { position: relative; display: flex; gap: 14px; padding: 16px; align-items: flex-end; width: 100%; }
.spotlight img { width: 92px; border-radius: 8px; aspect-ratio: 2/3; object-fit: cover; border: 1px solid var(--border); }
.spotlight .t h2 { font-size: 1.2rem; margin: 0 0 4px; }
.spotlight .t p { font-size: .85rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.spotlight .t .meta { font-size: .78rem; color: var(--accent); margin-top: 6px; }
/* carousel */
.carousel { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .citem { flex: 0 0 104px; scroll-snap-align: start; cursor: pointer; }
.carousel .citem img { width: 104px; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); }
.carousel .citem .ct { font-size: .76rem; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; padding: 7px 14px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: .82rem; cursor: pointer; font-family: inherit; }
.chip.on { background: var(--accent); color: #111; border-color: var(--accent); font-weight: 700; }
/* toolbar */
.toolbar { display: flex; gap: 8px; margin: 6px 0 12px; position: relative; }
.toolbar .searchbar { flex: 1; min-width: 0; margin: 0; width: auto; }
.toolbar select { background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 9px 10px; font-size: .85rem; font-family: inherit; }
.search-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; max-height: 46vh; overflow-y: auto; box-shadow: 0 12px 32px rgba(0,0,0,.45); }
.ss-item { padding: 11px 14px; font-size: .92rem; border-bottom: 1px solid var(--border); }
.ss-item:last-child { border-bottom: 0; }
.ss-item:active { background: var(--surface-2); }
.shuffle { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 8px 14px; font-size: .85rem; cursor: pointer; font-family: inherit; }
/* grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.gcard:active { transform: scale(.97); }
.gcard img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; background: var(--surface-2); }
.gcard .gi { padding: 10px; }
.gcard .gi h3 { font-size: .88rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard .gi .gm { font-size: .75rem; color: var(--muted); margin-top: 3px; }
.gcard .gi .gg { display: inline-block; font-size: .68rem; color: var(--accent); border: 1px solid var(--accent); border-radius: 10px; padding: 1px 8px; margin-top: 6px; }
.status-tamat { color: var(--ok); }
.status-lanjut { color: var(--accent); }
/* ===== DETAIL NOVEL ===== */
.detail-hero { position: relative; border-radius: var(--radius); overflow: hidden; margin: 14px 0; min-height: 190px; display: flex; align-items: flex-end; border: 1px solid var(--border); }
.detail-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(18px) brightness(.4); transform: scale(1.2); }
.detail-hero .inner { position: relative; display: flex; gap: 14px; padding: 16px; align-items: flex-end; width: 100%; }
.detail-hero img.hero-cover { width: 100px; border-radius: 8px; aspect-ratio: 2/3; object-fit: cover; border: 1px solid var(--border); }
.detail-hero .t h1 { font-size: 1.3rem; margin: 0 0 4px; }
.detail-hero .t .meta { font-size: .82rem; color: var(--muted); }
.badge-done { border-color: var(--ok); color: var(--ok); }
.detail-actions { display: flex; gap: 10px; margin: 12px 0; }
.detail-actions .btn { flex: 1; text-align: center; }
/* daftar season: tombol memanjang selebar halaman */
.season-list { display: flex; flex-direction: column; gap: 10px; }
.season-btn { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 13px 14px; cursor: pointer; font: inherit; color: var(--text); }
.season-btn:active { background: var(--accent-soft); border-color: var(--accent); }
.season-chip { background: var(--accent); color: #171106; font-weight: 700; font-size: .8rem; padding: 4px 9px; border-radius: 7px; white-space: nowrap; }
.season-name { flex: 1; color: #fff; font-weight: 600; font-size: .98rem; }
[data-theme="light"] .season-name { color: #23211b; }
.season-count { color: var(--muted); font-size: .85rem; white-space: nowrap; }
/* chapter grid boxes */
.chapter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-height: 50vh; overflow-y: auto; padding: 4px; }
@media (min-width: 560px) { .chapter-grid { grid-template-columns: repeat(6, 1fr); } }
.ch-box { display: flex; align-items: center; justify-content: center; min-height: 48px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; color: var(--text); text-decoration: none; font-weight: bold; font-size: .95rem; }
.ch-box:active { background: var(--accent-soft); border-color: var(--accent); }

/* LANJUT BACA (riwayat belum tamat) — baris geser ramping */
.unfin-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.unfin-row::-webkit-scrollbar { display: none; }
.unfin-card { flex: 0 0 104px; text-decoration: none; color: var(--text); }
.unfin-cover { position: relative; width: 104px; height: 156px; border-radius: 8px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.unfin-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.unfin-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.22); }
.unfin-bar i { display: block; height: 100%; background: var(--accent); }
.unfin-meta { font-size: .7rem; color: var(--muted); }
.unfin-more { flex: 0 0 104px; height: 156px; border: 1px dashed var(--border); border-radius: 8px; background: none; color: var(--muted); font: inherit; font-size: .8rem; cursor: pointer; }
.unfin-item { display: flex; gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); }
.unfin-item img { width: 44px; height: 66px; object-fit: cover; border-radius: 6px; flex: 0 0 44px; }
.unfin-item-main { flex: 1; min-width: 0; }
.unfin-item-title { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unfin-bar2 { display: block; height: 4px; background: var(--surface-2); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.unfin-bar2 i { display: block; height: 100%; background: var(--accent); }

/* ===== PENGATURAN / KOIN / RAK BUKU (2026-10-13) ===== */
.danger-zone { border: 1px solid var(--danger); border-radius: var(--radius); padding: 14px; margin: 12px 0; }
.gcard-wrap { position: relative; min-width: 0; }
.shelf-btn { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; border: 1px solid rgba(255,255,255,.3); font-size: 1rem; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.shelf-btn.on { color: #ff7b8f; border-color: #ff7b8f; }
.badge-new { position: absolute; top: 8px; left: 8px; z-index: 2; background: var(--accent); color: #111; font-size: .66rem; font-weight: bold; letter-spacing: 1px; border-radius: 6px; padding: 3px 8px; }

/* placeholder cover belum tersedia: logo motjo + teks 3D merah-emas */
.cover-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: radial-gradient(120% 120% at 50% 0%, #1e212a 0%, #101216 72%); border: 1px solid var(--border); box-sizing: border-box; padding: 8px; text-align: center; }
.gcard .cover-ph { width: 100%; aspect-ratio: 2/3; }
.cover-ph.hero-cover { width: 100px; aspect-ratio: 2/3; border-radius: 8px; }
.featured .cover-ph { width: 120px; aspect-ratio: 2/3; border-radius: 10px; }
.cover-ph .cover-ph-logo { width: 80%; max-width: 170px; height: auto; aspect-ratio: auto; object-fit: contain; display: block; }
.gcard .cover-ph-text { font-size: 1.18rem; }
.featured .cover-ph-text { font-size: .82rem; }
.cover-ph.hero-cover .cover-ph-text { font-size: .66rem; }
.cover-ph-text { font-family: Georgia, 'Times New Roman', serif; font-weight: 900; font-size: 1.02rem; letter-spacing: .07em; line-height: 1.3; background: linear-gradient(180deg, #ffe27a 0%, #f7bd2e 38%, #e2481d 72%, #9c1505 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(70, 6, 2, .85)) drop-shadow(0 5px 7px rgba(0, 0, 0, .6)); }

/* ===== READER: HALAMAN SAMPUL + MODE HALAMAN (2026-10-18) ===== */
.reader-cover { margin: 16px 0 4px; text-align: center; }
.reader-cover img { width: min(76vw, 320px); aspect-ratio: 2/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-2); }
.cover-hint { color: var(--muted); font-size: .88rem; margin: 12px 0; }
.pages-view { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; }
.pages-scroll { flex: 1; overflow-x: auto; overflow-y: hidden; position: relative; scrollbar-width: none; }
.chapter-end-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 28px; break-inside: avoid; width: 100%; max-width: 100%; box-sizing: border-box; }
.chapter-end-nav .btn { flex: 1 1 0; min-width: 0; text-align: center; white-space: normal; box-sizing: border-box; }
.ch-box.now { background: var(--accent); border-color: var(--accent); color: #171106; }
.pages-scroll::-webkit-scrollbar { display: none; }
.chapter-body.paged { height: 100%; border: none; border-radius: 0; margin: 0; max-width: none; column-gap: 48px; column-fill: auto; padding: 22px 24px; }
.page-strip { display: flex; align-items: center; gap: 10px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface); }
.page-strip .spacer { flex: 1; }
.strip-btn { background: transparent; border: 1px solid var(--border); color: var(--text); border-radius: 8px; min-width: 42px; height: 36px; font-size: 1.15rem; line-height: 1; cursor: pointer; }
.strip-btn.wide { font-size: .85rem; padding: 0 14px; min-width: 0; }
#page-info { color: var(--muted); font-size: .9rem; min-width: 104px; text-align: center; }

/* Baris genre + angka suka di kartu novel (Eko 2026-10-21) */
.gcard .gi .gmeta2 { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.gcard .gi .gmeta2 .gg { margin-top: 0; }
.gcard .gi .glikes { font-size: .72rem; color: #e58bb1; white-space: nowrap; }

/* Rak Buku: baris geser cover saja, SETENGAH ukuran Lanjut Baca (104x156 -> 52x78),
   tanpa teks — judul terbaca dari cover itu sendiri (Eko 2026-10-21) */
.shelf-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.shelf-row::-webkit-scrollbar { display: none; }
.shelf-card { flex: 0 0 52px; width: 52px; height: 78px; border-radius: 6px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); display: block; }
.shelf-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shelf-card .cover-ph { width: 100%; height: 100%; padding: 3px; gap: 2px; border: none; }
.shelf-card .cover-ph-text { font-size: .34rem; letter-spacing: .03em; }
.shelf-card .cover-ph .cover-ph-logo { max-width: 30px; }
.shelf-more { flex: 0 0 52px; height: 78px; border: 1px dashed var(--border); border-radius: 6px; background: none; color: var(--muted); font: inherit; font-size: .6rem; cursor: pointer; }
.shelf-grid { display: grid; grid-template-columns: repeat(auto-fill, 52px); gap: 10px; justify-content: space-between; padding: 4px 2px; }
.shelf-grid .shelf-card { flex: none; }
