/* GamesAdv v2.11.5 — Super Rally character showcase. Scoped to this page. */
body.redesign .rally-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
body.redesign .sr-cast{background:linear-gradient(180deg,#171a2c,#101322);border-block:1px solid #ffffff16}
.sr-cast-heading{display:grid;grid-template-columns:1.1fr 1fr;align-items:end;gap:50px;margin-bottom:42px}
.sr-cast-heading h2{margin-bottom:0}.sr-cast-heading .lede{margin-bottom:3px}
.sr-cast-browser{border:1px solid #ffffff25;border-radius:20px;overflow:hidden;background:#181b2c}
.sr-cast-profile{display:grid;grid-template-columns:1fr 1fr;min-height:520px;scroll-margin-top:110px}
.sr-cast-profile[hidden]{display:none!important}
.sr-cast-profile+.sr-cast-profile:not([hidden]){border-top:1px solid #ffffff25}
.sr-cast-browser.is-enhanced .sr-cast-profile{border-top:0}
.sr-cast-art{position:relative;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#a692ff24,transparent 65%),linear-gradient(140deg,#282741,#171a2c)}
.sr-cast-art:before{content:'';position:absolute;width:310px;height:310px;border:1px solid #ffffff1c;border-radius:50%;top:19%;left:50%;transform:translateX(-50%)}
.sr-cast-art img{position:relative;width:auto!important;max-width:94%;height:490px!important;object-fit:contain;object-position:center bottom;z-index:1;margin-top:26px;filter:drop-shadow(0 18px 14px #0004)}
.sr-cast-number{position:absolute;left:28px;top:24px;font-size:11px;letter-spacing:.14em;color:#bbb9cd;z-index:2}
.sr-cast-copy{padding:52px 50px 38px;align-self:center;min-width:0}
.sr-cast-role{display:inline-flex;gap:9px;align-items:center;color:var(--sr-role);font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.sr-cast-role b{display:inline-grid;place-items:center;font-size:19px;width:30px;height:30px;border:1px solid currentColor;border-radius:50%}
body.redesign .sr-cast-copy h3{font-size:64px;letter-spacing:-.05em;margin:17px 0 19px;line-height:1.05;color:#fff}
.sr-cast-bio{font-size:18px;color:#c5c6d7;max-width:400px;line-height:1.65}
.sr-cast-skill{display:grid;grid-template-columns:48px 1fr;gap:18px;border-top:1px solid #ffffff25;padding-top:25px;margin-top:26px}
.sr-cast-skill>img{width:48px;height:48px;object-fit:contain}
.sr-cast-label{color:#b6adcf;font-size:10px!important;letter-spacing:.14em;text-transform:uppercase;line-height:1.5;margin:0 0 8px!important;font-weight:600}
.sr-cast-skill h4{font-size:23px;letter-spacing:-.02em;line-height:1.2;margin:0 0 11px;font-weight:600;color:#fff}
.sr-cast-skill p:last-child{font-size:14px;line-height:1.65;color:#c5c6d7;margin:0}
.sr-cast-footnote{font-size:11px;color:#a3a7bc;margin:27px 0 0}
.sr-cast-selector{border-top:1px solid #ffffff25;padding:24px 28px 28px;background:#141728}
.sr-cast-selector>.sr-cast-label{margin-bottom:16px!important}
.sr-cast-choices{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px}
.sr-cast-choice{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:7px 4px 9px;border:1px solid #ffffff20;background:#202336;border-radius:9px;color:#c5c6d7;font-size:11px;line-height:1.4;transition:background .15s,border-color .15s}
.sr-cast-choice img{width:62px;height:62px;object-fit:cover;border-radius:6px;background:#141728}
.sr-cast-choice:hover{background:#33304a;border-color:#a692ff}
.sr-cast-choice[aria-selected=true]{background:#3b315b;border-color:#c2b1ff;color:#fff;box-shadow:inset 0 -3px #c2b1ff}
.sr-cast-choice:focus-visible{outline:3px solid #c6f46d;outline-offset:2px}
.sr-cast-brand-note{margin:22px 0 0;max-width:820px}
body.redesign .sr-cast-rank{border-block:1px solid #ffffff18}
@media(min-width:761px) and (max-width:1050px){.sr-cast-choices{grid-template-columns:repeat(6,minmax(0,1fr))}.sr-cast-copy{padding:35px 28px}.sr-cast-art img{height:450px!important}.sr-cast-profile{min-height:480px}}
@media(max-width:760px){
.sr-cast-heading{grid-template-columns:1fr;gap:22px;margin-bottom:28px}
.sr-cast-heading .lede{font-size:16px}.sr-cast-browser{border-radius:14px}
.sr-cast-profile{grid-template-columns:1fr;min-height:0}.sr-cast-art{min-height:310px}
.sr-cast-art img{height:320px!important;max-width:100%;margin-top:15px}
.sr-cast-art:before{width:220px;height:220px;top:15%}.sr-cast-number{left:18px;top:18px;font-size:10px}
.sr-cast-copy{padding:24px 22px 26px}body.redesign .sr-cast-copy h3{font-size:44px;margin:13px 0}
.sr-cast-bio{font-size:15px;margin-bottom:0}.sr-cast-skill{margin-top:20px;padding-top:20px;gap:13px;grid-template-columns:38px 1fr}
.sr-cast-skill>img{width:38px;height:38px}.sr-cast-skill h4{font-size:21px}.sr-cast-skill p:last-child{font-size:13px}.sr-cast-footnote{margin-top:19px}
.sr-cast-browser{display:flex;flex-direction:column}.sr-cast-selector{order:-1;padding:20px 14px;border-top:0;border-bottom:1px solid #ffffff25}.sr-cast-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.sr-cast-choice{padding:6px 3px 8px;min-height:78px;font-size:11px}.sr-cast-choice img{width:50px;height:50px}
body.redesign .rally-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}
@media(prefers-reduced-motion:reduce){.sr-cast-choice{transition:none}}
@media print{.sr-cast-selector{display:none}.sr-cast-profile{break-inside:avoid}}
