:root{--qa-guard:start}
/* grid 类容器的子项允许收缩到 0（防止长内容撑破列宽）；flex 条目保持浏览器默认，否则会被压扁、图标文字重叠 */
: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; }
/* 导航栏：logo 和按钮不被压缩、菜单文字不折行（桌面挤不下时浏览器 QA 会把折叠断点调大）；
   导航里的空装饰条（彩旗/色带）和菜单容器上下排列，不和 logo 抢同一行 */
.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) {  /* 320 宽的手机上按钮仍允许收缩折行，否则长孟加拉文按钮会撑出屏幕 */
  .navbar :is(a, button)[class*="btn"] { flex-shrink: 0; }
  .navbar :is(.nav-link, a[class*="btn"], button[class*="btn"]) { white-space: nowrap; }
}
/* 手机菜单展开时，导航容器高度随菜单增长（AI 常给导航容器写死 height，展开的菜单会透明地叠在首屏文字上） */
: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; }
}
/* 卡片 height:100% 只适合一格一张卡；同一列里叠放多张时按内容高度（否则每张都撑成整列高，侧栏伸出页脚、压住下面的内容） */
main [class*="col"] > [class*="card"]:not(:only-child) { height: auto !important; }
/* 版块节奏：相邻版块间距统一（桌面约 88px，手机约 56px）；首屏按内容自适应高度，不用整屏高度撑出空白 */
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: minmax(0, 1fr) !important; }
  /* 长标题/长词在手机上允许换行（外层 overflow-x:hidden 时超出的部分直接被裁掉，也不会出现横向滚动条） */
  main :is(h1, h2, h3, h4, th, td, dt, dd, summary) { overflow-wrap: break-word; }
  /* 游戏卡片在手机上两列（一列时每张卡接近一屏高） */
  :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; }
  /* 按钮行：小屏上允许换行和收缩（AI 常写 flex-shrink:0 + white-space:nowrap，320px 宽时横向溢出）；横向滑动条除外 */
  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; }  /* :has() 不能嵌套，按钮组的外层横排单独一条 */
  /* 横排的列表/步骤卡（如 4 个步骤一行加箭头）：小屏换行；flex-wrap 对非 flex 元素无效，不影响其他布局 */
  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; }
  /* 宽表格（AI 常写 min-width）没有包横向滚动容器时，表格自己横向滑动，不撑出页面 */
  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; }
/* 只有一个容器子元素的版块不该是两栏网格（hero 挤在左半边） */
main > section:has(> [class*="container"]:only-child) { grid-template-columns: 1fr !important; }
/* 步骤列表同时带 Bootstrap .row（子项 col-* 是百分比宽）又被写成网格：每格再缩成 25%，文字一字一行 → 按 Bootstrap 行排 */
:is(ol, ul, div).row[data-component="steps"]:has(> [class*="col"]) { display: flex !important; flex-wrap: wrap !important; }
/* 列表里只有一个 div（网格写在 div 上）却又被设成多栏网格：整块挤进第一栏 */
main :is(ol, ul):has(> div:only-child) { grid-template-columns: minmax(0, 1fr) !important; }
/* 页脚上写死的多列网格：平板 2 列、手机 1 列 */
@media (max-width: 991.98px) { footer [style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 575.98px) { footer [style*="grid-template-columns"] { grid-template-columns: 1fr !important; } }
.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; }
/* 内容宽度：宽屏下正文最多 1320px 居中（AI 常用 container-fluid 或把 .container 改成 max-width:100%，导致整屏平铺）；首屏保留通栏 */
: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; }  /* 没套容器的条带：背景通栏、内容居中 */
/* 首屏里没套容器的子元素：零优先级、不加 !important，作者自己写了内边距就以作者为准。
   （首屏文字层常用类名设 position:absolute + max-width，强制加 (100%-1320px)/2 的内边距会把它挤成 0 宽，大屏上整块文字消失） */
: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; }
/* 两侧留白（11-13 c88q）：1320 上限比 Bootstrap 自己的 1140（1200–1399）宽，1200–1343 之间容器铺满屏、正文离边只有 12px。
   平板以上容器两边至少再留 20px（宽屏 ≥1344 不变）；没套容器的条带同样留 32px，和容器里的正文对齐。嵌套的容器不再缩 */
