: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: #180e1e;
  --surface: #261c2c;
  --surface-alt: #211827;
  --primary: #e57a4b;
  --primary-hover: #d06635;
  --accent: #bef251;
  --text: #f0eaf5;
  --text-muted: #a090ad;
  --border: #dfc25b;
  --brand-purple: #6741d7;
  --brand-purple-dark: #482e96;
  --footer-bg: #0f0914;
  --radius: 2px;
}

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

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

body {
  background-color: var(--bg);
  background-image: repeating-linear-gradient(135deg, rgba(103,65,215,0.03) 0px, rgba(103,65,215,0.03) 1px, transparent 1px, transparent 6px);
  color: var(--text);
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--brand-purple); color: #fff; }
* { text-underline-offset: 3px; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bungee', sans-serif;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { line-height: 1.6; color: var(--text); }
a { color: var(--border); text-decoration: none; }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

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

.text-muted-site { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary) !important; }
.text-border { color: var(--border); }
.font-bungee { font-family: 'Bungee', sans-serif; }

.btn-primary-site {
  background: var(--primary);
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: inline-block;
  transition: background 0.15s;
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary-site:hover { background: var(--primary-hover); color: #fff; }
.btn-primary-site:focus-visible { box-shadow: 0 0 0 2px var(--primary); outline: none; }
.btn-primary-site:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-secondary-site {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--border);
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-block;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
  line-height: 1.4;
}
.btn-secondary-site:hover { background: rgba(223,194,91,0.1); border-color: #f0d87a; color: #f0d87a; }
.btn-secondary-site:focus-visible { outline: 2px solid var(--border); outline-offset: 2px; }

.btn-brand-site {
  background: var(--brand-purple);
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.15s;
  text-decoration: none;
  line-height: 1.4;
}
.btn-brand-site:hover { background: #5535b8; color: #fff; }

.site-nav {
  background: var(--brand-purple);
  height: 56px;
  border-bottom: 1px solid rgba(223,194,91,0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}
.site-nav .navbar-brand {
  font-family: 'Bungee', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  line-height: 1;
}
.site-nav .navbar-brand .logo-img {
  height: 40px;
  width: auto;
}
.site-nav .nav-link {
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #e8dff0;
  padding: 0 12px !important;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  line-height: 56px;
  display: inline-block;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--border);
  border-bottom-color: var(--border);
}
.site-nav .navbar-toggler {
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  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%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.site-nav .navbar-collapse {
  background: var(--brand-purple);
}
.nav-btn-login {
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  border-radius: var(--radius);
  padding: 8px 20px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
  min-width: 44px;
  min-height: 44px;
  line-height: 1.4;
  text-align: center;
}
.nav-btn-login:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-btn-signup {
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 8px 20px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
  min-width: 44px;
  min-height: 44px;
  line-height: 1.4;
  text-align: center;
}
.nav-btn-signup:hover { background: var(--primary-hover); color: #fff; }

.section-divider {
  width: 100%;
  height: 24px;
  overflow: visible;
  pointer-events: none;
  display: block;
}

[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(38,28,44,0.7);
  border: 1px solid rgba(223,194,91,0.25);
  border-radius: var(--radius);
  padding: 6px 12px;
  min-height: 36px;
}
[data-component="trust"] li i { color: var(--border); font-size: 14px; }

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(223,194,91,0.25);
  border-radius: var(--radius);
  overflow: hidden;
}
[data-component="stats"] > div {
  flex: 1 1 140px;
  padding: 14px 20px;
  border-right: 1px solid rgba(223,194,91,0.2);
  text-align: center;
}
[data-component="stats"] > div:last-child { border-right: none; }
[data-component="stats"] dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
[data-component="stats"] dd {
  font-family: 'Bungee', sans-serif;
  font-size: 1.5rem;
  color: var(--border);
  margin: 0;
  line-height: 1.1;
}

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.game-card {
  background: var(--surface);
  border: 1px solid rgba(223,194,91,0.25);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.15s;
  position: relative;
}
.game-card:hover {
  border-color: var(--border);
  box-shadow: 0 0 0 1px var(--border);
}
.game-card:hover .game-img-wrap img {
  transform: scale(1.03);
}
.game-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.game-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.game-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(24,14,30,0.95) 0%, rgba(24,14,30,0.6) 60%, transparent 100%);
  padding: 24px 10px 10px;
}
.game-info-overlay h3 {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.3;
}
.game-info-overlay p {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}
.game-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}
.game-desc {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  flex: 1;
}

[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 0;
}
[data-component="payments"] li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  height: auto;
  min-height: 48px;
  border-bottom: 1px solid rgba(223,194,91,0.15);
  gap: 12px;
  flex-wrap: wrap;
}
[data-component="payments"] li:last-child { border-bottom: none; }
.pay-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  min-width: 80px;
}
.pay-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.pay-meta span {
  font-size: 13px;
  color: var(--text-muted);
}
.pay-meta strong { color: var(--border); }

[data-component="bonus"] {
  background: var(--surface-alt);
  border: 2px solid var(--brand-purple);
  border-radius: var(--radius);
  padding: 32px;
}
.bonus-big-num {
  font-family: 'Bungee', sans-serif;
  font-size: clamp(3rem, 8vw, 4.5rem);
  color: var(--primary);
  line-height: 1;
  display: block;
}
.bonus-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}
.bonus-table th {
  text-align: left;
  color: var(--border);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(223,194,91,0.25);
}
.bonus-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(223,194,91,0.1);
  color: var(--text);
  vertical-align: top;
}
.bonus-table tr:last-child td { border-bottom: none; }
.bonus-table td:first-child { color: var(--text-muted); font-size: 13px; }

