: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 [class*="col"] > [class*="card"]:not(:only-child) { height: auto !important; }

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: minmax(0, 1fr) !important; }
  
  main :is(h1, h2, h3, h4, th, td, dt, dd, summary) { overflow-wrap: break-word; }
  
  :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; }

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

:is(ol, ul, div).row[data-component="steps"]:has(> [class*="col"]) { display: flex !important; flex-wrap: wrap !important; }

main :is(ol, ul):has(> div:only-child) { grid-template-columns: minmax(0, 1fr) !important; }

@media (max-width: 991.98px) { footer [style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 575.98px) { footer [style*="grid-template-columns"] { grid-template-columns: 1fr !important; } }
.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:           #0d1f18;
  --surface:      #1c2c26;
  --surface-alt:  #172821;
  --primary:      #0a7c7b;
  --primary-dark: #075756;
  --gold:         #e7c765;
  --gold-border:  #dab655;
  --accent:       #fa6e48;
  --text:         #f0ede4;
  --text-muted:   #9ab5a8;
  --radius-pill:  999px;
  --radius-card:  24px;
  --radius-input: 16px;
  --shadow-card:  0 12px 32px rgba(0,0,0,0.28);
  --shadow-hover: 0 20px 48px rgba(0,0,0,0.38);
  --shadow-btn:   0 6px 24px rgba(231,199,101,0.35);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--primary) var(--surface);
  scrollbar-width: thin;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

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

body {
  background-color: var(--bg);
  background-image: url('rickshaw-floral.svg');
  background-size: 420px auto;
  background-repeat: repeat;
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; line-height: 1.2; }

h1 {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.1;
}

h2.section-title {
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0;
}

h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.3; color: var(--text); }
h4 { font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--text); }

p { line-height: 1.7; color: var(--text); }
small, .text-small { font-size: 13px; line-height: 1.5; color: var(--text-muted); }

a { color: var(--gold); text-decoration: none; text-underline-offset: 3px; transition: color 150ms ease; }
a:hover { color: var(--gold-border); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

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

.section-wrap--alt { background-color: var(--surface-alt); }
.section-wrap--surface { background-color: var(--surface); }

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 2px solid var(--gold-border);
  border-bottom: 2px solid var(--gold-border);
  padding: 12px 20px;
  background: var(--surface-alt);
  border-radius: 12px;
  margin-bottom: 28px;
  position: relative;
}

.section-header .peacock-deco {
  flex-shrink: 0;
}

.section-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  flex-wrap: wrap;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-border) 30%, var(--gold-border) 70%, transparent 100%);
}

.section-divider svg {
  margin: 0 12px;
  flex-shrink: 0;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #0d1f18;
  border-radius: var(--radius-pill);
  padding: 14px 36px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary-cta:hover {
  background: #f5d97a;
  color: #0d1f18;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 32px rgba(231,199,101,0.45);
}

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

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--gold-border);
  color: var(--text);
  border-radius: var(--radius-pill);
  padding: 13px 32px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary-cta:hover {
  background: rgba(218,182,85,0.12);
  border-color: var(--gold);
  color: var(--gold);
}

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

.btn-accent-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 14px 36px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-accent-cta:hover {
  background: #fb8566;
  color: #fff;
  transform: translateY(-2px);
}

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

.site-nav {
  background-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.40);
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 64px;
}

.site-nav .navbar-brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--gold) !important;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav .navbar-brand img {
  height: 40px;
  width: auto;
}

.site-nav .nav-link {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--text) !important;
  padding: 8px 0 !important;
  margin: 0 14px;
  transition: color 150ms ease;
  position: relative;
  white-space: nowrap;
}

.site-nav .nav-link:hover { color: var(--gold) !important; }

.site-nav .nav-link.active {
  color: var(--gold) !important;
}

