/* Read Orb - reusable component. Drop read-orb.css and read-orb.js
   into any app on the server and Read travels with the page.
   The orb is a living sphere drawn on a small canvas: spring
   physics wobble, ambient colour, no star, no glow pulse. This
   stylesheet carries only the shell: the fixed button, its soft
   shadow (the floating layer), and the fallback panel used on
   pages that have no Read box of their own. */
.read-orb-btn{position:fixed;right:20px;bottom:20px;z-index:9990;width:76px;height:76px;border-radius:50%;border:0;background:radial-gradient(circle at 34% 28%,#f2cd96,#cf8a3e 68%,#8a5a20);padding:0;cursor:pointer;box-shadow:0 18px 36px rgba(0,0,0,.5),0 4px 10px rgba(0,0,0,.35);-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.read-orb-btn canvas{display:block;border-radius:50%}
.read-orb-btn:hover{filter:brightness(1.05)}
.read-orb-btn:focus-visible{outline:3px solid rgba(226,164,88,.85);outline-offset:3px}
.read-orb-panel{position:fixed;right:20px;bottom:108px;z-index:9991;width:min(342px,calc(100vw - 32px));max-height:min(70vh,560px);overflow-y:auto;background:linear-gradient(160deg,rgba(53,50,44,.97),rgba(30,29,26,.97));border:1px solid rgba(255,255,255,.16);border-radius:22px;color:#f4f1ea;padding:18px;box-shadow:0 24px 50px rgba(0,0,0,.55);backdrop-filter:blur(18px) saturate(1.25);-webkit-backdrop-filter:blur(18px) saturate(1.25);display:none;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}
.read-orb-panel.open{display:block;animation:readOrbIn .22s ease}
@keyframes readOrbIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.read-orb-panel h2{margin:.1rem 0 .4rem;font-size:1.15rem}
.read-orb-panel p{margin:.45rem 0;color:#d8d3c6;font-size:.94rem}
.read-orb-panel .read-orb-rule{border-top:1px solid rgba(255,255,255,.12);margin-top:.7rem;padding-top:.7rem;font-size:.88rem;color:#c9c4b8}
.read-orb-close{position:absolute;top:8px;right:10px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);color:#f4f1ea;border-radius:999px;width:44px;height:44px;cursor:pointer;font-size:1rem;line-height:1}
@media (max-width:480px){.read-orb-btn{right:16px;bottom:16px}.read-orb-panel{right:16px;bottom:104px}}
@media (prefers-reduced-motion:reduce){.read-orb-panel.open{animation:none}}
