/* GTA 6 Gameplay: Leonida stats page. Filter panel + result tables. Palette tokens only. */
body.stats .gp-stats{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:28px;align-items:start;margin:0 0 64px}
/* The old stats tool pushed main 350px to the right and made all text bold */
body.stats .gp-stats main,body.stats[dir=rtl] .gp-stats main{display:block;min-width:0;margin:0}
body.stats .gp-stats{font-weight:400}
body.stats .gp-sf-intro,body.stats #loaded-summary,body.stats .about-container .note{font-weight:400}
body.stats .gp-stats ul.gp-sf-list{margin:0 0 16px;padding:0}
body.stats .gp-stats ul.gp-sf-list li{padding:0;line-height:1.3;list-style:none}
body.stats .gp-stats main>*:last-child,body.stats .gp-stats main section:last-child{margin-bottom:0}

/* Filter panel */
.gp-sf{position:sticky;top:84px;box-sizing:border-box;padding:22px 22px 24px;color:#F2F2FA;background:rgba(20,20,31,.72);border:1px solid rgba(255,255,255,.16);border-left:5px solid #FF2E88;border-radius:8px;box-shadow:0 6px 20px rgba(0,0,0,.22)}
body.stats .gp-sf h2{margin:0 0 8px;color:#2DE2E6;font-family:"Bebas Neue","Open Sans Condensed",sans-serif;font-size:32px;font-weight:400;line-height:1.05;letter-spacing:.02em;text-transform:uppercase}
.gp-sf-intro{margin:0 0 18px;color:#C3C3D6;font-size:16px;line-height:1.5}
.gp-sf-form{display:grid;gap:14px;margin:0}
.gp-sf-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.gp-sf-field label{color:#F2F2FA;font-size:15px;font-weight:700;line-height:1.2;letter-spacing:.03em}
.gp-sf-field select{box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:8px 12px;color:#F2F2FA;font:inherit;font-size:16px;line-height:1.3;color-scheme:dark;background-color:#0B0B14;border:1px solid #2A2A3F;border-radius:8px;cursor:pointer;transition:border-color .2s ease}
.gp-sf-field select:hover{border-color:#C3C3D6}
.gp-sf-field select:focus-visible{outline:2px solid #2DE2E6;outline-offset:2px;border-color:#2DE2E6}
.gp-sf-field select option{color:#F2F2FA;background:#14141F}
.gp-sf-field select option:disabled{color:#6E6E85}
.gp-sf-reset{justify-self:start;min-height:42px;margin:4px 0 0;padding:8px 18px;color:#2DE2E6;font:inherit;font-size:15px;font-weight:700;letter-spacing:.03em;cursor:pointer;background:transparent;border:1px solid #2DE2E6;border-radius:8px;transition:color .2s ease,background-color .2s ease}
.gp-sf-reset:hover,.gp-sf-reset:focus-visible{color:#0B0B14;background:#2DE2E6}
.gp-sf-reset:focus-visible{outline:2px solid #F2F2FA;outline-offset:2px}

/* Live results */
.gp-sf-out{margin-top:22px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12)}
.gp-sf-status{margin:0 0 14px;color:#C3C3D6;font-size:15px;line-height:1.4}
.gp-sf-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}
.gp-sf-tiles[hidden],.gp-sf-list[hidden],.gp-sf-map[hidden]{display:none}
.gp-sf-tiles div{padding:12px 14px;background:#0B0B14;border:1px solid #2A2A3F;border-radius:8px}
.gp-sf-tiles dt{margin:0 0 4px;color:#C3C3D6;font-size:13px;font-weight:700;line-height:1.2;letter-spacing:.06em;text-transform:uppercase}
.gp-sf-tiles dd{margin:0;color:#F2F2FA;font-family:"Bebas Neue","Open Sans Condensed",sans-serif;font-size:32px;line-height:1}
.gp-sf-tiles div:first-child dd{color:#FF2E88}
.gp-sf-list{display:grid;gap:6px;max-height:420px;margin:0 0 16px;padding:0;overflow:auto;overscroll-behavior:contain;list-style:none}
.gp-sf-list li{margin:0;padding:0;list-style:none}
.gp-sf-list li:before{content:none}
.gp-sf-list a{display:flex;flex-direction:column;gap:2px;padding:9px 12px;color:#F2F2FA;text-decoration:none;background:#14141F;border:1px solid transparent;border-left:3px solid #2DE2E6;border-radius:6px;transition:background-color .2s ease,border-color .2s ease}
.gp-sf-list a:hover,.gp-sf-list a:focus-visible{background:#1A1A2E;border-color:rgba(45,226,230,.4);text-decoration:none}
.gp-sf-list a:focus-visible{outline:2px solid #2DE2E6;outline-offset:2px}
.gp-sf-list b{font-size:16px;font-weight:700;line-height:1.25}
.gp-sf-list small{color:#C3C3D6;font-size:14px;line-height:1.3}
.gp-sf-none,.gp-sf-more{padding:4px 2px;color:#C3C3D6;font-size:15px;line-height:1.45}
.gp-sf-map{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;color:#0B0B14;font-size:16px;font-weight:800;line-height:1.2;text-align:center;text-decoration:none;background:#FF2E88;border-radius:8px;transition:filter .2s ease}
.gp-sf-map:hover{color:#0B0B14;text-decoration:none;filter:brightness(1.08)}
.gp-sf-map:focus-visible{outline:2px solid #2DE2E6;outline-offset:2px}

/* Result cards and tables */
body.stats #loaded-summary{margin:0 0 20px;padding:14px 18px;color:#F2F2FA;font-size:18px;line-height:1.5;text-align:left}
body.stats .gp-stats main section{margin:0 0 20px;padding:22px 24px}
body.stats .gp-stats main section h2{margin:0 0 14px;color:#2DE2E6;font-family:"Bebas Neue","Open Sans Condensed",sans-serif;font-size:32px;font-weight:400;line-height:1.05;letter-spacing:.02em;text-transform:uppercase}
body.stats .smr-table{width:100%;margin:0;border-collapse:collapse;border-spacing:0;font-size:17px;line-height:1.45}
body.stats .smr-table th{padding:10px 14px;color:#2DE2E6;font-size:14px;font-weight:700;letter-spacing:.08em;text-align:left;text-transform:uppercase;white-space:nowrap;background:rgba(45,226,230,.06);border-bottom:2px solid rgba(45,226,230,.35)}
body.stats .smr-table td{padding:11px 14px;color:#F2F2FA;font-weight:400;text-align:left;vertical-align:top;border-bottom:1px solid rgba(255,255,255,.08)}
body.stats .smr-table tbody tr:nth-child(even) td{background:rgba(255,255,255,.025)}
body.stats .smr-table tbody tr:hover td{background:rgba(255,46,136,.06)}
body.stats .smr-table td:first-child{font-weight:700}
body.stats #section-map .smr-table td:nth-child(2){color:#FF2E88;font-weight:700;white-space:nowrap}
body.stats .smr-table td:last-child{color:#C3C3D6}
body.stats .smr-table a{color:#2DE2E6;font-weight:700;text-decoration:none}
body.stats .smr-table a:hover{text-decoration:underline}
body.stats .about-container{margin:0}
body.stats .about-container .note{margin:0 0 12px;padding:0;color:#C3C3D6;font-size:17px;line-height:1.55;text-align:left}
body.stats .about-container .note:last-child{margin-bottom:0}
body.stats .about-container .note a{color:#2DE2E6;font-weight:700;text-decoration:none}
body.stats .about-container .note a:hover{text-decoration:underline}

@media(max-width:900px){
body.stats .gp-stats{grid-template-columns:1fr;gap:20px;margin-bottom:44px}
.gp-sf{position:static}
.gp-sf-list{max-height:none}
}
@media(max-width:560px){
.gp-sf{padding:18px 16px 20px}
body.stats .gp-stats main section{padding:18px 14px}
body.stats .smr-table{font-size:16px}
body.stats .smr-table th,body.stats .smr-table td{padding:9px 10px}
body.stats .smr-table th{white-space:normal}
body.stats #section-map .smr-table td:nth-child(2){white-space:normal}
}
