/* Reserve a visible caption beneath every reward, independently of video sizing. */
html body #game #meaning h1.reward-word>svg.reward-lettering{display:block!important;width:var(--reward-caption-width)!important;max-width:100%!important;height:64px!important;max-height:64px!important;flex:0 1 auto!important;overflow:visible!important;visibility:visible!important;opacity:1!important}
html body #game #meaning h1.reward-word>svg.reward-lettering svg{width:unset;height:unset;overflow:hidden!important}
html body #game #meaning{display:block!important;padding:0 12px!important;overflow:hidden!important}
html body #game #meaning.hidden{display:none!important}
html body #game #meaning>video,html body #game #meaning>.expanded-visual{position:absolute!important;top:0!important;left:12px!important;right:12px!important;bottom:90px!important;width:calc(100% - 24px)!important;height:calc(100% - 90px)!important;max-height:calc(100% - 90px)!important;max-width:none!important;min-height:0!important;object-fit:contain!important;grid-row:auto!important}
html body #game #meaning>h1.reward-word{position:absolute!important;left:180px!important;right:180px!important;bottom:10px!important;top:auto!important;width:auto!important;max-width:none!important;height:72px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;overflow:visible!important;z-index:2!important;grid-row:auto!important;transform:none!important;visibility:visible!important;opacity:1!important}
html body #game #meaning .reward-word .selector-art{display:block!important;height:min(64px,7dvh,calc((100vw - 390px) / var(--letter-count)))!important;width:auto!important;max-height:none!important;max-width:none!important;flex:0 0 auto!important;margin:0!important}
@media(max-width:600px){html body #game #meaning>h1.reward-word{left:8px!important;right:175px!important;bottom:10px!important;justify-content:center!important}html body #game #meaning .reward-word .selector-art{height:min(48px,7dvh,calc((100vw - 200px) / var(--letter-count)))!important}}

/* Body-level caption cannot be clipped by the reward theatre's overflow. */
html body>h1.reward-caption{position:fixed!important;display:flex!important;align-items:center!important;justify-content:center!important;left:180px!important;right:180px!important;bottom:14px!important;top:auto!important;height:76px!important;width:auto!important;margin:0!important;padding:0!important;z-index:250!important;overflow:visible!important;background:transparent!important;visibility:visible!important;opacity:1!important;transform:none!important;font-size:0!important;pointer-events:none}
html body>h1.reward-caption>img.reward-word-image{display:block!important;height:72px!important;width:auto!important;max-width:100%!important;max-height:72px!important;object-fit:contain!important;visibility:visible!important;opacity:1!important}
@media(max-width:600px){html body>h1.reward-caption{left:8px!important;right:174px!important;height:64px!important;bottom:12px!important}html body>h1.reward-caption>img.reward-word-image{height:60px!important;max-height:60px!important}}
