: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: #f5f3fb;
  --surface: #fcfbfe;
  --surface-alt: #ebe9f1;
  --primary: #07826b;
  --primary-text: #ffffff;
  --accent: #b05b1f;
  --text: #1a1830;
  --text-muted: #5a5670;
  --border: #ae8735;
  --brand: #2b2667;
  --brand-dark: #1e1b48;
}

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

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0L50 10L40 20L30 10ZM0 40L10 50L0 60L-10 50ZM80 40L90 50L80 60L70 50ZM40 80L50 90L40 100L30 90Z' stroke='%23ffffff' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

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

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  text-decoration: underline;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--primary-text);
  border: none;
  border-radius: 2px;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-family: 'Source Sans 3', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease-out;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background: #05614f;
  box-shadow: 2px 2px 0 0 #05614f;
  text-decoration: none;
  color: var(--primary-text);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 2px;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-family: 'Source Sans 3', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease-out;
  display: inline-block;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(7, 130, 107, 0.08);
  text-decoration: none;
  color: var(--primary);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary-text);
  border: none;
  border-radius: 2px;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-family: 'Source Sans 3', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease-out;
  display: inline-block;
  text-decoration: none;
}

.btn-accent:hover {
  background: #8f4718;
  text-decoration: none;
  color: var(--primary-text);
}

.banner-flags {
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg width='1200' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0L15 9L0 18V0ZM30 0L45 9L30 18V0ZM60 0L75 9L60 18V0ZM90 0L105 9L90 18V0ZM120 0L135 9L120 18V0ZM150 0L165 9L150 18V0Z' fill='%232b2667'/%3E%3Cpath d='M180 0L195 9L180 18V0ZM210 0L225 9L210 18V0ZM240 0L255 9L240 18V0Z' fill='%2307826b'/%3E%3Cpath d='M270 0L285 9L270 18V0ZM300 0L315 9L300 18V0Z' fill='%23ae8735'/%3E%3Cpath d='M330 0L345 9L330 18V0ZM360 0L375 9L360 18V0Z' fill='%23b05b1f'/%3E%3Cpath d='M390 0L405 9L390 18V0ZM420 0L435 9L420 18V0Z' fill='%23f5c842'/%3E%3Cpath d='M450 0L465 9L450 18V0ZM480 0L495 9L480 18V0Z' fill='%23e8e8e8'/%3E%3C/svg%3E") repeat-x;
  background-size: 480px 18px;
}

.navbar {
  background: var(--brand);
  height: 64px;
  position: relative;
  z-index: 10;
}

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

.navbar-nav .nav-link {
  color: #d4d0f0;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  position: relative;
  transition: color 0.2s ease-out;
}

.navbar-nav .nav-link:hover {
  color: #ffffff;
}

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

.navbar-nav .nav-link.active {
  color: #ffffff;
}

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

.navbar .btn-secondary {
  border-color: var(--border);
  color: #ffffff;
  padding: 8px 20px;
  font-size: 0.875rem;
}

.navbar .btn-secondary:hover {
  background: rgba(174, 135, 53, 0.13);
  color: #ffffff;
}

.navbar .btn-primary {
  padding: 8px 20px;
  font-size: 0.875rem;
}

footer {
  background: var(--brand-dark);
  color: #a8a4c8;
  padding: 40px 0 20px;
  margin-top: 3rem;
}

footer h4 {
  color: var(--border);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: 'Source Sans 3', sans-serif;
}

footer a {
  color: #a8a4c8;
  font-size: 0.875rem;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s ease-out;
}

footer a:hover {
  color: #ffffff;
}

footer .copyright {
  border-top: 1px solid var(--brand);
  padding-top: 20px;
  margin-top: 20px;
  text-align: center;
  color: #5a5680;
  font-size: 0.8125rem;
}

footer .age-badge {
  border: 1.5px solid var(--border);
  border-radius: 2px;
  padding: 4px 8px;
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--border);
}

.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
  position: relative;
}

