/* Key by Key additions, preserving the original board, landscape and sound vocabulary. */
:root{--chapter-color:#dcefd9}
.brand-name{font-family:'Trebuchet MS',sans-serif;font-size:28px;letter-spacing:-1.3px;line-height:1.05}
.brand-sub{font-family:'Trebuchet MS',sans-serif;font-size:11px;letter-spacing:.03em;font-weight:600;margin-top:5px}
.brand-star{font-family:'Trebuchet MS',sans-serif;font-weight:900;font-size:31px;transform:rotate(-5deg);border-radius:12px}
.chapter-button{border:1px solid #fff5dc80;border-radius:13px;background:#fff6e7;color:#634f69;padding:11px 15px;box-shadow:0 4px #75678870;font-size:14px;font-weight:800;display:flex;align-items:center;gap:12px}
.chapter-button:hover{background:#ffedc8}.chapter-button span{font-size:20px;line-height:1}
.eyebrow{letter-spacing:.09em;font-size:11px;text-align:center}.status-message:empty:after{content:'Take your time. Each letter is a step.'}
.board{background:linear-gradient(125deg,#fffaf3,#fff7ef 70%,var(--chapter-color))}
.keyboard-well{background:#25242d;padding:7px}.key-row{display:grid;grid-template-columns:repeat(60,minmax(0,1fr));gap:0;margin-bottom:0}
.key{margin:2.5px;min-height:0;height:clamp(34px,4.3vw,50px);flex:none;box-shadow:inset 0 1px #656271,0 1px #101018;background:linear-gradient(145deg,#393744,#282731);border-color:#4b4657;border-bottom-color:#17161e}
.key.fn-row{height:clamp(34px,4.3vw,50px);display:flex;flex-direction:column;gap:3px}.key.fn-row .glyph{font-size:8px;opacity:.8;font-weight:500}
.key.fn-row:first-child{align-items:flex-start;padding-left:10px;justify-content:center}.key.fn-row:first-child .glyph{font-size:11px}
.function-icon{display:flex;width:21px;height:21px}.function-icon svg{width:100%;height:100%}
.key .alternate{font-family:system-ui,sans-serif;font-size:12px;line-height:1.1;font-weight:400}
.key:has(.alternate){flex-direction:column;gap:5px}.key:has(.alternate) .glyph{font-size:14px}
.key.mod:has(.alternate),.key[data-key="⌘"]{align-items:flex-end;padding:6px 5px;justify-content:space-between;gap:2px}
.key[data-key="⌘"] .alternate{order:2;font-size:8px}.key[data-key="⌘"] .glyph{font-size:20px}.key.mod .alternate{font-size:13px}.key.mod .glyph{font-size:8px;font-weight:500}
.key[data-key="fn"]{align-items:flex-start!important}.key[data-key="fn"] .alternate{font-size:17px}.key[data-key="caps lock"]{align-items:flex-start!important;flex-direction:row;align-items:center!important}.key[data-key="caps lock"] .alternate{position:absolute;top:7px;left:8px;color:#a9b5a2;font-size:9px}
.key[data-key="shift"],.key[data-key="tab"]{justify-content:flex-start;padding:0 7px}.key[data-key="return"],.key[data-key="delete"]{justify-content:flex-end;padding:0 7px}
.key.touch-id .glyph{display:block;width:31px;height:31px;border-radius:50%;border:2px solid #17161e;box-shadow:inset 0 0 0 1px #62606a;background:#35343e}
.arrow-cluster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:0;height:clamp(39px,4.3vw + 5px,55px)}
.arrow-cluster>.key{height:calc(50% - 5px);min-height:0;margin:2.5px}.arrow-middle{display:grid;grid-template-rows:1fr 1fr;gap:0;height:100%}.arrow-middle .key{height:auto;min-height:0}.arrow-cluster .glyph{font-size:10px!important}
#targetChip[hidden]{display:none}.footer{font-size:11px;letter-spacing:.02em}.footer .dot{width:4px;height:4px}.parent-note{font-size:11px!important;margin:12px 0!important}.save-tools{display:flex;gap:8px;margin-top:15px}.save-tools button{flex:1;padding:10px 6px}.settings{max-height:85svh;overflow:auto}#saveStatus{font-size:11px;margin:8px 0}
#chaptersDialog{max-width:min(1080px,calc(100vw - 36px));width:100%;max-height:92svh;background:#fffaf0;overflow:auto;border:2px solid #ead7bc;border-radius:25px;font-family:'Trebuchet MS',sans-serif}
.map-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:28px 32px 22px;border-bottom:1px solid #e4d9ca}.map-heading h2{font-size:30px;letter-spacing:-1.2px;margin:6px 0}.map-heading p{font-size:13px;color:#8b7781;margin:0}.map-kicker{font-size:10px;letter-spacing:.16em;font-weight:bold;color:#987f71}.map-close{border:1px solid #e4d5c4;border-radius:50%;background:#fffdf7;width:36px;height:36px;font-size:25px;color:#786570;flex-shrink:0}
.map-layout{display:grid;grid-template-columns:234px minmax(0,1fr)}#chapterTabs{padding:14px 12px;background:#f6efe4;border-right:1px solid #e4d9ca}.chapter-tab{display:flex;align-items:center;width:100%;gap:12px;border:1px solid transparent;background:transparent;padding:12px 10px;text-align:left;border-radius:10px;color:#76656d;margin-bottom:3px}.chapter-tab[aria-current=true]{background:#fffcf7;border-color:#dfd1bf;box-shadow:0 3px 0 #e7dbc9;color:#594450}.chapter-tab:hover{background:#fffcf7}.chapter-number{font-size:11px;letter-spacing:.08em;font-family:monospace;color:#aa8e74}.chapter-tab strong{font-size:13px;display:block}.chapter-tab small{display:block;font-size:10px;margin-top:4px;opacity:.75}
#chapterPage{padding:20px 27px 26px}.chapter-intro{display:flex;align-items:center;justify-content:space-between;background:var(--chapter-color);border-radius:15px;min-height:143px;padding:19px 10px 16px 22px}.chapter-intro h3{font-size:27px;letter-spacing:-1px;margin:7px 0}.chapter-intro p{font-size:12px;margin:0 0 9px;color:#6f6867}.chapter-intro small{font-size:10px;color:#756f69}.chapter-cover{width:165px;flex-shrink:0;height:125px;display:flex;align-items:center}.chapter-cover svg{width:100%;height:100%}.chapter-meter{height:5px;background:#e8dfd0;border-radius:20px;margin:18px 0;overflow:hidden}.chapter-meter span{display:block;height:100%;background:#78a48c;border-radius:20px}
.level-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.level-card{position:relative;background:#fffdf8;border:1px solid #e6d9c9;border-bottom:3px solid #decdbb;border-radius:12px;padding:6px 5px 10px;display:flex;flex-direction:column;align-items:center;min-width:0;transition:transform .15s,background .15s;color:#65535e}.level-card:hover{transform:translateY(-3px);background:#fff3d7}.level-card.is-current{border-color:#d4ad6a;box-shadow:0 0 0 2px #ffe5b6}.level-card.is-done{background:#f1f7ed;border-color:#b9cdb2;border-bottom-color:#a6bfa0}.level-picture{display:block;width:100%;height:85px}.level-picture svg{width:100%;height:100%}.level-card strong{font-size:12px;font-weight:bold;max-width:100%;overflow-wrap:anywhere}.level-card small{font-size:9px;margin-top:5px;color:#98828a}.level-number{position:absolute;top:8px;left:8px;font:9px monospace;color:#ad9687}.level-stamp{position:absolute;right:7px;top:6px;font-size:14px;color:#6e9b77}.map-bottom{display:flex;justify-content:space-between;border-top:1px solid #e4d9ca;font-size:11px;color:#8a7580;padding:16px 30px;gap:12px}#mapProgress{font-weight:bold;color:#627d67}
@media(min-width:791px) and (max-height:850px){.stage{gap:13px}.board{min-height:245px}.illustration{height:235px}.words-side{padding:15px 23px 12px 5px}h1{margin-bottom:12px;font-size:32px}.slots{min-height:74px}.prompt{margin-top:14px;min-height:47px}.target-chip{height:34px;width:34px}.status-message{margin-top:9px}.keyboard-housing{max-width:950px}.key,.key.fn-row{height:43px}.arrow-cluster{height:48px}.app{padding-top:13px;padding-bottom:15px}.stage{padding-top:12px}}
@media(max-width:790px){.key,.key.fn-row{margin:1.5px;height:clamp(26px,5.5vw,43px)}.key-row{margin:0}.key.fn-row{gap:1px}.function-icon{height:16px;width:16px}.key.fn-row .glyph{font-size:6px}.key .alternate{font-size:9px}.key:has(.alternate) .glyph{font-size:10px}.key:has(.alternate){gap:3px}.key.mod .glyph{font-size:6px}.key.mod .alternate{font-size:10px}.key.mod:has(.alternate),.key[data-key="⌘"]{padding:3px}.key[data-key="⌘"] .alternate{font-size:5px}.key[data-key="⌘"] .glyph{font-size:15px}.key.touch-id .glyph{height:22px;width:22px}.arrow-cluster{height:clamp(29px,5.5vw + 3px,46px)}.arrow-cluster>.key{margin:1.5px;height:calc(50% - 3px)}.arrow-middle .key{margin:1.5px}.brand-name{font-size:24px}.chapter-button{padding:10px;font-size:12px;gap:7px}.top-actions{gap:6px}.map-layout{grid-template-columns:174px minmax(0,1fr)}#chapterTabs{padding:10px 6px}.chapter-tab{padding:10px 6px;gap:6px}.chapter-tab strong{font-size:11px}.chapter-number{font-size:9px}#chapterPage{padding:14px}.level-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.map-heading{padding:20px}.chapter-intro h3{font-size:23px}.chapter-cover{width:100px}.chapter-intro{padding:15px}.map-heading h2{font-size:25px}}
@media(max-width:480px){.app{padding-left:8px;padding-right:8px}.brand-name{font-size:20px}.brand-star{width:30px;height:31px;font-size:24px}.brand{gap:6px}.top-actions{gap:4px}.top-button{width:29px;height:32px;border-radius:10px}.chapter-button{font-size:10px;padding:9px 7px;gap:4px}.chapter-button span{font-size:14px}.trail-pill{font-size:9px;padding:5px 6px;gap:3px}.trail-pill .star{font-size:14px}.top-button svg{width:16px;height:16px}.keyboard-housing{padding:5px}.keyboard-well{padding:3px}.key.fn-row .glyph{font-size:4px}.function-icon{width:12px;height:12px}.key.fn-row:first-child{padding-left:3px}.key.fn-row:first-child .glyph{font-size:6px}.key .alternate{font-size:7px}.key:has(.alternate) .glyph{font-size:8px}.key.mod .glyph{font-size:4px!important}.key.mod .alternate{font-size:8px}.key[data-key="⌘"] .alternate{font-size:4px}.key[data-key="⌘"] .glyph{font-size:11px}.key[data-key="fn"] .alternate{font-size:10px}.key[data-key="caps lock"] .alternate{top:3px;left:4px;font-size:5px}.key.touch-id .glyph{width:16px;height:16px}.key[data-key="shift"],.key[data-key="tab"],.key[data-key="return"],.key[data-key="delete"]{padding:0 3px}.key.target .glyph{font-size:17px}.map-layout{display:block}#chapterTabs{display:flex;overflow-x:auto;gap:5px;border-right:0;border-bottom:1px solid #e4d9ca}.chapter-tab{flex:0 0 137px}.map-heading{padding:18px 15px}.map-heading h2{font-size:23px}.map-heading p{font-size:11px}.map-kicker{font-size:8px}.chapter-intro h3{font-size:24px}.chapter-intro small{font-size:9px}.chapter-cover{width:95px}.level-picture{height:77px}.map-bottom{padding:14px;font-size:10px;flex-direction:column;gap:5px}.level-card strong{font-size:11px}#chaptersDialog{max-width:calc(100vw - 18px);max-height:94svh}}
/* Arrow buttons use their cluster's tracks, not the main 60-column key grid. */
.arrow-cluster .key{grid-column:auto!important}.arrow-middle{min-width:0}
/* Key by Key identity study: a bookish wordmark and a leaf that becomes a key. */
.brand-name{font-family:Georgia,'Times New Roman',serif;font-size:32px;font-weight:400;letter-spacing:-1.3px}
.brand-sub{font-size:11px;font-weight:500;letter-spacing:.07em;margin-top:5px}
.brand-star{width:44px;height:47px;border-radius:10px;background:#fff0ce;transform:rotate(-4deg);border:1px solid #e5cf9d;box-shadow:0 4px #b18a66,0 8px 18px #51456340}
.brand-star img{height:40px;width:40px;display:block}.brand{gap:11px}
@media(max-width:790px){.brand-name{font-size:27px}.brand-star{width:37px;height:40px}.brand-star img{width:34px;height:34px}.brand{gap:8px}}
@media(max-width:480px){.brand-name{font-size:22px;letter-spacing:-.8px}.brand-star{width:29px;height:33px}.brand-star img{height:28px;width:28px}.brand{gap:6px}.chapter-button span,.trail-pill .star{display:none}.chapter-button{padding:9px 7px}.topbar{gap:6px}.trail-pill{padding:7px 6px;font-size:10px}.brand-sub{display:none}}
/* Key by Key: the physical key and its two written letter forms. */
.brand-star{background:transparent;border:0;box-shadow:none;transform:rotate(-4deg)}
.brand-star img{width:47px;height:47px}
@media(max-width:790px){.brand-star img{width:39px;height:39px}}
@media(max-width:480px){.brand-name{font-size:21px}.brand-star img{width:31px;height:31px}}

.voice-review-link{display:block;text-align:center;font-size:11px;margin-top:13px;color:#886458;line-height:1.5}
/* Play revision: pictures and keys carry the lesson; copy is kept to useful actions. */
.sr-only,.status-message{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
[hidden]{display:none!important}.board{min-height:330px}.words-side{gap:22px;padding:32px 28px 32px 5px}.slots{min-height:110px}.slot{height:95px;max-width:82px;width:82px;border-radius:17px}.slots.long .slot{height:76px}.prompt{margin-top:5px;min-height:60px;border-radius:17px;background:#f7ecd5;border-color:#e6d3af;box-shadow:0 4px #d9bc94;padding:9px 12px 9px 20px;gap:18px}.prompt-text{font-size:20px;font-weight:700}.target-chip{height:43px;width:43px;background:#f8d681}.board.new-word .illustration{animation:toy-arrive .45s cubic-bezier(.2,.8,.25,1.1)}
@keyframes toy-arrive{from{opacity:0;transform:translateY(11px) rotate(-2deg) scale(.97)}to{opacity:1;transform:none}}
.key{transition:transform .09s,border-color .12s,background .12s,box-shadow .12s}.key.pressed{transform:translateY(2px) scale(.985)}.key.help-pulse{animation:help-key .85s ease-out!important}.key.target:after{display:none}
@keyframes help-key{0%,100%{box-shadow:0 0 0 3px #ffda74}45%{box-shadow:0 0 0 12px #ffda7477,0 0 35px #ffe7a4;transform:translateY(-6px)}}
.picture-side:active .illustration{transform:translateY(3px) scale(.98);transition:transform .09s}.top-button:active,.chapter-button:active,.trail-pill:active{transform:translateY(3px);box-shadow:0 1px #75678870}.topbar{min-height:57px}.listen-button{width:45px;height:45px;background:#e9f1df;border-color:#becbab;box-shadow:0 4px #a5b398;color:#596e57}.finish-layer{background:#fff9efed;animation:reward-arrive .38s cubic-bezier(.2,.9,.3,1.15)}.finish-layer p{font-size:17px}.finish-stars{color:#d7a452;animation:none}.finish-layer h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-1px}
@keyframes reward-arrive{from{opacity:0;transform:scale(.96) translateY(9px)}to{opacity:1;transform:none}}
dialog[open]{animation:open-book .24s cubic-bezier(.2,.85,.2,1)}dialog::backdrop{background:#30253588;backdrop-filter:blur(5px)}
@keyframes open-book{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}
#chaptersDialog{max-width:min(1040px,calc(100vw - 32px));background:#fbf2df;border:5px solid #c69c74;border-radius:25px;box-shadow:0 8px #92715c,0 28px 100px #29233477}.map-heading{padding:24px 26px 18px;align-items:center;border-color:#dfcfb4}.map-heading h2{font-family:Georgia,serif;font-size:30px;font-weight:400;letter-spacing:-.8px;margin:0}.map-close{width:auto;height:43px;border-radius:12px;display:flex;align-items:center;gap:12px;padding:0 14px;background:#e7e9d5;border:1px solid #b7bda4;box-shadow:0 3px #a9b19b;font-size:13px;font-weight:bold}.map-close span{font-size:20px}.map-layout{display:block;padding:20px 24px 24px}#chapterTabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;border:0;padding:0;background:none;overflow:visible}.chapter-tab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;margin:0;min-height:215px;gap:2px;padding:17px 12px 14px 20px;background:linear-gradient(90deg,#0000000b 0 8px,transparent 8px),var(--cover);border:2px solid #ffffff99;border-right:4px solid #fff9ed;border-bottom:5px solid #f0e3cb;border-radius:9px 15px 15px 9px;box-shadow:-4px 0 #957b62,0 7px #d2b99a,0 12px 15px #78605223;color:#5e5355;text-align:center;transform:rotate(var(--tilt,-1deg));transition:transform .2s,box-shadow .2s}.chapter-tab:nth-child(even){--tilt:1deg}.chapter-tab:hover,.chapter-tab[aria-current=true]{background:linear-gradient(90deg,#0000000b 0 8px,transparent 8px),var(--cover);transform:translateY(-5px) rotate(0);border-color:#ffffffc9;box-shadow:-4px 0 #957b62,0 10px #d2b99a,0 16px 18px #7860522c}.chapter-tab:active{transform:translateY(2px) rotate(0);box-shadow:-3px 0 #957b62,0 3px #d2b99a}.book-picture{width:100%;height:125px;display:flex;align-items:center;justify-content:center;pointer-events:none}.book-picture svg{width:100%;height:100%}.chapter-tab strong{font-family:Georgia,serif;font-size:18px;font-weight:400;line-height:1.1;max-width:100%}.chapter-tab small{font-size:11px;margin-top:6px}.chapter-number{position:absolute;top:11px;left:18px;font-size:10px;color:#72685288}
#chaptersDialog[data-page=chapters] #chapterPage{display:none}#chaptersDialog[data-page=words] #chapterTabs{display:none}#chapterPage{padding:0;animation:turn-page .24s ease-out}.chapter-intro{padding:0 0 12px;background:none;border-radius:0;min-height:0;gap:15px;justify-content:flex-start}.chapter-intro h3{font-family:Georgia,serif;font-size:28px;font-weight:400;margin:0;flex:1}.chapter-intro>span{font-size:12px;color:#93816b;white-space:nowrap}.book-back{background:#efe1c6;border:1px solid #cdb493;border-radius:11px;width:42px;height:38px;box-shadow:0 3px #c2a681;color:#7f6458;font-size:22px}.book-back:active{transform:translateY(2px);box-shadow:0 1px #c2a681}.chapter-meter{margin:6px 0 20px;height:6px}.chapter-meter span{transition:width .4s}.level-grid{gap:15px}.level-card{padding:12px 7px 15px;border-radius:14px;border-color:#ddc6a8;border-bottom:5px solid #d0b18c;background:#fffcf4;box-shadow:0 4px 9px #92775c11;transition:transform .15s,box-shadow .15s}.level-card:hover{transform:translateY(-4px) rotate(-1deg);box-shadow:0 7px 15px #92775c22;background:#fffcf4}.level-card:active{transform:translateY(3px);box-shadow:none}.level-picture{height:118px;pointer-events:none}.level-card strong{font-size:15px}.level-card small{font-size:10px}.level-card.is-current{box-shadow:0 0 0 3px #eac46d,0 6px #d8ba8a}.level-card.is-done{background:#edf1e2;border-bottom-color:#a5b796}.level-stamp{top:9px;right:9px;color:#c29245;font-size:20px;filter:drop-shadow(0 2px #e0c791)}.map-bottom{padding:13px 26px;background:#f3e8d1;border-color:#dfcfb4;font-size:12px}
@keyframes turn-page{from{opacity:.4;transform:translateX(10px)}to{opacity:1;transform:none}}
#settingsDialog,#resetDialog{border:4px solid #c3a07d;background:#fff8e9;max-width:min(425px,calc(100vw - 30px));box-shadow:0 7px #8d6e5c,0 28px 90px #29233477}.settings{padding:25px}.settings h2{font-family:Georgia,serif;font-weight:400;font-size:28px;letter-spacing:-.5px;margin:0 0 18px}.setting-row{padding:13px 0;border-color:#e6d7be;font-size:13px;font-weight:700;cursor:pointer}.setting-row input{appearance:none;-webkit-appearance:none;width:46px;height:27px;border:1px solid #bca68e;border-radius:20px;background:#ddcfba;flex-shrink:0;position:relative;box-shadow:inset 0 2px 3px #88725b22;transition:background .18s,border-color .18s}.setting-row input:before{content:'';position:absolute;width:20px;height:20px;left:3px;top:2px;background:#fffaf0;border:1px solid #ccbca5;border-radius:50%;box-shadow:0 2px 2px #806a4d22;transition:transform .18s cubic-bezier(.2,.8,.3,1.2)}.setting-row input:checked{background:#91b39a;border-color:#71917c}.setting-row input:checked:before{transform:translateX(18px);border-color:#f0ebd8}.setting-row input:focus-visible{outline:3px solid #b59bcd;outline-offset:3px}.voice-note{border:0;background:#eee9d9;padding:11px;font-size:11px}.voice-note small{font-size:10px}.parent-note{font-size:10px!important;line-height:1.4!important;color:#9e8a79!important}.secondary,.primary{border:1px solid #ceb89c;border-bottom:3px solid #c2a584;border-radius:12px;background:#eee2cc;color:#755c50;transition:transform .1s}.primary{background:#edcf8d;border-color:#d8b870;border-bottom-color:#bd985a}.primary:active,.secondary:active{transform:translateY(2px);border-bottom-width:1px}.voice-review-link{font-size:11px}.save-tools{margin-top:18px}.settings-buttons{margin-top:18px}.voice-test{font-size:12px}.settings-buttons #restartBtn{font-size:11px;background:transparent;border:0;box-shadow:none;text-decoration:underline;color:#9d7c6f}.settings p:last-child{text-align:center;font-size:10px!important;margin-top:18px!important}
@media(min-width:791px) and (max-height:850px){.board{min-height:270px}.words-side{padding-top:20px;padding-bottom:20px;gap:15px}.slots{min-height:95px}.slot{height:81px}.slots.long .slot{height:67px}.prompt{min-height:50px}.level-picture{height:95px}.chapter-tab{min-height:180px}.book-picture{height:100px}}
@media(max-width:790px){.board{min-height:0}.words-side{padding:12px 18px 28px;gap:15px}.slot{height:71px;width:64px;max-width:64px}.slots{min-height:85px}.slots.long .slot{height:58px}.prompt{min-height:49px;margin-top:0}.target-chip{width:36px;height:36px}.prompt-text{font-size:17px}.map-layout{padding:18px}.chapter-tab{min-height:180px;padding:12px 8px 13px 15px}.book-picture{height:100px}.chapter-tab strong{font-size:15px}#chapterTabs{gap:15px;grid-template-columns:repeat(3,minmax(0,1fr))}.level-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.level-picture{height:90px}.level-card strong{font-size:13px}.chapter-intro h3{font-size:25px}.map-heading{padding:18px}.map-heading h2{font-size:25px}.map-close{font-size:11px;padding:0 10px;gap:7px}}
@media(max-width:480px){.stage{padding-top:17px;gap:15px}.board .picture-side{height:195px}.board .illustration{height:195px}.words-side{padding:10px 12px 25px;gap:13px}.slots{min-height:75px}.slot{height:65px;max-width:57px}.slots.long .slot{height:52px}.prompt{min-height:48px;gap:14px;padding:6px 9px 6px 16px}.target-chip{height:34px;width:34px}.keyboard-housing{margin-top:4px}#chapterTabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.chapter-tab{min-height:182px;padding-top:12px}.book-picture{height:111px}.chapter-tab strong{font-size:17px}.map-layout{padding:16px}.map-heading{padding:16px 13px;gap:10px}.map-heading h2{font-size:23px}.map-close{font-size:10px;height:36px;gap:6px}.map-close span{display:none}.level-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.level-card{padding:8px 4px 12px}.level-picture{height:80px}.level-card strong{font-size:12px}.chapter-intro h3{font-size:22px;line-height:1.1}.chapter-intro{gap:10px}.book-back{flex-shrink:0;width:36px;height:34px}.map-bottom{padding:13px 17px}.finish-stars{font-size:40px}.finish-layer h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){dialog[open],.board.new-word .illustration,#chapterPage,.key.help-pulse{animation:none!important}.chapter-tab,.level-card{transition:none!important}}

.status-message:empty:after{content:none!important}
