: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: #f9fbf5;
  --surface: #fdfefc;
  --surface-alt: #eff1eb;
  --primary: #025ac8;
  --primary-hover: #0349a3;
  --primary-text: #ffffff;
  --brand: #1a8833;
  --brand-dark: #125f24;
  --accent: #b15313;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --border: #a49137;
  --spacing: clamp(28px, 3.5vw, 44px);
}

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

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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  caret-color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Righteous', sans-serif;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 0.5em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 0.75em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
  max-width: 75ch;
}

a {
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration: underline;
}

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

.container, .container-xl {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main > * {
  padding: var(--spacing) 0;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary);
  color: var(--primary-text);
  font-weight: 600;
  font-size: 16px;
  border: none;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  cursor: pointer;
  transition: all 0.3s ease-out;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 12px rgba(2, 90, 200, 0.4), 0 0 0 2px rgba(2, 90, 200, 0.3) inset;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary:focus-visible {
  outline: 4px solid rgba(2, 90, 200, 0.3);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--primary);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  cursor: pointer;
  transition: all 0.3s ease-out;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(2, 90, 200, 0.08);
  text-decoration: none;
}

.btn-secondary:focus-visible {
  outline: 4px solid rgba(2, 90, 200, 0.3);
  outline-offset: 2px;
}

header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(26, 136, 51, 0.08);
}

.navbar {
  height: 80px;
  padding: 0;
}

.navbar-brand {
  font-family: 'Righteous', sans-serif;
  font-size: 2rem;
  color: var(--brand);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--brand);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--text);
  font-weight: 600;
  padding: 0.5rem 1rem;
  position: relative;
  transition: color 0.3s ease-out;
}

.navbar-nav .nav-link:hover {
  color: var(--brand);
}

.navbar-nav .nav-link.active {
  color: var(--brand);
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: var(--brand);
}

.navbar-toggler {
  border: 2px solid var(--border);
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(164, 145, 55, 0.3);
}

.nav-buttons {
  display: flex;
  gap: 12px;
  margin-left: 20px;
}

.nav-buttons .btn-secondary {
  padding: 10px 24px;
  font-size: 14px;
}

.nav-buttons .btn-primary {
  padding: 10px 24px;
  font-size: 14px;
}

footer {
  background: var(--brand-dark);
  color: var(--primary-text);
  padding: var(--spacing) 0 20px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60'%3E%3Cpath fill='%23ffffff' opacity='0.15' d='M0,30 L40,10 L80,30 L120,10 L160,30 L200,10 L240,30 L280,10 L320,30 L360,10 L400,30 L440,10 L480,30 L520,10 L560,30 L600,10 L640,30 L680,10 L720,30 L760,10 L800,30 L840,10 L880,30 L920,10 L960,30 L1000,10 L1040,30 L1080,10 L1120,30 L1160,10 L1200,30 L1200,0 L0,0 Z'/%3E%3C/svg%3E");
  background-size: 100% 60px;
  background-repeat: no-repeat;
}

footer h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--primary-text);
}

footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: opacity 0.3s ease-out;
}

footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

footer .copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.7;
  font-size: 14px;
}

.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 0;
  font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--primary);
}

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

::-webkit-scrollbar-track {
  background: var(--surface-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 0;
}

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

input, textarea, select {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  border: 2px solid rgba(164, 145, 55, 0.3);
  background: var(--surface);
  color: var(--text);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: border-color 0.3s ease-out;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(2, 90, 200, 0.1);
}

input.error, textarea.error, select.error {
  border-color: #d32f2f;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.5rem;
}

[data-component="trust"] {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--brand-dark);
  color: var(--primary-text);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 600;
}

[data-component="trust"] i {
  font-size: 1.5rem;
  color: var(--primary-text);
}

[data-component="stats"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin: 0;
}

[data-component="stats"] > div {
  background: var(--surface);
  padding: 1.5rem;
  text-align: center;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 2px 8px rgba(26, 136, 51, 0.12), 0 0 0 1px rgba(164, 145, 55, 0.2);
}

[data-component="stats"] dt {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

[data-component="stats"] dd {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--brand);
  font-family: 'Righteous', sans-serif;
  margin: 0;
}

[data-component="stats"] i {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--surface);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  border: 2px solid rgba(164, 145, 55, 0.3);
  overflow: hidden;
  transition: all 0.3s ease-out;
  text-decoration: none;
  display: block;
  position: relative;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(26, 136, 51, 0.2);
  text-decoration: none;
}

.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.game-card .game-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand);
  color: var(--primary-text);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.game-card h3 {
  padding: 1rem 1rem 0.5rem;
  margin: 0;
  font-size: 1.125rem;
  color: var(--text);
}

.game-card p {
  padding: 0 1rem 1rem;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

[data-component="payments"] {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

[data-component="payments"] li {
  background: var(--surface);
  padding: 1.5rem;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 2px 8px rgba(26, 136, 51, 0.12), 0 0 0 1px rgba(164, 145, 55, 0.2);
}

[data-component="payments"] h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--brand);
}

[data-component="payments"] p {
  margin: 0.25rem 0;
  font-size: 14px;
}

