: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-primary: #ecf0f8;
  --bg-surface: #f9fafd;
  --bg-alt: #e3e6ee;
  --primary: #a18016;
  --primary-text: #0b1220;
  --accent: #a12841;
  --text: #1a2340;
  --text-muted: #4a5578;
  --border: #a88a3d;
  --nav-dark: #3958a5;
  --nav-dark-footer: #283e74;
}

* {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.35;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.375rem;
  font-weight: 600;
}

h4 {
  font-size: 1.125rem;
  font-weight: 500;
}

p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

a {
  color: var(--nav-dark);
  text-underline-offset: 3px;
  transition: color 0.3s ease-out;
}

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

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

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

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

header {
  background-color: var(--nav-dark);
  box-shadow: 0 1px 0 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 56px;
}

.navbar {
  padding: 0.5rem 0;
  height: 56px;
}

.navbar-brand img {
  height: 48px;
  width: auto;
  transition: opacity 0.3s ease-out;
}

.navbar-brand img:hover {
  opacity: 0.85;
}

.nav-link {
  color: #d6e0f5 !important;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease-out;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--primary-text) !important;
  border-bottom-color: var(--border);
}

.nav-link.active {
  color: var(--primary-text) !important;
  border-bottom-color: var(--primary);
}

.btn-login {
  border: 1px solid var(--primary-text);
  background: transparent;
  color: var(--primary-text);
  border-radius: 2px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease-out;
  margin: 0 0.25rem;
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--primary-text);
  border-color: var(--primary-text);
}

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

.btn-signup {
  background: var(--primary);
  color: var(--primary-text);
  border: none;
  border-radius: 2px;
  padding: 0.5rem 1.25rem;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.3s ease-out;
  margin: 0 0.25rem;
}

.btn-signup:hover {
  background: #c09a1c;
}

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

.btn-primary-cta {
  background: var(--primary);
  color: var(--primary-text);
  border: none;
  border-radius: 2px;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  font-size: 0.9375rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
  transition: all 0.3s ease-out;
  display: inline-block;
  text-decoration: none;
}

.btn-primary-cta:hover {
  background: #c09a1c;
  box-shadow: 2px 2px 0 0 #7a6010;
  transform: translateY(-1px);
  color: var(--primary-text);
  text-decoration: none;
}

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

.btn-secondary-cta {
  background: transparent;
  color: var(--nav-dark);
  border: 1.5px solid var(--nav-dark);
  border-radius: 2px;
  padding: 0.6875rem 1.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  font-family: 'Roboto', sans-serif;
  transition: all 0.3s ease-out;
  display: inline-block;
  text-decoration: none;
  margin-left: 0.75rem;
}

.btn-secondary-cta:hover {
  background: var(--nav-dark);
  color: var(--primary-text);
  text-decoration: none;
}

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

main {
  min-height: calc(100vh - 112px);
}

main > section {
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

footer {
  background-color: var(--nav-dark-footer);
  color: #a0b4d6;
  border-top: 1px solid var(--nav-dark);
  margin-top: clamp(2rem, 5vw, 3rem);
}

.container, .container-lg, .container-xl {
  max-width: 1200px;
}

@media (max-width: 1199.98px) {
  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
  }

  .navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--border);
    outline-offset: 2px;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}

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

:root{--grid-single:start}
:root body main div.steps-grid.steps-3col:not(:has(> :nth-child(2))) { grid-template-columns: minmax(0, 1fr) !important; }
:root{--grid-single:end}

:root{--site-repair:start}
footer {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}
.footer-divider {
  height: 32px;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 32"%3E%3Cdefs%3E%3C/defs%3E%3Cpath fill="none" stroke="%23a88a3d" stroke-width="1" opacity="0.4" d="M10,16 L20,10 L30,16 L40,10 L50,16 L60,10 L70,16 L80,10 L90,16 L100,10 L110,16 L120,10 L130,16 L140,10 L150,16 L160,10 L170,16 L180,10 L190,16"/%3E%3Ccircle cx="35" cy="16" r="3" fill="%23a88a3d" opacity="0.3"/%3E%3Ccircle cx="75" cy="16" r="3" fill="%23a88a3d" opacity="0.3"/%3E%3Ccircle cx="115" cy="16" r="3" fill="%23a88a3d" opacity="0.3"/%3E%3Ccircle cx="155" cy="16" r="3" fill="%23a88a3d" opacity="0.3"/%3E%3C/svg%3E');
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  margin-bottom: 2rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 0.5rem;
}
.footer-column h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--border);
  margin: 0;
}
.footer-column a {
  color: #a0b4d6;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.3s ease-out;
  line-height: 1.6;
}
.footer-column a:hover {
  color: var(--primary-text);
}
.footer-bottom {
  border-top: 1px solid var(--nav-dark);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6a7fa8;
}
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .footer-bottom {
    font-size: 0.7rem;
  }
}

@media (max-width: 575.98px) { footer :is(div, ul, section, nav) { min-width: 0; } footer :is(a, h3, h4, h5, h6, p, li) { overflow-wrap: anywhere; } }

main > section:has(> [class*="container"]:only-child) { grid-template-columns: 1fr !important; }

.sr-email { overflow-wrap: anywhere; word-break: break-word; }

.navbar-nav .nav-link[href="/"] { white-space: nowrap !important; }

@media (min-width: 992px) { .navbar-expand-lg .navbar-toggler { display: none !important; } }
@media (min-width: 1200px) { .navbar-expand-xl .navbar-toggler { display: none !important; } }
@media (min-width: 1400px) { .navbar-expand-xxl .navbar-toggler { display: none !important; } }
:root{--site-repair:end}
