:root{color:#193257;background:#f4f7fc;font-family:'Arial Rounded MT Bold','Microsoft YaHei','PingFang SC',system-ui,sans-serif;-webkit-text-size-adjust:100%}body{background:radial-gradient(ellipse at 12% 15%,#e9f0ff 0,transparent 42%),#f4f7fc;min-height:100vh;min-height:100dvh}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{user-select:none;-webkit-user-select:none}button:focus-visible,a:focus-visible{outline:3px solid #527cdb;outline-offset:4px}.icon{height:21px;width:21px;flex-shrink:0;vertical-align:middle}header{max-width:1150px;padding:24px 32px;border-bottom:1px solid #e2e9f5}.brandmark{border-radius:15px;background:#2760dc;box-shadow:0 4px 0 #1745a8;transform:rotate(-5deg)}.brand{font-size:19px}.brand small{color:#7b8da7;letter-spacing:1.5px}.account-dot{background:#e6edfc;padding:9px 14px;border-radius:25px;color:#335789;font-size:13px}main{max-width:1120px;padding:32px;min-height:74vh}h1{letter-spacing:-.8px}h2{letter-spacing:-.4px}.eyebrow{font-size:13px;letter-spacing:1px;color:#527195}.muted{color:#657993}.card{border:1px solid #e0e7f2;box-shadow:0 5px 0 #dce5f0,0 12px 35px #29487806;border-radius:25px}.primary{background:#2760dc;box-shadow:0 5px 0 #1745a8;border-radius:15px;min-height:54px;letter-spacing:.3px}.primary:hover{background:#2156cd}.primary:disabled{background:#dce4f0;color:#8696ae;opacity:1;box-shadow:0 4px 0 #cbd6e5}.btn,button{transition:background .16s,box-shadow .16s,transform .16s}.primary:active:not(:disabled){transform:translateY(4px);box-shadow:0 1px 0 #1745a8}.wide{margin-top:14px}.welcome{gap:65px;min-height:615px;grid-template-columns:1.1fr 1fr}.welcome h1{font-size:44px;line-height:1.4;margin:15px 0}.welcome h1 span{color:#2760dc}.lead{font-size:17px;line-height:1.9;color:#657993}.welcome-art{height:225px;position:relative;max-width:360px;margin-top:15px}.mascot{width:200px;height:auto;overflow:visible}.welcome-art .mascot{width:235px;position:absolute;left:56px;top:-8px}.floating-tile{position:absolute;display:grid;place-items:center;background:white;width:54px;height:60px;border:2px solid #dae4f5;box-shadow:0 5px 0 #d4dfef;border-radius:15px;font:bold 36px Georgia;color:#2760dc}.tile-a{left:5px;top:40px;transform:rotate(-14deg)}.tile-b{right:0;top:80px;transform:rotate(12deg);background:#fff0bd;border-color:#f2d17b;color:#976311;box-shadow:0 5px 0 #eac567}.art-note{position:absolute;bottom:0;left:40px;font-size:14px;color:#7086a1;transform:rotate(-3deg)}.welcome-features{display:flex;flex-wrap:wrap;gap:18px;margin-top:23px;font-size:13px;color:#6a7d97}.welcome-features span{display:flex;align-items:center;gap:7px}.welcome-features .icon{width:17px;height:17px}.login{border-top:1px solid #e0e7f2;padding:38px}.login-symbol{width:52px;height:52px;border-radius:18px;background:#fff0bd;color:#b47a16;display:grid;place-items:center;margin-bottom:24px}.login-symbol .icon{width:27px;height:27px;fill:#ffc94f}.login h2{font-size:28px}.login>p{font-size:15px}.login label{font-size:14px;margin-top:30px;color:#455e7b}.password-field{display:flex;align-items:center;position:relative}.password-field input{padding:17px 57px 17px 16px;letter-spacing:1px;font-size:16px;background:#f8faff;border-radius:13px;min-height:57px}.reveal{position:absolute;right:3px;top:4px;padding:10px;font-size:13px;min-height:48px;background:transparent;color:#6b80a3}.login-note{display:flex;gap:10px;color:#788ba3;font-size:13px;line-height:1.8;margin-top:21px}.login-note .icon{width:17px;height:17px;margin-top:3px}.login-bottom{border-top:1px solid #edf1f7;text-align:center;padding-top:23px;margin-top:27px;color:#8a9ab0;font-size:12px;letter-spacing:1px}.error:empty{display:none}.topline{margin-bottom:27px}.topline h1{font-size:30px;margin:8px 0}.greeting{font-weight:500}.date-label{font-size:13px;color:#7a8ba3;margin:4px 0}.streak{background:#fff1bc;border:1px solid #f4dfa0;display:flex;gap:13px;align-items:center;border-radius:18px;padding:14px 19px;color:#946615}.streak>.icon{width:31px;height:31px;fill:#ffc941;stroke:#d99c21}.streak strong{font-size:27px}.streak span{font-size:13px}.tabs{display:flex;gap:8px;background:#e9eff8;border:1px solid #e3eaf4;border-radius:16px;padding:5px;margin-bottom:25px;width:fit-content}.tabs button{min-height:45px;padding:10px 21px;background:transparent;color:#6c809c;font-size:14px;gap:9px;border-radius:12px}.tabs .selected{background:white;color:#2760dc;box-shadow:0 2px 5px #1f3a6710}.tabs .icon{width:19px;height:19px}.tab-count{background:#e5edfd;color:#5979ab;border-radius:6px;padding:1px 5px;font-size:11px}.workspace{grid-template-columns:minmax(0,1fr) 278px;gap:25px}.play{padding:26px 34px 27px;min-height:645px;isolation:isolate}.task-tag{font-size:13px;gap:12px;color:#7a8da8}.task-tag>span{display:flex;gap:7px;align-items:center}.task-tag .link{min-height:36px;color:#8b9bb0;font-size:13px}.task-tag .icon{width:16px;height:16px}.lesson-steps{display:flex;align-items:center;justify-content:center;gap:8px;margin:14px 0 6px}.lesson-steps span{display:flex;align-items:center;gap:6px;font-size:12px;color:#91a0b4;white-space:nowrap}.lesson-steps b{border-radius:50%;background:#eaf0f8;color:#8c9db5;width:23px;height:23px;display:grid;place-items:center;font-size:11px}.lesson-steps i{width:25px;height:1px;background:#e1e8f3}.lesson-steps .current{color:#4671ba}.lesson-steps .current b{background:#e6edfd;color:#2760dc}.picture-stage{position:relative;width:165px;height:153px;margin:18px auto 0;display:grid;place-items:center}.picture-stage:before{content:'';position:absolute;inset:7px 4px;background:#eff5ff;border-radius:43% 54% 42% 51%;transform:rotate(-9deg);z-index:-1}.wordicon{font-size:87px;margin:0;line-height:1.3;filter:drop-shadow(0 6px 2px #38577b12)}.picture-spark{position:absolute;color:#ffbd36;line-height:1;font-size:28px}.spark-one{top:10px;left:-9px}.spark-two{right:-1px;bottom:13px;font-size:22px}.meaning{font-size:27px;line-height:1.4;margin:10px 0 12px}.sound{border:1px solid #dce7fb;border-radius:28px;min-height:44px;padding:9px 17px;gap:8px;background:#f1f6ff;font-size:14px;color:#4275cd}.sound-bars{height:15px;display:flex;align-items:center;gap:2px}.sound-bars i{display:block;width:3px;height:6px;background:#6190e4;border-radius:2px}.sound-bars i:nth-child(2){height:13px}.slots{gap:9px;margin:25px 0 9px;flex-wrap:nowrap}.slot,.letter{width:51px;height:57px;border-radius:12px;font-size:30px;min-height:44px;flex-shrink:0}.slot{border:2px dashed #c8d6ea;background:#f7faff;color:#2357c8}.slot.filled{background:#ecf3ff;border:2px solid #82a7e7;box-shadow:0 3px 0 #c1d3f1}.slots.long-word{gap:5px}.long-word .slot{width:44px;height:53px;font-size:27px}.letters{gap:9px;margin:5px auto 12px;min-height:61px}.letter{border:2px solid #d8e2ef;background:white;color:#2b4772;box-shadow:0 5px 0 #cdd9e8;font-family:ui-rounded,system-ui,sans-serif}.letter:hover:not(:disabled){border-color:#85a9e2;background:#f3f7ff}.letter:active:not(:disabled){transform:translateY(4px);box-shadow:0 1px 0 #cdd9e8}.letter.used{visibility:visible;opacity:1;background:#f0f3f8;border-color:#e9eef5;box-shadow:none;color:transparent}.helper-actions{display:flex;justify-content:center;gap:18px}.helper-actions button{padding:9px 4px;font-size:12px;min-height:42px;background:transparent;color:#8396b0;gap:5px}.helper-actions .icon{width:15px;height:15px}.helper-actions button:disabled{opacity:.4}.spelling-help{min-height:47px;position:relative;display:flex;align-items:center;justify-content:center}.spelling-help p{font-size:12px;margin:0;color:#92a0b3}.hint{position:absolute;background:white;color:#3467bd;inset:0;min-height:0;display:grid;place-items:center;font-size:23px;letter-spacing:5px;border-radius:9px}.hint:empty{display:none}.answer-area{border-top:1px solid #edf1f7;margin-top:10px;padding-top:12px}.feedback{font-size:13px;font-weight:500;color:#7389a7;min-height:24px;margin:0;line-height:1.8}.answer-area .wide{margin-top:10px}.side .card{padding:23px;margin-bottom:22px}.companion{background:#eaf2ff;text-align:center;border-color:#dae6fa;box-shadow:0 5px 0 #d8e5f6}.companion .mascot{width:155px}.companion h2{font-size:18px;line-height:1.6;color:#375a87;margin:4px 0 10px}.companion p{font-size:13px;line-height:1.9;color:#7590b0;margin:8px 0}.tip-card .eyebrow{font-size:12px;letter-spacing:0;color:#7c90ac}.tip-card p{font-size:14px;line-height:1.9;color:#536f95}.tip-bottom{border-top:1px solid #e8edf5;padding-top:15px;font-size:12px;color:#9ba9bc}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.section-heading h2{margin:8px 0;font-size:25px}.section-heading p{margin:5px 0;font-size:14px}.word-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.word-card{position:relative;display:flex;flex-direction:column;background:white;min-width:0;border:1px solid #dfe7f2;box-shadow:0 4px 0 #dce5f0;border-radius:20px;padding:23px 10px 20px;color:#7890ad;gap:9px;font-size:13px}.word-card strong{font-size:21px;color:#294a77;overflow-wrap:anywhere}.word-mini-icon{font-size:42px;margin-bottom:7px}.word-check{position:absolute;top:10px;right:10px;background:#e7f6eb;color:#5a9c72;border-radius:50%;width:19px;height:19px;display:grid;place-items:center}.word-check .icon{width:11px;height:11px}.empty-state{text-align:center;padding:30px}.empty-state h2{font-size:22px}.empty-state p{font-size:15px;color:#788faa}.empty-state .mascot{width:170px}.review-play{max-width:690px;margin:auto}.growth{padding:32px}.growth-total{display:flex;align-items:center;gap:10px;color:#bc8519}.growth-total .icon{width:39px;height:39px;fill:#ffd057}.growth-total strong{font-size:40px}.milestone{display:flex;align-items:center;gap:24px;padding:15px 0;border-top:1px solid #edf1f7}.milestone-label{width:50px;flex-shrink:0;font-size:12px;color:#8ba0b9}.star-row{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:22px;flex:1;min-width:0}.growth-star{display:flex;flex-direction:column;align-items:center;gap:7px;color:#d7e1ef}.growth-star .icon{width:31px;height:31px;fill:#eef3fa;stroke-width:1.5}.growth-star small{font-size:10px;color:#92a2b9}.growth-star.earned{color:#dba629}.growth-star.earned .icon{fill:#ffd35d}.growth-note{color:#95a5bb;text-align:center;font-size:13px;margin:25px 0 0}.success-medal{width:120px;height:120px;display:grid;place-items:center;border-radius:50%;background:#fff4d3;border:9px solid #fff9e9;box-shadow:0 0 0 1px #f8e8b7;margin:30px auto 25px;color:#e6a11e}.success-medal .icon{width:64px;height:64px;fill:#ffcb42;stroke-width:1.5;filter:drop-shadow(0 3px 0 #dfa425)}.success-screen{padding:32px 16px 12px;position:relative;z-index:2}.success-screen h2,.restbox h2{font-size:27px;line-height:1.5}.success-screen p,.restbox p{font-size:15px;color:#748ba8}.earned-word{background:#f5f8fe;border:1px solid #e2eafa;border-radius:19px;display:flex;align-items:center;justify-content:center;gap:16px;padding:18px;margin:24px 0}.earned-word>span{font-size:37px}.earned-word strong{font-size:31px;color:#2760dc}.earned-word small{font-size:15px}.success-stats{display:flex;justify-content:center;gap:28px;padding:12px 0 20px}.success-stats span{display:flex;align-items:center;gap:6px;font-size:13px;color:#7e94af}.success-stats .icon{width:17px;height:17px;color:#64a176}.finish-note,.restbox>small{display:block;margin-top:24px;color:#96a5b8;font-size:12px}.restbox{padding:25px 8px}.restbox .success-medal{margin-top:45px}.pill{font-size:12px;border-radius:20px;padding:5px 10px;background:#f0f5ff;color:#7290bd}.celebration{position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}.confetti{position:absolute;top:-12px;left:10%;height:12px;width:7px;background:#ffc841;border-radius:2px;opacity:0}.c1{left:17%;background:#729ef0}.c2{left:24%;background:#98d4c7}.c3{left:31%;background:#ffc841}.c4{left:38%;background:#8ca9e9}.c5{left:45%;background:#edb7ca}.c6{left:52%;background:#80c5b6}.c7{left:59%}.c8{left:66%;background:#edb7ca}.c9{left:73%;background:#8ca9e9}.c10{left:80%;background:#80c5b6}.c11{left:87%}.c12{left:20%;background:#8ca9e9}.c13{left:70%;background:#edb7ca}.spinner{height:18px;width:18px;border:2px solid #ffffff66;border-top-color:white;border-radius:50%;animation:spin .8s linear infinite}.load-error{text-align:center;padding:60px 25px}#toast{display:block;opacity:0;pointer-events:none;transform:translate(-50%,15px);transition:opacity .2s,transform .2s;bottom:calc(25px + env(safe-area-inset-bottom,0px));font-size:14px;line-height:1.6;width:max-content;max-width:calc(100% - 32px)}#toast.visible{opacity:1;transform:translate(-50%,0)}footer{font-size:12px;padding:30px 16px calc(25px + env(safe-area-inset-bottom,0px));color:#98a8bd}footer span{font-size:12px}footer small{font-size:11px;color:#abb7c8}.teacher-grid{gap:24px}.teacher-full{margin-top:25px}.teacher-grid .card{padding:27px}.teacher-grid input,.teacher-grid textarea{font-size:16px}.teacher-grid .primary{width:100%;margin-top:8px}.teacher-full td a{white-space:nowrap}.teacher-full h2{font-size:21px}.notice{font-size:13px;line-height:1.9;border:1px solid #f0dfab}.credentials{font-size:14px}.teacher-full .minihelp{font-size:13px}.teacher-grid form p{font-size:13px}
@keyframes spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:no-preference){.mascot-body{animation:breathe 4s ease-in-out infinite;transform-origin:50% 80%}.floating-tile{animation:float 5s ease-in-out infinite}.tile-b{animation-delay:-2s}.filled{animation:tile-in .18s ease-out}.success-screen{animation:arrive .3s ease-out}.success-screen .success-medal{animation:medal .55s cubic-bezier(.2,.8,.3,1.2)}.confetti{animation:fall 1.8s ease-in forwards}.confetti:nth-child(3n){animation-delay:.2s}.confetti:nth-child(2n){animation-delay:.1s}.try-again .slots{animation:nudge .32s ease-out}.playing .sound-bars i{animation:wave .6s ease-in-out infinite}.playing .sound-bars i:nth-child(2){animation-delay:.15s}.playing .sound-bars i:nth-child(3){animation-delay:.3s}}
@keyframes breathe{50%{transform:translateY(-4px) rotate(1deg)}}@keyframes float{50%{translate:0 -7px}}@keyframes tile-in{from{transform:translateY(4px) scale(.94);opacity:.4}to{transform:none;opacity:1}}@keyframes arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@keyframes medal{from{transform:scale(.6) rotate(-15deg)}to{transform:scale(1) rotate(0)}}@keyframes fall{0%{opacity:0;transform:translateY(0) rotate(0)}10%{opacity:1}85%{opacity:.8}100%{opacity:0;transform:translateY(430px) rotate(390deg)}}@keyframes nudge{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@keyframes wave{50%{transform:scaleY(.35)}}
@media(max-width:900px){.workspace{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.welcome{gap:30px}.welcome h1{font-size:37px}.play{padding:24px}.star-row{gap:10px}.word-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){header{padding:17px 20px}.brand{font-size:16px}.brand small{font-size:9px}.brandmark{width:38px;height:38px;font-size:25px;border-radius:12px}.account-dot{display:none}#header-actions{font-size:13px}main{padding:23px 16px}.welcome{grid-template-columns:1fr;gap:15px;min-height:auto}.welcome .intro{padding:5px 8px}.welcome h1{font-size:31px;line-height:1.35;margin:11px 0}.lead{font-size:14px;line-height:1.8}.welcome-art{display:none}.welcome-features{margin-top:15px;gap:13px;font-size:11px}.welcome-features .icon{width:14px;height:14px}.login{padding:25px;margin-top:9px}.login-symbol{display:none}.login h2{font-size:23px}.login>p{font-size:14px}.login label{margin-top:20px}.login-bottom{padding-top:19px;margin-top:21px}.topline{gap:10px;margin:0 2px 19px}.topline h1{font-size:23px;margin:7px 0}.topline .eyebrow{font-size:11px}.greeting{display:block;font-size:14px;color:#7b90ad;margin-top:5px}.date-label{font-size:11px}.streak{padding:11px 12px;gap:6px;border-radius:15px}.streak>.icon{width:24px;height:24px}.streak strong{font-size:24px}.streak span{font-size:10px;display:block;margin-top:1px}.tabs{width:100%;gap:3px;padding:4px;margin-bottom:20px;border-radius:13px}.tabs button{flex:1;padding:9px 3px;min-height:44px;font-size:12px;gap:5px;border-radius:10px}.tabs .icon{width:16px;height:16px}.tab-count{font-size:10px;padding:0 4px}.workspace{grid-template-columns:1fr;gap:19px}.side{display:block}.side .companion{display:none}.side .tip-card{background:transparent;border:0;box-shadow:none;padding:0 9px;margin:0}.tip-card .eyebrow{font-size:11px}.tip-card p{font-size:12px;margin:5px 0}.tip-card p br{display:none}.tip-bottom{display:none}.play{padding:17px 17px 20px;min-height:565px;border-radius:23px}.task-tag{font-size:11px}.task-tag .link{font-size:11px}.lesson-steps{margin:9px 0 4px;gap:6px}.lesson-steps span{font-size:11px;gap:5px}.lesson-steps b{width:21px;height:21px}.lesson-steps i{width:17px}.picture-stage{width:133px;height:116px;margin-top:13px}.wordicon{font-size:69px}.meaning{font-size:24px;margin:9px 0 10px}.sound{font-size:13px;padding:8px 13px;min-height:44px}.slots{gap:7px;margin:21px 0 4px}.slot,.letter{width:45px;height:53px;font-size:28px}.long-word .slot{width:calc((100vw - 107px)/9);max-width:37px;height:45px;font-size:23px}.slots.long-word{gap:4px}.letters{gap:8px;margin-bottom:8px;max-width:290px}.spelling-help{min-height:37px}.spelling-help p{font-size:11px}.helper-actions{gap:20px}.helper-actions button{font-size:11px;min-height:44px}.answer-area{padding-top:10px;margin-top:4px;padding-bottom:env(safe-area-inset-bottom,0px)}.feedback{font-size:12px;min-height:23px}.answer-area .primary{font-size:15px;min-height:51px}.section-heading{align-items:flex-start;gap:10px;margin-bottom:18px}.section-heading h2{font-size:21px}.section-heading p{font-size:12px}.section-heading .chip{font-size:11px;white-space:nowrap;padding:7px 10px}.word-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.word-card{padding:18px 7px 16px;border-radius:16px;gap:7px;font-size:11px}.word-card strong{font-size:17px}.word-mini-icon{font-size:34px}.word-check{width:16px;height:16px;right:7px;top:7px}.growth{padding:20px 15px}.growth-total{gap:5px}.growth-total strong{font-size:28px}.growth-total .icon{width:26px;height:26px}.milestone{gap:8px;padding:12px 0}.milestone-label{width:34px;font-size:10px}.star-row{gap:4px}.growth-star .icon{width:21px;height:21px}.growth-star small{font-size:9px}.growth-note{font-size:11px;line-height:1.8}.success-screen{padding:28px 0 5px}.success-screen h2,.restbox h2{font-size:23px}.success-screen p,.restbox p{font-size:14px}.earned-word{padding:15px 10px;gap:12px}.earned-word strong{font-size:27px}.earned-word small{font-size:13px}.earned-word>span{font-size:32px}.success-medal{width:104px;height:104px}.success-medal .icon{width:54px;height:54px}.success-stats{gap:20px}.success-stats span{font-size:12px}.finish-note,.restbox>small{font-size:11px}.restbox{padding:20px 0}.teacher-grid{grid-template-columns:1fr;gap:20px}.teacher-grid .card{padding:22px}.teacher-full{padding:22px}.teacher-full .topline h1{font-size:24px}.empty-state{padding:24px 17px}.empty-state h2{font-size:20px}.empty-state p{font-size:13px}.empty-state .mascot{width:145px}footer{padding-top:25px;font-size:11px}footer span{font-size:11px}footer small{font-size:10px}}
@media(max-width:360px){main{padding-left:12px;padding-right:12px}.play{padding-left:13px;padding-right:13px}.slot,.letter{width:42px}.tabs button{font-size:11px}.tabs .icon{width:14px;height:14px}.word-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-star .icon{width:18px;height:18px}.long-word .slot{width:calc((100vw - 87px)/9);font-size:21px}.star-row{gap:2px}.login{padding:22px}.welcome h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){body.in-lesson .answer-area{position:fixed;bottom:0;left:0;right:0;z-index:8;background:#fff;border-top:1px solid #e1e8f4;box-shadow:0 -5px 24px #27467508;padding:10px 20px calc(13px + env(safe-area-inset-bottom,0px));margin:0}body.in-lesson footer{padding-bottom:calc(140px + env(safe-area-inset-bottom,0px))}body.in-lesson .play{padding-bottom:25px;overflow:visible}.answer-area .feedback{min-height:22px}body.in-lesson main{padding-top:17px}.topline{margin-bottom:15px}.tabs{margin-bottom:16px}.picture-stage{height:105px;margin-top:9px}.wordicon{font-size:65px}.slots{margin-top:19px}.success-screen{scroll-margin-top:15px}}

/* The entire mobile exercise shares one viewport budget, including its actions. */
@media(max-width:760px){
  body.focus-play{height:100vh;height:var(--screen-height,100vh);height:min(var(--screen-height,100dvh),100dvh);min-height:0;margin:0}
  body.focus-play>header,body.focus-play>footer,body.focus-play .topline,body.focus-play .side{display:none}
  body.focus-play main{height:100%;min-height:0;max-width:640px;margin:0 auto;padding:calc(8px + env(safe-area-inset-top,0px)) 12px calc(10px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column}
  body.focus-play .tabs{flex:none;margin:0 0 8px;min-height:48px;padding:3px;box-shadow:none}
  body.focus-play .tabs button{min-height:40px;font-size:13px}
  body.focus-play #view-panel{flex:1;min-height:0}
  body.focus-play .workspace{display:block;height:100%;min-height:0}
  body.focus-play .play{height:100%;min-height:0;width:100%;margin:0;padding:10px 12px 12px;border-radius:20px;box-shadow:0 3px 0 #dce5f0;overflow:visible}
  body.in-lesson .play{display:grid;grid-template-rows:32px 20px minmax(80px,1fr) 46px 22px auto 44px 80px;gap:4px;align-items:center}
  body.focus-play .task-tag{height:32px;min-width:0;font-size:12px}
  body.focus-play .task-tag .link{min-height:32px;font-size:12px}
  body.focus-play .lesson-steps{height:20px;margin:0}
  body.focus-play .word-prompt{display:grid;grid-template-columns:100px minmax(0,1fr);grid-template-rows:1fr 44px;column-gap:12px;align-items:center;align-self:center;justify-self:center;width:min(100%,300px);height:clamp(80px,18vh,140px)}
  body.focus-play .picture-stage{grid-row:1/3;width:100px;height:100%;max-height:120px;margin:0;align-self:center}
  body.focus-play .wordicon{font-size:clamp(52px,10vh,74px)}
  body.focus-play .picture-spark{font-size:19px}
  body.focus-play .meaning{font-size:23px;margin:0;align-self:end;line-height:1.3;overflow-wrap:anywhere}
  body.focus-play .sound{height:40px;min-height:40px;padding:7px 10px;justify-self:center;white-space:nowrap;font-size:12px;align-self:end}
  body.focus-play .slots,body.focus-play .slots.long-word{margin:0;gap:5px;max-width:100%;height:46px}
  body.focus-play .slot{height:44px;min-height:44px;width:44px;font-size:26px}
  body.focus-play .slots.long-word .slot{width:calc((100vw - 98px)/9);max-width:37px;font-size:23px}
  body.focus-play .spelling-help{height:22px;min-height:22px;margin:0}
  body.focus-play .spelling-help p{font-size:12px;line-height:1.4}
  body.focus-play .hint{font-size:22px;line-height:1;letter-spacing:3px}
  body.focus-play .letters{margin:0 auto;gap:6px;min-height:44px;max-width:294px;align-content:center}
  body.focus-play .letter{width:44px;height:44px;min-height:44px;font-size:26px;border-radius:10px;box-shadow:0 3px 0 #cdd9e8}
  body.focus-play .letter.used{box-shadow:none}
  body.focus-play .helper-actions{height:44px;gap:18px;margin:0}
  body.focus-play .helper-actions button{height:44px;min-height:44px;padding:7px 3px;font-size:12px}
  body.focus-play .answer-area{position:static;inset:auto;box-shadow:none;border-top:1px solid #e5ecf6;background:white;margin:0;padding:4px 0 0;height:80px;display:flex;flex-direction:column;justify-content:flex-end;gap:5px;min-width:0}
  body.focus-play .answer-area .feedback{margin:0;min-height:0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
  body.focus-play .answer-area .primary{margin:0;height:46px;min-height:46px;flex-shrink:0;font-size:15px}
  body.focus-play:not(.in-lesson) .play{display:flex;flex-direction:column}
  body.focus-play .success-screen,body.focus-play .restbox{padding:12px 3px;min-height:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;gap:8px}
  body.focus-play .success-screen>*,body.focus-play .restbox>*{flex-shrink:0}
  body.focus-play .success-medal,body.focus-play .restbox .success-medal{width:94px;height:94px;margin:0;border-width:7px}
  body.focus-play .success-medal .icon{width:49px;height:49px}
  body.focus-play .success-screen h2,body.focus-play .restbox h2{font-size:23px;margin:0}
  body.focus-play .success-screen p,body.focus-play .restbox p{font-size:14px;line-height:1.6;margin:0}
  body.focus-play .earned-word{width:100%;padding:12px;margin:0}
  body.focus-play .success-stats{padding:0;gap:20px}
  body.focus-play .finish-note,body.focus-play .restbox>small{font-size:11px;margin:0;line-height:1.5}
  body.focus-play .success-screen .wide{margin:0;min-height:48px}
  body:not(.studying) .welcome{min-height:0;gap:8px}
  body:not(.studying) .intro{padding:0 4px}
  body:not(.studying) .intro h1{font-size:25px;margin:8px 0}
  body:not(.studying) .intro .lead,body:not(.studying) .welcome-features{display:none}
  body:not(.studying) footer{display:none}
}
@media(max-width:760px) and (max-height:620px){
  body.focus-play .word-prompt{height:84px;grid-template-columns:84px minmax(0,1fr)}
  body.focus-play .picture-stage{width:84px}
  body.focus-play .wordicon{font-size:56px}
  body.focus-play .success-screen .eyebrow,body.focus-play .finish-note{display:none}
  body.focus-play .success-medal,body.focus-play .restbox .success-medal{width:76px;height:76px}
  body:not(.studying) .welcome .intro{display:none}
  body:not(.studying) main{padding-top:12px;padding-bottom:12px;min-height:0}
  body:not(.studying) .login{margin-top:0;padding:22px}
}
@media(max-width:760px) and (max-height:580px){
  body.focus-play main{padding-top:4px;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}
  body.focus-play .tabs{min-height:42px;margin-bottom:5px}
  body.focus-play .tabs button{min-height:34px}
  body.in-lesson .play{padding:6px 10px 8px;grid-template-rows:28px minmax(64px,1fr) 44px 20px auto 40px 72px;gap:3px}
  body.focus-play .lesson-steps{display:none}
  body.focus-play .task-tag,body.focus-play .task-tag .link{height:28px;min-height:28px}
  body.focus-play .word-prompt{height:64px;grid-template-columns:66px minmax(0,1fr);grid-template-rows:24px 40px}
  body.focus-play .picture-stage{width:66px}
  body.focus-play .wordicon{font-size:47px}
  body.focus-play .meaning{font-size:20px}
  body.focus-play .helper-actions,body.focus-play .helper-actions button{min-height:40px;height:40px}
  body.focus-play .answer-area{height:72px;gap:3px}
  body.focus-play .success-medal,body.focus-play .restbox .success-medal{width:62px;height:62px}
  body.focus-play .success-medal .icon{width:36px;height:36px}
  body.focus-play .success-screen h2,body.focus-play .restbox h2{font-size:20px}
}
.admin-tabs{display:flex;gap:8px;border-bottom:1px solid #dce5f2;margin:22px 0}.admin-tabs button{background:transparent;border:0;border-radius:12px 12px 0 0;padding:14px 24px;color:#65738b;font-weight:700;min-height:48px}.admin-tabs button[aria-selected=true]{color:#235ed6;background:#eaf1ff;box-shadow:inset 0 -3px #2760dc}.admin-panel{animation:panel-in .18s ease-out}.admin-heading,.admin-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-actions{justify-content:flex-start;margin-top:16px}.admin-heading h2{margin:0}.admin-panel input{margin:0;min-width:0;width:100%;height:44px;padding:10px 12px;box-sizing:border-box}.entry-table,.roster-table{table-layout:fixed;width:100%}.entry-table th:last-child{width:64px}.entry-table td,.roster-table td{padding:10px 8px}.entry-table th,.roster-table th{text-align:left}.remove-row{width:44px;height:44px;font-size:24px;color:#79859b;border:0;background:#f3f6fb;border-radius:10px}.calendar-note{display:flex;gap:8px;align-items:center;font-size:13px;color:#61728c;margin:20px 0}.calendar-note .icon{flex-shrink:0}.admin-divider{height:1px;background:#e4eaf2;margin:28px 0}.row-actions button{margin:3px;padding:8px 10px;border:1px solid #dce5f2;background:white;border-radius:9px;color:#315ba2;min-height:40px}.code-card{background:#f2f7ff;border:1px solid #d9e6ff;padding:18px;border-radius:16px}.notice-preview{white-space:pre-wrap;line-height:1.9;background:#f7f9fd;border:1px solid #e2e9f4;border-radius:16px;padding:24px;margin:20px 0;user-select:text}.progress-count{display:inline-block;margin-left:10px;font-variant-numeric:tabular-nums}progress{width:110px;height:10px;accent-color:#2760dc}@keyframes panel-in{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}@media(max-width:760px){.admin-tabs{gap:0;margin-top:12px}.admin-tabs button{flex:1;padding:12px 4px;font-size:14px}.admin-panel{padding:16px 10px}.admin-panel .table-wrap{margin:0}.admin-panel table{min-width:0;font-size:12px}.entry-table th:last-child{width:40px}.admin-panel input{font-size:16px;padding:8px 4px}.entry-table td,.roster-table td{padding:8px 3px}.entry-table th:first-child{width:35%}.roster-table th:first-child{width:30%}.roster-table th:nth-child(2){width:42%}.admin-panel .row-actions button{font-size:12px;padding:5px;margin:2px 0;width:100%}.admin-actions{flex-wrap:wrap}.admin-heading{align-items:flex-start}.admin-heading h2{font-size:18px}.notice-preview{padding:14px}.admin-panel progress{width:55px}.progress-count{margin:4px 0;display:block}.code-card{padding:12px 6px}.code-card code{font-size:11px;word-break:break-all}.admin-panel th{padding:10px 3px}}@media(prefers-reduced-motion:reduce){.admin-panel{animation:none}}
/* Keep every child view within the available WeChat viewport. */
.pocket-pages{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:20px}.pocket-pages button{min-height:44px}.pocket-pages button:disabled{opacity:.4}
@media(max-width:760px){
body.studying{height:var(--screen-height,100vh);min-height:0;margin:0}
body.studying>header,body.studying>footer,body.studying .topline,body.studying .side{display:none}
body.studying main{height:100%;min-height:0;max-width:640px;margin:0 auto;padding:calc(8px + env(safe-area-inset-top,0px)) 12px calc(10px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column}
body.studying .tabs{flex:none;margin:0 0 8px;min-height:48px;padding:3px;box-shadow:none}
body.studying .tabs button{min-height:40px;font-size:12px}
body.studying #view-panel{flex:1;min-height:0}
body.studying .collection{height:100%;display:flex;flex-direction:column;min-height:0}
body.studying .section-heading{flex:none;margin:0 0 12px;gap:6px}
body.studying .section-heading h2{font-size:20px;margin:5px 0}
body.studying .section-heading p{font-size:12px;margin:5px 0}
body.studying .word-grid{flex:1;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}
body.studying .word-card{min-height:0;padding:8px 5px;gap:3px;justify-content:center}
body.studying .word-card strong{font-size:17px;overflow-wrap:anywhere}
body.studying .word-mini-icon{font-size:30px}
body.studying .pocket-pages{flex:none;margin:10px 0 0;gap:16px;font-size:12px}
body.studying .pocket-pages button{min-height:44px;padding:8px 15px}
body.studying .growth{height:100%;min-height:0;padding:14px 10px;display:flex;flex-direction:column}
body.studying .growth .section-heading{margin-bottom:6px}
body.studying .growth .eyebrow{font-size:10px}
body.studying .milestones{flex:1;min-height:0;display:grid;grid-template-rows:repeat(10,minmax(0,1fr))}
body.studying .milestone{min-height:0;padding:0;gap:5px}
body.studying .growth-star .icon{width:19px;height:19px}
body.studying .growth-star small{font-size:8px;line-height:1}
body.studying .growth-note{margin:8px 0 0;flex:none;font-size:10px}
body.studying .empty-state{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:12px}
body.studying .empty-state .mascot{width:110px;height:100px}
body.studying .empty-state h2{font-size:18px}
}
@media(max-width:760px) and (max-height:580px){
body.studying main{padding-top:4px;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}
body.studying .tabs{min-height:42px;margin-bottom:5px}
body.studying .tabs button{min-height:34px}
body.studying .section-heading h2{font-size:17px}
body.studying .section-heading p{font-size:11px}
body.studying .word-mini-icon{font-size:24px}
body.studying .word-card strong{font-size:15px}
body.studying .growth-star .icon{width:16px;height:16px}
body.studying .growth .section-heading p{display:none}
body.studying .growth-total strong{font-size:22px}
}
.growth-note{display:flex;align-items:center;justify-content:space-between;gap:8px}.growth-note button{min-height:40px;white-space:nowrap;font-size:12px}
@media(max-width:760px){body.studying .milestone-label{width:40px;flex:none;font-size:9px}}
/* Teacher workspace: scoped administrative typography and responsive controls. */
body.teacher-mode{background:#f5f7fa;color:#253249;font-family:'Microsoft YaHei','PingFang SC',system-ui,sans-serif}
.teacher-mode main{max-width:1100px;padding-top:18px}.teacher-mode>header{border-bottom:1px solid #e4e9f0;padding-top:18px;padding-bottom:18px}.teacher-mode .brandmark{transform:none;border-radius:10px;width:38px;height:38px;font-size:24px}.teacher-mode .brand{font-size:16px}.teacher-mode>footer{display:none}.teacher-mode .topline{margin-bottom:18px;align-items:center}.teacher-mode .topline h1{font-size:27px;letter-spacing:0;margin:6px 0}.teacher-mode .topline p{font-size:13px;margin:0}.teacher-mode .eyebrow{font-size:10px;letter-spacing:1.4px;color:#7b8799}.teacher-mode .chip{white-space:nowrap;border-radius:8px;font-size:12px;background:#eaf0fa;color:#365a97}.teacher-mode .admin-tabs{margin:0 0 20px;gap:22px}.teacher-mode .admin-tabs button{border-radius:0;background:transparent;padding:12px 6px;flex:none}.teacher-mode .admin-tabs button[aria-selected=true]{background:transparent}.teacher-mode .admin-panel{padding:24px;border-radius:12px;box-shadow:0 2px 6px #1b3b8005}.teacher-mode h2{font-size:19px;letter-spacing:0}.teacher-mode h3{font-size:15px;margin:0}.teacher-mode .admin-heading{align-items:center;flex-wrap:wrap;margin-bottom:20px}.teacher-mode .admin-heading p{margin:5px 0 0;font-size:12px}.teacher-mode button,.teacher-mode .btn{border-radius:7px;min-height:44px;font-size:13px;padding:10px 14px;line-height:1.3;box-shadow:none;flex-shrink:0;white-space:nowrap}.teacher-mode .primary{background:#2760dc;color:white}.teacher-mode input{border:1px solid #dbe2ec;background:white;border-radius:6px;font-weight:400}.teacher-mode .enrollment{border:1px solid #dce5f2;background:#f8faff;padding:18px;border-radius:9px;margin-bottom:22px}.teacher-mode [hidden]{display:none!important}.enrollment-heading{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.enrollment-heading span{font-size:12px;color:#7b8799}.teacher-mode .entry-table{table-layout:fixed}.teacher-mode .entry-table th:last-child{width:50px}.teacher-mode .entry-table td{padding:8px 4px}.teacher-mode .remove-row{padding:0;width:40px;height:44px;min-height:44px;font-size:23px;background:transparent}.teacher-mode .admin-actions{display:flex;gap:10px;flex-wrap:wrap}.teacher-mode .admin-actions>*{margin:0;max-width:100%}.roster-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:24px 0 14px}.roster-toolbar label{font-size:15px;font-weight:700;white-space:nowrap}.roster-toolbar input{max-width:240px;height:40px}.teacher-mode .directory-table{table-layout:fixed;white-space:normal}.directory-table th{font-size:12px;color:#7b8799;background:#f7f9fc;font-weight:500}.directory-table th:first-child{width:45%}.directory-table th:nth-child(2){width:35%}.directory-table th:last-child{width:20%;text-align:right}.directory-table td:last-child{text-align:right}.directory-table td{padding:14px 12px;vertical-align:middle}.student-name{font-size:14px;font-weight:600;overflow-wrap:anywhere}.directory-table small{display:block;margin-top:5px;font-size:11px}.directory-table time{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.teacher-mode .table-action{color:#2760dc;background:transparent;padding:8px 0;min-width:44px}.roster-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;font-size:12px;color:#7b8799}.roster-pagination>div{display:flex;gap:6px}.teacher-mode .roster-pagination button{padding:7px 10px;border:1px solid #e0e6ef;background:white}.directory-empty{text-align:center;padding:35px 10px;color:#7b8799;font-size:13px}.teacher-mode .calendar-note{border-top:1px solid #e8edf5;padding-top:16px;font-size:12px;margin-bottom:0}.teacher-mode .code-card{border-radius:8px;margin:18px 0;padding:16px}.teacher-mode .code-card table{white-space:normal;table-layout:fixed}.teacher-mode .code-card code{word-break:break-all}.student-dialog{width:min(460px,calc(100% - 28px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #dfe6ef;border-radius:14px;box-shadow:0 16px 70px #172d4933;overflow:auto;color:#253249}.student-dialog::backdrop{background:#15244866}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px}.dialog-heading h2{margin:0}.dialog-heading p,.credential-section p{font-size:12px;color:#7b8799;line-height:1.6;margin:6px 0 0}.teacher-mode .dialog-close{padding:0;width:40px;height:40px;font-size:24px;background:transparent;min-height:40px}.student-dialog label{display:block;font-size:13px;font-weight:600;margin:16px 0 8px}.student-dialog input{font-size:16px;height:46px;padding:10px;width:100%}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:18px}.dialog-feedback{color:#bb3550;font-size:13px;line-height:1.5;min-height:0}.credential-section{border-top:1px solid #e5eaf0;margin-top:24px;padding-top:20px;display:flex;gap:12px;justify-content:space-between;align-items:center}.credential-section strong{font-size:13px}.new-code{font-family:monospace;font-size:18px!important;color:#2760dc!important;word-break:break-all}
@media(max-width:760px){.teacher-mode>header{padding:12px 16px}.teacher-mode main{padding:18px 12px}.teacher-mode .topline{gap:8px;align-items:center}.teacher-mode .topline h1{font-size:22px}.teacher-mode .topline p{font-size:11px}.teacher-mode .chip{font-size:11px;padding:8px}.teacher-mode .admin-tabs{gap:0;justify-content:space-between;margin-bottom:14px}.teacher-mode .admin-tabs button{flex:1;font-size:14px;padding:12px 4px}.teacher-mode .admin-panel{padding:16px 12px;border-radius:10px}.teacher-mode .admin-heading{gap:12px;margin-bottom:16px}.teacher-mode .admin-heading h2{font-size:18px}.teacher-mode .admin-heading p{font-size:11px}.teacher-mode .admin-heading>button{padding:10px 12px;font-size:12px}.teacher-mode .enrollment{padding:12px 6px}.enrollment-heading{display:block;padding:0 4px}.enrollment-heading span{display:block;margin-top:6px;font-size:11px}.teacher-mode .entry-table th:first-child{width:32%}.teacher-mode .entry-table th:last-child{width:40px}.teacher-mode .entry-table td{padding:8px 2px}.teacher-mode .entry-table input{font-size:16px;padding:8px 3px;max-width:100%;height:44px}.teacher-mode .remove-row{width:36px;padding:0}.teacher-mode .admin-actions{display:grid;grid-template-columns:1fr;gap:10px}.teacher-mode .admin-actions>*{width:100%;min-width:0;padding:12px 8px;white-space:normal}.roster-toolbar{gap:10px;margin-top:18px}.roster-toolbar input{width:62%;font-size:16px}.teacher-mode .directory-table th:first-child{width:36%}.teacher-mode .directory-table th:nth-child(2){width:42%}.teacher-mode .directory-table th:last-child{width:22%}.teacher-mode .directory-table td{padding:12px 3px}.teacher-mode .directory-table th{padding:10px 3px}.directory-table time{font-size:12px}.student-name{font-size:13px}.directory-table small{font-size:10px}.roster-pagination{font-size:11px;gap:6px}.teacher-mode .roster-pagination button{padding:7px;font-size:11px}.teacher-mode .calendar-note{align-items:flex-start;line-height:1.7;font-size:11px}.student-dialog{padding:18px}.credential-section{flex-wrap:wrap}.teacher-mode .code-card{padding:12px 6px}.teacher-mode .code-card td,.teacher-mode .code-card th{padding:9px 3px;overflow-wrap:anywhere}.teacher-mode .code-card table th:nth-child(2){width:32%}}
.lesson-tools{display:flex;gap:12px;align-items:center}.sound-toggle{font-size:11px!important;white-space:nowrap}.growth-note .sound-toggle{min-height:40px}.lesson-tools .sound-toggle{min-width:40px}.lesson-tools #back-today{white-space:nowrap}@media(max-width:360px){.lesson-tools{gap:6px}.task-tag .lesson-tools{font-size:11px}}
.phone-login{max-width:440px;margin:20px auto;padding:30px}.phone-heading h2{margin:12px 0;font-size:25px}.phone-heading p{font-size:14px;color:#697a92;margin:0 0 22px}.phone-login label:not(.phone-consent){display:block;font-size:14px;font-weight:700;margin:15px 0 8px}.phone-login input{height:48px;font-size:16px;letter-spacing:1px}.sms-code-row{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:10px}.sms-code-row button{padding:10px 6px;font-size:13px}.phone-consent{display:flex;align-items:flex-start;gap:8px;margin-top:18px;font-size:12px;color:#697a92;line-height:1.6}.phone-consent input{width:18px;height:18px;flex:none;margin:1px 0;padding:0;accent-color:#2760dc}.phone-message{font-size:12px;color:#b43a52;line-height:1.5;min-height:18px;margin:10px 0}.phone-login .wide{margin-top:4px}.phone-footnote{font-size:12px;color:#8491a5;text-align:center;line-height:1.7;margin:20px 0 0}.phone-notice{font-size:12px;background:#fff6da;padding:10px;border-radius:8px}.family-list{display:grid;gap:12px;margin:20px 0}.family-list button{justify-content:space-between}.invite-link-box{word-break:break-all;padding:12px;background:#eef4ff;border-radius:8px;font-size:12px;user-select:text}.invite-controls{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}@media(max-width:760px){.phone-login{padding:22px;margin:0 auto;border-radius:18px}.phone-heading h2{font-size:22px}.phone-heading p{font-size:13px;margin-bottom:16px}.phone-login .eyebrow{font-size:10px;letter-spacing:1px}.sms-code-row{grid-template-columns:minmax(0,1fr) 108px;gap:8px}.phone-footnote{font-size:11px;margin-top:14px}.phone-consent{font-size:11px;margin-top:14px}}@media(max-width:760px) and (max-height:580px){body:not(.studying):not(.teacher-mode)>header{padding:10px 16px}.phone-login{padding:16px}.phone-heading h2{font-size:20px;margin:8px 0}.phone-heading p{margin-bottom:10px}.phone-login label:not(.phone-consent){margin:10px 0 6px}.phone-consent{margin-top:10px}.phone-footnote{margin-top:10px}.phone-message{margin:6px 0}}
.invite-delivery{display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:center;padding:14px 0;border-bottom:1px solid #dce6f3}.invite-delivery small{grid-column:1;font-size:11px}.invite-delivery button{grid-column:2;grid-row:1/3}.invite-delivery details{grid-column:1/3;font-size:12px;color:#61748e}.invite-delivery summary{cursor:pointer;padding:8px 0}@media(max-width:360px){.invite-delivery{grid-template-columns:1fr}.invite-delivery button{grid-column:1;grid-row:auto}.invite-delivery details{grid-column:1}}
@media(max-width:760px){body.phone-mode{height:var(--screen-height,100vh);min-height:0;display:flex;flex-direction:column}body.phone-mode>header{flex:none;width:100%;padding:8px 16px;min-height:52px}body.phone-mode main{flex:1;min-height:0;width:100%;padding:8px 12px;display:flex;align-items:center;justify-content:center}body.phone-mode .phone-login{width:100%;margin:0}body.phone-mode>footer{display:none}}@media(max-width:760px) and (max-height:580px){body.phone-mode .phone-login{padding:14px}body.phone-mode .phone-footnote{display:none}body.phone-mode .phone-heading p{font-size:12px;margin-bottom:6px}body.phone-mode .phone-heading h2{font-size:20px;margin:6px 0}body.phone-mode .phone-login input{height:44px}body.phone-mode .phone-consent input{height:18px}body.phone-mode .phone-login label:not(.phone-consent){font-size:12px;margin:8px 0 5px}body.phone-mode .phone-consent{margin-top:9px}body.phone-mode .phone-message{font-size:11px;margin:6px 0}}

@media(max-width:760px){body.focus-play .slots.very-long{gap:3px}body.focus-play .slots.very-long .slot{width:calc((100vw - 92px)/12);font-size:18px;min-width:0}body.focus-play .meaning{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3;max-height:2.6em}body.focus-play .earned-word strong{overflow-wrap:anywhere;min-width:0}}

@media(max-width:760px){body.focus-play .letters.very-long{max-width:270px}body.focus-play .letters.very-long .letter{width:38px;height:42px;min-height:42px;font-size:24px}}

@media(max-width:760px){body.focus-play .earned-word.long-earned{display:grid;grid-template-columns:32px minmax(0,1fr);gap:3px 10px;text-align:left}body.focus-play .earned-word.long-earned>span{grid-row:1/3}body.focus-play .earned-word.long-earned strong{font-size:23px;white-space:nowrap;overflow-wrap:normal}body.focus-play .earned-word.long-earned small{grid-column:2;white-space:normal;font-size:12px}}
