/* LavishLuck 镜像交互样式 */

/* 渐进图:勿全局翻转 opacity。
   原站 SSR:placeholder 可见;absolute 高清层 class 为 opacity-0,JS 加载成功后才显示。
   游戏详情的 dog8 CDN 原站即 403,高清层永不显示——应一直露出 placeholder 缩略图。 */
.progressive-image img.placeholder { opacity: 1 !important; }

/* 加载遮罩:原站靠 JS 移除(自带 noscript 隐藏兜底),静态镜像无条件隐藏 */
.fade-overlay { display: none !important; }

/* swiper 拖拽滚动:隐藏原生滚动条 */
.mrr-swiper-scroll::-webkit-scrollbar { display: none; }
.mrr-swiper-scroll { -ms-overflow-style: none; scrollbar-width: none; cursor: grab; }
.mrr-swiper-scroll:active { cursor: grabbing; }

/* 移动端抽屉(配色对齐原站 #492AA5 顶栏) */
.mrr-drawer-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease; z-index: 1400;
}
.mrr-drawer-overlay.show { opacity: 1; pointer-events: auto; }
.mrr-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 302px; max-width: 84vw;
  background: #492aa5; color: #fff; z-index: 1401; overflow-y: auto;
  transform: translateX(-100%); transition: transform 0.28s ease;
  padding: 16px 0 32px;
}
.mrr-drawer.show { transform: translateX(0); }
.mrr-drawer-head {
  display: flex; align-items: center; gap: 10px; padding: 8px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); margin-bottom: 8px;
}
.mrr-drawer-head img { width: 56px; height: auto; }
.mrr-drawer-head span { font-weight: 700; font-size: 18px; }
.mrr-drawer-group { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mrr-drawer-title {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 14px 20px; background: none; border: 0; color: #fff;
  font-size: 15px; font-weight: 700; cursor: pointer; text-align: left;
}
.mrr-drawer-title .mrr-arrow { transition: transform 0.2s ease; font-size: 12px; }
.mrr-drawer-sub {
  display: none; padding: 0 0 8px;
}
.mrr-drawer-sub.open { display: block; }
.mrr-drawer-sub a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px 10px 32px; color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600;
}
.mrr-drawer-sub a:active, .mrr-drawer-sub a:hover { background: rgba(57, 255, 36, 0.25); }
.mrr-drawer-sub a img { width: 22px; height: 22px; }

/* /slots/ Banner 轮播(对齐原站水合后分页样式) */
.mrr-slots-banner {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.mrr-slots-banner .swiper-wrapper {
  will-change: transform;
}
#slots-banner-pagination.swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  width: 100%;
  text-align: center;
  z-index: 2;
  line-height: 0;
}
#slots-banner-pagination .swiper-pagination-bullet {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgb(149, 180, 240);
  opacity: 0.2;
  margin: 0 4px;
  cursor: pointer;
  transition: width 0.2s ease, opacity 0.2s ease;
}
#slots-banner-pagination .swiper-pagination-bullet-active {
  width: 13px;
  opacity: 1;
}

/* /prize-video/ Banner 分页(对齐原站 styled-jsx) */
#video-banner-pagination.mrr-video-banner-pag,
#video-banner-pagination {
  position: absolute;
  width: auto !important;
  left: 50%;
  transform: translateX(-50%);
  bottom: var(--video-swiper-pagination-bottom, 3rem) !important;
  z-index: 5;
  text-align: center;
  line-height: 0;
}
#video-banner-pagination .swiper-pagination-bullet {
  display: inline-block;
  background-color: #000 !important;
  border-radius: 999px;
  width: 40px !important;
  height: 8px !important;
  opacity: 1;
  margin: 0 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
@media (min-width: 768px) {
  #video-banner-pagination .swiper-pagination-bullet {
    width: 80px !important;
  }
}
#video-banner-pagination .swiper-pagination-bullet-active {
  background-color: #fff !important;
}

.mrr-video-banner {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.mrr-video-banner .swiper-wrapper {
  will-change: transform;
}

/* YouTube 弹窗(对齐原站 .youtube-video-modal) */
.mrr-yt-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  box-sizing: border-box;
}
.mrr-yt-modal.show {
  display: flex;
}
.mrr-yt-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}
.mrr-yt-panel {
  position: relative;
  z-index: 1;
  width: calc(100% - 48px);
  max-width: 896px;
  margin-inline: auto;
}
.mrr-yt-close {
  padding: 4px;
  width: 24px;
  height: 24px;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}
.mrr-yt-frame {
  width: 100%;
}
.mrr-yt-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  display: block;
}