@media (min-width: 768px) {
  :is(header, footer, main) :is(.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl):not(:is(.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl) *):not(:has(> img[data-role="hero"])) {
    max-width: min(1320px, calc(100% - 40px)) !important; }
  main > :not(:has([class*="container"])) { padding-inline: max(32px, calc((100% - 1320px) / 2 + 12px)) !important; }
  :where(main > :first-child > :not([class*="container"], :has([class*="container"]), img, picture, video, [style*="absolute"])) {
    padding-inline: max(32px, calc((100% - 1320px) / 2 + 12px)); }
}
:where(main [style*="overflow-x"][style*="flex"]:not([style*="wrap"])) > * { min-width: auto; }
/* 首屏以下的版块和页脚延后排版：手机上首屏先出（PageSpeed LCP），滚动到附近才排版；浏览器 QA 检查前会关掉 */
: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; } }  /* 占位高度≈实测版块中位数 */
/* 菜单打开时去掉页头的毛玻璃/滤镜/变换：它们让 position:fixed 的手机菜单面板以页头为参照，只剩页头那么高（点开只看到一项） */
header:has([aria-expanded="true"], .is-open, .menu-open, .nav-open, .offcanvas.show, .navbar-collapse.show) {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; filter: none !important; transform: none !important; }
/* 汉堡按钮被页面样式一直隐藏（只写了 display:none，小屏没改回来 → 手机上没有菜单）：折叠断点以下恢复显示；页头里另有菜单按钮时不动 */
@media (max-width: 991.98px) { header:not(:has(:is(button, a, [role="button"]):not(.navbar-toggler):is([aria-controls], [class*="burger"], [class*="toggle"]))) .navbar-expand-lg:has(.navbar-collapse.collapse) .navbar-toggler { display: inline-flex !important; } }
@media (max-width: 1199.98px) { header:not(:has(:is(button, a, [role="button"]):not(.navbar-toggler):is([aria-controls], [class*="burger"], [class*="toggle"]))) .navbar-expand-xl:has(.navbar-collapse.collapse) .navbar-toggler { display: inline-flex !important; } }
@media (max-width: 1399.98px) { header:not(:has(:is(button, a, [role="button"]):not(.navbar-toggler):is([aria-controls], [class*="burger"], [class*="toggle"]))) .navbar-expand-xxl:has(.navbar-collapse.collapse) .navbar-toggler { display: inline-flex !important; } }
/* 导航没写 navbar-expand-*：Bootstrap 默认把 .navbar-nav 竖排，大屏才显示的菜单（d-none d-lg-flex）整列竖下来、页头撑高 → 横排 */
@media (min-width: 992px) { header .navbar:not([class*="navbar-expand"]) :is(.d-lg-flex, .d-lg-block) > .navbar-nav { flex-direction: row; } }
@media (min-width: 1200px) { header .navbar:not([class*="navbar-expand"]) :is(.d-xl-flex, .d-xl-block) > .navbar-nav { flex-direction: row; } }
/* 横向滑动的表格容器做定位参照：里面 position:absolute 的读屏隐藏文字（.visually-hidden 的 caption/span）
   不再以容器外的祖先为参照、跑到容器右边把整页撑宽（bd234.live 首页手机上多出 175px） */
:where(main :is(.table-scroll, .table-responsive, [class*="table-wrap"], [class*="table-scroll"], [class*="scroll-x"], [style*="overflow-x"], :has(> table))) { position: relative; }
:root{--qa-guard:end}

:root {
  --bg: #f1eeee;
  --surface: #fbfafa;
  --surface-alt: #e7e4e4;
  --primary: #53444a;
  --primary-dark: #3a3034;
  --action: #e4570e;
  --action-hover: #c94508;
  --accent: #2ac275;
  --gold: #a69042;
  --text: #1e1a1c;
  --text-muted: #5c5057;
  --border: #a69042;
  --radius-card: 10px 10px 2px 2px;
  --radius-btn: 6px;
  --shadow-card: 0 2px 6px rgba(83,68,74,0.10), 0 1px 2px rgba(83,68,74,0.06);
  --shadow-card-hover: 0 6px 18px rgba(83,68,74,0.16), 0 2px 4px rgba(83,68,74,0.10);
  --felt-texture: repeating-linear-gradient(45deg, rgba(166,144,66,0.04) 0px, rgba(166,144,66,0.04) 1px, transparent 1px, transparent 6px),
                  repeating-linear-gradient(-45deg, rgba(166,144,66,0.04) 0px, rgba(166,144,66,0.04) 1px, transparent 1px, transparent 6px);
}

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

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

body {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--felt-texture);
  overflow-x: hidden;
}

