/* Let the learning surface grow with the available phone height. */
body[data-activity=sort] #card>.speaker{align-self:center;min-height:52px;flex:none}body[data-activity=sort] #card>.word{font-size:clamp(44px,10vw,68px);line-height:1.4;margin:8px 0}body[data-activity=sort] .choices{flex:1;min-height:0;margin:6px 0 0;align-items:stretch}body[data-activity=sort] .choices button{height:100%;min-height:100px;font-size:clamp(52px,15vw,90px)}
body[data-activity=bubbles] .choices{flex:1;min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));align-content:stretch;margin:7px 0 0;gap:12px}body[data-activity=bubbles] .bubble{height:100%;max-height:none;min-height:70px!important;font-size:clamp(29px,8vw,43px)!important}body[data-activity=bubbles] .bubble:after{font-size:26px;line-height:32px}body[data-activity=bubbles] #card>.speaker{align-self:center;min-height:48px}body[data-activity=bubbles] .bubble-hint{margin:5px 0;font-size:14px}
body[data-activity=speed] #card>.picture{max-height:none;flex:1;min-height:30px}body[data-activity=speed] .choices{flex:0 0 29%;grid-template-rows:1fr 1fr}body[data-activity=speed] .choices button{height:100%;font-size:clamp(29px,8vw,40px)}
body[data-activity=sentencebuild] .sentence-tiles{flex:0 0 24%;display:flex;align-items:stretch;align-content:stretch;margin:4px 0}body[data-activity=sentencebuild] .sentence-tiles button{min-width:0;flex:1;font-size:clamp(27px,7vw,39px);min-height:60px}body[data-activity=sentencebuild] .sentence-line{font-size:clamp(30px,8vw,42px);margin:4px 0}
body[data-activity=pronoun] .choices,body[data-activity=isbuild] .choices,body[data-activity=subject] .choices{flex:0 0 22%;grid-template-rows:1fr}body[data-activity=pronoun] .choices button,body[data-activity=isbuild] .choices button,body[data-activity=subject] .choices button{height:100%;font-size:clamp(28px,8vw,40px)}
body[data-activity=blend] .letters,body[data-activity=find] .letters{flex:0 0 22%;align-items:stretch;align-content:stretch;margin:4px 0}body[data-activity=blend] .letters button,body[data-activity=find] .letters button{font-size:clamp(40px,11vw,60px);height:100%;min-width:55px}body[data-activity=blend] .picture,body[data-activity=find] .picture{min-height:30px}
body[data-activity=order] .photo-choice,body[data-activity=picturematch] .photo-choice{display:flex;align-items:stretch;justify-content:center;min-height:0}body[data-activity=order] .photo-choice img,body[data-activity=picturematch] .photo-choice img{height:100%;max-height:none;min-height:0;object-fit:contain}
@media(max-height:660px){body[data-activity=sort] #card>.word{margin:3px 0;font-size:42px}body[data-activity=sort] .choices button{min-height:75px}body[data-activity=bubbles] .bubble-hint{font-size:12px;line-height:1.5}body[data-activity=bubbles] .bubble{font-size:28px!important}body[data-activity=sentencebuild] .sentence-tiles button{font-size:24px;min-height:54px}}
body[data-activity=sort] .choices{grid-template-rows:minmax(0,1fr);align-content:stretch;align-items:stretch;justify-content:stretch}body[data-activity=sort] .choices button{max-height:none;align-self:stretch}
