/* Home page: banner + lobby tabs + 3-col game grid */

.wap-banner {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--wap-radius) + 2px);
  border: 1px solid rgba(var(--wap-gold-rgb), 0.2);
  background: var(--wap-surface);
  box-shadow: var(--wap-shadow);
  aspect-ratio: 16 / 9;
}

.wap-banner__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.wap-banner__slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

.wap-banner__slide a {
  display: block;
  height: 100%;
}

.wap-banner__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wap-banner__fallback {
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding: 20px;
  background:
    radial-gradient(ellipse 70% 80% at 88% 18%, rgba(var(--wap-gold-rgb), 0.28), transparent 46%),
    linear-gradient(145deg, #0c0c0e 0%, #1a1712 55%, #12100c 100%);
}

.wap-banner__fallback strong {
  display: block;
  margin-bottom: 4px;
  color: var(--wap-gold-bright);
  font-size: 20px;
}

.wap-banner__fallback span {
  color: rgba(245, 240, 230, 0.72);
  font-size: 12px;
}

.wap-banner__dots {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.wap-banner__dot {
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.wap-banner__dot.is-active {
  width: 16px;
  border-radius: 999px;
  background: var(--wap-gold);
}

.wap-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  padding: 3px;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  background: var(--card-bg-2, var(--wap-surface-2));
}

.wap-tabs__btn {
  flex: 1;
  min-width: 0;
  min-height: 34px;
  padding: 0 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--wap-text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0.72;
}

.wap-tabs__btn.is-active {
  background: rgba(var(--color-gold-rgb), 0.16);
  color: var(--color-gold);
  opacity: 1;
  box-shadow: inset 0 0 0 1px rgba(var(--color-gold-rgb), 0.28);
}

.wap-tab-panel {
  display: none;
}

.wap-tab-panel.is-active {
  display: block;
}

.wap-game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.wap-game-grid > script {
  display: none !important;
}

/* —— 品牌馆大卡（对齐 ui_demo game-card） —— */
.wap-brands {
  margin: 0 0 18px;
}

.wap-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wap-brand-card {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 188px;
  overflow: hidden;
  border: 1px solid rgba(var(--color-gold-rgb, var(--wap-gold-rgb)), 0.22);
  border-radius: var(--wap-radius, 14px);
  background: var(--card-bg, var(--wap-surface));
  box-shadow: var(--shadow-card, var(--wap-shadow));
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wap-brand-card:active {
  transform: scale(0.98);
}

.wap-brand-card:hover {
  border-color: rgba(var(--color-gold-rgb, var(--wap-gold-rgb)), 0.45);
  box-shadow:
    0 0 18px rgba(var(--color-gold-rgb, var(--wap-gold-rgb)), 0.18),
    var(--shadow-card, var(--wap-shadow));
  transform: translateY(-2px);
}

.wap-brand-card__art {
  position: relative;
  min-height: 138px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.35)),
    linear-gradient(160deg, #1a1d26 0%, #0e1015 100%);
}

.wap-brand-card__art.has-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.08) 0%, transparent 38%, rgba(8, 10, 14, 0.72) 100%),
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(212, 175, 55, 0.12), transparent 55%);
}