::selection { background: var(--action); color: #fff; }
a { text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: 'Baloo 2', sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.375rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin-bottom: 0.75rem; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }

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

.section-divider {
  border-top: 1px dashed var(--gold);
  opacity: 0.45;
  margin: 0;
}

.bg-surface { background-color: var(--surface); }
.bg-alt { background-color: var(--surface-alt); }
.bg-primary-dark {
  background-color: var(--primary-dark);
  background-image: repeating-linear-gradient(45deg, rgba(166,144,66,0.07) 0px, rgba(166,144,66,0.07) 1px, transparent 1px, transparent 6px),
                    repeating-linear-gradient(-45deg, rgba(166,144,66,0.07) 0px, rgba(166,144,66,0.07) 1px, transparent 1px, transparent 6px);
}
.bg-primary-banner {
  background-color: var(--primary);
  background-image: var(--felt-texture);
}

.btn-action {
  display: inline-block;
  background: var(--action);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
.btn-action:hover { background: var(--action-hover); box-shadow: 0 4px 12px rgba(228,87,14,0.35); color: #fff !important; }
.btn-action:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.btn-action:active { box-shadow: inset 0 2px 4px rgba(0,0,0,0.20); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-btn);
  padding: 11px 26px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
.btn-secondary:hover { background: var(--primary); color: #fff !important; }
.btn-secondary:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s;
  min-height: 44px;
}
.btn-accent:hover { background: #22a862; color: #fff !important; }

.site-navbar {
  background-color: var(--primary);
  min-height: 60px;
  padding: 0 1.5rem;
}
.site-navbar .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-navbar .navbar-brand .brand-text {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.site-navbar .navbar-brand .brand-text span { color: var(--action); }

.site-navbar .nav-link {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.80) !important;
  padding: 0.5rem 0.6rem !important;
  position: relative;
  transition: color 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.site-navbar .nav-link:hover { color: #fff !important; }
.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background: var(--action);
}
.site-navbar .nav-link.active { color: #fff !important; }
.site-navbar .nav-link.active::after { background: var(--gold); }

.site-navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.4);
  min-width: 44px;
  min-height: 44px;
}
.site-navbar .navbar-toggler-icon { filter: invert(1); }

.nav-btn-login {
  border: 1.5px solid rgba(255,255,255,0.60);
  background: transparent;
  color: #fff !important;
  border-radius: var(--radius-btn);
  padding: 7px 18px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-btn-login:hover { border-color: #fff; color: #fff !important; }

.nav-btn-signup {
  background: var(--action);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-btn);
  padding: 8px 18px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-btn-signup:hover { background: var(--action-hover); color: #fff !important; }

.ticket-card {
  background: var(--surface);
  border: 1.5px solid var(--surface-alt);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: visible;
  transition: transform 0.18s, box-shadow 0.18s;
}
.ticket-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.ticket-card::before,
.ticket-card::after {
  content: '';
  position: absolute;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--surface-alt);
  z-index: 2;
}
.ticket-card::before { left: -7px; }
.ticket-card::after { right: -7px; }

.ticket-card .ticket-divider {
  border-top: 1px dashed var(--gold);
  opacity: 0.5;
  margin: 0;
}

.ticket-card .ticket-action {
  border-top: 1.5px dashed var(--gold);
  border-radius: 0 0 2px 2px;
  padding: 12px 16px;
}

.ticket-top-bar {
  height: 4px;
  border-radius: 10px 10px 0 0;
  background: var(--gold);
}
.ticket-top-bar.bar-action { background: var(--action); }
.ticket-top-bar.bar-accent { background: var(--accent); }

.game-card {
  display: block;
  background: var(--surface);
  border: 1.5px solid var(--surface-alt);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}
.game-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  color: var(--text);
  text-decoration: none;
}
.game-card:hover img { filter: brightness(1.06); }
.game-card::before,
.game-card::after {
  content: '';
  position: absolute;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--surface-alt);
  z-index: 2;
}
.game-card::before { left: -7px; }
.game-card::after { right: -7px; }

.game-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  display: block;
  transition: filter 0.18s;
}
.game-card .game-tag {
  display: inline-block;
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 2px 7px;
  margin-bottom: 4px;
}
.game-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  font-family: 'Baloo 2', sans-serif;
}
.game-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.game-card .game-info {
  padding: 10px 12px 16px;
}

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@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); }
}

[data-component="trust"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
[data-component="trust"] li i {
  color: var(--gold);
  font-size: 15px;
}

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: 0;
  padding: 0;
}
[data-component="stats"] > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
[data-component="stats"] dt {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
[data-component="stats"] dd {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--action);
  margin: 0;
  line-height: 1.1;
}

