/* EPUB রিডার: reader.css-এর ওপর বাড়তি অংশ */
body.epub #stage { padding:0; overflow:hidden; display:flex; }
body.epub #viewer { flex:1; min-width:0; height:100%; background:var(--bg); }
body.epub #viewer .epub-container { background:transparent; }
body.epub .zone { position:absolute; top:0; bottom:0; width:14%; background:transparent; border:0; padding:0; cursor:pointer; z-index:3; -webkit-tap-highlight-color:transparent; }
body.epub .zone-l { left:0; } body.epub .zone-r { right:0; }
body.epub[data-flow="scrolled"] .zone { display:none; }
body.epub .zone:focus-visible { background:rgba(22,117,209,.08); }
.ewm { position:absolute; inset:0; display:grid; grid-template-columns:repeat(2,1fr); grid-auto-rows:1fr; align-items:center; justify-items:center; pointer-events:none; overflow:hidden; z-index:2; }
.ewm span { transform:rotate(-28deg); font-size:clamp(11px,1.6vw,17px); color:#1675D1; opacity:.07; white-space:nowrap; font-weight:700; }
[data-theme="night"] .ewm span { color:#9CC4F2; opacity:.09; }
.set-h { margin:.9rem 0 .35rem; font-weight:700; color:var(--muted); }
.seg { display:flex; border:1.5px solid var(--line); border-radius:999px; overflow:hidden; }
.seg button { flex:1; background:none; border:0; padding:.55rem .3rem; cursor:pointer; font-weight:600; color:var(--fg); }
.seg button + button { border-left:1.5px solid var(--line); }
.seg button[aria-pressed="true"] { background:var(--yellow); color:var(--deep); }
.list .child1 { padding-left:1rem; } .list .child2 { padding-left:2rem; }
.list .ex { display:block; color:var(--muted); font-size:.88rem; }
@media (max-width: 860px) {
  body.epub .zone { width:18%; }
  #fsmall, #fbig { font-size:.85rem; }
}
.ecta { position:absolute; inset:auto 0 0 0; top:50%; transform:translateY(-50%); z-index:5; box-shadow:0 20px 50px rgba(11,63,117,.25); margin:0 auto; width:min(420px, calc(100% - 2rem)); }