.wap-brand-card--pg .wap-brand-card__art { background-color: #1c2a3a; background-image: radial-gradient(circle at 72% 28%, rgba(96,165,250,.22), transparent 42%), linear-gradient(180deg, transparent 40%, rgba(0,0,0,.3)); }
.wap-brand-card--mg .wap-brand-card__art { background-color: #2a2418; background-image: radial-gradient(circle at 72% 28%, rgba(201,168,76,.22), transparent 42%), linear-gradient(180deg, transparent 40%, rgba(0,0,0,.3)); }
.wap-brand-card--ag .wap-brand-card__art { background-color: #1e2c28; background-image: radial-gradient(circle at 72% 28%, rgba(52,211,153,.2), transparent 42%), linear-gradient(180deg, transparent 40%, rgba(0,0,0,.3)); }
.wap-brand-card--cq9 .wap-brand-card__art { background-color: #2c241c; background-image: radial-gradient(circle at 72% 28%, rgba(251,191,36,.22), transparent 42%), linear-gradient(180deg, transparent 40%, rgba(0,0,0,.3)); }
.wap-brand-card--jdb .wap-brand-card__art { background-color: #1a2430; background-image: radial-gradient(circle at 72% 28%, rgba(56,189,248,.2), transparent 42%), linear-gradient(180deg, transparent 40%, rgba(0,0,0,.3)); }
.wap-brand-card--pp .wap-brand-card__art { background-color: #2a2218; background-image: radial-gradient(circle at 72% 28%, rgba(201,168,76,.18), transparent 42%), linear-gradient(180deg, transparent 40%, rgba(0,0,0,.3)); }
.wap-brand-card--fc .wap-brand-card__art { background-color: #2a2218; background-image: radial-gradient(circle at 72% 28%, rgba(251,146,60,.22), transparent 42%), linear-gradient(180deg, transparent 40%, rgba(0,0,0,.3)); }
.wap-brand-card--bbin .wap-brand-card__art { background-color: #1c2830; background-image: radial-gradient(circle at 72% 28%, rgba(125,211,252,.2), transparent 42%), linear-gradient(180deg, transparent 40%, rgba(0,0,0,.3)); }

.wap-brand-card__art::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  content: attr(data-mark);
  color: rgba(255, 255, 255, 0.94);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.wap-brand-card__art.has-cover::after, .wap-brand-card__art.has-logo::after {
  display: none;
}

.wap-brand-card__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  z-index: 0;
  transform: none;
  transition: transform 0.35s ease;
}

.wap-brand-card:hover .wap-brand-card__cover {
  transform: scale(1.02);
}

.wap-brand-card__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 56%;
  max-width: 96px;
  max-height: 56px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.wap-brand-card__art.has-cover .wap-brand-card__logo {
  left: 10px;
  top: auto;
  bottom: 10px;
  width: 38%;
  max-width: 72px;
  max-height: 36px;
  transform: none;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
}

/* 无封面：放大 Logo + 曜光底，避免「空 Logo 底」廉价感 */
.wap-brand-card__art.has-logo:not(.has-cover) {
  background-image:
    radial-gradient(circle at 50% 42%, rgba(var(--color-gold-rgb, var(--wap-gold-rgb)), 0.22), transparent 46%),
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.42)),
    linear-gradient(160deg, #1a1d26 0%, #0e1015 100%);
}

.wap-brand-card__art.has-logo:not(.has-cover) .wap-brand-card__logo {
  width: 68%;
  max-width: 118px;
  max-height: 68px;
}

.wap-brand-card__art:not(.has-cover):not(.has-logo)::after {
  color: rgba(243, 229, 171, 0.92);
  font-size: 26px;
  letter-spacing: 0.08em;
}

.wap-brand-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(var(--color-gold-rgb, var(--wap-gold-rgb)), 0.12);
  background: var(--card-bg, var(--wap-surface));
}

.wap-brand-card__eyebrow {
  display: block;
  margin-bottom: 2px;
  color: var(--text-muted, var(--wap-muted));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.wap-brand-card__name {
  color: var(--text-primary, var(--wap-text));
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
}

.wap-brand-card__arrow {
  color: rgba(var(--color-gold-rgb, var(--wap-gold-rgb)), 0.85);
  font-size: 16px;
  font-weight: 700;
}

.wap-lobby {
  margin-top: 4px;
}

/* 海报式游戏卡：方槽铺满封面，标题叠在图底 */
.wap-game-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(var(--color-gold-rgb, var(--wap-gold-rgb)), 0.18);
  border-radius: 14px;
  background: #12141a;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wap-game-card:active {
  transform: scale(0.97);
}

.wap-game-card__hot {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 3;
  width: 28px;
  height: 28px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.wap-game-card:hover {
  border-color: rgba(var(--color-gold-rgb, var(--wap-gold-rgb)), 0.5);
  box-shadow:
    0 0 16px rgba(var(--color-gold-rgb, var(--wap-gold-rgb)), 0.2),
    0 8px 18px rgba(0, 0, 0, 0.35);
}

.wap-game-card__cover {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #12141a;
}

.wap-game-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.wap-game-card__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 6% 18%;
  border: 0;
  font-size: clamp(30px, 10vw, 42px);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  color: transparent;
  background-image: var(--color-gold-grad, var(--wap-gold-grad, linear-gradient(135deg, #f3e5ab, #d4af37, #aa8022)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(var(--color-gold-rgb, 212, 175, 55), 0.4));
}

/* display:grid 会压过 UA 的 [hidden] {display:none}，图标被大字盖住 */
.wap-game-card__mark[hidden] {
  display: none !important;
}

.wap-game-card__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 18px 6px 8px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 9, 12, 0.55) 40%, rgba(8, 9, 12, 0.88) 100%);
  color: rgba(243, 229, 171, 0.92);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.wap-game-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  padding: 28px 12px;
  border: 1px dashed rgba(var(--wap-gold-rgb), 0.28);
  border-radius: var(--wap-radius-sm);
  background: var(--card-bg-2, var(--wap-surface-2));
  color: var(--wap-gold-bright, var(--wap-gold));
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  text-align: center;
}

/* —— 从 ui_demo 移植的精调区块（黑金皮肤） —— */

.wap-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  min-height: 44px;
  text-decoration: none;
  color: inherit;
}

.wap-section-head h2, .wap-lobby__title {
  margin: 0;
  color: var(--wap-text);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.3px;
}

.wap-section-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--wap-gold);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.wap-banner__promo {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 22px 20px 28px;
  color: var(--wap-text);
  text-decoration: none;
}

.wap-banner__promo--mission {
  background:
    radial-gradient(ellipse 70% 80% at 88% 18%, rgba(var(--wap-gold-rgb), 0.28), transparent 46%),
    linear-gradient(145deg, #0c0c0e 0%, #1a1712 55%, #12100c 100%);
}

.wap-banner__promo--fish {
  background:
    radial-gradient(ellipse 60% 70% at 90% 28%, rgba(var(--wap-gold-rgb), 0.16), transparent 42%),
    linear-gradient(145deg, var(--wap-surface) 0%, var(--wap-surface-2) 100%);
}

.wap-banner__promo--welcome {
  background:
    radial-gradient(ellipse 55% 65% at 85% 25%, rgba(var(--wap-gold-rgb), 0.2), transparent 40%),
    linear-gradient(145deg, #16140f 0%, #0e0d0b 100%);
}

.wap-banner__eyebrow {
  color: rgba(var(--wap-gold-rgb), 0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.wap-banner__title {
  color: #f7f0e2;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
}

.wap-banner__copy {
  color: rgba(245, 240, 230, 0.68);
  font-size: 12px;
  line-height: 1.5;
}

.wap-banner__action {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 7px 12px;
  width: fit-content;
  border: 1px solid rgba(var(--wap-gold-rgb), 0.35);
  border-radius: 999px;
  background: rgba(var(--wap-gold-rgb), 0.14);
  color: var(--wap-text);
  font-size: 12px;
  font-weight: 700;
}

/* 世界级信息带：公告 + 在线 */
.wap-home .wap-section-head {
  margin-bottom: 10px;
}

.wap-lobby__title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wap-lobby__hot-ico {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.wap-lobby--prime {
  margin-top: 4px;
  margin-bottom: 20px;
}

.wap-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(var(--wap-gold-rgb), 0.22);
  border-radius: var(--wap-radius-sm);
  background: var(--card-bg, var(--wap-surface));
  box-shadow: var(--wap-shadow);
}

.wap-meta__notice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.wap-meta__tag {
  flex-shrink: 0;
  color: var(--wap-gold);
  font-size: 11px;
  font-weight: 800;
}

.wap-meta__viewport {
  overflow: hidden;
  min-width: 0;
  flex: 1;
}

.wap-meta__track {
  display: inline-block;
  white-space: nowrap;
  animation: wap-notice-marquee 36s linear infinite;
  color: var(--wap-text);
  font-size: 12px;
  font-weight: 600;
  will-change: transform;
}

.wap-meta__item + .wap-meta__item {
  margin-left: 28px;
}

.wap-meta__live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding-left: 10px;
  border-left: 1px solid rgba(var(--wap-gold-rgb), 0.18);
  color: var(--wap-muted);
  font-size: 11px;
  font-weight: 600;
}

.wap-meta__live strong {
  color: var(--wap-gold-bright, var(--wap-gold));
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.wap-meta__broadcast {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 2px 0;
  color: var(--wap-muted);
  font-size: 12px;
  line-height: 1.35;
}

.wap-meta__broadcast-tag {
  flex-shrink: 0;
  color: rgba(var(--wap-gold-rgb), 0.85);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.wap-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(var(--wap-gold-rgb), 0.22);
  border-radius: var(--wap-radius-sm);
  background: var(--card-bg, var(--wap-surface));
  box-shadow: var(--wap-shadow);
}

.wap-notice__tag {
  flex-shrink: 0;
  color: var(--wap-gold);
  font-size: 11px;
  font-weight: 800;
}

.wap-notice__viewport {
  overflow: hidden;
  min-width: 0;
  flex: 1;
}

.wap-notice__track {
  display: inline-block;
  white-space: nowrap;
  animation: wap-notice-marquee 36s linear infinite;
  color: var(--wap-text);
  font-size: 12px;
  font-weight: 600;
  will-change: transform;
}

.wap-notice__item + .wap-notice__item {
  margin-left: 28px;
}

@keyframes wap-notice-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.wap-live {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin-top: 10px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid rgba(var(--wap-gold-rgb), 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--wap-muted);
  font-size: 12px;
}

/* 首页三键快入口 */
.wap-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 16px;
}

.wap-quick__item {
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--wap-gold-rgb), 0.18);
  border-radius: var(--wap-radius-sm, 12px);
  background: var(--card-bg, var(--wap-surface));
  box-shadow: var(--wap-shadow);
  text-decoration: none;
  color: inherit;
}

.wap-quick__item strong {
  color: var(--wap-text);
  font-size: 14px;
  font-weight: 780;
}

.wap-quick__item span {
  color: var(--wap-muted);
  font-size: 11px;
  font-weight: 600;
}

.wap-quick__item--primary {
  border-color: rgba(var(--wap-gold-rgb), 0.38);
  background:
    linear-gradient(145deg, rgba(var(--wap-gold-rgb), 0.18), rgba(var(--wap-gold-rgb), 0.05)),
    var(--card-bg, var(--wap-surface));
}

.wap-quick__item--primary strong {
  color: var(--wap-gold-bright, var(--wap-gold));
}

.wap-quick__item:active {
  transform: scale(0.98);
}

.wap-live__online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.wap-live__online strong {
  color: var(--wap-text);
  font-weight: 750;
}

.wap-live__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
  animation: wap-live-pulse 1.8s ease-in-out infinite;
}

.wap-live__living {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

@keyframes wap-live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.14); }
  50% { box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.08); }
}

