/* Shared account disclosure for the reader and public site headers. */
.ct-reader-account{position:relative;flex-shrink:0;--account-surface:#fff;--account-ink:#30243f;--account-muted:#74647f;--account-line:#ece3f5;--account-tint:#f8f4fd;color:var(--account-ink);font:400 14px/1.7 Cairo,Inter,sans-serif}
.ct-reader-account,.ct-reader-account *{box-sizing:border-box}
.ct-reader-account-trigger{display:flex;align-items:center;gap:10px;min-height:48px;margin:0;padding:5px 9px;list-style:none;cursor:pointer;border:1px solid transparent;border-radius:14px;color:var(--account-ink);font:inherit;line-height:1.6;transition:background .18s,border-color .18s;user-select:none}
.ct-reader-account-trigger::marker{content:""}
.ct-reader-account-trigger::-webkit-details-marker{display:none}
.ct-reader-account-trigger:hover,.ct-reader-account[open]>.ct-reader-account-trigger{background:var(--account-tint);border-color:var(--account-line)}
.ct-reader-account :is(summary,a,button):focus-visible{outline:3px solid #aa82d9;outline-offset:3px}
.ct-reader-avatar{position:relative;display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;isolation:isolate;border-radius:50%;background:linear-gradient(135deg,#b58be2,#694296);box-shadow:0 0 0 3px var(--account-surface),0 0 0 4px #dfcbee;color:#fff;font-size:15px;font-weight:800;line-height:1}
.ct-reader-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;background:var(--account-tint)}
.ct-reader-avatar img[hidden]{display:none}
.ct-reader-account-label{display:grid;gap:1px;text-align:start;line-height:1.6;max-width:100px}
.ct-reader-account-label small{font-size:9px;font-weight:600;color:var(--account-muted)}
.ct-reader-account-label b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ct-reader-account-chevron{display:block;flex:0 0 14px;width:14px;height:14px;color:var(--account-muted);transition:transform .18s}
.ct-reader-account[open] .ct-reader-account-chevron{transform:rotate(180deg)}
.ct-reader-account-panel{position:absolute;inset-block-start:calc(100% + 12px);inset-inline-end:0;width:304px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 106px);overflow:auto;background:var(--account-surface);border:1px solid var(--account-line);border-radius:20px;box-shadow:0 18px 55px #39204b26,0 3px 10px #39204b08;text-align:start;z-index:60;animation:ct-account-reveal .18s ease-out}
.ct-reader-account-identity{padding:22px 22px 18px;background:radial-gradient(ellipse at 0 0,#dabcef40,transparent 75%),var(--account-tint);border-bottom:1px solid var(--account-line)}
.ct-reader-account-kicker{display:flex;align-items:center;justify-content:space-between;color:#8051a6;font-size:10px;font-weight:700;letter-spacing:.1px}
.ct-reader-account-kicker>span{font-size:20px;line-height:1}
.ct-reader-account-identity>strong{display:block;margin-top:9px;font-size:18px;line-height:1.7;overflow-wrap:anywhere}
.ct-reader-account-email{display:block;margin:2px 0 12px;font:11px/1.6 Cairo,Inter,sans-serif;color:var(--account-muted);overflow-wrap:anywhere}
.ct-reader-account-badge{display:inline-flex;padding:4px 9px;border-radius:7px;background:#fff0cb;color:#91600f;font-size:10px;font-weight:700}
.ct-reader-account-badge.is-verified{background:#e2f5ea;color:#217448}
.ct-reader-account-links{padding:10px}
.ct-reader-account-links>a{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px;border-radius:12px;color:var(--account-ink);text-decoration:none;transition:background .15s}
.ct-reader-account-links>a:hover{background:var(--account-tint)}
.ct-reader-account-link-icon{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;background:var(--account-tint);border:1px solid var(--account-line);border-radius:11px;color:#8960af}
.ct-reader-account-links a b{display:block;font-size:12px;font-weight:700;line-height:1.7}
.ct-reader-account-links a small{display:block;color:var(--account-muted);font-size:10px;line-height:1.7}
.ct-reader-account-link-arrow{margin-inline-start:auto;color:var(--account-muted)}
.ct-reader-account-links>.ct-reader-account-verify{justify-content:space-between;min-height:36px;font-size:11px;color:#986b24;background:#fff7e5;margin:3px 0 0}
.ct-reader-account-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:15px 20px;border-top:1px solid var(--account-line)}
.ct-reader-account-footer>span{font-size:9px;color:var(--account-muted)}
.ct-reader-account-footer button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #f1d9dd;border-radius:9px;background:#fff5f6;color:#b34759;padding:8px 10px;font:700 11px/1.6 Cairo,Inter,sans-serif;cursor:pointer;transition:background .15s}
.ct-reader-account-footer button:hover{background:#ffe8ed}
.ct-reader-account-footer button:disabled{opacity:.65;cursor:wait}
[dir="rtl"] .ct-reader-account-label,[dir="rtl"] .ct-reader-account-panel{text-align:right}
[dir="rtl"] .ct-reader-account-footer button{margin-right:auto}
.ct-header-actions [data-reader-guest][hidden],.ct-reader-menu-actions[hidden]{display:none!important}
[data-ct-lesson-theme="dark"] .ct-reader-account{--account-surface:#231e2e;--account-ink:#ebdff5;--account-muted:#b7a5c7;--account-line:#45364f;--account-tint:#2c2538}
[data-ct-lesson-theme="dark"] .ct-reader-account-kicker,[data-ct-lesson-theme="dark"] .ct-reader-account-link-icon{color:#c49ae8}
[data-ct-lesson-theme="dark"] .ct-reader-account-badge{background:#45391f;color:#f4cc77}
[data-ct-lesson-theme="dark"] .ct-reader-account-badge.is-verified{background:#203d32;color:#8fe0b1}
[data-ct-lesson-theme="dark"] .ct-reader-account-links>.ct-reader-account-verify{background:#3b3020;color:#f1cb83}
[data-ct-lesson-theme="dark"] .ct-reader-account-footer button{background:#402733;border-color:#653849;color:#f6a8b7}
@keyframes ct-account-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.ct-reader-account,.ct-header-account-slot{position:static}.ct-reader-account-label,.ct-reader-account-chevron{display:none}.ct-reader-account-trigger{padding:5px;min-height:46px}.ct-reader-account-panel{inset-inline-end:16px;inset-block-start:calc(100% - 5px);max-width:calc(100% - 32px)}}
@media(prefers-reduced-motion:reduce){.ct-reader-account *{animation:none!important;transition:none!important}}
