@font-face{font-family:Cygre;src:url('../fonts/cygre-regular.woff2');font-weight:400;font-display:swap}@font-face{font-family:Cygre;src:url('../fonts/cygre-semibold.woff2');font-weight:600;font-display:swap}@font-face{font-family:Cygre;src:url('../fonts/cygre-bold.woff2');font-weight:700 900;font-display:swap}@font-face{font-family:Literata;src:url('../fonts/literata-variable.woff2');font-weight:200 900;font-display:swap}
:root{--page:#e6e7db;--board:#f4f1e8;--panel:#fffcf4;--edge:#ced4c6;--chalk:#193b36;--dim:#59706a;--faint:#9daea0;--task:#c35a2e;--quiz:#316956;--good:#247459;--bad:#b93d38;--ui:Cygre,Arial,sans-serif;color-scheme:light}
#frame{border-radius:10px;box-shadow:0 0 0 1px var(--edge),0 20px 70px #193b3617}#stage>rect:nth-of-type(2),#stage>rect:nth-of-type(3){display:none}.cover{background:#f4f1e8f5}.cover-t,.fin .prompt{font-family:Cygre,Arial,sans-serif;font-weight:600}.cover-k{color:var(--dim)}.cover .go{background:var(--chalk);color:var(--board)}.cover small{max-width:1100px}.card{box-shadow:0 10px 35px #193b3610;background:#fffcf4f7;border-left-color:var(--quiz);border-radius:8px}.opt{border-radius:6px;background:var(--board);text-align:left}.opt[aria-pressed=true]{background:var(--chalk);color:var(--board)}.btn.go{background:var(--chalk);color:var(--board)}.btn.quiet{background:transparent;color:var(--dim)}.btn{border-radius:5px}.opt.bad{background:#fce4dc}.opt.good{background:#e2eedc;color:var(--chalk)}.mascot{opacity:.6}.side .prompt{font-size:30px}.side .opt{font-size:25px;min-height:64px}.side .fb{max-height:150px;font-size:24px}.side .kicker{font-size:21px}.side .body{margin-top:22px}.side .opts{gap:14px}.side .acts{margin-top:22px}.side .btn{font-size:23px;min-height:48px}#bar{background:#e9ecdf;border-top-color:var(--edge)}.icon:hover{background:#dce3d5}.seg{background:#cad3c5}.seg i{background:var(--quiz)}.step{width:330px;color:var(--chalk)}.volume:hover{background:#dde5d6}.caption{bottom:75px;background:#193b36ee;color:#fffcf4;border-radius:6px;font-size:25px;max-width:1260px;line-height:1.45}.paused-mark div{background:#193b36e6;color:var(--board)}.help{background:#f4f1e8cc}.help-box{background:var(--panel)}kbd{border-color:var(--edge);background:#e9ecdf;color:var(--chalk)}.sound-note{background:#f4f1e8;color:var(--bad)}.mobile-copy{display:none}.screen .opt{font-size:30px;min-height:64px}.screen .opts{flex-direction:column;align-items:flex-start;gap:18px}.screen .prompt{max-width:1320px;font-size:42px}.screen .fb{max-width:940px}.fin .acts{position:static}.fin .fb{position:static}.fin .finwrap{height:100%}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media(max-width:700px){
 html,body{height:auto;min-height:100%;overflow:auto;background:var(--board)}body{font-size:18px}#frame{position:relative;left:0;top:0;width:100%;height:auto;min-height:100svh;transform:none;border-radius:0;box-shadow:none;display:flex;flex-direction:column;overflow:visible;padding-bottom:76px}#stage{position:relative;inset:auto;width:100%;height:auto;order:1;border-bottom:1px solid var(--edge)}.mobile-copy{display:block;order:2;padding:18px 22px 4px}.mobile-step{margin:0 0 12px;font-size:13px;font-weight:600;color:var(--dim)}.mobile-text{font:400 18px/1.6 Literata,Georgia,serif;margin:0}#ui{position:relative;inset:auto;width:100%;height:auto;order:3;pointer-events:auto}.card,.card.side,.card.screen{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;max-height:none!important;margin:22px;padding:22px 20px}.side .mascot{width:46px;height:34px}.side .prompt,.screen .prompt{font-size:21px;line-height:1.4}.side .kicker,.screen .kicker{font-size:13px}.side .body,.screen .body{margin-top:18px}.side .opt,.screen .opt{font-size:17px;min-height:48px;padding:10px 12px;gap:8px;width:100%;justify-content:flex-start}.side .opts,.screen .opts{flex-direction:column;gap:12px}.side .fb,.screen .fb{position:static;font-size:17px;max-height:none;max-width:none;line-height:1.5}.side .acts,.screen .acts{position:static;flex-wrap:wrap;gap:10px;margin-top:18px}.side .btn,.screen .btn{font-size:15px;min-height:44px;padding:10px 12px}.keys{font-size:12px}.fin .finwrap{padding:0;height:auto}.fin .mascot{width:90px;height:65px;margin-bottom:20px}.fin .prompt{font-size:27px}.fin .acts{justify-content:center}.fin .fb{margin-top:12px}#bar{position:fixed;top:auto;bottom:0;left:0;width:100%;height:64px;padding:0 12px;gap:6px;z-index:10;box-shadow:0 -4px 18px #193b3610}#bar .icon{min-width:44px;height:44px;flex:0 0 44px;font-size:25px}#bar .segs,#bar .step,#bar #bFull,#bar #bCC,#bar #bHelp{display:none}#bar .volume{margin-left:auto;max-width:145px}.volume:hover,.volume:focus-within{width:145px}.volume input,.volume:hover input,.volume:focus-within input{width:75px}.cover{position:fixed;inset:0;width:100%;height:100svh;z-index:20;padding:30px 22px;background:var(--board)}.cover>div{width:100%}.cover-k{font-size:12px;letter-spacing:.13em}.cover-t{font-size:40px;line-height:1.16;margin:25px 0 30px}.cover .go{font-size:20px;padding:16px 25px}.cover small{font-size:14px;line-height:1.6}.paused-mark{display:none!important}.caption{display:none!important}.help{position:fixed;inset:0;width:100%;height:100svh;z-index:30;overflow:auto;place-items:start}.help-box{width:100%;padding:28px 22px;border:0;border-radius:0}.help-cols{grid-template-columns:1fr;gap:25px}.help dl{grid-template-columns:105px 1fr;font-size:16px}.help h2{font-size:25px}.help h3{font-size:17px}.sound-note{position:relative;inset:auto;order:4;font-size:14px;padding:15px 22px;width:auto}
}

@media(min-width:701px){.paused-mark{place-items:start end;padding:22px}.paused-mark div{font-size:16px;padding:8px 16px;max-width:520px}}
@media(max-width:700px){#bar{transform:none;transform-origin:center;flex-wrap:nowrap;min-height:64px;border-radius:0}#bar .icon svg{width:18px;height:18px}}

/* Titles and interface in Cygre; reading text in Literata. */
.card .prompt,.card .opt,.card .fb,.caption,.help dd{font-family:Literata,Georgia,serif;font-weight:400}
.card .kicker,.card .btn,.card kbd,.fin .prompt{font-family:Cygre,Arial,sans-serif}
.card .prompt{line-height:1.5}.card .opt{line-height:1.4}.fin .prompt{font-weight:600}
@media(max-width:700px){.card .prompt{font-size:20px}.card .opt{font-size:17px}}

/* Open Grammar caption edition */

