.ee-app{--red:#c82438;max-width:1100px;margin:20px auto;font:16px/1.5 system-ui,Arial,sans-serif;color:#263247}.ee-app *{box-sizing:border-box}.ee-app button{cursor:pointer}.ee-header{display:flex;gap:22px;align-items:center;background:var(--red);color:#fff;padding:24px;border-radius:18px}.ee-header img{width:130px;height:100px;object-fit:cover;border-radius:12px}.ee-header h2{color:white;font-size:29px;margin:5px 0}.ee-header p{margin:0}.ee-nav{display:flex;gap:8px;overflow-x:auto;padding:15px 0}.ee-nav button,.ee-games button{flex-shrink:0;border:1px solid #e0e3e9;background:white;border-radius:11px;padding:11px 15px;font-weight:700}.ee-nav button.on,.ee-games button.on{background:var(--red);border-color:var(--red);color:white}.ee-stage{border:1px solid #e5e7eb;border-radius:18px;padding:24px;min-height:310px}.ee-stage h3{font-size:24px;margin:0 0 6px}.ee-btn{background:var(--red);border:0;color:#fff;border-radius:10px;padding:11px 16px;font-weight:700;margin:4px}.ee-btn:disabled{opacity:.4}.ee-flash{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff5f6;border:2px solid #f1c9d0;border-radius:18px;width:min(100%,400px);height:260px;margin:20px auto}.ee-flash strong{font-size:35px}.ee-flash small{font-size:18px}.ee-image{max-width:100%;width:210px;height:180px;object-fit:contain;border-radius:12px}.ee-emoji{font-size:80px}.ee-phrase{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#f8fafc;border-radius:17px;min-height:240px;padding:25px;margin:18px auto;max-width:700px}.ee-phrase h2{font-size:32px}.ee-phrase p{font-size:20px}.ee-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:14px 0}.ee-counter{text-align:center;color:#64748b}.ee-toggle{display:block;margin:15px 0}.ee-video{aspect-ratio:16/9;width:100%;max-width:800px;background:#111;margin:15px auto}.ee-video iframe{width:100%;height:100%}.ee-quiz{max-width:800px;margin:auto}.ee-option{display:block;width:100%;margin:7px 0;text-align:left}.ee-games{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.ee-game{border:1px solid #e4e7eb;padding:20px;border-radius:14px}.ee-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:650px}.ee-tile{border:1px solid #d7dce4;background:white;min-height:80px;padding:10px;border-radius:11px;font-size:18px}.ee-tile .ee-image{height:70px;width:100%;max-width:100px}.ee-tile.done,.ee-tile:disabled{background:#dcfce7}.ee-tile.selected{background:#fde68a}.ee-answer{padding:20px;background:#f8fafc;border-radius:10px;min-height:70px}.ee-cloze{line-height:3}.ee-blank{width:110px;padding:7px;border:0;border-bottom:2px solid var(--red);background:#fff5f6}.ee-wordgrid{display:grid;grid-template-columns:repeat(6,1fr);max-width:420px;gap:4px}.ee-wordgrid .ee-tile{min-height:42px}.ee-download{display:block;border:1px solid #e4e7eb;border-radius:10px;padding:15px;margin:10px 0;color:var(--red)}.ee-song{background:#202333;color:white;text-align:center;border-radius:18px;padding:30px}.ee-song audio{width:100%;max-width:650px}.ee-song #ee-lyrics{margin:25px 0}.ee-song #ee-lyrics p{font-size:21px;color:#b9bdcc}.ee-song #ee-lyrics p.active{color:#fde047;font-weight:800;font-size:24px}.ee-bottom{display:flex;justify-content:space-between;margin:15px 0}.ee-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}.ee-catalog-card{border:1px solid #e5e7eb;border-radius:15px;overflow:hidden;color:inherit;text-decoration:none;background:white}.ee-catalog-card>img,.ee-cover-placeholder{width:100%;height:165px;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#fff1f2;font-size:65px}.ee-card-info{padding:17px}.ee-card-info h3{margin:5px 0}.ee-card-info strong{color:#c82438}@media(max-width:550px){.ee-stage{padding:14px}.ee-header{padding:16px}.ee-header img{width:75px;height:75px}.ee-header h2{font-size:21px}.ee-phrase h2{font-size:24px}.ee-tile{min-height:62px}}

/* v0.2.0 accessible flashcards and sentence ordering */
.ee-flash{gap:8px;height:auto;min-height:280px;padding:22px}.ee-flash .ee-image{height:175px;width:240px;object-fit:contain}.ee-flash-word{font-size:clamp(30px,4vw,43px)!important;font-weight:800;line-height:1.25;color:#182338}.ee-word-button{font-family:Arial,system-ui,sans-serif!important;font-size:clamp(21px,2.2vw,27px)!important;font-weight:750!important;min-height:60px;padding:12px 19px;letter-spacing:.01em}.ee-answer{font-family:Arial,system-ui,sans-serif;font-size:clamp(22px,2.5vw,30px);font-weight:650;line-height:1.6;min-height:90px}.ee-game p{font-size:18px}.ee-game .ee-controls{justify-content:flex-start}.ee-btn:focus-visible,.ee-tile:focus-visible{outline:3px solid #164eac;outline-offset:3px}

/* v0.3 fullscreen and video quiz */
.ee-stage-tools{display:flex;justify-content:flex-end}.ee-stage-tools .ee-btn{font-size:13px;padding:7px 12px;background:#263247}.ee-stage:fullscreen{overflow:auto;background:white;padding:clamp(18px,4vw,55px);width:100%;height:100%}.ee-stage:fullscreen .ee-flash{width:min(80vw,640px);min-height:55vh}.ee-stage:fullscreen .ee-phrase{min-height:60vh}.ee-stage:fullscreen .ee-video{max-width:min(95vw,1100px)}.ee-stage:fullscreen .ee-game{max-width:1100px;margin:auto}.ee-stage:fullscreen .ee-song{min-height:75vh;display:flex;flex-direction:column;justify-content:center}.ee-quiz-question{border:2px solid #c82438;border-radius:14px;padding:18px;margin-top:14px;background:#fff8f9}.ee-quiz-question h3{font-size:24px}.ee-quiz-question .ee-option{font-size:19px;min-height:54px}.ee-success{color:#16723c;font-weight:700}

/* v0.4: fullscreen is anchored to the persistent app root, not the rerendered stage */
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen){background:#fff;overflow:auto;max-width:none;width:100%;height:100%;padding:12px}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-header,.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-nav,.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-bottom{display:none}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage{border:0;min-height:100%;padding:12px}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage h3{font-size:clamp(26px,3vw,44px)}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game{max-width:1100px;margin:auto}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-tile{font-size:clamp(22px,2.2vw,32px);min-height:110px}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-video{max-width:min(95vw,1250px)}
.ee-video{position:relative;overflow:hidden;border-radius:14px}.ee-video>div[data-yt],.ee-video>div[id^=ee-player]{height:100%;width:100%}.ee-video .ee-quiz{display:none;position:absolute;inset:0;z-index:4;overflow:auto;align-items:center;justify-content:center;background:rgba(9,14,26,.83);padding:clamp(8px,2vw,24px);max-width:none}.ee-video .ee-quiz.ee-quiz-visible{display:flex}.ee-video .ee-quiz-question{width:min(100%,650px);max-height:100%;overflow:auto;background:#fff;border-radius:16px;padding:clamp(12px,2vw,26px);margin:0}.ee-video .ee-quiz-question h3{font-size:clamp(17px,2vw,26px);line-height:1.25}.ee-video .ee-option{font-size:clamp(15px,1.7vw,20px);min-height:42px;margin:4px 0}.ee-worksheet-card{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #e5e7eb;padding:16px;border-radius:12px;margin:12px 0}.ee-song #ee-lyrics p{transition:color .12s;font-size:clamp(19px,2.2vw,27px)}.ee-song #ee-lyrics p.active{font-size:clamp(23px,2.6vw,33px)}

/* 0.5.0 accessibility and interactive feedback */
.ee-translate{display:inline-flex;align-items:center;gap:9px;border:2px solid #b81c32;background:#c82438;color:white;border-radius:12px;font-size:19px;font-weight:800;padding:13px 21px;min-height:54px;margin:12px 0}.ee-translate.active{background:#20314e;border-color:#20314e}.ee-challenge{background:#fff;border:2px solid #c82438;border-radius:12px;padding:12px 17px;font-size:18px;font-weight:800;color:#a8172b;cursor:pointer}.ee-challenge.active{background:#c82438;color:white}.ee-challenge-clock{font-size:17px;font-variant-numeric:tabular-nums;font-weight:700;margin-left:12px}.ee-dialogue-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:20px}.ee-dialogue-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ee-dialogue-columns>div{display:flex;flex-direction:column;gap:10px}.ee-dialogue-columns .ee-tile{font-size:clamp(17px,2vw,23px);text-align:left;line-height:1.45;min-height:85px}.ee-dialogue-results,.ee-found-list{border:1px solid #cbd5e1;border-radius:14px;padding:16px;background:#f8fafc}.ee-dialogue-result{padding:12px;margin:8px 0;border-radius:10px;background:#dcfce7;font-size:17px;line-height:1.6}.ee-small-audio{border:0;background:#fff;border-radius:8px;padding:7px;cursor:pointer}.ee-wordsearch-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(160px,1fr);gap:18px;align-items:start}.ee-wordsearch-layout .ee-wordgrid{grid-template-columns:repeat(10,minmax(0,1fr));max-width:none;gap:3px}.ee-wordsearch-layout .ee-tile{min-height:38px;padding:3px;font-weight:800;font-size:clamp(13px,1.6vw,20px)}.ee-wordsearch-layout .ee-tile.ee-found{background:#bbf7d0;border:2px solid #15803d;color:#14532d}.ee-found-list div{font-size:18px;margin:8px 0;padding:7px;border-radius:6px}.ee-found-list div.found{background:#dcfce7;color:#14532d;font-weight:800}.ee-song #ee-lyrics p.active{background:#334155;border-radius:12px;padding:8px;color:#fde047;outline:2px solid #fde047}.ee-song #ee-song-status{font-size:13px;color:#d6d9e1}@media(max-width:700px){.ee-dialogue-layout,.ee-wordsearch-layout{grid-template-columns:1fr}.ee-dialogue-columns .ee-tile{min-height:65px}.ee-wordsearch-layout .ee-tile{min-height:32px}}
/* v0.6: accessible viewport layouts, no page-level scrolling while playing */
.ee-stage:fullscreen{display:flex;flex-direction:column;overflow:hidden;padding:clamp(10px,2vh,24px);height:100dvh;width:100vw;max-width:none}
.ee-stage:fullscreen>.ee-game,.ee-stage:fullscreen>.ee-song{flex:1;min-height:0}
.ee-stage:fullscreen .ee-game{overflow:hidden;display:flex;flex-direction:column;width:100%;max-width:none;padding:clamp(8px,1vh,16px)}
.ee-stage:fullscreen .ee-games{margin:4px 0;gap:5px}
.ee-stage:fullscreen .ee-games button{padding:6px 10px}
.ee-stage:fullscreen .ee-memory-grid{flex:1;min-height:0;max-width:min(100%,1100px);grid-template-columns:repeat(var(--ee-memory-cols,4),minmax(0,1fr));grid-auto-rows:minmax(0,1fr);align-self:center;width:100%}
.ee-memory-grid{grid-template-columns:repeat(var(--ee-memory-cols,4),minmax(0,1fr));max-width:800px}
.ee-memory-grid .ee-tile{min-height:0;aspect-ratio:1.45;overflow:hidden;font-size:clamp(17px,2vw,26px);padding:5px}
.ee-memory-grid .ee-image{width:100%;height:100%;max-height:100%;object-fit:contain}
.ee-stage:fullscreen .ee-memory-grid .ee-tile{aspect-ratio:auto;min-height:0}
.ee-stage:fullscreen .ee-wordsearch-layout{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) minmax(150px,26%);align-items:center}
.ee-stage:fullscreen .ee-wordgrid{width:min(100%,calc(100dvh - 265px));height:min(100%,calc(100dvh - 265px));aspect-ratio:1;grid-template-rows:repeat(10,minmax(0,1fr));justify-self:center}
.ee-stage:fullscreen .ee-wordgrid .ee-tile{min-height:0;min-width:0;padding:0;font-size:clamp(12px,2.4vh,24px)}
.ee-wordgrid{aspect-ratio:1;grid-template-rows:repeat(10,minmax(0,1fr))}
.ee-wordgrid .ee-tile{min-height:0;min-width:0;padding:2px;aspect-ratio:1}
.ee-stage:fullscreen .ee-dialogue-layout{flex:1;min-height:0;overflow:hidden;grid-template-columns:minmax(0,2fr) minmax(180px,1fr)}
.ee-stage:fullscreen .ee-dialogue-columns,.ee-stage:fullscreen .ee-dialogue-columns>div{min-height:0;overflow:auto}
.ee-stage:fullscreen .ee-dialogue-columns .ee-tile{min-height:0;padding:clamp(6px,1vh,12px);font-size:clamp(16px,1.7vw,23px)}
.ee-stage:fullscreen .ee-dialogue-results{min-height:0;overflow:auto}
.ee-stage:fullscreen .ee-answer{padding:clamp(10px,2vh,20px)}
.ee-stage:fullscreen .ee-controls{margin:6px 0}
.ee-stage:fullscreen .ee-cloze{overflow:auto;flex:1;min-height:0}
.ee-stage:fullscreen .ee-phrase{min-height:0;flex:1}
.ee-song #ee-lyrics{height:clamp(230px,45vh,500px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;position:relative;padding-block:18vh;scroll-behavior:smooth}
.ee-song #ee-lyrics p{margin:16px auto;line-height:1.45;max-width:850px}
.ee-stage:fullscreen .ee-song{min-height:0;justify-content:flex-start;padding:clamp(10px,2vh,24px)}
.ee-stage:fullscreen .ee-song #ee-lyrics{flex:1;height:auto;min-height:0;padding-block:20vh}
.ee-stage:fullscreen .ee-song audio{flex-shrink:0}
@media(max-width:700px){.ee-stage:fullscreen .ee-wordsearch-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}.ee-stage:fullscreen .ee-wordgrid{width:min(100%,calc(100dvh - 340px));height:auto;max-height:calc(100dvh - 340px)}.ee-stage:fullscreen .ee-found-list{display:flex;gap:5px;flex-wrap:wrap;padding:5px}.ee-stage:fullscreen .ee-found-list div{margin:0;font-size:13px;padding:2px}.ee-stage:fullscreen .ee-dialogue-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}.ee-stage:fullscreen .ee-dialogue-results{max-height:20vh}}

/* Keep fullscreen host mounted when a game rerenders. */
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen){height:100dvh;max-width:none;width:100vw;margin:0;padding:6px 14px;background:#fff;overflow:hidden;display:flex;flex-direction:column}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-header,.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-nav,.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-bottom{display:none}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:clamp(8px,1.5vh,20px)}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-game{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-memory-grid{flex:1;min-height:0;max-width:1100px;grid-template-columns:repeat(var(--ee-memory-cols,4),minmax(0,1fr));grid-auto-rows:minmax(0,1fr);width:100%;align-self:center}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-memory-grid .ee-tile{min-height:0;aspect-ratio:auto}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-wordsearch-layout{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) minmax(160px,28%);align-items:center}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-wordgrid{width:min(100%,calc(100dvh - 270px));height:min(100%,calc(100dvh - 270px));grid-template-rows:repeat(10,minmax(0,1fr));justify-self:center}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-wordgrid .ee-tile{min-height:0;aspect-ratio:auto;padding:0}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-song{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:flex-start;padding:10px}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-song #ee-lyrics{flex:1;min-height:0;height:auto}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-dialogue-layout{flex:1;min-height:0;overflow:hidden}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-dialogue-columns,.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-dialogue-results{overflow:auto;min-height:0}
@media(max-width:700px){.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-wordsearch-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-wordgrid{width:min(100%,calc(100dvh - 360px));height:auto;aspect-ratio:1}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-found-list{display:flex;flex-wrap:wrap;gap:3px;padding:4px}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage .ee-found-list div{margin:0;padding:2px;font-size:12px}}

/* 0.7.0: shared immersive player, independent of WordPress/theme chrome */
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen){position:fixed!important;inset:0!important;z-index:2147483647!important;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:8px clamp(10px,2vw,28px)!important;overflow:hidden!important;background:#fff!important;display:flex!important;flex-direction:column!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-header,.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-nav,.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-bottom{display:none!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage{flex:1!important;min-height:0!important;min-width:0!important;border:0!important;overflow:hidden!important;padding:4px!important;display:flex!important;flex-direction:column!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage-tools{flex:0 0 auto;position:relative;z-index:2}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage>h3{font-size:clamp(19px,2.6vh,28px)!important;line-height:1.1;margin:0 0 3px}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-stage>p{margin:3px 0}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-games{flex:0 0 auto;margin:4px 0!important;gap:5px}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-games button{padding:6px 10px;font-size:clamp(12px,1.6vh,16px)}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-challenge{padding:5px 10px;min-height:34px;font-size:14px;align-self:flex-start}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game{flex:1!important;min-height:0!important;min-width:0!important;width:100%!important;max-width:none!important;overflow:hidden!important;padding:8px!important;display:flex!important;flex-direction:column!important;gap:5px}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game>p{flex:0 0 auto;margin:2px 0;font-size:clamp(13px,1.8vh,18px)}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-controls{flex:0 0 auto;margin:3px 0;gap:5px}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-btn{padding:7px 12px;margin:2px;min-height:38px}
.ee-memory-grid{display:grid;grid-template-columns:repeat(var(--ee-memory-cols,4),minmax(0,1fr));gap:9px;width:100%;max-width:none;align-self:stretch}
.ee-memory-grid .ee-tile{min-width:0;min-height:75px;overflow:hidden;display:flex;align-items:center;justify-content:center;overflow-wrap:anywhere;font-size:clamp(16px,2vw,26px)}
.ee-memory-grid .ee-image{width:100%;height:100%;max-width:100%;max-height:105px;object-fit:contain}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-memory-grid{flex:1!important;min-height:0!important;max-width:none!important;grid-auto-rows:minmax(0,1fr)!important;align-self:stretch!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-memory-grid .ee-tile{min-height:0!important;padding:5px!important;font-size:clamp(16px,2.3vw,32px)!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-memory-grid .ee-image{max-height:100%;max-width:100%;width:100%;height:100%;object-fit:contain}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-wordsearch-layout{flex:1!important;min-height:0!important;min-width:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(150px,24%)!important;grid-template-rows:minmax(0,1fr)!important;align-items:center!important;gap:12px}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-wordsearch-layout .ee-wordgrid{width:min(100%,calc(100dvh - 240px))!important;height:min(100%,calc(100dvh - 240px))!important;max-width:100%!important;max-height:100%!important;aspect-ratio:1;justify-self:center;align-self:center;grid-template-columns:repeat(10,minmax(0,1fr))!important;grid-template-rows:repeat(10,minmax(0,1fr))!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-wordgrid .ee-tile{min-height:0!important;min-width:0!important;padding:0!important;font-size:clamp(12px,2.4vh,25px)!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-found-list{max-height:100%;overflow:auto;padding:10px}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-found-list div{margin:2px 0;padding:3px;font-size:clamp(12px,1.8vh,18px)}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-dialogue-layout{flex:1!important;min-height:0!important;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:12px}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-dialogue-columns{min-height:0;overflow:auto;align-content:start}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-dialogue-columns .ee-tile{min-height:48px;padding:7px;font-size:clamp(14px,1.8vh,21px)!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-dialogue-results{min-height:0;overflow:auto;padding:9px}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-dialogue-result{font-size:clamp(12px,1.7vh,17px);padding:6px;margin:4px 0}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-answer{min-height:0;padding:10px;font-size:clamp(18px,3vh,30px)}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-word-button{min-height:42px!important;padding:7px 11px!important;font-size:clamp(17px,2.5vh,25px)!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-cloze{flex:1;min-height:0;overflow:auto;font-size:clamp(18px,2.7vh,27px);line-height:2.2}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-phrase,.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-flash{flex:1;min-height:0!important;max-height:75vh;margin:6px auto;overflow:hidden}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-video{flex:1;min-height:0;max-width:min(100%,calc(78dvh * 16 / 9));max-height:78dvh;align-self:center}
.ee-song #ee-lyrics{height:clamp(230px,40vh,440px);display:grid;grid-template-rows:1fr 1.5fr 1fr;align-items:center;gap:8px;overflow:hidden!important;margin:16px 0!important;padding:12px!important}
.ee-song #ee-lyrics p{margin:0!important;padding:8px!important;line-height:1.3;max-height:100%;overflow:hidden;display:flex;align-items:center;justify-content:center;text-wrap:balance}
.ee-song #ee-lyrics .ee-lyric-current{font-size:clamp(23px,3.2vw,38px)!important;color:#fde047!important;font-weight:800!important;border:2px solid #fde047;border-radius:14px;background:#334155}
.ee-song #ee-lyrics .ee-lyric-near{font-size:clamp(16px,2vw,25px)!important;color:#cbd5e1!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-song{flex:1;min-height:0;max-height:100%;display:flex;flex-direction:column;justify-content:center!important;padding:12px!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-song h2{margin:4px 0;font-size:clamp(22px,3vh,36px)}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-song audio{flex-shrink:0}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-song #ee-lyrics{flex:1;min-height:0;height:auto!important;padding:8px!important;max-height:65dvh}
.ee-quiz .ee-correct-answer{background:#dcfce7!important;color:#14532d!important;border:2px solid #16a34a}
.ee-quiz .ee-wrong-answer{background:#fee2e2!important;color:#991b1b!important}
.ee-quiz .ee-continue-video{background:#16743c;font-size:clamp(17px,2vw,22px);min-height:50px;width:100%}
.ee-quiz #ee-feedback{font-size:clamp(16px,2vw,21px);font-weight:800;min-height:1.5em}
@media(max-width:650px){.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-wordsearch-layout{grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important;gap:4px}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-wordsearch-layout .ee-wordgrid{width:min(100%,calc(100dvh - 310px))!important;height:min(100%,calc(100dvh - 310px))!important}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-found-list{max-height:68px;display:flex;flex-wrap:wrap;gap:3px;overflow:auto}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-dialogue-layout{grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) minmax(80px,23%)!important}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-dialogue-results{max-height:100%}}
/* Consistent use of the viewport for the remaining games. */
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game>.ee-grid:not(.ee-memory-grid){flex:1;min-height:0;width:100%;max-width:none;grid-template-columns:repeat(auto-fit,minmax(min(22%,160px),1fr));grid-auto-rows:minmax(0,1fr);align-content:stretch}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game>.ee-grid:not(.ee-memory-grid) .ee-tile{min-height:0!important;min-width:0;overflow:hidden;font-size:clamp(16px,2.2vw,26px)!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game>.ee-grid:not(.ee-memory-grid) .ee-image{max-width:100%;max-height:100%;height:100%;width:100%;object-fit:contain}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game>.ee-controls:has(.ee-word-button){flex:1;min-height:0;align-content:center;align-items:center;overflow:auto}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game>.ee-controls:has(.ee-word-button) .ee-word-button{flex:0 1 auto}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game>.ee-cloze{max-width:100%;overflow:auto}

/* 0.8: the lesson has its own full-width template; no article column/sidebar */
body.ee-standalone-lesson{margin:0;background:#fff;color:#17243b;font-family:system-ui,Arial,sans-serif}body.ee-standalone-lesson .ee-lesson-main{width:100%;max-width:none;margin:0 auto;padding:clamp(12px,2vw,32px)}body.ee-standalone-lesson .ee-app{max-width:1560px;width:100%;margin:0 auto}.ee-app{width:100%;max-width:1560px}.ee-stage{width:100%}.ee-word-bank{background:#f4f7fb;border:1px solid #cbd5e1;border-radius:12px;padding:14px;margin:12px 0}.ee-word-bank-options{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}.ee-bank-word{border:2px solid #b9c9dc;border-radius:9px;padding:10px 16px;background:white;color:#17243b;font-size:18px;font-weight:700;cursor:pointer}.ee-bank-word:focus-visible,.ee-blank:focus-visible{outline:3px solid #c82438;outline-offset:2px}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-word-bank{flex-shrink:0}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-word-bank-options{max-height:20vh;overflow:auto}

/* 0.11.3: navigation, inline cloze and accessible controls */
.ee-global-nav{display:flex;justify-content:flex-end;gap:10px;margin:0 0 12px}.ee-global-nav a{display:inline-block;border:1px solid #d7dce4;border-radius:9px;padding:9px 15px;text-decoration:none;color:#17243b;font-weight:700;background:#fff}.ee-global-nav a:focus-visible{outline:3px solid #c82438}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-global-nav{display:none!important}.ee-cloze{white-space:normal;line-height:2.9;overflow-wrap:normal}.ee-cloze .ee-blank{display:inline-block!important;vertical-align:middle!important;max-width:80vw!important;min-height:44px!important;margin:3px 5px!important;padding:7px 9px!important;box-sizing:border-box!important;float:none!important;clear:none!important}.ee-read-controls{margin:4px auto 8px}.ee-phrase{min-height:170px;margin:10px auto}.ee-game-toolbar{display:flex;justify-content:flex-end;margin:0 0 10px}.ee-game-toolbar .ee-btn{background:#263247}.ee-listen-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ee-listen-options .ee-tile{min-height:90px;font-weight:700}@media(max-width:700px){.ee-listen-options{grid-template-columns:1fr}.ee-global-nav{justify-content:center}}

.ee-word-audio{border:0;background:transparent;cursor:pointer;font-size:1.05em;padding:3px 7px;border-radius:7px}.ee-word-audio:hover,.ee-word-audio:focus-visible{background:#fce7eb;outline:2px solid #bd1e36;outline-offset:1px}

/* 0.11.6: responsive Word Search dimensions */
.ee-wordsearch-layout .ee-wordgrid,.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-wordsearch-layout .ee-wordgrid{grid-template-columns:repeat(var(--ee-word-cols,10),minmax(0,1fr))!important;grid-template-rows:repeat(var(--ee-word-cols,10),minmax(0,1fr))!important}

/* Shared completion feedback for EduEnglish interactive activities */
.ee-congratulations{margin:18px auto 12px;padding:20px 16px;max-width:520px;text-align:center;background:#f1faf4;border:2px solid #b9e7c8;border-radius:18px;color:#173e2c;box-sizing:border-box}
.ee-congratulations .ee-congrats-icon{font-size:36px;line-height:1.3}
.ee-congratulations strong{display:block;font-size:clamp(23px,3vw,32px);margin:5px 0}
.ee-congratulations p{margin:4px 0 12px}
.ee-congratulations .ee-play-again{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 24px;background:#cf243b;color:white;border-radius:10px;font-weight:700}
.ee-congratulations .ee-play-again:focus-visible{outline:3px solid #17243b;outline-offset:3px}

/* 0.11.8: high-visibility accessible feedback and locked Cloze answers */
.ee-feedback-banner:not(:empty){display:block!important;margin:14px auto!important;padding:14px 18px!important;border-radius:12px!important;border:2px solid #d1d5db!important;background:#f3f4f6!important;color:#172033!important;font-size:1.15rem!important;font-weight:750!important;text-align:center!important;max-width:750px!important;}
.ee-feedback-banner.ee-feedback-ok{background:#e8f8ed!important;border-color:#238449!important;color:#16572e!important;}
.ee-feedback-banner.ee-feedback-retry{background:#fff1e9!important;border-color:#b45309!important;color:#78350f!important;}
.ee-blank-solved{background:#dcfce7!important;border:2px solid #15803d!important;color:#14532d!important;font-weight:700!important;opacity:1!important;}
.ee-blank-check{display:inline-block;color:#166534;font-weight:800;margin:0 6px 0 2px;font-size:1.1rem;}
.ee-blank-wrong{border:2px solid #b45309!important;background:#fff7ed!important;}
.ee-bank-word{min-height:42px;}
.ee-play-again{min-height:48px;font-weight:750;}

/* 0.11.10: readable Cloze Test and classroom LIM typography */
.ee-app .ee-game .ee-cloze{font-size:22px;line-height:2.15;overflow-wrap:normal}
.ee-app .ee-game .ee-cloze .ee-blank{font-size:22px!important;line-height:1.35!important;min-height:49px!important;padding:8px 11px!important;vertical-align:middle!important}
.ee-app .ee-game .ee-word-bank{font-size:20px;line-height:1.5}
.ee-app .ee-game .ee-bank-word{font-size:22px;min-height:50px}
.ee-app .ee-game .ee-feedback-banner:not(:empty){font-size:22px!important;padding:10px 14px!important;margin:10px auto!important}
.ee-lim-font-controls{display:none;align-items:center;gap:9px;margin-right:auto;font-size:17px;font-weight:700}
.ee-lim-font-controls button{border:2px solid #263247;background:#fff;color:#263247;border-radius:9px;font-size:22px;font-weight:800;min-height:48px;min-width:55px;cursor:pointer}
.ee-lim-font-controls button:focus-visible{outline:3px solid #c82438;outline-offset:2px}
.ee-lim-font-value{min-width:56px;text-align:center;font-variant-numeric:tabular-nums}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;justify-content:space-between}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen):has(.ee-games button[data-game="cloze"].on) .ee-lim-font-controls,
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen):has(.ee-games button[data-game="sentence"].on) .ee-lim-font-controls,
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen):has(.ee-games button[data-game="dialogue_match"].on) .ee-lim-font-controls{display:flex}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-cloze{font-size:var(--ee-lim-font,32px)!important;line-height:1.95!important;overflow:auto!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-cloze .ee-blank{font-size:var(--ee-lim-font,32px)!important;line-height:1.3!important;min-height:1.9em!important;max-width:75vw!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-word-bank{font-size:clamp(20px,2vw,26px)!important;overflow:auto;max-height:29vh}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-bank-word{font-size:var(--ee-lim-font,32px)!important;min-height:1.8em!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-word-button{font-size:var(--ee-lim-font,32px)!important;min-height:1.8em!important;white-space:normal}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-answer{font-size:var(--ee-lim-font,32px)!important;overflow:auto!important;flex-shrink:0}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-dialogue-columns .ee-tile{font-size:var(--ee-lim-font,32px)!important;line-height:1.35!important;min-height:1.9em!important;overflow-wrap:break-word}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-dialogue-result{font-size:var(--ee-lim-font,32px)!important;line-height:1.35!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-dialogue-layout{overflow:auto!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-controls:has(.ee-word-button){overflow:auto!important;flex-wrap:wrap!important}
@media(max-width:650px){.ee-app .ee-game .ee-cloze,.ee-app .ee-game .ee-cloze .ee-blank{font-size:20px!important}.ee-app .ee-game .ee-bank-word{font-size:20px}.ee-lim-font-controls span{display:none}}


/* v0.11.11 — readable classroom controls and consistent Sentence Order actions. */
.ee-sentence-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:stretch;margin:10px 0}
.ee-sentence-actions>.ee-btn{width:100%;min-width:0;margin:0;min-height:52px;white-space:normal;overflow-wrap:break-word;font-size:clamp(16px,1.5vw,20px);line-height:1.3}
@media(max-width:600px){.ee-sentence-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Classroom mode: legible instructions, progress, labels and buttons. */
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game>p,
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game>div>p{font-size:clamp(20px,2.15vw,28px)!important;line-height:1.4!important;font-weight:600;color:#17243b}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-btn:not(.ee-word-button),
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-bank-word,
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-small-audio,
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-word-audio{font-size:clamp(19px,2vw,27px)!important;font-weight:800!important;line-height:1.3;min-height:54px!important;padding:10px 16px!important}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-tile{font-size:clamp(20px,2.2vw,30px)!important;font-weight:700;line-height:1.35}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-counter,
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-controls>span,
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game h4,
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-found-list,
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-word-bank>strong,
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-word-bank>small{font-size:clamp(20px,2vw,27px)!important;line-height:1.4;font-weight:750;color:#17243b}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-feedback-banner:not(:empty){font-size:clamp(22px,2.3vw,30px)!important;line-height:1.35}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-congratulations{font-size:clamp(20px,2vw,27px)}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-sentence-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:clamp(8px,1.2vw,18px)!important;flex:0 0 auto;width:100%;margin:8px 0}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-sentence-actions>.ee-btn{display:flex!important;align-items:center;justify-content:center;min-width:0!important;width:100%!important;min-height:clamp(60px,8vh,84px)!important;margin:0!important;font-size:clamp(20px,2vw,29px)!important;white-space:normal!important;overflow-wrap:break-word;text-align:center;padding:10px!important}
@media(max-width:650px){.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-sentence-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* 0.11.12: one responsive, accessible completion dialog for every game.
   position:fixed is viewport-relative normally and fullscreen-root-relative in fullscreen. */
.ee-completion-overlay{position:fixed!important;inset:0!important;z-index:2147483600!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;padding:clamp(16px,4vw,36px)!important;background:rgba(12,22,38,.72)!important;overflow-y:auto!important;overscroll-behavior:contain}
.ee-completion-overlay .ee-congratulations{box-sizing:border-box!important;flex:0 1 520px!important;width:100%!important;max-width:520px!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;margin:auto!important;padding:clamp(24px,5vw,44px)!important;border:2px solid #b9e7c8!important;border-radius:22px!important;background:#fff!important;color:#173e2c!important;text-align:center!important;box-shadow:0 24px 70px rgba(0,0,0,.32)!important}
.ee-completion-overlay .ee-congrats-icon{font-size:clamp(48px,7vw,76px)!important;line-height:1.1!important}
.ee-completion-overlay .ee-congratulations strong{font-size:clamp(28px,5vw,42px)!important;line-height:1.2!important;display:block!important;margin:12px 0!important}
.ee-completion-overlay .ee-congratulations p{font-size:clamp(19px,3vw,26px)!important;line-height:1.4!important;margin:10px 0 24px!important}
.ee-completion-overlay .ee-play-again,.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-completion-overlay .ee-play-again{display:flex!important;width:100%!important;min-height:60px!important;align-items:center!important;justify-content:center!important;padding:14px 20px!important;font-size:clamp(20px,3vw,27px)!important;line-height:1.3!important;font-weight:800!important;background:#c91e39!important;color:#fff!important;border:0!important;border-radius:12px!important;cursor:pointer!important}
.ee-completion-overlay .ee-play-again:focus-visible{outline:4px solid #153d80!important;outline-offset:4px!important}
@media(max-width:420px){.ee-completion-overlay{padding:14px!important}.ee-completion-overlay .ee-congratulations{padding:24px 18px!important;border-radius:16px!important}}

/* 0.11.13: app-controlled fullscreen avoids the browser's obstructive fullscreen hint. */
body.ee-pseudo-fullscreen-active{overflow:hidden!important}
.ee-app.ee-pseudo-fullscreen{position:fixed!important;inset:0!important;z-index:2147483000!important;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important;background:#fff!important;overflow:hidden!important}
/* Keep the Sentence Order navigation accessible after success feedback, including on narrow screens. */
.ee-app.ee-pseudo-fullscreen:has(.ee-games [data-game="sentence"].on) .ee-game{overflow-y:auto!important;overscroll-behavior:contain!important}
.ee-app.ee-pseudo-fullscreen .ee-sentence-actions{position:sticky!important;bottom:0!important;z-index:4!important;background:#fff!important;padding:6px 0!important;flex-shrink:0!important}
.ee-app.ee-pseudo-fullscreen .ee-feedback-banner:not(:empty){flex-shrink:0!important;margin:5px auto!important}
@media(max-width:650px){.ee-app.ee-pseudo-fullscreen .ee-sentence-actions>.ee-btn{min-height:54px!important;font-size:clamp(17px,4.5vw,22px)!important;padding:8px!important}}

/* 0.11.14: Listening navigation remains visible and operable after answer feedback. */
.ee-listen-navigation{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin:12px 0;}
.ee-listen-navigation .ee-btn{min-height:48px;}
.ee-listen-progress{font-size:20px;font-weight:800;font-variant-numeric:tabular-nums;}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen):has(.ee-games [data-game="listen"].on) .ee-game{display:flex!important;flex-direction:column!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-listen-options{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;align-content:start!important;}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-listen-navigation{position:sticky!important;bottom:0!important;z-index:5!important;flex:0 0 auto!important;flex-wrap:nowrap!important;background:#fff!important;border-top:2px solid #dce3ed!important;padding:10px 4px!important;margin:6px 0 0!important;box-shadow:0 -5px 12px rgba(23,36,59,.07);}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-listen-navigation .ee-btn{flex:1 1 0!important;min-width:0!important;min-height:54px!important;white-space:normal!important;overflow-wrap:break-word!important;font-size:clamp(16px,3.8vw,24px)!important;}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-listen-progress{flex:0 0 auto;font-size:clamp(16px,3.4vw,24px)!important;}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game:has(.ee-listen-navigation) .ee-feedback-banner:not(:empty){flex:0 0 auto!important;margin:6px auto!important;}
@media(max-width:390px){.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-listen-navigation{gap:3px!important}.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-game .ee-listen-navigation .ee-btn{padding:8px 5px!important;font-size:15px!important}}

/* 0.11.15: distraction-free game view across desktop, tablet and phone. */
.ee-compact-game-bar{display:none}
.ee-app.ee-pseudo-fullscreen{padding:0!important;box-sizing:border-box!important}
.ee-app.ee-pseudo-fullscreen .ee-stage{height:100dvh!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:clamp(8px,1.4vh,16px)!important;box-sizing:border-box!important;gap:0!important}
.ee-app.ee-pseudo-fullscreen .ee-stage>.ee-compact-game-bar{display:flex!important;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;min-height:48px;margin:0 0 7px;padding:3px 4px 8px;border-bottom:1px solid #dce3ed;color:#25324b}
.ee-compact-game-name{font-size:clamp(17px,2.3vw,25px);line-height:1.2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ee-compact-game-progress{font-size:clamp(16px,2vw,22px);font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:auto}
.ee-compact-exit{background:#25324b;color:white;border:0;border-radius:10px;min-height:44px;padding:8px 14px;font-size:clamp(16px,2vw,20px);font-weight:800;cursor:pointer;white-space:nowrap}
.ee-compact-exit:focus-visible{outline:3px solid #c91e39;outline-offset:3px}
.ee-app.ee-pseudo-fullscreen .ee-stage>.ee-stage-tools,
.ee-app.ee-pseudo-fullscreen .ee-stage>h3,
.ee-app.ee-pseudo-fullscreen .ee-stage>.ee-games,
.ee-app.ee-pseudo-fullscreen .ee-stage>.ee-challenge,
.ee-app.ee-pseudo-fullscreen .ee-stage>.ee-challenge-clock,
.ee-app.ee-pseudo-fullscreen .ee-stage>.ee-game-toolbar{display:none!important}
.ee-app.ee-pseudo-fullscreen .ee-stage>.ee-game{flex:1 1 auto!important;min-height:0!important;max-height:none!important;margin:0!important;overflow-y:auto!important;overscroll-behavior:contain;padding:clamp(6px,1.5vw,14px)!important}
.ee-app.ee-pseudo-fullscreen .ee-game .ee-listen-options{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important}
.ee-app.ee-pseudo-fullscreen .ee-game .ee-listen-navigation{position:sticky!important;bottom:0!important;z-index:6!important}
.ee-app.ee-pseudo-fullscreen .ee-game .ee-sentence-actions{position:sticky!important;bottom:0!important;z-index:6!important}
@media(max-width:650px){
.ee-app.ee-pseudo-fullscreen .ee-stage{padding:6px!important}
.ee-app.ee-pseudo-fullscreen .ee-stage>.ee-compact-game-bar{min-height:46px!important;margin-bottom:4px!important}
.ee-app.ee-pseudo-fullscreen .ee-game>p{font-size:clamp(17px,4vw,22px)!important;line-height:1.3!important}
.ee-app.ee-pseudo-fullscreen .ee-game .ee-listen-options .ee-tile{min-height:70px!important;padding:10px!important}
.ee-app.ee-pseudo-fullscreen .ee-game .ee-listen-navigation{padding:5px 2px!important;margin:3px 0 0!important}
.ee-app.ee-pseudo-fullscreen .ee-game .ee-listen-navigation .ee-btn{min-height:48px!important}
.ee-app.ee-pseudo-fullscreen .ee-game .ee-feedback-banner:not(:empty){margin:4px auto!important}
}

/* v0.11.16: navigation integrated into cover and responsive navigation */
.ee-header{position:relative}
.ee-header-copy{min-width:0;flex:1 1 auto}
.ee-cover-links{display:flex;gap:9px;align-items:center;flex:0 0 auto}
.ee-cover-links a{display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;min-height:44px;border:1.5px solid rgba(255,255,255,.8);border-radius:10px;color:#fff;background:rgba(0,0,0,.09);font-size:15px;font-weight:750;text-decoration:none;white-space:nowrap}
.ee-cover-links a:hover,.ee-cover-links a:focus-visible{background:#fff;color:#b81c32}
.ee-cover-menu-toggle{display:none;border:2px solid rgba(255,255,255,.9);border-radius:10px;color:#fff;background:transparent;font-size:26px;font-weight:800;min-width:48px;min-height:48px}
.ee-app .ee-nav{scroll-behavior:smooth;scrollbar-width:thin}
@media(max-width:700px){
 .ee-header{flex-wrap:wrap;gap:10px;align-items:center}
 .ee-header-copy{flex:1 1 50%;min-width:0}
 .ee-cover-menu-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto}
 .ee-cover-links{display:none;order:5;flex-basis:100%;width:100%;flex-direction:column;align-items:stretch;gap:6px}
 .ee-header.ee-cover-menu-open .ee-cover-links{display:flex}
 .ee-cover-links a{justify-content:flex-start;padding:11px 14px}
}
.ee-app:is(:fullscreen,.ee-pseudo-fullscreen) .ee-header{display:none!important}

/* v0.11.18 - accessible lesson tabs and fullscreen Challenge */
.ee-app .ee-nav{gap:12px;padding:18px 2px 20px;scrollbar-width:thin;scroll-padding-inline:8px;align-items:stretch}
.ee-app .ee-nav button{min-height:56px;padding:14px 23px;font-family:inherit;font-size:clamp(17px,1.15vw,20px);line-height:1.25;font-weight:750;border:2px solid #d3d9e4;border-radius:14px;color:#25324b;background:#fff;white-space:nowrap;transition:background-color .15s,border-color .15s}
.ee-app .ee-nav button:hover:not(.on){background:#fff1f2;border-color:#c82438}
.ee-app .ee-nav button.on{background:#c82438;border-color:#c82438;color:#fff;box-shadow:0 3px 0 #9f192e}
.ee-app .ee-nav button:focus-visible{outline:3px solid #25324b;outline-offset:3px}
.ee-app .ee-compact-challenge{border:2px solid #c82438;border-radius:10px;min-height:44px;padding:7px 12px;background:white;color:#a8172b;font:800 clamp(13px,1.6vw,17px)/1.2 inherit;cursor:pointer;white-space:nowrap}
.ee-app .ee-compact-challenge.active{background:#c82438;color:white}
.ee-app .ee-compact-challenge:focus-visible{outline:3px solid #25324b;outline-offset:2px}
.ee-app .ee-compact-challenge-clock{font-size:clamp(14px,1.8vw,19px);font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:46px}
.ee-app.ee-pseudo-fullscreen .ee-stage>.ee-compact-game-bar{gap:8px;flex-wrap:wrap}
@media(max-width:700px){.ee-app .ee-nav{gap:8px;padding:12px 2px 16px}.ee-app .ee-nav button{min-height:48px;padding:11px 16px;font-size:16px}.ee-app .ee-compact-challenge{min-height:42px;padding:7px 9px}.ee-app .ee-compact-game-name{font-size:16px}.ee-app .ee-compact-challenge-clock{font-size:14px}}

/* v0.11.20 - Challenge completion: motion and optional sound */
.ee-challenge-completion{border-color:#f2d7db!important;color:#25324b!important}
.ee-challenge-alarm{display:inline-block;font-size:clamp(54px,9vw,82px);line-height:1.15;transform-origin:50% 18%;animation:ee-alarm-ring .16s ease-in-out 7 alternate}
@keyframes ee-alarm-ring{from{transform:rotate(-12deg)}to{transform:rotate(12deg)}}
.ee-challenge-completion .ee-challenge-result{font-family:Outfit,Arial,sans-serif;font-size:clamp(44px,8vw,74px);font-weight:800;font-variant-numeric:tabular-nums;line-height:1.15;color:#cf1e38;margin:0 0 12px}
.ee-challenge-result span{font-size:.43em}
.ee-challenge-completion .ee-challenge-sound{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;margin:0 0 20px;background:#fff;color:#25324b;border:2px solid #cbd5e1;border-radius:10px;font:600 15px Outfit,Arial,sans-serif;cursor:pointer}
.ee-challenge-completion .ee-challenge-sound:focus-visible{outline:3px solid #153d80;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.ee-challenge-alarm{animation:none!important}}
