: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: #f0efef;
  --surface: #fafafa;
  --surface-alt: #e6e5e5;
  --primary: #a27d08;
  --primary-hover: #8a6a06;
  --primary-text: #0b1220;
  --accent: #11abdc;
  --text: #1a1410;
  --text-muted: #5a4949;
  --brand-nav: #5a4949;
  --brand-dark: #3f3333;
  --border: #ab8e40;
  --font-heading: 'Righteous', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --radius-card: 10px 10px 2px 2px;
  --radius-btn: 6px;
  --radius-pill: 20px;
  --shadow-card: 0 2px 8px rgba(90,73,73,0.10), 0 1px 2px rgba(162,125,8,0.08);
  --shadow-card-hover: 0 6px 20px rgba(162,125,8,0.18), 0 2px 6px rgba(90,73,73,0.12);
  --shadow-nav: 0 2px 6px rgba(63,51,51,0.12);
  --shadow-ticket: 0 4px 16px rgba(162,125,8,0.20);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(0deg, rgba(171,142,64,0.05) 0px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(171,142,64,0.05) 0px, transparent 1px, transparent 40px);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

::selection {
  background: rgba(162,125,8,0.22);
  color: var(--brand-dark);
}

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

a {
  color: var(--primary);
  text-decoration-skip-ink: auto;
  text-underline-offset: 3px;
}
a:hover { color: var(--primary-hover); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--brand-dark);
  overflow-wrap: anywhere;
}

h1 { font-size: 2.4rem; font-weight: 700; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 0.85rem; line-height: 1.6; }
p:last-child { margin-bottom: 0; }

.btn-primary-site {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: none;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
.btn-primary-site:hover {
  background: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(162,125,8,0.35);
}
.btn-primary-site:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 2px;
}

.btn-secondary-site {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
.btn-secondary-site:hover {
  background: rgba(171,142,64,0.10);
  border-color: var(--primary);
  color: var(--text-muted);
}
.btn-secondary-site:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 2px;
}

.btn-accent-site {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

.section-title-wrap {
  text-align: center;
  margin-bottom: 2rem;
}
.section-title-wrap h2 {
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-size: 1.6rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-title-wrap h2::before,
.section-title-wrap h2::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border));
}
.section-title-wrap h2::after {
  background: linear-gradient(90deg, var(--border), transparent);
}

.divider {
  position: relative;
  text-align: center;
  padding: 8px 0;
  overflow: hidden;
}
.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  opacity: 0.5;
}
.divider svg {
  position: relative;
  z-index: 1;
  background: inherit;
  padding: 0 8px;
}

.ticket-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: visible;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ticket-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

[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;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary);
}
.game-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.game-card-info {
  padding: 8px 12px 12px;
  border-top: 2px dashed var(--border);
  position: relative;
}
.game-card-info::before,
.game-card-info::after {
  content: '';
  position: absolute;
  top: -6px;
  width: 10px;
  height: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
}
.game-card-info::before { left: -5px; }
.game-card-info::after { right: -5px; }
.game-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--surface-alt);
  border-radius: 3px;
  padding: 1px 6px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.game-card h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 2px;
  line-height: 1.3;
}
.game-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 767px) {
  [data-component="trust"] { grid-template-columns: repeat(2, 1fr); }
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid rgba(171,142,64,0.35);
  border-radius: var(--radius-btn);
  padding: 10px 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.trust-badge i {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

[data-component="stats"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
@media (max-width: 767px) {
  [data-component="stats"] { grid-template-columns: repeat(2, 1fr); }
}
[data-component="stats"] > div {
  background: var(--surface);
  padding: 14px 12px;
  text-align: center;
}
[data-component="stats"] dt {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
[data-component="stats"] dd {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
}

[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 767px) {
  [data-component="payments"] { grid-template-columns: repeat(2, 1fr); }
}
.payment-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.payment-block .pm-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--brand-dark);
  margin-bottom: 8px;
}
.payment-block .pm-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
  padding-top: 6px;
  margin-top: 6px;
}
.payment-block .pm-row span:first-child {
  font-weight: 600;
}

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 767px) {
  [data-component="steps"] { grid-template-columns: repeat(2, 1fr); }
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 16px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card);
  margin: 4px;
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  flex-shrink: 0;
}
.step-arrow {
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  color: var(--border);
  font-size: 1.2rem;
  z-index: 2;
}
@media (max-width: 767px) {
  .step-arrow { display: none; }
}

[data-component="faq"] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
@media (max-width: 767px) {
  [data-component="faq"] { grid-template-columns: 1fr; }
}
[data-component="faq"] details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
[data-component="faq"] details[open] {
  border-left: 3px solid var(--primary);
}
[data-component="faq"] summary {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-dark);
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  font-size: 0.9rem;
  color: var(--border);
  flex-shrink: 0;
  transition: transform 0.2s;
}
[data-component="faq"] details[open] summary::after {
  transform: rotate(180deg);
  content: '\F286';
}
[data-component="faq"] details > div {
  padding: 0 16px 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}