[data-component="vip"] { overflow-x: auto; }
.vip-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 13px;
}
.vip-table th {
  background: var(--brand-purple);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.vip-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(223,194,91,0.1);
  color: var(--text);
  vertical-align: middle;
}
.vip-table tr:nth-child(even) td { background: rgba(38,28,44,0.4); }
.vip-table tr.vip-highlight td { background: rgba(103,65,215,0.15); border-left: 2px solid var(--brand-purple); }
.vip-tier-name {
  font-family: 'Bungee', sans-serif;
  font-size: 14px;
  color: var(--border);
}
.vip-manager-yes { color: var(--accent); font-weight: 600; }
.vip-manager-no { color: var(--text-muted); }

[data-component="steps"] {
  position: relative;
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.step-item {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}
.step-item:last-child { padding-bottom: 0; }
.step-line {
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: rgba(103,65,215,0.4);
}
.step-item:last-child .step-line { display: none; }
.step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--brand-purple);
  color: #fff;
  font-family: 'Bungee', sans-serif;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.step-content h4 {
  font-family: 'Bungee', sans-serif;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 65ch;
}

[data-component="faq"] details {
  background: var(--bg);
  border-bottom: 1px solid rgba(223,194,91,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 4px;
}
[data-component="faq"] details[open] {
  background: var(--surface);
}
[data-component="faq"] summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  color: var(--border);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.15s;
}
[data-component="faq"] details[open] summary::after {
  content: '\F286';
}
[data-component="faq"] summary:focus-visible { outline: 2px solid var(--primary); }
[data-component="faq"] > details > div,
[data-component="faq"] details > div {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 72ch;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-heading h2 { margin: 0; }
.section-heading a {
  font-size: 13px;
  font-weight: 600;
  color: var(--border);
  margin-left: auto;
  white-space: nowrap;
}
.section-heading a:hover { color: var(--text); }

.site-footer {
  background: var(--footer-bg);
  border-top: 2px solid var(--brand-purple);
  padding: clamp(32px, 4vw, 48px) 5vw clamp(16px, 2vw, 24px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand .logo-text {
  font-family: 'Bungee', sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.footer-brand .logo-text .lb { color: #fff; }
.footer-brand .logo-text .num { color: var(--border); }
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 28ch;
}
.footer-col-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--border);
  margin-bottom: 14px;
  display: block;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid rgba(223,194,91,0.15);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.footer-responsible {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.badge-18 {
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 1px solid rgba(223,194,91,0.4);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bungee', sans-serif;
  font-size: 11px;
  color: var(--border);
  flex-shrink: 0;
}
.pay-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.pay-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid rgba(223,194,91,0.2);
  border-radius: var(--radius);
  padding: 4px 10px;
}

@media (max-width: 991.98px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1399.98px) {
  .site-nav .navbar-collapse {
    padding: 12px 0 16px;
    border-top: 1px solid rgba(223,194,91,0.2);
    margin-top: 0;
  }
  .site-nav .nav-link { line-height: 1.5; padding: 10px 16px !important; display: block; }
  .nav-btn-wrap { padding: 10px 16px; display: flex; gap: 10px; flex-wrap: wrap; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  [data-component="game-grid"] { grid-template-columns: repeat(2, 1fr); }
  [data-component="stats"] > div { flex: 1 1 calc(50% - 1px); border-right: none; border-bottom: 1px solid rgba(223,194,91,0.2); }
  [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; }
}

.site-section {
  padding: clamp(28px, 3.5vw, 44px) 0;
}
.site-section-alt {
  background: var(--surface-alt);
  padding: clamp(28px, 3.5vw, 44px) 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}

:root{--w1-guard:start}
/* 组件版块是多栏网格、里面只有一个子元素（整块内容被挤进第一栏，如 FAQ 答案区宽度 0）→ 一栏 */
main :is(section, div)[data-component]:not(:has(> :nth-child(2))) { grid-template-columns: minmax(0, 1fr) !important; }
main :is([class*="wrapper"], [class*="layout"]):not(:has(> :nth-child(2))) { grid-template-columns: minmax(0, 1fr) !important; }
/* 手机菜单展开时：折叠菜单在不换行的 flex 容器里 → 挤成旁边一窄列、logo 被挤下去 → 父容器换行，菜单占满一行 */
header .navbar :has(> .navbar-collapse:is(.show, .collapsing)) { flex-wrap: wrap !important; }
header .navbar .navbar-collapse:is(.show, .collapsing) { flex-basis: 100% !important; }
/* 展开的菜单超出页头时被首屏里定位过的元素（标题、图片层）盖住 → 菜单自己定位、抬到最上层 */
.navbar .navbar-collapse:is(.show, .collapsing) { position: relative; z-index: 1030; order: 99; }
/* 页头高度写死、内容垂直居中：展开的菜单从上下两头溢出（上半截跑出屏幕）→ 展开时页头高度随内容 */
header:has(.navbar-collapse:is(.show, .collapsing)), header :has(> .navbar-collapse:is(.show, .collapsing)) { height: auto !important; max-height: none !important; align-items: flex-start; }
:root{--w1-guard:end}
