@media(min-width:951px){
body.faithful-target:is([data-desktop-view=star-map],[data-desktop-view=command]) #desktop-menu>summary{position:relative;display:block;box-sizing:border-box;line-height:1;overflow:visible;list-style:none}
body.faithful-target:is([data-desktop-view=star-map],[data-desktop-view=command]) #desktop-menu>summary::after{position:absolute;inset:0;width:auto;height:auto;display:grid;place-items:center;line-height:1;margin:0;padding:0}
body.faithful-target[data-desktop-view=command] #desktop-inspector,body.faithful-target[data-desktop-view=command] #desktop-rail{background-color:transparent;border-radius:0;box-shadow:none;overflow:hidden;min-height:0;padding:48px 28px 58px}
body.faithful-target[data-desktop-view=command] #desktop-rail{display:flex;flex-direction:column}
body.faithful-target[data-desktop-view=command] #desktop-rail-nav{flex:none;margin-bottom:20px}
body.faithful-target[data-desktop-view=command] #desktop-company{min-height:0;overflow:auto;padding:12px 6px 18px 0;overscroll-behavior:contain}
body.faithful-target[data-desktop-view=command] #desktop-rail-nav button{min-height:42px}
body.faithful-target[data-desktop-view=command] #faithful-context{background-color:transparent;border-radius:0;box-shadow:none;padding:clamp(76px,9dvh,120px) 76px clamp(92px,10dvh,130px);overflow:hidden}
body.faithful-target:is([data-desktop-view=star-map],[data-desktop-view=command]) dialog{display:flex;flex-direction:column;overflow:hidden;max-height:90dvh}
body.faithful-target:is([data-desktop-view=star-map],[data-desktop-view=command]) dialog:not([open]){display:none}
body.faithful-target:is([data-desktop-view=star-map],[data-desktop-view=command]) #modalbody{min-height:0;overflow:auto;padding-bottom:12px}
body.faithful-target[data-desktop-view=command] dialog{background:transparent url(visuals/faithful/frame.webp) center/100% 100% no-repeat;border:0;border-radius:0;box-shadow:none;padding:clamp(76px,9dvh,120px) 64px clamp(92px,10dvh,130px)}
body.faithful-target[data-desktop-view=command] dialog .close{top:clamp(72px,8.5dvh,114px);right:64px}
body.faithful-target[data-desktop-view=star-map] #desktop-inspector{padding-top:32px;padding-bottom:32px}
body.faithful-target[data-desktop-view=command] #desktop-company,body.faithful-target[data-desktop-view=command] #desktop-world-panel{mask-image:linear-gradient(to bottom,transparent,#000 8px,#000 calc(100% - 8px),transparent)}
body.faithful-target[data-desktop-view=command] #desktop-rail-nav button:first-child{color:#fff1d8}
}

/* Accessible text contrast (WCAG AA 4.5:1) on the light phone panels: darker tones of the player colours. */
.phone-play .company-name[style*="#40d4d4"]{color:#1c7d7d!important}
.phone-play .company-name[style*="#f4b750"]{color:#97630a!important}
.phone-play .company-name[style*="#b299ef"]{color:#7d52e4!important}
.phone-play .company-name[style*="#f0838d"]{color:#de1b2d!important}
.phone-play .company-name[style*="#88ca8b"]{color:#377c3b!important}
.phone-play button.primary,.phone-play #produce{color:#021014}
