/* Miatta Tales v1.2 improvements: new art files coexist with all 50 original SVGs */
#reader .reader-illustration,#reader .spread-right img{border-radius:18px;box-shadow:0 15px 32px #25315624;background:#f7f2ff;max-width:100%;height:auto;aspect-ratio:8/5;object-fit:contain}
#reader .reader-text,#reader .spread-right p{color:#252f46;line-height:1.78;max-width:68ch;margin-inline:auto;font-size:clamp(1.16rem,1.2vw + .75rem,1.48rem)}
#reader .reader-page{scroll-padding-top:1rem}#reader .reader-actions{gap:10px}#reader .reader-actions button{min-height:48px}
.v12-reader-help{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-radius:12px;background:#eaf5fc;padding:9px 14px;margin:8px 14px;color:#273c52;font-size:.92rem}
.v12-reader-help button,.v12-reset{min-height:44px;min-width:44px;border:2px solid #6651a0;background:white;color:#393068;border-radius:12px;padding:9px 13px;font-weight:750;cursor:pointer}
.v12-progress{background:#e9f6ef;border-radius:10px;padding:8px 11px;font-weight:750;color:#275441}.v12-tips{border:2px solid #d4c6ef;border-radius:14px;background:#f7f2ff;padding:12px;margin:12px 0;color:#38304c}
.v12-tips button{margin:7px 7px 0 0;min-height:44px;padding:8px 13px;border-radius:12px;border:2px solid #7761b0;background:white;font-weight:750;color:#403070}
.v12-flash-note{color:#2b4b63;text-align:center;margin:7px auto;font-size:.95rem}
.v12-shelf-note{margin:14px 0;color:#3b4e5f} .v12-shelf-note button{min-height:44px}
.v12-article-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:16px}
.v12-article-grid article{border:1px solid #d6cce7;border-radius:16px;background:#fff;padding:19px;line-height:1.65}
.v12-article-grid h3{color:#443674;margin:0 0 9px}
.v12-story-meta{font-size:.9rem;color:#415268}
:focus-visible{outline:3px solid #2c237e!important;outline-offset:3px}
@media(max-width:740px){#reader .reader-illustration{max-height:42dvh}#reader .reader-actions{flex-wrap:wrap}.v12-reader-help{margin:8px}}
@media(prefers-reduced-motion:reduce){#reader *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
