*{box-sizing:border-box}body{margin:0;background:#252441;color:#fff8df;font:17px/1.5 'Trebuchet MS',sans-serif;background-image:radial-gradient(ellipse at 10% 8%,#473758,transparent 43%),radial-gradient(ellipse at 95% 60%,#303b50,transparent 50%)}header{display:flex;align-items:center;gap:12px;padding:16px max(5%,calc((100% - 840px)/2));border-bottom:1px solid #ffffff22;white-space:nowrap}header b{font: bold 21px Georgia}.bug{color:#ffe593;font-size:30px}.series{margin-left:auto;font-size:10px;letter-spacing:.16em;color:#e4d1e0}main{max-width:832px;margin:auto;padding:0 16px 25px}.headline{padding:20px 0}.headline p,.top strong{font-size:11px;font-weight:800;letter-spacing:.15em;color:#ffdc84}.headline h1{font: bold clamp(34px,6vw,58px)/1.02 Georgia;margin:8px 0}.headline div{color:#ecdfed}.book{background:#fffaeb;color:#302942;border-radius:22px;padding:clamp(14px,3vw,29px);box-shadow:0 6px 0 #a48eaf}.top,.actions,nav{display:flex;align-items:center;justify-content:space-between;gap:8px}.top strong{color:#74495e}button{font:inherit;font-weight:700;cursor:pointer;border:1px solid #cbbdc3;border-radius:14px;min-height:44px;padding:6px 13px;background:#fffaf0;color:#413349}button:focus-visible,[data-paint]:focus-visible{outline:4px solid #cf4175;outline-offset:2px}button:disabled{opacity:.45;cursor:default}h2{font:bold clamp(26px,4vw,36px) Georgia;margin:4px 0}#story{margin:3px 0 10px}#drawing{display:block;width:100%;background:#fffaf0;border:2px solid #52465b;border-radius:13px}#drawing [data-paint]{cursor:pointer}.prompt{font-weight:bold;margin:9px 0;color:#68455f}.tray{border-top:1px solid #dfd4bc;padding-top:9px}.tray strong{font-size:14px}#colors{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0 14px}#colors button{width:46px;height:44px;background:var(--c);border:2px solid #5d536855;color:#252441;text-shadow:0 1px 3px white;font-size:22px}#colors button[aria-pressed=true]{outline:3px solid #392e41;outline-offset:1px}.actions{justify-content:flex-start;flex-wrap:wrap}.actions button{font-size:14px}.actions button:last-child{margin-left:auto}nav{margin-top:20px}nav button{background:#ffdc84;border:0}#progress{font-size:14px}#status{text-align:center} @media(max-width:450px){.series{font-size:8px}.headline div,#story{font-size:15px}.top button{font-size:13px}#colors{gap:9px}#colors button{width:44px}}
