html body #gameScr #gbody .cards3 .opt{animation:none!important;opacity:1!important;transform:none!important}html body #gameScr #gbody img.qimg{max-height:min(38dvh,340px,100%)!important}html body #gameScr #gbody img.qimg.picture-cutout{border:0!important;box-shadow:none!important;border-radius:0!important}@media(max-width:650px){html body #gameScr #gbody.gbody{align-content:space-evenly;grid-template-rows:auto auto minmax(0,1fr) auto}html body #gameScr #gbody img.qimg{max-height:min(34dvh,100%)!important;max-width:100%!important}}@media(max-height:650px){html body #gameScr #gbody img.qimg{max-height:min(25dvh,100%)!important}}
/* Balanced desktop art size: fill the picture row, retaining original ratio. */
@media(min-width:651px){html body #gameScr #gbody.gbody img.qimg,html body #gameScr #gbody.gbody img.qimg.picture-cutout{max-width:min(1100px,96%)!important;max-height:min(100%,400px)!important;width:auto!important;height:auto!important;object-fit:contain!important}}

/* Compact number boxes with centered digits. */
@media(min-width:651px){html body #gameScr #gbody.gbody img.qimg.number-card-art{max-width:min(850px,85%)!important;max-height:min(100%,290px)!important}}
@media(max-width:650px){html body #gameScr #gbody.gbody img.qimg.number-card-art{max-width:94%!important;max-height:min(100%,290px)!important}}

/* Compact number boxes with centered digits. */
@media(min-width:651px){html body #gameScr #gbody.gbody img.qimg.number-card-art{max-width:min(850px,85%)!important;max-height:min(100%,290px)!important}}
@media(max-width:650px){html body #gameScr #gbody.gbody img.qimg.number-card-art{max-width:94%!important;max-height:min(100%,290px)!important}}
