/* Room for Me homepage: Halloween structure with the kindness palette.
   Scoped to the watch route; loaded after all episode and story-world sheets. */
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home{background:#e9eee3!important;--rrdd-header-height:52px}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home .story-world-backdrop{display:none!important}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header.rrdd-game-header{
 position:fixed!important;inset:0 0 auto!important;display:block!important;
 height:52px!important;min-height:52px!important;background:#fffaf1!important;
 border:0!important;border-bottom:1px solid #e8e0d2!important;pointer-events:auto;
}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header.rrdd-game-header .rrdd-game-brand{
 display:block!important;left:10px!important;top:4px!important;transform:none!important;
 width:84px!important;height:44px!important;object-fit:contain;
}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header.rrdd-game-header .rrdd-game-tools{
 display:flex!important;align-items:center;justify-content:flex-end!important;
 height:52px!important;min-height:52px!important;padding:4px 8px 4px 100px!important;
 gap:4px!important;
}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header .rrdd-challenge-timer{
 display:flex!important;position:static!important;order:0;width:auto!important;
 min-width:0!important;min-height:44px!important;margin:0 4px!important;
 align-items:center;padding:0!important;background:none!important;border:0!important;
}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header .rrdd-challenge-timer b{font-size:26px!important}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header :is(.rrdd-fullscreen-tool,.rrdd-learning-pause){
 display:inline-flex!important;position:static!important;align-items:center;justify-content:center;
 width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
 padding:0!important;box-shadow:none!important;flex-shrink:0;
}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header .rrdd-fullscreen-tool{order:1}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header .rrdd-learning-pause{order:2}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header.rrdd-game-header .rrdd-game-exit{
 display:inline-flex!important;position:static!important;order:3!important;align-items:center;justify-content:center;
 width:72px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
 padding:0 6px!important;background:transparent!important;border:0!important;border-radius:0!important;
 font-size:14px!important;box-shadow:none!important;flex-shrink:0;
}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header.rrdd-game-header .rrdd-game-exit::after{display:none!important;content:none!important}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header :is(#soundButton,#worldSoundButton,.story-tools-more){display:none!important}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #journey.journey-score{
 position:relative!important;inset:auto!important;transform:none!important;
 width:100%!important;max-width:none!important;margin:0 auto!important;z-index:auto;
 pointer-events:auto;
}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #journey.journey-score::before{
 opacity:1;backdrop-filter:none;border-color:var(--adv-edge)!important;
 box-shadow:inset 0 0 6px #fff4!important;
}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #journey .score-centre{min-width:0!important}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #watchScreen .adv-watch-copy :is(#welcome,.welcome-photo){display:none!important}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #watchScreen .adv-watch-copy .gold{
 border:0!important;border-radius:16px!important;background:#ffdf83!important;
 box-shadow:0 4px 0 #dcad50!important;
}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #watchScreen .adv-watch-copy #beginRead:disabled{opacity:.5;cursor:default}
body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #watchScreen #localFilm{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
@media(max-width:700px){
 body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header .rrdd-challenge-timer b{font-size:23px!important}
 body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #journey #journeyScore{font-size:38px!important}
 body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #journey #journeyScore[data-digits='4']{font-size:30px!important}
}
@media(orientation:portrait) and (max-width:900px){
 body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #watchScreen .adv-watch-copy{grid-template-columns:minmax(0,1fr)!important}
 body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #watchScreen .adv-watch-copy #skipVideo{grid-column:1/-1;width:min(100%,300px)!important}
 body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #watchScreen .adv-watch-copy #beginRead{grid-column:1/-1;width:min(100%,260px)!important}
 body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #watchScreen #filmFallback{grid-column:1/-1;justify-self:center}
}
@media(orientation:landscape) and (max-height:500px){
 body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home #journey #journeyScore{font-size:38px!important}
}
@media(max-width:360px){
 body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header.rrdd-game-header .rrdd-game-tools{padding-left:88px!important;gap:0!important}
 body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header .rrdd-challenge-timer b{font-size:18px!important}
 body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home header.rrdd-game-header .rrdd-game-exit{width:58px!important;font-size:12px!important}
}
/* Text zoom or a very short window can scroll instead of clipping an action. */
@media(max-height:380px){
 body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home{height:auto!important;overflow:auto!important}
 body.room-adventure.rrdd-adventure.rrdd-game-shell.room-watch-home main#app{min-height:300px!important;overflow:visible!important}
}
