/* A small article-only action row. Native content remains usable without JS. */
.reader-actions{display:none}
.reader-end-actions{margin:34px 0 0;padding:22px;background:#e9eedc;border-radius:12px}
.article-body .reader-end-actions>p{font-size:16px;font-weight:600;margin:0 0 14px}
.reader-end-actions>div{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}
.reader-end-actions a{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.reader-toc-return{width:100%;min-height:44px;margin:16px 0 0;padding:10px 14px;border:1px solid #a7b69a;border-radius:8px;background:#e8efda;color:var(--green);font:600 14px/1.6 var(--sans)}
.reader-toc-return:active{background:#dce7cd}
@media(max-width:760px){
 html[data-reader-ready]{scroll-padding-bottom:100px}
 html[data-reader-ready] body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
 .reader-actions{position:fixed;z-index:45;left:12px;right:12px;bottom:calc(8px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:6px;border:1px solid #b9c6aa;border-radius:14px;background:#fffef9;box-shadow:0 5px 24px #294b3924;animation:reader-actions-in 160ms ease-out}
 .reader-actions>button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:48px;margin:0;padding:9px 5px;border:0;border-radius:9px;background:transparent;color:var(--green);font:600 13px/1.4 var(--sans);text-align:center}
 .reader-actions svg{width:19px;height:19px;flex:0 0 19px}
 .reader-actions>button:active,.reader-actions>.favorite-button[aria-pressed=true]{background:#e8efda}
 .reader-actions>[aria-busy=true]{opacity:.6}
 html[data-reader-bar-visible] .reading-feedback{bottom:calc(86px + env(safe-area-inset-bottom,0px))}
 .article-toc details{scroll-margin-top:94px}
 .reader-end-actions{padding:20px 18px}
}
@media(max-width:360px){.reader-actions>button{gap:4px;padding-inline:3px;font-size:12px}.reader-actions svg{width:17px;height:17px;flex-basis:17px}.reader-actions [data-favorite-label]{white-space:nowrap}}
@keyframes reader-actions-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
html[data-motion=reduced] .reader-actions{animation:none}
@media(prefers-reduced-motion:reduce){.reader-actions{animation:none}}
@media print{.reader-actions,.reader-end-actions,.reader-toc-return{display:none!important}html[data-reader-ready] body{padding-bottom:0}}
