/* Retained product fix: word cards must stay centred on tablets in BOTH routes.
   Keep this file after lesson layout/guidance styles. Do not replace with letter-grid rules. */
.screen.activity-desk .letter-card.word-card {
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;min-width:0!important;min-height:0!important;
 width:100%!important;max-width:none!important;padding:clamp(8px,2vmin,24px)!important;
 gap:8px!important;overflow:hidden!important;
}
.screen.activity-desk .letter-card.word-card > .word.big {
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 position:static!important;grid-column:auto!important;grid-row:auto!important;
 flex:1 1 auto!important;min-width:0!important;min-height:0!important;
 width:min(100%,680px)!important;height:auto!important;max-width:100%!important;max-height:100%!important;
 margin:0 auto!important;padding:clamp(6px,1.5vmin,18px)!important;gap:6px!important;
}
.screen.activity-desk .letter-card.word-card > .word.big > .pic-img {
 width:auto!important;height:auto!important;max-width:65%!important;max-height:min(36dvh,300px)!important;
 min-height:0!important;flex:0 1 auto!important;object-fit:contain!important;
}
.screen.activity-desk .letter-card.word-card > .word.big > .word-ta {
 width:auto!important;max-width:100%!important;flex:0 0 auto!important;
 font-size:clamp(1.4rem,4vmin,3rem)!important;line-height:1.5!important;text-align:center!important;
}
.screen.activity-desk .letter-card.word-card > .hear {
 position:static!important;grid-column:auto!important;grid-row:auto!important;
 flex:0 0 auto!important;align-self:center!important;justify-self:center!important;margin:0!important;min-height:40px!important;
}
@media(max-height:599px),(max-width:600px){
 .screen.activity-desk .letter-card.word-card {padding:5px!important;gap:4px!important}
 .screen.activity-desk .letter-card.word-card > .word.big {gap:3px!important;padding:4px!important}
 .screen.activity-desk .letter-card.word-card > .word.big > .pic-img {max-height:24dvh!important;max-width:55%!important}
 .screen.activity-desk .letter-card.word-card > .word.big > .word-ta {font-size:clamp(1rem,4dvh,1.5rem)!important;line-height:1.3!important}
 .screen.activity-desk .letter-card.word-card > .word.big > small {font-size:.6rem!important;line-height:1.25!important}
}

.screen.activity-desk.learn .learn-grid.single {display:grid!important;grid-template-rows:minmax(0,1fr)!important;align-items:stretch!important}
.screen.activity-desk.learn .learn-grid.single > .letter-card.word-card {height:100%!important;align-self:stretch!important}
