body[data-active-game="ricochet-royal-demo"] .embedded-topline{justify-content:flex-start;gap:10px}
body[data-active-game="ricochet-royal-demo"] .now-playing{max-width:50vw;margin-left:auto}
body[data-active-game="ricochet-royal-demo"] #embedded-game-title{font-size:clamp(22px,3vw,42px)}
body[data-active-game="ricochet-royal-demo"] .fullscreen-toggle:not([hidden]){display:grid}
body[data-active-game="ricochet-royal-demo"] #ricochet-royal-demo-frame{max-height:calc(100dvh - 255px)}
/* With the Player notes panel mounted the view reserves its own room below the
   game, so the frame must not subtract that height a second time. */
body[data-active-game="ricochet-royal-demo"] #embedded-game-view.has-community #ricochet-royal-demo-frame{max-height:calc(100dvh - 96px)}
body[data-active-game="ricochet-royal-demo"] .embedded-controls{min-height:44px;padding-right:54px}
body[data-active-game="ricochet-royal-demo"] .game-sound-toggle{top:auto;bottom:10px;right:12px;--melody-a:#79eae3;--melody-b:#ffd578}
@media(max-width:700px){
 body[data-active-game="ricochet-royal-demo"] #embedded-game-view .now-playing{max-width:calc(100vw - 186px)}
 body[data-active-game="ricochet-royal-demo"] #embedded-game-title{font-size:clamp(16px,4.8vw,24px);white-space:nowrap}
 body[data-active-game="ricochet-royal-demo"] .embedded-game-view{padding:12px;gap:12px}
 body[data-active-game="ricochet-royal-demo"] .embedded-stage{padding:8px;gap:8px}
 body[data-active-game="ricochet-royal-demo"] #ricochet-royal-demo-frame{height:calc(100dvh - 230px)!important;max-height:calc(100dvh - 230px);min-height:280px}
 body[data-active-game="ricochet-royal-demo"] .embedded-controls{gap:5px;font-size:9px}
}

#desktop-only-notice{max-width:min(480px,calc(100vw - 32px));box-sizing:border-box;color:#e6f8ff;background:#081825;border:2px solid #70ecf4;border-radius:18px;padding:28px;font-family:inherit;box-shadow:0 0 60px #29d4ed44} #desktop-only-notice::backdrop{background:#02090ddc} #desktop-only-notice h2{font-size:clamp(22px,5vw,32px);color:#ffba64} #desktop-only-notice p{line-height:1.6} #desktop-only-notice button{background:#72edf1;color:#071925;border:0;border-radius:8px;padding:12px 18px;font:700 16px inherit;cursor:pointer} #desktop-only-notice button:focus-visible{outline:3px solid #ffbd69;outline-offset:4px}
