/* Add-on: Command & Conquer: Red Alert (1996, DOS) in js-dos. Linked from index.html. */
.game-header[data-family="redalert-1"] .header-icon::before{-webkit-mask:url("../../../assets/tab-kit/icons/games/redalert-1.svg") center/contain no-repeat;mask:url("../../../assets/tab-kit/icons/games/redalert-1.svg") center/contain no-repeat}
.game-card[data-family="redalert-1"],.game-header[data-family="redalert-1"]{--ga:#e0473a}
body:not(.playing-game) .game-card[data-family="redalert-1"] .game-icon::before{mask-image:url("../../../assets/tab-kit/icons/games/redalert-1.svg");-webkit-mask-image:url("../../../assets/tab-kit/icons/games/redalert-1.svg")}
body.dos-game #round-progress,body.dos-game #objective-progress,body.dos-game #best-info,body.dos-game .level-pick-hint,body.dos-game .level-pick,body.dos-game .board-scroll-note{display:none!important}
body.dos-game #game-host{margin-top:8px!important;margin-bottom:8px!important}
.ra-stage{width:100%;max-width:min(1100px,calc((100svh - 150px)*1.45));margin:0 auto}
.ra-frame{display:block;width:100%;aspect-ratio:640/450;border:0;border-radius:10px;background:#000}
@media (pointer:fine) and (hover:hover){.ra-frame{aspect-ratio:640/400}}
.ra-status{margin:8px 2px 0;color:#d9cbb8}
.ra-status[data-state="running"]{color:#7fd68a}
.ra-status[data-state="offline-missing"],.ra-status[data-state="error"]{color:#ff8a7a}
.ra-tip{margin:4px 2px 0}
.ra-credit{margin:6px 2px 0;color:#d9cbb8;line-height:1.45}
.ra-credit a,.ra-online a{color:#ff8a7a}
.ra-online{margin:4px 2px 0}
#game-host:fullscreen .ra-stage{max-width:none;height:100%;display:grid;place-items:center}
#game-host:fullscreen .ra-frame{width:min(100vw,calc(100vh*1.42));border-radius:0}
#game-host:fullscreen .ra-status,#game-host:fullscreen .ra-tip,#game-host:fullscreen .ra-credit,#game-host:fullscreen .ra-online{display:none}
@media (max-width:600px){.ra-frame{border-radius:6px}}
@media (orientation:landscape) and (max-height:500px){body.dos-game .app-header,body.dos-game .bottom-nav{display:none}body.dos-game .ra-stage{max-width:calc((100svh - 40px)*1.42)}}
/* the online-only Red Alert 2 card on the home screen */
.ra-online-section{margin:28px 0 8px}
.ra-online-card{display:flex;gap:14px;align-items:center;padding:14px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(224,71,58,.08);text-decoration:none;color:inherit}
.ra-online-card:hover,.ra-online-card:focus-visible{border-color:#e0473a}
.ra-online-card .ra-oc-icon{flex:0 0 46px;height:46px;border-radius:12px;display:grid;place-items:center;font-size:24px;background:#2a1414;color:#ff8a7a}
.ra-online-card h3{margin:0 0 2px;font-size:16px}
.ra-online-card p{margin:0;font-size:13px;opacity:.8;line-height:1.4}
.ra-online-card .ra-oc-go{margin-inline-start:auto;flex:0 0 auto;font-weight:700;color:#ff8a7a;white-space:nowrap}
