/* Car status belongs on the vehicle image as well as the purchase control. */
#car-crash.cc-dashboard .cc-car-artwork{position:relative;display:flex;flex:1 1 0;min-height:0;width:100%;max-height:310px}
#car-crash.cc-dashboard .cc-car-artwork canvas{height:100%!important;max-height:100%!important}
#car-crash.cc-dashboard .cc-not-owned{position:absolute;left:50%;top:52%;translate:-50% -50%;rotate:-9deg;z-index:4;pointer-events:none;white-space:nowrap;padding:7px 17px;border:2px solid #ffe0a0;border-radius:5px;background:#251d36e8;color:#ffe5b0;font-size:clamp(11px,2vw,18px);font-weight:900;letter-spacing:.08em;box-shadow:0 3px 10px #0008}
#car-crash.cc-dashboard .cc-boss-portrait-stage{background:radial-gradient(ellipse,#44616c55,transparent 70%)}
/* Absolute artwork uses the selector's existing height budget. */
#echo-dungeons .dg-carousel>article{position:relative;padding-right:clamp(90px,18vw,180px);min-width:0;overflow:hidden}
#echo-dungeons .dg-selector-boss{position:absolute;right:5px;top:6px;bottom:6px;width:clamp(80px,17vw,165px);display:block;pointer-events:none}
#echo-dungeons .dg-selector-boss>svg,#echo-dungeons .dg-selector-boss>img{position:absolute;inset:0;min-width:0;min-height:0;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain;image-rendering:pixelated;animation:none!important}
#echo-dungeons .dg-selector-boss *{animation:none!important}
/* The floating hamburger occupies the upper right. Keep every book/dialog
   inside that reserved edge, including short landscape screens. */
.game-session #echo-home .eh-dialog{max-width:calc(100% - var(--gs-menu-clear,64px) - 16px);left:calc((100% - var(--gs-menu-clear,64px))/2);box-sizing:border-box}
.game-session #echo-home .eh-book{max-width:calc(100% - var(--gs-menu-clear,64px) - 16px)}
#echo-home .eh-echo>img{transform:translate(var(--eh-pad-x,0px),var(--eh-pad,0px))}
#echo-home [data-home-dashboard]{flex:none;white-space:nowrap}
@media(max-height:430px){#echo-dungeons .dg-carousel>article{padding-right:clamp(76px,14vw,140px)}#echo-dungeons .dg-selector-boss{width:clamp(66px,13vw,125px)}}

#echo-dungeons .dg-carousel>article>:not(.dg-selector-boss){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#car-crash .cc-boss-unavailable{display:grid;height:100%;place-items:center;color:#cad8d1;font-size:12px}
