/* Full-screen reading room; original book runtime and page images stay intact. */
body #comicScreen.comic-room-ready{padding:0!important;overflow:hidden!important;background:#241b13}
body #comicScreen.comic-room-ready .comic-wrap{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;display:block;overflow:hidden}
body #comicScreen.comic-room-ready .comic-desk-stage{position:absolute;inset:0;width:100%;height:100%;max-height:none;margin:0;box-shadow:none;overflow:hidden}
body #comicScreen.comic-room-ready .comic-desk-stage::before{content:"";position:absolute;inset:-10px;background:var(--comic-room-art) center/cover no-repeat;filter:blur(7px) brightness(.72)}
body #comicScreen.comic-room-ready #comicDeskImage{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;display:block}
body #comicScreen.comic-room-ready .comic-desk-stage[data-fit="contain"] #comicDeskImage{object-fit:contain}
body #comicScreen.comic-room-ready :is(.comic-eyebrow,.comic-wrap>h2,.comic-desk-hint,#comicRedBookHotspot,#comicDeskToMenu){display:none!important}
body #comicScreen.comic-room-ready .comic-room-point{
 position:absolute;z-index:5;display:flex;align-items:center;justify-content:center;transform:translate(-50%,-50%);
 width:var(--comic-point-size,56px);height:var(--comic-point-size,56px);min-width:44px;min-height:44px;max-width:none;
 margin:0;padding:7px;border:2px solid #fff3c9;border-radius:50%;background:var(--nanamono-ui-fill,#ffffff80);
 box-shadow:0 3px 12px #180d0655,inset 0 1px 3px #fff6;backdrop-filter:blur(4px);cursor:pointer;touch-action:manipulation;
}
body #comicScreen.comic-room-ready .comic-room-point img{position:static;display:block;width:100%;height:100%;max-height:none;object-fit:contain;border-radius:4px;pointer-events:none}
body .comic-room-point:focus-visible,body #comicReadConfirm button:focus-visible{outline:3px solid #fff;outline-offset:4px}
body #comicReadConfirm{position:fixed;inset:0;z-index:2147483647;margin:auto;padding:0;width:min(calc(100vw - 24px),380px);max-width:380px;height:fit-content;max-height:calc(100dvh - 24px);border:2px solid #fff8;border-radius:24px;background:#ffffff80;color:#40362b;box-shadow:0 6px 30px #24190e30;backdrop-filter:blur(12px);overflow:hidden}
body #comicReadConfirm[hidden],body #comicReadConfirm:not([open]){display:none!important}
body #comicReadConfirm::backdrop{background:#271d1426;backdrop-filter:blur(2px)}
body #comicReadConfirm .comic-read-card{padding:22px 18px;display:flex;flex-direction:column;align-items:center;gap:20px}
body #comicReadConfirm p{margin:0;font:800 clamp(17px,4.6vw,22px)/1.5 system-ui;text-align:center;overflow-wrap:anywhere;color:#40362b}
body #comicReadConfirm .comic-read-actions{display:flex;justify-content:center;gap:28px}
body #comicReadConfirm button{display:flex;align-items:center;justify-content:center;width:66px;height:66px;min-width:66px;min-height:66px;padding:0;border:4px solid #a5cbbd;border-radius:50%;background:#ffffff80;color:#4d8778;box-shadow:0 3px 9px #2d3a4117,inset 0 1px #fff9;cursor:pointer;touch-action:manipulation}
body #comicReadConfirm #comicReadCancel{border-color:#d8b1c1;color:#ac6680}
body #comicReadConfirm svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
body #comicVolumeScreen.comic-reader-ready{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)!important;overflow:hidden!important}
body #comicVolumeScreen.comic-reader-ready .comic-wrap{position:absolute;inset:0;width:100%;height:100%;max-width:none;display:block;margin:0;overflow:hidden}
body #comicVolumeScreen.comic-reader-ready #comicVolumeHolder{position:absolute;left:var(--comic-page-x,12px);top:var(--comic-page-y,66px);width:var(--comic-page-width,calc(100vw - 24px));height:var(--comic-page-height,calc(100dvh - 140px));max-width:none;max-height:none;min-height:0;flex:none;margin:0;aspect-ratio:1055/1491;overflow:hidden}
body #comicVolumeScreen.comic-reader-ready :is(.volume-page,.volume-turn-sheet){width:100%;height:100%;max-height:none}
body #comicVolumeScreen.comic-reader-ready :is(.volume-page,.volume-turn-sheet)>img{width:100%;height:100%;object-fit:contain}
body #comicVolumeScreen.comic-reader-ready .volume-controls{position:absolute;bottom:calc(max(8px,env(safe-area-inset-bottom)) + 20px);left:50%;transform:translateX(-50%);width:var(--comic-page-control-width,calc(100% - 24px));height:44px;min-height:44px;margin:0;gap:8px}
body #comicVolumeScreen.comic-reader-ready .volume-controls button{height:44px;min-height:44px;min-width:44px;margin:0;border:1px solid #fff8;border-radius:999px;background:#ffffff80;color:#40362b;font-size:12px;backdrop-filter:blur(5px)}
body #comicVolumeScreen.comic-reader-ready .volume-controls span{color:#f6e9cd;font-size:11px;min-width:58px}
body #comicVolumeScreen.comic-reader-ready .volume-hint{position:absolute;left:0;bottom:max(8px,env(safe-area-inset-bottom));width:100%;height:16px;margin:0;font-size:10px;line-height:16px}
body #comicVolumeScreen.comic-reader-ready .volume-page-contents{inset:6% 6% 5%}
body #comicVolumeScreen.comic-reader-ready .volume-page-contents h3{font-size:clamp(10px,calc(var(--comic-page-height)*.043),32px);margin:0;line-height:1.2}
body #comicVolumeScreen.comic-reader-ready .volume-subtitle{font-size:clamp(8px,calc(var(--comic-page-height)*.025),19px);margin:2% 0 3%;line-height:1.2}
body #comicVolumeScreen.comic-reader-ready .volume-rule{flex:none;height:1px;margin:2% 4% 3%}
body #comicVolumeScreen.comic-reader-ready .volume-toc-heading{font-size:clamp(10px,calc(var(--comic-page-height)*.038),24px);margin:0 0 3%;line-height:1.2}
body #comicVolumeScreen.comic-reader-ready .volume-chapter{flex:none;min-height:44px;margin:2px 0;padding:3px;font-size:clamp(10px,calc(var(--comic-page-height)*.038),19px);line-height:1.2}
body #comicVolumeScreen.comic-reader-ready .volume-chapter small{font-size:clamp(8px,calc(var(--comic-page-height)*.023),12px);line-height:1.2;margin-top:2px}
body #comicVolumeScreen.comic-reader-ready[data-comic-fit="landscape"] .volume-controls{position:static;display:contents;transform:none}
body #comicVolumeScreen.comic-reader-ready[data-comic-fit="landscape"] .volume-controls button{position:absolute;top:50%;transform:translate(-50%,-50%);width:var(--comic-page-control-width);max-width:132px}
body #comicVolumeScreen.comic-reader-ready[data-comic-fit="landscape"] #comicVolumePrev{left:var(--comic-page-prev-x)}
body #comicVolumeScreen.comic-reader-ready[data-comic-fit="landscape"] #comicVolumeNext{left:var(--comic-page-next-x)}
body #comicVolumeScreen.comic-reader-ready[data-comic-fit="landscape"] #comicVolumeCount{position:absolute;left:var(--comic-page-next-x);bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);line-height:18px}
body #comicVolumeScreen.comic-reader-ready[data-comic-fit="landscape"] .volume-hint{display:none}
@media(max-height:320px){
 body #comicReadConfirm .comic-read-card{padding:16px;gap:12px}
 body #comicReadConfirm button{width:58px;height:58px;min-width:58px;min-height:58px}
 body #comicVolumeScreen.comic-reader-ready .volume-controls{bottom:max(8px,env(safe-area-inset-bottom))}
 body #comicVolumeScreen.comic-reader-ready .volume-hint{display:none}
 body #comicVolumeScreen.comic-reader-ready[data-comic-fit="landscape"] #comicVolumeBack{width:96px;min-width:96px;padding:4px;font-size:11px}
}
