: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:          #040522;
  --surface:     #13142f;
  --surface-alt: #0e0f2b;
  --brand:       #2d12d6;
  --brand-dark:  #200d96;
  --primary:     #e49729;
  --accent:      #7bfc1e;
  --text:        #f0f0f0;
  --text-muted:  #9090b0;
  --border:      #cbac3e;
  --font-head:   'Oswald', sans-serif;
  --font-body:   'Roboto', sans-serif;
}

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

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--brand); }

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.6' opacity='0.06'%3E%3Crect x='10' y='10' width='60' height='60' transform='rotate(45 40 40)'/%3E%3Crect x='20' y='20' width='40' height='40' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3Cline x1='40' y1='0' x2='40' y2='80'/%3E%3Cline x1='0' y1='40' x2='80' y2='40'/%3E%3Cpath d='M40 10 L50 30 L70 30 L55 45 L60 65 L40 52 L20 65 L25 45 L10 30 L30 30 Z' stroke-width='0.4'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 48px; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.8' opacity='0.10'%3E%3Crect x='6' y='6' width='36' height='36' transform='rotate(45 24 24)'/%3E%3Ccircle cx='24' cy='24' r='10'/%3E%3Ccircle cx='24' cy='24' r='5'/%3E%3Cpath d='M24 6 Q34 14 34 24 Q34 34 24 42 Q14 34 14 24 Q14 14 24 6Z'/%3E%3Cline x1='24' y1='60' x2='24' y2='120'/%3E%3Ccircle cx='24' cy='72' r='3'/%3E%3Ccircle cx='24' cy='96' r='3'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.side-strip-right {
  position: fixed;
  top: 0; right: 0;
  width: 48px; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.8' opacity='0.10'%3E%3Crect x='6' y='6' width='36' height='36' transform='rotate(45 24 24)'/%3E%3Ccircle cx='24' cy='24' r='10'/%3E%3Ccircle cx='24' cy='24' r='5'/%3E%3Cpath d='M24 6 Q34 14 34 24 Q34 34 24 42 Q14 34 14 24 Q14 14 24 6Z'/%3E%3Cline x1='24' y1='60' x2='24' y2='120'/%3E%3Ccircle cx='24' cy='72' r='3'/%3E%3Ccircle cx='24' cy='96' r='3'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

header, main, footer { position: relative; z-index: 2; }

.festival-flags {
  width: 100%;
  height: 14px;
  background-color: #1a0a6e;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  line-height: 0;
}
.festival-flags svg { width: 100%; height: 14px; }

.site-navbar {
  background-color: var(--brand) !important;
  min-height: 64px;
  border-bottom: 2px solid var(--border);
}

.navbar-brand img {
  height: 40px;
  width: auto;
}
.navbar-brand-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text) !important;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-navbar .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text) !important;
  padding: 0.5rem 0.75rem;
  border-radius: 0;
  text-underline-offset: 3px;
  position: relative;
}
.site-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.75rem; right: 0.75rem;
  height: 0;
  background: var(--primary);
  transition: height 0.15s ease-out;
}
.site-navbar .nav-link:hover { color: var(--primary) !important; }
.site-navbar .nav-link:hover::after { height: 2px; }
.site-navbar .nav-link.active {
  color: var(--border) !important;
}
.site-navbar .nav-link.active::after {
  height: 3px;
  background: var(--border);
}

