/* The share card (PM L-749 feature B, card.js): after a whole surah recited from memory with the eyes closed, a sheet shows the card (a picture
   made in the page), a gold button "Send to family or teacher" and a plain "Not now". Tokens and the gold are taaj.css's. No pills, no
   glows: the card is the one thing with an edge; everything else is text and space. */
.cd-over{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;align-items:center;box-sizing:border-box;overflow-y:auto;
  padding:max(18px,env(safe-area-inset-top)) 24px max(14px,env(safe-area-inset-bottom));background:var(--card);color:var(--ink);font-family:var(--ui);-webkit-overflow-scrolling:touch}
.cd-over:focus{outline:none}
.cd-over>*{width:100%;max-width:440px;box-sizing:border-box}
.cd-main{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;padding:6px 0 18px}
.cd-pic{display:block;width:min(100%,calc(min(58dvh,560px) * .8));height:auto;aspect-ratio:4/5;border-radius:14px;background:#fff;box-shadow:var(--float)}
@supports not (height:1dvh){.cd-pic{width:min(100%,calc(min(58vh,560px) * .8))}}
.cd-link{display:flex;align-items:center;gap:14px;margin:0 0 10px;padding:6px 0;cursor:pointer;font-size:16px;line-height:1.35;color:var(--ink)}
.cd-link[hidden]{display:none}
.cd-link>span{flex:1;min-width:0;font-weight:600}
.cd-link small{display:block;margin-top:2px;font-size:13px;font-weight:400;line-height:1.35;color:var(--muted)}
.cd-note{min-height:20px;margin:0 0 8px;text-align:center;font-size:14.5px;line-height:1.4;color:var(--muted)}
.cd-send{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;padding:0 18px;border:0;border-radius:14px;background:var(--gold-metal,var(--accent-grad));color:var(--accent-ink,#1c1300);font:inherit;font-size:19px;font-weight:650;cursor:pointer}
.cd-send:active{transform:scale(.985)}
.cd-send:disabled{opacity:.6;cursor:default}
.cd-skip[hidden]{display:none}
.cd-skip{display:block;width:100%;min-height:48px;margin-top:2px;border:0;background:none;font:inherit;font-size:16.5px;font-weight:500;color:var(--muted);cursor:pointer}
.cd-send:focus-visible,.cd-skip:focus-visible,.cd-link:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
@media(max-height:660px){.cd-pic{width:min(100%,calc(min(50dvh,560px) * .8))}.cd-main{padding-bottom:10px}}
@media(prefers-reduced-motion:no-preference){.cd-over{animation:cd-in .22s ease both}@keyframes cd-in{from{opacity:0}to{opacity:1}}}
/* Settings, Privacy: the row "Shared recitations" */
.cd-row[hidden]{display:none}
.cd-row .btn.danger{flex:none}
