/* Site-wide container: backgrounds stay full width, content stays inside a 1250px box */
.smr-site-footer{padding-left:18px;padding-right:18px}
.smr-site-footer .smr-site-footer-inner{width:100%;max-width:1250px;margin-left:auto;margin-right:auto}

/* About, Guides, policy and update pages */
body.about{max-width:none}
body.about.smr-page .about-wrapper{box-sizing:border-box;width:100%;max-width:1286px;margin-left:auto;margin-right:auto;padding-left:18px;padding-right:18px}

/* Stats page */
body.stats{padding-left:0;padding-right:0;padding-bottom:0}
.smr-stats-box{display:flow-root;box-sizing:border-box;width:100%;max-width:1286px;margin-left:auto;margin-right:auto;padding-left:18px;padding-right:18px}

/* Home page: map tiles share the same box (1250px plus the 10px tile margins) */
#select-map-grid>ul{box-sizing:border-box;width:100%;max-width:1270px;margin-left:auto;margin-right:auto}

/* Wide tables scroll inside their card on small phones */
@media(max-width:480px){.smr-page .smr-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}}

/* ---------- Footer ---------- */
.smr-site-footer{padding-top:clamp(34px,4vw,52px);background:linear-gradient(180deg,#14141F 0%,#0B0B14 62%)}
.smr-site-footer *,.smr-site-footer *:before,.smr-site-footer *:after{box-sizing:border-box}
.smr-site-footer .smr-footer-top{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:center;margin-bottom:clamp(28px,3vw,40px)}

/* Logo and short description */
.smr-site-footer .smr-footer-about{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0}
.smr-site-footer p.smr-footer-desc{margin:0;color:#C3C3D6;font-family:"Open Sans Condensed",sans-serif;font-size:19px;font-weight:400;line-height:1.5}

/* Tilted link cards */
.smr-site-footer .smr-footer-links{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch;padding:0 12px}
.smr-site-footer .smr-footer-group{position:relative;z-index:0;display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:24px 26px 20px;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.smr-site-footer .smr-footer-group:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(160deg,#1A1A2E 0%,#14141F 100%);border:1px solid rgba(255,255,255,.12);border-radius:10px;box-shadow:0 12px 26px -16px rgba(0,0,0,.8);transform:skewX(-5deg);transition:border-color .3s ease,box-shadow .3s ease}
.smr-site-footer .smr-footer-group:after{content:"";position:absolute;top:-1px;left:26px;width:42px;height:3px;background:#FF2E88;border-radius:0 0 3px 3px;transform:skewX(-5deg);transition:width .35s cubic-bezier(.2,.7,.2,1)}
.smr-site-footer .smr-footer-group:hover{transform:translateY(-5px)}
.smr-site-footer .smr-footer-group:hover:before{border-color:rgba(255,46,136,.6);box-shadow:0 20px 36px -16px rgba(0,0,0,.95),0 0 22px -10px rgba(255,46,136,.5)}
.smr-site-footer .smr-footer-group:hover:after{width:84px}
.smr-site-footer .smr-footer-group:first-child{display:grid;grid-template-columns:repeat(2,minmax(0,auto));justify-content:start;justify-items:start;align-content:start;column-gap:30px}
/* on narrower screens a long link wraps inside its column instead of running into the next one */
@media(max-width:1240px){
.smr-site-footer .smr-footer-group:first-child{grid-template-columns:repeat(2,minmax(0,max-content));column-gap:20px}
.smr-site-footer .smr-footer-group:first-child a{max-width:100%;white-space:normal}
.smr-site-footer .smr-footer-group:first-child a span{min-width:0}
}
.smr-site-footer .smr-footer-group:first-child .smr-footer-label{grid-column:1/-1}
.smr-site-footer .smr-footer-label{margin-bottom:9px;color:#2DE2E6;font-size:16px;font-weight:700;line-height:1.3;letter-spacing:.12em;text-transform:uppercase}
.smr-site-footer .smr-footer-links a{display:inline-block;padding:5px 0;color:#F2F2FA;font-size:18px;font-weight:700;line-height:1.3;white-space:nowrap;text-decoration:none;transition:color .2s ease,transform .2s ease}
.smr-site-footer .smr-footer-links a:hover,.smr-site-footer .smr-footer-links a:focus-visible{color:#2DE2E6;text-decoration:none;transform:translateX(5px)}
.smr-site-footer .smr-footer-links a:focus-visible{outline:2px solid #2DE2E6;outline-offset:2px}

/* Copyright line */
.smr-site-footer p.smr-copyright a{display:inline-block;padding:4px 2px;color:#2DE2E6;font-weight:700;text-decoration:none;transition:color .2s ease}
.smr-site-footer p.smr-copyright a:hover,.smr-site-footer p.smr-copyright a:focus-visible{color:#F2F2FA;text-decoration:underline}
.smr-site-footer .smr-sep{margin:0 5px;color:rgba(255,255,255,.55)}

@media(max-width:1080px){
.smr-site-footer .smr-footer-top{grid-template-columns:minmax(0,1fr)}
.smr-site-footer p.smr-footer-desc{max-width:640px}
}
@media(max-width:720px){
.smr-site-footer .smr-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 7px}
.smr-site-footer .smr-footer-group{padding:22px 20px 16px}
.smr-site-footer .smr-footer-group:before,.smr-site-footer .smr-footer-group:after{transform:skewX(-3deg)}
.smr-site-footer .smr-footer-group:first-child{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,max-content))}
}
@media(max-width:620px){
.smr-site-footer p.smr-copyright{line-height:1.8}
.smr-site-footer .smr-sep{margin:0 3px}
}
@media(max-width:440px){
.smr-site-footer .smr-footer-group{padding:20px 16px 14px}
.smr-site-footer .smr-footer-group:first-child{grid-template-columns:repeat(2,minmax(0,max-content))}
.smr-site-footer .smr-footer-links a{font-size:17px}
}
@media(max-width:340px){
.smr-site-footer .smr-footer-group{padding-right:10px;padding-left:14px}
}
@media(max-width:380px){
.smr-site-footer p.smr-copyright{font-size:15px;white-space:nowrap}
.smr-site-footer .smr-sep{margin:0 2px}
}
@media(hover:none){
.smr-site-footer .smr-footer-group:hover{transform:none}
.smr-site-footer .smr-footer-links a:hover{transform:none}
}
@media(prefers-reduced-motion:reduce){
.smr-site-footer .smr-footer-group,.smr-site-footer .smr-footer-group:before,.smr-site-footer .smr-footer-group:after,.smr-site-footer .smr-footer-links a{transition:none}
.smr-site-footer .smr-footer-group:hover,.smr-site-footer .smr-footer-links a:hover{transform:none}
}

/* Stats: the operator table fits its card on desktop, so the right-hand columns are not cut off (extra rank columns still scroll) */
@media(min-width:1100px){#section-operators table{font-size:17px}#section-operators table tr.main th{font-size:18px}#section-operators table tr.main th.stat-name.chart-enabled .graph-icon{margin-left:5px;width:20px;height:20px;background-size:20px}#section-operators table tr.main th.stat-name.chart-enabled:hover .graph-icon,#section-operators table tr.main th.stat-name.chart-enabled:focus .graph-icon{background-position-y:-20px}#section-operators table td,#section-operators table th{padding:0 2px}#section-operators .scroller{overflow-x:auto}}

/* GTA 6 Gameplay: contact form and reviews grid (palette tokens only) */
.gp-form{display:grid;gap:14px;max-width:640px;margin:8px 0 20px}
.gp-form,.gp-form *{box-sizing:border-box}
.gp-form .gp-form-status{order:99;margin:0}
.gp-form .gp-form-status:empty{min-height:0}
.gp-field{display:flex;flex-direction:column;gap:6px}
.gp-field label{color:#F2F2FA;font-size:15px;font-weight:700}
.gp-field input,.gp-field select,.gp-field textarea{width:100%;min-height:44px;padding:10px 12px;color:#F2F2FA;font:inherit;font-size:16px;background:#0B0B14;border:1px solid #2A2A3F;border-radius:8px}
.gp-field input:hover,.gp-field select:hover,.gp-field textarea:hover{border-color:#C3C3D6}
.gp-field input:focus-visible,.gp-field select:focus-visible,.gp-field textarea:focus-visible,.gp-btn:focus-visible{outline:2px solid #2DE2E6;outline-offset:2px}
.gp-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.gp-btn{justify-self:start;min-height:46px;padding:10px 22px;color:#0B0B14;font:inherit;font-size:16px;font-weight:800;background:#FF2E88;border:0;border-radius:8px;cursor:pointer}
.gp-btn:hover{filter:brightness(1.08)}
.gp-btn:active{transform:translateY(1px)}
.gp-btn:disabled{opacity:1!important;color:#C3C3D6;background:#2A2A3F;cursor:not-allowed;filter:none;transform:none}
.gp-form-status{min-height:1.4em;margin:0;color:#C3C3D6;font-size:15px}
.gp-form-status.is-ok{color:#34D399}.gp-form-status.is-err{color:#F87171}
.gp-form-note{margin:0;color:#C3C3D6;font-size:14px}
.gp-reviews{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin:10px 0 20px}
.gp-review-card{margin:0;padding:20px;background:#14141F;border:1px solid #2A2A3F;border-radius:12px}
.gp-review-card blockquote{margin:0 0 14px;color:#F2F2FA;font-size:16px;line-height:1.6}
.gp-review-card figcaption{display:flex;align-items:center;gap:10px}
.gp-review-card .smr-review-avatar{display:flex;align-items:center;justify-content:center;width:40px;height:40px;color:#0B0B14;font-weight:800;background:#FF2E88;border-radius:50%}
.gp-review-card .smr-review-who{display:flex;flex-direction:column;flex:1}
.gp-review-card .smr-review-name{color:#F2F2FA;font-weight:700}
.gp-review-card .smr-review-role{color:#C3C3D6;font-size:14px}
.gp-review-card .smr-review-mark{display:block;height:30px;color:#FF2E88;font-size:60px;line-height:1}

/* GTA 6 Gameplay readability safety net: focus, skip link, disabled and link states on every page */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible,[role=tab]:focus-visible{outline:2px solid #2DE2E6!important;outline-offset:2px!important}
a.smr-skip,a.smr-skip:hover,a.smr-skip:focus,a.smr-skip:visited{color:#0B0B14!important;font-weight:700;background:#FF2E88!important}
#main-nav button.smr-primary-toggle:hover,#main-nav button.smr-primary-toggle:focus-visible,.smr-site-header button.smr-primary-toggle:hover,.smr-site-header button.smr-primary-toggle:focus-visible{color:#0B0B14!important;background:#FF2E88!important;border-color:#FF2E88!important}
button:disabled,input:disabled,select:disabled,textarea:disabled,[aria-disabled="true"]{opacity:.65!important;cursor:not-allowed!important}
input::placeholder,textarea::placeholder{color:#A0A0B8;opacity:1}
.g-body a:hover,.about-wrapper main a:hover,.smr-disclaimer a:hover,.lm a:hover,.smr-home .smr-lead a:hover{text-decoration:underline!important}

/* GTA 6 Gameplay: one 1200px content box on every page; backgrounds stay full width */
html body .smr-site-header-box,html body .smr-site-footer .smr-site-footer-inner,html body.about.smr-page .about-wrapper,html body .smr-g,html body .smr-stats-box,html body .lm{box-sizing:border-box;max-width:1200px!important;margin-left:auto;margin-right:auto}
.smr-site-header-box{padding-left:16px;padding-right:16px}
.smr-sm-brand .smr-logo-mark{width:46px!important;height:46px!important;background-size:contain!important}
.smr-site-logo .smr-logo-mark{width:115px!important;height:52px!important;background-size:contain!important}
.smr-footer-brand .smr-logo-mark{width:142px!important;height:64px!important;background-size:contain!important}
.smr-site-header-box{height:60px}
@media (max-width:700px){.smr-site-logo .smr-logo-mark{width:98px!important;height:44px!important}.smr-site-header-box{height:54px}}
.smr-skip{position:absolute;left:-9999px;top:0;z-index:2000;padding:8px 12px}
.smr-skip:focus{left:8px}
