/* Screen size follows the camera exactly: no inverse marker scaling. */
#terrain .marker{width:340px;min-height:0;padding:12px;gap:12px;transform:translate(-50%,-50%) scale(1);transition:none;align-items:flex-start}
#terrain .marker .controller-avatar,#terrain .marker .controller-portrait .controller-avatar{width:80px;height:80px;min-height:80px;border-radius:15px}
#terrain .marker .controller-avatar.human{border-radius:50%}
#terrain .marker .controller-portrait{width:80px;gap:7px}
#terrain .marker strong{font-size:21px;line-height:1.3}#terrain .marker strong small{font-size:13px}
#terrain .marker .controller-name{font-size:19px;line-height:1.4}#terrain .marker .controller-kind{font-size:12px}
#terrain .marker em{font-size:26px}#terrain .marker em small{font-size:13px}
#terrain .marker .ai-connection{font-size:13px}#terrain .marker .marker-floating{font-size:13px}#terrain .marker .marker-starts{font-size:12px}
#terrain .marker .limit-badge{font-size:12px}#terrain .marker .marker-copy{padding-right:0}
#terrain .marker-enter{display:grid;place-items:center;align-self:flex-end;margin-top:7px;width:42px;height:38px;padding:0;color:#a7f1ff;background:#0c465d;border:1px solid #5bdcf1;border-radius:7px;font-size:23px;line-height:1;flex:none}
#terrain .marker-enter:disabled{opacity:.35;cursor:not-allowed}#terrain .marker-enter:focus-visible{outline:3px solid white;outline-offset:2px}
#terrain[data-zoom-level=summary] .marker{width:300px;padding:10px;gap:10px}
#terrain[data-zoom-level=summary] .marker .controller-kind,#terrain[data-zoom-level=summary] .marker .marker-floating,#terrain[data-zoom-level=summary] .marker .marker-starts,#terrain[data-zoom-level=summary] .marker .limit-badge,#terrain[data-zoom-level=summary] .marker .marker-pnl-label{display:none}
#terrain[data-zoom-level=compact] .marker{width:88px;height:88px;min-height:0;padding:4px;gap:0;align-items:center;justify-content:center;background:transparent;border:0;box-shadow:none;border-radius:20px}
#terrain[data-zoom-level=compact] .marker .marker-copy,#terrain[data-zoom-level=compact] .marker .ai-connection,#terrain[data-zoom-level=compact] .marker .controller-avatar small{display:none}
#terrain[data-zoom-level=compact] .marker .controller-portrait{width:80px;gap:0}
#terrain[data-zoom-level=compact] .marker:after{display:none}
#terrain[data-zoom-level=compact] .marker.selected{outline:3px solid #91efff;outline-offset:4px;box-shadow:0 0 0 7px #2bcce52b}
#terrain .map-cluster{transform:translate(-50%,-50%) scale(1)!important;min-width:0;width:120px;min-height:90px;padding:7px;border-radius:15px}
#terrain .zoom-cluster-heads{display:flex;align-items:center;justify-content:center;height:62px;pointer-events:none}
#terrain .zoom-cluster-heads .controller-avatar{width:54px;height:58px;flex:none;margin-left:-15px;border-width:2px}
#terrain .zoom-cluster-heads .controller-avatar:first-child{margin-left:0}
#terrain .zoom-cluster-heads .controller-avatar small{display:none}
#terrain .map-cluster>b{font-size:24px;line-height:1.2;text-align:center}
#terrain .map-cluster>small{font-size:10px;text-align:center}
#terrain[data-zoom-level=compact] .map-cluster{width:100px;height:86px;padding:4px}
#terrain[data-zoom-level=compact] .map-cluster>b{position:absolute;right:-4px;bottom:-3px;min-width:30px;padding:2px 5px;border-radius:12px;background:#0d596c;border:1px solid #85e6f1;font-size:20px}
#terrain[data-zoom-level=compact] .map-cluster>small{display:none}
@media(min-width:801px){
body>main>aside{gap:8px}
body>main>aside>#world-profile-dock{padding:0!important;order:-1;flex:none;overflow:hidden}
#world-profile-dock #account{display:flex;align-items:center;gap:13px;padding:13px;width:100%;max-width:none;min-height:98px;text-align:left;border:0;border-radius:9px;background:linear-gradient(115deg,#174055,#071d2d)}
#world-profile-dock .world-profile-avatar{width:64px;height:64px;font-size:23px;border-width:2px;box-shadow:0 0 15px #56cce82b}
#world-profile-dock .world-profile-identity{gap:6px;flex:1}
#world-profile-dock #commander{max-width:190px;white-space:normal;overflow-wrap:anywhere;font-size:21px;line-height:1.3;color:#effaff;font-weight:700}
#world-profile-dock .world-profile-role{font-size:13px}#world-profile-dock .badge{align-self:flex-start;font-size:9px;margin-left:0}
body>main>aside:has(#world-profile-dock)>.selected-portfolio{height:auto!important;flex:1;min-height:0}
body>main>aside>.brief,body>main>aside>.ai-note{display:none}
body>header{position:relative}body>header h1{position:absolute;left:50%;transform:translateX(-50%);text-align:center}
}
@media(max-width:800px){#world-profile-dock[hidden]{display:none}#account .world-profile-avatar{width:34px;height:34px}body>header #account.world-profile-button{min-height:42px}}
