.profile-body-map .rl-body-card { background:transparent; border:0; border-radius:0; padding:18px 0; overflow:visible; }
.profile-body-map .rl-body-header { flex-wrap:wrap; }
.rl-body-view-controls { display:flex; gap:4px; margin-bottom:12px; }
.rl-body-view-controls button { min-height:44px; min-width:80px; border:1px solid #555; background:transparent; color:inherit; border-radius:4px; }
.rl-body-view-controls button[aria-pressed=true] { background:#a91131; border-color:#ef234a; color:#fff; }
.rl-body-scene { width:100%; height:460px; position:relative; min-width:0; overflow:hidden; }
.rl-body-scene .rl-anatomy { display:block; width:100%; height:100%; overflow:visible; }
.rl-anatomy-base { fill:#32383e; stroke:#9ba3aa; stroke-width:1.2; stroke-linejoin:round; }
.rl-anatomy-region { fill:var(--region-color); fill-opacity:.6; stroke:#c4c9cd; stroke-opacity:.55; stroke-width:.9; cursor:pointer; transition:fill-opacity .15s; }
.rl-anatomy-region:hover { fill-opacity:.9; }
.rl-anatomy-region[aria-pressed=true] { fill:#fa1742; fill-opacity:.85; stroke:#ff657f; stroke-width:1.8; }
.rl-anatomy-region:focus-visible { outline:none; stroke:#fff; stroke-width:3; fill-opacity:1; }
.rl-anatomy-line { fill:none; stroke:#bdc4ca; stroke-opacity:.5; stroke-width:1; stroke-linecap:round; pointer-events:none; }
.rl-anatomy-guide { fill:none; stroke:#858b91; stroke-opacity:.18; stroke-width:1; stroke-dasharray:3 7; pointer-events:none; }
.rl-body-scene canvas { display:block; width:100%; height:100%; cursor:pointer; touch-action:pan-y; }
.rl-body-scene [data-body-fallback] { height:100%; overflow:auto; text-align:center; }
.rl-body-scene [data-body-fallback] svg { max-height:calc(100% - 48px); }
.rl-body-scene [hidden] { display:none !important; }
.rl-body-region-label { display:grid; gap:8px; font-size:13px; margin:16px 0; }
.rl-body-region-label select { width:100%; min-width:0; min-height:44px; font:inherit; color:inherit; background:var(--surface,#17191b); border:1px solid #555; border-radius:4px; padding:8px; }
.profile-body-map .rl-body-info { min-width:0; background:transparent; border:0; border-radius:0; padding:0; }
.profile-body-map .rl-body-metric strong { overflow-wrap:anywhere; }
@media(max-width:600px) {
 .profile-body-map .rl-body-content { grid-template-columns:1fr; gap:12px; }
 .rl-body-scene { height:360px; }
 .profile-body-map .rl-body-legend { display:flex; flex-wrap:wrap; gap:10px 16px; }
}
@media(prefers-reduced-motion:reduce) { .rl-body-scene { scroll-behavior:auto; } }