.btn-nav-login {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  background: transparent;
  border: 2px solid var(--text);
  border-radius: 0;
  padding: 8px 20px;
  box-shadow: 3px 3px 0 var(--border);
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s ease-out, color 0.15s ease-out;
}
.btn-nav-login:hover {
  background: var(--text);
  color: var(--brand);
}
.btn-nav-login:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-nav-signup {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #040522;
  background: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 0;
  padding: 8px 20px;
  box-shadow: 3px 3px 0 #040522;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s ease-out, box-shadow 0.15s ease-out;
}
.btn-nav-signup:hover {
  background: var(--border);
  box-shadow: 3px 3px 0 #040522;
  color: #040522;
}
.btn-nav-signup:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.navbar-toggler {
  border: 2px solid var(--border);
  border-radius: 0;
  color: var(--text);
}
.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='%23f0f0f0' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.btn-primary-site {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #040522;
  background: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 0;
  padding: 14px 32px;
  box-shadow: 4px 4px 0 var(--border);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.15s ease-out, box-shadow 0.15s ease-out, transform 0.15s ease-out;
  overflow-wrap: anywhere;
}
.btn-primary-site:hover {
  background: var(--border);
  box-shadow: 6px 6px 0 #040522;
  transform: translate(-1px, -1px);
  color: #040522;
}
.btn-primary-site:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-secondary-site {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 0;
  padding: 14px 32px;
  box-shadow: 4px 4px 0 var(--border);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.15s ease-out, color 0.15s ease-out, transform 0.15s ease-out;
  overflow-wrap: anywhere;
}
.btn-secondary-site:hover {
  background: var(--border);
  color: #040522;
  transform: translate(-1px, -1px);
}
.btn-secondary-site:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-accent-site {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #040522;
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 0;
  padding: 14px 32px;
  box-shadow: 4px 4px 0 var(--brand);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}
.btn-accent-site:hover { opacity: 0.88; transform: translate(-1px, -1px); color: #040522; }
.btn-accent-site:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.section-divider {
  width: 100%;
  height: 16px;
  display: block;
  overflow: hidden;
  opacity: 0.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
h1 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.15; }
h2 { font-size: 2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; text-transform: uppercase; }
p { line-height: 1.6; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--border); }

.text-accent  { color: var(--primary); }
.text-accent2 { color: var(--accent); }
.text-muted-site { color: var(--text-muted); }
.text-border  { color: var(--border); }

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

.section-pad {
  padding-top:    clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(28px, 3.5vw, 44px);
}

ul[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
ul[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  min-height: 44px;
}
ul[data-component="trust"] li i { color: var(--border); font-size: 1rem; }

dl[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
}
dl[data-component="stats"] > div {
  flex: 1 1 120px;
  padding: 16px 20px;
  border-right: 2px solid var(--border);
  background: var(--surface);
  text-align: center;
}
dl[data-component="stats"] > div:last-child { border-right: none; }
dl[data-component="stats"] dt {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
dl[data-component="stats"] dd {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}

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

.game-card {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 0.15s ease-out, border-color 0.15s ease-out, transform 0.15s ease-out;
}
.game-card:hover {
  box-shadow: 6px 6px 0 var(--accent);
  border-color: var(--accent);
  transform: translate(-2px, -2px);
  text-decoration: none;
}
.game-card:hover .game-card-img { transform: scale(1.04); }
.game-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.game-card-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}
.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease-out;
  image-rendering: auto;
}
.game-card-body {
  padding: 10px 12px 12px;
}
.game-tag {
  display: inline-block;
  background: var(--brand);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 0;
  margin-bottom: 4px;
}
.game-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 2px;
  line-height: 1.2;
}
.game-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