[data-component="payments"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
@media (max-width: 767px) {
  [data-component="payments"] { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 479px) {
  [data-component="payments"] { grid-template-columns: repeat(2, 1fr); }
}
[data-component="payments"] li {
  background: var(--surface);
  border: 1.5px solid var(--surface-alt);
  border-radius: var(--radius-card);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
[data-component="payments"] li .pay-name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}
[data-component="payments"] li .pay-meta {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

[data-component="steps"] {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: steps;
}
[data-component="steps"] li {
  counter-increment: steps;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
[data-component="steps"] li::before {
  content: counter(steps);
  font-family: 'Baloo 2', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--action);
  line-height: 1;
  min-width: 2.5rem;
  flex-shrink: 0;
}
[data-component="steps"] li h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}
[data-component="steps"] li p { font-size: 14px; color: var(--text-muted); margin: 0; }

[data-component="faq"] details {
  background: var(--surface);
  border: 1.5px solid var(--surface-alt);
  border-radius: var(--radius-card);
  margin-bottom: 0.6rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.18s;
  overflow: hidden;
}
[data-component="faq"] details[open] {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gold);
}
[data-component="faq"] summary {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  min-height: 44px;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '\002B';
  font-size: 1.3rem;
  color: var(--action);
  flex-shrink: 0;
  margin-left: 0.75rem;
  transition: transform 0.2s;
}
[data-component="faq"] details[open] summary::after {
  content: '\2212';
}
[data-component="faq"] details > div {
  padding: 0 1.25rem 1rem;
  border-top: 1px dashed var(--gold);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  opacity: 0.9;
}

.site-footer {
  background-color: var(--primary-dark);
  background-image: repeating-linear-gradient(45deg, rgba(166,144,66,0.07) 0px, rgba(166,144,66,0.07) 1px, transparent 1px, transparent 6px),
                    repeating-linear-gradient(-45deg, rgba(166,144,66,0.07) 0px, rgba(166,144,66,0.07) 1px, transparent 1px, transparent 6px);
  padding: 48px 5vw 24px;
  color: rgba(255,255,255,0.60);
}
.site-footer .footer-brand-text {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}
.site-footer .footer-brand-text span { color: var(--action); }
.site-footer .footer-slogan {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-top: 4px;
}
.site-footer .footer-col-title {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
  margin-bottom: 0.75rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li { line-height: 2.0; }
.site-footer ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer ul li a:hover { color: #fff; }
.site-footer .footer-divider {
  border-top: 1px solid rgba(255,255,255,0.10);
  margin-top: 32px;
  padding-top: 16px;
}
.site-footer .footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-align: center;
}
.responsible-badge {
  border: 1.5px solid rgba(255,255,255,0.30);
  border-radius: 8px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.80);
  font-size: 13px;
  font-weight: 600;
}
.responsible-badge .badge-18 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.vip-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  overflow: hidden;
  border-radius: 8px;
  border: 1.5px solid var(--surface-alt);
}
.vip-table th {
  background: var(--primary);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 2px solid var(--gold);
}
.vip-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--surface-alt);
  vertical-align: middle;
}
.vip-table tr:last-child td { border-bottom: none; }
.vip-table tr:nth-child(even) td { background: var(--surface-alt); }
.vip-table td.highlight { font-weight: 700; color: var(--action); }
.vip-table .tier-name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.vip-table .tier-recommended {
  background: rgba(228,87,14,0.08);
}
.vip-table .tier-recommended td { border-left: 2px solid var(--action); }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.section-header h2 { margin: 0; }
.section-header a {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--action);
  text-decoration: none;
}
.section-header a:hover { text-decoration: underline; }

.bonus-big {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--action);
  line-height: 1;
}

.quick-nav {
  background: var(--surface-alt);
  border-top: 1px dashed var(--gold);
  border-bottom: 1px dashed var(--gold);
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-nav::-webkit-scrollbar { display: none; }
.quick-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: max-content;
  gap: 0;
}
.quick-nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  min-width: 80px;
  min-height: 44px;
}
.quick-nav ul li a:hover { color: var(--action); background: rgba(228,87,14,0.06); }
.quick-nav ul li a i { font-size: 1.3rem; }

.category-card {
  background: var(--surface);
  border: 1.5px solid var(--surface-alt);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.category-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}
.category-card .cat-body { padding: 14px 16px; }
.category-card h4 { margin-bottom: 6px; font-size: 1rem; }
.category-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.category-card .cat-games { font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; }

.advantage-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--surface);
  border: 1.5px solid var(--surface-alt);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.advantage-item i {
  font-size: 1.75rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.advantage-item h4 { margin-bottom: 4px; font-size: 1rem; }
.advantage-item p { font-size: 13px; color: var(--text-muted); margin: 0; }

.privacy-card {
  background: var(--surface);
  border: 1.5px solid var(--surface-alt);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
}
.privacy-card h4 { color: var(--primary); margin-bottom: 0.5rem; }
.privacy-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 0.4rem; }

