: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 {
  --color-primary: #50484b;
  --color-secondary: #383234;
  --color-accent: #03a727;
  --color-secondary-accent: #cf8f23;
  --color-tertiary: #c39823;
  --bg-light: #f8f8f8;
  --bg-alternate: #eeeeee;
  --bg-card: #fdfdfd;
  --text-dark: #2a2a2a;
  --text-muted: #666666;
  --border-light: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.16);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--color-tertiary) var(--bg-light);
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--color-tertiary);
  color: #ffffff;
}

::-webkit-selection {
  background-color: var(--color-tertiary);
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-dark);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text-dark);
}

h3 {
  font-size: 1.3rem;
}

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

a {
  color: var(--color-secondary);
  text-decoration: none;
  text-underline-offset: 0.25em;
  transition: color 0.2s ease-out;
}

a:hover {
  color: var(--color-accent);
}

a:focus-visible {
  outline: 2px solid var(--color-tertiary);
  outline-offset: 2px;
  border-radius: 2px;
}

button, .btn {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  border: none;
  border-radius: 10px 10px 2px 2px;
  padding: 12px 28px;
  cursor: pointer;
  transition: all 0.2s ease-out;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  border: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #028c1f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-tertiary);
  outline-offset: 2px;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--bg-alternate);
  color: var(--color-secondary);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--color-tertiary);
  outline-offset: 2px;
}

input, textarea, select {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background-color: var(--bg-card);
  color: var(--text-dark);
  transition: border-color 0.2s ease-out;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-tertiary);
  box-shadow: 0 0 0 3px rgba(195, 152, 35, 0.1);
}

input::caret-color {
  color: var(--color-tertiary);
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

th {
  background-color: var(--bg-alternate);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
}

tr:last-child td {
  border-bottom: none;
}

header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.navbar {
  padding: 12px 0;
}

.navbar-brand img {
  height: 36px;
  width: auto;
  display: block;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-accent) !important;
}

.navbar-nav .nav-link:focus-visible {
  outline: 2px solid var(--color-tertiary);
  outline-offset: 2px;
  border-radius: 2px;
}

.navbar-toggler {
  border-color: var(--color-primary);
}

.navbar-toggler:focus-visible {
  outline: 2px solid var(--color-tertiary);
  outline-offset: 2px;
}

main {
  min-height: calc(100vh - 200px);
}

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

main > section > .container,
main > section > .container-xl {
  max-width: 1280px;
}

footer {
  background-color: var(--color-secondary);
  color: #cccccc;
  border-top: 1px solid #444444;
  padding: 60px 40px 40px;
  margin-top: 60px;
}

footer a {
  color: var(--color-tertiary);
}

footer a:hover {
  color: #e6c200;
}

.container, .container-xl {
  max-width: 1280px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .container, .container-xl {
    padding-left: 40px;
    padding-right: 40px;
  }
}

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

[data-component="trust"] {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 20px;
  background-color: rgba(80, 72, 75, 0.05);
  border-radius: 8px;
  margin: 24px 0;
}

[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-dark);
  min-width: 120px;
}

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

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

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

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

[data-component="stats"] dd {
  font-size: 2rem;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0;
}

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

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

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

.game-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px 10px 2px 2px;
  aspect-ratio: 4/5;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  box-shadow: var(--shadow-sm);
  color: #ffffff;
  text-decoration: none;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.game-card:focus-visible {
  outline: 2px solid var(--color-tertiary);
  outline-offset: 2px;
}

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

.game-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  pointer-events: none;
}

.game-card > span,
.game-card > h3,
.game-card > p {
  position: absolute;
  left: 12px;
  right: 12px;
  z-index: 2;
}

.game-tag {
  display: inline-block;
  font-size: 0.75rem;
  background-color: var(--color-secondary-accent);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  top: 12px;
}

.game-card h3 {
  font-size: 1.1rem;
  margin: 0;
  bottom: 32px;
}

.game-card p {
  font-size: 0.85rem;
  color: #dddddd;
  margin: 0;
  bottom: 8px;
}

[data-component="payments"] {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

[data-component="payments"] li {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 16px;
  background-color: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-light);
  align-items: center;
}

@media (max-width: 768px) {
  [data-component="payments"] li {
    grid-template-columns: 1fr;
  }
}

[data-component="bonus"] {
  background-color: var(--bg-card);
  border: 2px dashed var(--color-tertiary);
  border-radius: 10px 10px 2px 2px;
  padding: 28px;
  margin: 32px 0;
  max-width: 500px;
  box-shadow: var(--shadow-sm);
}

[data-component="bonus"] h3 {
  font-size: 1.8rem;
  color: var(--color-accent);
}

[data-component="bonus"] .bonus-cap {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

[data-component="bonus"] table {
  font-size: 0.9rem;
}

[data-component="steps"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 32px 0;
  list-style: none;
}

[data-component="steps"] li {
  display: flex;
  gap: 16px;
}

[data-component="steps"] li::before {
  content: attr(data-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: var(--color-accent);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
  flex-shrink: 0;
}

[data-component="steps"] h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

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

[data-component="vip"] {
  margin: 32px 0;
  overflow-x: auto;
}

[data-component="vip"] table {
  font-size: 0.95rem;
}

[data-component="vip"] td {
  vertical-align: middle;
}

[data-component="faq"] {
  margin: 32px 0;
}

[data-component="faq"] details {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 16px;
  transition: box-shadow 0.2s ease-out;
}

[data-component="faq"] details:hover {
  box-shadow: var(--shadow-sm);
}

[data-component="faq"] summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  padding: 4px 8px;
  user-select: none;
  list-style: none;
}

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

[data-component="faq"] summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 12px;
  transition: transform 0.2s ease-out;
  color: var(--color-accent);
}

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

[data-component="faq"] > div {
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 12px;
  padding-top: 12px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px 10px 2px 2px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s ease-out;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-tertiary);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

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

.responsible-gaming-card {
  background-color: var(--bg-alternate);
  border-left: 4px solid var(--color-accent);
  border-radius: 6px;
  padding: 24px;
  margin: 20px 0;
}

.responsible-gaming-card h3 {
  color: var(--color-primary);
  margin-bottom: 12px;
}

.responsible-gaming-card ul {
  list-style-position: inside;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.responsible-gaming-card li {
  margin-bottom: 8px;
}

.comparison-table {
  width: 100%;
  margin: 24px 0;
}

.comparison-table th {
  background-color: var(--color-primary);
  color: #ffffff;
}

.badge-18plus {
  display: inline-block;
  background-color: var(--color-accent);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 8px 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-fix:start}
/* 页头里看不清的文字 */
header .lang-switch a { color: rgb(42, 42, 42) !important; }
header a.nav-link { color: rgb(255, 255, 255) !important; }
/* 汉堡按钮看不清（图标/边框和页头同色） */
.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%2817%2c17%2c17%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(17,17,17, .55) !important; }
:root{--w1-fix: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}
