@font-face{font-family:Fredoka;src:url('../assets/game-shell/assets/fonts/fredoka-400.woff2')}@font-face{font-family:Fredoka;src:url('../assets/game-shell/assets/fonts/fredoka-600.woff2');font-weight:600}*{box-sizing:border-box}body{margin:0;background:#fff8e6;color:#174A7E;font:18px/1.5 Fredoka,sans-serif}header,footer{padding:18px max(20px,calc((100vw - 1060px)/2));background:#174A7E;color:white;display:flex;justify-content:space-between;gap:20px}header a{color:white}main{max-width:1060px;margin:0 auto;padding:28px 20px 60px}h1{font-size:clamp(30px,5vw,48px);line-height:1.1}h2{font-size:28px;margin:0 0 12px}.cover{display:block;width:100%;max-height:500px;object-fit:cover;border-radius:20px}section{padding:32px 0;border-bottom:1px solid #d5c397}.links{display:flex;flex-wrap:wrap;gap:14px;margin-top:20px}a{color:#174A7E;text-underline-offset:4px}.links a,.action{display:block;padding:14px 18px;min-height:52px;border:2px solid #b88c4f;border-radius:14px;text-decoration:none;background:white}.action{font-weight:600;background:#f9df9a;display:inline-block}audio{display:block;margin-top:20px;max-width:100%}a:focus-visible,button:focus-visible{outline:3px solid #174A7E;outline-offset:4px}.reader{max-width:1180px}.book-spread{position:relative;aspect-ratio:792/612;overflow:hidden;background:#ead6b5}.book-spread img{width:100%;height:100%;object-fit:cover}.book-panel{position:absolute;left:4.3%;right:4.3%;bottom:3.6%;padding:2.5%;background:#fbf6eff2;border-radius:17px;color:#141210;font-size:clamp(15px,2.2vw,27px);line-height:1.2}.book-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:16px 0}.book-controls button{font:inherit;color:#174A7E;border:2px solid #b88c4f;background:#fff;padding:12px 20px;min-height:52px;border-radius:14px}.book-controls button:disabled{opacity:.45}@media(max-width:600px){header{font-size:14px}.book-spread{aspect-ratio:auto;overflow:visible;display:flex;flex-direction:column;background:#fff8e6}.book-spread img{height:auto;aspect-ratio:3/2}.book-panel{position:static;font-size:21px;margin:0;padding:20px 12px;min-height:130px}.links{flex-direction:column}.links a{width:100%}.book-controls button{padding:12px}.cover{border-radius:12px}}
