/* VTRSIM Rankings V3: replaces previous community overrides for rankings only. */
body[data-page="rankings"] .podium-grid-v123{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr))!important;gap:18px!important;align-items:stretch!important}
body[data-page="rankings"] .podium-card-v123,
body[data-page="rankings"] .podium-card-v123.p1{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 justify-content:flex-start!important;text-align:left!important;gap:0!important;
 min-height:310px!important;width:100%!important;max-width:none!important;
 padding:22px!important;overflow:hidden!important;box-sizing:border-box!important;
 background:#fff!important;color:#152d49!important;border:1px solid #d5e3f3!important;
 border-top:4px solid #d2a23b!important;border-radius:16px!important;
 box-shadow:0 8px 26px rgba(16,49,87,.065)!important;
}
body[data-page="rankings"] .podium-card-v123.p2{border-top-color:#9aadc4!important}
body[data-page="rankings"] .podium-card-v123.p3{border-top-color:#bc875b!important}
body[data-page="rankings"] .podium-card-v123::before{display:none!important}
body[data-page="rankings"] .podium-position-v123{
 position:static!important;display:block!important;margin:0 36px 18px 0!important;
 font-size:11px!important;line-height:1.4!important;font-weight:850!important;letter-spacing:.12em!important;color:#315f9d!important;
}
body[data-page="rankings"] .podium-medal-v123{position:absolute!important;top:17px!important;right:20px!important;font-size:22px!important;line-height:1!important}
body[data-page="rankings"] .vtr-v2-pilot-identity{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 gap:22px!important;min-height:94px!important;margin:0 0 22px!important;padding:0 0 0 9px!important;
}
body[data-page="rankings"] .podium-avatar-v123{
 position:relative!important;display:grid!important;place-items:center!important;
 flex:0 0 78px!important;width:78px!important;height:78px!important;
 min-width:78px!important;min-height:78px!important;
 margin:0!important;padding:0!important;overflow:visible!important;
 border:2px solid #bcd5ef!important;border-radius:50%!important;
 background:#e9f3ff!important;color:#18569b!important;
 font-size:22px!important;line-height:1!important;box-sizing:border-box!important;
}
body[data-page="rankings"] .vtr-v2-frame{
 position:absolute!important;inset:-15%!important;width:130%!important;height:130%!important;
 max-width:none!important;max-height:none!important;object-fit:contain!important;
 pointer-events:none!important;z-index:3!important;
}
body[data-page="rankings"] .vtr-v2-pilot-info{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;flex:1}
body[data-page="rankings"] .vtr-v2-pilot-name{
 display:block!important;font-size:23px!important;line-height:1.15!important;
 margin:0!important;color:#152d49!important;overflow-wrap:anywhere!important;
}
body[data-page="rankings"] .vtr-v2-pilot-subtitle{display:block!important;margin:0!important;font-size:13px!important;line-height:1.4!important;color:#637992!important}
body[data-page="rankings"] .vtr-ranking-badges{
 display:block!important;position:relative!important;clear:both!important;
 width:100%!important;min-width:0!important;min-height:68px!important;
 margin:0 0 17px!important;padding:12px 0!important;
 border-top:1px solid #e6edf6!important;border-bottom:1px solid #e6edf6!important;
}
body[data-page="rankings"] .vtr-ranking-badges .rep-badges-v130{
 display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
 align-items:center!important;justify-content:flex-start!important;
 gap:10px 15px!important;width:100%!important;margin:0!important;
}
body[data-page="rankings"] .vtr-ranking-badges .rep-badge-v130{
 display:inline-flex!important;align-items:center!important;flex:0 1 auto!important;
 gap:7px!important;min-width:0!important;max-width:100%!important;
 padding:0!important;margin:0!important;background:transparent!important;
 border:0!important;box-shadow:none!important;
}
body[data-page="rankings"] .vtr-ranking-badges .rep-badge-v130 img{
 display:block!important;flex:0 0 40px!important;width:40px!important;height:40px!important;
 max-width:40px!important;max-height:40px!important;object-fit:contain!important;
 border:0!important;border-radius:9px!important;filter:none!important;
}
body[data-page="rankings"] .vtr-ranking-badges .rep-badge-copy-v130{
 display:flex!important;flex-direction:column!important;gap:2px!important;
 min-width:0!important;max-width:125px!important;color:#29405d!important;
}
body[data-page="rankings"] .vtr-ranking-badges .rep-badge-copy-v130 b{
 display:block!important;font-size:11px!important;line-height:1.2!important;
 font-weight:750!important;color:#29405d!important;white-space:normal!important;
}
body[data-page="rankings"] .vtr-ranking-badges .rep-badge-copy-v130 small{display:none!important}
body[data-page="rankings"] .vtr-v2-pilot-bottom{
 display:flex!important;align-items:end!important;justify-content:space-between!important;
 flex-wrap:wrap!important;gap:12px!important;margin-top:auto!important;padding:0!important;border:0!important;
}
body[data-page="rankings"] .vtr-v2-pilot-bottom>div{display:flex!important;flex-direction:column!important;gap:5px!important}
body[data-page="rankings"] .vtr-v2-pilot-bottom>div>span{font-size:10px!important;font-weight:850!important;letter-spacing:.12em!important;color:#647d99!important}
body[data-page="rankings"] .vtr-v2-pilot-bottom b{font-size:24px!important;line-height:1.2!important;color:#0965ce!important}
body[data-page="rankings"] .vtr-v2-license{
 display:inline-flex!important;align-items:center!important;min-height:32px!important;
 padding:7px 11px!important;border:1px solid #d1e2f6!important;border-radius:8px!important;
 background:#edf5ff!important;color:#23568f!important;font-size:12px!important;
 font-weight:750!important;white-space:nowrap!important;
}
body[data-page="rankings"] .podium-card-v123.vtr-v2-has-banner::after{
 content:"";display:block!important;position:absolute!important;inset:0 0 auto!important;height:145px!important;
 background-image:linear-gradient(0deg,#fff 0%,rgba(255,255,255,.15) 100%),var(--vtr-v2-banner)!important;
 background-size:cover!important;background-position:center!important;z-index:0!important;pointer-events:none!important;
}
body[data-page="rankings"] .podium-card-v123>*{position:relative;z-index:1}
@media(max-width:700px){
 body[data-page="rankings"] .podium-grid-v123{grid-template-columns:minmax(0,1fr)!important}
 body[data-page="rankings"] .podium-card-v123{padding:17px!important}
 body[data-page="rankings"] .vtr-v2-pilot-identity{gap:16px!important;padding-left:7px!important}
 body[data-page="rankings"] .vtr-ranking-badges .rep-badge-copy-v130{max-width:105px!important}
}

/* V4: compact podium; avatar and reputation badges occupy separate non-overlapping rows. */
body[data-page="rankings"] .podium-grid-v123{grid-template-columns:repeat(auto-fit,minmax(min(100%,480px),1fr))!important;max-width:100%!important}
body[data-page="rankings"] .podium-grid-v123:has(>.podium-card-v123:only-child){grid-template-columns:minmax(0,680px)!important}
body[data-page="rankings"] .podium-card-v123,body[data-page="rankings"] .podium-card-v123.p1{
 min-height:0!important;max-width:100%!important;padding:22px 24px!important;gap:0!important;
 background:#fff!important;border-top-color:#c99b39!important;
}
body[data-page="rankings"] .podium-card-v123 .vtr-v2-pilot-identity{
 display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;
 align-items:center!important;justify-content:start!important;
 min-height:100px!important;height:auto!important;padding:0!important;
 margin:0 0 16px!important;gap:18px!important;position:relative!important;
}
body[data-page="rankings"] .podium-card-v123 .podium-avatar-v123{
 position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
 transform:none!important;margin:0 0 0 9px!important;grid-column:1!important;
 width:72px!important;height:72px!important;min-width:72px!important;min-height:72px!important;
 flex:none!important;align-self:center!important;justify-self:start!important;
}
body[data-page="rankings"] .podium-card-v123 .vtr-v2-pilot-info{
 grid-column:2!important;align-self:center!important;position:relative!important;
 display:flex!important;flex-direction:column!important;gap:6px!important;margin:0!important;
}
body[data-page="rankings"] .podium-card-v123 .vtr-v2-pilot-name{font-size:22px!important}
body[data-page="rankings"] .podium-card-v123 .vtr-ranking-badges{
 display:block!important;position:relative!important;clear:both!important;
 margin:0 0 16px!important;padding:14px 0!important;min-height:0!important;
 border-top:1px solid #e2eaf4!important;border-bottom:1px solid #e2eaf4!important;
}
body[data-page="rankings"] .podium-card-v123 .vtr-ranking-badges .rep-badges-v130{
 display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr))!important;
 gap:10px!important;align-items:center!important;justify-items:start!important;
}
body[data-page="rankings"] .podium-card-v123 .vtr-ranking-badges .rep-badge-v130{
 display:flex!important;gap:8px!important;min-width:0!important;width:100%!important;align-items:center!important;
}
body[data-page="rankings"] .podium-card-v123 .vtr-ranking-badges .rep-badge-copy-v130{
 display:flex!important;max-width:none!important;min-width:0!important;overflow-wrap:anywhere!important;
}
body[data-page="rankings"] .podium-card-v123 .vtr-ranking-badges .rep-badge-copy-v130 b{
 color:#243e5c!important;font-size:11px!important;line-height:1.3!important;
}
body[data-page="rankings"] .podium-card-v123 .vtr-v2-pilot-bottom{margin:0!important;padding:0!important}
body[data-page="rankings"] .js-ranking-full tr.top-rank-v123,
body[data-page="rankings"] .js-ranking-full tr.top-rank-v123 td{
 background:#f6f9ff!important;background-color:#f6f9ff!important;
}
body[data-page="rankings"] .js-ranking-full tr.top-rank-v123:hover td{background:#eef5ff!important}
body[data-page="rankings"] .js-ranking-full .ranking-driver-v123{
 display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important;
}
body[data-page="rankings"] .js-ranking-full .ranking-avatar-v123{
 display:grid!important;place-items:center!important;flex:0 0 42px!important;
 width:42px!important;height:42px!important;border-radius:50%!important;
 background:#e7f2ff!important;color:#164c88!important;border:1px solid #c7dff6!important;
}
body[data-page="rankings"] .js-ranking-full .ranking-driver-v123>div{min-width:0!important}
body[data-page="rankings"] .js-ranking-full .rep-badges-v130.xs{
 display:flex!important;gap:6px!important;align-items:center!important;flex-wrap:wrap!important;margin:5px 0!important;
}
body[data-page="rankings"] .js-ranking-full .rep-badges-v130.xs .rep-badge-v130{
 width:auto!important;min-width:0!important;padding:0!important;background:transparent!important;border:0!important;
}
body[data-page="rankings"] .js-ranking-full .rep-badges-v130.xs .rep-badge-v130 img{
 width:34px!important;height:34px!important;object-fit:contain!important;border-radius:8px!important;
}
body[data-page="rankings"] .js-ranking-full .ranking-safety-cell-v131,
body[data-page="rankings"] .js-ranking-full .safety{
 display:inline-flex!important;width:auto!important;max-width:100%!important;
 padding:6px 9px!important;border-radius:7px!important;background:#edf5ff!important;
 color:#184a83!important;border:1px solid #cde0f6!important;box-shadow:none!important;
}
body[data-page="rankings"] .js-ranking-full .ranking-safety-cell-v131 .rating-chip-v131{
 width:auto!important;background:transparent!important;border:0!important;padding:0!important;
}
@media(max-width:700px){
 body[data-page="rankings"] .podium-grid-v123:has(>.podium-card-v123:only-child){grid-template-columns:minmax(0,1fr)!important}
 body[data-page="rankings"] .podium-card-v123{padding:17px!important}
 body[data-page="rankings"] .podium-card-v123 .vtr-ranking-badges .rep-badges-v130{grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr))!important}
}