.wap-live__divider {
  width: 1px;
  height: 12px;
  background: var(--wap-line);
  flex-shrink: 0;
}

.wap-live__broadcast {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.wap-live__tag {
  flex-shrink: 0;
  color: var(--wap-gold);
  font-weight: 750;
}

.wap-live__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--wap-muted);
}

.wap-lobby {
  margin-top: 18px;
}

.wap-deposit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 14px;
  overflow: hidden;
  border: 1px solid rgba(var(--wap-gold-rgb), 0.22);
  border-radius: var(--wap-radius);
  background: var(--card-bg, var(--wap-surface));
  box-shadow: var(--wap-shadow);
}

.wap-deposit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: var(--wap-gold-grad);
}

.wap-deposit__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-left: 8px;
}

.wap-deposit__eyebrow {
  color: var(--wap-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.4px;
}

.wap-deposit__copy strong {
  color: var(--wap-text);
  font-size: 17px;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}

.wap-deposit__copy span:last-child {
  color: var(--wap-muted);
  font-size: 12px;
}

.wap-deposit__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--wap-gold-grad);
  color: var(--wap-cta-text, #1a1408);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 24px rgba(var(--wap-gold-rgb), 0.28);
}

.wap-claim {
  margin-top: 22px;
}

.wap-claim-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wap-claim-card {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(var(--wap-gold-rgb), 0.18);
  border-radius: var(--wap-radius-sm);
  background: var(--card-bg, var(--wap-surface));
  box-shadow: var(--wap-shadow);
}

.wap-claim-card::after {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--wap-muted);
  content: "→";
  font-size: 13px;
  opacity: 0.55;
}

.wap-claim-card__tag {
  color: var(--wap-muted);
  font-size: 10px;
  font-weight: 700;
}

.wap-claim-card strong {
  color: var(--wap-text);
  font-size: 16px;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}

.wap-claim-card small {
  color: var(--wap-muted);
  font-size: 11px;
  line-height: 1.4;
}

.wap-activities {
  margin-top: 22px;
  margin-bottom: 8px;
}

.wap-activity-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.wap-activity-strip::-webkit-scrollbar {
  display: none;
}

.wap-activity-card {
  flex: 0 0 240px;
  min-height: 108px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(var(--wap-gold-rgb), 0.18);
  border-radius: var(--wap-radius);
  background: var(--card-bg, var(--wap-surface));
  box-shadow: var(--wap-shadow);
}

.wap-activity-card--hot {
  border-color: rgba(var(--wap-gold-rgb), 0.35);
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(var(--wap-gold-rgb), 0.12), transparent 50%),
    var(--card-bg-2, var(--wap-surface-2));
}

.wap-activity-card--soft {
  background: var(--wap-surface-2);
}

.wap-activity-card__tag {
  color: rgba(var(--wap-gold-rgb), 0.72);
  font-size: 10px;
  font-weight: 750;
}

.wap-activity-card strong {
  color: var(--wap-text);
  font-size: 15px;
  font-weight: 750;
}

/* =========================================================
   20260809ui3 — 三幕首页：品牌主视觉 / 焦点货架 / Logo 厂牌
   ========================================================= */

.wap-main.wap-home {
  padding: 0 env(safe-area-inset-right, 0px) 20px env(safe-area-inset-left, 0px);
}

