/* 小念易游 全站背景：
   前台所有页面统一使用 /h5/images/site-bg.jpg 作为背景图，
   页面根容器透明，卡片与内容区域保持原有样式。 */

html,
body {
  min-height: 100%;
  background-color: #f5f5f5 !important;
}

body {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .74) 0%, rgba(255, 255, 255, .82) 45%, rgba(255, 255, 255, .9) 100%),
    url('/h5/images/site-bg.jpg') !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center top, center top !important;
  background-size: cover, cover !important;
  background-attachment: fixed, fixed !important;
}

/* 深色模板（独眼蛇）：改用深色蒙层，保证浅色文字可读 */
body.theme-dark {
  background-image:
    linear-gradient(180deg, rgba(9, 9, 14, .58) 0%, rgba(9, 9, 14, .74) 55%, rgba(9, 9, 14, .86) 100%),
    url('/h5/images/site-bg.jpg') !important;
}

/* 让背景透出的页面根容器 */
#app,
uni-app,
uni-page,
uni-page-wrapper,
uni-page-body,
.eye-app,
.eye-page,
.k77-app,
.k77-page,
.qy-app,
.qy-page,
.dy-app,
.dy-page,
.gm-app,
.gm-page,
.tx-app,
.tx-page,
.pp-app,
.pp-page,
.boot-page,
.checkout,
.leaderboard,
.notice-page,
.order-page,
.orders-page,
.detail-page,
.player-list-page,
.wallet-page,
.setting-page,
.pe-page,
.sr-page,
.conv-page,
.kff-page,
.messages-page,
.wset-page,
.wfine-page,
.login-page {
  background: transparent !important;
}

/* 部分页面根容器带 !important 白色背景，需提高优先级 */
body .wmy.wmy {
  background: transparent !important;
  background-image: none !important;
}

/* 聚合登录按钮（登录页） */
.oauth-list {
  display: flex;
  gap: 10px;
}

.oauth-btn {
  flex: 1;
  height: 48px;
  border: none !important;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
  transition: transform .12s ease, opacity .12s ease;
}

.oauth-btn:active {
  transform: scale(.97);
  opacity: .9;
}

.oauth-btn .oauth-btn-label {
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
}

.oauth-btn-wx {
  background: linear-gradient(135deg, #09d564, #07b355) !important;
}

.oauth-btn-qq {
  background: linear-gradient(135deg, #31c7ff, #12a9e8) !important;
}

.oauth-btn-alipay {
  background: linear-gradient(135deg, #2b8cff, #1677ff) !important;
}