.section-divider-pattern {
  height: 8px;
  width: 160px;
  background: url("data:image/svg+xml,%3Csvg width='160' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4L4 0L8 4L4 8ZM12 4L16 0L20 4L16 8ZM24 4L28 0L32 4L28 8Z' fill='%23ae8735' opacity='0.4'/%3E%3C/svg%3E") repeat-x center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

[data-component="trust"] {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  padding: 0;
  margin: 1.5rem 0;
}

[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

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

[data-component="stats"] div {
  text-align: center;
}

[data-component="stats"] dd {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  font-family: 'Playfair Display', serif;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

[data-component="stats"] dt {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
}

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

.game-card {
  background: var(--surface);
  border: 1px solid var(--surface-alt);
  border-radius: 2px;
  box-shadow: 1px 1px 0 0 var(--border);
  overflow: hidden;
  transition: all 0.2s ease-out;
  text-decoration: none;
  display: block;
}

.game-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 2px 3px 0 0 var(--brand);
  text-decoration: none;
}

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

.game-card-info {
  padding: 8px 10px;
}

.game-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px 0;
}

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

.game-tag {
  background: var(--brand);
  color: #d4d0f0;
  font-size: 0.72rem;
  padding: 1px 5px;
  border-radius: 0px;
  display: inline-block;
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

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

[data-component="payments"] li {
  background: var(--surface);
  border: 1px solid var(--surface-alt);
  border-radius: 2px;
  padding: 1rem;
  text-align: center;
}

[data-component="payments"] strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

[data-component="payments"] small {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

[data-component="bonus"] {
  background: var(--surface);
  border: 1px solid var(--surface-alt);
  border-radius: 2px;
  box-shadow: 1px 1px 0 0 var(--border);
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
}

[data-component="bonus"] .bonus-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--primary-text);
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

[data-component="bonus"] .bonus-value {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

[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: 1px solid var(--border);
}

[data-component="bonus"] th {
  background: var(--brand);
  color: var(--primary-text);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
}

[data-component="bonus"] td {
  font-size: 0.9375rem;
}

[data-component="vip"] {
  margin: 2rem 0;
}

[data-component="vip"] table {
  width: 100%;
  border-collapse: collapse;
}

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

[data-component="vip"] th {
  background: var(--brand);
  color: var(--primary-text);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
}

[data-component="vip"] td {
  font-size: 0.9375rem;
  background: var(--surface);
}

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  counter-reset: step;
}

[data-component="steps"] li {
  counter-increment: step;
  position: relative;
  padding-left: 4rem;
  margin-bottom: 2rem;
}

[data-component="steps"] li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: var(--primary-text);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  font-family: 'Playfair Display', serif;
}

[data-component="steps"] h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

[data-component="steps"] p {
  color: var(--text-muted);
  margin: 0;
}

[data-component="faq"] {
  margin: 2rem 0;
}

[data-component="faq"] details {
  background: var(--surface);
  border: 1px solid var(--surface-alt);
  border-radius: 2px;
  margin-bottom: 1rem;
  overflow: hidden;
}

[data-component="faq"] details[open] {
  border-left: 2px solid var(--primary);
}

[data-component="faq"] summary {
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  list-style: none;
  position: relative;
  user-select: none;
}

[data-component="faq"] summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease-out;
}

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

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

[data-component="faq"] .faq-answer {
  padding: 0 1.5rem 1rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  [data-component="game-grid"] {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  [data-component="stats"] {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  [data-component="payments"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

: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-fix:start}
/* 汉堡按钮看不清（图标/边框和页头同色） */
.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%2c255%2c255%2c.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; }
.navbar-toggler { border-color: rgba(255,255,255, .55) !important; }
:root{--w1-fix:end}
:root{--w3-guard:start}
ol.row[data-component="steps"], ul.row[data-component="steps"], div.row[data-component="steps"]{display:flex !important;flex-wrap:wrap !important}
main :is(ol,ul):has(> div:only-child){display:block !important}
:root{--w3-guard:end}
:root{--w3-email:start}
html body footer .sr-email{font-size:14px !important;line-height:22.4px;font-weight:400 !important;color:rgb(168, 164, 200) !important;font-family:"Source Sans 3", sans-serif}
:root{--w3-email:end}