/* 幕 1 品牌 Hero：独占首屏构图 */
.wap-hero {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  container-name: wap-hero;
  /* iPhone：顶栏↔底栏刚好一屏（含刘海/Home 条） */
  --wap-hero-fill: calc(
    100svh
    - var(--wap-header-h, 52px)
    - env(safe-area-inset-top, 0px)
    - var(--wap-tabbar-h, 58px)
    - env(safe-area-inset-bottom, 0px)
  );
  min-height: 460px;
  min-height: var(--wap-hero-fill);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 20px 18px;
  background:
    radial-gradient(ellipse 90% 80% at 20% 10%, rgba(201, 168, 76, 0.28), transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 40%, rgba(201, 168, 76, 0.12), transparent 52%),
    linear-gradient(165deg, var(--wap-surface-2, #1c212c) 0%, var(--wap-surface, #10141c) 48%, var(--bg-main, #0b0d11) 100%);
  animation: wap-home-fade 0.55s ease both;
}

@supports not (height: 100svh) {
  .wap-hero {
    --wap-hero-fill: calc(
      100vh
      - var(--wap-header-h, 52px)
      - env(safe-area-inset-top, 0px)
      - var(--wap-tabbar-h, 58px)
      - env(safe-area-inset-bottom, 0px)
    );
  }
}

.wap-hero__glow {
  position: absolute;
  left: -18%;
  bottom: -30%;
  width: 72%;
  height: 70%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(var(--wap-gold-rgb), 0.2), transparent 68%);
  animation: wap-hero-glow 5.5s ease-in-out infinite alternate;
}

.wap-hero__watermark {
  position: absolute;
  left: 0;
  right: 0;
  top: 14%;
  z-index: 0;
  margin: 0;
  padding: 8px 28px 0;
  box-sizing: border-box;
  font-family: var(--wap-font-display, "Syne", sans-serif);
  /* 完整入框：按容器宽，宁小勿裁 */
  font-size: 72px;
  font-size: 22cqi;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(var(--wap-gold-rgb), 0.28), rgba(var(--wap-gold-rgb), 0.05));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  animation: none;
}

.wap-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-bottom: 0;
}

.wap-hero__logo {
  width: 88px;
  height: 88px;
  margin: 0 0 12px;
  will-change: auto;
  animation: none;
}

.wap-hero__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(201, 168, 76, 0.32));
}

.wap-hero__meta {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 !important;
  padding: 10px 0 0 !important;
  border-top: 1px solid rgba(var(--wap-gold-rgb), 0.14);
  min-width: 0;
}

.wap-hero__meta .wap-meta__notice {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.wap-hero__meta .wap-meta__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent);
  mask-image: linear-gradient(90deg, #000 78%, transparent);
}

.wap-hero__meta .wap-meta__live {
  flex: 0 0 auto;
  min-width: 3.5em;
  justify-content: flex-end;
  padding-left: 8px;
  background: linear-gradient(90deg, transparent, rgba(12, 14, 18, 0.92) 28%);
}

.wap-hero__eyebrow {
  margin: 0 0 6px;
  color: rgba(var(--wap-gold-rgb), 0.78);
  font-family: var(--wap-font-display, "Syne", sans-serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.42em;
}

.wap-hero__title {
  margin: 0;
  color: var(--wap-text);
  font-family: var(--wap-font-display, "Syne", sans-serif);
  font-size: clamp(36px, 9.5vw, 48px);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.08;
  background: var(--wap-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wap-hero__lead {
  margin: 12px 0 0;
  color: var(--wap-muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.wap-hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.wap-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 118px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  -webkit-text-fill-color: unset;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wap-hero__btn:active {
  transform: scale(0.97);
}

.wap-hero__btn--primary {
  border: 0;
  background: linear-gradient(135deg, #f0d78a 0%, #c9a84c 50%, #9a7520 100%);
  color: #12100a;
  -webkit-text-fill-color: #12100a;
  box-shadow: 0 10px 24px rgba(201, 168, 76, 0.4);
  animation: wap-cta-enter 0.55s ease both 0.2s;
}

.wap-hero__btn--ghost {
  border: 1px solid rgba(232, 213, 154, 0.55);
  color: #f2eee6;
  -webkit-text-fill-color: #f2eee6;
  background: rgba(255, 255, 255, 0.08);
}

/* 金环 LOGO：上下左右轻弹 */
@keyframes wap-hero-logo-bounce {
  0%, 100% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(4px, -7px, 0); }
  40% { transform: translate3d(-5px, -1px, 0); }
  60% { transform: translate3d(3px, 6px, 0); }
  80% { transform: translate3d(-4px, 2px, 0); }
}

@keyframes wap-watermark-breathe {
  from { opacity: 0.72; }
  to { opacity: 1; }
}

@keyframes wap-cta-enter {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes wap-hero-glow {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 1; transform: scale(1.06); }
}

/* 运营条：热门之后；比例贴近运营原图(~694×375) */
.wap-promo {
  position: relative;
  margin: 8px 16px 20px;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 694 / 375;
  background: var(--card-bg, var(--wap-surface, #10131a));
}

.wap-promo .wap-banner__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}

.wap-promo .wap-banner__slide {
  flex: 0 0 100%;
  height: 100%;
}

.wap-promo .wap-banner__slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.wap-promo .wap-banner__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.wap-promo .wap-banner__slide img.is-ready {
  opacity: 1;
}

.wap-promo .wap-banner__dots {
  position: absolute;
  left: 12px;
  bottom: 10px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.wap-promo .wap-banner__count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.52);
  color: #f5ecd8;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  pointer-events: none;
}

.wap-home > .wap-banner {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 16 / 9;
  background: #0a0c10;
  animation: wap-home-fade 0.55s ease both;
}

.wap-home > .wap-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7, 8, 11, 0.72));
}

.wap-banner__slide img {
  transform: scale(1.02);
  transition: transform 6s ease;
}

.wap-banner__track .wap-banner__slide:first-child img {
  animation: wap-banner-ken 10s ease-in-out infinite alternate;
}

@keyframes wap-banner-ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.07); }
}

@keyframes wap-home-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.wap-home > .wap-lobby, .wap-home > .wap-brands, .wap-home > .wap-deposit, .wap-home > .wap-claim {
  padding-left: 16px;
  padding-right: 16px;
  animation: wap-home-fade 0.55s ease both;
}

.wap-home > .wap-promo {
  animation: wap-home-fade 0.55s ease both;
  animation-delay: 0.12s;
}

.wap-home .sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 焦点货架：1 大横幅 + 其余三列 */
.wap-game-grid--focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px;
}

