:root{--qa-guard:start}

:where(main :is([class*="grid"], [style*="grid"], [class*="layout"], .row, [class*="cols"], [class*="split"], [class*="columns"],
               [data-component], ol, ul, dl) > *) { min-width: 0; }
:where(main img, main video, main iframe) { max-width: 100%; }
:where(main img) { height: auto; }
:where(main pre) { overflow-x: auto; }
:where(main table) { max-width: 100%; }
:where(h1, h2, h3, h4, h5, h6) { line-height: 1.3; }
:where(footer a:not([class*="btn"]), .breadcrumb a, nav li a) { display: inline-block; padding-block: 4px; }
img[data-role="hero"] { object-position: 75% 30% !important; } 
.navbar-brand:has(> img.site-logo) { background: none !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; }
.navbar-brand > img.site-logo { height: 40px; width: auto; display: block; }

.navbar:has(> div:empty):has(> :is([class*="container"], [class*="inner"])) { flex-direction: column; align-items: stretch; }
.navbar .navbar-brand { flex-shrink: 0; }
@media (min-width: 576px) {  
  .navbar :is(a, button)[class*="btn"] { flex-shrink: 0; }
  .navbar :is(.nav-link, a[class*="btn"], button[class*="btn"]) { white-space: nowrap; }
}

:is(.navbar, .navbar > *, .navbar :has(> .navbar-collapse)):has(.navbar-collapse:is(.show, .collapsing)) { height: auto !important; max-height: none !important; }

@media (min-width: 992px) {
  main .row > [class*="col"]:has(> img[data-role="section"]:only-child) { align-self: stretch; }
  main .row > [class*="col"] > img[data-role="section"]:only-child { height: 100% !important; object-fit: cover; }
}

