/* Reader-owned annotations; source text is never changed. */
mark.reader-mark{background:#ead467;color:#16140b;border-radius:0;padding:0;box-shadow:2px 0 #ead467,-2px 0 #ead467;-webkit-box-decoration-break:clone;box-decoration-break:clone;cursor:pointer}
mark.reader-mark a{color:inherit!important;text-decoration:underline}
mark.reader-mark:focus{outline:2px solid #c91b15;outline-offset:3px}
.marker-ui{direction:rtl;text-align:right;font-family:'Miriam Libre',Arial,sans-serif;font-size:13px;line-height:1.6;color:#ede9df;letter-spacing:0}
.marker-ui[hidden],.marker-ui [hidden]{display:none!important}
.marker-ui button{font:inherit;cursor:pointer;border-radius:0;min-height:40px;touch-action:manipulation}
.marker-ui button:focus-visible{outline:2px solid #ead467;outline-offset:3px}
.marker-toolbar{position:fixed;z-index:1100;display:flex;align-items:center;gap:4px;padding:6px;background:#141414;border:1px solid #6c6350;box-shadow:0 8px 30px #0007;max-width:calc(100vw - 20px)}
.marker-apply{display:flex;align-items:center;gap:9px;background:#ead467;color:#16140b;border:0;padding:6px 13px;font-weight:700!important;white-space:nowrap}
.marker-apply svg{width:18px;height:18px;flex:none}
.marker-remove{padding:6px 11px;background:transparent;color:#ede9df;border:0;white-space:nowrap}
.marker-close{width:34px;border:0;background:transparent;color:#b7b2a5;font-size:23px!important;padding:0}
.marker-library{position:fixed;z-index:45;inset-inline-end:20px;bottom:20px}
.marker-library>button{display:flex;gap:8px;align-items:center;justify-content:center;min-width:46px;min-height:46px;padding:9px 12px;background:#171717;border:1px solid #746b57;color:#ede9df;box-shadow:0 3px 14px #0005}
.marker-library svg{width:20px;height:20px;color:#ead467;flex:none}
.marker-count{background:#ead467;color:#16140b;min-width:19px;height:19px;text-align:center;font-size:10px;line-height:19px;font-weight:700}
.marker-count:empty{display:none}
.marker-panel{position:fixed;z-index:1100;inset-inline-end:20px;bottom:78px;width:360px;max-width:calc(100vw - 32px);max-height: min(620px,calc(100svh - 160px));overflow:auto;background:#141414;border:1px solid #746b57;padding:22px;box-shadow:0 8px 40px #0008;overscroll-behavior:contain}
.marker-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #444;padding-bottom:12px;margin-bottom:12px}
.marker-panel-heading strong{font-size:18px}
.marker-panel p{font-size:12px;color:#bcb7ab;line-height:1.9;margin:8px 0 16px}
.marker-panel ol{list-style:none;padding:0;margin:0}
.marker-panel li{display:flex;align-items:start;gap:8px;border-top:1px solid #343434;padding:12px 0}
.marker-jump{flex:1;text-align:right;color:#ede9df;background:none;border:0;padding:3px 0;font-size:13px!important;line-height:1.8!important}
.marker-jump:hover{color:#ead467}
.marker-delete{flex:none;border:0;background:none;color:#bcb7ab;padding:0 7px;font-size:20px!important}
.marker-clear{border:1px solid #625746;color:#ede9df;background:transparent;width:100%;padding:8px 14px;margin-top:12px}
.marker-toast{position:fixed;z-index:1150;bottom:83px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);padding:10px 17px;background:#ede9df;color:#141414;border-inline-start:4px solid #c91b15;box-shadow:0 4px 20px #0005;font-size:12px}
@media(max-width:750px){.marker-library{inset-inline-end:12px;bottom:14px}.marker-library>button{min-width:42px;min-height:42px;padding:9px;position:relative}.marker-library-label{display:none}.marker-count{position:absolute;top:-6px;inset-inline-start:-6px}.marker-panel{inset-inline-end:12px;bottom:70px;padding:18px}.marker-toolbar{font-size:12px}.marker-apply{padding-inline:10px}}
@media print{.marker-ui{display:none!important}mark.reader-mark{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