/* 焦点卡：整行一张，封面铺满，标题叠在图上 */
.wap-game-card--feature {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.wap-game-card--feature .wap-game-card__cover {
  position: absolute;
  inset: 0;
}

.wap-game-card--feature .wap-game-card__cover img {
  object-fit: cover;
  object-position: center center;
}

.wap-game-card--feature .wap-game-card__name {
  font-size: 15px;
  font-weight: 750;
  padding: 22px 12px 12px;
}

/* Logo 厂牌墙 */
.wap-brands--logo .wap-brand-card {
  min-height: 0;
  grid-template-rows: 96px auto;
}

.wap-brands--logo .wap-brand-card__art {
  min-height: 96px;
  background:
    radial-gradient(circle at 50% 40%, rgba(var(--wap-gold-rgb), 0.16), transparent 55%),
    linear-gradient(160deg, #1a1d26 0%, #0e1015 100%);
}

.wap-brands--logo .wap-brand-card__art::after {
  display: none;
}

.wap-brands--logo .wap-brand-card__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  max-width: 108px;
  max-height: 52px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  padding: 0;
  background: none;
}

.wap-brands--logo .wap-brand-card__eyebrow {
  color: rgba(var(--wap-gold-rgb), 0.75);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.wap-claim-board--guest {
  display: block;
}

.wap-claim-card--guest {
  flex: none;
  width: 100%;
}

.wap-home > .wap-lobby { animation-delay: 0.08s; }
.wap-home > .wap-brands { animation-delay: 0.14s; }

/* 公告独立条（首屏英雄区之外） */
.wap-home > .wap-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 4px;
  padding: 8px 10px;
  min-height: 36px;
  border: 1px solid rgba(var(--wap-gold-rgb), 0.22);
  border-radius: var(--wap-radius-sm, 10px);
  background: var(--card-bg, var(--wap-surface));
  box-shadow: var(--wap-shadow);
  animation: wap-home-fade 0.42s ease 0.04s both;
}

.wap-lobby--prime {
  margin-top: 14px;
}

.wap-meta__tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.wap-meta__track {
  font-size: 12px;
  font-weight: 500;
  color: var(--wap-muted);
}

.wap-meta__live {
  border-left: 0;
  padding-left: 0;
  gap: 6px;
  color: var(--wap-muted);
  font-size: 11px;
}

.wap-meta__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ecf8e;
  box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.45);
  animation: wap-live-pulse 1.8s ease-in-out infinite;
}

.wap-meta__broadcast {
  margin: 4px 0 0;
  padding-top: 0;
  padding-bottom: 0;
  color: var(--wap-muted);
  font-size: 11px;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wap-meta__broadcast-tag { display: none; }

.wap-tabs {
  gap: 0;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid rgba(var(--wap-gold-rgb), 0.14);
}

.wap-tabs__btn {
  position: relative;
  flex: 1;
  min-height: 40px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.55;
  color: var(--wap-text);
}

.wap-tabs__btn.is-active {
  background: transparent;
  color: var(--wap-gold-bright);
  opacity: 1;
  box-shadow: none;
}

.wap-tabs__btn.is-active::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--wap-gold-grad);
}

.wap-game-grid {
  gap: 14px 12px;
}

/* 普通卡：封面铺满卡片，标题叠底；方图/横图一律 cover，不再 contain 留黑边 */
.wap-game-card {
  aspect-ratio: 1 / 1;
}

.wap-game-card__hot {
  display: none !important;
}

