:root{--navy:#0c324e;--navydark:#08283f;--gold:#e9b83f;--goldsoft:#ffe6a5;--wine:#813043;--ink:#2c2925;--paper:#fff7e5;--parchment:#f8e9ce;--outline:#8f6a45;--cream:#fcf6e9;font-family:'Trebuchet MS',Verdana,Arial,sans-serif;color:var(--ink);background:#f7ecda}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #efac28;outline-offset:2px}.sitebar{background:linear-gradient(90deg,#0d324e,#103c59);border-bottom:3px solid #dfb050;min-height:72px;display:flex;align-items:center;justify-content:space-between;padding:10px clamp(16px,3vw,50px);color:#fff2d0;gap:22px}.site-logo{display:flex;align-items:center;gap:13px;font:bold clamp(21px,2.3vw,32px)/1 Georgia,serif;white-space:nowrap}.site-logo small{display:block;font:800 9px/1.5 'Trebuchet MS',sans-serif;letter-spacing:.1em;color:#e8c791;margin-top:5px}.logo-art{font:45px/1 Georgia,serif;color:#f1cc63}.sitenav{display:flex;align-items:center;gap:8px}.sitenav a{font-size:13px;font-weight:900;padding:11px 15px;border-radius:9px;color:#fff9ec}.sitenav a:hover,.sitenav a.selected{background:#e8b83e;color:#173b50}.library-screen{background:radial-gradient(ellipse at 70% 15%,#fff7e6,#f6e8d1 67%,#f1dcc0)}.library-main{max-width:1330px;margin:auto;padding:0 clamp(14px,3vw,45px) 65px}.welcome-hero{min-height:345px;display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center;padding:46px 0 29px;border-bottom:1px solid #d4b88d}.overline{font-size:11px;letter-spacing:.16em;font-weight:1000;color:#a16d30}.hero-text h1{font:800 clamp(33px,4.1vw,61px)/1.07 Georgia,serif;letter-spacing:-.02em;color:#722e37;margin:11px 0 18px}.hero-text h1 em{font-weight:500;color:#b37e34}.hero-text p{font-size:15px;line-height:1.7;color:#65533f;max-width:600px}.gold-button{display:inline-flex;align-items:center;gap:15px;background:linear-gradient(#ffe89f,#e7b540);border:1px solid #ad8336;box-shadow:0 3px 0 #b48947;border-radius:10px;padding:13px 19px;font-weight:900;font-size:13px;color:#253a48;margin-top:9px}.gold-button:hover{filter:brightness(1.04)}.hero-art{display:grid;grid-template-columns:1fr 1fr;position:relative;border:9px solid #fff8e9;box-shadow:0 10px 35px #6b453640;border-radius:17px;overflow:hidden;height:272px;background:#e0bd84}.hero-art img{width:100%;height:100%;object-fit:contain;background:#f4deb9}.hero-art img+img{border-left:4px solid #fff8e9}.art-label{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);background:#08314de8;color:#fff2ce;border-radius:20px;padding:8px 13px;font-size:9px;letter-spacing:.12em;font-weight:850;white-space:nowrap}.library-section{padding-top:38px;scroll-margin-top:30px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:19px}.section-heading h2,.future-panel h2{font:900 32px/1.15 Georgia,serif;margin:4px 0;color:#763342}.section-note{color:#79634b;font-size:12px;font-weight:700;max-width:350px}.epic-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}.epic-card{display:grid;grid-template-columns:40% 1fr;min-height:274px;overflow:hidden;border:1px solid #d1af7d;border-radius:14px;background:#fffaf0;box-shadow:0 6px 20px #6743221b}.epic-cover{position:relative;overflow:hidden;background:#dcbd80}.epic-cover img{width:100%;height:100%;object-fit:cover}.epic-cover .cover-tag{position:absolute;top:15px;left:13px;background:#ffdd74;color:#74313c;border-radius:20px;padding:7px 9px;font-size:10px;font-weight:900}.epic-card.coming .cover-tag{background:#f5f1e7;color:#685d4e}.epic-card-content{padding:26px 22px 20px}.epic-card-content>span:first-child{color:#a67b42;letter-spacing:.1em;font-size:10px;font-weight:900}.epic-card-content h3{font:900 30px Georgia,serif;color:#7c273b;margin:8px 0}.epic-card-content p{font-size:13px;line-height:1.6;color:#6c5945}.coming-note{color:#82746a;font-size:12px;font-weight:800;display:block;margin-top:23px}.volume-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.volume-card{display:flex;gap:12px;align-items:stretch;border:1px solid #d4b895;border-radius:13px;overflow:hidden;background:#fffaf0;min-height:139px;box-shadow:0 4px 12px #72522b17}.volume-card img{width:37%;max-width:150px;object-fit:cover;background:#ebd9b9}.volume-copy{padding:14px 9px 12px 0;min-width:0}.volume-copy span{font-size:9px;font-weight:950;color:#a27035;letter-spacing:.05em}.volume-copy h3{font:900 19px Georgia,serif;color:#7a2c38;margin:8px 0 4px}.volume-copy p{font-size:11px;line-height:1.45;color:#655642;margin:0}.volume-copy strong{color:#236042;font-size:11px;display:block;margin-top:11px}.volume-card.available:hover{border-color:#cc8e26;background:#fff3cb;transform:translateY(-1px)}.volume-card.upcoming{opacity:.77;background:#eee9dc;filter:saturate(.8)}.future-panel{display:flex;justify-content:space-between;align-items:center;gap:25px;background:#f9e9cf;border:1px solid #d8bd90;border-radius:14px;padding:20px;margin-top:42px}.future-panel p{font-size:13px;line-height:1.6;max-width:600px;color:#6d5743}.future-panel img{width:135px;height:130px;object-fit:cover;border:4px solid #fdf2d2;border-radius:11px}.site-footer{text-align:center;font-size:11px;line-height:1.6;color:#776856;padding:23px 15px 32px;border-top:1px solid #ddc7a4}
/* FOCUS READER: one prepared illustrated page, never a scrolling wall of panels */
.reader-screen{height:100dvh;overflow:hidden;background:#e5d6be}.reader-app{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.reader-topbar{height:62px;flex:none;background:linear-gradient(120deg,#0b314b,#123d59);border-bottom:3px solid #dbb05a;color:#fff3d7;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px clamp(9px,1.7vw,24px);z-index:4}.reader-home{display:flex;align-items:center;gap:10px;min-width:150px;font:850 clamp(13px,1.4vw,18px) Georgia,serif}.reader-home span:first-child{font:28px sans-serif}.reader-title{text-align:center;min-width:0;flex:1}.reader-title span{color:#e7bf74;letter-spacing:.13em;font-size:9px;font-weight:900}.reader-title h1{font:900 clamp(16px,1.65vw,25px)/1.1 Georgia,serif;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-actions{display:flex;align-items:center;gap:5px;min-width:150px;justify-content:flex-end}.top-action{background:transparent;border:1px solid #7892a1;border-radius:9px;color:#fff4de;padding:9px 10px;font-size:15px;font-weight:900;white-space:nowrap}.top-action span{font-size:11px}.top-action:hover{background:#224d66}.reading-subbar{height:45px;min-height:45px;padding:5px clamp(12px,3vw,40px);background:linear-gradient(#fff8ed,#f6e9d5);border-bottom:1px solid #d5b889;display:flex;align-items:center;justify-content:space-between;gap:12px}.volume-subtitle{font-weight:900;font-size:13px;color:#782939;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-count{background:#ffe495;padding:7px 12px;border-radius:99px;border:1px solid #dbb959;font-size:12px;font-weight:950;white-space:nowrap;color:#463725}.subbar-value{color:#886c4e;font-size:10px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:26vw;text-align:right}.comic-stage{flex:1;min-height:0;padding:8px 14px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 42%,#fff8eb,#e8d8c1 75%,#dccbb4);overflow:hidden}.comic-book{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;position:relative;aspect-ratio:1.93;width:min(calc(100vw - 32px),calc((100dvh - 192px)*1.93),1480px);max-height:100%;background:linear-gradient(90deg,#dec09a,#fff4dd 3%,#fff8e9 48%,#d2af83 50%,#fff6e3 52%,#fff8ea 97%,#d3aa78);border:5px solid #6d452c;border-radius:16px;box-shadow:0 13px 33px #402a2330,0 4px 0 #74472b;overflow:hidden}.comic-book:after{pointer-events:none;content:'';z-index:2;position:absolute;top:0;bottom:0;left:50%;width:14px;transform:translateX(-50%);background:linear-gradient(90deg,#9b684c45,#3e291455 47%,#fff8ec9e 55%,#b18c5e4a);border-radius:50%}.comic-book.single{grid-template-columns:1fr;aspect-ratio:.71;width:min(calc(100vw - 14px),calc((100dvh - 192px)*.71),760px)}.comic-book.single:after{display:none}.comic-page{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff9eb;border:1px solid #c3a17a;padding:clamp(7px,.75vw,13px) clamp(8px,1vw,16px) 7px;overflow:hidden}.comic-page:first-child{border-radius:12px 0 0 12px}.comic-page:last-child{border-radius:0 12px 12px 0}.comic-book.single .comic-page{border-radius:10px}.page-header{height:29px;min-height:29px;display:flex;justify-content:space-between;align-items:center;gap:6px;padding:3px 7px;margin-bottom:6px;color:#7e2936;background:#f5d58b;border:1px solid #a87544;font:900 clamp(11px,1.1vw,16px)/1.05 Georgia,serif}.page-header span:first-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.page-header small{font:900 9px 'Trebuchet MS',sans-serif;color:#705038;white-space:nowrap}.page-illustrations{flex:1;min-height:0;display:grid;gap:7px;grid-template-columns:1fr 1fr;grid-template-rows:1.12fr .91fr}.page-illustrations.alternate{grid-template-rows:.91fr 1.12fr}.story-panel{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border:2px solid #332d28;background:#e4d5b7;isolation:isolate;cursor:zoom-in;text-align:left;padding:0;box-shadow:inset 0 0 0 1px #edd8a8}.story-panel.wide{grid-column:span 2}.story-panel .panel-caption{flex:none;display:block;background:#fff0b6;border-bottom:1px solid #5a4937;color:#24231e;padding:5px 7px;font-size:clamp(9px,.78vw,12px);line-height:1.19;font-style:italic;font-weight:850;max-height:26%;overflow:hidden}.story-panel .artwell{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:#d9c7a5;overflow:hidden}.story-panel .artwell img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block;background:#dcc6a3}.story-panel .panel-dialogue{flex:none;color:#2a2929;background:#fffdfa;border-top:1px solid #71634e;padding:4px 7px 5px;font-size:clamp(9px,.75vw,12px);line-height:1.18;font-weight:760;max-height:29%;overflow:hidden;white-space:normal}.story-panel .panel-dialogue strong{font-size:9px;text-transform:uppercase;color:#a04d3b;letter-spacing:.05em;margin-right:4px}.story-panel:hover .artwell img{filter:saturate(1.11)}.panel-number{position:absolute;right:3px;bottom:2px;background:#f8d476;border:1px solid #886035;border-radius:20px;padding:1px 4px;font-size:9px;font-weight:900;opacity:.9}.page-bottom{flex:none;min-height:20px;display:flex;align-items:center;justify-content:center;color:#795135;font:800 11px Georgia,serif}.page-bottom:before,.page-bottom:after{content:'◆';color:#d5ab66;padding:0 17px;font-size:8px}.reader-controls{height:76px;min-height:76px;display:flex;align-items:center;justify-content:center;gap:clamp(10px,4vw,60px);padding:7px 15px max(7px,env(safe-area-inset-bottom));border-top:1px solid #d1b993;background:#fcf6e7}.page-button{min-width:145px;min-height:49px;border-radius:12px;background:#153d57;color:#fff9eb;border:1px solid #294e65;box-shadow:0 3px 0 #bdab8f;font-weight:950;font-size:14px}.page-button.next{background:linear-gradient(#ffe28a,#e4ac3c);color:#2b2e34;border-color:#ad8137}.page-button:disabled{opacity:.37;cursor:not-allowed}.reader-status{min-width:150px;text-align:center;display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:950;color:#6b5239}.reader-status small{font-size:10px;color:#998063;font-weight:650}.sheet-shade{position:fixed;inset:0;background:#081d31b8;z-index:20;display:flex;align-items:center;justify-content:center;padding:12px}.sheet-shade.hidden{display:none}.sheet{width:min(800px,100%);max-height:94dvh;overflow-y:auto;position:relative;background:#fff8ea;border:4px solid #b78d54;border-radius:14px;box-shadow:0 25px 70px #0008;padding:23px;color:#2c302f}.sheet-close{position:sticky;top:0;float:right;font-size:30px;font-weight:800;border:1px solid #b89c6f;border-radius:50%;background:#fff8df;width:42px;height:42px;line-height:1;z-index:3}.sheet h2{font:900 29px Georgia,serif;color:#843546;margin:5px 50px 15px 0}.sheet .sheet-kicker{color:#a47c45;font-size:10px;font-weight:1000;letter-spacing:.17em}.sheet p{font-size:14px;line-height:1.55}.sheet-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.chapter-tile{min-height:80px;display:flex;gap:10px;text-align:left;align-items:center;border:1px solid #d0b58b;border-radius:10px;background:#fffdf7;padding:6px;font-size:13px;font-weight:850;color:#4d372c}.chapter-tile.current{background:#ffebbb;border-color:#ba852d}.chapter-tile img{width:70px;height:65px;object-fit:contain;background:#d8b98f;border-radius:5px}.chapter-tile span{line-height:1.25}.chapter-tile small{display:block;color:#9a703e;font-size:9px;margin-bottom:4px;letter-spacing:.05em}.modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.modal-button,.quiz-answer{padding:12px 15px;border:1px solid #b78c58;background:#ffdda1;color:#533b32;border-radius:9px;font-size:13px;font-weight:900}.modal-button.alt{background:#fff9e9}.quiz-answer{display:block;width:100%;margin:7px 0;text-align:left;background:#fffdf8}.quiz-answer:hover{background:#ffe9b7}.quiz-answer.correct{border-color:#38855c;background:#d6f4e2}.quiz-answer.wrong{border-color:#bb5048;background:#ffe0dc}.modal-tool-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.tool-tile{background:#fffbea;border:1px solid #cdae7a;border-radius:10px;min-height:78px;padding:13px;text-align:left;color:#554337;font-weight:900}.tool-tile small{display:block;font-weight:650;color:#8b765b;margin-top:5px;line-height:1.35}.detail-image{width:100%;max-height:60dvh;object-fit:contain;background:#e5cda4;border:3px solid #443227;border-radius:8px}.detail-title{margin:13px 0 2px;color:#6a3140;font-weight:950}.word-row{background:#fffef8;padding:10px 12px;border:1px solid #dec49c;border-radius:10px;margin:9px 0}.word-row b{color:#7b3542}.word-row span{display:block;margin-top:4px;font-size:12px;color:#665c4d}.toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);z-index:30;background:#143b50;color:#fff5d8;border:1px solid #d9ad5f;border-radius:25px;padding:9px 20px;font-size:12px;font-weight:900;box-shadow:0 5px 20px #0005}.toast.hidden{display:none}
@media(max-width:1099px){.reader-topbar{height:57px}.reading-subbar{height:42px;min-height:42px}.subbar-value{display:none}.comic-stage{padding:6px 10px}.comic-book{grid-template-columns:1fr;aspect-ratio:.71;width:min(calc(100vw - 16px),calc((100dvh - 169px)*.71),750px)}.comic-book:after{display:none}.comic-page{width:100%;border-radius:10px;padding:8px 10px 6px}.reader-controls{height:70px;min-height:70px}.story-panel .panel-caption{font-size:clamp(10px,1.6vw,15px)}.story-panel .panel-dialogue{font-size:clamp(10px,1.4vw,14px)}.page-header{font-size:clamp(13px,1.65vw,19px)}}
@media(max-width:680px){.sitebar{min-height:64px;padding:8px 14px}.site-logo{font-size:23px;gap:8px}.site-logo small{font-size:7px}.logo-art{font-size:30px}.sitenav a:not(.selected){display:none}.sitenav a{padding:10px 13px}.welcome-hero{grid-template-columns:1fr;padding-top:26px}.hero-text h1{font-size:40px}.hero-art{height:230px}.epic-cards,.volume-cards{grid-template-columns:1fr}.epic-card{min-height:240px}.volume-card img{max-width:133px}.section-heading{align-items:start;flex-direction:column;gap:4px}.future-panel img{width:95px;height:106px}.reader-home{min-width:60px;font-size:0;gap:5px}.reader-home span:first-child{font-size:27px}.header-actions{min-width:95px;gap:3px}.top-action{padding:7px 9px;font-size:17px}.top-action span{display:none}.reader-title span{font-size:8px}.reader-title h1{font-size:15px}.volume-subtitle{font-size:11px}.page-count{font-size:10px;padding:6px 9px}.page-header{height:26px;min-height:26px;margin-bottom:4px;font-size:11px}.page-header small{font-size:8px}.page-illustrations,.page-illustrations.alternate{gap:4px;grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr))}.story-panel.wide{grid-column:auto}.story-panel{border-width:1.5px}.story-panel .panel-caption{font-size:clamp(9px,2.6vw,11px);padding:3px 5px;line-height:1.13;max-height:29%}.story-panel .panel-dialogue{font-size:clamp(9px,2.5vw,11px);padding:3px 5px;line-height:1.13;max-height:31%}.story-panel .panel-dialogue strong{font-size:8px}.page-bottom{min-height:14px;font-size:9px}.comic-book{width:min(calc(100vw - 12px),calc((100dvh - 167px)*.71),730px);border-width:3px;border-radius:9px}.comic-page{padding:5px 6px 4px}.comic-stage{padding:4px 6px}.reader-controls{height:67px;min-height:67px;gap:10px;padding:6px}.page-button{min-width:100px;min-height:43px;font-size:12px}.reader-status{min-width:113px;font-size:11px}.reader-status small{font-size:8px}.sheet{padding:13px}.sheet h2{font-size:23px}.sheet-chapters{grid-template-columns:1fr}.modal-tool-grid{grid-template-columns:1fr 1fr}.detail-image{max-height:48dvh}}
@media(max-height:620px){.reader-topbar{height:47px;min-height:47px}.reading-subbar{height:32px;min-height:32px}.reader-controls{height:52px;min-height:52px}.comic-book{width:min(calc(100vw - 24px),calc((100dvh - 147px)*1.93),1480px)}.comic-book.single{width:min(calc(100vw - 18px),calc((100dvh - 147px)*.71),750px)}.reader-title h1{font-size:14px}.page-header{height:22px;min-height:22px}.page-bottom{display:none}.page-button{min-height:39px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
