.simple-profile{--sp-bg:#080a0f;--sp-panel:#11141d;--sp-line:#282c3a;--sp-muted:#a4a9b9;--sp-text:#f3f3f8;--sp-accent:#ad96ff;position:absolute;inset:0;z-index:60;display:flex;flex-direction:column;overflow:hidden;background:var(--sp-bg);border:1px solid var(--sp-line);border-radius:12px;color:var(--sp-text);font:14px/1.55 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box;text-align:left;isolation:isolate}
.simple-profile[hidden]{display:none!important}.simple-profile *{box-sizing:border-box}.simple-profile button{font:inherit;cursor:pointer}.simple-profile button:focus-visible,.profile-review-bar button:focus-visible,.profile-demo-controls button:focus-visible{outline:3px solid #76d6ec;outline-offset:3px}
.team-scene[data-simple-profile=open]{overflow:hidden}.team-scene[data-simple-profile=open]>:not(.simple-profile){visibility:hidden}.battle-stage:has(.simple-profile:not([hidden])) .battle-profiles{visibility:hidden}
.simple-profile>.sp-footer{flex-wrap:nowrap}.simple-profile>.sp-footer>.sp-note{order:0;width:auto;flex:0 1 auto;margin:0}.simple-profile>.sp-footer>.sp-back{order:1;flex-shrink:0;margin:0}

.sp-header{height:49px;flex-shrink:0;display:flex;align-items:center;gap:18px;padding:0 23px;border-bottom:1px solid var(--sp-line)}.sp-eyebrow{font:10px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.13em;color:var(--sp-muted)}.sp-playback{margin-left:auto;color:var(--sp-muted);font-size:11px}.sp-close{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid var(--sp-line);border-radius:7px;background:var(--sp-panel);color:var(--sp-muted);font-size:18px!important;line-height:1}
.sp-body{display:grid;grid-template-columns:31% minmax(0,1fr);flex:1;min-height:0}.sp-art{position:relative;display:flex;align-items:flex-end;justify-content:center;min-width:0;margin:0;overflow:hidden;background:#0d1017;border-right:1px solid var(--sp-line)}.sp-art-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 48%,#9577ff16,transparent 68%);pointer-events:none}.sp-hero{position:relative;display:block;object-fit:contain;object-position:center bottom;width:100%;height:100%;max-height:470px;padding:17px 12px 57px;filter:drop-shadow(0 10px 20px #0005)}.sp-art-caption{position:absolute;left:22px;right:22px;bottom:19px;display:flex;flex-direction:column;gap:1px;font-size:13px;font-weight:600;color:var(--sp-text)}.sp-art-caption span{font-size:11px;font-weight:400;color:var(--sp-muted)}
.sp-details{align-self:center;min-width:0;padding:22px 30px}.sp-label{margin:0 0 8px;color:#c4b4ef;font:10px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.12em}.sp-name{margin:0 0 7px;color:var(--sp-text);font-size:clamp(32px,3.7vw,42px);font-weight:650;line-height:1.08;letter-spacing:-.035em}.simple-profile .sp-gradient{background:linear-gradient(110deg,#bc9dff 7%,#a490ff 33%,#e6a1c7 60%,#efbe87 95%);color:transparent;background-clip:text;-webkit-background-clip:text}.sp-role{margin:0 0 16px;font-size:13px;line-height:1.5;color:var(--sp-muted)}.sp-mobile-tabs{display:none}.sp-origin h3,.sp-powers h3{margin:0 0 8px;color:var(--sp-text);font-size:13px;font-weight:600;line-height:1.4;letter-spacing:0}.sp-origin p{margin:0;font-size:13px;line-height:1.55;color:var(--sp-muted);max-width:650px}.sp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0;padding:13px 0;border-top:1px solid var(--sp-line);border-bottom:1px solid var(--sp-line)}.sp-stats>div{min-width:0;position:relative}.sp-stats dt{margin:0 0 4px;color:var(--sp-muted);font-size:10px;line-height:1.5;white-space:nowrap}.sp-stats dd{margin:0;color:var(--sp-text);font-size:26px;font-weight:600;line-height:1.2;letter-spacing:-.035em}.sp-stats dd span{margin-left:3px;color:#747b90;font-size:10px;font-weight:400;letter-spacing:0}.sp-move-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sp-move{display:flex;align-items:flex-start;gap:9px;min-width:0}.sp-move-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:40px;border:1px solid #39304f;border-radius:9px;background:linear-gradient(145deg,#211b32,#10131d);box-shadow:inset 0 1px 0 #ffffff08}.sp-move-icon img{display:block;width:30px;height:30px}.sp-move h4{margin:1px 0 4px;color:#e8dff7;font-size:11px;font-weight:650;line-height:1.4;letter-spacing:0}.sp-move p{margin:0;color:var(--sp-muted);font-size:10px;line-height:1.5}
.sp-footer{height:60px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 23px;border-top:1px solid var(--sp-line)}.sp-note{color:#878d9f;font-size:10px}.sp-back{padding:9px 14px;border:1px solid #b69fff;border-radius:7px;background:var(--sp-accent);color:#151021;font-size:12px!important;font-weight:650!important;line-height:1.4}.sp-back:hover{background:#bdaaff}
.profile-review-bar{position:fixed;left:8px;top:50%;z-index:10000;width:142px;transform:translateY(-50%);display:flex;flex-direction:column;gap:6px;padding:9px;border:1px solid #282c3a;border-radius:10px;background:#11141df5;color:#a4a9b9;font:11px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.profile-review-bar button,.profile-demo-controls button{padding:9px 10px;border:1px solid #282c3a;border-radius:7px;background:#11141d;color:#a4a9b9;font:inherit;cursor:pointer;text-align:left}.profile-review-bar button[aria-pressed=true],.profile-review-bar button[aria-selected=true],.profile-review-bar button.is-active,.profile-demo-controls button[aria-pressed=true],.profile-demo-controls button[aria-selected=true],.profile-demo-controls button.is-active{background:#221c35;border-color:#8068ae;color:#e4d9ff}
body.profile-demo-page{margin:0;min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:32px 0;background:#080a0f;color:#f3f3f8;font:14px/1.6 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.profile-demo-controls{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.profile-demo-controls button{font-size:12px}.profile-demo-frame{position:relative;width:min(1050px,calc(100vw - 32px));aspect-ratio:1.75;min-height:586px}
@media(min-width:1100px){body:has(.profile-review-bar) .profile-demo-frame{width:min(1050px,calc(100vw - 330px))}}
@media(max-width:1099px){.profile-review-bar{left:50%;top:auto;bottom:10px;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 16px);flex-direction:row;padding:5px;gap:4px;align-items:center}.profile-review-bar button{padding:7px 9px;font-size:10px}.profile-review-bar>span,.profile-review-bar>p{display:none}body.profile-demo-page{padding-bottom:72px}}
@media(max-width:700px){.simple-profile{border-radius:10px}.sp-header{height:37px;padding:0 13px;gap:10px}.sp-eyebrow{font-size:8px;letter-spacing:.09em}.sp-playback{font-size:9px}.sp-close{width:24px;height:24px;font-size:16px!important}.sp-body{position:relative;display:block;overflow:auto;overscroll-behavior:contain;padding:0 15px}.sp-art{position:absolute;top:9px;left:13px;width:83px;height:101px;border:0;border-radius:7px;background:#11141d;align-items:center}.sp-art-glow{display:none}.sp-hero{padding:2px;width:100%;height:100%;object-position:center 17%}.sp-art-caption{display:none}.sp-details{padding:17px 0 12px;min-height:100%}.sp-label{margin:0 0 5px 94px;font-size:7px;letter-spacing:.07em;line-height:1.5}.sp-name{margin:0 0 6px 94px;font-size:25px;line-height:1.03;letter-spacing:-.04em}.sp-role{margin:0 0 16px 94px;min-height:27px;font-size:10px;line-height:1.4}.sp-mobile-tabs{display:flex;gap:5px;margin:0 0 11px;padding-bottom:9px;border-bottom:1px solid var(--sp-line)}.sp-mobile-tabs button{flex:1;padding:7px 5px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--sp-muted);font-size:11px;line-height:1.3}.sp-mobile-tabs button[aria-selected=true]{background:#221c35;border-color:#8068ae;color:#e4d9ff}.simple-profile [data-profile-section]{display:none}.simple-profile[data-active-tab=story] [data-profile-section=story],.simple-profile[data-active-tab=stats] [data-profile-section=stats],.simple-profile[data-active-tab=moves] [data-profile-section=moves]{display:block}.sp-origin h3,.sp-powers h3{font-size:12px}.sp-origin p{font-size:12px;line-height:1.6}.simple-profile[data-active-tab=stats] .sp-stats{display:grid;grid-template-columns:1fr 1fr;gap:15px 24px;margin:0;padding:0;border:0}.sp-stats dt{font-size:11px}.sp-stats dd{font-size:26px}.sp-move-list{grid-template-columns:1fr;gap:8px}.sp-move{gap:12px}.sp-move h4{font-size:12px;line-height:1.3;margin-bottom:2px}.sp-move p{font-size:11px;line-height:1.4}.sp-footer{height:47px;padding:0 13px;gap:8px}.sp-note{font-size:8px}.sp-back{padding:7px 10px;font-size:10px!important}.profile-demo-frame{aspect-ratio:auto;width:min(500px,calc(100vw - 24px));height:480px;min-height:375px}body.profile-demo-page{justify-content:flex-start;padding-top:22px;gap:14px}.profile-demo-controls{gap:5px}.profile-demo-controls button{padding:7px 9px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.simple-profile *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}


/* One-shot attribute fills and the same lavender-to-peach emphasis as the site. */
.sp-stat-value{font:inherit;font-weight:650;color:var(--sp-stat-color);font-variant-numeric:tabular-nums;text-shadow:0 0 18px color-mix(in srgb,var(--sp-stat-color) 15%,transparent)}
.sp-stat-track{position:relative;margin-top:9px;height:4px;overflow:hidden;border-radius:3px;background:#222633}
.sp-stat-fill{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:linear-gradient(90deg,color-mix(in srgb,var(--sp-stat-color) 62%,#574674),var(--sp-stat-color));transform-origin:left center}
.sp-stat-track::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(20% - 2px),#080a0fbb calc(20% - 2px),#080a0fbb 20%);pointer-events:none}
@media(max-width:700px){.sp-move-icon{flex-basis:34px;width:34px;height:34px}.sp-move-icon img{width:28px;height:28px}.sp-stat-track{height:4px;margin-top:7px}.simple-profile[data-active-tab=stats] .sp-stats{gap:12px 24px;padding-top:0}.sp-stats dd{font-size:26px}}

/* Shared roster ratings use one budget; distinct roles keep the cast varied. */
.sp-champion-select{margin-left:auto;width:156px;min-width:0;padding:6px 26px 6px 9px;border:1px solid #39304f;border-radius:6px;background:#15121f;color:#e4d9ff;font-family:inherit;font-size:11px;line-height:1.3;color-scheme:dark;cursor:pointer}
.sp-header .sp-playback{margin-left:0}
.simple-profile select:focus-visible{outline:3px solid #76d6ec;outline-offset:3px}
.sp-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.sp-stats dt{font-size:10px}
.sp-origin .sp-origin-placeholder{color:#b2a2d1;font-size:12px}
.sp-specialties{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:12px 0 0}
.sp-specialties dt{margin:0 0 3px;font:10px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.05em;color:#c4b4ef}
.sp-specialties dd{margin:0;color:var(--sp-muted);font-size:12px;line-height:1.5}
.sp-move[data-status=proposed] p{color:#b3a4c7}
@media(max-width:700px){
 .sp-champion-select{width:114px;padding:5px 16px 5px 7px;font-size:10px}
 .sp-header .sp-playback{display:none}
 .sp-header{gap:8px}
 .sp-eyebrow{font-size:7px;letter-spacing:.06em}
 .simple-profile[data-active-tab=stats] .sp-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 13px}
 .sp-stats dd{font-size:25px}
 .sp-stats dt{font-size:10px}
 .sp-role{min-height:27px}
 .sp-specialties{grid-template-columns:1fr;gap:10px}
 .sp-specialties dd{font-size:11px}
 .sp-move p{font-size:10px;line-height:1.4}
 .sp-note{font-size:8px}
}

/* Three artwork poses belong to the active champion and stay inside the profile. */
.simple-profile{scroll-margin-top:90px}
.sp-body{position:relative}
.sp-hero{padding-bottom:91px;transform:none;filter:none}
.sp-art-caption{bottom:54px}
.sp-pose-controls{position:absolute;left:12px;bottom:13px;width:calc(31% - 24px);display:flex;gap:4px;z-index:2}
.sp-pose-controls button{flex:1;min-width:0;padding:7px 3px;border:1px solid #343044;border-radius:6px;background:#13121d;color:#b8b1c8;font-family:inherit;font-size:9px;line-height:1.3;white-space:nowrap}
.sp-pose-controls button[aria-pressed=true]{background:#2a2040;border-color:#aa8ce5;color:#efe4ff;box-shadow:inset 0 -2px 0 #ad96ff}
.sp-pose-controls button:hover{border-color:#b69fff;color:#fff}
.simple-profile[data-pose-loading=true] .sp-hero{opacity:0}
.simple-profile[data-pose=super-form] .sp-art-glow{background:radial-gradient(ellipse at 50% 54%,#9b6cff1c,transparent 72%)}
@media(max-width:700px){
 .sp-hero{padding:2px;object-position:center center}
 .sp-details{padding-top:12px}
 .sp-role{margin-bottom:4px}
 .sp-pose-controls{position:static;width:auto;margin:0 0 10px 94px;gap:3px}
 .sp-pose-controls button{padding:6px 2px;font-size:8px;line-height:1.25}
 .sp-mobile-tabs{margin-bottom:3px}
}

/* Give the entire Champions section the requested wide, centered canvas. */
#super-team{--champions-width:min(1220px,calc(100vw - 48px));--battle-inset:0px;width:var(--champions-width);max-width:none;margin-inline:calc((100% - var(--champions-width))/2)}
#super-team .battle-stage>.team-scene{width:100%}
/* Restore the portraits' detached position relative to the expanded battlefield. */
@media(min-width:761px){
 #super-team{--profile-breakout:min(calc(var(--profile-width)*.75),max(0px,calc((100vw - var(--champions-width))/2 - 20px)))}
 #super-team .profile-hero{right:calc(-1*var(--profile-breakout))}
 #super-team .profile-enemy{left:calc(-1*var(--profile-breakout))}
}
/* A common visible-art height and baseline, independent of transparent padding. */
.sp-body{grid-template-columns:36% minmax(0,1fr)}
.sp-portrait-window{position:absolute;inset:18px 12px 91px;display:flex;align-items:center;justify-content:center}
.sp-portrait-window .sp-hero{width:100%;height:100%;max-height:none;padding:0;overflow:visible}
.sp-pose-controls{width:calc(36% - 24px)}
@media(max-width:700px){
 #super-team{--champions-width:calc(100vw - 40px)}
 .sp-body{display:block}
 .sp-portrait-window{inset:3px}
 .sp-pose-controls{width:auto}
}

.pose-artwork[data-loading=true]{opacity:0}
/* Animated portrait children declare their own visibility; hide that whole layer during review. */
.battle-stage:has(.simple-profile:not([hidden])) .battle-profiles *{visibility:hidden!important;pointer-events:none!important}

/* Portraits and full-body poses share the profile frame. On phones, keep all four controls readable. */
@media(max-width:700px){.sp-pose-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sp-pose-controls button{white-space:normal}}

/* Let portrait artwork reach the bottom edge behind the labels and controls. */
.simple-profile[data-pose=portrait] .sp-portrait-window{inset:0;overflow:hidden}
.simple-profile[data-pose=portrait] .sp-portrait-window .sp-hero{overflow:hidden}
/* Give MiniMax's portrait a little more breathing room while keeping its base at the frame edge. */
.simple-profile[data-character=minimax][data-pose=portrait] .sp-hero image{transform-box:fill-box;transform-origin:center bottom;transform:scale(.9)}
.simple-profile[data-pose=portrait] .sp-art-caption{z-index:2;text-shadow:0 1px 5px #000,0 1px 14px #000}
.simple-profile[data-pose=portrait] .sp-art::after{content:"";position:absolute;inset:auto 0 0;height:155px;background:linear-gradient(transparent,#080a0fd9);pointer-events:none}
@media(max-width:700px){.simple-profile[data-pose=portrait] .sp-art::after{height:28px;background:linear-gradient(transparent,#080a0f88)}}

/* A quick visual read of the existing six attributes and first listed move. */
.sp-details{align-self:stretch;min-height:0;overflow-y:auto;display:flex;flex-direction:column;justify-content:safe center;scrollbar-width:thin;scrollbar-color:#665481 transparent}
.sp-details:focus-visible{outline:2px solid #76d6ec;outline-offset:-3px}
.sp-details>*{flex-shrink:0}
.sp-snapshot{display:flex;align-items:center;gap:14px;margin-top:15px;padding:9px 14px 9px 9px;min-height:76px;border:1px solid #3d3654;border-radius:10px;background:linear-gradient(120deg,#211c31,#11141d 70%);box-shadow:inset 0 1px #ffffff0b,0 8px 18px #0002}
.sp-snapshot-chart{display:grid;place-items:center;flex:0 0 66px;width:66px;height:66px;border:1px solid #55456f;border-radius:9px;background:radial-gradient(circle,#a68af51c,#0d101b 70%)}
.sp-snapshot-chart svg{width:60px;height:60px;overflow:visible}
.sp-snapshot-chart line,.sp-chart-grid{fill:none;stroke:#8e7ca2;stroke-opacity:.45;stroke-width:1}
.sp-chart-fill{fill:#bda5ff;fill-opacity:.28;stroke:#d5b8ff;stroke-width:2;stroke-linejoin:round}
.sp-snapshot-copy{flex:1;min-width:0}
.sp-snapshot-label{margin:0 0 7px;color:#c4b4ef;font:9px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.1em}
.sp-snapshot-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sp-snapshot-facts>div{min-width:0}
.sp-snapshot-facts span{display:block;color:var(--sp-muted);font-size:10px;line-height:1.3}
.sp-snapshot-facts strong{display:block;color:#f0e9fa;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.sp-snapshot-facts small{font-size:10px;font-weight:500;color:#bba6ed;white-space:nowrap}
@media(max-width:700px){
 .sp-details{display:block;overflow:visible;min-height:100%}
 .sp-snapshot{margin-top:10px;padding:7px;min-height:62px;gap:9px}
 .sp-snapshot-chart{flex-basis:54px;width:54px;height:54px}
 .sp-snapshot-chart svg{width:48px;height:48px}
 .sp-snapshot-label{font-size:8px;margin-bottom:4px}
 .sp-snapshot-facts{gap:6px}
 .sp-snapshot-facts span{font-size:9px}
 .sp-snapshot-facts strong{font-size:10px}
 .sp-snapshot-facts small{font-size:9px}
}

/* Snapshot details and a compact, readable sequence for the featured move. */
.sp-snapshot{align-items:flex-start;gap:15px;padding:12px 15px 13px 12px}
.sp-snapshot-chart{margin-top:2px}
.sp-snapshot-label{margin-bottom:9px}
.sp-snapshot-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}
.sp-snapshot-metric>span,.sp-snapshot-move>span{display:block;color:var(--sp-muted);font-size:10px;line-height:1.35}
.sp-snapshot-metric>strong{display:block;margin-top:2px;color:#f0e9fa;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.sp-snapshot-metric small{color:#bba6ed;font-size:10px;font-weight:500;white-space:nowrap}
.sp-snapshot-move{min-width:0;margin-top:10px;padding-top:9px;border-top:1px solid #8170a039}
.sp-snapshot-move>strong{display:block;margin-top:2px;color:#f4efff;font-size:16px;font-weight:700;line-height:1.25;letter-spacing:-.015em;overflow-wrap:anywhere}
.sp-move-diagram{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:9px 0 0;padding:0;list-style:none;counter-reset:move-step}
.sp-move-step{counter-increment:move-step;position:relative;display:flex;align-items:center;gap:6px;min-width:0;min-height:32px;padding:6px 7px;border:1px solid #6d5887;border-radius:7px;background:linear-gradient(135deg,#302747,#171723);color:#ece4f8;font-size:10px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.sp-move-step:before{content:counter(move-step,decimal-leading-zero);flex:none;color:#c7b1ff;font:700 9px/1 ui-monospace,SFMono-Regular,Consolas,monospace}
.sp-move-step:not(:last-child):after{content:'›';position:absolute;right:-12px;top:50%;transform:translateY(-52%);color:#bfa9ef;font-size:17px;line-height:1}
.sp-move-step:last-child{border-color:#92749d;background:linear-gradient(135deg,#3a2842,#1b1824)}
@media(max-width:700px){
 .sp-snapshot{gap:9px;margin-top:10px;padding:9px}
 .sp-snapshot-chart{margin-top:0}
 .sp-snapshot-label{margin-bottom:6px}
 .sp-snapshot-facts{gap:7px 10px}
 .sp-snapshot-metric>span,.sp-snapshot-move>span{font-size:9px}
 .sp-snapshot-metric>strong{font-size:11px}
 .sp-snapshot-move{margin-top:8px;padding-top:7px}
 .sp-snapshot-move>strong{font-size:14px}
 .sp-move-diagram{gap:9px;margin-top:7px}
 .sp-move-step{min-height:31px;padding:5px 4px;gap:4px;font-size:9px}
 .sp-move-step:before{font-size:8px}
 .sp-move-step:not(:last-child):after{right:-8px;font-size:13px}
}
@media(max-width:360px){.sp-move-diagram{grid-template-columns:1fr;gap:7px}.sp-move-step:not(:last-child):after{right:8px;top:auto;bottom:-10px;transform:rotate(90deg);z-index:1}}

/* Fit the full desktop character profile into the original battle frame. */
@media(min-width:701px){
 .sp-details{overflow-y:visible;justify-content:safe center;padding:8px 20px}
 .sp-label{margin-bottom:3px;font-size:9px;line-height:1.25}
 .sp-name{margin-bottom:3px;font-size:clamp(25px,2.7vw,34px);line-height:1.05}
 .sp-role{margin-bottom:6px;font-size:11px;line-height:1.3}
 .sp-origin h3,.sp-powers h3{margin-bottom:4px;font-size:11px;line-height:1.25}
 .sp-origin p{font-size:11px;line-height:1.3}
 .sp-origin .sp-origin-placeholder{font-size:11px}
 .sp-specialties{gap:12px;margin-top:5px}
 .sp-specialties dt{margin-bottom:1px;font-size:9px;line-height:1.2}
 .sp-specialties dd{font-size:10px;line-height:1.3}
 .sp-stats{gap:8px;margin:7px 0;padding:6px 0}
 .sp-stats dt{margin-bottom:2px;font-size:9px;line-height:1.2}
 .sp-stats dd{font-size:20px;line-height:1.1}
 .sp-stat-track{margin-top:4px;height:3px}
 .sp-move-list{gap:8px}
 .sp-move{gap:6px}
 .sp-move-icon{width:27px;height:29px;flex-basis:27px;border-radius:7px}
 .sp-move-icon img{width:23px;height:23px}
 .sp-move h4{margin:0 0 2px;font-size:10px;line-height:1.2}
 .sp-move p{font-size:9px;line-height:1.25}
 .sp-snapshot{gap:9px;margin-top:6px;padding:6px;min-height:0}
 .sp-snapshot-chart{flex-basis:52px;width:52px;height:52px;margin-top:0}
 .sp-snapshot-chart svg{width:47px;height:47px}
 .sp-snapshot-label{margin-bottom:4px;font-size:8px}
 .sp-snapshot-facts{gap:5px 12px}
 .sp-snapshot-metric>span,.sp-snapshot-move>span{font-size:9px;line-height:1.2}
 .sp-snapshot-metric>strong{margin-top:1px;font-size:11px;line-height:1.2}
 .sp-snapshot-move{margin-top:4px;padding-top:4px}
 .sp-snapshot-move>strong{margin-top:1px;font-size:14px;line-height:1.2}
 .sp-move-diagram{gap:12px;margin-top:4px}
 .sp-move-step{min-height:24px;padding:3px 5px;font-size:9px;line-height:1.2}
}

/* Keep the full profile visible on narrower tablets using two content columns. */
@media(min-width:701px) and (max-width:900px){
 .sp-body{grid-template-columns:28% minmax(0,1fr)}
 .sp-pose-controls{width:calc(28% - 24px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .sp-pose-controls button{white-space:normal;padding:4px 2px;font-size:8px}
 .sp-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:auto auto auto minmax(0,auto) auto;align-content:center;align-items:start;gap:0 12px;padding:3px 12px}
 .sp-label{grid-area:1/1/2/3}.sp-name{grid-area:2/1/3/3}.sp-role{grid-area:3/1/4/3;margin-bottom:2px}
 .sp-origin{grid-area:4/1/5/2}.sp-powers{grid-area:4/2/5/3}.sp-stats{grid-area:5/1/6/3;width:100%;margin:5px 0 0}
 .sp-move-list{grid-template-columns:1fr;gap:4px}
 .sp-move-icon{width:23px;height:24px;flex-basis:23px}.sp-move-icon img{width:19px;height:19px}
 .sp-move h4{font-size:9px}.sp-move p{font-size:9px;line-height:1.2}
 .sp-snapshot-chart{flex-basis:34px;width:34px;height:34px}.sp-snapshot-chart svg{width:31px;height:31px}
 .sp-snapshot{gap:6px;padding:5px}.sp-snapshot-label{font-size:7px;margin-bottom:2px}
 .sp-snapshot-metric>span,.sp-snapshot-move>span{font-size:8px}.sp-snapshot-metric>strong{font-size:9px}
 .sp-snapshot-move>strong{font-size:12px}.sp-move-diagram{gap:6px}.sp-move-step{padding:2px;font-size:8px;gap:2px;min-height:22px}.sp-move-step:before{font-size:7px}.sp-move-step:not(:last-child):after{right:-6px;font-size:11px}
}

/* Keep the snapshot aligned with the bottom of the pose controls, leaving
   the available space above for each character's growing origin story. */
@media(min-width:701px){
 /* Current content fits without scrolling; preserve access if future origin
    stories grow beyond the fixed panel instead of clipping their text. */
 .sp-details{justify-content:flex-start;overflow-y:auto}
 .sp-powers{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
 .sp-powers>h3,.sp-move-list,.sp-snapshot{flex-shrink:0}
 .sp-snapshot{margin-top:auto;margin-bottom:5px}
}
@media(min-width:701px) and (max-width:900px){
 .sp-details{grid-template-rows:auto auto auto auto minmax(0,1fr);align-content:stretch}
 .sp-stats{grid-area:4/1/5/3;margin:2px 0 4px}
 .sp-origin{grid-area:5/1/6/2}
 .sp-powers{grid-area:5/2/6/3;align-self:stretch}
 .sp-snapshot{margin-bottom:10px}
 .sp-snapshot-facts{gap:0 5px}
 .sp-move-list{gap:2px}
 .sp-move-icon{width:20px;height:20px;flex-basis:20px}
 .sp-move-icon img{width:17px;height:17px}
 .sp-move h4{font-size:8px;line-height:1.1}
 .sp-move p{font-size:8.5px;line-height:1.1}
 .sp-snapshot{padding:3px}
 .sp-snapshot-label{margin-bottom:0}
 .sp-snapshot-move{margin-top:1px;padding-top:1px}
 .sp-snapshot-move>strong{line-height:1.05}
 .sp-move-diagram{margin-top:1px}
 .sp-move-step{min-height:16px}
}

/* Distribute the spare desktop space between the major profile sections. */
@media(min-width:901px){
 .sp-origin,.sp-stats,.sp-powers{margin-top:auto}
 .sp-powers{flex:0 0 auto}
 .sp-snapshot{margin-top:clamp(12px,calc(6vw - 42px),42px)}
}

/* Spend the flexible space on readable copy before enlarging decorative labels. */
@media(min-width:901px){
 .sp-label{font-size:10px}
 .sp-role,.sp-origin h3,.sp-powers h3{font-size:12px}
 .sp-origin p,.sp-origin .sp-origin-placeholder{font-size:clamp(11.5px,1vw,13px);line-height:1.35}
 .sp-specialties dt,.sp-stats dt{font-size:10px}
 .sp-specialties dd{font-size:11px;line-height:1.35}
 .sp-move h4{font-size:11px}
 .sp-move p{font-size:clamp(10.5px,.9vw,12px);line-height:1.3}
 .sp-snapshot-label{font-size:9px}
 .sp-snapshot-metric>span,.sp-snapshot-move>span,.sp-move-step{font-size:10px}
 .sp-snapshot-metric>strong{font-size:12px}
}
@media(min-width:701px) and (max-width:900px){
 .sp-label,.sp-specialties dt,.sp-stats dt{font-size:10px}
 .sp-role,.sp-origin h3,.sp-powers h3,.sp-origin p,.sp-origin .sp-origin-placeholder{font-size:11.5px;line-height:1.3}
 .sp-specialties dd{font-size:10.5px;line-height:1.3}
 .sp-move h4,.sp-move p,.sp-move-step{font-size:9px;line-height:1.15}
 .sp-snapshot-label,.sp-snapshot-metric>span,.sp-snapshot-move>span{font-size:8.5px}
 .sp-snapshot-metric>strong{font-size:9.5px}
 .sp-pose-controls button{font-size:9px}
 .sp-details{padding-top:0}
 .sp-role{margin-bottom:0}
 .sp-stats{margin-bottom:2px}
}
@media(max-width:700px){
 .sp-pose-controls button,.sp-snapshot-label{font-size:9px}
 .sp-move h4{font-size:13px}
 .sp-move p,.sp-specialties dd{font-size:11px;line-height:1.4}
 .sp-snapshot-metric>span,.sp-snapshot-move>span,.sp-move-step{font-size:10px}
 .sp-snapshot-metric>strong{font-size:12px}
}

/* Selected Battle Role snapshot: one crisp, distinct vector emblem per fighter. */
.sp-snapshot-facts{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.45fr);align-items:center}
.sp-snapshot-battle-role{display:flex;align-items:center;gap:9px;padding-left:12px;border-left:1px solid #8170a039}
.sp-role-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border:1px solid #65527f;border-radius:7px;background:#14111e}
.sp-role-icon img{display:block;width:26px;height:26px}
.sp-snapshot-battle-role .sp-snapshot-metric{min-width:0}
.sp-snapshot-battle-role strong{text-transform:uppercase;letter-spacing:.025em;overflow-wrap:normal}
@media(min-width:701px) and (max-width:900px){
 .sp-snapshot-chart{display:none}
 .sp-snapshot-facts{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr);gap:5px}
 .sp-snapshot-battle-role{gap:4px;padding-left:5px}
 .sp-role-icon{flex-basis:21px;width:21px;height:24px;border-radius:5px}
 .sp-role-icon img{width:18px;height:18px}
 .sp-snapshot-battle-role strong{font-size:8.5px;letter-spacing:0;line-height:1.2}
}
@media(max-width:700px){
 .sp-snapshot-chart{display:none}
 .sp-snapshot-facts{gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr)}
 .sp-snapshot-battle-role{gap:5px;padding-left:7px}
 .sp-role-icon{flex-basis:25px;width:25px;height:28px;border-radius:5px}
 .sp-role-icon img{width:21px;height:21px}
 .sp-snapshot-battle-role strong{font-size:10px;letter-spacing:0;line-height:1.25}
}

/* Give each champion's artwork room to read on a phone. The information and
   pose choices remain in the same scrollable profile, below the artwork. */
@media(max-width:700px){
 .battle-stage>.team-scene[data-simple-profile=open]{height:clamp(560px,80svh,760px)}
 .simple-profile .sp-body{padding:0 15px 14px;overflow-y:auto}
 .simple-profile .sp-art{position:relative;inset:auto;width:100%;height:clamp(220px,67vw,300px);margin:12px 0 0;border:1px solid var(--sp-line);border-radius:9px;background:radial-gradient(ellipse at 50% 55%,#29213f,#0e111b 74%)}
 .simple-profile .sp-art-glow{display:block}
 .simple-profile .sp-portrait-window{inset:8px}
 .simple-profile .sp-details{min-height:0;padding:14px 0 4px}
 .simple-profile .sp-label,.simple-profile .sp-name,.simple-profile .sp-role{margin-left:0}
 .simple-profile .sp-name{font-size:28px}
 .simple-profile .sp-role{min-height:0;margin-bottom:10px;font-size:12px}
 .simple-profile .sp-pose-controls{margin:0 0 12px;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .simple-profile .sp-pose-controls button{min-height:36px;padding:5px 2px;font-size:9px}
 .simple-profile .sp-mobile-tabs{margin-bottom:10px}
}
