@font-face{font-family:Nunito;src:url('/assets/Nunito-Semibold.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Lilita;src:url('/assets/LilitaOne-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
:root{--paper:#f4eedf;--ink:#263f37;--muted:#626958;--teal:#376b61;--line:#d4cab2;--wood:#8a6540;--gold:#c99849;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Nunito,sans-serif;font-weight:600}button{font:inherit;cursor:pointer}button:focus-visible,canvas:focus-visible{outline:3px solid var(--gold);outline-offset:3px}button:disabled{cursor:wait}.workshop{min-height:100dvh;max-width:1080px;margin:auto;padding:30px 40px;display:flex;gap:80px;justify-content:center;align-items:center}.introduction{max-width:345px;flex:1}.edition{font-size:11px;letter-spacing:2px;display:flex;align-items:center;gap:12px}.stamp{display:grid;place-items:center;width:37px;height:39px;background:var(--teal);color:var(--paper);font-family:Lilita;font-size:27px;border-radius:8px 8px 14px 14px;box-shadow:0 3px 0 #244d43}h1{font-family:Lilita,sans-serif;font-weight:400;font-size:64px;letter-spacing:-1.8px;line-height:1.1;margin:21px 0 24px}.lead{font-size:25px;line-height:1.35;margin:0 0 16px}.description{font-size:15px;line-height:1.65;color:var(--muted);max-width:310px}.instructions{margin-top:32px;border-top:1px solid var(--line);padding-top:22px}.instructions h2{font-size:15px;margin:0 0 16px}.instructions p{display:grid;grid-template-columns:77px 1fr;gap:8px;font-size:13px;line-height:1.55;margin:12px 0}.instructions b{color:var(--teal)}.instructions span{color:var(--muted)}.save-note{font-size:12px;line-height:1.6;color:var(--muted);padding-top:19px;max-width:280px}footer{font-size:10px;line-height:1.65;color:var(--muted);margin-top:27px;max-width:280px}footer span{margin:0 7px}.player{flex:none;width:min(410px,calc((100dvh - 100px)*6/13));min-width:240px;background:var(--teal);border-radius:15px;padding:0 5px 5px;box-shadow:0 6px 0 #23493f,0 20px 45px #493b2323}.player-bar{height:37px;display:flex;align-items:center;justify-content:space-between;color:#f6efd9;padding:0 8px 0 12px;font-size:11px;letter-spacing:.3px}.player-bar span{display:flex;align-items:center;gap:8px}.player-bar i{width:6px;height:6px;border-radius:50%;background:#d8b666}#expand{border:0;background:transparent;color:#fff4da;font-size:24px;width:34px;height:34px}.screen{position:relative;width:100%;aspect-ratio:6/13;background:#b2c978;overflow:hidden;border-radius:10px;isolation:isolate}canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}.cover{position:absolute;inset:0;display:flex;flex-direction:column;background:#e8e1c9}.preview{width:100%;height:52%;object-fit:cover;object-position:center}.cover-paper{flex:1;background:#f5efdf;padding:28px 24px;text-align:center;border-top:4px solid #d7bc7a}.cover-kicker{font-size:9px;letter-spacing:2px;color:var(--wood)}.cover-paper h2{font-family:Lilita;font-size:28px;font-weight:400;line-height:1.2;margin:13px 0}.cover-paper p{font-size:13px;line-height:1.5;color:var(--muted);margin:0 0 20px}#play{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;border:1px solid #305b4d;border-radius:9px;padding:12px 17px;background:var(--teal);box-shadow:0 4px 0 #244b3f;color:#fff6df;font-size:15px}#play:hover{background:#2d5b50}#play span{font-size:22px}#progress{width:100%;height:12px;accent-color:var(--teal);margin:3px 0 18px}.cover-paper .load-note{font-size:10px;margin-top:16px;margin-bottom:0}body.playing .cover{display:none}.player:fullscreen{height:100dvh;width:100vw;background:#203d34;border-radius:0;box-shadow:none;display:flex;flex-direction:column;align-items:center;padding:0}.player:fullscreen .player-bar{width:min(100%,calc((100dvh - 37px)*6/13))}.player:fullscreen .screen{width:min(100%,calc((100dvh - 37px)*6/13));height:auto;border-radius:0}body.expanded .player{position:fixed;inset:0;z-index:10;height:100dvh;width:100vw;background:#203d34;border-radius:0;display:flex;flex-direction:column;align-items:center;padding:0}body.expanded .player .screen{width:min(100%,calc((100dvh - 37px)*6/13));height:auto;border-radius:0}body.expanded .player-bar{width:min(100%,calc((100dvh - 37px)*6/13))}[hidden]{display:none!important}
@media(max-width:740px){.workshop{padding:20px 18px 35px;gap:25px;flex-direction:column}.introduction{max-width:400px;width:100%}.edition{font-size:9px}.stamp{width:28px;height:30px;font-size:21px}h1{font-size:42px;margin:12px 0 8px}.lead{font-size:18px}.description,.instructions,.save-note,footer{display:none}.player{width:min(100%,370px);min-width:0}.preview{height:49%}.cover-paper{padding:25px 22px}body.playing{background:#203d34}body.playing .introduction{display:none}body.playing .workshop{padding:0;height:100dvh;min-height:0;gap:0;justify-content:flex-start}body.playing .player{width:min(100vw,calc((100dvh - 37px - env(safe-area-inset-top) - env(safe-area-inset-bottom))*6/13));border-radius:0;box-shadow:none;padding:0;margin-top:env(safe-area-inset-top)}body.playing .screen{border-radius:0}}
@media(max-height:700px) and (min-width:741px){.workshop{padding:16px;gap:50px}.player{width:calc((100dvh - 65px)*6/13);min-width:0}.cover-paper{padding:15px}.cover-paper h2{font-size:22px}.cover-paper p{font-size:11px;margin-bottom:12px}.lead{font-size:21px}h1{font-size:48px;margin-bottom:15px}.instructions{margin-top:20px}.save-note{padding-top:5px}footer{margin-top:10px}.preview{height:43%}}
