/* WLRO PRIVATE READER · Scoped to verified poem pages. */
body.wlro-iv-readable {--iv-text-multiplier:1;scroll-behavior:smooth}
body.wlro-iv-readable .wlro-iv-toolbar {position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:99990;display:flex;flex-wrap:wrap;max-width:min(95vw,480px);align-items:center;justify-content:center;gap:5px;padding:8px 10px;border:1px solid rgba(250,219,162,.58);border-radius:24px;background:linear-gradient(135deg,rgba(10,20,37,.97),rgba(25,25,49,.97));box-shadow:0 12px 38px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.045) inset;color:#f8e9ca;font:600 12px/1.4 system-ui,sans-serif;backdrop-filter:blur(18px)}
body.wlro-iv-readable .wlro-iv-toolbar button,body.wlro-iv-readable .wlro-iv-toolbar a {display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 11px;gap:5px;background:transparent;border:1px solid rgba(246,212,154,.28);border-radius:14px;color:#fff3da;font:600 12px/1.2 system-ui,sans-serif;cursor:pointer;text-decoration:none;transition:background .2s}
body.wlro-iv-readable .wlro-iv-toolbar button:hover,body.wlro-iv-readable .wlro-iv-toolbar a:hover {background:rgba(240,218,171,.15)}
body.wlro-iv-readable .wlro-iv-toolbar button:focus-visible,body.wlro-iv-readable .wlro-iv-toolbar a:focus-visible {outline:3px solid #ffcd82;outline-offset:2px}
body.wlro-iv-readable .wlro-iv-toolbar button[aria-pressed="true"] {background:rgba(235,191,119,.26);border-color:#f3d69a;color:#ffe6a7}
body.wlro-iv-readable .wlro-iv-toolbar .wlro-iv-tools-title {font:700 10px/1.2 system-ui,sans-serif;letter-spacing:.13em;padding:8px;color:#e6cb91}
body.wlro-iv-readable .wlro-iv-reading-progress {position:fixed;top:0;left:0;height:3px;z-index:99999;width:0;background:linear-gradient(90deg,#bc9863,#f9e5ba);box-shadow:0 0 12px rgba(237,199,127,.5);pointer-events:none}
body.wlro-iv-readable:not(.iv-reading-focus) main article,body.wlro-iv-readable:not(.iv-reading-focus) .entry-content article {font-size:calc(clamp(17px,2.2vw,21px) * var(--iv-text-multiplier))!important;line-height:1.9!important}
body.wlro-iv-readable.iv-reading-sepia {background:#e7dec8!important}
body.wlro-iv-readable.iv-reading-sepia main article,body.wlro-iv-readable.iv-reading-sepia .entry-content main {background:#f7eedc!important;color:#332b26!important;border-color:#af946a!important}
body.wlro-iv-readable.iv-reading-sepia main article,body.wlro-iv-readable.iv-reading-sepia main article * {color:#332b26!important}
body.wlro-iv-readable.iv-reading-night {background:#030713!important}
body.wlro-iv-readable.iv-reading-night .entry-content main {box-shadow:0 0 0 2px rgba(221,185,118,.15),0 25px 70px rgba(0,0,0,.32)}
body.wlro-iv-readable.iv-reading-focus header.wp-block-template-part,body.wlro-iv-readable.iv-reading-focus footer.wp-block-template-part,body.wlro-iv-readable.iv-reading-focus .wp-site-blocks>header,body.wlro-iv-readable.iv-reading-focus .wp-site-blocks>footer {display:none!important}
body.wlro-iv-readable.iv-reading-focus .wlro-iv-toolbar {box-shadow:0 3px 20px #0006}
@media(max-width:480px) {body.wlro-iv-readable .wlro-iv-toolbar {right:6px;left:6px;bottom:max(6px,env(safe-area-inset-bottom));max-width:none;border-radius:17px;gap:4px;padding:6px}
body.wlro-iv-readable .wlro-iv-toolbar .wlro-iv-tools-title {display:none}
body.wlro-iv-readable .wlro-iv-toolbar button,body.wlro-iv-readable .wlro-iv-toolbar a {flex:1;padding:6px 7px;min-height:42px;font-size:11px}
body.wlro-iv-readable {padding-bottom:78px}}
@media(prefers-reduced-motion:reduce) {body.wlro-iv-readable .wlro-iv-toolbar * {transition:none!important}}

body.wlro-iv-readable .wlro-iv-reading-feedback:empty{display:none}
body.wlro-iv-readable .wlro-iv-reading-feedback:not(:empty){flex:0 0 100%;display:block;text-align:center;padding:5px 9px 2px;color:#ffe6bb;font:600 11px/1.6 system-ui,sans-serif;letter-spacing:0;overflow-wrap:anywhere}
