/* Separate, responsive hit regions; the approved image remains untouched. */
#pageTurnerBooks .books-hotspot{position:absolute;display:block;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;touch-action:manipulation;z-index:2}
#pageTurnerBooks .books-hotspot:hover{background:transparent;box-shadow:none;transform:none}
#pageTurnerBooks .books-hotspot:focus-visible{outline:2px dashed #f4deb0;outline-offset:-3px}
#booksPanel{box-sizing:border-box;width:min(620px,94vw);max-height:90vh;max-height:90dvh;overflow:auto;margin:auto;padding:20px;background:#eee0ba;color:#36291c;border:3px solid #715138;border-radius:3px;box-shadow:0 15px 60px #0009;font-family:Georgia,serif}
#booksPanel::backdrop{background:#17120bc9}
#booksPanel header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-20px;background:#eee0ba;padding:10px 0;z-index:2;border-bottom:1px solid #987550}
#booksPanel h2{font:600 17px 'DM Mono',monospace;margin:0;line-height:1.4}
#booksPanel button{min-height:44px;padding:10px 14px;background:#f9edcf;color:#3b2b1d;border:1px solid #876b46;font:13px 'DM Mono',monospace;cursor:pointer;touch-action:manipulation}
#booksPanel button:focus-visible{outline:3px solid #865b28;outline-offset:2px}
#booksPanel p{line-height:1.65}#booksPanel .books-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
#booksPanel .books-shelf-label,#booksPanel .books-small{font-size:13px;color:#655039}#booksPanel .books-review{padding:20px;border-left:5px solid #56634a;background:#f6eccf}
#booksPanel .books-message{padding:24px 0;font-size:20px}
#booksPanel .books-used-photo{position:relative;margin:16px 0;line-height:0}
#booksPanel .books-used-photo img{display:block;width:100%;height:auto}
#booksPanel .books-photo-hotspot{position:absolute;left:49.5%;top:42.5%;width:22%;height:49%;min-height:0;margin:0;padding:0;background:transparent;border:0;box-shadow:none;border-radius:0;cursor:pointer;touch-action:manipulation}
#booksPanel .books-photo-hotspot:hover{background:transparent;box-shadow:none;transform:none}
#booksPanel .books-open-pages{padding:32px 24px;background:linear-gradient(90deg,#e1cf9d,#faf0cd 46%,#bbaa82 50%,#faf0cd 54%,#e3d3a8);border:8px solid #52665e;box-shadow:3px 6px 10px #523b3244;margin:20px 0}
#booksPanel .books-note{position:relative;padding:22px 24px 20px 35px;margin:18px 0;background:linear-gradient(90deg,transparent 24px,#c28a7c88 25px,transparent 26px),linear-gradient(180deg,transparent 49.5%,#a48d6133 50%,transparent 50.6%),repeating-linear-gradient(#f4e7bc 0,#f4e7bc 27px,#9ca9a54d 28px);box-shadow:2px 4px 9px #61482344;font-family:'Comic Sans MS','Segoe Print',cursive;font-size:17px;line-height:28px;color:#344c6a}
#booksPanel .books-note p{line-height:28px;margin:14px 0}#booksPanel .books-note small{font-size:13px}#booksPanel .books-note-back{min-height:230px;font:italic 23px Georgia,serif;color:#726b5a;letter-spacing:1px;display:flex;align-items:center;justify-content:center}
#booksPanel .books-ending{font-style:italic;border-top:1px solid #b3976d;padding-top:15px}#booksError{color:#8c3325}
@media(max-width:480px){#booksPanel{padding:14px}#booksPanel header{top:-14px}#booksPanel h2{font-size:14px}#booksPanel .books-note{padding-right:14px;font-size:16px}}
