/* Room status should not create a spare row for solo games. */
#roomBadge:empty{display:none}
/* Keep gameplay artwork clear; restore the original soft castle in the menus. */
body::before,body.royal-menu::before{filter:none}
#game .tile img.chip{filter:drop-shadow(0 1px 1px #0009)}
#game .tile.active-formation img.chip{filter:drop-shadow(0 0 3px #ffcb55bb) drop-shadow(0 1px 1px #0009)!important}
#game .tile.defense-row:has(.wall-art) img.wall-art{filter:drop-shadow(0 1px 1px #0009)}
/* Larger identity image, including phones. */
.royal-menu #home .profile-trigger img{width:48px;height:48px;flex:0 0 48px}
.royal-menu #home .profile-trigger{gap:12px;min-height:56px}
@media(min-width:701px){
 .royal-menu main{max-width:1500px;padding:20px 24px 0}
 .royal-menu #home{padding:24px 36px 36px}
 .royal-home-heading{max-width:1180px;gap:28px;margin-bottom:24px}
 .royal-menu #home .royal-logo{width:clamp(340px,40vw,580px);flex:0 1 580px}
 .royal-menu #home .join-ways{width:100%;max-width:1180px;gap:22px}
 .royal-menu #home .menu-card-art{height:clamp(180px,17vw,240px)}
 .royal-menu #home .menu-card:has(.card-hit-target) .menu-card-symbol{top:calc(clamp(180px,17vw,240px) - 58px)}
 .royal-menu #home .menu-card-content{padding:0 22px 22px;gap:14px}
 .royal-menu #home .menu-card h2,.royal-menu #home .tutorial-entry-panel h2{font-size:clamp(25px,2.3vw,32px)}
 .royal-menu #home .menu-card p{font-size:18px;max-width:350px}
 .royal-menu #home .menu-card button:not(.card-hit-target){min-height:48px;font-size:17px}
 .royal-menu #home .account-nav{width:360px;flex:0 1 360px;padding:7px 10px}
 .royal-menu #home .profile-trigger img{width:64px;height:64px;flex-basis:64px}
 .royal-menu #home .profile-trigger strong{font-size:17px}
 .royal-menu #home #openMenuSettings{min-height:48px}
}
@media(min-width:701px) and (max-width:1100px){
 .royal-menu main{padding:14px 16px 0}
 .royal-menu #home{padding:20px 22px 28px}
 .royal-home-heading{gap:18px}
 .royal-menu #home .royal-logo{width:50%;flex:1 1 50%;min-width:0}
 .royal-menu #home .account-nav{width:300px;flex:0 1 300px}
 .royal-menu #home .profile-trigger img{width:56px;height:56px;flex-basis:56px}
 .royal-menu #home .join-ways{gap:18px}
}
/* Original Dornfels backdrop for sign-in and the main menu. */
body.royal-menu[data-menu-screen="account"]::before,
body.royal-menu[data-menu-screen="home"]::before{
 inset:-20px;
 background:linear-gradient(180deg,#05102338,#0510232e 55%,#051023a6),url('/assets/menu/castle.webp') center/cover no-repeat;
 filter:blur(6px);
}
.royal-menu[data-menu-screen="home"] #home{background:#071522cc}