/* The initial page and the loaded player share one layout. */
body.watch-page:not(.arena-cinema) #watchRecords{height:auto!important;min-height:0!important;max-height:none!important;align-self:start;overflow:visible!important}body.watch-page:not(.arena-cinema) #watchRecords .listwrap{min-height:0;height:auto}body.watch-page:not(.arena-cinema) #watchRecords #list{min-height:0}#watchRecords .item{opacity:1!important;transform:none!important;animation:none!important}#watchRecords .item.pend{opacity:1!important}#watchRecords .note{margin-bottom:0}#watchRecords #list:before,#watchRecords #list:after{pointer-events:none}
#asb-companion .asb-resume-invite{min-width:0;max-width:min(240px,calc(100vw - 24px));white-space:normal;overflow-wrap:anywhere}#asb-companion .mc-launchers{min-width:0;max-width:100%}
@media(max-width:760px){html body #asb-companion{right:12px!important;left:auto!important;width:auto!important;max-width:calc(100% - 24px)!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:8px!important}html body #asb-companion .mc-bubble{order:0!important;flex:0 1 auto!important;width:min(300px,calc(100vw - 40px))!important;max-width:100%!important;min-width:0;margin:0!important;box-sizing:border-box;padding:16px}html body #asb-companion .mc-launchers{order:1;flex:0 1 auto!important;width:auto;max-width:100%;align-self:flex-end}html body #asb-companion .mc-bubble:after{right:26px;left:auto;bottom:-8px;top:auto;width:16px;height:16px;transform:rotate(45deg)}html body #asb-companion .mc-bubble:not([hidden])~.mc-launchers .mc-figure{width:64px!important;height:91px!important}html body #asb-companion .mc-bubble:not([hidden])~.mc-launchers .mc-label{left:0;right:0;font-size:9px}html body #asb-companion .mc-actions{display:flex;flex-wrap:wrap}html body #asb-companion .asb-resume-above{position:static;white-space:normal}body.watch-page:not(.arena-cinema) #watchRecords{margin-top:-10px!important}}

/* Place the help button without measuring or moving it after paint. */
#watchHelp{left:calc(25% + 20px)!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important}html[lang=et] #watchHelp{left:calc(25% + 28px)!important}#watchTabs:has(#watchTab-about:not([hidden]))~#watchHelp{left:calc(16.666667% + 20px)!important}html[lang=et] #watchTabs:has(#watchTab-about:not([hidden]))~#watchHelp{left:calc(16.666667% + 28px)!important}#watchTabs:has(#watchTab-chat[hidden])~#watchHelp{display:none}
/* Keep the invitation beside the mascot, with shortcuts on separate rows. */
@media(max-width:760px){html body #asb-companion:has(.mc-bubble:not([hidden])){display:grid!important;width:min(330px,calc(100% - 24px))!important;grid-template-columns:minmax(0,1fr) 64px;gap:8px!important;align-items:end!important}html body #asb-companion:has(.mc-bubble:not([hidden])) .mc-launchers{display:contents!important}html body #asb-companion:has(.mc-bubble:not([hidden])) .mc-bubble{position:relative!important;grid-column:1;grid-row:3;width:100%!important;max-width:100%!important;min-width:0;margin:0!important;padding:14px;align-self:end;box-sizing:border-box}html body #asb-companion:has(.mc-bubble:not([hidden])) .mc-figure{grid-column:2;grid-row:3;width:64px!important;height:91px!important;align-self:end}html body #asb-companion:has(.mc-bubble:not([hidden])) .asb-resume-invite{grid-column:1/-1;grid-row:1;justify-self:end;position:static!important;max-width:100%}html body #asb-companion:has(.mc-bubble:not([hidden])) #asbApplicationShortcut{grid-column:1/-1;grid-row:2;justify-self:end;max-width:100%}html body #asb-companion:has(.mc-bubble:not([hidden])) .mc-bubble:after{right:-8px;bottom:24px;left:auto;top:auto;transform:rotate(-45deg)}html body #asb-companion:has(.mc-bubble:not([hidden])) .mc-bubble p{font-size:12px;line-height:1.5}html body #asb-companion:has(.mc-bubble:not([hidden])) .mc-actions{gap:6px;flex-wrap:wrap}html body #asb-companion:has(.mc-bubble:not([hidden])) .mc-actions>*{padding:8px 10px!important;font-size:11px!important;min-height:36px}}
