/* The original shell scrolls without reserving a visible browser scrollbar. */
html {
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  display: none;
}

.transparent-page-header {
  height: 60px;
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  background: transparent;
}

.transparent-page-header button {
  height: 60px;
}

.transparent-page-header button img {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  object-fit: contain;
}

.transparent-page-header h1 {
  text-align: center;
  font-size: 17px;
  font-weight: 400;
}

.fpsd-page {
  background: #10281c;
}

.fpsd-form {
  padding: 30px 20px 20px;
}

.fpsd-form > label {
  display: block;
  margin: 0 0 5px;
  color: #fff;
  font-size: 17px;
}

.fpsd-form > label:not(:first-child) {
  margin-top: 15px;
}

.fpsd-code-input {
  position: relative;
  width: 100%;
  height: 67px;
}

.fpsd-code-input input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  opacity: .01;
}

.fpsd-boxes {
  display: grid;
  grid-template-columns: repeat(4, 67px);
  justify-content: space-between;
  gap: 0;
  pointer-events: none;
}

.fpsd-boxes i,
.withdraw-boxes i {
  height: 67px;
  display: grid;
  place-items: center;
  border: 1px solid #333;
  border-radius: 4px;
  background: #1e1e1e;
  font-style: normal;
}

.fpsd-boxes i.filled::after,
.withdraw-boxes i.filled::after {
  content: "•";
  color: #fff;
  font-size: 27px;
}

.fpsd-code-input:focus-within .fpsd-boxes i {
  border-color: #f5b700;
}

