/* Add-on: McDonald's Videogame (Molleindustria), the original Flash game in Ruffle. Linked from index.html. */
.game-header[data-family="mcd-videogame"] .header-icon::before{-webkit-mask:url("../../../assets/tab-kit/icons/games/mcd-videogame.svg") center/contain no-repeat;mask:url("../../../assets/tab-kit/icons/games/mcd-videogame.svg") center/contain no-repeat}
.game-card[data-family="mcd-videogame"],.game-header[data-family="mcd-videogame"]{--ga:#f3c34a}
body.flash-game #round-progress,body.flash-game #objective-progress,body.flash-game #best-info,body.flash-game .level-pick-hint,body.flash-game .level-pick,body.flash-game .board-scroll-note{display:none!important}
.flash-stage{width:100%;max-width:min(1100px,calc((100svh - 150px)*1.61));margin:0 auto}
.flash-frame{position:relative;width:100%;aspect-ratio:660/410;background:#000;border-radius:10px;overflow:hidden;touch-action:manipulation}
.flash-frame .flash-player,.flash-frame ruffle-player{display:block;width:100%;height:100%}
.flash-loading{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:16px;text-align:center;color:#d9cbb8;font-size:14px}
.flash-credit{margin:8px 2px 0;color:#d9cbb8;line-height:1.45}
.flash-credit a{color:#f3c34a}
.flash-tip{margin:4px 2px 0}
#game-host:fullscreen .flash-stage{max-width:none;height:100%;display:grid;place-items:center}
#game-host:fullscreen .flash-frame{width:min(100vw,calc(100vh*1.61));border-radius:0}
#game-host:fullscreen .flash-credit,#game-host:fullscreen .flash-tip{display:none}
@media (max-width:600px){.flash-frame{border-radius:6px}}
@media (orientation:landscape) and (max-height:500px){body.flash-game .app-header,body.flash-game .bottom-nav{display:none}body.flash-game .flash-stage{max-width:calc((100svh - 56px)*1.61)}}
body:not(.playing-game) .game-card[data-family="mcd-videogame"] .game-icon::before{mask-image:url("../../../assets/tab-kit/icons/games/mcd-videogame.svg");-webkit-mask-image:url("../../../assets/tab-kit/icons/games/mcd-videogame.svg")}
body.flash-game #game-host{margin-top:8px!important;margin-bottom:8px!important}
