/* One chrome contract for every phase. Episode artwork keeps its own theme. */
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world){--rrdd-header-height:52px}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header{position:fixed!important;inset:0 0 auto!important;display:block!important;width:100%!important;max-width:none!important;height:52px!important;min-height:52px!important;padding:0!important;margin:0!important;border:0!important;border-bottom:1px solid #e8e0d2!important;border-radius:0!important;background:#fffaf1!important;color:#173c61!important;box-shadow:none!important;pointer-events:auto!important;z-index:200!important;box-sizing:border-box}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) .rrdd-header-space{display:block!important;height:52px!important;min-height:52px!important;flex:none!important}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-game-brand{position:absolute!important;inset:4px auto auto 10px!important;display:block!important;transform:none!important;width:84px!important;min-width:0!important;height:44px!important;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;object-fit:contain!important}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-game-brand img{width:84px!important;height:44px!important;max-width:none!important;object-fit:contain!important}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-game-tools{position:static!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;width:100%!important;height:52px!important;min-height:52px!important;margin:0!important;padding:4px 8px 4px 100px!important;gap:4px!important;background:none!important;pointer-events:auto!important;flex-wrap:nowrap!important;box-sizing:border-box}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-challenge-timer{display:flex!important;position:static!important;order:0!important;width:auto!important;min-width:0!important;height:44px!important;min-height:44px!important;align-items:center!important;padding:0!important;margin:0 4px!important;background:none!important;border:0!important;flex:none!important}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-challenge-timer b{font:26px/1 Froople,'Trebuchet MS',sans-serif!important;color:#ffcf4f!important;text-shadow:0 2px #986b2f;font-variant-numeric:tabular-nums}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-challenge-timer :is(span,small){display:none!important}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header :is(.rrdd-fullscreen-tool,.rrdd-learning-pause){position:static!important;inset:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;flex:none!important;box-shadow:none!important;border-radius:50%!important;background:#fff!important;color:#173c61!important;border:1px solid #dbe3e5!important;font:24px/1 'Trebuchet MS',sans-serif!important}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-fullscreen-tool{order:1!important}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-learning-pause{order:2!important}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-game-exit{position:static!important;inset:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;order:3!important;width:72px!important;min-width:44px!important;height:44px!important;min-height:44px!important;flex:none!important;margin:0!important;padding:0 6px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#173c61!important;font:800 14px/1.2 'Trebuchet MS',sans-serif!important;white-space:nowrap!important;text-decoration:none!important}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-game-exit::after{display:none!important;content:none!important}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header :is(#soundButton,#worldSoundButton,#motionButton,#restartButton,.story-tools-more,.rrdd-settings-toggle,.rrdd-settings-background,.rrdd-game-stages,.rrdd-secondary-tool){display:none!important}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) .journey-score:is(#journey,.journey-score){position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:1050px!important;margin:0 auto!important;z-index:1!important;pointer-events:auto!important;--adv-hud-centre:115px}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) .journey-score:is(#journey,.journey-score)::before{opacity:1!important;backdrop-filter:none!important;border-color:var(--adv-edge)!important;box-shadow:inset 0 0 6px #fff4!important}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) .journey-score .star-stop{pointer-events:auto!important}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) .adventure-pause-options{display:grid;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid #dfd5bf}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) .adventure-pause-option{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;font:700 16px/1.3 'Trebuchet MS',sans-serif}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) .adventure-pause-option:has(>button[hidden]){display:none}
body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) .adventure-pause-option button{position:static!important;display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;padding:8px 14px;border:1px solid #d2ddd6;border-radius:14px;background:#fffaf1;color:#173c61;font-size:24px;box-shadow:none}
@media(max-width:700px){body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-challenge-timer b{font-size:23px!important}body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) .journey-score:is(#journey,.journey-score){--adv-hud-centre:72px}}
@media(max-width:360px){body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-game-brand,body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-game-brand img{width:70px!important}body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-game-tools{padding-left:80px!important;padding-right:4px!important;gap:0!important}body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-challenge-timer b{font-size:18px!important}body.rrdd-unified-bar.rrdd-adventure.rrdd-game-shell:is(.rrdd-adventure,.rrdd-story-world) header.rrdd-game-header .rrdd-game-exit{width:58px!important;font-size:12px!important}}