.site-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.site-nav .nav-login {
  border: 1.5px solid var(--text);
  background: transparent;
  color: var(--text) !important;
  border-radius: var(--radius-pill);
  padding: 8px 24px !important;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  margin: 0 6px;
  transition: border-color 150ms ease, color 150ms ease;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav .nav-login:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.site-nav .nav-register {
  background: var(--gold);
  color: #0d1f18 !important;
  border-radius: var(--radius-pill);
  padding: 8px 28px !important;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-btn);
  margin: 0 6px;
  transition: background 200ms ease, transform 200ms ease;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav .nav-register:hover {
  background: #f5d97a !important;
  color: #0d1f18 !important;
  transform: scale(1.03);
}

.site-nav .navbar-toggler {
  border-color: rgba(240,237,228,0.4);
  padding: 6px 10px;
}

.site-nav .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(240,237,228,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-footer {
  background-color: var(--surface-alt);
  border-top: 2px solid var(--gold-border);
  padding: 56px 0 32px;
}

.site-footer .footer-brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.site-footer .footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.site-footer .footer-col-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.site-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-links li { margin-bottom: 8px; }
.site-footer .footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 150ms ease;
}
.site-footer .footer-links a:hover { color: var(--gold); }

.site-footer .footer-bottom {
  border-top: 1px solid rgba(218,182,85,0.20);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer .footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.site-footer .badge-18 {
  background: var(--surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 12px;
  padding: 6px 16px;
  white-space: nowrap;
}

.site-footer .social-icons { display: flex; gap: 10px; margin-top: 12px; }
.site-footer .social-icon {
  width: 36px; height: 36px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  transition: background 150ms ease, color 150ms ease;
  text-decoration: none;
}
.site-footer .social-icon:hover { background: var(--primary); color: var(--text); }

.content-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid rgba(218,182,85,0.18);
  box-shadow: var(--shadow-card);
  padding: 28px;
  overflow-wrap: anywhere;
}

.site-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.site-table th {
  background: var(--primary);
  color: var(--text);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}

.site-table td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(218,182,85,0.15);
  font-size: 14px;
  color: var(--text);
}

.site-table tbody tr:nth-child(odd)  { background: var(--surface); }
.site-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.site-table tbody tr:last-child td   { border-bottom: none; }

.table-scroll { overflow-x: auto; border-radius: var(--radius-card); border: 1px solid rgba(218,182,85,0.18); }

.pill-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--text);
  border-radius: var(--radius-pill);
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 11px;
  padding: 2px 10px;
  white-space: nowrap;
}

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 991px) {
  [data-component="game-grid"] { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575px) {
  [data-component="game-grid"] { grid-template-columns: repeat(2, 1fr); }
}

.game-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid rgba(218,182,85,0.18);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: rgba(218,182,85,0.55);
}

.game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.game-card-body {
  padding: 10px 14px 14px;
}

.game-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.game-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.game-card .game-tag {
  display: inline-block;
  background: rgba(10,124,123,0.25);
  color: var(--gold);
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1199.98px) {
  .site-nav .nav-link { margin: 4px 0; }
  .site-nav .navbar-collapse {
    background: var(--primary-dark);
    padding: 12px 16px;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid rgba(218,182,85,0.2);
  }
}

.text-gold { color: var(--gold); }
.text-muted-custom { color: var(--text-muted); }
.text-accent { color: var(--accent); }

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

:root{--site-repair:start}
.sr-email { overflow-wrap: anywhere; word-break: break-word; }

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

@media (min-width: 1200px) { .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}
:root{--unify-site:start}
main details:not(.toc-card):not([class*=toc]) { border-top-width: 1px !important; border-bottom-width: 1px !important; border-radius: 0px !important; padding: 0px !important; margin-bottom: 0px !important; }
main details:not(.toc-card):not([class*=toc]) > summary { font-size: 16px !important; font-weight: 600 !important; padding: 18px 4px !important; line-height: 25.6px !important; }
main details:not(.toc-card):not([class*=toc]) > summary ~ * { font-size: 15px !important; padding: 16px 20px 20px !important; line-height: 24px !important; }
main table { width: 100%; border-collapse: collapse !important; }
main table th { background-color: rgb(10, 124, 123) !important; color: rgb(240, 237, 228) !important; padding: 12px 16px !important; font-size: 13px !important; font-weight: 600 !important; text-align: left !important; border-bottom: 0px solid rgb(240, 237, 228) !important; }
main table td { padding: 11px 16px !important; font-size: 14px !important; }
main section > h2, main section > [class*=container] > h2, main section > [class*=container] > [class*=head] > h2, main section > [class*=container] > [class*=title] > h2, main section > div > h2 { font-size: 32px !important; line-height: 43.2px !important; }
:root{--unify-site:end}