.fpsd-submit {
  width: calc(100% - 20px);
  height: 40px;
  margin: 20px 10px 0;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(180deg,#c0f5d0,#159a4a 52%,#7ee3a2);
  box-shadow: inset 0 -3px 0 0 #148242;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
}

.customer-page {
  min-height: 100vh;
  padding: 70px 15px 15px;
  background: #10281c url("assets/original/static/images/main_bg.png") center/cover fixed;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
}

.customer-page > .customer-navbar {
  position: fixed;
  z-index: 25;
  top: 0;
  left: 50%;
  width: min(100%, 490px);
  height: 60px;
  grid-template-columns: 76px 1fr 76px;
  transform: translateX(-50%);
}

.customer-page > .customer-navbar button {
  width: 76px;
  height: 60px;
}

.customer-page > .customer-navbar button img {
  width: 45px;
  height: 45px;
  margin: 0 0 0 23px;
}

.customer-page > .customer-navbar h1 {
  width: 200px;
  justify-self: center;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.support-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.support-card {
  width: calc(50.333% - 10px);
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: .5px solid rgba(255,244,168,.3);
  border-radius: 5px;
  background: #334e3b;
}

.support-avatar {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  object-fit: contain;
}

.support-title {
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 700;
}

.support-status {
  margin-bottom: 10px;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  text-align: center;
}

.support-card .chat-button {
  width: 60px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  color: #000;
  background: linear-gradient(180deg,#c0f5d0,#159a4a 52%,#7ee3a2);
  box-shadow: inset 0 -3px 0 0 #148242;
  font-size: 12px;
  font-weight: 700;
}

.support-info {
  padding: 0 5px;
  color: #bbb;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
}

.backwater-page .inner-header {
  background: #0b431c;
}

.backwater-list {
  padding: 10px;
}

.backwater-card {
  margin-bottom: 10px;
  padding: 10px 14px;
  border: 1px solid #365842;
  border-radius: 6px;
  background: #0a291a;
  box-shadow: 0 3px 8px rgba(0,0,0,.28);
}

.backwater-card p {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #666;
  color: #b8c5bb;
  font-size: 11px;
}

.backwater-card p:last-child {
  border-bottom: 0;
}

.backwater-card b {
  color: #fff;
  font-weight: 500;
}

.backwater-empty {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #829489;
  font-size: 13px;
}

.backwater-empty i {
  margin-bottom: 10px;
  color: #c0c4cc;
  font-size: 90px;
  font-style: normal;
  line-height: 1;
}

.backwater-list > button {
  display: block;
  margin: 0 auto;
  color: #87978c;
  font-size: 11px;
}

.embedded-page {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #000;
}

.embedded-page iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.embedded-loader {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #08140d;
  color: #fff;
}

.embedded-loader > div {
  position: relative;
  width: 62px;
  height: 62px;
}

.embedded-loader i {
  --angle: calc(var(--dot) * 45deg);
  position: absolute;
  left: 27px;
  top: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform-origin: 4px 28px;
  transform: rotate(var(--angle));
  animation: embed-dot .8s linear infinite;
  animation-delay: calc(var(--dot) * -.1s);
}

.embedded-loader strong {
  font-size: 13px;
  font-weight: 500;
}

@keyframes embed-dot {
  0%, 20% { opacity: 1; }
  60%, 100% { opacity: .18; }
}

.embedded-error {
  position: absolute;
  inset: 50% 20px auto;
  transform: translateY(-50%);
  color: #fff;
  text-align: center;
  font-size: 14px;
}

.game-web-back {
  position: absolute;
  z-index: 5;
  left: 12px;
  top: 18px;
  width: 50px;
  height: 50px;
}

.game-web-back img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.legacy-sidebar-page {
  min-height: calc(100vh - 62px);
  display: flex;
  background: #fff;
  color: #222;
  font-family: Arial, sans-serif;
}

.legacy-sidebar-menu {
  flex: 0 0 200px;
  padding: 25px 16px;
  background: #eee;
}

.legacy-sidebar-menu a {
  display: block;
  margin-bottom: 16px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
}

.legacy-sidebar-page main {
  flex: 1;
  padding: 30px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .legacy-sidebar-menu {
    display: none;
  }

  .legacy-sidebar-page main {
    padding: 22px;
  }
}

.settings-avatar img.settings-camera {
  position: absolute;
  right: -17px;
  bottom: 0;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.withdrawal-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #10281c url("assets/original/static/images/main_bg.png") center/cover fixed no-repeat;
  color: #fff;
  font-size: 13px;
}

.withdraw-tabs-header {
  position: sticky;
  top: 0;
  z-index: 25;
  min-height: 59px;
  padding: 18px 15px;
  display: flex;
  align-items: center;
  background: #0b431c;
  border-bottom: .5px solid #0b431c;
}

.withdraw-tabs-header > button {
  flex: 0 0 auto;
  margin-right: 10px;
  color: #fff;
  font-size: 20px;
  line-height: 23px;
}

.withdraw-tabs-header nav {
  flex: 1;
  display: flex;
  justify-content: space-around;
}

.withdraw-tabs-header nav button {
  position: relative;
  padding: 5px 0;
  color: #ccc;
  font-size: 14px;
  white-space: nowrap;
}

.withdraw-tabs-header nav button.active {
  color: #ff0;
  font-weight: 700;
}

.withdraw-tabs-header button:focus,
.withdraw-filter-wrap > button:focus {
  outline: none;
}

.withdraw-tabs-header nav button.active::after {
  content: "";
  position: absolute;
  left: 20%;
  bottom: -2px;
  width: 60%;
  height: 2px;
  border-radius: 1px;
  background: #ff0;
}

.withdraw-tab-content {
  padding: 10px;
}

.withdraw-panel {
  padding: 0;
}

.withdraw-panel[data-withdraw-panel="history"],
.manage-account-page {
  padding: 10px;
}

.withdraw-balance {
  padding: 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.03);
  color: #ccc;
  font-size: 13px;
}

.withdraw-balance p {
  min-height: 16px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.withdraw-balance b {
  margin-left: 3px;
  color: #f5b700;
  font-weight: 700;
}

.withdraw-balance p:nth-child(3) b {
  margin: 0 5px;
}

.withdraw-reload {
  margin-left: 5px;
  color: #ccc;
  font-size: 19px;
  line-height: 19px;
}

.withdraw-pix {
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  border-bottom: .5px solid rgba(255,255,255,.1);
  color: #fff;
  text-align: left;
}

.withdraw-pix img {
  width: 27.5px;
  height: 27.5px;
  object-fit: contain;
}

.withdraw-pix span {
  min-width: 0;
  flex: 1;
  margin-left: 10px;
  color: #fff;
  font-size: 13px;
}

.withdraw-pix i {
  color: #ccc;
  font-size: 19px;
  font-style: normal;
}

.withdraw-amount {
  position: relative;
  width: 100%;
  min-height: 45.6px;
  margin-top: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  border: 1px solid #444;
  border-radius: 6px;
  background: rgba(37,29,5,0);
}

.withdraw-amount-icon {
  flex: 0 0 auto;
  margin-right: 7px;
  color: #fff;
  font-size: 15px;
}

.withdraw-amount input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
}

.withdraw-amount input::placeholder {
  color: #c0c4cc;
  font-size: 13px;
}

.withdraw-amount input::-webkit-inner-spin-button,
.withdraw-amount input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.withdraw-amount button {
  align-self: stretch;
  padding: 0 6px;
  color: #3a84ff;
  font-size: 13px;
  font-weight: 700;
}

.withdraw-pin-section {
  margin-top: 15px;
}

.withdraw-pin-label {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 13px;
}

.withdraw-code-input {
  position: relative;
  width: 100%;
  height: 77px;
  padding: 5px 0;
}

.withdraw-code-input > input {
  position: absolute;
  z-index: 2;
  inset: 5px 0;
  width: 100%;
  height: 67px;
  border: 0;
  outline: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  opacity: .01;
}

.withdraw-boxes {
  width: 100%;
  display: flex;
  justify-content: stretch;
  gap: 0;
  pointer-events: none;
}

.withdraw-boxes i {
  flex: 1 1 0;
  min-width: 0;
  height: 67px;
  border-color: #333;
  border-radius: 4px;
  background: #1e1e1e;
}

.withdraw-code-input:focus-within .withdraw-boxes i {
  border-color: #333;
}

.withdraw-submit {
  margin: 20px 10px 0;
}

.withdraw-submit button {
  width: 100%;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(180deg,#c0f5d0,#159a4a 52%,#7ee3a2);
  box-shadow: inset 0 -3px 0 0 #148242;
  color: #000;
  font-size: 15px;
  font-weight: 700;
}

.withdraw-history-tools {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 13px;
}

.withdraw-filter-wrap {
  position: relative;
  z-index: 10;
}

.withdraw-filter-wrap > button {
  padding: 5px 15px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: #fff;
}

.withdraw-filter-wrap > button i {
  margin-left: 5px;
  font-size: 11px;
  font-style: normal;
}

.withdraw-history-tools b {
  margin-left: 2px;
  color: orange;
  font-weight: 400;
}

.withdraw-filter-menu {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100px;
  overflow: hidden;
  border: .5px solid #173420;
  border-radius: 6px;
  background: #312002;
}

.withdraw-filter-menu button {
  width: 100%;
  padding: 8px 10px;
  color: #fff;
  text-align: left;
  font-size: 13px;
}

.withdraw-filter-menu button:hover {
  background: #2a2a2a;
}

.withdraw-history-head {
  padding: 7.5px 0;
  display: flex;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: #aaa;
  font-weight: 700;
}

.withdraw-history-head span {
  text-align: center;
}

.withdraw-history-head span:nth-child(1) { flex: 1.4; }
.withdraw-history-head span:nth-child(2) { flex: 2.2; }
.withdraw-history-head span:nth-child(3) { flex: 1; }

.withdraw-history-list {
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

.manage-account-page {
  min-height: 100vh;
  color: #fff;
}

.manage-account-box {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
}

.manage-account-head {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ccc;
  font-size: 13px;
}

.manage-account-head > div {
  display: flex;
  align-items: center;
}

.manage-account-head b {
  font-size: 13px;
}

.manage-account-head button {
  margin-left: 5px;
  color: #ccc;
  font-size: 19px;
}

.manage-account-submit {
  margin: 40px 10px 0;
}

.add-payment {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(180deg,#c0f5d0,#159a4a 52%,#7ee3a2);
  box-shadow: inset 0 -3px 0 0 #148242;
  color: #000;
  font-size: 15px;
  font-weight: 700;
}

.manage-account-logo {
  width: 200px;
  height: 100px;
  margin: 60px auto 0;
  display: block;
  object-fit: contain;
}

.redpacket-page {
  min-height: 100vh;
  padding-bottom: 0;
  background: linear-gradient(180deg,#e53935,#b71c1c);
}

.redpacket-header {
  height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  color: #fff;
}

.redpacket-header .redpacket-back {
  width: 30px;
  height: 44px;
  color: #fff;
  font-size: 26px;
  line-height: 44px;
  text-align: left;
}

.redpacket-header h1 {
  flex: 1;
  color: #fff;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
}

.redpacket-header-right {
  width: 30px;
}

.redpacket-page .redpacket-card {
  margin: 20px;
  padding: 24px 20px;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,.2);
}

.redpacket-card > .rp-amount {
  margin-bottom: 20px;
  font-size: inherit;
}

.redpacket-page .rp-range {
  display: block;
  color: #e53935;
  font-size: 23px;
  font-weight: 800;
}

.redpacket-page .rp-input {
  width: 100%;
  height: 44px;
  margin: 0 0 14px;
  padding: 0 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  outline: 0;
  background: transparent;
  color: #303133;
  font-size: 15px;
  text-align: center;
}

.redpacket-page .rp-btn {
  width: 100%;
  height: 46px;
  margin: 0;
  border-radius: 23px;
  background: linear-gradient(90deg,#ffb300,#ff6f00);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 46px;
}

.sidebar-panel {
  visibility: hidden;
}

.sidebar-panel.open {
  visibility: visible;
}

@media (min-width: 700px) {
  body::before {
    inset: 0 auto 0 0;
    width: calc(50% - 220px);
  }

  body::after {
    inset: 0 0 0 auto;
    width: calc(50% - 220px);
  }
}

/* Exact profile, settings, password and legacy account matching. */
@font-face {
  font-family: "uicon-iconfont";
  src: url("assets/original/static/fonts/uicon-iconfont.ttf") format("truetype");
  font-display: block;
}

.uicon {
  font-family: "uicon-iconfont" !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  speak: never;
}

.app-shell.no-bottom-nav,
.app-shell.route-profile {
  padding-bottom: 0;
}

.app-shell.no-bottom-nav .page-outlet {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 0;
}

.app-shell.no-bottom-nav .page-outlet.game-details-host {
  inset: 0;
  height: auto;
  min-height: 0;
  overflow: hidden;
}

.app-shell.no-bottom-nav .page-outlet.legacy-game-list-host {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
}

.app-shell.route-profile .page-outlet {
  min-height: calc(100vh - 59px);
  padding-bottom: 0;
}

/* Profile */
.profile-page {
  min-height: 0;
  padding-top: 0;
  padding-bottom: 120px;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-size: 13px;
}

.profile-user-layout {
  height: 181px;
  min-height: 181px;
  border-radius: 10px;
}

.profile-left {
  margin: 50px 20px 0 30px;
  gap: 6px;
}

.profile-left > strong {
  margin-bottom: 3px;
  font-weight: 400;
}

.profile-left > p button {
  width: 12px;
  height: 12px;
}

.profile-left > p img {
  width: 12px;
  height: 12px;
}

.profile-avatar {
  border-radius: 4px;
}

.profile-right {
  width: 210px;
  margin: 30px 20px 0 auto;
}

.profile-top-buttons {
  margin-top: -5px;
  margin-bottom: 15px;
  gap: 15px;
}

.profile-top-buttons button {
  min-width: 0;
}

.profile-money-buttons button {
  margin-top: 15px;
  padding: 5px 10px;
  justify-content: flex-start;
}

.profile-vip {
  height: 140px;
  margin: 15px;
  padding-bottom: 30px;
  background: rgba(46,49,66,0);
}

.profile-vip-next {
  right: 25px;
}

.profile-vip-emblem {
  left: 15px;
  top: 47px;
  height: 48px;
}

.profile-vip-emblem span {
  left: 50%;
  right: auto;
  top: 68%;
  bottom: auto;
  width: max-content;
  height: 0;
  transform: translate(-50%,-20%);
  font-size: 13px;
  line-height: normal;
  white-space: nowrap;
}

.profile-vip-progress {
  left: 115px;
  right: 15px;
  top: 45px;
  height: 50px;
  padding: 0 10px;
  font-size: 11px;
}

.profile-vip-progress p {
  justify-content: flex-start;
  gap: 10px;
  margin: 20px 0 5px;
}

.profile-vip-progress > i {
  margin: 0;
  border-radius: 100px;
  background: #ececec;
}

.profile-vip-progress > i em {
  width: 0;
}

.profile-list {
  height: 300px;
  margin: 10px 15px;
  border-radius: 10px;
}

.profile-logout-list {
  height: 50px;
  margin-top: 10px;
}

.profile-sound-icon {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
}

.profile-list .row-chevron {
  font-size: 15px;
}

.profile-list .switch {
  width: 42px;
  height: 22px;
  border: .8px solid rgba(0,0,0,.12);
  border-radius: 100px;
  background: #fff;
}

.profile-list .switch::before {
  top: .2px;
  left: .4px;
  width: 20px;
  height: 20px;
  background: #fff;
  box-shadow: 1px 1px 1px rgba(0,0,0,.25);
}

.profile-list .switch.active {
  background: #45e1b6;
}

.profile-list .switch.active::before {
  left: 20.4px;
  background: #fff;
}

.bottom-nav {
  bottom: -1px;
  height: 60px;
  padding: 0;
  align-items: stretch;
  background-color: transparent;
  box-shadow: none;
  font-size: 13px;
}

.bottom-nav button {
  width: 20%;
  height: 60px;
  padding-bottom: 8px;
  gap: 0;
  color: #e1dba0;
  font-size: 13px;
}

.bottom-nav button span {
  width: 28px;
  height: 28px;
}

.bottom-nav button:not(.commission) span {
  margin-bottom: 4px;
}

.bottom-nav button img {
  width: 28px;
  height: 28px;
}

.bottom-nav button em {
  color: #e1dba0;
  font-size: 10px;
  line-height: 14px;
}

.bottom-nav button.active::before {
  top: auto;
  bottom: 34px;
}

.bottom-nav button.active span {
  transform: translateY(-17px);
}

.bottom-nav button.active em {
  color: #d6c931;
}

.bottom-nav .commission span {
  width: 54px;
  height: 54px;
  margin-top: -20px;
  margin-bottom: 4px;
}

.bottom-nav .commission.active span {
  transform: translateY(-6px) scale(1.08);
}
.bottom-nav .commission.active::before {
  display: none;
}

.bottom-nav .commission img {
  width: 54px;
  height: 54px;
}

.profile-logout-shade {
  z-index: 999999;
  left: 50%;
  right: auto;
  width: min(100%, 490px);
  transform: translateX(-50%);
  background: rgba(0,0,0,.6);
  font-family: "Helvetica Neue", Helvetica, sans-serif;
}

.profile-logout-dialog {
  width: 85%;
  max-width: 430px;
  padding: 15px 13px 25px;
  border-radius: 10px;
  font-size: 12px;
  text-align: center;
}

.profile-logout-dialog h2 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 400;
}

.profile-logout-dialog p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.profile-logout-dialog > div {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}

.profile-logout-dialog > div button {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 37px;
  border: 1px solid #37b968;
  border-radius: 5px;
  background: transparent;
  color: #37b968;
  font-size: 15px;
  font-weight: 600;
}

.profile-logout-dialog > div button:last-child {
  border: 0;
  background: linear-gradient(102deg,#37b968,#c0f5d0 52%,#37b968);
  color: #000;
}

/* Shared fixed navbar for settings and fund-password pages. */
.settings-page,
.fpsd-page {
  min-height: 100vh;
  padding: 65px 20px 10px;
  background: transparent url("assets/original/static/images/main_bg.png") center/cover fixed no-repeat;
  color: #fff;
  font-size: 13px;
}

.settings-page {
  background-attachment: scroll;
}

.settings-page,
.fpsd-page,
.password-dialog-shade {
  font-family: "Helvetica Neue", Helvetica, sans-serif;
}

.settings-page > .transparent-page-header,
.fpsd-page > .transparent-page-header {
  position: fixed;
  z-index: 25;
  top: 0;
  left: 50%;
  width: min(100%, 490px);
  height: 60px;
  grid-template-columns: 76px 1fr 76px;
  transform: translateX(-50%);
}

.settings-page > .transparent-page-header button,
.fpsd-page > .transparent-page-header button {
  width: 76px;
  height: 60px;
}

.settings-page > .transparent-page-header button img,
.fpsd-page > .transparent-page-header button img {
  width: 40px;
  height: 40px;
  margin-left: 23px;
}

.settings-page > .transparent-page-header h1,
.fpsd-page > .transparent-page-header h1 {
  width: 200px;
  justify-self: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 18.4px;
}

/* Settings */
.settings-avatar {
  height: 90px;
  margin-bottom: 25px;
  padding: 0;
}

.settings-avatar img.settings-camera {
  right: -16px;
}

.settings-form {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-form > p {
  margin-top: 10px;
  line-height: normal;
}

.settings-form > p:not(:first-child) {
  margin-top: 10px;
}

.settings-password-row {
  height: 45px;
  margin-top: 0;
}

.settings-password-control {
  width: 100%;
  height: 100%;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.settings-password-control input {
  min-width: 0;
  width: 0;
  height: 24px;
  padding: 0;
  flex: 1;
  border: 0;
  outline: 0;
  opacity: 1;
  background: transparent;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font: 15px/26px "Helvetica Neue", Helvetica, sans-serif;
}

.settings-password-row .edit-pen {
  width: 16px;
  height: 16px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  line-height: 16px;
  flex: 0 0 16px;
}

.settings-password-row .edit-pen::before {
  content: none;
}

.settings-password-row .edit-pen:focus,
.settings-password-row .edit-pen:focus-visible {
  outline: 0;
}

.password-dialog-shade {
  z-index: 9999;
  left: 50%;
  right: auto;
  width: min(100%, 490px);
  transform: translateX(-50%);
}

.password-dialog {
  width: 300px;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: none;
}

.password-dialog h2 {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 18.4px;
}

.password-dialog label {
  width: 260px;
  height: 45px;
  margin-bottom: 15px;
  gap: 0;
}

.password-dialog-control {
  width: 100%;
  height: 100%;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.password-dialog-control input {
  min-width: 0;
  width: 0;
  height: 24px;
  padding: 0;
  flex: 1;
  border: 0;
  outline: 0;
  opacity: 1;
  background: transparent;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font: 15px/26px "Helvetica Neue", Helvetica, sans-serif;
}

.password-dialog-control input::placeholder {
  color: #c0c4cc;
  opacity: 1;
}

.password-lock {
  position: static;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 0;
  border-radius: 0;
  color: #606266;
  font-size: 18px;
}

.password-lock::before {
  content: none;
}

.password-eye {
  width: 18px;
  height: 45px;
  flex: 0 0 18px;
}

.password-eye i {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: #606266;
  font-size: 18px;
}

.password-eye i::after {
  content: none;
}

.password-dialog .gold-submit {
  width: 260px;
  height: 45px;
  margin-top: 0;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 14px;
}

.password-dialog-shade .dialog-x {
  position: absolute;
  z-index: 1;
  top: calc(50% - 140px);
  right: calc(50% - 143px);
  width: auto;
  height: auto;
  color: #fff;
  font-size: 20px;
  line-height: 26.4px;
}

/* The source fund-password component displays four code cells. */
.fpsd-form {
  padding: 30px 0 0;
}

.fpsd-form > label {
  margin-bottom: 5px;
  line-height: 20px;
}

.fpsd-form > label:not(:first-child) {
  margin-top: 15px;
}

.fpsd-code-input {
  width: 100%;
  height: 77px;
  padding: 5px 0;
}

.fpsd-code-input input {
  inset: 5px 0;
  height: 67px;
  appearance: textfield;
}

.fpsd-code-input input::-webkit-inner-spin-button,
.fpsd-code-input input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.fpsd-boxes {
  width: 100%;
  display: flex;
  justify-content: stretch;
}

.fpsd-boxes i {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  font-size: 19px;
}

.fpsd-boxes i.filled::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #606266;
}

.fpsd-code-input:focus-within .fpsd-boxes i {
  border-color: #333;
}

.fpsd-code-input:focus-within .fpsd-boxes i.current::before {
  content: "";
  width: 1px;
  height: 40%;
  background: #606266;
  animation: fpsd-caret 1s steps(1,end) infinite;
}

@keyframes fpsd-caret {
  50% { opacity: 0; }
}

.fpsd-submit {
  background: linear-gradient(180deg,#c0f5d0,#159a4a 52%,#7ee3a2);
}

/* Legacy account source page. */
.account-page {
  min-height: 100vh;
  padding: 65px 10px 10px;
  background: transparent url("assets/original/static/images/main_bg.png") center/cover fixed no-repeat;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
}

.account-header {
  position: fixed;
  z-index: 25;
  top: 0;
  left: 50%;
  width: min(100%, 490px);
  height: 60px;
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  transform: translateX(-50%);
  background: #0b431c;
}

.account-header button {
  width: 46px;
  height: 60px;
  padding-left: 13px;
  display: flex;
  align-items: center;
}

.account-header button i {
  color: #fff;
  font-size: 20px;
  font-style: normal;
  line-height: 1;
}

.account-header h1 {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
}

.account-page button:focus,
.account-page button:focus-visible {
  outline: 0;
}

.account-total-card {
  position: relative;
  width: 100%;
  height: 100px;
  margin: 0;
}

.account-total-card > small {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  border-bottom-right-radius: 6px;
}

.account-total-card > div {
  height: 100%;
}

.account-total-card p + p {
  border-left: 0;
}

.account-tabs {
  height: 44px;
  margin: 0;
}

.account-tabs button.active {
  transform: none;
}

.account-tabs button > span,
.account-record-tabs button > span {
  display: inline-block;
}

.account-tabs button.active > span,
.account-record-tabs button.active > span {
  transform: scale(1.2);
}

.account-tabs button.active::after {
  left: 50%;
  right: auto;
  bottom: 2px;
  width: 20px;
  transform: translateX(-50%);
}

.account-panel {
  padding: 10px 0;
}

.account-panel[data-account-panel="deposit"] {
  padding: 20px 0;
}

.account-panel[data-account-panel="withdraw"] .account-notice {
  margin: 10px 0;
}

.account-panel[data-account-panel="withdraw"] .account-amount-input {
  margin: 0 0 10px;
}

.account-notice {
  font-size: 13px;
}

.account-amount-wrap {
  position: relative;
  display: block;
  margin: 10px 0;
}

.account-amount-wrap .account-amount-input {
  margin: 0;
}

.account-amount-input {
  height: 45px;
  padding: 0 10px;
  font-size: 15px;
}

.account-amount-wrap .give_amount,
.account-amount-card .give_amount {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 50px;
  padding: 0 5px;
  border-radius: 0 10px;
  background: linear-gradient(58deg,#ff4e05,#ff995a);
  text-align: center;
}

.account-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 32%);
  justify-content: space-around;
}

.account-amount-card {
  position: relative;
  height: 50px;
  margin-bottom: 5px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
}

.account-amount-card.active {
  outline: 1px solid #46b5fb;
}

.account-reward-check {
  gap: 6px;
}

.account-reward-check i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid #c8c9cc;
  border-radius: 3px;
  background: #fff;
  color: transparent;
  font-size: 12px;
}

.account-reward-check input:checked + i {
  border-color: #46b5fb;
  background: #46b5fb;
  box-shadow: none;
  color: #fff;
}

.account-rules-title {
  margin: 10px 0 0;
  gap: 0;
  justify-content: space-around;
  color: #ff9602;
  font-weight: 700;
}

.account-record-tabs {
  height: 44px;
  margin-bottom: 15px;
  padding-left: 30px;
  display: flex;
}

.account-record-tabs button {
  position: relative;
  flex: 1;
  border: 0;
  color: #606266;
  font-size: 15px;
}

.account-record-tabs button.active {
  color: #fff;
  font-weight: 700;
  transform: none;
}

.account-record-tabs button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 20px;
  height: 3px;
  transform: translateX(-50%);
  background: #3c9cff;
}

.account-empty {
  min-height: 0;
  padding-top: 14px;
}

.account-empty i {
  color: #c0c4cc;
  font-size: 90px;
}

.account-dialog-shade {
  z-index: 10075;
  left: 50%;
  right: auto;
  width: min(100%, 490px);
  transform: translateX(-50%);
}

.account-personal-dialog {
  width: 80%;
  max-width: none;
  padding: 22px;
  border-radius: 10px;
  background: #fff;
}

.account-personal-dialog label {
  margin: 0;
  font-size: 14px;
}

.account-personal-dialog label span {
  display: block;
}

.account-personal-dialog input {
  height: 36px;
  margin: 20px 0;
  padding: 5px;
  border-radius: 5px;
  background: #4a4d61;
  color: #fff;
}

.account-personal-dialog > button[type="submit"] {
  height: 40px;
  margin-top: 0;
  border-radius: 20px;
  background: linear-gradient(90deg,rgb(236,97,47),rgb(241,155,100));
}

/* Current authenticated source: activity cards and query-backed details. */
.activity-card > .activity-banner-button {
  width: 100%;
  height: auto;
  padding: 0;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.activity-card > .activity-banner-button img {
  width: 100%;
  height: auto;
  display: block;
}

.activity-title {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
}

.activity-title img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
}

.activity-title strong {
  min-width: 0;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-card > div > button.received {
  background: #8d9690;
  box-shadow: none;
  color: #152019;
}

.activity-detail-page {
  min-height: 100vh;
  background: #10281c url("assets/original/static/images/main_bg.png") center/cover fixed;
}

.activity-detail-page > .inner-header {
  height: 60px;
  background: #0b431c;
  box-shadow: none;
}

.activity-detail-page > .inner-header h1 {
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.activity-detail-page > .inner-header .inner-back {
  height: 60px;
  font-size: 0;
}

.activity-detail-page > .inner-header .inner-back::before {
  content: "\e60e";
  font-family: "uicon-iconfont";
  font-size: 20px;
}

.activity-task-detail,
.activity-registration-detail {
  padding: 20px 15px 24px;
  color: #fff;
  font-size: 13px;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
}

.activity-task-detail table {
  width: 100%;
  margin-bottom: 15.2px;
  border: 1px solid #ccc;
  border-collapse: collapse;
}

.activity-task-detail td {
  box-sizing: content-box;
  min-height: 0;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: normal;
}

.activity-task-detail td > span {
  min-width: 0;
  flex: 1;
}

.activity-task-detail td > b {
  width: 100px;
  height: 36px;
  flex: 0 0 100px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #005dfe;
  font-weight: 400;
}

.activity-task-detail .activity-task-rules td {
  display: table-cell;
  padding: 5px;
}

.activity-task-rules p {
  margin-bottom: 15.2px;
  line-height: normal;
}

.activity-task-rules p:last-child {
  margin-bottom: 0;
}

.activity-registration-detail p {
  margin: 0;
  line-height: normal;
}

.activity-registration-detail table {
  width: 100%;
  border: 1px solid gray;
  border-spacing: 0;
  border-collapse: separate;
}

.activity-registration-detail td {
  padding: 1px;
  border: 1px solid gray;
  color: #fff;
  text-align: left;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}

/* Game records: exact five periods, summary and empty-state geometry. */
.source-records-page {
  min-height: 100vh;
  position: relative;
  padding: 65px 20px 10px;
  overflow: hidden;
  background: transparent url("assets/original/static/images/main_bg.png") center/cover no-repeat;
  color: #fff;
  font-family: "Helvetica Neue",Helvetica,sans-serif;
  font-size: 13px;
}

.source-record-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.source-record-header button {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 66px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  border: 0;
  background: transparent;
}

.source-record-header button img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.source-record-header h1 {
  width: 200px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.source-record-tabs {
  display: flex;
  height: auto;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: visible;
  background: transparent;
}

.source-record-tabs button {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
  padding: 10px 0;
  border: 0;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.45);
  font-size: 13px;
  line-height: normal;
}

.source-record-tabs button.active {
  border: 0;
  background: linear-gradient(180deg,#c0f5d0,#159a4a 52%,#7ee3a2);
  color: #000;
  font-weight: 700;
}

.source-record-summary {
  margin: 0 0 20px;
  padding: 10px;
  border-radius: 8px;
  background: linear-gradient(103deg,rgba(219,182,92,.5),rgba(253,255,171,.5) 52%,rgba(219,182,92,.5));
}

.source-record-summary > strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
}

.source-record-summary > div {
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 13px;
}

.source-record-summary > div b {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
}

.source-record-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ccc;
}

.source-record-empty i {
  width: 140px;
  height: 140px;
  margin-bottom: 10px;
  border-radius: 4px;
  background: #333;
}

.source-record-empty strong {
  margin-bottom: 15px;
  font-size: 13px;
  font-weight: 400;
}

.source-record-empty p {
  width: 100%;
  color: #aaa;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
}

/* Three source report panels, including the live account row. */
.source-report-page {
  min-height: 100vh;
  padding: 0 20px 20px;
  background: #10281c url("assets/original/static/images/main_bg.png") center/cover fixed;
}

.source-report-page > .inner-header {
  height: 44px;
  margin: 0 -20px;
  background: transparent;
  box-shadow: none;
}

.source-report-page > .inner-header .inner-back { height: 44px; }
.source-report-page > .inner-header h1 { font-size: 16px; }

.source-report-tabs {
  height: 29px;
  margin: 0 -20px;
  background: transparent;
  border-bottom: 1px solid rgba(0,0,0,.18);
}

.source-report-tabs button {
  position: relative;
  min-width: 0;
  border: 0;
  color: rgba(255,255,255,.45);
  font-size: 13px;
}

.source-report-tabs button.active {
  border: 0;
  color: #e5ed4e;
  font-weight: 700;
}

.source-report-tabs button.active::after {
  content: "";
  position: absolute;
  left: 36%;
  right: 36%;
  bottom: 3px;
  height: 2px;
  background: #e5ed4e;
}

.source-report-panel { position: relative; min-height: calc(100vh - 73px); }

.source-report-page .report-filters {
  padding: 24px 4px 10px;
  display: flex;
  gap: 10px;
}

.source-report-page .report-filters.single { grid-template-columns: none; }

.report-dropdown { position: relative; }

.report-dropdown > button {
  min-width: 68px;
  height: 27px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  background: #193c24;
  color: #fff;
  font-size: 13px;
}

.report-dropdown > button i {
  font-size: 10px;
  font-style: normal;
}

.report-dropdown > div {
  position: absolute;
  z-index: 60;
  left: 0;
  top: 32px;
  width: 120px;
  overflow: hidden;
  border-radius: 6px;
  background: #193c24;
  box-shadow: 0 6px 14px rgba(0,0,0,.38);
}

.report-dropdown > div button {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border-bottom: 1px solid #222;
  text-align: left;
  font-size: 12px;
}

.report-dropdown > div button.active { background: #ff0; color: #000; }

.report-money-card {
  min-height: 52px;
  padding: 9px 8px;
  display: flex;
  justify-content: space-between;
  border-radius: 0;
  background: #193c24;
}

.report-money-card > div,
.report-money-card > p { display: flex; flex-direction: column; justify-content: space-between; }
.report-money-card strong { font-size: 13px; }
.report-money-card small { color: #ccc; font-size: 12px; }
.report-money-card > p { align-items: flex-end; font-size: 12px; }
.report-money-card > p b { color: orange; font-size: 14px; font-weight: 400; }
.report-money-card > p span { color: #fff; }
.report-load-state { padding-top: 8px; color: rgba(255,255,255,.18); text-align: center; font-size: 13px; }

.report-empty-message {
  position: absolute;
  left: 50%;
  top: 46%;
  padding: 9px 16px;
  transform: translate(-50%,-50%);
  border-radius: 4px;
  background: rgba(0,0,0,.16);
  color: rgba(255,255,255,.24);
  font-size: 13px;
  white-space: nowrap;
}

/* Pixel-verified report layout from the authenticated source route. */
.source-report-page {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: transparent url("assets/original/static/images/main_bg.png") center/cover no-repeat;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-size: 13px;
}

.source-report-header {
  width: 100%;
  height: 38px;
  padding: 15px 12px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
}

.source-report-back,
.source-report-header-placeholder {
  width: 18px;
  height: 18px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  color: #fff;
}

.source-report-back i {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 18px;
}

.source-report-header-title {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.source-report-header-title h1 {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: normal;
}

.source-report-tabs {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 10px 0 5px;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  overflow: visible;
  background: transparent;
  border-bottom: .8px solid #1a1a1a;
}

.source-report-tabs button {
  position: relative;
  flex: none;
  min-width: 0;
  height: auto;
  padding: 0 0 5px;
  display: block;
  border: 0;
  color: #aaa;
  font-family: inherit;
  font-size: 13px;
  line-height: normal;
}

.source-report-tabs button.active {
  border: 0;
  color: #ff0;
  font-weight: 700;
}

.source-report-tabs button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: #ff0;
}

.source-report-body {
  width: 100%;
  padding: 12px;
}

.source-report-panel {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.source-report-scroll {
  height: 100%;
  flex: 1;
  padding: 10px 10px 70px;
  overflow-y: auto;
}

.source-report-page .report-filters {
  display: flex;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0;
  z-index: 10;
}

.source-report-bets > .report-filters,
.source-report-recharge > .report-filters {
  width: 100%;
  margin: 0;
  padding: 10px;
}

.report-dropdown {
  position: relative;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: #193c24;
  color: #fff;
  font-size: 13px;
}

.source-report-bets .report-dropdown,
.source-report-recharge .report-dropdown {
  padding: 5px 12px;
  border-radius: 10px;
}

.report-dropdown > button {
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  line-height: normal;
}

.report-dropdown > button i {
  margin-left: 4px;
  display: block;
  font-size: 11px;
  font-style: normal;
  line-height: normal;
}

.source-report-bets .report-dropdown > button i,
.source-report-recharge .report-dropdown > button i {
  font-size: 10px;
}

.report-dropdown > div {
  position: absolute;
  z-index: 999;
  left: 0;
  top: 100%;
  width: 110px;
  max-height: none;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 6px;
  background: #193c24;
  box-shadow: none;
}

.source-report-recharge .report-dropdown > div { width: 120px; }

.report-dropdown > div button {
  width: 100%;
  min-height: 0;
  height: auto;
  padding: 9px 12px;
  display: block;
  border-bottom: .8px solid #222;
  border-radius: 0;
  background: transparent;
  color: #ccc;
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  line-height: normal;
}

.report-dropdown > div button.active { background: #ff0; color: #000; }
.report-dropdown > div button:last-child { border-bottom: 0; }

.source-report-bets .report-dropdown > div button,
.source-report-recharge .report-dropdown > div button {
  border-bottom: 0;
}

.source-report-list {
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

.report-money-card {
  min-height: 0;
  margin: 0 0 9px;
  padding: 10px;
  display: block;
  border-radius: 6px;
  background: #193c24;
}

.report-money-card > .report-money-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

.report-money-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.report-money-left strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
}

.report-money-left small {
  margin-top: 2px;
  display: block;
  color: #aaa;
  font-size: 12px;
  line-height: normal;
}

.report-money-right {
  min-width: 80px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.report-money-right b {
  color: orange;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}

.report-money-right span {
  margin-top: 2px;
  color: #ccc;
  font-size: 12px;
  line-height: normal;
}

.report-load-state {
  height: 14px;
  margin: 10px 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-load-state span {
  max-width: 100%;
  overflow: hidden;
  color: #606266;
  font-size: 14px;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-report-page .report-empty-message { display: none !important; }

.report-loading-layer {
  position: absolute;
  z-index: 999998;
  inset: 0;
  opacity: 1;
}

.report-loading-toast {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 128px;
  height: 77px;
  transform: translate(-50%,-50%);
  border-radius: 5px;
  background: rgba(17,17,17,.7);
  text-align: center;
}

.report-loading-toast i {
  width: 38px;
  height: 38px;
  margin: 20px auto 0;
  display: block;
  background: transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=") 0 0/100% auto no-repeat;
  animation: report-loading-spin 1s steps(12) infinite;
}

@keyframes report-loading-spin { to { transform: rotate(360deg); } }

/* VIP source assets and selectable VIP0–VIP5 data. */
.source-vip-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 85px 0 25px;
  background: transparent url("assets/original/static/images/main_bg.png") center/cover fixed no-repeat;
  color: #fff;
  font-size: 13px;
}

.source-vip-page > .inner-header {
  height: 60px;
  background: #0b431c;
  box-shadow: none;
}

.source-vip-page > .inner-header .inner-back { height: 60px; }

.source-vip-header h1 {
  text-overflow: clip;
}

.vip-intro {
  width: calc(100% - 20px);
  height: 75px;
  margin: 0 0 10px 20px;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.vip-current-emblem {
  position: relative;
  width: 120px;
  height: 75px;
  flex: 0 0 120px;
}

.vip-current-emblem img { width: 120px; height: 80px; object-fit: contain; }

.vip-current-emblem strong {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  transform: translate(-50%,-40%);
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.vip-intro > img:last-child { width: 200px; height: 65px; object-fit: contain; }

.source-vip-levels {
  width: 100%;
  height: 30px;
  padding: 0;
  justify-content: flex-start;
  gap: 10px;
  overflow-x: auto;
}

.source-vip-levels button {
  flex: 0 0 60px;
  width: 60px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #8619f2;
  font-size: 13px;
}

.source-vip-levels button.active { background: #ffcf35; color: #841c00; }
.source-vip-levels .vip-lock {
  width: 16px;
  height: 16px;
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 16px;
}

.vip-scroll-indicator {
  position: relative;
  width: 100%;
  height: 4px;
  margin-top: 15px;
}

.vip-scroll-indicator::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 50px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 100px;
  background: #f2f2f2;
}

.vip-scroll-indicator i {
  position: absolute;
  left: calc(50% - 25px);
  top: 0;
  width: 20px;
  height: 4px;
  border-radius: 100px;
  background: #3c9cff;
}

.source-vip-benefits {
  width: 100%;
  height: 110.4px;
  margin: 10px 0 0;
  padding: 0 20px;
}

.source-vip-benefits .vip-reward {
  height: 70px;
  gap: 0;
}

.source-vip-benefits .vip-reward img {
  width: 70px;
  height: 50px;
  flex: 0 0 70px;
  object-fit: contain;
}

.source-vip-benefits .vip-reward p {
  height: 30.4px;
  margin: 0 20px;
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  line-height: 15.2px;
}

.source-vip-benefits .vip-reward b {
  display: table;
  margin-left: 5px;
  color: orange;
  font-weight: 700;
  line-height: 14.4px;
}

.source-vip-benefits .vip-limits {
  height: 30.4px;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  text-align: center;
}

.source-vip-benefits .vip-limits p {
  width: auto;
  height: 30.4px;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 15.2px;
  white-space: nowrap;
}

.source-vip-benefits .vip-limits p:first-child { flex: 1; }

.source-vip-benefits .vip-limits p:last-child {
  flex: 0 0 107.4625px;
  margin: 0 20px;
}

.source-vip-benefits .vip-limits b {
  display: table;
  margin: 0 auto;
  color: orange;
  font-weight: 700;
  line-height: 14.4px;
}
.source-vip-page .vip-subtitle {
  height: 15.2px;
  margin: 10px 15px 14.8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 15.2px;
}

.source-vip-page .vip-condition {
  margin: 0 15px;
  border: 0;
  border-radius: 6px;
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 5px 4px rgba(0,0,0,.3);
  background: rgba(46,49,66,0);
}

.source-vip-page .vip-condition p {
  height: 50px;
  padding: 0 10px;
  display: block;
  border-bottom: 1px solid #344d3d;
  color: #fff;
  font-size: 13px;
  line-height: 50px;
}

.vip-distance {
  margin: 0 15px;
  padding: 0;
  border-radius: 6px;
  background: rgba(46,49,66,0);
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 5px 4px rgba(0,0,0,.3);
}

.vip-distance > p {
  height: 35.2px;
  padding: 0 10px;
  padding-top: 10px;
  display: block;
  font-size: 13px;
  line-height: 15.2px;
}
.vip-distance > p b {
  margin-left: 5px;
  display: inline-block;
  vertical-align: top;
  color: orange;
  font-weight: 400;
  line-height: 14.4px;
}
.vip-distance > div { height: 50px; padding: 0 10px; display: flex; align-items: center; gap: 15px; }
.vip-distance > div > i {
  position: relative;
  height: 15px;
  flex: 1;
  border-radius: 100px;
  background: transparent;
}

.vip-distance > div > i::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 12px;
  border-radius: 100px;
  background: #ececec;
}

.vip-distance > div > i em {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  display: block;
  width: 0;
  height: 12px;
  border-radius: 100px;
  background: #84dd84;
}

.vip-distance button { width: 60px; height: 30px; border-radius: 6px; background: #ffd737; color: #8a1d0a; line-height: 30px; }

/* The source withdrawal PIN component renders its configured four cells across the input width. */
.withdraw-code-input { width: 100%; height: 77px; }
.withdraw-boxes { width: 100%; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
.withdraw-boxes i { height: 67px; }


/* Invite center reconstructed from the archived route template and scoped source CSS. */
#pageOutlet:has(>.invite-centro-original-page) {
  padding-bottom: 0;
  background: #080f22;
}

.invite-centro-original-page {
  --invite-rpx: calc(100cqw / 750);
  container-type: inline-size;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #080f22;
  color: #fff;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.invite-centro-original-nav {
  width: 100%;
  margin: 0;
  flex: 0 0 auto;
  box-shadow: none;
}

.invite-centro-original-nav > button i {
  color: #fff;
  font-size: 20px;
  font-style: normal;
}

.invite-centro-scroll {
  min-height: 0;
  flex: 1;
  padding: calc(20 * var(--invite-rpx));
  overflow-y: auto;
  box-sizing: border-box;
}

.invite-centro-card {
  margin-bottom: calc(24 * var(--invite-rpx));
  padding: calc(24 * var(--invite-rpx));
  border-radius: calc(20 * var(--invite-rpx));
  background: #101629;
}

.invite-centro-agent-row {
  display: flex;
  justify-content: space-between;
  gap: 0;
}

.invite-centro-info {
  min-width: 0;
  line-height: calc(36 * var(--invite-rpx));
}

.invite-centro-info p {
  margin-bottom: calc(12 * var(--invite-rpx));
  font-size: calc(28 * var(--invite-rpx));
  white-space: nowrap;
}

.invite-centro-info span {
  margin-right: calc(10 * var(--invite-rpx));
  color: #8f9ca7;
}

.invite-centro-info span.white { color: #fff; }
.invite-centro-info b { color: #fff; font-weight: 700; }
.invite-centro-info b.gold { color: #ffca28; }

.invite-centro-actions {
  width: calc(180 * var(--invite-rpx));
  display: flex;
  flex: 0 0 calc(180 * var(--invite-rpx));
  flex-direction: column;
  justify-content: center;
  gap: calc(16 * var(--invite-rpx));
}

.invite-centro-actions button {
  height: calc(60 * var(--invite-rpx));
  border-radius: calc(8 * var(--invite-rpx));
  background: #ffb671;
  color: #fff;
  font-size: calc(24 * var(--invite-rpx));
}

.invite-centro-actions button:disabled {
  background: #909399;
  color: rgba(255,255,255,.9);
}

.invite-centro-notice {
  margin-top: calc(20 * var(--invite-rpx));
  color: #8f9ca7;
  font-size: calc(24 * var(--invite-rpx));
  opacity: .8;
}

.invite-centro-referral > h2 {
  margin-bottom: calc(20 * var(--invite-rpx));
  color: #fff;
  font-size: calc(30 * var(--invite-rpx));
  font-weight: 400;
}

.invite-centro-qr-link {
  margin-bottom: calc(30 * var(--invite-rpx));
  display: flex;
}

.invite-centro-qr {
  width: calc(140 * var(--invite-rpx));
  margin-right: calc(20 * var(--invite-rpx));
  padding: calc(10 * var(--invite-rpx));
  display: flex;
  flex: 0 0 calc(140 * var(--invite-rpx));
  flex-direction: column;
  align-items: center;
  border-radius: calc(10 * var(--invite-rpx));
  background: #fff;
}

.invite-centro-qr-placeholder {
  width: calc(120 * var(--invite-rpx));
  height: calc(120 * var(--invite-rpx));
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0;
  color: #000;
}

.invite-centro-qr-placeholder i {
  font-size: 40px;
  font-style: normal;
  line-height: 1;
}

.invite-centro-qr > span {
  margin-top: calc(6 * var(--invite-rpx));
  color: #333;
  font-size: calc(22 * var(--invite-rpx));
}

.invite-centro-link-wrap {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.invite-centro-link-wrap h3 {
  margin-bottom: calc(10 * var(--invite-rpx));
  color: #fff;
  font-size: calc(24 * var(--invite-rpx));
  font-weight: 400;
}

.invite-centro-link {
  min-height: calc(142 * var(--invite-rpx));
  padding: calc(10 * var(--invite-rpx)) calc(16 * var(--invite-rpx));
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: calc(12 * var(--invite-rpx));
  overflow: hidden;
  border-radius: calc(10 * var(--invite-rpx));
  background: #1e2840;
}

.invite-centro-link > span {
  min-width: 0;
  overflow: hidden;
  color: #8f9ca7;
  font-size: calc(22 * var(--invite-rpx));
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-centro-link > div {
  display: flex;
  flex: 0 0 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(20 * var(--invite-rpx));
}

.invite-centro-link button {
  width: 22px;
  height: 20px;
  color: #fff;
}

.invite-centro-link button i { font-size: 19px; font-style: normal; }

.invite-centro-social {
  padding: 0 calc(10 * var(--invite-rpx));
  display: flex;
  justify-content: space-between;
}

.invite-centro-social button {
  width: calc(70 * var(--invite-rpx));
  height: calc(70 * var(--invite-rpx));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
}

.invite-centro-social button i {
  color: #fff;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
}

.invite-share-whatsapp { background: #25d366; }
.invite-share-facebook { background: #1877f2; }
.invite-share-instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.invite-share-youtube { background: red; }
.invite-share-x { border: 1px solid #333; background: #000; }
.invite-share-email { background: #00b0ff; }

.invite-centro-list { padding: 0; }

.invite-centro-list > header,
.invite-centro-data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.invite-centro-list > header {
  padding: calc(24 * var(--invite-rpx));
  border-bottom: 1px solid #2a3449;
}

.invite-centro-list > header h2 {
  color: #fff;
  font-size: calc(30 * var(--invite-rpx));
  font-weight: 400;
}

.invite-centro-list > header button {
  color: #1680dc;
  font-size: calc(24 * var(--invite-rpx));
}

.invite-centro-list > header button span {
  margin-left: 3px;
  color: #8f9ca7;
  font-size: 18px;
  vertical-align: -1px;
}

.invite-centro-data-row {
  min-height: calc(96 * var(--invite-rpx));
  padding: calc(24 * var(--invite-rpx));
  border-bottom: 1px solid rgba(42,52,73,.5);
}

.invite-centro-data-row.no-border { border-bottom: 0; }
.invite-centro-data-row span { color: #8f9ca7; font-size: calc(28 * var(--invite-rpx)); }
.invite-centro-data-row b { font-size: calc(26 * var(--invite-rpx)); font-weight: 400; }
.invite-centro-data-row b.gold { color: #ffca28; }
.invite-centro-data-row b.white { color: #fff; }
.invite-centro-empty { padding: calc(48 * var(--invite-rpx)); color: #8f9ca7; font-size: calc(28 * var(--invite-rpx)); text-align: center; }
.invite-centro-bottom-space { height: calc(50 * var(--invite-rpx)); }

/* Member appreciation activity rebuilt from the original memberDay route. */
#pageOutlet:has(>.member-day-original-page) {
  padding-bottom: 0;
  background: #011e19;
}

.member-day-original-page {
  --member-rpx: calc(100cqw / 750);
  container-type: inline-size;
  width: 100%;
  min-height: 100vh;
  padding: 0 0 calc(150 * var(--member-rpx));
  background: #011e19;
  color: rgba(255,255,255,.72);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.member-day-original-nav {
  width: 100%;
  margin: 0;
  box-shadow: none;
}

.member-day-original-nav > button i {
  color: #fff;
  font-size: calc(40 * var(--member-rpx));
  font-style: normal;
}

.member-day-original-top {
  position: relative;
  width: 100%;
  height: calc(1700 * var(--member-rpx));
  overflow: hidden;
}

.member-day-original-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.member-day-original-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.member-day-share {
  position: relative;
  width: calc(100% - calc(40 * var(--member-rpx)));
  margin-top: calc(100 * var(--member-rpx));
  flex: 0 0 auto;
}

.member-day-share > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.member-day-share > div {
  position: relative;
  z-index: 1;
  padding: calc(24 * var(--member-rpx)) calc(24 * var(--member-rpx)) calc(28 * var(--member-rpx));
}

.member-day-share h2 {
  margin-bottom: calc(24 * var(--member-rpx));
  color: #fff;
  font-size: calc(28 * var(--member-rpx));
  font-weight: 700;
}

.member-day-share nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.member-day-share button,
.member-day-share button img {
  width: calc(72 * var(--member-rpx));
  height: calc(72 * var(--member-rpx));
}

.member-day-share button img { object-fit: contain; }

.member-day-title {
  width: calc(700 * var(--member-rpx));
  height: auto;
  margin-top: calc(140 * var(--member-rpx));
  margin-bottom: calc(12 * var(--member-rpx));
}

.member-day-subtitle {
  margin-bottom: calc(6 * var(--member-rpx));
  color: rgba(255,255,255,.9);
  font-size: calc(32 * var(--member-rpx));
  font-weight: 600;
}

.member-day-amount {
  margin-bottom: calc(20 * var(--member-rpx));
  color: gold;
  font-size: calc(56 * var(--member-rpx));
  font-weight: 800;
  text-shadow: 0 calc(2 * var(--member-rpx)) calc(8 * var(--member-rpx)) rgba(0,0,0,.5);
}

.member-day-end {
  margin-top: calc(34 * var(--member-rpx));
  margin-bottom: calc(24 * var(--member-rpx));
  padding: calc(8 * var(--member-rpx)) calc(40 * var(--member-rpx)) calc(12 * var(--member-rpx));
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: calc(40 * var(--member-rpx));
}

.member-day-end span,
.member-day-end b {
  color: rgba(255,255,255,.65);
  font-size: calc(30 * var(--member-rpx));
}

.member-day-end b { font-weight: 700; }

.member-day-countdown {
  margin-top: calc(376 * var(--member-rpx));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(14 * var(--member-rpx));
}

.member-day-countdown > h2 {
  color: rgba(255,255,255,.65);
  font-size: calc(30 * var(--member-rpx));
  font-weight: 600;
}

.member-day-date {
  min-height: calc(22 * var(--member-rpx));
  color: rgba(255,255,255,.65);
  font-size: calc(22 * var(--member-rpx));
}

.member-day-countdown-row {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--member-rpx));
}

.member-day-countdown-row > div {
  position: relative;
  width: calc(68 * var(--member-rpx));
  height: calc(68 * var(--member-rpx));
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-day-countdown-row > div img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.member-day-countdown-row > div b {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: calc(30 * var(--member-rpx));
  font-weight: 800;
}

.member-day-countdown-row > span {
  margin: 0 calc(4 * var(--member-rpx));
  color: rgba(255,255,255,.85);
  font-size: calc(22 * var(--member-rpx));
  font-weight: 600;
}

.member-day-countdown-row > i {
  margin-bottom: calc(4 * var(--member-rpx));
  color: #fff;
  font-size: calc(32 * var(--member-rpx));
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.member-day-countdown > p:last-child {
  color: gold;
  font-size: calc(22 * var(--member-rpx));
  font-weight: 600;
}

.member-day-rules {
  margin: calc(24 * var(--member-rpx)) calc(20 * var(--member-rpx)) calc(40 * var(--member-rpx));
}

.member-day-rules > h2 {
  margin-bottom: calc(16 * var(--member-rpx));
  color: #fff;
  font-size: calc(30 * var(--member-rpx));
  font-weight: 700;
}

.member-day-rules > div {
  padding: calc(24 * var(--member-rpx)) calc(20 * var(--member-rpx));
  border-radius: calc(12 * var(--member-rpx));
  background: #0e1b13;
}

.member-day-rules p {
  margin-bottom: calc(20 * var(--member-rpx));
  display: flex;
  align-items: flex-start;
  gap: calc(10 * var(--member-rpx));
}

.member-day-rules p:last-child { margin-bottom: 0; }

.member-day-rules p b,
.member-day-rules p span {
  color: rgba(255,255,255,.75);
  font-size: calc(26 * var(--member-rpx));
  line-height: 1.6;
}

.member-day-rules p b { flex: 0 0 auto; font-weight: 400; }
.member-day-rules p span { flex: 1; }

.member-day-action {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 100;
  width: min(100%,490px);
  padding: calc(20 * var(--member-rpx)) calc(30 * var(--member-rpx)) calc(40 * var(--member-rpx));
  transform: translateX(-50%);
  box-sizing: border-box;
  background: linear-gradient(0deg,#011e19 70%,transparent);
}

.member-day-action button {
  width: 100%;
  height: calc(96 * var(--member-rpx));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(16 * var(--member-rpx));
  background: linear-gradient(135deg,#1abc9c,#16a085);
  color: #fff;
  font-size: calc(32 * var(--member-rpx));
  font-weight: 600;
  letter-spacing: calc(2 * var(--member-rpx));
}

/* Return-task ineligible state mirrors the original route's authoritative empty branch. */
#pageOutlet:has(>.return-task-original-page) {
  padding-bottom: 0;
  background: #10281c;
}

.return-task-original-page {
  --return-rpx: calc(100cqw / 750);
  container-type: inline-size;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #fff;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.return-task-original-header {
  height: calc(88 * var(--return-rpx));
  padding: 0 calc(24 * var(--return-rpx));
  display: flex;
  align-items: center;
  background: #16291c;
  box-shadow: 0 calc(2 * var(--return-rpx)) calc(8 * var(--return-rpx)) rgba(0,0,0,.3);
}

.return-task-original-header button,
.return-task-original-header > span {
  width: calc(60 * var(--return-rpx));
  flex: 0 0 calc(60 * var(--return-rpx));
}

.return-task-original-header button {
  color: #fff;
  font-size: calc(52 * var(--return-rpx));
  line-height: 1;
  text-align: left;
}

.return-task-original-header h1 {
  flex: 1;
  color: #fff;
  font-size: calc(34 * var(--return-rpx));
  font-weight: 600;
  text-align: center;
}

.return-task-original-empty {
  padding: calc(140 * var(--return-rpx)) calc(40 * var(--return-rpx));
  color: #999;
  font-size: calc(28 * var(--return-rpx));
  text-align: center;
}

/* Source bundle: pages-return-cash, pages-first-storage, pages-buddy and pages-telegram. */
.source-info-page {
  position: relative;
  min-height: 100vh;
  padding: 65px 10px 15px;
  background: transparent;
  color: #fff;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.source-simple-page {
  position: relative;
  min-height: 100vh;
  padding-top: 65px;
  background: transparent;
  color: #fff;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.source-info-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 60px;
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  background: #0b431c;
}

.source-info-header button {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
}

.source-info-header button::before {
  content: "";
  width: 9px;
  height: 9px;
  border-bottom: 1.5px solid #fff;
  border-left: 1.5px solid #fff;
  transform: rotate(45deg);
}

.source-info-header h1 {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
}

.source-info-hero {
  width: 100%;
  height: 150px;
  display: flex;
  overflow: hidden;
  border-radius: 6px;
}

.source-info-hero > img {
  position: relative;
  top: -7.5px;
  width: 140px;
  height: 157.5px;
  object-fit: contain;
}

.source-info-hero-pink {
  background: linear-gradient(0deg,#ea3ed2,#f1a064);
}

.source-info-hero-orange {
  background: linear-gradient(0deg,#ff3f09,#ffd165);
}

.source-info-hero-green {
  background: linear-gradient(0deg,#ffc342,#10c901);
}

.source-info-hero-green > div {
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 17.5px;
  font-style: italic;
}

.source-info-hero-green > div span {
  margin: 25px 0 15px;
  font-size: 14px;
}

.source-info-hero-green > div strong {
  font-weight: 400;
}

.source-info-hero-telegram {
  height: 90px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.source-info-hero-telegram > div {
  width: 140px;
  flex: 0 0 140px;
}

.source-info-hero-telegram > p {
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 17.5px;
  font-style: italic;
}

.source-info-hero-telegram > p span {
  margin: 15px 0;
  font-size: 14px;
}

.source-info-hero-telegram > p strong {
  font-weight: 400;
}

.source-info-tips {
  margin: 10px 0;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  line-height: 1.5;
}

.source-first-storage .source-info-tips,
.source-buddy .source-info-tips {
  margin: 0;
}

.source-info-panel {
  margin: 10px 0;
  padding: 10px;
  background: rgba(46,49,66,0);
}

.source-info-panel h2 {
  margin-bottom: 15px;
  color: #ffa548;
  font-size: 13px;
  font-weight: 400;
}

.source-info-panel article {
  min-height: 250px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px dashed rgba(0,0,0,.5);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

.source-info-action {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
}

.source-info-action-pink {
  background: linear-gradient(180deg,#f2a560,#eb44cc);
}

.source-info-action-orange {
  background: linear-gradient(180deg,#f7c970,#eb582e);
}

.source-info-action-green {
  background: linear-gradient(180deg,#63c63c,#f0c55a);
}

.source-info-panel > i {
  display: block;
  height: 20px;
}

/* Source bundle: pages-bonus-mstry. */
.source-mstry-page {
  min-height: 100vh;
  padding: 10px;
  color: #fff;
}

.source-mstry-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.source-mstry-top button {
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
}

.source-mstry-top h1 {
  font-size: 17px;
  font-weight: 700;
}

.source-mstry-header {
  margin: 20px 0 10px;
  text-align: center;
}

.source-mstry-header img {
  width: 100%;
  height: 400px;
  margin-bottom: -210px;
  object-fit: fill;
}

.source-mstry-header h2 {
  margin-top: 5px;
  font-size: 19px;
  font-weight: 700;
}

.source-mstry-days {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
}

.source-mstry-days button {
  position: relative;
  width: 71px;
  height: 114px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-radius: 11px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.source-mstry-day-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}

.source-mstry-days button > span {
  font-size: 13px;
}

.source-mstry-check {
  position: absolute;
  bottom: -2px;
  width: 24px;
  height: 24px;
}

.source-mstry-details {
  margin: 15px 0;
  padding: 12px;
  border: 1px solid #968316;
  border-radius: 8px;
  background: #0f2c18;
  color: #fff;
}

.source-mstry-details > p {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.source-mstry-details > p img {
  width: 14px;
  height: 14px;
  margin-right: 5px;
}

.source-mstry-details > p span {
  flex: 1;
  color: #ccc;
  font-size: 12px;
}

.source-mstry-details > p b {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
}

.source-mstry-claim {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(180deg,#fff1c6,#f7d999);
  color: #333;
  text-align: center;
}

.source-mstry-claim > small {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
}

.source-mstry-claim > p {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.source-mstry-claim > p img {
  width: 13px;
  height: 13px;
  margin-right: 5px;
}

.source-mstry-claim > p b {
  font-size: 14px;
  font-weight: 700;
}

.source-mstry-claim > strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
}

.source-mstry-expired {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.source-mstry-expired img {
  width: 14px;
  height: 14px;
  margin-right: 5px;
}

.source-mstry-expired span {
  color: #afa;
  font-size: 13px;
}

.source-mstry-table {
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 6px;
  font-size: 12px;
}

.source-mstry-table > header,
.source-mstry-table > p {
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #203b28;
}

.source-mstry-table > header {
  background: #203b28;
  color: #fff;
  font-weight: 700;
}

.source-mstry-table > p {
  background: #0c1e11;
}

.source-mstry-table > p.alt {
  background: #0e2716;
}

.source-mstry-table span,
.source-mstry-table b {
  width: 50%;
}

.source-mstry-table > :is(header,p) > :last-child {
  text-align: right;
}

.source-mstry-table > p span {
  color: #ddd;
}

.source-mstry-table > p b {
  color: #ffd400;
  font-weight: 700;
}

.source-mstry-description {
  margin-top: 20px;
  padding: 10px;
  border-radius: 6px;
}

.source-mstry-description header {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.source-mstry-description header i {
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,.3);
}

.source-mstry-description h2 {
  padding: 0 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.source-mstry-description p {
  margin-bottom: 6px;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  line-height: 18px;
  text-align: left;
}

/* Source bundle: pages-bonus-super. */
.source-super-event {
  --event-vw: calc(min(100vw, 490px) / 100);
  width: 100%;
  min-height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.source-super-event-header {
  position: relative;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.source-super-event-header button {
  position: absolute;
  left: 10px;
  width: 25px;
  height: 25px;
}

.source-super-event-header button img {
  width: 100%;
  height: 100%;
}

.source-super-event-header h1 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.source-super-event-banner {
  width: 100%;
  height: auto;
  margin-top: 5px;
}

.source-super-event-conditions {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

.source-super-event-conditions-bg {
  width: 100%;
  height: auto;
}

.source-super-event-dates {
  position: absolute;
  top: 14%;
  left: 10%;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: calc(6 * var(--event-vw));
}

.source-super-event-dates span {
  padding: 4px 6px;
  border-radius: 4px;
  color: #ff0;
  font-size: 11px;
  font-weight: 700;
}

.source-super-event-subtitle {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 60%;
  transform: translateX(-50%);
}

.source-super-event-condition-list {
  position: absolute;
  top: 45%;
  left: 8%;
  right: 8%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.source-super-event-condition-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.source-super-event-condition-list img {
  width: 21px;
  height: 21px;
  margin-right: 6px;
}

.source-super-event-condition-list span {
  flex: 1;
  color: #333;
  font-size: 12px;
}

.source-super-event-condition-list b {
  color: #000;
  font-size: 12px;
  font-weight: 700;
}

.source-super-event-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 405 / 364;
}

.source-super-event-slot-bg {
  width: 100%;
  height: 100%;
}

.source-super-event-digits {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: calc(10 * var(--event-vw));
}

.source-super-event-digits span {
  color: #000;
  font-size: calc(6 * var(--event-vw));
  font-weight: 700;
}

.source-super-event-buttons {
  position: absolute;
  right: 0;
  bottom: 25%;
  left: 0;
  display: flex;
  justify-content: center;
  gap: calc(5 * var(--event-vw));
}

.source-super-event-buttons > img,
.source-super-event-buttons > button {
  width: calc(40 * var(--event-vw));
  height: 67px;
}

.source-super-event-buttons img {
  width: 100%;
  height: 100%;
}

.source-super-event-description {
  margin-top: 20px;
  padding: 30px;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
}

.source-super-event-description header {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.source-super-event-description header i {
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,.3);
}

.source-super-event-description h2 {
  padding: 0 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.source-super-event-description p {
  margin-bottom: 6px;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  line-height: 18px;
  text-align: left;
}

.source-super-event-ranking-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.source-super-event-ranking-modal[hidden] {
  display: none;
}

.source-super-event-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
}

.source-super-event-ranking-content {
  position: relative;
  width: 90%;
  max-width: 325px;
}

.source-super-event-ranking-bg {
  width: 100%;
  height: auto;
}

.source-super-event-ranking-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 15px;
  height: 15px;
}

.source-super-event-ranking-close img {
  width: 100%;
  height: 100%;
}

.source-super-event-ranking-content > strong {
  position: absolute;
  top: 86px;
  width: 100%;
  color: #a0f;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.source-privacy-content {
  padding: 0 15px;
  color: #fff;
  font-size: 13px;
}

/* Source-faithful payment order page from pages-mine-savings-account-index. */
.savings-page {
  position: relative;
  min-height: 100vh;
  padding: 65px 10px 10px;
  background: transparent;
  color: #fff;
}

.savings-page > .inner-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #0b431c;
  box-shadow: none;
}

.savings-page > .inner-header h1 {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

.savings-page .savings-success {
  margin: 0;
  padding: 10px 0;
  background: linear-gradient(90deg,transparent,rgba(247,186,23,.16) 50%,transparent);
  color: #f7ba17;
  text-align: center;
  font-size: 13px;
}

.savings-page .savings-timer {
  height: 30px;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  color: #fff;
  font-size: 14px;
  line-height: 30px;
}

.savings-page .savings-order-card,
.savings-page .savings-code-card {
  margin: 0;
  border-radius: 6px;
  background: rgba(46,49,66,0);
  box-shadow: 0 1px rgba(255,255,255,.1) inset,0 5px 4px rgba(0,0,0,.3);
}

.savings-page .savings-order-card {
  height: 150px;
  padding: 10px 10px 0;
}

.savings-page .savings-order-card p {
  height: 40px;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid #666;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

.savings-page .savings-order-card p:last-child {
  margin-top: 10px;
  justify-content: space-between;
  border: 0;
  color: #fff;
  font-size: 20px;
}

.savings-page .savings-code-card {
  margin-top: 15px;
  padding: 15px;
  text-align: center;
}

.savings-page .savings-code {
  margin: 10px 0;
  color: #fff;
  font-size: 14px;
}

.savings-page .savings-code-card button {
  width: 200px;
  height: 40px;
  margin: 0;
  border-radius: 20px;
  background: linear-gradient(90deg,rgb(236,97,47),rgb(241,154,99));
  color: #fff;
  font-size: 15px;
}

/* The live type=5 response is rendered by the original u-parse container. */
.source-about-page {
  padding: 70px 10px 0;
}

.source-about-content {
  padding: 10px;
  color: #fff;
  font-size: 16px;
  line-height: normal;
}

.source-about-content p {
  margin: 1em 0;
}

/* Original pages-bonus-Rebate layout and downloaded artwork. */
.source-rebate-page {
  min-height: 100vh;
  padding: 65px 10px 20px;
  background: #16291c;
  color: #fff;
}

.source-rebate-page > .source-info-header {
  background: transparent;
}

.source-rebate-banner {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  display: block;
  border-radius: 6px;
}

.source-rebate-card {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #968316;
  border-radius: 8px;
  background: #2d4735;
}

.source-rebate-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #fff;
  font-size: 13px;
}

.source-rebate-top > div {
  display: flex;
  align-items: center;
}

.source-rebate-top b {
  margin-left: 3px;
  color: gold;
  font-weight: 700;
}

.source-rebate-middle {
  margin: 30px 0 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  background: rgba(0,0,0,.25);
}

.source-rebate-middle > div {
  display: flex;
  align-items: center;
}

.source-rebate-middle img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.source-rebate-middle strong {
  color: gold;
  font-size: 17px;
  font-weight: 700;
}

.source-rebate-middle button {
  padding: 4px 15px;
  border-radius: 4px;
  background: #284c33;
  color: #999;
  font-size: 12px;
}

.source-rebate-progress > div,
.source-rebate-progress small {
  display: flex;
  justify-content: space-between;
}

.source-rebate-progress > div {
  margin-bottom: 3px;
  color: #999;
  font-size: 11px;
}

.source-rebate-progress > div b {
  color: #f9c14b;
  font-weight: 400;
}

.source-rebate-progress > i {
  width: 100%;
  height: 6px;
  margin-bottom: 3px;
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255,255,255,.1);
}

.source-rebate-progress > i em {
  height: 100%;
  display: block;
  background: linear-gradient(90deg,gold,#fc0);
}

.source-rebate-progress small {
  color: #999;
  font-size: 10px;
}

.source-rebate-table {
  margin-top: 20px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
}

.source-rebate-table > header {
  padding: 12px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.05);
}

.source-rebate-table > header img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.source-rebate-table > header h2 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.source-rebate-row {
  padding: 12px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.source-rebate-row span {
  color: #eee;
  font-size: 12px;
  text-align: center;
}

.source-rebate-row span:nth-child(1) { width: 20%; }
.source-rebate-row span:nth-child(2) { width: 50%; }
.source-rebate-row span:nth-child(3) { width: 30%; }

.source-rebate-row-head {
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 700;
}

.source-rebate-description {
  margin-top: 20px;
  padding: 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
}

.source-rebate-description > header {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.source-rebate-description > header i {
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,.3);
}

.source-rebate-description h2 {
  padding: 0 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.source-rebate-description p {
  margin: 0 0 6px;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  line-height: 18px;
  text-align: left;
}

/* Affiliate content and the fixed tabbar must not add two bottom gutters. */
.app-shell.route-commission {
  padding-bottom: 0;
}
.app-shell.route-commission .page-outlet {
  min-height: calc(100vh - 59px);
  padding-bottom: 0;
}

/* Source-matched affiliate/commission page. */
.source-commission-page {
  min-height: calc(100vh - 62px);
  padding-bottom: 0;
  background: transparent !important;
  color: rgba(255,255,255,.65);
  font-family: "Helvetica Neue", Helvetica, sans-serif;
}

.source-commission-banner {
  position: relative;
  height: 173px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.source-commission-tabs {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  min-height: 0;
  padding: 5px 10px 0;
  display: flex;
  align-items: flex-end;
  overflow-x: auto;
  border-bottom: 1.5px solid #37b968;
  background: rgba(3,11,32,.5);
  backdrop-filter: blur(8px);
  scrollbar-width: none;
}

.source-commission-tabs::-webkit-scrollbar,
.source-commission-social-scroll::-webkit-scrollbar {
  display: none;
}

.source-commission-tabs button {
  flex: 0 0 auto;
  padding: 10px 13px;
  border-radius: 6px 6px 0 0;
  color: #fff;
  font-size: 12px;
  line-height: normal;
  white-space: nowrap;
}

.source-commission-tabs button.active {
  color: #000;
  background: linear-gradient(115deg,#37b968,#c0f5d0 52%,#37b968);
}

.source-commission-content {
  padding: 0;
}

.source-commission-invite-tab,
.source-commission-data-tab,
.source-commission-detail-tab {
  padding: 12px;
}

.source-commission-invite-box {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.source-commission-invite-box > strong,
.source-commission-invite-box > b {
  width: 100%;
  margin-bottom: 5px;
  align-self: stretch;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.source-commission-copy {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  background: rgba(0,0,0,.25);
}

.source-commission-copy span {
  min-width: 0;
  margin-right: 10px;
  flex: 1;
  overflow: hidden;
  color: rgba(255,255,255,.65);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-commission-copy button {
  padding: 5px 12px;
  border-radius: 4px;
  background: linear-gradient(60deg,#37b968,#c0f5d0);
  color: #000;
  font-size: 12px;
  font-weight: 700;
}

.source-commission-social-scroll {
  width: 100%;
  padding: 15px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.source-commission-socials {
  display: flex;
  flex-wrap: nowrap;
}

.source-commission-socials button {
  width: 45px;
  margin-right: 15px;
  flex: 0 0 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

.source-commission-socials img {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  object-fit: contain;
}

.source-commission-socials span {
  width: 100%;
  overflow: hidden;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-commission-referral {
  padding-top: 10px;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(255,255,255,.08);
}

.source-commission-referral h2 {
  margin-bottom: 5px;
  padding: 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.source-commission-referral > img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.source-commission-table {
  margin: 20px 10px 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}

.source-commission-table > h2 {
  margin-bottom: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(115deg,#37b968,#c0f5d0 52%,#37b968);
  color: #000;
  font-size: 13px;
  font-weight: 700;
}

.source-commission-table > h2 img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  object-fit: contain;
}

.source-commission-table-row {
  min-height: 33px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-size: 12px;
}

.source-commission-table-row span {
  min-width: 0;
  flex: 1;
  text-align: center;
}

.source-commission-table-head {
  color: #ffdb8d;
  font-weight: 700;
  border-bottom-color: rgba(255,255,255,.2);
}

.source-commission-description {
  margin: 20px 10px 100px;
  padding: 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  color: #fff;
}

.source-commission-description h2 {
  margin-bottom: 10px;
  padding: 5px 0;
  border-top: 1px solid rgba(255,255,255,.25);
  border-bottom: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.source-commission-description p {
  margin-bottom: 6px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  line-height: 20px;
}

.source-commission-periods {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.source-commission-periods button {
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}

.source-commission-periods button.active,
.source-commission-tiers button.active,
.source-commission-detail-filters button.active {
  color: #000;
  font-weight: 700;
  background: linear-gradient(-56deg,#5eb678,#e8ddb0 50%,#6bc185);
}

.source-commission-chart {
  height: 50px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.25));
}

.source-commission-chart img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.source-commission-data-summary {
  margin-top: 10px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}

.source-commission-data-summary > div {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.source-commission-data-summary > div:last-child,
.source-commission-tier-summary > div:last-child {
  border-bottom: 0;
}

.source-commission-commission-tab {
  color: #fff;
}

.source-commission-tiers {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.source-commission-tiers button {
  padding: 5px 15px;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 13px;
}

.source-commission-tier-summary {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}

.source-commission-tier-summary > div {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.source-commission-agent-panel {
  padding: 10px;
}

.source-commission-agent-panel > article {
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  font-size: 13px;
}

.source-commission-agent-values {
  display: flex;
  justify-content: space-around;
}

.source-commission-agent-values p {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.source-commission-agent-values strong,
.source-commission-result strong,
.source-commission-ratio strong {
  color: #37b968;
  font-size: 20px;
  font-weight: 700;
}

.source-commission-agent-values span {
  margin-top: 4px;
  color: #ccc;
  font-size: 12px;
}

.source-commission-agent-panel > article > button {
  width: 100%;
  height: 36px;
  margin-top: 10px;
  padding: 0 14px;
  border-radius: 20px;
  background: linear-gradient(90deg,#37b968,#159a4a);
  color: #fff;
  font-size: 14px;
  line-height: 36px;
}

.source-commission-agent-panel > article > button:disabled {
  color: rgba(0,0,0,.35);
  opacity: .72;
  cursor: default;
}

.source-commission-agent-panel h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.source-commission-calculator {
  display: flex;
  justify-content: space-between;
}

.source-commission-calculator label {
  min-width: 0;
  margin-right: 6px;
  flex: 1;
  color: #fff;
  font-size: 13px;
}

.source-commission-calculator label:last-child {
  margin-right: 0;
}

.source-commission-calculator input {
  width: 100%;
  height: 22.4px;
  margin-top: 4px;
  padding: 5px 8px;
  border: 0;
  border-radius: 4px;
  outline: 0;
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 16px;
  line-height: 22.4px;
}

.source-commission-calculator input::-webkit-inner-spin-button,
.source-commission-calculator input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.source-commission-result {
  margin-top: 8px;
  color: #fff;
  font-size: 13px;
}

.source-commission-ratio {
  padding: 3px 0;
  display: flex;
  justify-content: space-between;
  color: #ddd;
  font-size: 13px;
}

.source-commission-result strong {
  font-size: 20px;
}

.source-commission-date-range {
  width: 100%;
  margin-bottom: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
  background: #2c2c2c;
  color: #fff;
  font-size: 12px;
}

.source-commission-date-range i {
  font-size: 15px;
  font-style: normal;
}

.source-commission-detail-tab > h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.source-commission-summary-cards {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.source-commission-summary-cards article {
  width: 32%;
  height: 71px;
  padding: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg,#e8ddb0,#5eb678);
  color: #000;
  text-align: center;
}

.source-commission-summary-cards strong {
  display: inline;
  font-size: 15px;
  font-weight: 700;
}

.source-commission-summary-cards span {
  display: inline;
  font-size: 10px;
  line-height: 1.4;
}

.source-commission-detail-filters {
  margin-bottom: 10px;
  display: flex;
}

.source-commission-detail-filters button {
  padding: 8px 0;
  margin: 0 3px;
  flex: 1;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 12px;
}

.source-commission-detail-empty {
  margin-top: 60px;
  color: #aaa;
  font-size: 13px;
  text-align: center;
}

.source-commission-detail-empty img {
  width: 75px;
  height: 76px;
  margin-bottom: 10px;
  display: inline-block;
  vertical-align: baseline;
  object-fit: contain;
}

.source-commission-faq {
  padding: 16px;
  color: #fff;
}

.source-commission-faq-box {
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: linear-gradient(180deg,rgba(255,255,255,.15),transparent);
}

.source-commission-faq-box h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.source-commission-faq-box p {
  color: #e5e5e5;
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
}

.source-commission-faq-section {
  margin-top: 24px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 15px;
  background: linear-gradient(180deg,rgba(255,255,255,.15),transparent);
}

.source-commission-faq-section:last-child {
  margin-bottom: 100px;
}

.source-commission-faq-section h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.source-commission-faq-section img {
  width: 100%;
  margin-bottom: 14px;
  display: block;
  border-radius: 8px;
}

.source-commission-faq-section p {
  margin: 0 4px 6px;
  color: #ddd;
  font-size: 13px;
  line-height: 1.9;
}

.source-commission-faq em {
  color: #ffdf43;
  font-style: normal;
}

@media (max-width: 400px) {
  .source-commission-tabs button {
    padding-right: 11px;
    padding-left: 11px;
  }

  .source-commission-periods button {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 11px;
  }
}

/* Source-matched deposit overlay. */
.source-deposit-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 65px 0 10px;
  background: transparent;
  color: #fff;
  font-size: 13px;
}

.source-deposit-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 99;
  width: min(100%,490px);
  height: 60px;
  display: flex;
  align-items: center;
  transform: translateX(-50%);
}

.source-deposit-header button {
  position: absolute;
  left: 10px;
  width: 30px;
  height: 30px;
}

.source-deposit-header img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.source-deposit-section {
  margin: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.source-deposit-bonus-hint {
  margin: 15px 0 5px;
  display: flex;
  align-items: center;
  color: gold;
  font-size: 12px;
}

.source-deposit-bonus-hint i {
  margin-right: 5px;
  flex: 0 0 auto;
  color: gold;
  font-size: 20px;
  line-height: 20px;
}

.source-deposit-bonus-hint span {
  min-width: 0;
  flex: 1;
  line-height: normal;
}

.source-deposit-amount-input {
  width: 100%;
  height: 45.6px;
  padding: 10px;
  display: flex;
  align-items: center;
  border: .8px solid #fff4a8;
  border-radius: 6px;
  background: #16291c;
}

.source-deposit-amount-input input {
  width: 100%;
  height: 24px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  line-height: 26px;
}

.source-deposit-amount-input input::placeholder {
  color: #c0c4cc;
}

.source-deposit-amount-input input::-webkit-inner-spin-button,
.source-deposit-amount-input input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.source-deposit-receive {
  margin-top: -5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 4px;
}

.source-deposit-receive > span {
  color: #fff;
  font-size: 13px;
}

.source-deposit-receive > b,
.source-deposit-receive > strong {
  margin-left: 5px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.source-deposit-receive > b {
  border: .8px solid #fff4a8;
  background: #16291c;
  color: gold;
}

.source-deposit-receive > strong {
  background: linear-gradient(180deg,#c0f5d0,#159a4a 52%,#7ee3a2);
  color: #000;
  font-weight: 700;
}

.source-deposit-amounts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.source-deposit-amounts button {
  position: relative;
  height: 40px;
  margin: 14px 5px 5px;
  padding-left: 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 13px;
  line-height: 40px;
  text-align: left;
  white-space: nowrap;
}

.source-deposit-amounts button.active {
  background: linear-gradient(180deg,#c0f5d0,#159a4a 52%,#7ee3a2);
  box-shadow: inset 0 -3px 0 0 #148242;
  color: #000;
  font-weight: 700;
}

.source-deposit-amounts button > span {
  display: block;
  overflow: hidden;
  text-overflow: clip;
}

.source-deposit-amounts button > i {
  position: absolute;
  top: -9px;
  right: 0;
  z-index: 1;
  height: 18px;
  padding: 1px 5px;
  border-radius: 8px 8px 0;
  background: #6b4a47;
  color: #f3dede;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  white-space: nowrap;
}

.source-deposit-amounts button > i.active {
  background: #e84a4f;
  color: #fff;
}

.source-deposit-submit {
  margin: 20px 10px 0;
}

.source-deposit-submit button {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: linear-gradient(180deg,#c0f5d0,#159a4a 52%,#7ee3a2);
  box-shadow: inset 0 -3px 0 0 #148242;
  color: #000;
  font-size: 15px;
  font-weight: 700;
}

.source-deposit-history {
  width: 100%;
  margin-top: 20px;
  color: #fff;
  font-size: 15px;
  text-align: center;
}

/* Authenticated reputation page, measured against the original 440px shell. */
.source-credit-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  overflow-y: auto;
  background: transparent url("assets/original/static/images/main_bg.png") center/cover no-repeat;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-size: 13px;
}

.source-credit-header {
  position: fixed;
  z-index: 30;
  top: -.8px;
  left: 50%;
  width: min(100%, 490px);
  height: 60px;
  transform: translateX(-50%);
  background: #0b431c;
}

.source-credit-header button {
  position: absolute;
  inset: 0 auto 0 0;
  width: 46px;
  height: 60px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  color: #fff;
}

.source-credit-header button i {
  width: 20px;
  height: 20px;
  display: block;
  font-size: 20px;
  line-height: 20px;
  white-space: pre-line;
}

.source-credit-header h1 {
  position: absolute;
  top: 20.8px;
  left: 50%;
  width: 200px;
  height: 18.4px;
  margin: 0;
  transform: translateX(-50%);
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 18.4px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-credit-content {
  padding: 74.2px 15px 15px;
}

.source-credit-score {
  width: 100%;
  height: 24.8px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}

.source-credit-score strong {
  font-size: 21px;
  line-height: 24.8px;
}

.source-credit-score span {
  color: #00e676;
  font-size: 15px;
  line-height: normal;
}

.source-credit-progress {
  width: 100%;
  height: 29px;
  margin: 10px 0;
}

.source-credit-progress > div {
  position: relative;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 6px;
  background: #ececec;
}

.source-credit-progress > div i {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: #00e676;
}

.source-credit-progress > p {
  width: 100%;
  height: 12px;
  margin-top: 5px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: #aaa;
  font-size: 11px;
  line-height: 12px;
}

.source-credit-alert {
  width: 100%;
  height: 67.2px;
  margin-bottom: 15px;
  padding: 10px;
  border: .8px solid #00e676;
  border-radius: 6px;
  background: rgba(0,230,118,.1);
  color: #b0ffb0;
  font-size: 13px;
  line-height: normal;
}

.source-credit-rules {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  color: #ddd;
  font-size: 12px;
  line-height: normal;
}

.source-credit-rules strong,
.source-credit-rules p {
  display: block;
}

.source-credit-rules strong {
  margin-bottom: 5px;
  color: #f5d76e;
  font-weight: 700;
}

.source-credit-rules strong + strong,
.source-credit-rules p {
  margin-top: 10px;
}

.source-credit-rules p {
  margin-bottom: 5px;
}

/* Source-matched inbox overlay, including the authenticated bonus record. */
#pageOutlet:has(>.notice-center-page) {
  background: transparent url("assets/original/static/images/main_bg.png") center/cover no-repeat;
}

.notice-center-page {
  color: rgba(0,0,0,.9);
  font-family: "Helvetica Neue",Helvetica,sans-serif;
  font-size: 13px;
}

.notice-center-tabs > button {
  line-height: normal;
}

.notice-center-tabs > button:focus {
  outline: 0;
}

.notice-flow-panel > header {
  padding-top: 7px;
  padding-bottom: 7px;
}

.notice-bonus-card {
  margin-bottom: 9px;
  padding: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
}

.notice-bonus-left {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.notice-bonus-right {
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.notice-bonus-left strong {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
}

.notice-bonus-left span {
  margin-top: 3px;
  color: #bebec2;
  font-size: 12px;
  line-height: normal;
}

.notice-bonus-right strong {
  color: #c0f5d0;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
}

.notice-bonus-right span {
  margin-top: 2px;
  color: #bebec2;
  font-size: 12px;
  line-height: normal;
}

.notice-loadmore {
  height: 14px;
  margin: 10px 0;
  color: #606266;
  font-size: 14px;
  line-height: 14px;
  text-align: center;
}

/* Home category pages follow the original row-major three-column batches. */
.game-sections { padding: 0 10px; }
.game-section { padding: 0; }
.section-heading { height: 60px; margin-bottom: 0; }
.game-row { display: flex; gap: 0; padding: 0; grid-template-rows: none; scroll-snap-type: x mandatory; align-items: flex-start; }
.home-game-page { flex: 0 0 100%; min-width: 0; display: flex; flex-wrap: wrap; justify-content: space-between; padding: 0 3px 0 8px; scroll-snap-align: start; }
.home-game-page .game-card { width: 33.33%; padding: 5px; border-radius: 0; background: none; box-shadow: none; }
.home-game-cover { display: block; position: relative; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 5px; background: #1a2a1f; }
.home-game-cover > img:not(.heart) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-game-page .game-card .heart { position: absolute; top: 3px; right: 3px; width: 25px; height: 25px; border: 0; border-radius: 0; background: none; }

/* Home shell dimensions from the original at zero content scroll. */
.install-strip { height: 50px; padding-left: 10px; padding-right: 10px; gap: 10px; }
.install-strip strong { min-width: 0; white-space: normal; line-height: 17px; }
.topbar { position: relative; height: 60px; background: #16291c; box-shadow: none; }
.hero { margin-top: 15px; box-shadow: none; }
.provider-tabs { height: 77px; margin: 0; padding: 10px 20px; gap: 0; font-family: "Helvetica Neue", Helvetica, sans-serif; }
.provider-tab { flex: 0 0 auto; min-width: 42px; height: 57px; margin-right: 23px; display: flex; flex-direction: column; align-items: center; color: #999; }
.provider-tab .icon-box { width: 42px; height: 42px; margin: 0; padding: 3px; border-color: #3c8452; border-radius: 10px; background: transparent; }
.provider-tab img { width: 30px; height: 30px; }
.provider-tab > span:last-child { margin-top: 3px; line-height: 12px; white-space: nowrap; }
.provider-tab.active { color: #f6c343; }
.provider-tab.active .icon-box { border-color: #3c8452; background: transparent; box-shadow: none; }
.game-sections { padding-top: 10px; }
.game-section { margin-bottom: 18px; scroll-margin-top: 70px; }
.section-heading { height: 50px; margin-bottom: 10px; padding: 5px 10px; gap: 5px; }
.section-heading > img { width: 40px; height: 40px; }
.section-heading h2 { color: #efeaab; }

/* Original home navigation assets and fixed control dimensions. */
.topbar { padding: 5px; gap: 0; font-family: "Helvetica Neue", Helvetica, sans-serif; }
.menu-button { width: 34px; height: 34px; flex: 0 0 34px; margin-left: 5px; padding: 0; border-radius: 0; background: none; }
.menu-button img { width: 34px; height: 34px; }
.brand { width: 126px; height: 36px; flex: 0 0 126px; margin-left: 10px; object-fit: contain; }
.balance { width: 100px; min-width: 100px; height: auto; padding: 7px 10px; flex: 0 0 100px; border: 1px solid #7ee3a2; border-radius: 12px; justify-content: center; background: linear-gradient(135deg,#19261d,#2a382e); line-height: normal; }
.balance img { width: 17px; height: 17px; flex: 0 0 17px; margin-left: 5px; object-fit: contain; }
.service { width: 29px; height: 29px; flex: 0 0 29px; margin: 0 2px 0 15px; display: grid; place-items: center; border: 1px solid #7ee3a2; border-radius: 9px; background: linear-gradient(135deg,#19261d,#2a382e); }
.service img { width: 24px; height: 24px; object-fit: contain; }

/* Source sidebar: fixed-width column with a flexible gap above its footer. */
.sidebar-panel { width: min(340px,100vw); padding: 15px; display: flex; flex-direction: column; gap: 0; background: #16291c url("assets/original/static/images/homev2_menu_bg.png") center/cover no-repeat; font-family: "Helvetica Neue",Helvetica,sans-serif; scrollbar-width: none; }
.side-header { height: 44px; flex: 0 0 44px; padding: 10px; display: flex; justify-content: flex-end; }
.sidebar-logo { width: 120px; height: 34px; margin: -10px 0 0; object-fit: contain; }
.sidebar-close { left: 15px; top: 15px; width: 30px; height: 30px; background: none; }
.sidebar-close img { width: 30px; height: 30px; }
.side-account { flex: 0 0 auto; padding: 10px; margin: 30px 0 10px; border-radius: 8px; background: #1e3a27; }
.side-account > div { margin-bottom: 10px; }
.side-account p { gap: 5px; }
.side-account p strong { font-size: 15px; line-height: normal; }
.side-account p small { display: flex; align-items: center; font-size: 12px; line-height: 14px; }
.side-account p small button { width: 14px; height: 14px; margin-left: 4px; }
.side-account p small img { width: 14px; height: 14px; }
.side-account > b { margin: 0 0 7px; font-size: 14px; font-weight: 400; line-height: 16.8px; color: rgba(255,244,168,.65); }
.side-account > b span { margin-left: 5px; font-size: 14px; color: #ffaa09; }
.side-account nav { margin-bottom: 15px; gap: 10px; }
.side-account nav button { display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 400; }
.side-account nav img { width: 14px; height: 14px; margin-right: 4px; }
.side-features { flex: 0 0 auto; margin: 0; padding: 10px 0 0; gap: 10px 5px; }
.side-features button { gap: 5px; font-size: 12px; line-height: 13.6px; }
.side-features img { width: 40px; height: 40px; border-radius: 0; box-shadow: none; }
.side-footer { flex: 0 0 auto; margin-top: auto; padding-top: 0; }
.side-service { height: 58px; margin: 0; padding: 5px 11px; display: block; border: 0; background: url("assets/original/static/images/sidebar/zc_xd.png") center/cover no-repeat; }
.side-service-top { height: 26px; display: flex; align-items: center; }
.side-service-top img { width: 26px; height: 26px; }
.side-service-top b { flex: 1; font-size: 12px; font-weight: 400; }
.side-service-top i { font-size: 16px; font-style: normal; }
.side-service > small { display: block; margin-top: 5px; font-size: 9px; line-height: 9.6px; color: #e1d16f; }
.side-share { height: 97px; margin-top: 5px; padding: 5px 8px; border: 0; background: url("assets/original/static/images/sidebar/zc_nrd.png") center/cover no-repeat; }
.side-share > b { font-size: 12px; font-weight: 400; }
.side-share > div { gap: 20px; margin: 12px 0 10px; }
.side-share img { width: 20px; height: 20px; }

.sidebar-shade { left: 50%; right: auto; width: min(100%,490px); transform: translateX(-50%); backdrop-filter: none; }

/* Reputation content follows the source's 85px score offset and intrinsic alert height. */
.source-credit-page .source-credit-header { top: 0; }
.source-credit-content { padding-top: 75px; }
.source-credit-alert { height: auto; }

/* VIP limits are inline on the source; stacking values shifted all following sections. */
.source-vip-benefits .vip-limits,
.source-vip-benefits .vip-limits p { height: auto; min-height: 15.2px; }
.source-vip-benefits .vip-limits p:first-child { flex: 0 1 auto; }
.source-vip-benefits .vip-limits p:last-child { flex: 0 1 auto; }
.source-vip-benefits .vip-limits b { display: inline; margin: 0; line-height: normal; }
.source-vip-benefits { height: auto; }

/* Settings source close control is positioned in the shell overlay, outside the centered form. */
.password-dialog-shade .dialog-x {
  top: 282px;
  right: calc(50% - min(50vw, 245px) + 52px);
}

/* Weekly source renders the aperture wrapper at zero width, not a375px disc. */
.rescue-weekly .rescue-rotate { width: 0; height: 240px; }

/* Sign-in already includes its100px footer spacer; do not add a second120px page pad. */
.sign-in-page { padding-bottom: 0; }

/* Mystery day row uses a7px source gap; heading uses its natural17.6px line box. */
.daily-original-progress-line { margin-bottom: 7px; }
.daily-original-rules h2 { height: auto; line-height: normal; }

/* Original mystery top uses viewport width and is clipped by the app shell on desktop. */
.daily-original-top { width: 100vw; }
.daily-original-table tbody td { font-size: 14px; }

/* Authenticated betting rebate layout:44px navbar and intrinsic banner/coin dimensions. */
.source-rebate-page { font-family: "Helvetica Neue", Helvetica, sans-serif; font-size: 13px; }
.source-betting-rebate { padding-top: 54px; }
.source-betting-rebate > .source-info-header,
.source-betting-rebate > .source-info-header button { height: 44px; }
.source-rebate-banner { height: round(down, calc((min(100vw, 490px) - 20px) * 4 / 9), 1px); margin-bottom: 18.2px; object-fit: fill; }
.source-betting-rebate .source-rebate-card { border: 0; background: transparent; }
.source-rebate-top { font-family: inherit; }
.source-betting-rebate .source-rebate-middle { background: rgba(255,255,255,.5); }
.source-betting-rebate .source-rebate-middle img { width: 45px; height: 45px; }
.source-betting-rebate .source-rebate-middle button { background: #000; }

/* Super member uses the720x868 slot artwork ratio, not405x364. */
.source-super-banner,
.source-super-conditions-box { height: calc(round(down, calc(min(100vw, 490px) / 2), 1px) + 1px); object-fit: fill; }
.source-super-conditions { margin-top: 3.2px; }
.source-super-slot { aspect-ratio: auto; height: round(down, calc(min(100vw, 490px) * 868 / 720), 1px); }
.source-super-member { font-family: "Helvetica Neue", Helvetica, sans-serif; }
.source-super-nav h1 { font-weight: 400; }

/* Mystery crystal source typography and empty-account geometry. */
.source-mystery-crystal { font-family: "Helvetica Neue", Helvetica, sans-serif; font-size: 13px; }
.source-mystery-nav h1 { font-weight: 400; }
.source-mystery-header { position: relative; height: 215.6px; margin-bottom: 30px; }
.source-mystery-header img { position: absolute; top: 0; left: 0; }
.source-mystery-header h2 { position: absolute; top: 193.2px; left: 0; width: 100%; margin: 0; line-height: normal; }
.source-mystery-claim > div:nth-of-type(2) strong { margin-top: 5px; }
.source-mystery-claim > b { margin-top: 2px; font-size: 15px; }
.source-mystery-table > div { padding-top: 9px; padding-bottom: 9px; }