.rg-card {
  background: var(--surface);
  border: 1.5px solid var(--surface-alt);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.rg-card i { font-size: 1.75rem; color: var(--gold); margin-bottom: 0.5rem; display: block; }
.rg-card h4 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.rg-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--surface-alt);
  font-size: 14px;
  color: var(--text-muted);
}
.tips-list li:last-child { border-bottom: none; }
.tips-list li i { color: var(--accent); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.tips-list li strong { color: var(--text); }

.hero-bonus-ticket {
  background: var(--surface);
  border: 2px solid var(--action);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
  padding: 1rem 1.25rem;
  min-width: 230px;
  max-width: 270px;
  position: absolute;
  bottom: 24px;
  left: -20px;
  z-index: 3;
}
.hero-bonus-ticket::before,
.hero-bonus-ticket::after {
  content: '';
  position: absolute;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--action);
  z-index: 4;
}
.hero-bonus-ticket::before { left: -7px; }
.hero-bonus-ticket::after { right: -7px; }
.hero-bonus-ticket .ticket-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}
.hero-bonus-ticket .bonus-pct {
  font-family: 'Baloo 2', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--action);
  line-height: 1;
}
.hero-bonus-ticket .bonus-cap {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.hero-bonus-ticket .bonus-min {
  font-size: 12px;
  color: var(--gold);
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(166,144,66,0.5);
  display: flex;
  align-items: center;
  gap: 5px;
}

.section-img {
  width: 100%;
  border-radius: var(--radius-card);
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.bonus-terms-table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}
.bonus-terms-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--surface-alt);
  vertical-align: top;
}
.bonus-terms-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
  width: 45%;
}
.bonus-terms-table td:last-child {
  color: var(--text);
  font-weight: 600;
}
.bonus-terms-table tr:last-child td { border-bottom: none; }

@media (max-width: 767px) {
  .hero-bonus-ticket {
    position: static;
    margin: 1rem auto 0;
    max-width: 100%;
  }
  .vip-table { font-size: 11px; }
  .vip-table th, .vip-table td { padding: 7px 7px; }
  h2 { font-size: 1.3rem; }
}
@media (max-width: 479px) {
  .hero-bonus-ticket { max-width: 100%; left: 0; }
}

@keyframes slideUp {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero-content { animation: slideUp 0.5s ease-out both; }

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

:root{--unify-site:start}
main details:not(.toc-card):not([class*=toc]) { border-top-width: 1px !important; border-bottom-width: 1px !important; border-radius: 10px 10px 2px 2px !important; padding: 0px !important; margin-bottom: 9.6px !important; }
main details:not(.toc-card):not([class*=toc]) > summary { font-size: 16px !important; font-weight: 600 !important; padding: 16px 20px !important; line-height: 26.4px !important; }
main details:not(.toc-card):not([class*=toc]) > summary ~ * { font-size: 14px !important; padding: 0px 20px 16px !important; line-height: 23.8px !important; }
main table { width: 100%; border-collapse: collapse !important; }
main table th { background-color: rgb(83, 68, 74) !important; color: rgb(255, 255, 255) !important; padding: 10px 12px !important; font-size: 13px !important; font-weight: 600 !important; text-align: left !important; border-bottom: 2px solid rgb(166, 144, 66) !important; }
main table td { padding: 10px 12px !important; font-size: 13px !important; }
main section > h2, main section > [class*=container] > h2, main section > [class*=container] > [class*=head] > h2, main section > [class*=container] > [class*=title] > h2, main section > div > h2 { font-size: 32px !important; line-height: 43.2px !important; }
:root{--unify-site:end}

:root{--site-repair:start}
.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}
/* agent4 1117: 手机端 hero 仍按 58%/42% 两栏（qa-fix 只加了换行），标题挤成半宽、右侧图片 absolute+height:100% 缩成小块 → 小屏改上下排、图片正常流 */
@media (max-width:767.98px){
  .hero-inner{flex-wrap:wrap!important;min-height:0!important}
  .hero-inner>.hero-left,.hero-inner>.hero-right{flex:0 0 100%!important;max-width:100%!important}
  .hero-inner>.hero-left{padding:2rem 20px 1rem!important}
  .hero-inner>.hero-right{padding:0 20px 1.75rem}
  .hero-right img{position:static!important;display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover;object-position:center 30%;border-radius:12px}
  .hero-right::before{display:none!important}
}
