/* Native selection remains available; this action stays clear of the reader footer. */
.reading-page p { -webkit-user-select:text; user-select:text; }
.quote-selection-bar { position:absolute; z-index:8; left:20px; right:20px; bottom:calc(68px + env(safe-area-inset-bottom)); max-width:680px; margin:auto; display:flex; gap:18px; align-items:center; border:1px solid var(--line,#deded5); border-radius:12px; padding:16px 18px; color:var(--text,#263c34); background:var(--paper,#f7f3e9); box-shadow:0 10px 36px #13292026; -webkit-user-select:none; user-select:none; }
.quote-selection-bar[hidden] { display:none; }
.quote-selection-copy { min-width:0; flex:1; }
.quote-selection-status { font:10px var(--sans,sans-serif); letter-spacing:1px; color:var(--muted,#687668); margin-bottom:6px; }
.quote-selection-preview { margin:0; font:15px/1.6 var(--serif,serif); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; }
.quote-selection-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.quote-save { min-height:44px; padding:10px 15px; border:0; border-radius:6px; color:#f8f6ed; background:#29463a; font:13px var(--sans,sans-serif); white-space:nowrap; }
.quote-save:disabled { opacity:.45; cursor:default; }
.quote-dismiss { width:36px; height:44px; display:grid; place-items:center; font:25px var(--sans,sans-serif); color:var(--text,#263c34); }
.quote-selection-error .quote-selection-status { color:#ad5c39; }
.reader[data-theme=night] .quote-save { background:#aebda9; color:#1b2b23; }
.saved-quote-highlight { color:inherit; background:#d8bd6e66; border-radius:2px; box-shadow:0 0 0 3px #d8bd6e20; }
@media(max-width:600px) { .quote-selection-bar { left:12px; right:12px; padding:12px 13px; gap:10px; } .quote-selection-preview { font-size:13px; } .quote-selection-status { font-size:9px; letter-spacing:.3px; } .quote-selection-actions { gap:3px; } .quote-save { padding:10px 12px; } .quote-dismiss { width:26px; } }
