#reading .prose{min-width:0}
#words,#bigWords{font:normal var(--readSize,30px)/1.45 Georgia,serif;color:#132e3b;overflow-wrap:anywhere;text-wrap:pretty}
#sceneNo{font-size:15px}
.textSize{flex-wrap:wrap;justify-content:center}
.textSize button,#access #readCaption{font:700 16px Arial;color:#104d49;background:#e4f2ed;border:1px solid #87b9ad;border-radius:10px;min-height:44px;padding:8px 12px;box-shadow:none}
#captionBox{width:min(740px,94vw);max-height:88dvh;background:#fffdf7;color:#143848;padding:clamp(16px,3vw,36px);border:0;border-radius:18px}
#captionBox::backdrop{background:#051f2dc9}
#captionBox .textSize{position:sticky;bottom:0;background:#fffdf7;padding:10px 0;margin:14px 0 0}
#captionBox article{position:sticky;top:0;background:#fffdf7}
#captionBox h2{font:26px Georgia;margin:0}
#artStation{--rail:32px;width:min(calc(100% - 310px),max(404px,calc((100dvh - 313px)*.773 + 32px)));flex:none}
#zoomBar{display:flex;align-items:center;gap:5px;background:#fff;padding:5px;border-radius:13px 13px 0 0}
#zoomBar button{background:#e4f1ed;color:#104d49;border-radius:9px;box-shadow:none;min-height:44px;padding:6px 8px;font:700 16px Arial;flex:1;white-space:nowrap}
#zoomBar #plus,#zoomBar #move[aria-pressed=true]{background:#09645c;color:#fff}
#zoomBar #out{font-size:25px;flex:0 0 44px}
#zoomBar button:hover:enabled{background:#fce5a7!important;color:#173044!important;transform:none}
#zoomBar button:disabled{opacity:.65}
#zoomLevel{color:#183b4b;text-align:center;font:bold 16px Arial;min-width:49px}
#zoomHint{background:white;font:600 16px/1.35 Arial;text-align:center;color:#244857;padding:2px 5px 8px}
#frame{display:grid;grid-template-columns:minmax(0,1fr) var(--rail);grid-template-rows:auto var(--rail);background:#d6e5e4;border-radius:0 0 12px 12px;overflow:hidden}
#frame #viewport{width:100%;min-width:0;min-height:0;aspect-ratio:17/22;scrollbar-width:none;box-shadow:none;align-self:start;contain:size}
#viewport::-webkit-scrollbar{display:none}
.track{position:relative;touch-action:none;user-select:none;overflow:hidden;border:3px solid #d6e5e4;background:#c1d5d3;border-radius:16px}
.track span{display:none;position:absolute;align-items:center;justify-content:center;background:#08665e;color:white;font:bold 22px Arial;border-radius:16px}
.enlarged .track{cursor:pointer;background:#aacac7}
.enlarged .track span{display:flex;cursor:grab}
.track span:active{background:#103e49;cursor:grabbing}
.track:focus-visible{outline:3px solid #df7600;outline-offset:-3px}
#upDown span{width:100%}
#across span{height:100%;font-size:18px}
#editor aside{scrollbar-width:auto}
#editor #actions button,#editor #tools button,#editor #more button{font-size:15px;min-height:44px}
#editor #state,#editor #tip{font-size:16px;line-height:1.4}
@media(max-width:720px){
 #artStation{--rail:36px;width:min(100%,max(320px,calc(49dvh * .773 + 36px)))}
 #zoomBar{gap:3px;padding:4px}
 #zoomBar button,#zoomLevel{font-size:14px;padding:4px 5px;min-width:0}
 #zoomBar #out{flex-basis:40px}
 #zoomHint{font-size:14px}
 #reading .textSize,#reading #colorThis{grid-column:1/-1;justify-self:center}
 #reading .textSize button,#access #readCaption{font-size:15px;padding:7px 10px}
 #words{line-height:1.38}
 #sceneNo{font-size:13px}
 #editor #actions,#editor #tools{width:100%}
 #editor #colors button{height:30px}
 #access #readCaption{min-height:38px}
}
@media(max-width:360px){#zoomBar button,#zoomLevel{font-size:13px;padding:4px 3px}}
@media(min-width:721px){
 #artStation{width:min(calc(100% - 310px),max(362px,calc((100dvh - 335px)*.773 + 32px)))}
}
@media(min-width:721px) and (max-height:840px){
 body:has(#editor:not([hidden])) header{height:54px}
 body:has(#editor:not([hidden])) .home img{height:49px}
 #editor{padding-top:6px;padding-bottom:6px}
 #editor article,#access{margin-bottom:6px}
 #editor article button{padding-block:9px}
 #artStation{width:min(calc(100% - 310px),max(360px,calc((100dvh - 286px)*.773 + 32px)))}
 #zoomBar button,#zoomLevel{font-size:15px}
 #zoomBar button{padding-inline:6px}
 #editor aside{max-height:calc(100dvh - 164px)}
}
.exportActions{display:flex;align-items:center;gap:8px}
#editor #shareArt{background:#08645b;color:white}
#sharing{width:min(455px,94vw);max-height:92dvh;padding:20px;border:0;border-radius:18px;background:#fffcf5;color:#193c43;text-align:center}
#sharing::backdrop{background:#081f2ac9}
#sharing article{margin-bottom:12px}
#sharing #shareTitle{font:26px Georgia;color:#123d42;margin:0;text-align:left}
#sharing #shareImage{display:block;max-width:100%;max-height:46dvh;margin:auto;box-shadow:0 2px 10px #163b3926}
#sharing [hidden]{display:none!important}
#sharing p{margin:14px 0;font:16px/1.45 Arial}
#sharing #sendArt{width:100%;min-height:46px;background:#09645c;color:white}
@media(max-width:359px){#editor>article{display:grid;grid-template-columns:auto 1fr;gap:6px}#editor>article h2{justify-self:end;margin:0}#editor .exportActions{grid-column:1/-1}#editor .exportActions button{flex:1;min-height:40px;font-size:15px}}
@media(min-width:360px) and (max-width:480px){#editor>article{gap:4px}#editor>article h2{font-size:16px;margin:0}#editor>article button{padding:10px 8px;min-height:40px}.exportActions{gap:5px}}
#sharing{width:min(650px,95vw);padding:24px;max-height:95dvh;overscroll-behavior:contain}
#sharing #shareTitle{text-align:center;font:clamp(24px,4vw,32px)/1.15 Georgia;color:#113d40}
#sharing #shareIntro{margin:6px 0 18px;color:#456269}
.shareBody{display:flex;align-items:center;gap:20px}
#sharing #shareImage{width:40%;max-height:none;object-fit:contain;flex:none;border:5px solid white;border-radius:5px}
#shareChoices,#shareStep{flex:1;min-width:0}
#shareChoices{display:grid;gap:8px}
#sharing #shareChoices button{background:white;border:1px solid #ccded8;box-shadow:none;border-radius:13px;display:flex;gap:12px;padding:12px;text-align:left;color:#153e42;justify-content:flex-start;font:bold 17px/1.25 Arial}
#sharing #shareChoices button:hover{background:#ebf7f2;border-color:#1f796e}
#shareChoices svg{width:40px;height:40px;padding:9px;background:#e1f2ed;border-radius:12px;stroke:#07665b;stroke-width:1.9;stroke-linejoin:round;stroke-linecap:round;fill:none}
#shareChoices #method1 svg{background:#e6f0ff;stroke:#285892}
#shareChoices #method2 svg{background:#f4e9fb;stroke:#784799}
#shareChoices #method3 svg{background:#fff0ce;stroke:#885214}
#shareChoices small{display:block;font:15px/1.25 Arial;color:#45616a;margin-top:3px}
#shareChoices span:last-child{margin-left:auto;color:#416662;font-size:23px}
#sharing #shareNote{font-size:15px;margin:16px auto 8px;color:#3b5960}
#sharing #shareClose,#sharing #otherMethod{background:transparent;box-shadow:none;color:#155850;font-size:16px;min-height:44px;text-decoration:underline;text-underline-offset:4px}
#sharing #shareMethod{font:26px Georgia;margin:0}
#sharing #shareStep button{white-space:normal}
@media(max-width:600px){
 #sharing{padding:16px}
 .shareBody{flex-direction:column;gap:12px}
 #sharing #shareImage{width:auto;height:clamp(86px,20dvh,164px)}
 #shareChoices,#shareStep{width:100%}
 #sharing #shareChoices button{padding:9px;gap:9px}
 #sharing #shareIntro{margin:5px 0 12px;font-size:15px}
 #shareChoices small{font-size:14px}
 #sharing #shareNote{margin:10px 0 2px;font-size:14px}
}


#shareChoices #copyPicture svg{background:#ffebdf;stroke:#a45124}
#sharing #shareChoices button{align-items:center;white-space:normal}
#sharing #shareChoices svg{flex-shrink:0}
#access .buyBook,.sampleShop{display:inline-flex;align-items:center;gap:5px;font:700 16px Arial;color:#085c52;background:#e2f4ef;padding:10px 14px;border-radius:10px;text-decoration:none}
#reading .sampleShop{margin:12px auto 0}
#sharing #shareImage{max-height:52dvh}
#sharing #shareNote{line-height:1.4}
#editor #page{font-size:clamp(16px,2vw,24px);text-align:center;overflow-wrap:anywhere}
@media(max-width:720px){#editor article{flex-wrap:wrap;justify-content:center;gap:8px}#editor #page{width:100%;order:-1;margin:0}.bar h1{overflow-wrap:anywhere}}