.wap-game-card__cover {
  background:
    linear-gradient(110deg, var(--wap-surface, #141820) 25%, var(--wap-surface-2, #1c2230) 37%, var(--wap-surface, #141820) 63%);
  background-size: 200% 100%;
  animation: wap-cover-shimmer 1.4s ease-in-out infinite;
}

.wap-game-card__cover.is-loaded, .wap-game-card__cover:has(img.is-ready), .wap-game-card__cover:has(.wap-game-card__mark:not([hidden])) {
  animation: none;
  background: var(--card-bg, var(--wap-surface, #10131a));
}

.wap-game-card__cover img {
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.45s ease;
}

.wap-game-card__cover img.is-ready {
  opacity: 1;
}

.wap-game-card:hover .wap-game-card__cover img.is-ready {
  transform: scale(1.03);
}

@keyframes wap-cover-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.wap-game-card__name {
  color: rgba(243, 229, 171, 0.95);
}

.wap-section-head {
  margin-bottom: 14px;
}

.wap-section-head h2, .wap-lobby__title {
  font-family: var(--wap-font-display, "Syne", sans-serif);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.wap-lobby--prime {
  margin-bottom: 28px;
}

.wap-brands {
  margin-bottom: 24px;
}

.wap-section-link {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
}

.wap-brand-card {
  border-color: rgba(var(--wap-gold-rgb), 0.14);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.wap-brand-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.wap-deposit {
  margin-top: 8px;
  border: 1px solid rgba(var(--wap-gold-rgb), 0.22);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(var(--wap-gold-rgb), 0.16), transparent 50%),
    var(--wap-surface, var(--card-bg));
  box-shadow: var(--wap-shadow);
}

.wap-deposit::before { display: none; }

.wap-claim-board:not(.wap-claim-board--guest) {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.wap-claim-board::-webkit-scrollbar { display: none; }

.wap-claim-card {
  border: 0;
  border-radius: 14px;
  background: var(--wap-surface-2);
  box-shadow: none;
  padding: 16px;
}

.wap-claim-board:not(.wap-claim-board--guest) .wap-claim-card {
  flex: 0 0 70%;
}

.wap-claim-card::after {
  opacity: 0.35;
}

@media (min-width: 481px) {
  .wap-hero {
    padding: 48px 28px 20px;
  }

  .wap-hero__watermark {
    top: 15%;
    font-size: 22cqi;
  }

  .wap-hero__logo {
    width: 92px;
    height: 92px;
  }

  .wap-hero__title {
    font-size: 56px;
  }

  .wap-game-grid, .wap-game-grid--focus {
    gap: 16px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wap-home > .wap-banner, .wap-home > .wap-meta, .wap-home > .wap-lobby, .wap-home > .wap-promo, .wap-hero, .wap-hero__logo, .wap-hero__watermark, .wap-hero__glow, .wap-hero__btn--primary, .wap-game-card__cover, .wap-banner__track .wap-banner__slide:first-child img, .wap-meta__pulse {
    animation: none !important;
  }

  .wap-game-card__cover img, .wap-promo .wap-banner__slide img {
    opacity: 1;
  }
}

/* =========================================================
   20260810w91 — 宽幅运营主视觉（上图下文，禁方标/禁字叠字）
   ========================================================= */
.wap-hero--visual.wap-hero--split {
  padding: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--wap-bg, #0b0d11);
  animation: wap-home-fade 0.5s ease both;
}
.wap-hero--split .wap-hero__stage {
  position: relative;
  inset: auto;
  z-index: 0;
  width: 100%;
  aspect-ratio: 694 / 375;
  max-height: min(42vh, 280px);
  overflow: hidden;
  flex: 0 0 auto;
}
.wap-hero--split .wap-hero__stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  animation: wap-hero-ken 20s ease-in-out infinite alternate;
}
.wap-hero--split .wap-hero__stage-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 10, 14, 0.55) 100%);
  pointer-events: none;
}
.wap-hero--split .wap-hero__inner {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 18px 20px 20px;
  background:
    radial-gradient(ellipse 80% 80% at 12% 0%, rgba(var(--wap-gold-rgb), 0.12), transparent 55%),
    var(--wap-bg, #0b0d11);
}
.wap-hero--split .wap-hero__eyebrow {
  color: rgba(var(--wap-gold-rgb), 0.9);
  text-shadow: none;
}
.wap-hero--split .wap-hero__lead {
  color: var(--wap-muted);
  text-shadow: none;
}
.wap-hero--split .wap-hero__cta {
  margin-top: 16px;
}
.wap-hero--split .wap-hero__btn--ghost {
  border-color: rgba(var(--wap-gold-rgb), 0.45);
  color: var(--wap-text);
  -webkit-text-fill-color: var(--wap-text);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: none;
}
@keyframes wap-hero-ken {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-0.8%, 0.6%, 0); }
}
.wap-home > .wap-meta {
  margin: 10px 14px 6px;
}
.wap-tab-panel {
  animation: wap-home-fade 0.28s ease both;
}
.wap-game-card {
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.wap-game-card:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .wap-hero__stage-img { animation: none !important; transform: none; }
}

/* =========================================================
   20260810w110 — 首页 98 打磨（10 遍收口）
   ========================================================= */

/* Pass1 首屏：主按钮阴影稳态 */
.wap-hero__btn--primary {
  box-shadow: 0 10px 24px rgba(201, 168, 76, 0.38);
}
.wap-hero__btn--primary:active {
  box-shadow: 0 6px 14px rgba(201, 168, 76, 0.28);
}

/* Pass2 公告条：mask + 在线标签 + 16px 节奏 */
.wap-home > .wap-meta {
  margin: 12px 16px 8px;
  padding: 8px 12px;
  gap: 10px;
}
.wap-home > .wap-meta .wap-meta__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
  mask-image: linear-gradient(90deg, #000 82%, transparent);
}
.wap-meta__live-label {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--wap-muted);
  opacity: 0.85;
}
.wap-meta__live strong {
  font-variant-numeric: tabular-nums;
  min-width: 1.6em;
  text-align: right;
}

/* Pass3 货架：特征卡与点按 */
.wap-lobby--prime {
  margin-top: 18px;
  padding: 0 16px;
}
.wap-game-card--feature .wap-game-card__cover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.wap-game-card:active {
  transform: scale(0.97);
}

/* Pass4 运营区：独立区块头 + 轮播壳 */
.wap-promo-block {
  margin: 22px 16px 0;
}
.wap-promo-block .wap-section-head {
  margin-bottom: 12px;
}
.wap-home > .wap-promo, .wap-promo-block .wap-promo {
  margin: 0;
  border: 1px solid rgba(var(--wap-gold-rgb), 0.16);
  box-shadow: var(--wap-shadow);
}
.wap-promo .wap-banner__slide img.is-fail {
  opacity: 0.35;
  min-height: 100%;
  background: #1a1f28;
}

/* Pass5 充值 / 可领节奏 */
.wap-home > .wap-deposit {
  margin: 22px 16px 0;
}
.wap-home > .wap-claim {
  margin: 22px 16px 8px;
}
.wap-deposit__btn:active {
  transform: scale(0.97);
}
.wap-claim-card:active {
  transform: scale(0.985);
}

/* Pass7 字号 / 区块头 */
.wap-home .wap-section-head h2, .wap-home .wap-lobby__title {
  letter-spacing: 0.03em;
  font-weight: 800;
}
.wap-home .wap-section-link {
  letter-spacing: 0.04em;
  opacity: 0.88;
}
.wap-deposit__eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Pass8 厂商区节奏 */
.wap-home > .wap-brands {
  margin-top: 24px;
}
.wap-promo-block {
  animation: wap-home-fade 0.55s ease both;
  animation-delay: 0.1s;
}

/* Pass9 动效预算：保留金环弹跳 + 在线脉冲；降噪其余 */
.wap-hero__glow {
  animation: none;
  opacity: 0.85;
}
.wap-game-card__cover {
  animation-iteration-count: 1;
  animation-duration: 1.15s;
}

@media (prefers-reduced-motion: reduce) {
  .wap-hero__logo, .wap-hero__watermark, .wap-hero__btn--primary, .wap-meta__pulse, .wap-game-card__cover {
    animation: none !important;
  }
}

/* =========================================================
   20260810m1-1 — 手机端产品主视觉首屏（氛围 + 真实游戏图）
   ========================================================= */
.wap-hero.wap-hero--product {
  position: relative;
  isolation: isolate;
  min-height: 200px;
  height: auto;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 18% 8%, rgba(var(--wap-gold-rgb, 201, 168, 76), 0.22), transparent 58%),
    var(--bg-main);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-shrink: 0;
}

.wap-hero--product .wap-hero__atmosphere, .wap-hero--product .wap-hero__product, .wap-hero--product .wap-hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wap-hero--product .wap-hero__atmosphere {
  z-index: 0;
}

.wap-hero--product .wap-hero__atmosphere img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: none;
  animation: none;
}

.wap-hero--product .wap-hero__scrim {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(var(--color-gold-rgb, 201, 168, 76), 0.12) 0%, transparent 38%, rgba(11, 13, 17, 0.55) 100%),
    linear-gradient(90deg, rgba(11, 13, 17, 0.28) 0%, transparent 55%, rgba(11, 13, 17, 0.18) 100%);
}

.wap-hero--product .wap-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 78%;
  margin: 0;
  padding: 28px 16px 22px;
}

.wap-hero--product .wap-hero__logo {
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
}

.wap-hero--product .wap-hero__title {
  font-size: clamp(34px, 10vw, 48px);
}

.wap-hero--product .wap-hero__cta {
  margin-top: 16px;
}

@keyframes wap-hero-ken-m1 {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1%, 0.5%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .wap-hero--product .wap-hero__atmosphere img {
    animation: none !important;
  }
}

