/* [BC 20261102] Bookdosirak reader theme - loaded by reader.asp after /global/reader/reader.css.
   Light theme only (sepia/gray/dark/black stay as in the shared reader). Flat: no blurred shadows. */
html[data-theme="light"]{
  --bg:#f8f4ef; --surface:#fffdf9; --surface-2:#f1ece3; --fg:#1d2433; --fg-2:#454d5c; --muted:#767d8b; --line:#e6e1d6;
  --accent:#2b56b8; --accent-ink:#ffffff; --accent-soft:#e9effa; --chrome:#fffdf9; --reading:rgba(43,86,184,.13);
  --hover:rgba(29,36,51,.06); --shadow:6px 6px 0 #e3dccd;
}
@media (prefers-color-scheme: light){
  html[data-theme="auto"]{
    --bg:#f8f4ef; --surface:#fffdf9; --surface-2:#f1ece3; --fg:#1d2433; --fg-2:#454d5c; --muted:#767d8b; --line:#e6e1d6;
    --accent:#2b56b8; --accent-ink:#ffffff; --accent-soft:#e9effa; --chrome:#fffdf9; --reading:rgba(43,86,184,.13);
    --hover:rgba(29,36,51,.06); --shadow:6px 6px 0 #e3dccd;
  }
}
/* flat chrome: solid top bar, hairline instead of blur */
.br-top{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:var(--chrome)!important;border-bottom:1px solid var(--line)}
.br-sheet,.br-pop,.br-toast{box-shadow:var(--shadow)!important}
/* share button (reader_share.js) matches the site's flat primary button */
.br-top .bdr-sh-top{box-shadow:0 3px 0 #1f428f;border-radius:8px!important}
.br-top .bdr-sh-top:active{transform:translateY(2px);box-shadow:0 1px 0 #1f428f}
.bdr-sh{box-shadow:8px 8px 0 rgba(29,36,51,.12)!important}
