/* Approved compact identity; the existing radar and its controls keep their layout. */
.topbar{min-height:48px;padding-block:6px}
.topbar .brand{flex:0 0 156px;width:156px;height:30px;border-radius:4px}
.topbar .brand img{width:100%;height:100%;object-fit:cover;object-position:center;image-rendering:auto}
.topbar .brand::after{content:none;animation:none}
@media(max-width:680px){.topbar .brand{flex-basis:136px;width:136px;height:30px}}
@media(max-width:365px){.topbar .brand{flex-basis:128px;width:128px;height:28px}}

/* Compact mutation chips retain each material's colored frame. */
#radar-view .pet-card .egg-row .mutations,
#radar-view .pet-card .egg-row .mutation-badges>.mutations{
 width:28px;max-width:32px;flex:0 0 auto;height:24px;min-height:24px;max-height:24px;
 border-width:2.5px!important;border-radius:4px!important;font-weight:800;
 box-shadow:inset 0 1px #ffffff20!important;letter-spacing:-.15px
}
#radar-view .pet-card .egg-row .mutation-badges{gap:2px}
#radar-view .pet-card .egg-row .join-button{
 width:58px;height:32px;min-height:32px;border-radius:5px!important;
 background:linear-gradient(180deg,#2194ef,#1261cc)!important;
 border-color:#72b6f3!important;box-shadow:inset 0 1px #ffffff26!important;
 font-size:12px;font-weight:800;letter-spacing:.1px;
 transition:filter .14s ease,box-shadow .14s ease,transform .08s ease
}
#radar-view .pet-card .egg-row .join-button::before,
#radar-view .pet-card .egg-row .join-button::after{content:none!important;display:none!important;animation:none!important}
#radar-view .pet-card .egg-row.is-halloween .join-button:not([aria-disabled=true]){
 background:linear-gradient(180deg,#ffb842,#ed731b)!important;border-color:#ffcf79!important;color:#291503
}
#radar-view .pet-card .egg-row .join-button:not([aria-disabled=true]):hover{
 filter:brightness(1.08);box-shadow:inset 0 1px #ffffff46!important
}
#radar-view .pet-card .egg-row .join-button:not([aria-disabled=true]):active{transform:translateY(1px);filter:brightness(.97)}
#radar-view .pet-card .egg-row .join-button:focus-visible{outline:2px solid #edf7ff;outline-offset:2px}
#radar-view .pet-card .egg-row .join-button[aria-disabled=true]{filter:none;transform:none;box-shadow:none!important;cursor:default}
@media(min-width:1600px){#radar-view .pet-card .egg-row .join-button{width:64px}}
@media(max-width:900px){
 #radar-view .pet-card .egg-row .join-button{width:60px;max-width:100%;height:34px;min-height:34px;justify-self:center}
 #radar-view .pet-card .egg-row .mutation-badges{height:auto;max-height:none}
 #radar-view .pet-card .egg-row .mutation-badges[data-count]:not([data-count="1"]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,58px);justify-self:center}
 #radar-view .pet-card .egg-row .mutation-badges[data-count]:not([data-count="1"])>.mutations{width:100%;height:15px;min-height:15px;max-height:15px;border-width:2px!important;font-size:7px;letter-spacing:-.3px}
}
@media(prefers-reduced-motion:reduce){#radar-view .pet-card .egg-row .join-button{transition:none;transform:none!important}}