[data-component="bonus"] {
  background: var(--surface);
  padding: 2rem;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 2px 8px rgba(26, 136, 51, 0.12), 0 0 0 1px rgba(164, 145, 55, 0.2);
}

[data-component="bonus"] h2 {
  margin-bottom: 1rem;
}

[data-component="bonus"] .bonus-display {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brand);
  font-family: 'Righteous', sans-serif;
  margin-bottom: 1rem;
}

[data-component="bonus"] table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

[data-component="bonus"] th,
[data-component="bonus"] td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(164, 145, 55, 0.2);
}

[data-component="bonus"] th {
  font-weight: 600;
  color: var(--brand);
}

[data-component="vip"] {
  overflow-x: auto;
}

[data-component="vip"] table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

[data-component="vip"] th,
[data-component="vip"] td {
  padding: 1rem;
  text-align: left;
  border: 1px solid rgba(164, 145, 55, 0.2);
}

[data-component="vip"] th {
  background: var(--surface-alt);
  font-weight: 600;
  color: var(--brand);
}

[data-component="vip"] .tier-name {
  font-weight: 700;
  font-family: 'Righteous', sans-serif;
}

[data-component="vip"] .copper { color: var(--accent); }
[data-component="vip"] .silver { color: #727272; }
[data-component="vip"] .gold { color: var(--border); }
[data-component="vip"] .platinum { color: var(--primary); }
[data-component="vip"] .titanium { color: #7c3fa6; }
[data-component="vip"] .royal { color: #7c3fa6; }

[data-component="steps"] {
  list-style: none;
  counter-reset: steps;
  display: grid;
  gap: 2rem;
}

[data-component="steps"] li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
}

[data-component="steps"] li::before {
  content: counter(steps);
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Righteous', sans-serif;
  color: var(--brand);
  line-height: 1;
}

[data-component="steps"] h3 {
  margin-top: 0;
}

[data-component="faq"] {
  max-width: 900px;
  margin: 0 auto;
}

[data-component="faq"] details {
  background: var(--surface);
  margin-bottom: 1rem;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 2px 8px rgba(26, 136, 51, 0.12), 0 0 0 1px rgba(164, 145, 55, 0.2);
  transition: all 0.3s ease-out;
}

[data-component="faq"] details[open] {
  background: var(--surface-alt);
  box-shadow: 0 4px 12px rgba(26, 136, 51, 0.18), 0 0 0 2px var(--brand);
}

[data-component="faq"] summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.125rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

[data-component="faq"] summary::-webkit-details-marker {
  display: none;
}

[data-component="faq"] summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  font-size: 1.5rem;
  color: var(--brand);
  transition: transform 0.3s ease-out;
}

[data-component="faq"] details[open] summary::after {
  transform: rotate(180deg);
}

[data-component="faq"] summary:hover {
  color: var(--brand);
}

[data-component="faq"] summary:focus-visible {
  outline: 4px solid rgba(26, 136, 51, 0.3);
  outline-offset: -4px;
}

[data-component="faq"] div {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

[data-component="toc"] {
  background: var(--surface);
  padding: 1.5rem;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 2px 8px rgba(26, 136, 51, 0.12), 0 0 0 1px rgba(164, 145, 55, 0.2);
  margin-bottom: 2rem;
}

[data-component="toc"] h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

[data-component="toc"] ol {
  list-style: none;
  counter-reset: toc;
  padding-left: 0;
}

[data-component="toc"] li {
  counter-increment: toc;
  margin-bottom: 0.5rem;
}

[data-component="toc"] a {
  text-decoration: none;
  color: var(--text);
  display: block;
  padding: 0.5rem 0;
  transition: color 0.3s ease-out;
}

[data-component="toc"] a:hover {
  color: var(--brand);
  text-decoration: underline;
}

[data-component="toc"] a::before {
  content: counter(toc) ". ";
  color: var(--brand);
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(164, 145, 55, 0.2);
}

th {
  font-weight: 600;
  background: var(--surface-alt);
  color: var(--brand);
}

@media (max-width: 768px) {
  .nav-buttons {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }
  
  .nav-buttons .btn-secondary,
  .nav-buttons .btn-primary {
    flex: 1;
  }

  [data-component="game-grid"] {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .game-card img {
    height: 150px;
  }

  [data-component="steps"] li {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }

  [data-component="steps"] li::before {
    font-size: 2rem;
  }
}

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

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

[data-component="steps"] > li > * { grid-column: 2; }
[data-component="steps"] > li::before { grid-row: span 2; }
:root{--site-repair:end}


:root{--w1-manual:start}
/* 首屏：背景图和遮罩是绝对定位的伪元素，文字容器没定位 → 被盖在图片下面 */
.hero-section > [class*="container"] { position: relative; z-index: 2; }
/* 标题里的品牌色字（绿）压在绿色遮罩上看不清 → 金色；手机上遮罩加深，白字副标题看得清 */
.hero-content h1 .brand-color { color: #ffd34d !important; }
.hero-content :is(h1, .subtitle) { text-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
@media (max-width: 991.98px) { .hero-section::after { background: rgba(18, 95, 36, .82) !important; bottom: 0; } }
.hero-buttons .btn-secondary { color: #fff !important; border-color: #fff !important; }
:root{--w1-manual: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}
