: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: #f5f0f0;
      --surface: #fcfafa;
      --surface-alt: #ebe6e6;
      --primary: #149465;
      --primary-text: #1a1a1a;
      --accent: #cb102a;
      --text: #2d2d2d;
      --text-muted: #666666;
      --border: #bd8f3c;
      --brand: #a5672c;
      --brand-dark: #74481f;
    }

    * {
      box-sizing: border-box;
    }

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

    body {
      font-family: "Source Sans 3", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      margin: 0;
      padding: 0;
    }

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

    h1, h2, h3, h4, h5, h6 {
      font-family: "Playfair Display", serif;
      font-weight: 700;
      line-height: 1.35;
      margin: 0;
    }

    h1 {
      font-size: clamp(2rem, 5vw, 3.5rem);
      letter-spacing: -0.01em;
    }

    h2 {
      font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    h3 {
      font-size: clamp(1.25rem, 3vw, 1.75rem);
    }

    p {
      margin: 0 0 1rem 0;
    }

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

    a:hover, a:focus-visible {
      color: var(--brand);
      outline: none;
    }

    a:focus-visible {
      outline: 2px solid var(--primary);
      outline-offset: 2px;
    }

    header {
      background: var(--brand);
      position: sticky;
      top: 0;
      z-index: 1000;
      padding: 0;
      height: 70px;
      display: flex;
      align-items: center;
    }

    .navbar {
      width: 100%;
      padding: 0 !important;
      background: var(--brand) !important;
      border: none;
    }

    .navbar-brand {
      margin-right: 2rem;
      display: flex;
      align-items: center;
    }

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

    .navbar-nav {
      gap: 0.5rem;
    }

    .nav-link {
      color: var(--surface) !important;
      font-size: 14px;
      font-weight: 500;
      padding: 0.5rem 0.75rem !important;
      position: relative;
      transition: color 0.2s ease-out;
    }

    .nav-link:hover {
      color: rgba(252, 250, 250, 0.8) !important;
      text-decoration: underline;
    }

    .nav-link.active {
      border-bottom: 3px solid var(--accent);
      padding-bottom: calc(0.5rem - 3px) !important;
    }

    .navbar-toggler {
      border-color: var(--surface) !important;
    }

    .navbar-toggler:focus {
      outline: 2px solid var(--surface) !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='%23fcfafa' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    .btn-login {
      border: 3px solid var(--brand);
      color: var(--brand);
      background: transparent;
      padding: 8px 20px;
      font-size: 14px;
      font-weight: 500;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      min-height: 44px;
      min-width: 44px;
      transition: all 0.2s ease-out;
      cursor: pointer;
    }

    .btn-login:hover, .btn-login:focus-visible {
      background: var(--brand);
      color: var(--surface);
      outline: none;
    }

    .btn-primary-action {
      background: var(--primary);
      color: var(--surface);
      border: 3px solid var(--primary);
      padding: 14px 32px;
      font-size: 16px;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.65);
      min-height: 44px;
      transition: all 0.2s ease-out;
      cursor: pointer;
    }

    .btn-primary-action:hover, .btn-primary-action:focus-visible {
      background: #0f7450;
      border-color: #0f7450;
      box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.8);
      transform: translateY(-2px) translateX(-2px);
      outline: none;
    }

    .btn-primary-action:active {
      box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.65);
      transform: translateY(0) translateX(0);
    }

    .btn-secondary-action {
      background: transparent;
      color: var(--primary);
      border: 3px solid var(--primary);
      padding: 14px 32px;
      font-size: 16px;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.65);
      min-height: 44px;
      transition: all 0.2s ease-out;
      cursor: pointer;
    }

    .btn-secondary-action:hover, .btn-secondary-action:focus-visible {
      background: var(--primary);
      color: var(--surface);
      box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.8);
      transform: translateY(-2px) translateX(-2px);
      outline: none;
    }

    .btn-secondary-action:active {
      box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.65);
      transform: translateY(0) translateX(0);
    }

    .btn-accent {
      background: var(--accent);
      color: var(--surface);
      border: 3px solid var(--accent);
      padding: 14px 32px;
      font-size: 16px;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.65);
      min-height: 44px;
      transition: all 0.2s ease-out;
      cursor: pointer;
    }

    .btn-accent:hover, .btn-accent:focus-visible {
      background: #a00820;
      border-color: #a00820;
      box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.8);
      transform: translateY(-2px) translateX(-2px);
      outline: none;
    }

    main {
      padding: 0;
    }

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

    .container, .container-xl {
      padding-left: clamp(16px, 3vw, 40px);
      padding-right: clamp(16px, 3vw, 40px);
      max-width: 1320px;
    }

    footer {
      background: var(--brand-dark);
      color: var(--surface);
      padding: 60px clamp(16px, 3vw, 40px);
      margin-top: auto;
    }

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

    footer a:hover, footer a:focus-visible {
      color: var(--border);
      outline: none;
    }

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

    @media (max-width: 768px) {
      .nav-link {
        font-size: 16px;
      }
    }


:root{--w1-fix:start}
/* 页头里看不清的文字 */
header a.btn-login { color: rgb(252, 250, 250) !important; }
:root{--w1-fix:end}


:root{--w1-manual:start}
/* 首屏是深色照片，标题/副标题/信任条用的是深色字 → 白字加阴影 */
.hero-section .hero-content :is(h1, .hero-subtitle, [data-component="trust"] li, [data-component="trust"] i) { color: #fff !important; text-shadow: 0 2px 8px rgba(0, 0, 0, .55); }
.hero-section .btn-secondary-action { 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}

:root{--site-repair:start}
footer {
      margin-top: clamp(40px, 5vw, 80px);
    }
.footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }
.footer-column h4 {
      font-family: "Playfair Display", serif;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 16px;
      color: var(--surface);
    }
.footer-column ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
.footer-column li {
      margin-bottom: 8px;
    }
.footer-column a {
      color: var(--surface);
      text-decoration: none;
      font-size: 14px;
      transition: color 0.2s ease-out;
    }
.footer-column a:hover, .footer-column a:focus-visible {
      color: var(--border);
      outline: none;
    }
.footer-social {
      display: flex;
      gap: 16px;
      margin-top: 16px;
    }
.footer-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border: 2px solid var(--surface);
      border-radius: 0;
      transition: all 0.2s ease-out;
    }
.footer-social a:hover, .footer-social a:focus-visible {
      background: var(--border);
      border-color: var(--border);
      outline: none;
    }
.footer-bottom {
      border-top: 1px solid var(--border);
      padding-top: 20px;
      font-size: 14px;
      text-align: center;
      color: var(--text-muted);
    }
.footer-bottom p {
      margin: 0;
    }
@media (max-width: 768px) {
  .footer-content {
        grid-template-columns: 1fr;
      }
}

@media (max-width: 575.98px) { footer :is(div, ul, section, nav) { min-width: 0; } footer :is(a, h3, h4, h5, h6, p, li) { overflow-wrap: anywhere; } }

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}
