/* 财神国际 — 优惠活动完整页 */
/* 只隐藏活动页原生内容；勿隐藏含 layout-footer 的 section-content 祖先 */
html:not([data-cs-route="canReceive"]):not([data-cs-route="promoRecords"]):not([data-cs-route="receiveRecords"]) body.cs-promo-active:has(#cs-promo-root):not(.cs-can-receive):not(.cs-receive-records):not(.cs-promo-records) .lobby-base-header,
html:not([data-cs-route="canReceive"]):not([data-cs-route="promoRecords"]):not([data-cs-route="receiveRecords"]) body.cs-promo-active:has(#cs-promo-root):not(.cs-can-receive):not(.cs-receive-records):not(.cs-promo-records) [class*="discount-header"],
html:not([data-cs-route="canReceive"]):not([data-cs-route="promoRecords"]):not([data-cs-route="receiveRecords"]) body.cs-promo-active:has(#cs-promo-root):not(.cs-can-receive):not(.cs-receive-records):not(.cs-promo-records) [class*="_vip_"] > [class*="section-content"],
html:not([data-cs-route="canReceive"]):not([data-cs-route="promoRecords"]):not([data-cs-route="receiveRecords"]) body.cs-promo-active:has(#cs-promo-root):not(.cs-can-receive):not(.cs-receive-records):not(.cs-promo-records) [class*="_vip-placeholder"],
html:not([data-cs-route="canReceive"]):not([data-cs-route="promoRecords"]):not([data-cs-route="receiveRecords"]) body.cs-promo-active:has(#cs-promo-root):not(.cs-can-receive):not(.cs-receive-records):not(.cs-promo-records) [class*="_tabs_"].ui-tabs,
html:not([data-cs-route="canReceive"]):not([data-cs-route="promoRecords"]):not([data-cs-route="receiveRecords"]) body.cs-promo-active:has(#cs-promo-root):not(.cs-can-receive):not(.cs-receive-records):not(.cs-promo-records) [class*="BottomReceive"],
html:not([data-cs-route="canReceive"]):not([data-cs-route="promoRecords"]):not([data-cs-route="receiveRecords"]) body.cs-promo-active:has(#cs-promo-root):not(.cs-can-receive):not(.cs-receive-records):not(.cs-promo-records) [class*="bottom-receive"],
html:not([data-cs-route="canReceive"]):not([data-cs-route="promoRecords"]):not([data-cs-route="receiveRecords"]) body.cs-promo-active:has(#cs-promo-root):not(.cs-can-receive):not(.cs-receive-records):not(.cs-promo-records) [class*="receive-index"],
html:not([data-cs-route="canReceive"]):not([data-cs-route="promoRecords"]):not([data-cs-route="receiveRecords"]) body.cs-promo-active:has(#cs-promo-root):not(.cs-can-receive):not(.cs-receive-records):not(.cs-promo-records) [class*="can-receive"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

body.cs-promo-active:has(.cs-promo-shell--detail) .lobby-base-header,
body.cs-promo-active:has(.cs-promo-shell--detail) [class*="discount-header"],
body.cs-promo-active:has(.cs-promo-shell--detail) [class*="global-nav"]:not(#cs-promo-root *),
body.cs-promo-active:has(.cs-promo-header--detail) .lobby-base-header,
body.cs-promo-active:has(.cs-promo-header--detail) [class*="discount-header"],
body.cs-promo-active:has(.cs-promo-header--detail) [class*="global-nav"]:not(#cs-promo-root *) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

body.cs-promo-active:has(#cs-promo-root) {
  background: #1a1a1a !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

html:has(body.cs-promo-active) {
  background: #1a1a1a !important;
}

/* 优惠页禁止露出启动图/骨架屏 */
body.cs-promo-active .skeleton-custom,
body.cs-promo-active .skeleton-screen-main,
body.cs-promo-active #skeleton-custom-original-mobile,
body.cs-promo-active #skeleton-custom-original-desktop,
body.cs-promo-active [class*="loading__pngTransparent"],
body.cs-promo-active img[src*="splash-caishen"],
body.cs-promo-active img[src*="img_none_sj"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

body.cs-promo-active:has(#cs-promo-root):not(.cs-can-receive):not(.cs-receive-records):not(.cs-promo-records):not(.cs-deposit-navigating) #app {
  overflow-x: hidden !important;
  max-width: var(--lobby__max-width, 7.5rem) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.cs-promo-ready:has(#cs-promo-root) [class*="download-container"],
body.cs-promo-ready:has(#cs-promo-root) [class*="download-box"],
body.cs-promo-ready:has(#cs-promo-root) [class*="download-right"],
body.cs-promo-ready:has(#cs-promo-root) [class*="download-left"],
body.cs-promo-ready:has(#cs-promo-root) #cs-home-download-bar,
body.cs-promo-ready:has(#cs-promo-root) .lobby-fixed-view,
body.cs-promo-ready:has(#cs-promo-root) .float-bar-main,
body.cs-promo-ready:has(#cs-promo-root) [class*="float-bar"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#app footer.layout-footer,
body.cs-promo-ready:has(#cs-promo-root) #app footer.layout-footer,
body.cs-promo-active:has(#cs-promo-root) #app footer.layout-footer,
body.cs-promo-ready:has(#cs-promo-root) footer.layout-footer,
body.cs-promo-active:has(#cs-promo-root) footer.layout-footer,
body.cs-promo-ready:has(#cs-promo-root) #app footer.layout-footer .ui-tabbar,
body.cs-promo-active:has(#cs-promo-root) #app footer.layout-footer .ui-tabbar,
body.cs-promo-ready:has(#cs-promo-root) #app footer.layout-footer .ui-tabbar-item,
body.cs-promo-active:has(#cs-promo-root) #app footer.layout-footer .ui-tabbar-item,
body.cs-promo-ready:has(#cs-promo-root) footer.layout-footer .ui-tabbar-item,
body.cs-promo-active:has(#cs-promo-root) footer.layout-footer .ui-tabbar-item {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 1001 !important;
  position: relative !important;
}

body.cs-promo-ready:has(#cs-promo-root) footer.layout-footer .ui-tabbar,
body.cs-promo-active:has(#cs-promo-root) footer.layout-footer .ui-tabbar {
  display: flex !important;
}

body.cs-promo-ready:has(#cs-promo-root) footer.layout-footer .ui-tabbar .ui-tabbar-item img,
body.cs-promo-active:has(#cs-promo-root) footer.layout-footer .ui-tabbar .ui-tabbar-item img,
body.cs-promo-ready:has(#cs-promo-root) footer.layout-footer .ui-tabbar .ui-tabbar-item [class*="_text"],
body.cs-promo-active:has(#cs-promo-root) footer.layout-footer .ui-tabbar .ui-tabbar-item [class*="_text"],
body.cs-promo-ready:has(#cs-promo-root) footer.layout-footer .ui-tabbar .ui-tabbar-item .cs-tab-fallback-icon,
body.cs-promo-active:has(#cs-promo-root) footer.layout-footer .ui-tabbar .ui-tabbar-item .cs-tab-fallback-icon {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* 从待领取/领取记录返回时：避免全白闪屏 */
body.cs-promo-returning {
  background: #1a1a1a !important;
}

body.cs-promo-returning #app {
  visibility: hidden !important;
  pointer-events: none !important;
}

body.cs-promo-returning #cs-promo-root {
  display: flex !important;
  visibility: visible !important;
  pointer-events: none !important;
}

body.cs-promo-returning #cs-promo-root .cs-promo-shell {
  pointer-events: auto !important;
}

#cs-promo-root {
  --cs-promo-sidebar-w: 2.08rem;
  --cs-promo-tabbar-h: var(--tabbar-height, 1.24rem);
  --cs-promo-bg-logo-w: 7.06rem;
  --cs-promo-bg-logo-h: 8.34rem;
  --cs-promo-bg-logo-opacity: 0.5;
  --cs-promo-bg-logo-mask: rgba(26, 26, 26, 0.72);
  --cs-act-text: #e3e3e3;
  --cs-act-text-strong: #ffffff;
  --cs-act-muted: #999999;
  --cs-act-accent: #d1ae52;
  --cs-act-accent-2: #c9a84c;
  --cs-act-surface: #262626;
  --cs-act-card: #2a2a2a;
  --cs-act-card-border: #444444;
  --cs-act-card-shadow: none;
  --cs-act-prog-track: #333333;
  --cs-act-prog-fill: linear-gradient(90deg, #c9a84c 0%, #d1ae52 100%);
  --cs-act-btn-locked-bg: #2a2a2a;
  --cs-act-btn-locked-text: #d1ae52;
  --cs-act-btn-locked-border: #d1ae52;
  --cs-act-btn-claimed-bg: #333333;
  --cs-act-btn-claimed-text: #777777;
  --cs-act-btn-claimed-border: #555555;
  --skin__lead: #e3e3e3;
  --skin__neutral_1: #999999;
  --skin__neutral_2: #777777;
  --skin__text_primary: #e3e3e3;
  position: fixed;
  top: 0;
  right: 0;
  bottom: var(--cs-promo-tabbar-h, 1.24rem);
  left: 0;
  padding-bottom: 0;
  z-index: 900;
  display: flex !important;
  flex-direction: column;
  background: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  box-sizing: border-box;
  pointer-events: auto !important;
  touch-action: manipulation;
  width: 100%;
}

#cs-promo-root[style*="display: none"],
#cs-promo-root[style*="visibility: hidden"] {
  pointer-events: none !important;
  visibility: hidden !important;
}

#cs-promo-root .cs-promo-shell,
#cs-promo-root .cs-promo-shell * {
  pointer-events: auto !important;
}

#cs-promo-root .cs-promo-side-item,
#cs-promo-root .cs-promo-top-tab,
#cs-promo-root .cs-promo-cover,
#cs-promo-root .cs-promo-header-back,
#cs-promo-root button,
#cs-promo-root [role="button"] {
  cursor: pointer !important;
  touch-action: manipulation !important;
}

/* 大屏与整站一致：margin:auto 居中，禁止 transform 抖动 */
html[data-ui-contain="1"] #cs-promo-root {
  left: 0 !important;
  right: 0 !important;
  width: var(--lobby__max-width, 7.5rem) !important;
  max-width: var(--lobby__max-width, 7.5rem) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: none !important;
}

.cs-promo-shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* 顶部栏：左侧品牌区与侧栏同宽，「活动」右缘对齐侧栏右缘 */
.cs-promo-header {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  min-height: 0.9rem;
  padding: 0;
  background: #1a1a1a;
  border-bottom: 0.01rem solid #333;
  box-shadow: none;
}

.cs-promo-header-brand {
  width: var(--cs-promo-sidebar-w);
  flex: 0 0 var(--cs-promo-sidebar-w);
  display: flex;
  align-items: center;
  padding: 0 0.1rem 0 0.04rem;
  box-sizing: border-box;
  border-right: 0.01rem solid #333;
}

.cs-promo-header-back {
  width: 0.88rem;
  height: 0.9rem;
  border: none;
  background: transparent;
  color: #e3e3e3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.cs-promo-header-back-icon {
  display: block;
  width: 0.22rem;
  height: 0.22rem;
  border-left: 0.04rem solid #e3e3e3;
  border-bottom: 0.04rem solid #e3e3e3;
  transform: rotate(45deg);
  margin-left: 0.06rem;
}

.cs-promo-header--detail .cs-promo-header-brand {
  width: 100%;
  flex: 1 1 auto;
  border-right: none;
  padding-right: 0.2rem;
}

.cs-promo-header--detail .cs-promo-header-title {
  text-align: left;
  flex: 1;
  padding-left: 0.08rem;
}

.cs-promo-header--detail .cs-promo-header-title::after {
  display: none;
}

.cs-promo-header-title {
  flex: 1;
  text-align: right;
  font-size: 0.28rem;
  font-weight: 700;
  color: #d1ae52;
  line-height: 1.2;
  padding: 0.28rem 0.06rem 0.22rem 0;
  position: relative;
  white-space: nowrap;
}

.cs-promo-header-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.06rem;
  bottom: 0.06rem;
  height: 0.05rem;
  border-radius: 0.05rem;
  background: linear-gradient(90deg, #c9a84c, #d1ae52);
}

.cs-promo-header-tabs {
  flex: 1;
  display: grid;
  grid-template-columns: 0.78fr 1.08fr 1.16fr 0.98fr;
  align-items: center;
  min-width: 0;
  padding: 0 0.22rem;
  box-sizing: border-box;
}

.cs-promo-top-tab {
  border: none;
  background: transparent;
  color: #888;
  font-size: 0.26rem;
  line-height: 1.2;
  padding: 0.28rem 0.04rem 0.22rem;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  justify-self: center;
}

.cs-promo-top-tab[data-top-tab="daily_sign"] {
  justify-self: start;
  padding-left: 0.04rem;
}

.cs-promo-top-tab[data-top-tab="invite_reward"] {
  justify-self: center;
  margin-left: 0.34rem;
}

.cs-promo-top-tab[data-top-tab="rebate"] {
  justify-self: center;
  margin-left: 0.3rem;
}

.cs-promo-top-tab[data-top-tab="vip_upgrade"] {
  justify-self: end;
  padding-right: 0.04rem;
}

.cs-promo-top-tab.is-active {
  color: #d1ae52;
  font-weight: 600;
}

.cs-promo-top-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06rem;
  height: 0.05rem;
  border-radius: 0.05rem;
  background: linear-gradient(90deg, #c9a84c, #d1ae52);
}

/* 主体：左栏 + 右封面 */
.cs-promo-layout {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  align-items: stretch;
  position: relative;
  background: #1a1a1a;
}

.cs-promo-layout::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--cs-promo-sidebar-w);
  background: #141414;
  box-shadow: none;
  z-index: 0;
  pointer-events: none;
}

/* 背景 LOGO 固定层：相对可视区居中，不随内容滚动 */
.cs-promo-watermark-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cs-promo-watermark-mask {
  position: absolute;
  inset: 0;
  background: var(--cs-promo-bg-logo-mask);
  pointer-events: none;
}

.cs-promo-shell.has-watermark .cs-promo-main {
  position: relative;
  z-index: 2;
  background: transparent;
}

.cs-promo-shell.has-watermark .cs-promo-panel.has-bg.has-bg-img {
  background: transparent;
  box-shadow: none;
}

.cs-promo-shell.has-watermark .cs-promo-panel.has-bg.has-bg-img::after {
  display: none;
}

.cs-promo-sidebar {
  width: var(--cs-promo-sidebar-w);
  flex: 0 0 var(--cs-promo-sidebar-w);
  max-width: var(--cs-promo-sidebar-w);
  background: #141414;
  border-right: 0.01rem solid #333;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.14rem 0.08rem 0.2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.cs-promo-side-nav {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.cs-promo-side-divider {
  height: 0.08rem;
  flex-shrink: 0;
}

/* 爱马仕风格：每项独立圆角模块 */
.cs-promo-side-item {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 0;
  margin: 0;
  cursor: pointer;
  box-sizing: border-box;
}

.cs-promo-side-module {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  padding: 0.14rem 0.1rem;
  border-radius: 0.12rem;
  background: #262626;
  border: 0.01rem solid #333;
  box-shadow: none;
  min-height: 0.72rem;
  box-sizing: border-box;
}

.cs-promo-side-icon {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 0.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0.02rem 0.06rem rgba(0, 0, 0, 0.1);
  position: relative;
}

.cs-promo-side-badge {
  position: absolute;
  top: -0.06rem;
  right: -0.08rem;
  min-width: 0.28rem;
  height: 0.28rem;
  padding: 0 0.06rem;
  border-radius: 9.99rem;
  background: #ff3b30;
  color: #fff;
  font-size: 0.16rem;
  font-weight: 700;
  line-height: 0.28rem;
  text-align: center;
  box-shadow: 0 0.02rem 0.06rem rgba(255, 59, 48, 0.45);
  border: 0.02rem solid #fff;
  box-sizing: border-box;
  z-index: 2;
}

.cs-promo-side-item.has-badge .cs-promo-side-module {
  overflow: visible;
}

.cs-promo-top-tab {
  position: relative;
}

.cs-promo-top-tab .cs-promo-side-badge {
  top: -0.02rem;
  right: -0.04rem;
  min-width: 0.22rem;
  height: 0.22rem;
  line-height: 0.22rem;
  font-size: 0.14rem;
  padding: 0 0.04rem;
}

.cs-promo-side-icon svg {
  width: 0.3rem;
  height: 0.3rem;
  display: block;
}

.cs-promo-side-emoji {
  font-size: 0.3rem;
  line-height: 1;
  display: block;
}

.cs-promo-side-label {
  flex: 1;
  font-size: 0.26rem;
  font-weight: 500;
  color: #999;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.cs-promo-side-item.is-active .cs-promo-side-module {
  background: #3a3220;
  border-color: #d1ae52;
  box-shadow: none;
}

.cs-promo-side-item.is-active .cs-promo-side-label {
  color: #d1ae52;
  font-weight: 700;
}

.cs-promo-side-item.is-all .cs-promo-side-module {
  background: #262626;
  border: 0.01rem solid #333;
  box-shadow: none;
}

.cs-promo-side-item.is-all .cs-promo-side-icon {
  background: transparent !important;
  box-shadow: none;
  width: 0.52rem;
  height: 0.52rem;
}

.cs-promo-side-item.is-all .cs-promo-side-icon svg {
  width: 0.52rem;
  height: 0.52rem;
}

.cs-promo-side-item.is-all.is-active .cs-promo-side-module {
  background: linear-gradient(90deg, #ff6b6b 0%, #e53935 100%);
  box-shadow: 0 0.04rem 0.12rem rgba(229, 57, 53, 0.35);
}

.cs-promo-side-item.is-utility .cs-promo-side-module {
  background: #fff;
  border: 0.02rem solid rgba(255, 103, 0, 0.45);
  box-shadow: none;
}

.cs-promo-side-item.is-utility .cs-promo-side-label {
  color: #ff6700;
  font-size: 0.24rem;
  font-weight: 600;
}

.cs-promo-side-item.is-utility.is-active .cs-promo-side-module {
  background: linear-gradient(90deg, rgba(255, 158, 39, 0.18), rgba(255, 103, 0, 0.1));
  border-color: #ff6700;
}

/* 右侧封面区 — 仅在本区域内滚动，不溢出顶栏/侧栏 */
.cs-promo-main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.1rem 0.1rem 0.16rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  background: #1a1a1a;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
}

.cs-promo-main::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.cs-promo-main--full {
  padding: 0;
}

.cs-promo-shell--detail .cs-promo-header-brand {
  width: auto;
  flex: 0 0 auto;
  min-width: 1rem;
  padding-right: 0.16rem;
}

.cs-promo-shell--detail .cs-promo-header-tabs {
  display: none;
}

.cs-promo-shell--detail .cs-promo-panel {
  border-radius: 0;
  min-height: calc(100% - 0.02rem);
  box-shadow: none;
  padding: 0.24rem 0.22rem 0.32rem;
}

.cs-promo-shell--detail .cs-promo-panel-head {
  margin-bottom: 0.2rem;
}

.cs-promo-covers {
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
  width: 100%;
  max-width: 100%;
}

.cs-promo-covers.is-single {
  min-height: 100%;
  justify-content: flex-start;
}

/* 优惠封面：满屏铺满，圆角 + 红色描边，禁止米色/白边（勿影响其它模块） */
.cs-promo-cover {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 2.24rem;
  flex: 0 0 2.24rem;
  border-radius: 0.18rem;
  overflow: hidden;
  border: 0.02rem solid #c62828;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background: #1a0a0a !important;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.cs-promo-cover-inner {
  position: absolute;
  inset: 0;
  border-radius: 0.16rem;
  overflow: hidden;
  background: #1a0a0a !important;
  box-shadow: none;
  border: none;
  box-sizing: border-box;
  padding: 0 !important;
  margin: 0 !important;
}

.cs-promo-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0.01rem solid rgba(198, 40, 40, 0.65);
  border-radius: 0.18rem;
  pointer-events: none;
  z-index: 2;
}

.cs-promo-cover-inner.has-image {
  background-color: #1a0a0a !important;
  /* 有封面图时忽略后台米色 cover_bg，防止露白边 */
  --cover-bg: #1a0a0a;
}

.cs-promo-cover-inner.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #1a0a0a;
  background-image: var(--cover-img);
  background-size: cover !important;
  background-repeat: no-repeat;
  background-position: center center;
  filter: var(--cover-filter, none);
  border-radius: 0.16rem;
  z-index: 0;
}

.cs-promo-cover img.cs-promo-cover-img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0.16rem;
  z-index: 1;
  pointer-events: none;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.cs-promo-cover-inner.has-image .cs-promo-cover-img {
  filter: var(--cover-filter, none);
}

.cs-promo-cover-inner.has-image .cs-promo-cover-label {
  display: none;
}

.cs-promo-cover-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--cover-text-color, #333);
  font-size: 0.3rem;
  font-weight: 700;
  padding: 0.2rem 0.24rem;
  box-sizing: border-box;
  text-align: left;
  gap: 0.04rem;
  line-height: 1.35;
  background: var(--cover-bg, #ffe8d6);
}

.cs-promo-cover-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.12rem 0.2rem;
  font-size: 0.24rem;
  font-weight: 700;
  color: var(--cover-text-color, #333);
  background: linear-gradient(180deg, transparent, var(--cover-bg, rgba(255,232,214,0.92)));
  text-align: left;
  pointer-events: none;
}

.cs-promo-cover-placeholder small {
  font-size: 0.17rem;
  font-weight: 400;
  opacity: 0.88;
}

/* 详情 / 返水 / 记录面板 */
.cs-promo-panel {
  position: relative;
  background: #262626;
  border-radius: 0.12rem;
  padding: 0.22rem 0.2rem 0.28rem;
  box-shadow: none;
  border: 1px solid #333;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.cs-promo-panel.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--cs-promo-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.55;
}

.cs-promo-panel.has-bg.has-bg-img::before {
  display: none;
}

.cs-promo-panel-watermark {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: var(--cs-promo-bg-logo-w);
  height: var(--cs-promo-bg-logo-h);
  z-index: 1;
  pointer-events: none;
  opacity: var(--cs-promo-bg-logo-opacity);
  overflow: hidden;
  box-sizing: border-box;
  flex-shrink: 0;
}

.cs-promo-panel-watermark img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 1;
  visibility: visible;
}

.cs-promo-panel.has-bg.has-bg-img::after {
  background: var(--cs-promo-bg-logo-mask);
}

.cs-promo-panel.has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.78);
}

.cs-promo-panel.has-bg .cs-promo-panel-head,
.cs-promo-panel.has-bg .cs-promo-panel-body,
.cs-promo-panel.has-bg .cs-promo-records-title,
.cs-promo-panel.has-bg .cs-promo-record-row,
.cs-promo-panel.has-bg .cs-promo-record-empty,
.cs-promo-panel.has-bg .cs-promo-btn,
.cs-promo-panel--first-deposit .cs-fd-widget,
.cs-promo-panel--first-deposit .cs-fd-desc,
.cs-promo-panel--consecutive-deposit .cs-cd-widget,
.cs-promo-panel--consecutive-deposit .cs-cd-desc,
.cs-promo-panel--daily-sign .cs-ds-widget,
.cs-promo-panel--daily-sign .cs-ds-desc,
.cs-promo-panel--invite-reward .cs-ir-widget,
.cs-promo-panel--invite-reward .cs-ir-desc,
.cs-promo-panel--vip-upgrade .cs-hvip,
.cs-promo-panel--vip-upgrade .cs-vip-widget,
.cs-promo-panel--vip-upgrade .cs-vip-desc {
  position: relative;
  z-index: 1;
}

/* 内置活动页自带卡片布局：关闭背景蒙层，避免整块发白、文字看不清 */
.cs-promo-panel--first-deposit.has-bg::before,
.cs-promo-panel--first-deposit.has-bg::after,
.cs-promo-panel--consecutive-deposit.has-bg::before,
.cs-promo-panel--consecutive-deposit.has-bg::after,
.cs-promo-panel--daily-sign.has-bg::before,
.cs-promo-panel--daily-sign.has-bg::after,
.cs-promo-panel--invite-reward.has-bg::before,
.cs-promo-panel--invite-reward.has-bg::after,
.cs-promo-panel--vip-upgrade.has-bg::before,
.cs-promo-panel--vip-upgrade.has-bg::after {
  display: none !important;
}

.cs-promo-panel-head {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-bottom: 0.18rem;
  padding-bottom: 0.14rem;
  border-bottom: 0.01rem solid #f0f0f0;
}

.cs-promo-back {
  border: none;
  background: #f5f5f5;
  color: #666;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  font-size: 0.26rem;
  cursor: pointer;
  flex-shrink: 0;
}

.cs-promo-panel-title {
  font-size: 0.28rem;
  font-weight: 700;
  color: #222;
}

.cs-promo-panel-body {
  font-size: 0.24rem;
  line-height: 1.7;
  color: #444;
  white-space: pre-wrap;
  word-break: break-word;
}

.cs-promo-panel-body.is-empty {
  color: #999;
  text-align: center;
  padding: 0.6rem 0;
}

/* 爱马仕风格活动详情（后台 blocks 渲染） */
.cs-promo-panel-body.csd-content {
  white-space: normal;
  word-break: break-word;
  padding: 0.04rem 0.02rem;
}

.csd-wrap { font-family: inherit; }
.csd-section { margin-bottom: 0.06rem; }
.csd-hero {
  font-size: 0.32rem;
  font-weight: 700;
  text-align: center;
  padding: 0.12rem 0 0.16rem;
  position: relative;
  letter-spacing: 0.04em;
}
.csd-hero::after {
  content: "";
  display: block;
  width: 0.8rem;
  height: 0.05rem;
  margin: 0.1rem auto 0;
  border-radius: 0.05rem;
  background: linear-gradient(90deg, #ff9e27, #ff6700);
}
.csd-font-elegant { font-weight: 700; letter-spacing: 0.06em; }
.csd-font-bold { font-weight: 700; }
.csd-font-number { font-weight: 700; font-size: 1.12em; }
.csd-badge {
  display: inline-block;
  padding: 0.06rem 0.18rem;
  border-radius: 0.24rem;
  font-size: 0.22rem;
  font-weight: 600;
  margin: 0.08rem 0;
}
.csd-title {
  font-size: 0.26rem;
  font-weight: 700;
  padding: 0.14rem 0 0.08rem 0.12rem;
  border-left: 0.04rem solid #ff6700;
  margin-top: 0.06rem;
}
.csd-p {
  font-size: 0.24rem;
  line-height: 1.75;
  margin: 0 0 0.1rem;
}
.csd-highlight {
  padding: 0.14rem 0.16rem;
  border-radius: 0.12rem;
  border: 0.02rem solid rgba(255, 158, 39, 0.35);
  font-size: 0.24rem;
  line-height: 1.65;
  margin: 0.1rem 0;
}
.csd-list {
  margin: 0.08rem 0 0.12rem;
  padding-left: 0.28rem;
  font-size: 0.24rem;
  line-height: 1.7;
}
.csd-list li { margin-bottom: 0.06rem; }
.csd-list li::marker { color: #ff6700; }
.csd-divider {
  height: 0.02rem;
  margin: 0.14rem 0;
  background: linear-gradient(90deg, transparent, rgba(255, 158, 39, 0.45), transparent);
}
.csd-figure { margin: 0.12rem 0; text-align: center; }
.csd-figure img {
  max-width: 100%;
  border-radius: 0.12rem;
  border: 0.02rem solid rgba(255, 158, 39, 0.25);
}
.csd-figure figcaption {
  font-size: 0.2rem;
  color: #999;
  margin-top: 0.08rem;
}

.cs-promo-records-title {
  font-size: 0.24rem;
  font-weight: 600;
  color: #333;
  margin: 0.16rem 0 0.1rem;
}

.cs-promo-record-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.14rem 0;
  border-bottom: 0.01rem solid #f5f5f5;
  font-size: 0.22rem;
}

.cs-promo-record-amt {
  color: #ff6700;
  font-weight: 600;
}

.cs-promo-record-empty {
  text-align: center;
  color: #999;
  padding: 0.8rem 0;
  font-size: 0.24rem;
}

.cs-promo-btn {
  display: block;
  width: 100%;
  margin-top: 0.2rem;
  height: 0.72rem;
  border: none;
  border-radius: 0.36rem;
  background: linear-gradient(90deg, #ff9e27, #ff6700);
  color: #fff;
  font-size: 0.24rem;
  font-weight: 600;
  cursor: pointer;
}

.cs-promo-btn:disabled {
  opacity: 0.5;
}

/* 优惠页：只抬层级/可见性，位置与宽度统一由 caishen-ui.css 控制（勿写 left:0 + transform:none 以免桌面错位） */
body.cs-promo-active:has(#cs-promo-root) footer.layout-footer,
body.cs-promo-ready:has(#cs-promo-root) footer.layout-footer {
  position: fixed !important;
  bottom: 0 !important;
  z-index: 1001 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  overflow: visible !important;
  transition: none !important;
}

html[data-ui-contain="1"] body.cs-promo-active:has(#cs-promo-root) footer.layout-footer,
html[data-ui-contain="1"] body.cs-promo-ready:has(#cs-promo-root) footer.layout-footer {
  left: 0 !important;
  right: 0 !important;
  width: var(--lobby__max-width, 7.5rem) !important;
  max-width: var(--lobby__max-width, 7.5rem) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: none !important;
}

body.cs-promo-active:has(#cs-promo-root) footer.layout-footer,
body.cs-promo-active:has(#cs-promo-root) footer.layout-footer .ui-tabbar,
body.cs-promo-active:has(#cs-promo-root) footer.layout-footer .ui-tabbar-item {
  visibility: visible !important;
  pointer-events: auto !important;
}

body.cs-promo-active:has(#cs-promo-root) footer.layout-footer > div,
body.cs-promo-active:has(#cs-promo-root) footer.layout-footer [class*="_tabbar-bg"] {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

body.cs-promo-active:has(#cs-promo-root) footer.layout-footer [class*="_expand-tabar"] {
  overflow: visible !important;
  clip-path: none !important;
}

/* 展开层由原生 Popover 控制（expand-open），勿 display:none 否则三角点击无效 */
body.cs-promo-active:has(#cs-promo-root) footer.layout-footer [class*="_expand-wrapper"] {
  pointer-events: auto !important;
}

body.cs-promo-active:has(#cs-promo-root) footer.layout-footer [class*="_mode-popover"] [class*="_expand-wrapper"][class*="_expand-open"],
body.cs-promo-active:has(#cs-promo-root) footer.layout-footer [class*="_expand-wrapper"][class*="_expand-open"] {
  display: block !important;
  visibility: visible !important;
  z-index: 10050 !important;
  pointer-events: auto !important;
}

.cs-promo-toast {
  position: fixed;
  left: 50%;
  bottom: 1.65rem;
  transform: translateX(-50%);
  background: rgba(34, 34, 34, 0.9);
  color: #fff;
  padding: 0.16rem 0.32rem;
  border-radius: 0.4rem;
  font-size: 0.24rem;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.cs-promo-toast.is-show {
  opacity: 1;
}

/* 首充豪礼 — 首次充值任务 */
.cs-promo-panel--first-deposit {
  padding: 0.2rem 0.24rem 0.32rem !important;
  background: var(--cs-act-surface) !important;
}

.cs-promo-panel--first-deposit .cs-fd-desc {
  margin-top: 0.2rem;
  background: var(--cs-act-card);
  border-radius: 0.16rem;
  padding: 0.24rem;
  border: 0.02rem solid var(--cs-act-card-border);
  box-shadow: var(--cs-act-card-shadow);
}

.cs-fd-widget {
  background: transparent;
  border-radius: 0.16rem;
}

.cs-fd-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.16rem;
  padding: 0.08rem 0.04rem 0.18rem;
}

.cs-fd-title {
  font-size: 0.34rem;
  font-weight: 800;
  color: var(--cs-act-text-strong);
  line-height: 1.25;
}

.cs-fd-sub {
  margin-top: 0.06rem;
  font-size: 0.22rem;
  color: var(--cs-act-muted);
  line-height: 1.45;
  font-weight: 500;
}

.cs-fd-sub b {
  color: var(--cs-act-accent-2);
  font-weight: 700;
}

.cs-fd-refresh {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  border: none;
  background: transparent;
  color: #ff6700;
  font-size: 0.24rem;
  font-weight: 500;
  padding: 0.04rem 0;
  cursor: pointer;
}

.cs-fd-refresh-icon {
  width: 0.28rem;
  height: 0.28rem;
  border: 0.03rem solid #ff6700;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
}

.cs-fd-login-tip {
  margin: 0 0 0.12rem;
  padding: 0.16rem 0.2rem;
  background: #fff8ef;
  border-radius: 0.12rem;
  color: #b36a00;
  font-size: 0.22rem;
}

.cs-fd-tier-list {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.cs-fd-loading {
  padding: 0.4rem 0;
  text-align: center;
  color: #999;
  font-size: 0.24rem;
}

.cs-fd-tier {
  display: flex;
  align-items: center;
  gap: 0.16rem;
  padding: 0.22rem 0.2rem;
  background: var(--cs-act-card);
  border-radius: 0.16rem;
  border: 0.02rem solid var(--cs-act-card-border);
  box-shadow: var(--cs-act-card-shadow);
}

.cs-fd-tier.is-reached {
  border-color: #ffb347;
  background: linear-gradient(135deg, #fff 0%, #fff9f0 100%);
}

.cs-fd-tier.is-claimed-row {
  border-color: #e0e0e0;
  background: #fafafa;
}

.cs-fd-tier-icon {
  flex: 0 0 0.72rem;
  width: 0.72rem;
  height: 0.72rem;
}

.cs-fd-tier-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cs-fd-tier-body {
  flex: 1 1 auto;
  min-width: 0;
}

.cs-fd-tier-text {
  font-size: 0.24rem;
  color: var(--cs-act-text);
  line-height: 1.4;
  margin-bottom: 0.12rem;
  font-weight: 500;
}

.cs-fd-tier-text b {
  color: var(--cs-act-text-strong);
  font-weight: 700;
}

.cs-fd-tier-text em {
  font-style: normal;
  color: var(--cs-act-accent);
  font-weight: 800;
  font-size: 1.05em;
}

.cs-fd-tier-bar {
  position: relative;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--cs-act-prog-track);
  overflow: hidden;
  border: 0.02rem solid #c8c8c8;
  box-shadow: inset 0 0.02rem 0.04rem rgba(0, 0, 0, 0.08);
}

.cs-fd-tier-bar.is-done {
  background: #2e9e44;
  border-color: #248a38;
}

.cs-fd-tier-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--cs-act-prog-fill);
  transition: width 0.25s ease;
  box-shadow: 0 0 0.06rem rgba(255, 103, 0, 0.45);
}

.cs-fd-tier-bar.is-done .cs-fd-tier-bar-fill {
  width: 100% !important;
  background: linear-gradient(90deg, #45d85f, #2fbf4a);
  box-shadow: none;
}

.cs-fd-tier-bar-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0.01rem 0.04rem rgba(0, 0, 0, 0.35);
}

.cs-fd-tier-bar:not(.is-done) .cs-fd-tier-bar-label {
  color: var(--cs-act-text-strong);
  text-shadow: 0 0.01rem 0 #fff;
}

.cs-fd-tier-action {
  flex: 0 0 auto;
}

.cs-fd-tier-btn {
  min-width: 1.28rem;
  height: 0.56rem;
  padding: 0 0.16rem;
  border: none;
  border-radius: 0.1rem;
  font-size: 0.22rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.cs-fd-tier-btn.is-claimable {
  background: linear-gradient(180deg, #ff9e27 0%, #ff6700 100%);
  color: #fff;
  box-shadow: 0 0.04rem 0.12rem rgba(255, 103, 0, 0.45);
  cursor: pointer;
}

.cs-fd-tier-btn.is-locked,
.cs-fd-tier-btn.is-pending {
  background: var(--cs-act-btn-locked-bg);
  color: var(--cs-act-btn-locked-text);
  border: 0.02rem solid var(--cs-act-btn-locked-border);
  cursor: default;
  font-weight: 700;
}

.cs-fd-tier-btn.is-claimed {
  background: var(--cs-act-btn-claimed-bg);
  color: var(--cs-act-btn-claimed-text);
  border: 0.02rem solid var(--cs-act-btn-claimed-border);
  cursor: default;
}

.cs-promo-main--full .cs-promo-panel--first-deposit {
  min-height: 100%;
}

.cs-promo-main--full {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* 连充豪礼 — 连续充值打卡（与首充豪礼区分） */
.cs-promo-panel--consecutive-deposit {
  padding: 0.16rem 0.2rem 0.32rem !important;
  background: linear-gradient(180deg, #2d1b4e 0%, #4c1d95 9%, #fff8f2 9%, #fff8f2 100%) !important;
}

.cs-promo-panel--consecutive-deposit .cs-cd-desc {
  margin-top: 0.2rem;
  background: #fff;
  border-radius: 0.16rem;
  padding: 0.24rem;
  box-shadow: 0 0.04rem 0.16rem rgba(108, 92, 231, 0.08);
}

.cs-cd-widget {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.cs-cd-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.16rem;
  padding: 0.28rem 0.24rem;
  border-radius: 0.2rem;
  background: linear-gradient(135deg, #6c5ce7 0%, #a855f7 45%, #ff6b6b 100%);
  overflow: hidden;
  box-shadow: 0 0.1rem 0.28rem rgba(108, 92, 231, 0.35);
}

.cs-cd-hero-glow {
  position: absolute;
  right: -0.4rem;
  top: -0.6rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.cs-cd-hero-content {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  z-index: 1;
}

.cs-cd-hero-tag {
  display: inline-block;
  padding: 0.04rem 0.14rem;
  border-radius: 9.99rem;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cs-cd-hero-title {
  margin-top: 0.1rem;
  font-size: 0.36rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.15);
}

.cs-cd-hero-sub {
  margin-top: 0.08rem;
  font-size: 0.22rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}

.cs-cd-hero-note {
  margin-top: 0.06rem;
  font-size: 0.2rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.35;
}

.cs-cd-streak-ring {
  position: relative;
  flex: 0 0 1.56rem;
  width: 1.56rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 0.04rem solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 0.2rem rgba(255, 255, 255, 0.12);
  z-index: 1;
}

.cs-cd-streak-num {
  font-size: 0.52rem;
  font-weight: 800;
  color: #ffd700;
  line-height: 1;
  text-shadow: 0 0.02rem 0.1rem rgba(0, 0, 0, 0.2);
}

.cs-cd-streak-label {
  margin-top: 0.04rem;
  font-size: 0.18rem;
  color: rgba(255, 255, 255, 0.88);
}

.cs-cd-streak-today {
  margin-top: 0.06rem;
  font-size: 0.16rem;
  color: #b8ffb8;
  font-weight: 600;
}

.cs-cd-streak-today.is-pending {
  color: #ffe0a8;
}

.cs-cd-stats {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  padding: 0.14rem 0.18rem;
  background: var(--cs-act-card);
  border-radius: 0.16rem;
  border: 0.02rem solid var(--cs-act-card-border);
  box-shadow: var(--cs-act-card-shadow);
}

.cs-cd-stat {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
}

.cs-cd-stat span {
  font-size: 0.2rem;
  color: var(--cs-act-muted);
}

.cs-cd-stat b {
  font-size: 0.26rem;
  color: #4c1d95;
  font-weight: 800;
}

.cs-cd-refresh {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  border: none;
  background: transparent;
  color: #a855f7;
  font-size: 0.22rem;
  font-weight: 600;
  padding: 0.04rem 0;
  cursor: pointer;
}

.cs-cd-refresh-icon {
  width: 0.26rem;
  height: 0.26rem;
  border: 0.03rem solid #a855f7;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
}

.cs-cd-week {
  background: var(--cs-act-card);
  border-radius: 0.16rem;
  padding: 0.16rem 0.18rem 0.2rem;
  border: 0.02rem solid var(--cs-act-card-border);
  box-shadow: var(--cs-act-card-shadow);
}

.cs-cd-week-title {
  font-size: 0.22rem;
  color: var(--cs-act-text);
  margin-bottom: 0.12rem;
  font-weight: 600;
}

.cs-cd-week-strip {
  display: flex;
  justify-content: space-between;
  gap: 0.06rem;
}

.cs-cd-day {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
}

.cs-cd-day-label {
  font-size: 0.18rem;
  color: #666;
}

.cs-cd-day-dot {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 0.12rem;
  background: #fff5eb;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.22rem;
  font-weight: 700;
  border: 0.02rem solid #ff9e27;
}

.cs-cd-day.is-done .cs-cd-day-dot {
  background: linear-gradient(135deg, #6c5ce7, #a855f7);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0.04rem 0.1rem rgba(108, 92, 231, 0.35);
}

.cs-cd-day.is-today .cs-cd-day-dot {
  border-color: #ff6b6b;
}

.cs-cd-day.is-today.is-done .cs-cd-day-dot {
  border-color: transparent;
}

.cs-cd-login-tip {
  padding: 0.16rem 0.2rem;
  background: linear-gradient(90deg, #f3eeff, #fff5f5);
  border-radius: 0.12rem;
  color: #7c5cbf;
  font-size: 0.22rem;
  border: 0.02rem solid #ece4ff;
}

.cs-cd-loading {
  padding: 0.4rem 0;
  text-align: center;
  color: #999;
  font-size: 0.24rem;
}

.cs-cd-milestones {
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
}

.cs-cd-milestone {
  display: flex;
  gap: 0.14rem;
  align-items: stretch;
}

.cs-cd-milestone-track {
  flex: 0 0 0.56rem;
  width: 0.56rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.cs-cd-milestone-node {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #ece6ff, #fff);
  border: 0.03rem solid #d4c8ff;
  color: #6c5ce7;
  font-size: 0.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.cs-cd-milestone.is-reached .cs-cd-milestone-node {
  background: linear-gradient(145deg, #ffd700, #ffb347);
  border-color: #ffb347;
  color: #fff;
  box-shadow: 0 0.04rem 0.12rem rgba(255, 179, 71, 0.45);
}

.cs-cd-milestone-line {
  flex: 1 1 auto;
  width: 0.04rem;
  min-height: 0.24rem;
  margin: 0.04rem 0;
  background: linear-gradient(180deg, #d4c8ff, #ece6ff);
  border-radius: 9.99rem;
}

.cs-cd-milestone.is-reached .cs-cd-milestone-line {
  background: linear-gradient(180deg, #ffb347, #ffd700);
}

.cs-cd-milestone-card {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.2rem 0.22rem;
  background: var(--cs-act-card);
  border-radius: 0.18rem;
  border: 0.02rem solid var(--cs-act-card-border);
  box-shadow: var(--cs-act-card-shadow);
}

.cs-cd-milestone.is-reached .cs-cd-milestone-card {
  border-color: #ffb347;
  background: linear-gradient(135deg, #fff 0%, #fff9f0 100%);
}

.cs-cd-milestone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.12rem;
}

.cs-cd-milestone-badge {
  font-size: 0.2rem;
  font-weight: 700;
  color: #4c1d95;
  letter-spacing: 0.04em;
}

.cs-cd-milestone-reward {
  font-size: 0.32rem;
  font-weight: 800;
  color: var(--cs-act-accent);
  line-height: 1;
}

.cs-cd-milestone-reward small {
  font-size: 0.2rem;
  font-weight: 600;
  color: var(--cs-act-muted);
}

.cs-cd-milestone-desc {
  margin-top: 0.08rem;
  font-size: 0.22rem;
  color: var(--cs-act-text);
  line-height: 1.4;
  font-weight: 500;
}

.cs-cd-milestone-desc b {
  color: #4c1d95;
  font-weight: 700;
}

.cs-cd-milestone-bar {
  margin-top: 0.12rem;
  height: 0.14rem;
  border-radius: 9.99rem;
  background: var(--cs-act-prog-track);
  overflow: hidden;
  border: 0.02rem solid #c8c8c8;
}

.cs-cd-milestone-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--cs-act-prog-fill);
  transition: width 0.35s ease;
  box-shadow: 0 0 0.06rem rgba(255, 103, 0, 0.4);
}

.cs-cd-milestone-action {
  margin-top: 0.14rem;
  display: flex;
  justify-content: flex-end;
}

.cs-cd-milestone-btn {
  min-width: 1.6rem;
  padding: 0.1rem 0.22rem;
  border: none;
  border-radius: 9.99rem;
  font-size: 0.22rem;
  font-weight: 700;
}

.cs-cd-milestone-btn.is-claimable {
  background: linear-gradient(90deg, #ff9e27, #ff6700);
  color: #fff;
  box-shadow: 0 0.06rem 0.14rem rgba(255, 103, 0, 0.4);
  cursor: pointer;
}

.cs-cd-milestone-btn.is-locked,
.cs-cd-milestone-btn.is-pending {
  background: var(--cs-act-btn-locked-bg);
  color: var(--cs-act-btn-locked-text);
  border: 0.02rem solid var(--cs-act-btn-locked-border);
  cursor: default;
  font-weight: 700;
}

.cs-cd-milestone-btn.is-claimed {
  background: var(--cs-act-btn-claimed-bg);
  color: var(--cs-act-btn-claimed-text);
  border: 0.02rem solid var(--cs-act-btn-claimed-border);
  cursor: default;
}

.cs-promo-main--full .cs-promo-panel--consecutive-deposit {
  min-height: 100%;
}

/* 每日签到 — 七日签到计划 */
.cs-promo-panel--daily-sign {
  padding: 0.16rem 0.2rem 0.32rem !important;
  background: linear-gradient(180deg, #0c4a44 0%, #0f766e 9%, #fff8f2 9%, #fff8f2 100%) !important;
}

.cs-promo-panel--daily-sign .cs-ds-desc {
  margin-top: 0.2rem;
  background: #fff;
  border-radius: 0.16rem;
  padding: 0.24rem;
}

.cs-ds-widget {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.cs-ds-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0.14rem;
  padding: 0.26rem 0.22rem;
  border-radius: 0.2rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 40%, #fbbf24 100%);
  box-shadow: 0 0.1rem 0.28rem rgba(13, 148, 136, 0.35);
}

.cs-ds-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(251, 191, 36, 0.3) 0%, transparent 40%);
  pointer-events: none;
}

.cs-ds-hero-inner {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  z-index: 1;
}

.cs-ds-hero-tag {
  display: inline-block;
  padding: 0.04rem 0.14rem;
  border-radius: 9.99rem;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.2rem;
  font-weight: 600;
}

.cs-ds-hero-title {
  margin-top: 0.08rem;
  font-size: 0.36rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.cs-ds-hero-sub {
  margin-top: 0.06rem;
  font-size: 0.22rem;
  color: rgba(255, 255, 255, 0.92);
}

.cs-ds-hero-note {
  margin-top: 0.06rem;
  font-size: 0.19rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.35;
}

.cs-ds-hero-progress {
  position: relative;
  flex: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.cs-ds-hero-ring {
  width: 1.28rem;
  height: 1.28rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 0.04rem solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cs-ds-hero-ring-num {
  font-size: 0.34rem;
  font-weight: 800;
  color: #fef3c7;
  line-height: 1;
}

.cs-ds-hero-ring-label {
  font-size: 0.16rem;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.04rem;
}

.cs-ds-hero-next {
  margin-top: 0.08rem;
  font-size: 0.17rem;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.cs-ds-hero-next.is-done {
  color: #fef3c7;
}

.cs-ds-today {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.14rem 0.16rem;
  background: var(--cs-act-card);
  border-radius: 0.14rem;
  border: 0.02rem solid var(--cs-act-card-border);
  box-shadow: var(--cs-act-card-shadow);
}

.cs-ds-today-item {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
}

.cs-ds-today-item span {
  font-size: 0.19rem;
  color: var(--cs-act-muted);
}

.cs-ds-today-item b {
  font-size: 0.24rem;
  color: #0f766e;
  font-weight: 700;
}

.cs-ds-refresh {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  border: none;
  background: transparent;
  color: #0d9488;
  font-size: 0.22rem;
  font-weight: 600;
  cursor: pointer;
}

.cs-ds-refresh-icon {
  width: 0.26rem;
  height: 0.26rem;
  border: 0.03rem solid #0d9488;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
}

.cs-ds-login-tip {
  padding: 0.14rem 0.18rem;
  background: #fff;
  border-radius: 0.12rem;
  color: #0f766e;
  font-size: 0.22rem;
  border: 0.02rem solid #ccfbf1;
}

.cs-ds-loading {
  padding: 0.4rem 0;
  text-align: center;
  color: #999;
  font-size: 0.24rem;
  grid-column: 1 / -1;
}

.cs-ds-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.12rem;
}

.cs-ds-day-card {
  background: var(--cs-act-card);
  border-radius: 0.16rem;
  padding: 0.16rem 0.14rem 0.14rem;
  border: 0.02rem solid var(--cs-act-card-border);
  box-shadow: var(--cs-act-card-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-height: 2.8rem;
}

.cs-ds-day-card.is-signed {
  background: linear-gradient(180deg, #fff 0%, #ecfdf5 100%);
  border-color: #99f6e4;
}

.cs-ds-day-card.is-ready {
  border-color: #2dd4bf;
  box-shadow: 0 0.06rem 0.16rem rgba(45, 212, 191, 0.25);
}

.cs-ds-day-card.is-next {
  border-color: #fbbf24;
}

.cs-ds-day-card.is-makeup {
  border-style: dashed;
  border-color: #fb923c;
}

.cs-ds-day-card.is-grand {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fff 0%, #fffbeb 50%, #fef3c7 100%);
  border-color: #fbbf24;
  min-height: auto;
}

.cs-ds-day-card.is-grand .cs-ds-day-reward {
  font-size: 0.44rem;
}

.cs-ds-day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.06rem;
}

.cs-ds-day-num {
  font-size: 0.22rem;
  font-weight: 700;
  color: #0d5c52;
}

.cs-ds-day-tag {
  font-size: 0.16rem;
  padding: 0.02rem 0.08rem;
  border-radius: 9.99rem;
  background: #ffedd5;
  color: #ea580c;
  font-weight: 600;
}

.cs-ds-day-tag.is-today {
  background: #fef3c7;
  color: #b45309;
}

.cs-ds-day-reward {
  font-size: 0.36rem;
  font-weight: 800;
  color: var(--cs-act-accent);
  line-height: 1;
}

.cs-ds-day-reward small {
  font-size: 0.18rem;
  color: var(--cs-act-muted);
  font-weight: 700;
}

.cs-ds-day-need {
  font-size: 0.18rem;
  color: var(--cs-act-text);
  font-weight: 500;
}

.cs-ds-prog {
  margin-top: 0.02rem;
}

.cs-ds-prog-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.16rem;
  color: var(--cs-act-muted);
  margin-bottom: 0.04rem;
}

.cs-ds-prog-head em {
  font-style: normal;
  color: var(--cs-act-text);
  font-weight: 600;
}

.cs-ds-prog.is-ok .cs-ds-prog-head em {
  color: #0d9488;
}

.cs-ds-prog-bar {
  height: 0.1rem;
  border-radius: 9.99rem;
  background: var(--cs-act-prog-track);
  overflow: hidden;
  border: 0.01rem solid #c8c8c8;
}

.cs-ds-prog-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--cs-act-prog-fill);
}

.cs-ds-prog.is-ok .cs-ds-prog-fill {
  background: linear-gradient(90deg, #0d9488, #14b8a6);
}

.cs-ds-day-done-mark {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.48rem;
  color: #14b8a6;
  font-weight: 700;
  min-height: 0.8rem;
}

.cs-ds-day-action {
  margin-top: auto;
  padding-top: 0.06rem;
}

.cs-ds-day-btn {
  width: 100%;
  padding: 0.1rem 0.12rem;
  border: none;
  border-radius: 9.99rem;
  font-size: 0.2rem;
  font-weight: 700;
}

.cs-ds-day-btn.is-claimable {
  background: linear-gradient(90deg, #ff9e27, #ff6700);
  color: #fff;
  box-shadow: 0 0.04rem 0.12rem rgba(255, 103, 0, 0.4);
  cursor: pointer;
}

.cs-ds-day-card.is-ready .cs-ds-day-btn.is-claimable {
  background: linear-gradient(90deg, #0d9488, #14b8a6);
  box-shadow: 0 0.04rem 0.12rem rgba(13, 148, 136, 0.35);
}

.cs-ds-day-btn.is-locked,
.cs-ds-day-btn.is-pending {
  background: var(--cs-act-btn-locked-bg);
  color: var(--cs-act-btn-locked-text);
  border: 0.02rem solid var(--cs-act-btn-locked-border);
  cursor: default;
  font-weight: 700;
}

.cs-ds-day-btn.is-done {
  background: var(--cs-act-btn-claimed-bg);
  color: var(--cs-act-btn-claimed-text);
  border: 0.02rem solid var(--cs-act-btn-claimed-border);
  cursor: default;
}

.cs-ds-day-card.is-grand .cs-ds-day-btn.is-claimable {
  background: linear-gradient(90deg, #ff9e27, #ff6700);
  box-shadow: 0 0.04rem 0.12rem rgba(255, 103, 0, 0.4);
}

.cs-promo-main--full .cs-promo-panel--daily-sign {
  min-height: 100%;
}

/* 邀请有奖 — VIP 邀请计划 */
.cs-promo-panel--invite-reward {
  padding: 0.16rem 0.2rem 0.32rem !important;
  background: linear-gradient(180deg, #2d1b69 0%, #4c1d95 9%, #fff8f2 9%, #fff8f2 100%) !important;
}

.cs-promo-panel--invite-reward .cs-ir-desc {
  margin-top: 0.2rem;
  background: #fff;
  border-radius: 0.16rem;
  padding: 0.24rem;
}

.cs-ir-widget {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.cs-ir-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0.14rem;
  padding: 0.28rem 0.22rem;
  border-radius: 0.2rem;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0a2e 0%, #4c1d95 45%, #d97706 100%);
  box-shadow: 0 0.12rem 0.32rem rgba(76, 29, 149, 0.45);
  border: 0.02rem solid rgba(251, 191, 36, 0.35);
}

.cs-ir-hero-shine {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

.cs-ir-hero-inner {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  z-index: 1;
}

.cs-ir-hero-tag {
  display: inline-block;
  padding: 0.04rem 0.14rem;
  border-radius: 9.99rem;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.35), rgba(255, 255, 255, 0.15));
  color: #fef3c7;
  font-size: 0.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cs-ir-hero-title {
  margin-top: 0.1rem;
  font-size: 0.36rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 0.02rem 0.1rem rgba(0, 0, 0, 0.25);
}

.cs-ir-hero-sub {
  margin-top: 0.06rem;
  font-size: 0.22rem;
  color: rgba(255, 255, 255, 0.92);
}

.cs-ir-hero-note {
  margin-top: 0.06rem;
  font-size: 0.19rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.cs-ir-hero-stats {
  position: relative;
  flex: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  z-index: 1;
}

.cs-ir-stat-box {
  text-align: center;
  padding: 0.1rem 0.12rem;
  border-radius: 0.12rem;
  background: rgba(255, 255, 255, 0.12);
  border: 0.02rem solid rgba(251, 191, 36, 0.35);
}

.cs-ir-stat-num {
  display: block;
  font-size: 0.34rem;
  font-weight: 800;
  color: #fcd34d;
  line-height: 1;
}

.cs-ir-stat-label {
  display: block;
  margin-top: 0.04rem;
  font-size: 0.16rem;
  color: rgba(255, 255, 255, 0.85);
}

.cs-ir-link-card {
  padding: 0.18rem 0.2rem;
  border-radius: 0.16rem;
  background: var(--cs-act-card);
  border: 0.02rem solid var(--cs-act-card-border);
  box-shadow: var(--cs-act-card-shadow);
}

.cs-ir-link-label {
  font-size: 0.22rem;
  font-weight: 700;
  color: #4c1d95;
  margin-bottom: 0.1rem;
}

.cs-ir-link-row {
  display: flex;
  gap: 0.1rem;
  align-items: center;
}

.cs-ir-link-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0.02rem solid #e9d5ff;
  border-radius: 0.1rem;
  padding: 0.12rem 0.14rem;
  font-size: 0.2rem;
  color: #333;
  background: #fff;
}

.cs-ir-link-copy {
  flex: 0 0 auto;
  border: none;
  border-radius: 0.1rem;
  padding: 0.12rem 0.2rem;
  background: linear-gradient(135deg, #ff9e27, #ff6700);
  color: #fff;
  font-size: 0.22rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0.04rem 0.12rem rgba(255, 103, 0, 0.35);
}

.cs-ir-link-code {
  margin-top: 0.1rem;
  font-size: 0.2rem;
  color: var(--cs-act-text);
}

.cs-ir-link-code b {
  color: #6d28d9;
  font-weight: 800;
}

.cs-ir-login-tip {
  padding: 0.14rem 0.18rem;
  background: #faf5ff;
  border-radius: 0.12rem;
  color: #6d28d9;
  font-size: 0.22rem;
  border: 0.02rem solid #e9d5ff;
}

.cs-ir-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.cs-ir-loading {
  padding: 0.4rem 0;
  text-align: center;
  color: #999;
  font-size: 0.24rem;
}

.cs-ir-tier {
  display: flex;
  align-items: center;
  gap: 0.14rem;
  padding: 0.18rem 0.16rem;
  background: var(--cs-act-card);
  border-radius: 0.16rem;
  border: 0.02rem solid var(--cs-act-card-border);
  box-shadow: var(--cs-act-card-shadow);
}

.cs-ir-tier.is-reached {
  border-color: #ffb347;
  background: linear-gradient(135deg, #fff 0%, #fff9f0 100%);
}

.cs-ir-tier.is-vip {
  border-color: #f59e0b;
  box-shadow: 0 0.08rem 0.2rem rgba(245, 158, 11, 0.2);
}

.cs-ir-tier-left {
  flex: 0 0 0.72rem;
}

.cs-ir-tier-count {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #ede9fe, #fff);
  border: 0.03rem solid #c4b5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.28rem;
  font-weight: 800;
  color: #7c3aed;
  line-height: 1;
}

.cs-ir-tier-count small {
  font-size: 0.16rem;
  font-weight: 600;
  margin-left: 0.02rem;
}

.cs-ir-tier.is-reached .cs-ir-tier-count {
  background: linear-gradient(145deg, #fcd34d, #fbbf24);
  border-color: #f59e0b;
  color: #fff;
}

.cs-ir-tier-body {
  flex: 1 1 auto;
  min-width: 0;
}

.cs-ir-tier-title {
  font-size: 0.24rem;
  color: var(--cs-act-text-strong);
}

.cs-ir-tier-title b {
  color: #6d28d9;
}

.cs-ir-tier-reward {
  margin-top: 0.04rem;
  font-size: 0.2rem;
  color: var(--cs-act-muted);
}

.cs-ir-tier-reward em {
  font-style: normal;
  color: var(--cs-act-accent);
  font-weight: 800;
  font-size: 0.26rem;
}

.cs-ir-tier-bar {
  position: relative;
  margin-top: 0.1rem;
  height: 0.14rem;
  border-radius: 9.99rem;
  background: var(--cs-act-prog-track);
  overflow: hidden;
  border: 0.01rem solid #c8c8c8;
}

.cs-ir-tier-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--cs-act-prog-fill);
}

.cs-ir-tier-bar-label {
  position: absolute;
  right: 0.08rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.16rem;
  color: var(--cs-act-text-strong);
  font-weight: 700;
}

.cs-ir-tier-action {
  flex: 0 0 auto;
}

.cs-ir-tier-btn {
  min-width: 1.4rem;
  padding: 0.1rem 0.16rem;
  border: none;
  border-radius: 9.99rem;
  font-size: 0.2rem;
  font-weight: 700;
}

.cs-ir-tier-btn.is-claimable {
  background: linear-gradient(90deg, #ff9e27, #ff6700);
  color: #fff;
  box-shadow: 0 0.04rem 0.12rem rgba(255, 103, 0, 0.4);
  cursor: pointer;
}

.cs-ir-tier.is-vip .cs-ir-tier-btn.is-claimable {
  background: linear-gradient(90deg, #ff9e27, #ff6700);
  box-shadow: 0 0.04rem 0.12rem rgba(255, 103, 0, 0.4);
}

.cs-ir-tier-btn.is-locked,
.cs-ir-tier-btn.is-pending {
  background: var(--cs-act-btn-locked-bg);
  color: var(--cs-act-btn-locked-text);
  border: 0.02rem solid var(--cs-act-btn-locked-border);
  cursor: default;
  font-weight: 700;
}

.cs-ir-tier-btn.is-claimed {
  background: var(--cs-act-btn-claimed-bg);
  color: var(--cs-act-btn-claimed-text);
  border: 0.02rem solid var(--cs-act-btn-claimed-border);
  cursor: default;
}

.cs-ir-members {
  background: #fff;
  border-radius: 0.16rem;
  padding: 0.16rem 0.18rem 0.18rem;
  border: 0.02rem solid #f3e8ff;
}

.cs-ir-members-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.12rem;
  font-size: 0.22rem;
  font-weight: 700;
  color: #5b21b6;
}

.cs-ir-refresh {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  border: none;
  background: transparent;
  color: #7c3aed;
  font-size: 0.2rem;
  font-weight: 600;
  cursor: pointer;
}

.cs-ir-refresh-icon {
  width: 0.24rem;
  height: 0.24rem;
  border: 0.03rem solid #7c3aed;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
}

.cs-ir-members-list {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  max-height: 3.2rem;
  overflow-y: auto;
}

.cs-ir-members-empty {
  padding: 0.3rem 0;
  text-align: center;
  color: #999;
  font-size: 0.22rem;
}

.cs-ir-member {
  padding: 0.12rem 0.14rem;
  border-radius: 0.12rem;
  background: #fafafa;
  border: 0.02rem solid #eee;
}

.cs-ir-member.is-valid {
  background: linear-gradient(90deg, #faf5ff, #fff);
  border-color: #ddd6fe;
}

.cs-ir-member-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.08rem;
}

.cs-ir-member-name {
  font-size: 0.22rem;
  font-weight: 600;
  color: #333;
}

.cs-ir-member-badge {
  font-size: 0.16rem;
  padding: 0.02rem 0.1rem;
  border-radius: 9.99rem;
  background: #ede9fe;
  color: #7c3aed;
  font-weight: 700;
}

.cs-ir-member-badge.is-pending {
  background: #f3f4f6;
  color: #999;
}

.cs-ir-member-meta {
  margin-top: 0.06rem;
  display: flex;
  gap: 0.16rem;
  font-size: 0.18rem;
  color: #888;
}

.cs-promo-main--full .cs-promo-panel--invite-reward {
  min-height: 100%;
}

/* VIP 晋级 — 爱马仕同源橙色风格 */
.cs-promo-panel--vip-upgrade {
  padding: 0.16rem 0.2rem 0.36rem !important;
  background: var(--cs-act-surface) !important;
}

.cs-promo-panel--vip-upgrade .cs-vip-desc {
  margin-top: 0.2rem;
  background: #fff;
  border-radius: 0.16rem;
  padding: 0.24rem;
}

.cs-vip-widget {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.cs-vip-status-banner {
  padding: 0.14rem 0.18rem;
  border-radius: 0.12rem;
  font-size: 0.22rem;
  line-height: 1.4;
  text-align: center;
}

.cs-vip-status-banner.is-off {
  background: #fff3e0;
  color: #e65100;
  border: 0.01rem solid rgba(255, 103, 0, 0.25);
}

.cs-vip-status-banner.is-warn {
  background: #fff8e1;
  color: #f57f17;
  border: 0.01rem solid rgba(255, 193, 7, 0.35);
}

/* 顶部卡片 — 对齐原生 VipIndex 橙色布局 */
.cs-vip-card {
  position: relative;
  border-radius: 0.16rem;
  overflow: hidden;
  background: linear-gradient(135deg, #ff9e27 0%, #ff6700 100%);
  color: #fff;
  box-shadow: 0 0.08rem 0.24rem rgba(255, 103, 0, 0.28);
}

.cs-vip-card-inner {
  display: flex;
  align-items: stretch;
  padding: 0.18rem 0.2rem 0.1rem;
  min-height: 1.8rem;
}

.cs-vip-card-left {
  flex: 0 0 2.64rem;
  min-width: 0;
}

.cs-vip-card-level {
  display: flex;
  align-items: center;
  height: 0.76rem;
  padding-left: 0.12rem;
}

.cs-vip-card-level-icon {
  font-size: 0.36rem;
  line-height: 1;
  margin-right: 0.06rem;
}

.cs-vip-card-level-v {
  font-size: 0.36rem;
  font-weight: 700;
  font-style: italic;
  margin-right: 0.04rem;
}

.cs-vip-card-level-num {
  font-size: 0.36rem;
  font-weight: 700;
  font-style: italic;
}

.cs-vip-card-progress {
  margin-top: 0.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.cs-vip-bar-row {
  position: relative;
}

.cs-vip-bar-track {
  height: 0.2rem;
  border-radius: 0.15rem;
  background: rgba(0, 0, 0, 0.1);
  border: thin solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.cs-vip-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: #ffc000;
  transition: width 0.35s ease;
}

.cs-vip-bar-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.18rem;
  line-height: 0.2rem;
  color: #fff;
  text-shadow: 0 0.01rem 0.04rem rgba(0, 0, 0, 0.35);
}

.cs-vip-card-mid {
  flex: 1;
  max-width: 0.3rem;
}

.cs-vip-card-right {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 0.08rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cs-vip-card-promo {
  display: flex;
  align-items: baseline;
  gap: 0.08rem;
  min-height: 0.76rem;
  flex-wrap: wrap;
}

.cs-vip-card-promo-label {
  font-size: 0.24rem;
  opacity: 0.95;
}

.cs-vip-card-promo-amt {
  font-size: 0.28rem;
  font-weight: 800;
  color: #fff;
}

.cs-vip-card-needs {
  margin-top: 0.04rem;
}

.cs-vip-card-need {
  display: flex;
  align-items: center;
  font-size: 0.2rem;
  line-height: 0.27rem;
  margin-top: 0.06rem;
  flex-wrap: wrap;
}

.cs-vip-card-need-tip {
  opacity: 0.6;
  margin-right: 0.04rem;
}

.cs-vip-card-need-action {
  text-decoration: underline;
  margin-right: 0.06rem;
}

.cs-vip-card-need-amt {
  font-weight: 600;
}

.cs-vip-card-encourage {
  padding: 0.08rem 0.2rem 0.16rem;
  font-size: 0.2rem;
  opacity: 0.92;
  line-height: 1.35;
}

.cs-vip-rule-banner {
  padding: 0.14rem 0.16rem;
  border-radius: 0.12rem;
  background: #fff;
  border: 0.01rem solid #e3e3e3;
  font-size: 0.2rem;
  color: #666;
  line-height: 1.4;
}

.cs-vip-section-head {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  margin-top: 0.04rem;
}

.cs-vip-section-title {
  font-size: 0.26rem;
  font-weight: 700;
  color: #333;
}

.cs-vip-table-wrap {
  overflow-x: auto;
  border-radius: 0.12rem;
  background: #fff;
  border: 0.01rem solid #e3e3e3;
}

.cs-vip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.2rem;
  min-width: 8.5rem;
}

.cs-vip-table th,
.cs-vip-table td {
  padding: 0.12rem 0.1rem;
  text-align: center;
  border-bottom: 0.01rem solid #f0f0f0;
  white-space: nowrap;
}

.cs-vip-table th {
  background: #fff8ef;
  color: #8a5a12;
  font-weight: 700;
  font-size: 0.19rem;
}

.cs-vip-table-row.is-current {
  background: rgba(255, 158, 39, 0.08);
}

.cs-vip-table-lv {
  font-weight: 800;
  color: #ff6700;
}

.cs-vip-table-highlight {
  color: #ff6700;
  font-weight: 700;
}

.cs-vip-table-muted {
  color: #bbb;
}

.cs-vip-table-done {
  color: #67c23a;
  font-weight: 600;
}

.cs-vip-table-claim {
  padding: 0.06rem 0.2rem;
  border: none;
  border-radius: 9.99rem;
  font-size: 0.19rem;
  font-weight: 700;
  color: #fff;
  background: #ff6700;
  cursor: pointer;
}

.cs-vip-table-empty {
  padding: 0.28rem !important;
  color: #999;
}

.cs-vip-priv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.1rem 0.14rem;
  padding: 0.16rem;
  border-radius: 0.12rem;
  background: #fff;
  border: 0.01rem solid #e3e3e3;
}

.cs-vip-priv-item {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  font-size: 0.2rem;
  color: #555;
  line-height: 1.3;
}

.cs-vip-priv-dot {
  flex-shrink: 0;
  width: 0.1rem;
  height: 0.1rem;
  border-radius: 50%;
  background: #ff6700;
}

.cs-vip-login-tip,
.cs-vip-loading {
  text-align: center;
  padding: 0.2rem;
  font-size: 0.22rem;
  color: #999;
  border-radius: 0.12rem;
  background: #fff;
}

.cs-promo-main--full .cs-promo-panel--vip-upgrade {
  min-height: 100%;
}
/* 爱马仕同源 VIP — 展开详情 / 分级图标 / 真实进度 */

.cs-hvip {
  --hvip-primary: #d4af37;
  --hvip-gold: #b8860b;
  --hvip-gold-light: #ffe566;
  --hvip-cream: #fff8ef;
  --hvip-text: #333;
  padding: 0.12rem 0.1rem 0.28rem;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
}

.cs-promo-panel--vip-upgrade {
  background: var(--cs-act-surface);
}

/* ===== 顶部 VIP 卡片 ===== */
.cs-hvip-hero {
  position: relative;
  border-radius: 0.22rem;
  overflow: hidden;
  margin-bottom: 0.2rem;
  box-shadow: 0 0.12rem 0.32rem rgba(139, 105, 20, 0.38);
  border: 0.02rem solid rgba(255, 220, 130, 0.65);
}

.cs-hvip-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.55), transparent 42%),
    radial-gradient(circle at 82% 88%, rgba(255, 230, 150, 0.42), transparent 38%),
    linear-gradient(135deg, #fff0b3 0%, #f5d76e 18%, #d4af37 48%, #b8860b 78%, #8b6914 100%);
}

.cs-hvip-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  animation: cs-hvip-hero-shine 4s ease-in-out infinite;
}

@keyframes cs-hvip-hero-shine {
  0%, 100% { transform: translateX(-120%); opacity: 0; }
  45% { opacity: 1; }
  55% { transform: translateX(120%); opacity: 1; }
  56% { opacity: 0; }
}

.cs-hvip-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.14rem;
  padding: 0.22rem 0.2rem 0.12rem;
  color: #4a3200;
}

.cs-hvip-hero-left {
  display: flex;
  align-items: center;
  gap: 0.14rem;
  min-width: 0;
}

.cs-hvip-hero-meta {
  min-width: 0;
}

.cs-hvip-hero-title {
  font-family: Georgia, 'Times New Roman', 'STSong', 'PingFang SC', serif;
  font-size: 0.42rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #4a3200;
  text-shadow: 0 0.01rem 0 rgba(255, 255, 255, 0.65);
}

.cs-hvip-hero-sub {
  font-size: 0.2rem;
  color: #5c4a1a;
  margin-top: 0.06rem;
}

.cs-hvip-hero-sub b {
  color: #8b2500;
  font-weight: 900;
  font-family: Georgia, 'Times New Roman', serif;
}

.cs-hvip-hero-right {
  text-align: right;
  flex-shrink: 0;
}

.cs-hvip-card-gift-label,
.cs-hvip-card-tip {
  font-size: 0.19rem;
  color: #5c4a1a;
}

.cs-hvip-card-gift-amt {
  display: block;
  font-family: Georgia, 'Times New Roman', 'STSong', serif;
  font-size: 0.36rem;
  font-weight: 900;
  color: #8b2500;
  text-shadow: 0 0.01rem 0 rgba(255, 255, 255, 0.5);
}

.cs-hvip-card-needs,
.cs-hvip-need {
  font-size: 0.18rem;
  margin-top: 0.06rem;
  color: #5c4a1a;
}

.cs-hvip-need em {
  font-style: normal;
  font-weight: 900;
  color: #8b2500;
  margin-left: 0.06rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.cs-hvip-hero-pending {
  position: relative;
  z-index: 1;
  margin: 0 0.2rem 0.08rem;
  padding: 0.08rem 0.14rem;
  border-radius: 999px;
  background: rgba(139, 37, 0, 0.12);
  border: 0.01rem solid rgba(139, 37, 0, 0.25);
  color: #8b2500;
  font-size: 0.19rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
}

.cs-hvip-hero-pending-dot,
.cs-hvip-row-pending-dot,
.cs-hvip-act-pulse {
  width: 0.1rem;
  height: 0.1rem;
  border-radius: 50%;
  background: #ff4d4f;
  box-shadow: 0 0 0.06rem rgba(255, 77, 79, 0.8);
  animation: cs-hvip-pulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes cs-hvip-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.cs-hvip-card-progress,
.cs-hvip-hero-foot {
  position: relative;
  z-index: 1;
  padding: 0 0.2rem;
}

.cs-hvip-card-progress {
  padding-bottom: 0.08rem;
}

.cs-hvip-card-progress.is-max {
  text-align: center;
  font-size: 0.22rem;
  color: #5c4a1a;
  font-weight: 700;
  padding-bottom: 0.12rem;
}

.cs-hvip-hero-foot {
  font-size: 0.2rem;
  color: #5c4a1a;
  padding-bottom: 0.16rem;
}

.cs-hvip-prog {
  margin-bottom: 0.1rem;
}

.cs-hvip-prog-icon {
  font-size: 0.22rem;
}

.cs-hvip-prog-label {
  display: flex;
  align-items: center;
  gap: 0.06rem;
  font-size: 0.19rem;
  margin-bottom: 0.06rem;
  color: #3d2a00;
  font-weight: 700;
}

.cs-hvip-prog-bar {
  height: 0.18rem;
  border-radius: 999px;
  background: var(--cs-act-prog-track);
  overflow: hidden;
  border: 0.02rem solid #b8a070;
  box-shadow: inset 0 0.02rem 0.04rem rgba(0, 0, 0, 0.12);
}

.cs-hvip-prog-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--cs-act-prog-fill);
  transition: width 0.85s cubic-bezier(0.34, 1.2, 0.64, 1);
  box-shadow: 0 0 0.08rem rgba(255, 103, 0, 0.5);
  animation: none;
  background-size: 100% 100%;
}

.cs-hvip-prog-fill.is-animate {
  will-change: width;
}

.cs-hvip-prog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.17rem;
  margin-top: 0.04rem;
  color: #3d2a00;
  font-weight: 600;
}

.cs-hvip-prog-pct {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 900;
  color: var(--cs-act-accent);
}

/* ===== VIP 等级独立图标（V0–V20） ===== */
.cs-hvip-icon {
  flex-shrink: 0;
  width: 1.08rem;
  height: 1.08rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.cs-hvip-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  pointer-events: none;
  user-select: none;
}

.cs-hvip-icon.is-lg {
  width: 1.28rem;
  height: 1.28rem;
}

.cs-hvip-hero-left .cs-hvip-icon.is-lg {
  width: 1.36rem;
  height: 1.36rem;
}

.cs-hvip-row-level .cs-hvip-icon {
  width: 1.08rem;
  height: 1.08rem;
  margin: 0 auto;
}

.cs-hvip-expand-side .cs-hvip-icon.is-lg {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0 auto;
}

/* ===== 标题 / Tab ===== */
.cs-hvip-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  font-size: 0.3rem;
  font-weight: 800;
  color: var(--cs-act-text-strong);
  margin: 0.06rem 0 0.14rem;
}

.cs-hvip-title-deco {
  color: #ffc980;
  font-size: 0.22rem;
}

.cs-hvip-tabs {
  display: flex;
  border-bottom: 0.02rem solid #f0dcc4;
  margin-bottom: 0.12rem;
  background: #fff;
  border-radius: 0.12rem 0.12rem 0 0;
}

.cs-hvip-tab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.16rem 0.08rem;
  font-size: 0.26rem;
  color: #666;
  position: relative;
}

.cs-hvip-tab.is-active {
  color: var(--cs-act-accent-2);
  font-weight: 800;
}

.cs-hvip-tab.is-active::after {
  content: '';
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0;
  height: 0.04rem;
  border-radius: 999px;
  background: var(--cs-act-accent-2);
}

.cs-hvip-panel { display: none; }
.cs-hvip-panel.is-active { display: block; }

.cs-hvip-list-head {
  display: grid;
  grid-template-columns: 1.28rem 1fr;
  padding: 0.12rem 0.16rem;
  font-size: 0.22rem;
  color: #666;
  font-weight: 600;
  background: #fff;
  border-bottom: 0.01rem solid #f5ebe0;
}

.cs-hvip-list {
  background: #fff;
  border-radius: 0 0 0.12rem 0.12rem;
  overflow: hidden;
}

/* ===== 折叠行（收起） ===== */
.cs-hvip-row {
  --vip-accent: #d4af37;
  position: relative;
  overflow: hidden;
  border-top: 0.01rem solid #f5ebe0;
  background: #fff;
  border-left: 0.05rem solid var(--vip-accent);
}

.cs-hvip-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--vip-accent) 0%, transparent 62%);
  opacity: 0.1;
  pointer-events: none;
}

.cs-hvip-row.is-current::before {
  opacity: 0.16;
}

.cs-hvip-row-head,
.cs-hvip-expand {
  position: relative;
  z-index: 1;
}

.cs-hvip-row.has-pending .cs-hvip-row-bonus-amt {
  color: var(--vip-accent);
}

.cs-hvip-row-head {
  width: 100%;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 1.28rem 1fr auto;
  align-items: center;
  gap: 0.1rem;
  padding: 0.14rem 0.14rem;
  text-align: left;
}

.cs-hvip-row-pending {
  display: inline-flex;
  align-items: center;
  gap: 0.05rem;
  margin-top: 0.04rem;
  padding: 0.02rem 0.1rem;
  border-radius: 999px;
  background: rgba(255, 77, 79, 0.12);
  color: #e03e3e;
  font-size: 0.17rem;
  font-weight: 700;
}

.cs-hvip-row-level {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.28rem;
  flex-shrink: 0;
}

.cs-hvip-row-bonus {
  min-width: 0;
  padding-left: 0.04rem;
}

.cs-hvip-row-bonus-label {
  display: block;
  font-size: 0.18rem;
  color: #666;
}

.cs-hvip-row-name {
  font-size: 0.24rem;
  font-weight: 900;
  color: #333;
  font-family: Georgia, 'Times New Roman', serif;
}

.cs-hvip-row-bonus-amt {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.28rem;
  font-weight: 900;
  color: var(--vip-accent, var(--hvip-gold));
}

.cs-hvip-row-toggle {
  font-size: 0.2rem;
  color: var(--vip-accent, var(--hvip-gold));
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.04rem;
}

.cs-hvip-chevron {
  display: inline-block;
  width: 0.1rem;
  height: 0.1rem;
  border-right: 0.03rem solid currentColor;
  border-bottom: 0.03rem solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.04rem;
}

.cs-hvip-chevron.is-up {
  transform: rotate(-135deg);
  margin-top: 0.04rem;
}

/* ===== 展开面板（爱马仕同款） ===== */
.cs-hvip-expand {
  display: flex;
  gap: 0.12rem;
  padding: 0.16rem 0.12rem;
  background: linear-gradient(180deg, #fff9f0 0%, #fff3e0 100%);
  border-top: 0.01rem solid #f0dcc4;
  --vip-accent: #d4af37;
}

.cs-hvip-expand-side {
  width: 1.28rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.04rem;
}

.cs-hvip-expand-side-name {
  font-size: 0.22rem;
  font-weight: 800;
  color: #333;
}

.cs-hvip-expand-main {
  flex: 1;
  min-width: 0;
}

.cs-hvip-expand-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.1rem;
  margin-bottom: 0.12rem;
}

.cs-hvip-expand-head-text {
  font-size: 0.22rem;
  color: #666;
  line-height: 1.45;
}

.cs-hvip-expand-head-text strong {
  color: var(--vip-accent, var(--hvip-gold));
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.28rem;
  font-weight: 900;
}

.cs-hvip-expand-collapse {
  border: 0;
  background: transparent;
  color: var(--hvip-gold);
  font-size: 0.2rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.04rem;
  padding: 0;
}

/* ===== 福利行 ===== */
.cs-hvip-benefit {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  padding: 0.14rem 0;
  border-top: 0.01rem solid rgba(0, 0, 0, 0.05);
}

.cs-hvip-benefit-icon {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 0.12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.22rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.cs-hvip-benefit.is-week .cs-hvip-benefit-icon {
  background: linear-gradient(145deg, #5fd068, #2ea843);
}

.cs-hvip-benefit.is-month .cs-hvip-benefit-icon {
  background: linear-gradient(145deg, #5ba8ff, #2b6fd9);
}

.cs-hvip-benefit.is-promo .cs-hvip-benefit-icon {
  background: linear-gradient(145deg, #ffb347, #ff6b00);
  font-size: 0.26rem;
}

.cs-hvip-benefit.is-priv .cs-hvip-benefit-icon.is-diamond {
  background: linear-gradient(145deg, #ffe566, #ffb020);
  color: #a65a00;
  font-size: 0.28rem;
}

.cs-hvip-benefit-body {
  flex: 1;
  min-width: 0;
}

.cs-hvip-benefit-body.is-full {
  width: 100%;
}

.cs-hvip-benefit-title {
  font-size: 0.24rem;
  font-weight: 800;
  color: #333;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.08rem;
}

.cs-hvip-pill {
  display: inline-block;
  padding: 0.02rem 0.1rem;
  border-radius: 999px;
  background: #fff3d6;
  color: var(--hvip-gold);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.2rem;
  font-weight: 700;
}

.cs-hvip-benefit-sub {
  font-size: 0.19rem;
  color: #999;
  margin-top: 0.04rem;
}

.cs-hvip-act {
  border: 0;
  border-radius: 999px;
  padding: 0.08rem 0.16rem;
  font-size: 0.2rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.cs-hvip-act.is-game,
.cs-hvip-act.is-claim {
  background: linear-gradient(180deg, #f5d76e, #d4af37);
  color: #4a3200;
  box-shadow: 0 0.04rem 0.1rem rgba(184, 134, 11, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
}

.cs-hvip-act.is-claim {
  background: linear-gradient(180deg, #ff7875, #ff4d4f);
  color: #fff;
  box-shadow: 0 0.04rem 0.12rem rgba(255, 77, 79, 0.4);
  animation: cs-hvip-claim-glow 1.6s ease-in-out infinite;
}

@keyframes cs-hvip-claim-glow {
  0%, 100% { box-shadow: 0 0.04rem 0.12rem rgba(255, 77, 79, 0.35); }
  50% { box-shadow: 0 0.04rem 0.18rem rgba(255, 77, 79, 0.65); }
}

.cs-hvip-act.is-dep {
  background: linear-gradient(180deg, #ffe566, #ffb020);
  color: #8a4a00;
  box-shadow: 0 0.04rem 0.1rem rgba(255, 176, 32, 0.35);
}

.cs-hvip-act.is-done { color: #52c41a; font-size: 0.2rem; background: transparent; }
.cs-hvip-act.is-muted { color: #c84e00; font-size: 0.2rem; background: var(--cs-act-btn-locked-bg); border: 0.01rem solid var(--cs-act-btn-locked-border); border-radius: 0.08rem; padding: 0.04rem 0.1rem; font-weight: 700; }

.cs-hvip-priv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.08rem 0.12rem;
  margin-top: 0.08rem;
}

.cs-hvip-priv-cell {
  font-size: 0.19rem;
  color: #666;
  line-height: 1.4;
}

.cs-hvip-rules {
  background: var(--cs-act-card);
  border-radius: 0.12rem;
  padding: 0.18rem;
  font-size: 0.24rem;
  line-height: 1.65;
  color: var(--cs-act-text);
  border: 0.02rem solid var(--cs-act-card-border);
  box-shadow: var(--cs-act-card-shadow);
}

.cs-hvip-loading,
.cs-hvip-login-tip {
  padding: 0.28rem;
  text-align: center;
  color: #999;
  font-size: 0.22rem;
}

.cs-promo-main--full .cs-promo-panel--vip-upgrade {
  min-height: 100%;
}

/* 返水页布局 */
.cs-promo-panel--wager-rebate {
  padding: 0.16rem 0.14rem 0.24rem;
}

.cs-wr-summary-card {
  background: linear-gradient(135deg, #3a3220 0%, #262626 55%, #1a1a1a 100%);
  border: 1px solid rgba(209, 174, 82, 0.35);
  border-radius: 0.14rem;
  padding: 0.2rem 0.18rem;
  box-shadow: none;
}

.cs-wr-summary-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.12rem;
  margin-bottom: 0.16rem;
}

.cs-wr-vip-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.16rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a84c, #d1ae52);
  color: #1a1a1a;
  font-size: 0.26rem;
  font-weight: 800;
}

.cs-wr-summary-tip {
  font-size: 0.22rem;
  color: #d1ae52;
  font-weight: 600;
}

.cs-wr-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.1rem;
}

.cs-wr-summary-item {
  background: rgba(38, 38, 38, 0.95);
  border: 1px solid #444;
  border-radius: 0.1rem;
  padding: 0.14rem 0.08rem;
  text-align: center;
}

.cs-wr-summary-item em {
  display: block;
  font-style: normal;
  font-size: 0.22rem;
  color: #999;
  margin-bottom: 0.06rem;
}

.cs-wr-summary-item strong {
  display: block;
  font-size: 0.3rem;
  color: #e3e3e3;
  line-height: 1.2;
  font-weight: 800;
}

.cs-wr-summary-item.is-highlight strong {
  color: #d1ae52;
}

.cs-wr-desc {
  margin: 0.14rem 0;
  font-size: 0.24rem;
  color: #ccc;
  line-height: 1.5;
}

.cs-wr-section-title {
  margin: 0.16rem 0 0.1rem;
  font-size: 0.28rem;
  font-weight: 800;
  color: #d1ae52;
}

.cs-wr-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.08rem;
  margin-bottom: 0.12rem;
}

.cs-wr-cat-tab {
  flex: 1 1 calc(33.33% - 0.08rem);
  min-width: 1.6rem;
  border: 1px solid #444;
  background: #262626;
  border-radius: 0.1rem;
  padding: 0.12rem 0.08rem;
  text-align: center;
}

.cs-wr-cat-tab.is-active {
  border-color: #d1ae52;
  background: #3a3220;
  box-shadow: inset 0 0 0 1px rgba(209, 174, 82, 0.35);
}

.cs-wr-cat-label {
  display: block;
  font-size: 0.24rem;
  color: #e3e3e3;
  font-weight: 600;
}

.cs-wr-cat-rate {
  display: block;
  margin-top: 0.04rem;
  font-size: 0.28rem;
  font-weight: 800;
  color: #d1ae52;
}

.cs-wr-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #444;
  border-radius: 0.1rem;
  background: #262626;
}

.cs-wr-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 5.8rem;
  font-size: 0.22rem;
}

.cs-wr-table th,
.cs-wr-table td {
  padding: 0.12rem 0.08rem;
  text-align: center;
  border-bottom: 1px solid #333;
  white-space: nowrap;
  color: #ccc;
}

.cs-wr-table th {
  background: #1f1f1f;
  color: #999;
  font-weight: 700;
  font-size: 0.24rem;
}

.cs-wr-table th.is-active-col,
.cs-wr-table td.is-active-col {
  background: rgba(209, 174, 82, 0.12);
  color: #d1ae52;
  font-weight: 800;
}

.cs-wr-table tr.is-current td:first-child {
  color: #d1ae52;
  font-weight: 800;
}

.cs-wr-stat-list,
.cs-wr-pending-list {
  background: #262626;
  border: 1px solid #444;
  border-radius: 0.1rem;
  overflow: hidden;
}

.cs-wr-stat-row {
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.7fr 0.9fr;
  gap: 0.06rem;
  align-items: center;
  padding: 0.14rem 0.1rem;
  font-size: 0.24rem;
  color: #ccc;
  border-bottom: 1px solid #333;
}

.cs-wr-pending-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.9fr;
  gap: 0.06rem;
  align-items: center;
  padding: 0.14rem 0.1rem;
  font-size: 0.24rem;
  color: #ccc;
  border-bottom: 1px solid #333;
}
}

.cs-wr-stat-row:last-child,
.cs-wr-pending-row:last-child {
  border-bottom: none;
}

.cs-wr-stat-amt,
.cs-wr-pending-amt {
  color: #ff6700;
  font-weight: 700;
  text-align: right;
}

.cs-wr-stat-empty,
.cs-wr-pending-empty {
  padding: 0.2rem;
  text-align: center;
  color: #999;
  font-size: 0.2rem;
}

.cs-wr-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.12rem;
  margin: 0.18rem 0 0.08rem;
}

.cs-wr-btn-secondary {
  background: #fff !important;
  color: #ff6700 !important;
  border: 1px solid #ff9e27 !important;
}

.cs-promo-panel--wager-rebate .cs-promo-btn:disabled {
  opacity: 0.45;
}

/* ── 活动详情说明：加深文字色，统一站点橙金风格（覆盖后台内联 color） ── */
.cs-promo-panel--first-deposit .cs-fd-desc .csd-hero,
.cs-promo-panel--consecutive-deposit .cs-cd-desc .csd-hero,
.cs-promo-panel--daily-sign .cs-ds-desc .csd-hero,
.cs-promo-panel--invite-reward .cs-ir-desc .csd-hero {
  color: #c84e00 !important;
}

.cs-promo-panel--first-deposit .cs-fd-desc .csd-title,
.cs-promo-panel--consecutive-deposit .cs-cd-desc .csd-title,
.cs-promo-panel--daily-sign .cs-ds-desc .csd-title,
.cs-promo-panel--invite-reward .cs-ir-desc .csd-title {
  color: #1a1a1a !important;
  border-left-color: #ff6700 !important;
}

.cs-promo-panel--first-deposit .cs-fd-desc .csd-p,
.cs-promo-panel--consecutive-deposit .cs-cd-desc .csd-p,
.cs-promo-panel--daily-sign .cs-ds-desc .csd-p,
.cs-promo-panel--invite-reward .cs-ir-desc .csd-p {
  color: #3a3a3a !important;
}

.cs-promo-panel--first-deposit .cs-fd-desc .csd-list,
.cs-promo-panel--consecutive-deposit .cs-cd-desc .csd-list,
.cs-promo-panel--daily-sign .cs-ds-desc .csd-list,
.cs-promo-panel--invite-reward .cs-ir-desc .csd-list {
  color: #2e2e2e !important;
}

.cs-promo-panel--first-deposit .cs-fd-desc .csd-list li::marker,
.cs-promo-panel--consecutive-deposit .cs-cd-desc .csd-list li::marker,
.cs-promo-panel--daily-sign .cs-ds-desc .csd-list li::marker,
.cs-promo-panel--invite-reward .cs-ir-desc .csd-list li::marker {
  color: #d95500 !important;
}

.cs-promo-panel--first-deposit .cs-fd-desc .csd-highlight,
.cs-promo-panel--consecutive-deposit .cs-cd-desc .csd-highlight,
.cs-promo-panel--daily-sign .cs-ds-desc .csd-highlight,
.cs-promo-panel--invite-reward .cs-ir-desc .csd-highlight {
  color: #b71c1c !important;
  background: #fff4e6 !important;
  border-color: rgba(255, 103, 0, 0.5) !important;
}

.cs-promo-panel--first-deposit .cs-fd-desc .csd-figure figcaption,
.cs-promo-panel--consecutive-deposit .cs-cd-desc .csd-figure figcaption,
.cs-promo-panel--daily-sign .cs-ds-desc .csd-figure figcaption,
.cs-promo-panel--invite-reward .cs-ir-desc .csd-figure figcaption {
  color: #5c5c5c !important;
}

.cs-promo-panel--consecutive-deposit .cs-cd-desc .csd-hero {
  color: #4c1d95 !important;
}

.cs-promo-panel--daily-sign .cs-ds-desc .csd-hero {
  color: #0d5c52 !important;
}

.cs-promo-panel--invite-reward .cs-ir-desc .csd-hero {
  color: #c84e00 !important;
}

/* 待领取/领取记录：原生顶栏必须 flex 同一行，禁止 block 破坏布局 */
html[data-cs-route="canReceive"] body.cs-promo-active:has(#cs-promo-root) [class*="discount-header"].lobby-base-header,
html[data-cs-route="promoRecords"] body.cs-promo-active:has(#cs-promo-root) [class*="discount-header"].lobby-base-header,
html[data-cs-route="receiveRecords"] body.cs-promo-active:has(#cs-promo-root) [class*="discount-header"].lobby-base-header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: 0.9rem !important;
  min-height: 0.9rem !important;
  max-height: 0.9rem !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

/* === 深色主题兜底：覆盖活动子页残留浅色 === */
#cs-promo-root .cs-promo-panel,
#cs-promo-root .cs-promo-card,
#cs-promo-root .cs-promo-list-item,
#cs-promo-root .cs-promo-detail-card,
#cs-promo-root .cs-promo-records,
#cs-promo-root .cs-promo-records-row {
  background: var(--cs-act-card) !important;
  color: var(--cs-act-text) !important;
  border-color: var(--cs-act-card-border) !important;
}

#cs-promo-root .cs-promo-panel[class*="--"],
#cs-promo-root .cs-promo-panel--first-deposit,
#cs-promo-root .cs-promo-panel--consecutive-deposit,
#cs-promo-root .cs-promo-panel--daily-sign,
#cs-promo-root .cs-promo-panel--invite-reward,
#cs-promo-root .cs-promo-panel--vip-upgrade,
#cs-promo-root .cs-promo-panel--loss-rebate,
#cs-promo-root .cs-promo-panel--agent-rebate {
  background: #1a1a1a !important;
}

#cs-promo-root [class*="hero"],
#cs-promo-root [class*="widget"],
#cs-promo-root [class*="tier"],
#cs-promo-root [class*="milestone"],
#cs-promo-root [class*="stats"],
#cs-promo-root [class*="week"],
#cs-promo-root [class*="today"] {
  background-color: var(--cs-act-card) !important;
  border-color: var(--cs-act-card-border) !important;
  color: var(--cs-act-text) !important;
}

#cs-promo-root h1,
#cs-promo-root h2,
#cs-promo-root h3,
#cs-promo-root [class*="title"] {
  color: var(--cs-act-accent) !important;
}

#cs-promo-root p,
#cs-promo-root span,
#cs-promo-root li,
#cs-promo-root [class*="desc"],
#cs-promo-root [class*="sub"],
#cs-promo-root [class*="meta"],
#cs-promo-root [class*="label"]:not(.cs-promo-side-label) {
  color: var(--cs-act-muted) !important;
}

#cs-promo-root b,
#cs-promo-root em,
#cs-promo-root strong,
#cs-promo-root [class*="reward"],
#cs-promo-root [class*="amount"] {
  color: var(--cs-act-accent) !important;
}

html[data-cs-route="canReceive"] body.cs-promo-active:has(#cs-promo-root) [class*="discount-header"] [class*="_tabs_"],
html[data-cs-route="promoRecords"] body.cs-promo-active:has(#cs-promo-root) [class*="discount-header"] [class*="_tabs_"],
html[data-cs-route="receiveRecords"] body.cs-promo-active:has(#cs-promo-root) [class*="discount-header"] [class*="_tabs_"] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: 100% !important;
  max-height: none !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

/* 待领取 / 领取记录：隐藏自定义优惠层，恢复原生页可点击 */
body.cs-can-receive #cs-promo-root,
body.cs-receive-records #cs-promo-root,
body.cs-promo-records #cs-promo-root,
html[data-cs-route="canReceive"] #cs-promo-root,
html[data-cs-route="receiveRecords"] #cs-promo-root,
html[data-cs-route="promoRecords"] #cs-promo-root {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

body.cs-can-receive:has(#cs-promo-root) [class*="discount-header"],
body.cs-receive-records:has(#cs-promo-root) [class*="discount-header"],
body.cs-promo-records:has(#cs-promo-root) [class*="discount-header"],
html[data-cs-route="canReceive"] #app [class*="discount-header"],
html[data-cs-route="receiveRecords"] #app [class*="discount-header"],
html[data-cs-route="promoRecords"] #app [class*="discount-header"] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

body.cs-can-receive #app,
body.cs-receive-records #app,
body.cs-promo-records #app,
html[data-cs-route="canReceive"] #app,
html[data-cs-route="receiveRecords"] #app,
html[data-cs-route="promoRecords"] #app {
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}

body.cs-can-receive #app *,
body.cs-receive-records #app *,
body.cs-promo-records #app *,
html[data-cs-route="canReceive"] #app *,
html[data-cs-route="receiveRecords"] #app *,
html[data-cs-route="promoRecords"] #app * {
  pointer-events: auto !important;
}

body.cs-can-receive [class*="can-receive"],
body.cs-can-receive [class*="BottomReceive"],
body.cs-receive-records [class*="receiveRecords"],
body.cs-promo-records [class*="receiveRecords"],
html[data-cs-route="canReceive"] [class*="can-receive"],
html[data-cs-route="receiveRecords"] [class*="receiveRecords"],
html[data-cs-route="promoRecords"] [class*="receiveRecords"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

body.cs-can-receive footer.layout-footer,
body.cs-receive-records footer.layout-footer,
body.cs-promo-records footer.layout-footer {
  pointer-events: auto !important;
  z-index: 1200 !important;
}
