/* savemenu.js: a real glass panel — tinted by the page's own colour (reads --paper live, so it
   follows Paper and Night automatically) and genuinely blurred, not a flat colour standing
   in for one. 10px corners throughout, matching the site's other menus (the Aa panel, the colour wheel, the reader's
   own ⋯ menu) — this was drifting between 12 and 18px across different popups before; it's one value now. */
.svm{position:fixed;z-index:2147483100;min-width:248px;padding:6px;border-radius:0;isolation:isolate;
  background:color-mix(in srgb, var(--paper) 97%, transparent);
  -webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px);
  box-shadow:inset 0 0 0 .5px rgba(255,255,255,.45),inset 0 1px 0 rgba(255,255,255,.55),0 20px 44px -18px rgba(20,12,4,.45);
  animation:svm-in .16s cubic-bezier(.2,.8,.2,1)}
@keyframes svm-in{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
.svm-r{all:unset;display:flex;align-items:center;gap:13px;width:100%;box-sizing:border-box;padding:10px 12px;border-radius:0;
  cursor:pointer;color:var(--ink,#1C1B19);font:400 16.5px/1.2 "EB Garamond",Georgia,serif}
.svm-r svg{flex:none;width:19px;height:19px;color:color-mix(in srgb,var(--ink,#1C1B19) 72%,transparent)}
.svm-r.danger,.svm-r.danger svg{color:#B0161A}
@media (hover:hover){.svm-r:hover{background:color-mix(in srgb,var(--ink,#1C1B19) 7%,transparent)}}
.svm-hr{height:1px;margin:3px 10px;background:color-mix(in srgb,var(--ink,#1C1B19) 14%,transparent)}

html.night .svm-r{color:#ECE8E0}
html.night .svm-r.danger,html.night .svm-r.danger svg{color:#E0575C}
@media (prefers-reduced-motion:reduce){.svm{animation:none}}

/* ---------- the ⋯ on a row in Your saved items, where a bare × used to be (same spot, same reveal-on-hover) ---------- */
html body #app main.colp .citems .row2 .ritem-more{position:absolute!important;top:10px;right:10px;opacity:0;transition:opacity .2s;width:26px!important;height:26px!important;color:var(--ink3)}
html body #app main.colp .citems .row2:hover .ritem-more,html body #app main.colp .citems .row2 .ritem-more:focus-visible{opacity:.7}
@media (hover:none){html body #app main.colp .citems .row2 .ritem-more{opacity:1}}
@media (max-width:700px){html body #app main.colp .citems .row2 .ritem-more{top:16px!important;right:14px!important}}

/* a note on a chapter or a comment, where there is no highlight to anchor it to, reads the same way a passage's does */
.rnote .lucide-lock,.rnote svg{width:12px;height:12px;vertical-align:-1px;margin-right:2px}

/* this note card can open from inside the passage popup now too (#kmodal is z-index 75) — it has to sit above that */
.svm-note{z-index:2147483100}