[data-component="vip"] .vip-track {
  position: relative;
  padding: 24px 0 8px;
}
[data-component="vip"] .vip-bar-bg {
  height: 8px;
  background: var(--surface-alt);
  border-radius: 4px;
  position: relative;
  margin: 0 0 32px;
  border: 1px solid var(--border);
}
[data-component="vip"] .vip-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  width: 16.6%;
}
[data-component="vip"] .vip-tiers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
@media (max-width: 991px) {
  [data-component="vip"] .vip-tiers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  [data-component="vip"] .vip-tiers-grid { grid-template-columns: repeat(2, 1fr); }
}
.vip-tier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
}
.vip-tier-card.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-ticket);
}
.vip-tier-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.vip-tier-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

[data-component="bonus"] .bonus-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
@media (max-width: 991px) {
  [data-component="bonus"] .bonus-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  [data-component="bonus"] .bonus-cards { grid-template-columns: 1fr 1fr; }
}
.bonus-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
}
.bonus-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-ticket);
  z-index: 1;
}
.bonus-card::before,
.bonus-card::after {
  content: '';
  position: absolute;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
}
.bonus-card::before { left: -6px; }
.bonus-card::after { right: -6px; }
.bonus-pct {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.bonus-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.bonus-cap {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.bonus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.bonus-table th {
  background: var(--surface-alt);
  color: var(--brand-dark);
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid var(--border);
}
.bonus-table td {
  padding: 9px 12px;
  border: 1px solid rgba(171,142,64,0.3);
  color: var(--text-muted);
  vertical-align: top;
}
.bonus-table tr:nth-child(even) td { background: var(--surface-alt); }

.site-navbar {
  background: var(--brand-nav);
  box-shadow: var(--shadow-nav);
  padding: 0;
  min-height: 64px;
}
.site-navbar .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-navbar .navbar-brand span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fafafa;
  margin-left: 6px;
}
.site-navbar .nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #e6e5e5;
  padding: 4px 10px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.site-navbar .nav-link:hover {
  color: var(--border);
  border-bottom-color: var(--primary);
}
.site-navbar .nav-link.active {
  background: var(--brand-dark);
  border-radius: var(--radius-pill);
  padding: 4px 16px;
  color: #fafafa;
  border-bottom-color: transparent;
}
.site-navbar .btn-nav-login {
  border: 1.5px solid var(--border);
  background: transparent;
  color: #fafafa;
  border-radius: var(--radius-btn);
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-navbar .btn-nav-login:hover {
  background: rgba(171,142,64,0.15);
  color: #fafafa;
}
.site-navbar .btn-nav-signup {
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-btn);
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: none;
  margin-left: 8px;
}
.site-navbar .btn-nav-signup:hover {
  background: var(--primary-hover);
  color: #ffffff;
}
.navbar-toggler {
  border-color: var(--border);
  min-width: 44px;
  min-height: 44px;
}
.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='%23e6e5e5' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-footer {
  background: var(--brand-dark);
  padding: 48px 0 24px;
  color: #e6e5e5;
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--border);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-links li { margin-bottom: 6px; }
.site-footer .footer-links a {
  font-size: 0.85rem;
  color: #c8bfbf;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer .footer-links a:hover { color: #fafafa; }
.site-footer .footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fafafa;
  display: block;
  margin-bottom: 4px;
}
.site-footer .footer-slogan {
  font-size: 0.82rem;
  color: var(--border);
}
.site-footer .footer-divider {
  border-color: #5a4949;
  margin: 24px 0 16px;
}
.site-footer .footer-bottom {
  font-size: 0.78rem;
  color: #8a7e7e;
  text-align: center;
}
.badge-18 {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: #fafafa;
}
.footer-responsible {
  text-align: right;
}
.footer-responsible p {
  font-size: 0.75rem;
  color: #8a7e7e;
  margin: 4px 0 0;
}

.breadcrumb-bar {
  background: var(--surface-alt);
  padding: 10px 0;
}
.breadcrumb {
  margin: 0;
  background: none;
  padding: 0;
}
.breadcrumb-item a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb-item.active {
  color: var(--primary);
  font-size: 0.82rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
}

.rg-banner {
  background: var(--surface-alt);
  border: 1px solid rgba(171,142,64,0.3);
  border-radius: var(--radius-card);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.rg-banner i { color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }

.privacy-note {
  background: var(--surface);
  border: 1px solid rgba(171,142,64,0.35);
  border-radius: var(--radius-card);
  padding: 14px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.privacy-note i { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

input, select, textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--surface);
  transition: outline 0.2s, border-color 0.2s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

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

@media (max-width: 319px) {
  body { font-size: 0.88rem; }
  h1 { font-size: 1.6rem; }
}

: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}
