.ranked-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 28px; }
.body-stage { position: relative; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 38%, #1f2f33 0%, var(--bg) 70%); padding: 18px 12px 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.body-view { margin: 0; display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.body-figure { width: 100%; max-width: 250px; height: auto; overflow: visible; }
.body-base path, .body-base ellipse { fill: #2a373b; stroke: #3b4a4e; stroke-width: 1; }
.muscle path { fill: #4a5a5e; stroke: #1b262a; stroke-width: 1.5; cursor: pointer; transition: fill .2s, filter .2s, opacity .2s; }
.muscle.ranked path { fill: var(--rank); opacity: .6; }
.muscle:hover path, .muscle:focus-visible path { opacity: .95; filter: brightness(1.2); }
.muscle:focus-visible { outline: none; }
.muscle.selected path { opacity: 1; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 8px var(--rank, var(--accent))); }
.muscle:not(.ranked).selected path { fill: var(--accent); }
.rank-panel { display: grid; gap: 18px; }
.rank-plate { position: relative; border: 2px solid var(--rank, var(--line)); background: linear-gradient(160deg, #1d2b2f, #121a1d); padding: 24px 24px 22px; text-align: center; box-shadow: 0 0 28px -8px var(--rank, transparent), inset 0 0 24px -14px var(--rank, transparent); clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px); }
.rank-plate small { display: block; letter-spacing: .3em; font-size: 12px; font-weight: 700; color: var(--ink); text-transform: uppercase; }
.rank-plate strong { display: block; margin: 8px 0 4px; font-family: 'Space Grotesk', sans-serif; font-size: clamp(34px, 6vw, 54px); letter-spacing: .04em; text-transform: uppercase; color: var(--rank, var(--muted)); text-shadow: 0 0 22px var(--rank, transparent); }
.rank-plate span { color: var(--muted); font-size: 13px; }
.rank-plate .rank-bar { margin: 16px auto 8px; max-width: 320px; }
.rank-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rank-chips button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 9px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.rank-chips button[aria-pressed="true"] { border-color: var(--rank, var(--accent)); background: #1d2b2f; }
.rank-chips button:hover { border-color: var(--accent); }
.rank-chips em { font-style: normal; color: var(--muted); font-weight: 500; }
.rank-overall { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.rank-overall strong { color: var(--rank, var(--ink)); font-size: 18px; letter-spacing: 0; }
.rank-legend[open] ol, .ranked-legend ol { margin-top: 12px; }
@media (max-width: 860px) { .ranked-layout { grid-template-columns: 1fr; } }
.body-col { display: grid; gap: 10px; }
.body-stage.three { display: block; padding: 0; height: min(78vh, 720px); }
.body-3d { width: 100%; height: 100%; }
.body-3d canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: pointer; }
.body-loading { margin: 0; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.body-view-toggle { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 6px; }
.body-view-toggle button { border: 1px solid var(--line); background: rgba(16, 23, 27, .85); color: var(--ink); padding: 8px 14px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.body-view-toggle button:hover { border-color: var(--accent); color: var(--accent); }
.model-credit { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.model-credit a { color: var(--accent); text-decoration: underline; }