ul[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
ul[data-component="payments"] li {
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
  padding: 14px 12px;
  text-align: center;
}
ul[data-component="payments"] li .pay-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}
ul[data-component="payments"] li .pay-info {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

aside[data-component="bonus"] {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  border: 2px solid var(--border);
  box-shadow: 6px 6px 0 var(--brand-dark);
  padding: clamp(24px, 3vw, 40px);
}
.bonus-amount {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  line-height: 1;
}
.bonus-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.bonus-table th, .bonus-table td {
  padding: 10px 14px;
  border: 1px solid rgba(203,172,62,0.4);
  font-size: 0.875rem;
  text-align: left;
  line-height: 1.4;
}
.bonus-table th {
  background: rgba(45,18,214,0.5);
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--border);
}
.bonus-table td { color: var(--text); }
.bonus-tier-card {
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
  padding: 20px 18px;
  text-align: center;
}
.bonus-tier-card .tier-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.bonus-tier-card .tier-value {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.bonus-tier-card .tier-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

div[data-component="vip"] {}
.vip-table-wrap { overflow-x: auto; }
.vip-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.vip-table th, .vip-table td {
  padding: 12px 16px;
  border: 1px solid rgba(203,172,62,0.35);
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: center;
}
.vip-table th {
  background: var(--brand);
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}
.vip-table tr:nth-child(even) td { background: rgba(14,15,43,0.6); }
.vip-table td:first-child { font-family: var(--font-head); font-weight: 600; color: var(--primary); }
.vip-table .recommended td { background: rgba(45,18,214,0.35); border-color: var(--border); }

ol[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
ol[data-component="steps"] li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(203,172,62,0.3);
  align-items: start;
}
ol[data-component="steps"] li:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  background: var(--brand);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  box-shadow: 3px 3px 0 var(--border);
  flex-shrink: 0;
}
.step-content h3 { font-size: 1rem; font-weight: 600; text-transform: uppercase; color: var(--text); margin-bottom: 6px; }
.step-content p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

section[data-component="faq"] details {
  border-bottom: 1px solid var(--border);
}
section[data-component="faq"] details:last-child { border-bottom: none; }
section[data-component="faq"] summary {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
section[data-component="faq"] summary::-webkit-details-marker { display: none; }
section[data-component="faq"] summary::before {
  content: attr(data-num);
  font-size: 0.78rem;
  color: var(--text-muted);
  min-width: 22px;
}
section[data-component="faq"] summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  margin-left: auto;
  color: var(--border);
  font-size: 1rem;
  transition: transform 0.15s ease-out;
}
section[data-component="faq"] details[open] > summary::after {
  transform: rotate(180deg);
}
section[data-component="faq"] details[open] > summary {
  color: var(--primary);
}
section[data-component="faq"] .faq-body {
  padding: 0 0 18px 34px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  background: var(--surface-alt);
  border-left: 3px solid var(--brand);
  padding-left: 16px;
  margin-bottom: 2px;
}

.site-footer {
  background: var(--bg);
  border-top: 3px solid var(--border);
  padding: 40px 0 0;
}
.footer-brand-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}
.footer-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--border);
  margin-top: 4px;
}
.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  text-underline-offset: 3px;
  display: block;
  min-height: 24px;
}
.footer-links a:hover { color: var(--primary); }
.footer-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.footer-responsible {
  border: 2px solid var(--border);
  background: var(--surface-alt);
  padding: 16px;
  text-align: center;
  box-shadow: 4px 4px 0 var(--border);
}
.footer-responsible .resp-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}
.footer-responsible p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.footer-bottom {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  padding: 14px 0;
  margin-top: 32px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

.data-table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
}
.data-table th, .data-table td {
  padding: 10px 14px;
  border: 1px solid rgba(203,172,62,0.3);
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: left;
}
.data-table th {
  background: var(--brand);
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}
.data-table tr:nth-child(even) td { background: rgba(14,15,43,0.5); }

@media (max-width: 767px) {
  dl[data-component="stats"] > div { flex-basis: 45%; }
  .btn-primary-site, .btn-secondary-site, .btn-accent-site { padding: 12px 20px; }
}
@media (max-width: 479px) {
  dl[data-component="stats"] > div { flex-basis: 100%; border-right: none; border-bottom: 2px solid var(--border); }
  dl[data-component="stats"] > div:last-child { border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

:root{--qa-nav:compact}
@media (min-width: 992px) {
  .navbar .nav-link { padding-left: 6px !important; padding-right: 6px !important; letter-spacing: 0 !important; white-space: normal !important; text-align: center; }
  .navbar .navbar-nav { gap: 0 !important; min-width: 0; flex-shrink: 1; }
  .navbar .navbar-collapse { min-width: 0; }
}

:root{--site-repair:start}
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}