main > :is(section, div):not(:first-child):not(:empty, [class*="divider"], [class*="separator"], [aria-hidden="true"]) { padding-block: clamp(28px, 3.5vw, 44px) !important; margin-block: 0 !important; }
main > :first-child, main > :first-child > :is(section, div) { min-height: 0 !important; }
main > :first-child { padding-block: clamp(24px, 4vw, 56px) !important; }
main :is(h1, h2, h3) { line-height: 1.35 !important; }
main :is(p, li, td, dd) { line-height: 1.55 !important; }
main > :is(section, div) :is(h2):first-of-type { margin-bottom: 12px; }
@media (max-width: 575.98px) {
  main [style*="grid-template-columns"]:not([style*="auto-fit"]):not([style*="auto-fill"]) { grid-template-columns: 1fr !important; }
  
  :is([data-component="game-grid"], [data-component="game-grid"] *):has(> .game-card) {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .game-card .game-tag { position: static !important; display: inline-block; margin-top: 6px; }
  
  main :is(div, p, nav):has(> :is(a, button)[class*="btn"]):not([class*="scroll"], [class*="strip"], [class*="tab"], [class*="chip"]) {
    flex-wrap: wrap !important; flex-shrink: 1 !important; max-width: 100%; }
  main div:has(> :is(div, p) > :is(a, button)[class*="btn"]):not([class*="scroll"], [class*="strip"], [class*="tab"], [class*="chip"]) {
    flex-wrap: wrap !important; }  
  
  main :is(ol, ul, [data-component="steps"], [data-component="steps"] div):not([class*="scroll"], [class*="strip"], [class*="tab"], [class*="chip"]) {
    flex-wrap: wrap !important; }
  main :is(a, button)[class*="btn"] { white-space: normal !important; }
  
  main table:not(:is([class*="responsive"], [class*="scroll"], [style*="overflow"]) table) {
    display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .game-card :is(.game-card-body, div:has(> h3)) { padding: 10px 12px 12px !important; }
}
.toc-auto { margin: 0 auto 24px; max-width: 1100px; padding: 12px 16px; border: 1px solid var(--border, rgba(255,255,255,.15)); border-radius: 12px; }
.toc-auto summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.toc-auto ol { margin: 8px 0 0; padding-left: 1.4em; }
[data-component="toc"] a { display: inline-block; padding-block: 4px; }
html { scroll-padding-top: 88px; }

:is(header, footer, main > :not(:first-child)) :is(.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl) {
  max-width: 1320px !important; margin-inline: auto !important; }
main > :not(:has([class*="container"])) { padding-inline: max(16px, calc((100% - 1320px) / 2)) !important; }  

:where(main > :first-child > :not([class*="container"], :has([class*="container"]), img, picture, video, [style*="absolute"])) {
  padding-inline: max(16px, calc((100% - 1320px) / 2)); }
main > :first-child :is(.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl):not(:has(> img[data-role="hero"])) {
  max-width: 1320px !important; margin-inline: auto !important; }
:where(main [style*="overflow-x"][style*="flex"]:not([style*="wrap"])) > * { min-width: auto; }

:where(main > :not(:first-child), body > footer) { content-visibility: auto; contain-intrinsic-size: auto 600px; }
@media (max-width: 767.98px) { :where(main > :not(:first-child), body > footer) { contain-intrinsic-size: auto 900px; } }  
:root{--qa-guard:end}

:root {
--bg: #e8ecef;
--surface: #f8f9fa;
--surface-alt: #dfe3e5;
--primary: #c00b37;
--primary-text: #ffffff;
--accent: #a9661c;
--brand: #086d8f;
--brand-dark: #064c64;
--text: #1a1a1a;
--text-muted: #5a5a5a;
--border: #b89044;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Roboto', sans-serif;
background: var(--bg);
background-image: repeating-linear-gradient(0deg, var(--bg) 0px, #d8dce0 2px, var(--bg) 4px);
color: var(--text);
line-height: 1.6;
overflow-x: hidden;
}

::selection {
background: var(--brand);
color: var(--primary-text);
}

a {
text-decoration: none;
color: var(--brand);
text-underline-offset: 3px;
}

a:hover {
color: var(--primary);
}

img {
max-width: 100%;
height: auto;
display: block;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'Oswald', sans-serif;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
line-height: 1.35;
}

h1 {
font-size: clamp(2rem, 5vw, 3.5rem);
margin-bottom: 1rem;
}

h2 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
}

h3 {
font-size: 1.75rem;
margin-bottom: 1rem;
}

.container, .container-xl {
max-width: 1320px;
padding-left: 15px;
padding-right: 15px;
}

section {
padding: clamp(28px, 3.5vw, 44px) 0;
}

.section-divider {
height: 8px;
background: var(--surface-alt);
margin: clamp(28px, 3.5vw, 44px) 0;
}

.navbar {
background: var(--brand);
padding: 1rem 0;
border-bottom: 2px solid var(--border);
}

.navbar-brand img {
height: 42px;
width: auto;
}

.navbar-nav .nav-link {
font-family: 'Oswald', sans-serif;
font-size: 0.9rem;
text-transform: uppercase;
color: var(--primary-text);
padding: 0.5rem 1rem;
position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
color: var(--border);
}

.navbar-nav .nav-link.active::after {
content: '';
position: absolute;
bottom: 0;
left: 1rem;
right: 1rem;
height: 4px;
background: var(--border);
}

.btn-primary {
background: var(--primary);
color: var(--primary-text);
border: none;
padding: 1rem 2.5rem;
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
font-size: 1rem;
border-radius: 0;
box-shadow: 6px 6px 0 var(--accent);
transition: all 0.2s ease-out;
cursor: pointer;
}

.btn-primary:hover {
background: #9a0a2c;
box-shadow: 4px 4px 0 var(--accent);
transform: translate(-2px, -2px);
}

.btn-primary:focus-visible {
outline: 4px solid var(--border);
outline-offset: 2px;
}

.btn-secondary {
background: var(--primary-text);
color: var(--brand);
border: 2px solid var(--brand);
padding: 1rem 2.5rem;
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
font-size: 1rem;
border-radius: 0;
box-shadow: 6px 6px 0 var(--border);
transition: all 0.2s ease-out;
cursor: pointer;
}

.btn-secondary:hover {
background: var(--surface);
box-shadow: 4px 4px 0 var(--border);
transform: translate(-2px, -2px);
}

.btn-secondary:focus-visible {
outline: 4px solid var(--border);
outline-offset: 2px;
}

.card {
background: var(--surface);
border: 3px solid var(--border);
border-radius: 0;
box-shadow: 6px 6px 0 var(--surface-alt);
padding: 1.5rem;
transition: all 0.2s ease-out;
}

.card:hover {
box-shadow: 8px 8px 0 var(--surface-alt);
transform: translate(-2px, -2px);
border-color: var(--brand);
}

.table {
border: 2px solid var(--border);
background: var(--surface);
}

.table th {
background: var(--brand-dark);
color: var(--primary-text);
border: 2px solid var(--border);
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
padding: 1rem;
}

.table td {
border: 2px solid var(--border);
padding: 1rem;
}

footer {
background: var(--brand-dark);
color: var(--primary-text);
padding: 3rem 0 1rem;
border-top: 4px solid var(--border);
}

footer a {
color: #e8ecef;
text-decoration: none;
}

footer a:hover {
color: var(--border);
}

footer h4 {
font-size: 1.25rem;
margin-bottom: 1rem;
color: var(--primary-text);
}

.footer-links {
list-style: none;
padding: 0;
}

.footer-links li {
margin-bottom: 0.5rem;
}

.breadcrumb {
background: transparent;
padding: 1rem 0;
margin: 0;
font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
content: ">";
color: var(--text-muted);
}

.breadcrumb-item a {
color: var(--text-muted);
}

.breadcrumb-item.active {
color: var(--brand);
}

input, select, textarea {
border: 2px solid var(--border);
border-radius: 0;
padding: 0.75rem;
font-family: 'Roboto', sans-serif;
background: var(--surface);
}

input:focus, select:focus, textarea:focus {
outline: none;
border-color: var(--brand);
box-shadow: 0 0 0 4px rgba(8, 109, 143, 0.1);
}

@media (max-width: 991px) {

h2 {
font-size: 2rem;
}

h3 {
font-size: 1.5rem;
}
}
@media (max-width: 1199.98px) {
.navbar-nav {
padding-top: 1rem;
}

.navbar-nav .nav-link {
padding: 0.75rem 1rem;
}
}

@media (max-width: 575px) {
h1 {
font-size: clamp(1.75rem, 8vw, 2.5rem);
}

.btn-primary, .btn-secondary {
padding: 0.875rem 2rem;
font-size: 0.9rem;
}
}

@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}

::-webkit-scrollbar {
width: 12px;
}

::-webkit-scrollbar-track {
background: var(--surface-alt);
}

::-webkit-scrollbar-thumb {
background: var(--brand);
border: 2px solid var(--surface-alt);
}

::-webkit-scrollbar-thumb:hover {
background: var(--brand-dark);
}