/* =========================================================
   20260816quiet1 — 去廉价：少金闪、无大字洞、货架只留海报
   ========================================================= */

.wap-home--quiet .wap-hero__lead {
  display: none;
}

.wap-home--quiet .wap-hero__logo img {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.wap-home--quiet .wap-hero__btn {
  min-height: 44px;
  min-width: 104px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.12em;
  animation: none;
}

.wap-home--quiet .wap-hero__btn--primary {
  background: var(--wap-gold, var(--color-gold, #c9a84c));
  color: var(--wap-cta-text, #16130c);
  -webkit-text-fill-color: var(--wap-cta-text, #16130c);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.wap-home--quiet .wap-hero__btn--ghost {
  border-color: rgba(242, 238, 230, 0.28);
  background: transparent;
  font-weight: 500;
}

.wap-home--quiet > .wap-meta {
  margin: 10px 16px 4px;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-height: 0;
}

.wap-home--quiet .wap-meta__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--wap-muted);
  font-size: 11px;
  font-weight: 500;
}

.wap-home--quiet .wap-meta__pulse {
  display: block;
  width: 6px;
  height: 6px;
  opacity: 0.8;
}

.wap-home--quiet .wap-meta__live strong {
  color: var(--wap-text);
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.wap-home--quiet .wap-meta__live-label {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.wap-home--quiet .wap-meta__tag {
  font-weight: 600;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.wap-home--quiet .wap-game-card {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.wap-home--quiet .wap-game-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.wap-home--quiet .wap-game-card__mark {
  display: none !important;
}

.wap-home--quiet .wap-game-card__name {
  color: rgba(247, 244, 238, 0.92);
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.wap-home--quiet .wap-game-card__cover.is-fallback {
  display: grid;
  place-items: center;
  background: #12151c;
}

.wap-home--quiet .wap-game-card__cover.is-fallback img {
  width: 36%;
  height: 36%;
  object-fit: contain;
  opacity: 0.72;
}

.wap-home--quiet .wap-game-card.is-brand .wap-game-card__cover img {
  object-fit: contain;
  padding: 16%;
  background: var(--card-bg, var(--wap-surface, #10131a));
}

.wap-home--quiet .wap-game-card--feature {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.wap-home--quiet .wap-tabs__btn.is-active::after {
  background: var(--wap-gold, var(--color-gold, #c9a84c));
  height: 1px;
  left: 22%;
  right: 22%;
}

.wap-home--quiet .wap-section-head h2, .wap-home--quiet .wap-lobby__title {
  font-weight: 650;
  letter-spacing: 0.08em;
  font-size: 15px;
}

.wap-home--quiet .wap-section-link {
  font-weight: 500;
  opacity: 0.55;
}

.wap-home--quiet .wap-brands--logo .wap-brand-card__arrow, .wap-home--quiet .wap-brands--logo .wap-brand-card__eyebrow {
  display: none;
}

.wap-home--quiet .wap-brands--logo .wap-brand-card__art {
  background: #12151c;
}

.wap-home--quiet .wap-brands--logo .wap-brand-card__logo {
  filter: none;
}

.wap-home--quiet .wap-brand-card__name {
  font-weight: 600;
  font-size: 13px;
}

.wap-home--quiet .wap-promo-block .wap-promo {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.wap-home--quiet .wap-deposit {
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(var(--wap-gold-rgb), 0.14), transparent 52%),
    var(--wap-surface, var(--card-bg));
}

.wap-home--quiet .wap-deposit__btn {
  background: var(--wap-gold-grad, var(--wap-gold, var(--color-gold, #c9a84c)));
  min-height: 44px;
  box-shadow: 0 8px 18px rgba(var(--wap-gold-rgb), 0.22);
  font-weight: 800;
}

.wap-home--quiet .wap-claim-board--guest {
  display: block;
  overflow: visible;
}

.wap-home--quiet .wap-claim-card--guest {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.wap-home--quiet .wap-claim-card {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.wap-home--quiet .wap-claim-card::after {
  display: none;
}

.wap-home--quiet .wap-claim-card__tag {
  letter-spacing: 0.12em;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .wap-home--quiet .wap-game-card__cover img {
    opacity: 1;
  }
}

.wap-home--quiet .wap-game-card:not(.is-brand) .wap-game-card__cover img {
  object-fit: cover;
}

/* =========================================================
   20260818hero-compact — 首屏先看见热门游戏，英雄区不再铺满整屏
   ========================================================= */

.wap-main.wap-home {
  padding-top: 0;
}

.wap-home--quiet .wap-hero.wap-hero--product {
  --wap-hero-fill: min(42vh, 340px);
  width: 100%;
  box-sizing: border-box;
  min-height: 260px;
  height: var(--wap-hero-fill);
  max-height: 340px;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
}

@supports (height: 100svh) {
  .wap-home--quiet .wap-hero.wap-hero--product {
    --wap-hero-fill: min(42svh, 340px);
  }
}

@supports (height: 100dvh) {
  .wap-home--quiet .wap-hero.wap-hero--product {
    --wap-hero-fill: min(42dvh, 340px);
  }
}

.wap-home--quiet .wap-hero--product .wap-hero__atmosphere, .wap-home--quiet .wap-hero--product .wap-hero__scrim {
  position: absolute;
  inset: 0;
}

.wap-home--quiet .wap-hero--product .wap-hero__atmosphere img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: none;
  animation: none;
}

.wap-home--quiet .wap-hero--product .wap-hero__inner {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 24px 16px 18px;
}

@media (max-height: 560px) {
  .wap-home--quiet .wap-hero--product .wap-hero__logo {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
  }

  .wap-home--quiet .wap-hero--product .wap-hero__title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .wap-home--quiet .wap-hero--product .wap-hero__inner {
    padding: 16px 16px 14px;
  }
}

/* =========================================================
   20260816marquee1 — 公告跑马灯：进屏再滚，按字宽匀速
   ========================================================= */

.wap-home > .wap-meta {
  animation: none;
}

.wap-home .wap-meta__viewport {
  overflow: hidden;
  min-width: 0;
  flex: 1 1 auto;
}

.wap-home .wap-meta__track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  will-change: transform;
  animation-name: wap-notice-marquee;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--wap-marquee-dur, 22s);
}

.wap-hero__meta--quiet .wap-meta__live {
  border-left: 0;
  padding-left: 0;
  margin-left: auto;
}

/* =========================================================
   20260818hero-presence — 大图压场：少遮、单钮、公告贴底
   ========================================================= */

.wap-hero--product .wap-hero__scrim {
  background:
    linear-gradient(180deg, rgba(var(--color-gold-rgb, 201, 168, 76), 0.1) 0%, transparent 40%, rgba(11, 13, 17, 0.5) 100%),
    linear-gradient(90deg, rgba(11, 13, 17, 0.18) 0%, transparent 52%, rgba(11, 13, 17, 0.1) 100%);
}

.wap-home--quiet .wap-hero--product .wap-hero__logo {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}

.wap-home--quiet .wap-hero--product .wap-hero__title {
  font-size: clamp(28px, 8vw, 40px);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.wap-home--quiet .wap-hero--product .wap-hero__cta {
  margin-top: 16px;
}

.wap-home--quiet .wap-hero--product .wap-hero__btn {
  min-width: 128px;
}

.wap-home--quiet .wap-hero--product .wap-hero__inner {
  padding: 18px 16px 8px;
}

.wap-home--quiet .wap-hero--product .wap-hero__meta {
  position: relative;
  z-index: 3;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 !important;
  padding: 8px 16px 12px !important;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-height: 0;
}

@media (max-height: 560px) {
  .wap-home--quiet .wap-hero--product .wap-hero__logo {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
  }

  .wap-home--quiet .wap-hero--product .wap-hero__title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .wap-home--quiet .wap-hero--product .wap-hero__inner {
    padding: 12px 16px 6px;
  }
}

.wap-home-alert {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px calc(24px + var(--wap-tabbar-h, 56px));
}
.wap-home-alert[hidden] { display: none !important; }
.wap-home-alert__mask {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(8, 10, 14, 0.72);
}
.wap-home-alert__box {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(var(--wap-gold-rgb), 0.35);
  background: var(--bg-main, #12141a);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.wap-home-alert__box img {
  display: block;
  width: 100%;
  height: auto;
}
.wap-home-alert__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

/* =========================================================
   20260818hero-flagship — 品牌场压住黑金；活动图仍在热门后
   ========================================================= */

.wap-hero--product .wap-hero__watermark {
  z-index: 1;
  top: 8%;
  font-size: clamp(56px, 22cqi, 92px);
}

.wap-hero--product .wap-hero__scrim {
  background:
    linear-gradient(180deg, rgba(11, 13, 17, 0.18) 0%, transparent 36%, rgba(11, 13, 17, 0.42) 100%),
    linear-gradient(90deg, rgba(11, 13, 17, 0.12) 0%, transparent 55%, rgba(11, 13, 17, 0.08) 100%);
}

.wap-home--quiet .wap-hero--product .wap-hero__logo {
  width: 88px;
  height: 88px;
  margin-bottom: 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: wap-hero-logo-bounce 5.2s ease-in-out infinite;
}

.wap-home--quiet .wap-hero--product .wap-hero__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(201, 168, 76, 0.4));
}

.wap-home--quiet .wap-hero--product .wap-hero__btn {
  min-height: 44px;
  animation: wap-cta-enter 0.55s ease both 0.2s;
}

.wap-home--quiet .wap-hero--product .wap-hero__btn--primary {
  background: linear-gradient(135deg, #f0d78a 0%, #c9a84c 50%, #9a7520 100%);
  color: #12100a;
  -webkit-text-fill-color: #12100a;
  box-shadow: 0 10px 24px rgba(201, 168, 76, 0.38);
}

.wap-home--quiet .wap-hero--product .wap-hero__meta .wap-meta__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid rgba(var(--wap-gold-rgb, 201, 168, 76), 0.22);
}

.wap-home--quiet .wap-hero--product .wap-hero__meta .wap-meta__notice {
  min-width: 0;
  flex: 1 1 auto;
}

@media (max-height: 560px) {
  .wap-home--quiet .wap-hero--product .wap-hero__logo {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wap-home--quiet .wap-hero--product .wap-hero__logo,
  .wap-home--quiet .wap-hero--product .wap-hero__btn {
    animation: none !important;
  }
}

/* =========================================================
   20260818hero-stage — 氛围图取舞台中段；金环居中压场；热门仍露头
   ========================================================= */

.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage {
  --wap-hero-fill: min(48vh, 390px);
  min-height: 300px;
  height: var(--wap-hero-fill);
  max-height: 390px;
  justify-content: flex-end;
}

@supports (height: 100svh) {
  .wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage {
    --wap-hero-fill: min(48svh, 390px);
  }
}

@supports (height: 100dvh) {
  .wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage {
    --wap-hero-fill: min(48dvh, 390px);
  }
}

.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__atmosphere-sky,
.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__atmosphere-floor {
  position: absolute;
  right: auto;
  display: block;
  object-fit: cover;
  transform: none;
  animation: none;
}

.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__atmosphere-sky {
  top: -8%;
  left: -18%;
  width: 136%;
  height: 72%;
  object-position: 50% 0%;
}

.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__atmosphere-floor {
  bottom: -10%;
  left: -14%;
  width: 128%;
  height: 62%;
  object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 36%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 36%, #000 100%);
}

.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__scrim {
  background:
    radial-gradient(ellipse 90% 50% at 50% 12%, rgba(var(--color-gold-rgb, 201, 168, 76), 0.28), transparent 62%),
    linear-gradient(180deg, transparent 0%, transparent 52%, rgba(11, 13, 17, 0.42) 100%);
}

.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__watermark {
  top: 12%;
  font-size: clamp(52px, 22cqi, 88px);
  letter-spacing: 0.16em;
}

.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  padding: 8px 16px 0;
}

.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 6px;
  animation: wap-hero-logo-bounce 6.4s ease-in-out infinite;
}

.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__eyebrow {
  margin: 0 0 4px;
}

.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__title {
  font-size: clamp(28px, 7.5vw, 38px);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}

.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__cta {
  justify-content: center;
  margin-top: 12px;
}

.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__btn {
  min-height: 44px;
  min-width: 132px;
}

.wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__meta {
  flex-shrink: 0;
}

@media (max-height: 560px) {
  .wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__logo {
    width: 96px;
    height: 96px;
    margin-bottom: 4px;
  }

  .wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__title {
    font-size: clamp(26px, 7vw, 34px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__logo,
  .wap-home--quiet .wap-hero.wap-hero--product.wap-hero--stage .wap-hero__btn {
    animation: none !important;
  }
}

