/* leyu01 shell fixes on BW-01 — keep after leyu01-app.global.css */

/* Hide kaiyun right float when leyu asides are present */
.leyu-main-shell .sidebar__floatMenu__EMITZ {
  display: none !important;
}

#header #account-box #captcha {
  cursor: pointer;
}

#header #account-box .leyu-trial-link {
  position: absolute;
  right: 0;
  bottom: -22px;
  color: #ffe7a0;
  font-size: 12px;
  text-decoration: underline;
  white-space: nowrap;
}

.leyu-main-shell a {
  text-decoration: none;
}

#header #account-box #login-box {
  min-width: 70px;
  color: #3a2712;
  font-weight: 700;
}

/* Nav active / hover subnav fallback */
#nav > ul > li.selected > a,
#nav > ul > li > a.router-link-active {
  background: rgba(0, 0, 0, 0.12);
}

#nav > ul > li:hover > .subnav,
#nav > ul > li:hover > ol.subnav,
#nav > ul > li:hover > div.subnav {
  display: block !important;
  z-index: 200;
}

#top-nav ul > li .show_app {
  z-index: 50;
}

body,
#app,
.leyu-main-shell {
  min-width: 1200px;
  background-color: #1b140a;
  color: #e5ce6e;
}

/* Logged-in #account-info / #action-box / #account-nav — gold layout clearfix */
#header #account-box.leyu-account-logged,
#header #account-box:has(#account-info) {
  width: 520px;
  text-align: right;
}

#header #account-box.leyu-account-logged ul#account-info,
#header #account-box ul#account-info {
  float: left;
  overflow: hidden;
  box-sizing: border-box;
  height: 30px;
  background-color: #1b140a;
  border: 1px solid #563b1e;
}

#header #account-box ul#account-info > li {
  color: #815e28;
}

#header #account-box ul#account-info > li > span.account {
  color: #c29b4c;
}

#header #account-box.leyu-account-logged #action-box,
#header #account-box #action-box {
  float: right;
}

#header #account-box #action-box .common-btn {
  background-color: #c29b4c;
  color: #312112;
  font-weight: 700;
}

#header #account-box #action-box .common-btn:hover {
  filter: brightness(1.08);
  color: #1b140a;
}

#header #account-box.leyu-account-logged ul#account-nav,
#header #account-box ul#account-nav {
  clear: both;
  padding-top: 2px;
}

#header #account-box ul#account-nav > li > a {
  color: #c29b4c;
}

#header #account-box ul#account-nav > li > a:hover {
  color: #ffe67c;
}

#header #account-box ul#account-nav > li + li:before {
  color: #c29b4c;
}

/* Home banner: gold sizes the <a>, keep slide box tall even if assets lag */
#banner #slide-banner {
  height: 418px;
}

#banner #slide-banner .slide a {
  display: inline-block;
  width: 1920px;
  height: 418px;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Home popup: without .show the gold CSS hides the dialog while any custom mask still blocks clicks */
#marquee-dialog #marquee-wrapper.show {
  display: block !important;
  z-index: 10001;
  background-color: rgba(0, 0, 0, 0.8);
}

#marquee-dialog #marquee-wrapper.show #marquee {
  margin-top: 100px;
  cursor: pointer;
}

#marquee-dialog #marquee-wrapper.show #marquee > footer > span {
  cursor: pointer;
}

/* 首页 24h 数据 / 中奖 / 场馆 Tab：覆盖全局 .wrapper 的 220px 左内边距，保证 1000px 居中 */
#home-winner .wrapper,
#slot-game .wrapper,
#news .wrapper {
  width: 1000px;
  margin: 0 auto;
  padding-left: 0;
  box-sizing: border-box;
}

/* 对齐金标 #home-about：文案 535px + 金沙楼图 + data.png 居中，圈子不会上移压楼 */
#home-about .wrapper {
  width: 1000px !important;
  height: 500px !important;
  margin: 0 auto;
  padding: 70px 0 0 !important;
  box-sizing: border-box;
  background: url(/static/leyu01/img/sands_img.993f6e9f.png) no-repeat right 20px;
}
#home-about .wrapper p.txt {
  margin: 0 !important;
  padding-top: 40px !important;
  width: 535px;
  color: #fff;
  font-size: 12px;
  line-height: 1.7em;
  text-align: justify;
}
#home-about .wrapper ul.data {
  display: block;
  height: 180px;
  margin-top: 45px;
  padding: 57px 0 0 780px !important;
  background: url(/static/leyu01/img/data.d4aac5ed.png) no-repeat 50% 50% !important;
}

#slot-game .slot-list {
  overflow: hidden;
}
#slot-game .slot-list li img {
  display: block;
  width: 180px;
  height: 114px;
  object-fit: cover;
  object-position: center top;
}

/* 登出确认框：index.html 未加载 ant CSS，补最小可见样式 */
.ant-modal-root {
  position: fixed;
  inset: 0;
  z-index: 10050;
}
.ant-modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.ant-modal-wrap {
  position: fixed;
  inset: 0;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ant-modal {
  position: relative;
  width: 416px;
  max-width: 92vw;
}
.ant-modal-content {
  background: #2f2212;
  border: 1px solid #563b1e;
  border-radius: 6px;
  color: #f4e6c8;
  padding: 20px 24px 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.ant-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #cfac60;
  font-size: 20px;
  cursor: pointer;
}
.ant-modal-confirm-title {
  color: #c29b4c;
  font-size: 16px;
  font-weight: 700;
}
.ant-modal-confirm-content {
  margin: 10px 0 18px;
  color: #e5ce6e;
}
.ant-modal-confirm-btns {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.ant-btn {
  min-width: 72px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid #563b1e;
  background: #312112;
  color: #cfac60;
  cursor: pointer;
  border-radius: 2px;
}
.ant-btn-primary {
  background: linear-gradient(90deg, #edd171, #c29b4c);
  border-color: #c29b4c;
  color: #1b140a;
  font-weight: 700;
}

#footer-logo.has-custom-footer {
  width: 100% !important;
  max-width: 1000px;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  background: none !important;
  background-image: none !important;
}
#footer-logo.has-custom-footer .footer-sprite {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
